This is the stack trace
07/21 6:05:00.57 (0.776) AdapterGroupBase -
java.lang.NoClassDefFoundError: sun/
security/provider/Sun
at java.lang.Class.forName1(Native Method)
at java.lang.Class.forName(Class.java:173)
at com.inprise.vbroker.orb.ORB.installServiceCollection(ORB.java:1257)
at com.inprise.vbroker.orb.ORB.installServices(ORB.java:1298)
at com.inprise.vbroker.orb.ORB.initialize(ORB.java:1089)
at com.inprise.vbroker.orb.ORB.set_parameters(ORB.java:1332)
at org.omg.CORBA.ORB.init(ORB.java:367)
at com.i2.scp.ScpORB.getORB(ScpORB.java:30)
On sol and hp, the class sun/security/provider/Sun is in the rt.jar
under <java_home>/jre/lib/ and it works fine
On aix, /opt/6.1-stack/jdk1.4.1_20030522_64/jre/lib doesnt have a
rt.jar.. The rt.jar is split into smaller chunks. Also IBM has its own
implementation of security provider in jdk1.4.1 in the security.jar
(com.ibm.* packages).
So visibroker shouldnt be looking for sun.security.provider.Sun, it
should be looking for whatever is there in the
<JAVA_HOME/jre/lib/security/java.security file which in this case is
com.ibm.jsse.IBMJSSEProvider
My java.security (is the default with the installation)
security.provider.1=com.ibm.jsse.IBMJSSEProvider
security.provider.2=com.ibm.crypto.provider.IBMJCE
security.provider.3=com.ibm.security.jgss.IBMJGSSProvider
security.provider.4=com.ibm.security.cert.IBMCertPath
Is the security provider that visibroker looks for configurable at
runtime?. If so how do I askvisibroker to not look for sun's provider
but for ibm's.
If this is not configurable, does it mean that visibroker always looks
for sun's security provider and hence visibroker 5.2.1 wont work with
jdk1.4.1 on aix5.1
FYI.. things work fine if i use jdk1.3.1
thanks
prabhu