Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Adminserver.sh fails with "class not found com/ibm/crypto/provider/IBMJCE" - Websphere 4.0.1 Solaris ????

592 views
Skip to first unread message

rajneesh

unread,
Oct 2, 2001, 11:24:00 AM10/2/01
to
Hi All

I have installed db2 and websphere 4.0.1 on Solaris 2.7.

1) I get the following exception on running adminserver.sh

---------------------------------------------------------------------------
---------------------------------
Exception in thread "main" java.lang.NoClassDefFoundError:
com/ibm/crypto/provider/IBMJCE
Exception in thread "main" java.lang.NoClassDefFoundError:
com/ibm/crypto/provider/IBMJCE
Exception in thread "main" java.lang.NoClassDefFoundError:
com/ibm/crypto/provider/IBMJCE
Exception in thread "main" java.lang.NoClassDefFoundError:
com/ibm/crypto/provider/IBMJCE
Exception in thread "main" java.lang.NoClassDefFoundError:
com/ibm/crypto/provider/IBMJCE
---------------------------------------------------------------------------
---------------------------------

2) i could find that after installation of same version on NT we could get
the jar
ibmjceprovider.jar which had com/ibm/crypto/provider/IBMJCE class.

Just as a hack, I put all NT jars (ibmjceprovider.jar,ibmjsse.jar etc )
in /opt/WebSphere/AppServer/
java/jre/lib/ext. All the jars in Solaris were left untouched.

Then I started getting the following error

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

bash-2.03# ./adminserver.sh
************ Start Display Current Environment ************
WebSphere AE 4.0.1 a0131.07 running with process name sunejb1/__adminServer
and process id 7781
Host Operating System is SunOS, version 5.7
Java version = 1.2.2, Java Compiler = sunwjit
server.root = /opt/WebSphere/AppServer
Java Home = /opt/WebSphere/AppServer/java/jre
ws.ext.dirs =
/opt/WebSphere/AppServer/java/lib:/opt/WebSphere/AppServer/classes:/opt/WebS
phere/AppServer/lib:/opt/WebSphere/AppServer/lib/ext:/opt/WebSphere/AppServe
r/web/help:/home/db2inst1//sqllib/java12/db2java.zip
Classpath =
/opt/WebSphere/AppServer/properties:/opt/WebSphere/AppServer/lib/bootstrap.j
ar
Java Library path =
/opt/WebSphere/AppServer/java/jre/bin/../lib/sparc:/opt/WebSphere/AppServer/
bin::/home/db2inst1/sqllib/java12:/home/db2inst1/sqllib/lib:/usr/lib
Current trace specification =
************* End Display Current Environment *************
java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError:
org/omg/CORBA_2_3/ORB
at java.lang.ClassLoader.findBootstrapClass(Native Method)
at java.lang.ClassLoader.findBootstrapClass(Compiled Code)
at java.lang.ClassLoader.findBootstrapClass0(Compiled Code)
at java.lang.ClassLoader.loadClass(Compiled Code)
at java.lang.ClassLoader.loadClass(Compiled Code)
at sun.misc.Launcher$AppClassLoader.loadClass(Compiled Code)
at java.lang.ClassLoader.loadClass(Compiled Code)
at java.lang.ClassLoader.loadClass(Compiled Code)
at java.lang.ClassLoader.loadClassInternal(Compiled Code)
at com.ibm.ejs.ras.TraceEvent.<init>(Compiled Code)
at com.ibm.ejs.ras.TraceEvent.<init>(TraceEvent.java:548)
at
com.ibm.ejs.ras.TraceEventGeneratorImpl.fireTraceEvent(Tr.java:1345)
at com.ibm.ejs.ras.Tr.error(Tr.java:703)
at com.ibm.ejs.sm.server.AdminServer.main(AdminServer.java:403)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Compiled Code)
at com.ibm.ws.bootstrap.WSLauncher.main(Compiled Code)
************ Start Display Current Environment ************
WebSphere AE 4.0.1 a0131.07 running with process name sunejb1/__adminServer
and process id 7786
Host Operating System is SunOS, version 5.7
Java version = 1.2.2, Java Compiler = sunwjit
server.root = /opt/WebSphere/AppServer
Java Home = /opt/WebSphere/AppServer/java/jre
ws.ext.dirs =
/opt/WebSphere/AppServer/java/lib:/opt/WebSphere/AppServer/classes:/opt/WebS
phere/AppServer/lib:/opt/WebSphere/AppServer/lib/ext:/opt/WebSphere/AppServe
r/web/help:/home/db2inst1//sqllib/java12/db2java.zip
Classpath =
/opt/WebSphere/AppServer/properties:/opt/WebSphere/AppServer/lib/bootstrap.j
ar
Java Library path =
/opt/WebSphere/AppServer/java/jre/bin/../lib/sparc:/opt/WebSphere/AppServer/
bin::/home/db2inst1/sqllib/java12:/home/db2inst1/sqllib/lib:/usr/lib
Current trace specification =
************* End Display Current Environment *************
java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError:
org/omg/CORBA_2_3/ORB
at java.lang.ClassLoader.findBootstrapClass(Native Method)
at java.lang.ClassLoader.findBootstrapClass(Compiled Code)
at java.lang.ClassLoader.findBootstrapClass0(Compiled Code)
at java.lang.ClassLoader.loadClass(Compiled Code)
at java.lang.ClassLoader.loadClass(Compiled Code)
at sun.misc.Launcher$AppClassLoader.loadClass(Compiled Code)
at java.lang.ClassLoader.loadClass(Compiled Code)
at java.lang.ClassLoader.loadClass(Compiled Code)
at java.lang.ClassLoader.loadClassInternal(Compiled Code)
at com.ibm.ejs.ras.TraceEvent.<init>(Compiled Code)
at com.ibm.ejs.ras.TraceEvent.<init>(TraceEvent.java:548)
at
com.ibm.ejs.ras.TraceEventGeneratorImpl.fireTraceEvent(Tr.java:1345)
at com.ibm.ejs.ras.Tr.error(Tr.java:703)
at com.ibm.ejs.sm.server.AdminServer.main(AdminServer.java:403)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Compiled Code)
at com.ibm.ws.bootstrap.WSLauncher.main(Compiled Code)
^Cbash-2.03#
----------------------------------------------------------------------------
--------------------------------

I know that putting NT jars is not the right solution, was just trying my
luck.

This error is killing me for the last few days.

Can anybody help me to solve this, pleeeeaaaseee!!!


Regards,

Rajneesh

Ken Hygh

unread,
Oct 2, 2001, 11:54:45 AM10/2/01
to
Just a WAG, but it looks like you have a bad install, and WebSphere
isn't running with its own JDK.
Ken

rajneesh

unread,
Oct 6, 2001, 5:53:04 AM10/6/01
to
Thanks Ken

Its working fine with Oracle 8.1.6. I ll try for DB2 in spare time. JDK was
not the problem though.

rajneesh

"Ken Hygh" <ken...@nc.rr.com> wrote in message
news:3BB9E345...@nc.rr.com...

0 new messages