|
Replies:
2
-
Last Post:
May 23, 2008 5:29 AM
by: roisinflannery
|
|
|
|
|
|
|
Using Weblogic as external JNDI resource
Posted:
Jan 25, 2008 5:02 AM
|
|
|
Hi,
i have been trying to configure an external JNDI resource in my Glassfish V2 server, so that i can use a local JNDI name to lookup an EJB deployed on a remote Weblogic 10 application server. Unfortunately so far i had no success but recieve an Exception whenever i try to save the configuration:
java.io.NotSerializableException: com.sun.corba.ee.impl.orb.ORBImpl
As far as i know this is the object type that should be returned by the remote server, at least that's the object type i recieve when doing a regular look up (which is working). So i assume that the JNDI-Search parameter is set correctly but that either the context factory needs to be changed (at the moment i use com.sun.appserv.naming.S1ASCtxFactory but also tried com.sun.enterprise.naming.SerialInitContextFactory resulting in the same Exception), or i specified an invalid resource type, which i guess is the most likely option as i must admit i don't really know what should go there. Should i put there the type of the remote interface, remote home interface, EJBHome, EJBObject or something completely different? I tried the different combinations but all resulted in the same error, so i hope someone can point me in the correct direction.
The EJB version is 3.0 but annotated with the @RemoteHome annotation to allow 2.x style lookups which are working using the same corbaname etc. so i would assume that the callee side is set up properly and the error is on the caller side.
Any tips are welcome, Chris
|
|
|
|
|
|
|
|
|
Re: Using Weblogic as external JNDI resource
Posted:
May 23, 2008 5:29 AM
in response to: candlejack
|
|
|
Hi candlejack,
Have you ever considered purchasing a support contract with Sun? We have a number of different offerings and pricing schemes, to support every type of user.
With support, you receive access to fully tested and supported patches, containing fixes to recent bugs. You also will have the benefits of up to 24x7 support, meaning that you can get your questions answered all the time anytime. Please take a look at the following link for more details: http://forums.java.net/jive/thread.jspa?messageID=276262񃜦 or else, please feel free to reply to this thread and I will provide more information.
Kind regards, Roisin Sustaining Engineering, GlassFish
|
|
|
|
|