jdk1.4.1 doesnt seem to work with vbroker5.2.1 on aix5.1

jdk1.4.1 doesnt seem to work with vbroker5.2.1 on aix5.1

Post by prab » Fri, 25 Jul 2003 03:24:47



jdk1.4.1 doesnt seem to work with vbroker5.2.1 on aix5.1

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

 
 
 

1. Jdk1.2.1 ORB, does IIOP work?

Hi all,
  Ive bbeebn looking at the Jdk1.2.1 CORBA 2.0, implementation,  the
examples SUN provide are nothing more than a hello world and work fine on a
single machine (Name server, appServer and appClient).

I have a problem running the basic example split over two machines, i.e.
appServer on one machine, appClient on another.

My question is, does the ORB included in the jdk1.2.1 release support IIOP,
and if so, why can't the demo appClient locate the name service on the other
machine, and hence the appServer?

Cheers,

2. Explorer 2.0 error on IRIX 5.1.1

3. VT320 Keyboard Mapping files for PC/TCP 4.1, OnNet 2.1

4. access list number

5. 'now' doesnt seem to work in stored procedure

6. Security Chat Online

7. Unmarshal Exception when returning a Vector from Server(JDk1.4.1 and BES 5.2)

8. Urgent Requirement :: Senior Oracle Developer -- F2F interview -- Need Local

9. Upgrede classes used to JDK1.4.1

10. , Re: Javascope and JDK1.2.1

11. , Javascope and JDK1.2.1

12. jdk1.2.1: how to change initial reference for name service

13. Sun JDK1.2.1 Corba example: CORBA.NO_IMPLEMENT