Hi all,
I am an amateur using CORBA. I am actually trying to use an integration software to make an servlet talk to my integrtion server. And for this to happen, I need to make my servlet use IIOP. So I am initializing VisiBroker. Below is the code that I am using to achieve this.
void intializeVisi() {
Properties orbProperties = new java.util.Properties();
orbProperties.setProperty("org.omg.CORBA.ORBClass", "com.inprise.vbroker.orb.ORB"
orbProperties.setProperty("org.omg.CORBA.ORBSingletonClass", "com.inprise.vbroker.orb.ORBSingleton"
ORB orb = ORB.init((String[])null, orbProperties);
}
and I get an exception :
Exception in thread "main" java.lang.VerifyError: class org.omg.PortableServer.AdapterActivatorPOA o
verrides final method ☺.☺
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at com.inprise.vbroker.orb.ORB.adapterManager(ORB.java:1101)
at com.inprise.vbroker.ds.DSUser.<init>(DSUser.java:282)
at com.inprise.vbroker.ds.Init.init(Init.java:20)
at com.inprise.vbroker.orb.ORB.installServices(ORB.java:922)
at com.inprise.vbroker.orb.ORB.initialize(ORB.java:831)
at com.inprise.vbroker.orb.ORB.set_parameters(ORB.java:950)
at org.omg.CORBA.ORB.init(ORB.java:337)
at Visi.intializeVisi(Visi.java:11)
at Visi.main(Visi.java:17)
I have my VisiBroker in my classpath. So any insight that you can give on how to clear this error will be helpful.
Thank you
-kms
I am an amateur using CORBA. I am actually trying to use an integration software to make an servlet talk to my integrtion server. And for this to happen, I need to make my servlet use IIOP. So I am initializing VisiBroker. Below is the code that I am using to achieve this.
void intializeVisi() {
Properties orbProperties = new java.util.Properties();
orbProperties.setProperty("org.omg.CORBA.ORBClass", "com.inprise.vbroker.orb.ORB"
orbProperties.setProperty("org.omg.CORBA.ORBSingletonClass", "com.inprise.vbroker.orb.ORBSingleton"
ORB orb = ORB.init((String[])null, orbProperties);
}
and I get an exception :
Exception in thread "main" java.lang.VerifyError: class org.omg.PortableServer.AdapterActivatorPOA o
verrides final method ☺.☺
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at com.inprise.vbroker.orb.ORB.adapterManager(ORB.java:1101)
at com.inprise.vbroker.ds.DSUser.<init>(DSUser.java:282)
at com.inprise.vbroker.ds.Init.init(Init.java:20)
at com.inprise.vbroker.orb.ORB.installServices(ORB.java:922)
at com.inprise.vbroker.orb.ORB.initialize(ORB.java:831)
at com.inprise.vbroker.orb.ORB.set_parameters(ORB.java:950)
at org.omg.CORBA.ORB.init(ORB.java:337)
at Visi.intializeVisi(Visi.java:11)
at Visi.main(Visi.java:17)
I have my VisiBroker in my classpath. So any insight that you can give on how to clear this error will be helpful.
Thank you
-kms