This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Websphere and the fly likes Unable to set -Xbootclasspath attribute in Websphere App Server 6.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Unable to set -Xbootclasspath attribute in Websphere App Server 6.1 " Watch "Unable to set -Xbootclasspath attribute in Websphere App Server 6.1 " New topic
Author

Unable to set -Xbootclasspath attribute in Websphere App Server 6.1

Pras Tiwari
Ranch Hand

Joined: Nov 07, 2005
Posts: 186
Hi All
I have customized/patched java.util.CurrencyData class to add new currency in it. This new java.util.CurrencyData class works fine in my standsalone java program for new added currency. However when I try to load this added java 6 currency class into my Websphere Portal server 6.1 instance which is runinng on top of Java 6, it is unable to recognise this newly added currency class into its "Boot Classpath" settings.
Below are the steps I am following -
1) I have added this new java.util.CurrencyData class into a new jar (extendedCurrency.jar) and placed this new jar into ${WPS_HOME}/base/extdir/extendedCurrency.jar
2) Start Websphere portal server and go to Servers > Application Servers > server_name > Process Definition > Java Virtual Machine > Boot classpath and enter ${WPS_HOME}/base/extdir/extendedCurrency.jar in textbox.
3) Also go to Servers > Application Servers > server_name > Process Definition > Java Virtual Machine > Generic JVM Arguments and then add -Xbootclasspath/p:${WPS_HOME}/base/extdir/extendedCurrency.jar in it.
4) save settings and restart server
After these steps also my deployed web application is not picking up the updated java.util.CurrencyData class file. Is there any restriction on what type of jars/path can be added added to Boot classpath for Websphere Server?
On below page on IBM website its mentioned that " This option is only available for JVM instructions that support bootstrap classes and resources."
http://pic.dhe.ibm.com/infocenter/wasinfo/v8r0/index.jsp?topic=%2Fcom.ibm.websphere.nd.doc%2Finfo%2Fae%2Fae%2Furun_rconfproc_jvm.html
What does this mean - " This option is only available for JVM instructions that support bootstrap classes and resources."??
Any help in this regard is much appreciated!!!

Regards,
Pras


********Deserve Before You Desire********
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to set -Xbootclasspath attribute in Websphere App Server 6.1
 
Similar Threads
list of All keys that I can pass in -D option
Modifying Core JAVA Classes
Need help on java Questions
Loading java class from jar files
Please help me understand some concepts about classloader