• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Unable to set -Xbootclasspath attribute in Websphere App Server 6.1

 
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Try 100 things. 2 will work out, but you will never know in advance which 2. This tiny ad might be one:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic