Problem with starting Sun ONE Server after changing Java version
Hi
I installed Sun ONE Java Server 6.1 SP6 on Redhat Enterprise 4.0 64bit. This version uses java version "1.4.2_04" which is intalled in /opt/SUNWwbsvr/bin/https/jdk. With this configuration everything works ok. When I changed Java (/usr/java/jdk1.5.0_09) on version "1.5.0_09 (in server.xml) Sun One doesn't start. I have such error:
CORE3170: Configuration initialization failed: Error running init function load-modules: dlopen of /opt/SUNWwbsvr/bin/https/lib/libj2eeplugin.so failed (libjvm.so: cannot open shared object file: No such file or directory)
I checked file libjvm.so and it is in locations: /opt/SUNWwbsvr/bin/https/lib/ and /usr/java/jdk1.5.0_09/jre/lib/amd64/server.
Does anybody know what is wrong ?
Thanks for help
# 2
Hi Ges7
You were right. I installed Java 1.5_10 and 1.6 32 bit version and SUN ONE works but i have some errors
[https-fast1]: Sun ONE Web Server 6.1SP6 B05/07/2006 14:57
[https-fast1]: warning: CORE3283: stderr: Java HotSpot(TM) Server VM warning: Can't detect initial thread stack location - find_vma failed
[https-fast1]: info: CORE5076: Using [Java HotSpot(TM) Server VM, Version 1.6.0] from [Sun Microsystems Inc.]
[https-fast1]: info: WEB0100: Loading web module in virtual server [https-fast1] at [/XagentBr]
[https-fast1]: info: WEB0100: Loading web module in virtual server [https-fast1] at [/search]
[https-fast1]: info: WEB2798: [/XagentBr] ServletContext.log(): AuthAgent v1.55 starting ...
[https-fast1]: info: WEB2798: [/XagentBr] ServletContext.log(): Filter configuration file was not found
[https-fast1]: failure: WebModule[/XagentBr]: WEB2680: Exception starting filter Authorization Agent Filter
[https-fast1]: javax.servlet.ServletException: Filter configuration file was not found
[https-fast1]: at com.pl.comprze.authagent.AuthAgentFilter.init(AuthAgentFilter.java:262)
[https-fast1]: at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterCon fig.java:262)
[https-fast1]: at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilter Config.java:322)
[https-fast1]: at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java: 120)
[https-fast1]: at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3321)
[https-fast1]: at org.apache.catalina.core.StandardContext.start(StandardContext.java:3797)
[https-fast1]: at com.iplanet.ias.web.WebModule.start(WebModule.java:257)
[https-fast1]: at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
[https-fast1]: at org.apache.catalina.core.StandardHost.start(StandardHost.java:652)
[https-fast1]: at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
[https-fast1]: at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355)
[https-fast1]: at org.apache.catalina.startup.Embedded.start(Embedded.java:995)
[https-fast1]: at com.iplanet.ias.web.WebContainer.start(WebContainer.java:431)
[https-fast1]: at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:500)
[https-fast1]: at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161)
[https-fast1]:
[https-fast1]: failure: WebModule[/XagentBr]: WEB2705: Context startup failed due to previous errors
[https-fast1]: info: HTTP3072: [LS ls1] http://fast1:8088 ready to accept requests
[https-fast1]: startup: server started successfully
Success!
The server https-fast1 has started up.
Do You know what it can be ?