ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » IIB JVM default filesystem path

Post new topic  Reply to topic
 IIB JVM default filesystem path « View previous topic :: View next topic » 
Author Message
alaychem
PostPosted: Tue Jan 15, 2019 12:42 am    Post subject: IIB JVM default filesystem path Reply with quote

Acolyte

Joined: 10 Feb 2016
Posts: 66

JAVA code that runs in the Broker JVM uses /var/mqsi as the default location for files.
Is there a way to change it, outside of the JAVA code, without changing the MQSI workpath?
Back to top
View user's profile Send private message
abhi_thri
PostPosted: Tue Jan 15, 2019 1:18 am    Post subject: Reply with quote

Knight

Joined: 17 Jul 2017
Posts: 516
Location: UK

hi...yes, you can configure a different folder for the external jars, have a look at the below infocenter topics

https://www.ibm.com/support/knowledgecenter/SSMKHH_10.0.0/com.ibm.etools.mft.doc/as24996_.htm
https://www.ibm.com/support/knowledgecenter/SSMKHH_10.0.0/com.ibm.etools.mft.doc/bk58210_.htm
https://www.ibm.com/support/knowledgecenter/SSMKHH_10.0.0/com.ibm.etools.mft.doc/ac37125_.htm
Back to top
View user's profile Send private message
alaychem
PostPosted: Tue Jan 15, 2019 6:10 am    Post subject: Reply with quote

Acolyte

Joined: 10 Feb 2016
Posts: 66

HI,
I believe that these will not help me, for two reasons:
1) I wasn't talking about JARs
2) Most of those rely on
Code:
workpath
that I will not change.
Back to top
View user's profile Send private message
abhi_thri
PostPosted: Tue Jan 15, 2019 7:26 am    Post subject: Reply with quote

Knight

Joined: 17 Jul 2017
Posts: 516
Location: UK

alaychem wrote:
HI,
I believe that these will not help me, for two reasons:
1) I wasn't talking about JARs
2) Most of those rely on
Code:
workpath
that I will not change.


Ah...apologies, can you please elaborate a bit more on what you are trying to achieve...for eg:- are you trying to store some external files with the workpath to be used by the java code
Back to top
View user's profile Send private message
alaychem
PostPosted: Tue Jan 15, 2019 1:05 pm    Post subject: Reply with quote

Acolyte

Joined: 10 Feb 2016
Posts: 66

I do migration task, moving old code - JAVA JPA 2.0 running on WMB 8 - to IIB 10. In the old setup, the ehcache.xml and associated log4j.xml where placed in /var/mqsi.

After the migration, I want those files to placed elsewhere.
Back to top
View user's profile Send private message
abhi_thri
PostPosted: Wed Jan 16, 2019 1:42 am    Post subject: Reply with quote

Knight

Joined: 17 Jul 2017
Posts: 516
Location: UK

hi...how is the JAVA JPA app configured to lookup those files? eg: is it searching for the files directly at $MQSI_WORKPATH? if so you can then change the file path to a different location and set it at the app config.

Usually any dependencies used by Java projects (both Jars and other config files) are loaded from the class path. So if this app is doing the same then you need to explore how to configure a different location for the classpath used by this app.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » IIB JVM default filesystem path
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.