Hello, I hope someone can help me.

Can one use two versions of Jacorb with one JBoss server?

I am trying to deply a EJB using an application that requires Jacorb 1.4.1 with JBoss 
3.2.4.  It's java api is accessable through a jar file.

This version of JBoss uses a newer version of Jacorb 1.4.1 that is incompatible with 
this application.  Other applications served out by the JBoss server require this 
version of JBoss.  

I found that if I replaced the Jacorb.jar and Jacorb.properties files on my JBoss test 
box with the version 1.4.1 - the application worked.  This solution is not acceptable 
on the production JBoss server.

The application developers claim that the reverse solution is not possible -- using 
the newer version of Jacorb with this application.  I tried to replace the jacorb 
files in their jar file and deploy it on JBoss and call it from my EJB.  I got an 
exception:
____________________________________________________
org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation 
org.jacorb.orb.ORB  vmcid: 0x0  minor code: 0  completed: No
        at org.omg.CORBA.ORB.create_impl(Unknown Source)
        at org.omg.CORBA.ORB.init(Unknown Source)
        at com.engenium.semetric.TheORB.get(TheORB.java:16)
        at com.engenium.semetric.Engine.initRef(Engine.java:523)
        at com.engenium.semetric.Engine.getDocSet(Engine.java:81)
        at DOCADD.main(DOCADD.java:27)
Caused by: java.lang.NoClassDefFoundError: org/apache/log/format/Formatter
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
        at java.lang.Class.getConstructor0(Unknown Source)
        at java.lang.Class.newInstance0(Unknown Source)
        at java.lang.Class.newInstance(Unknown Source)
        at org.jacorb.util.Environment.initLogging(Unknown Source)
        at org.jacorb.util.Environment.init(Unknown Source)
        at org.jacorb.util.Environment.(Unknown Source)
        at org.jacorb.orb.BufferManager.(Unknown Source)
        at org.jacorb.orb.ORB.(Unknown Source)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at java.lang.Class.newInstance0(Unknown Source)
        at java.lang.Class.newInstance(Unknown Source)
        ... 6 more
Exception in thread "main" 
___________________________________________________
I find it hard to believe that a library as heavily used as Jacorb would not be 
backwards compatible.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847573#3847573

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3847573


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to