Author |
Message
|
kash3338 |
Posted: Thu Dec 03, 2009 10:38 pm Post subject: Doubt on Shared Classes folder |
|
|
Shaman
Joined: 08 Feb 2009 Posts: 709 Location: Chennai, India
|
Hi,
The default location of Shared Classes folder is
"C:\Documents and Settings\All Users\Application Data\IBM\MQSI\shared-classes".
But i dont find this folder in my system. There is one folder
"C:\Program Files\IBM\MQSI\6.1\classes".
Are these the same?
I want to place my jar files in shared classes folder. Wher do i place them? Please help. |
|
Back to top |
|
 |
AkankshA |
Posted: Fri Dec 04, 2009 4:12 am Post subject: |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
C:\Documents and Settings\All Users\Application Data\IBM\MQSI\shared-classes
exists in my TP with WMB 6.1 ...
pls recheck...
C:\Program Files\IBM\MQSI\6.1\classes is used by WMB internally... DO NOT put your jars there _________________ Cheers |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Dec 04, 2009 4:32 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
The default location for the Shared classes location is just that. Default.
And in fact, what the default (and unchangeable) location is, is <broker-workpath>/shared-classes.
So if you created your Broker with a separate workpath than the default workpath of C:\Documents and Settings\All users\Application Data\IBM\MQSI, then shared-classes will be somewhere else.
Also, thirdly, the default workpath is different on Vista than on XP or Server 2003.
Oddly enough, this fact is documented. |
|
Back to top |
|
 |
kash3338 |
Posted: Sun Dec 06, 2009 6:56 pm Post subject: |
|
|
Shaman
Joined: 08 Feb 2009 Posts: 709 Location: Chennai, India
|
AkankshA wrote: |
C:\Documents and Settings\All Users\Application Data\IBM\MQSI\shared-classes
exists in my TP with WMB 6.1 ...
pls recheck...
|
Hi, I have checked it now and before and it does not exist in my system. Infact i have made an eitire system search for such a floder and does not exist. Can i create a shared-classes folder structure as above and place my jars there? |
|
Back to top |
|
 |
student |
Posted: Mon Dec 07, 2009 6:01 am Post subject: |
|
|
 Apprentice
Joined: 17 Mar 2009 Posts: 31 Location: UK
|
First have a look at environment vairable. You may find it. |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Dec 07, 2009 6:11 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
student wrote: |
First have a look at environment vairable. You may find it. |
Which environment variable do you expect to contain the broker workpath? |
|
Back to top |
|
 |
mqmatt |
Posted: Mon Dec 07, 2009 6:31 am Post subject: |
|
|
 Grand Master
Joined: 04 Aug 2004 Posts: 1213 Location: Hursley, UK
|
MQSI_WORKPATH is the environment variable.
However, have you considering simply deploying your JAR files using standard broker deployment tools? Just put them inside your BAR file. |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Dec 07, 2009 6:59 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
mqmatt wrote: |
MQSI_WORKPATH is the environment variable. |
For the default workpath, yes? |
|
Back to top |
|
 |
mqmatt |
Posted: Mon Dec 07, 2009 7:02 am Post subject: |
|
|
 Grand Master
Joined: 04 Aug 2004 Posts: 1213 Location: Hursley, UK
|
Yep, from the mqsiprofile. |
|
Back to top |
|
 |
|