Help coderanch get a
new server
by contributing to the fundraiser
  • 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to configure JDK1.5 with iPlanet 6.0

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

In one of my project we need to use iPlanet 6.0 webserver with JDK1.5. But I tried many time, but all my time went waste (I am not successful on this). I need the following details

1) iPlanet 6.0 will work with JDK1.5
2) If so, How to do this configuration.

Thanks and regards,
Bala
 
Sheriff
Posts: 67750
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"Balachandran A.V",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
JavaRanch Sheriff
 
Balachandran Vijayarajan
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I tried to configure iPlanet 6.0 with JDK 1.5.0_07, now I am getting the below exception. Can any one tell me how to over come this issue.

[05/Oct/2006:16:06:29] info (14036): Using the Java HotSpot(TM) Client VM v1.5.0_06 from Sun Microsystems Inc.
[05/Oct/2006:16:06:29] info (14036): Java VM classpath: /usr/iplanet/servers/plugins/servlets/examples/legacy/beans.10/SDKBeans10.jar:/web/ina
pdev/newproject/jdk1.5.0_06/jre/lib/rt.jar:/usr/iplanet/servers/bin/https/jar/NSServletLayer.jar:/usr/iplanet/servers/bin/https/jar/NSJavaUtil
.jar:/usr/iplanet/servers/bin/https/jar/AdminNativeUtil.jar:/usr/iplanet/servers/bin/https/jar/NSJavaMiscUtil.jar:/usr/iplanet/servers/bin/htt
ps/jar/servlet.jar:/usr/iplanet/servers/bin/https/jar/servlet-2.3-filters-api.jar:/usr/iplanet/servers/bin/https/jar/jsp092.jar:/usr/iplanet/s
ervers/bin/https/jar/jaxp.jar:/usr/iplanet/servers/bin/https/jar/crimson.jar:/usr/iplanet/servers/bin/https/jar/xalan.jar:/usr/iplanet/servers
/bin/https/jar/jspengine.jar:
[05/Oct/2006:16:06:29] info (14036): Loading IWSSessionManager by default.
[05/Oct/2006:16:06:29] info (14036): IWSSessionManager: Maximum number of sessions is 1000
[05/Oct/2006:16:06:29] failure (14036): Internal error: Unexpected error condition thrown (javax.xml.parsers.FactoryConfigurationError: Provid
er org.apache.crimson.jaxp.SAXParserFactoryImpl not found,Provider org.apache.crimson.jaxp.SAXParserFactoryImpl not found), stack: javax.xml.p
arsers.FactoryConfigurationError: Provider org.apache.crimson.jaxp.SAXParserFactoryImpl not found
at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:113)
at com.iplanet.server.http.util.XmlConfig.parseConfig(XmlConfig.java:75)
at com.iplanet.server.http.servlet.VirtualServer.<init>(VirtualServer.java:76)
at com.iplanet.server.http.servlet.VirtualServer.createVirtualServer(VirtualServer.java:165)
at com.iplanet.server.http.servlet.NSServletRunner.VSInit(NSServletRunner.java:721)

---------------------------------------------------------------------------------------------------------------------------------------------

The Below are the steps i followed to configure the jvm.
Started the https-admin server.
Logged in as admin.
Clicked the link "configure jvm".
Changed the default jre to JDK option and gave the path for jdk 1.5.
After the iPlanet Web server is restarted ; the webserver didnot come up properly raising the exception
[05/Oct/2006:18:04:26] info (17823): A new configuration was successfully installed
[05/Oct/2006:18:04:26] config (17823): Error occurred during initialization of VM
[05/Oct/2006:18:04:26] config (17823): java/lang/NoClassDefFoundError
[05/Oct/2006:18:04:26] config (17823): : java/lang/Object

This exception was corrected by configuring the start-jvm script under the /https-admserv folder.

NSES_JRE_RUNTIME_LIBPATH=/web/inapdev/newproject/jdk1.5.0_06/jre/lib/sparc; [Client jvm]
#NSES_JDK_RUNTIME_CLASSPATH= [Commented the this NSES_JDK_RUNTIME_CLASSPATH value]

Finally when the web-server is started, its raising the exception related to xml parsing and failing to start the server.

Thanks and Regards,

Bala
 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I know it is a old post, but I had this need on my current project.

I could solve this downloading crimson.jar from apache ( http://xml.apache.org/crimson/ ) and added it to JDK Runtime Classpath configuration.

It worked so far, but we need to do more tests.

Regards
 
joke time: What is brown and sticky? ... ... ... A stick! Use it to beat this tiny ad!
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic