Hello.

Has anyone succeded in connecting a Java 1.3 client to Jboss 4?

I'm trying to get a java 1.3 client to connect to jboss4.0.2 (running on java 
5). My understanding is that I must use JBOSS/IIOP to accomplish this?

The server starts fine and registers the beans that I have specified

<invoker-proxy-binding-name>iiop</invoker-proxy-binding-name>

for. It also prints the IOR for the homes and the CORBA naming service,
and seems to be doing ok, generrally.

I then configure the client to use com.sun.jndi.cosnaming.CNCtxFactory
w/ the aforementioned IOR as provider url. However, the client side 1.3 JRE 
(Sun's 1.3.1_15 on windows among others) doesn't like this IOR, says it's 
invalid even. See stack trace below. So much for interoperability?

Briefly testing Java 5 on the client side I find that the IOR is accepted and I 
get connected over IIOP. Running this way is not feasible for this particular 
client for other reasons (Lot's of Swing &c). And besides if Java 5 was an 
option I wouldn't need IIOP, I guess. Other clients to the same beans are 
working just fine.

To sum up, what should be done in order to get Java 1.3 clients working w/ 
JBoss4 running on Java 5, using IIOP or otherwise?

Please respond by email also, if possible.

Regards,

Per L, 
[EMAIL PROTECTED]

PS. Here's what happens on the client:

org.omg.CORBA.INV_OBJREF:   minor code: 1398079490  completed: No
        at com.sun.corba.se.internal.core.CodeSetComponentInfo.read(Unknown 
Source)
        at com.sun.corba.se.internal.core.Profile.(Unknown Source)
        at com.sun.corba.se.internal.core.IOR.getProfile(Unknown Source)
        at com.sun.corba.se.internal.iiop.CDRInputStream.read_Object(Unknown 
Source)
        at com.sun.corba.se.internal.iiop.CDRInputStream.read_Object(Unknown 
Source)
        at com.sun.corba.se.internal.corba.ORB.string_to_object(Unknown Source)
        at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(Unknown Source)
        at com.sun.jndi.cosnaming.CNCtx.initOrbAndRootContext(Unknown Source)
        at com.sun.jndi.cosnaming.CNCtx.(Unknown Source)
        at com.sun.jndi.cosnaming.CNCtxFactory.getInitialContext(Unknown Source)
        at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
        at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
        at javax.naming.InitialContext.init(Unknown Source)
        at javax.naming.InitialContext.(Unknown Source)




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

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


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to