The Source for Java Technology Collaboration

Home » java.net Forums » GlassFish » GlassFish

Thread: Using Weblogic as external JNDI resource

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
This question is not answered. Helpful answers available: 2. Correct answers available: 1.

Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 2 - Last Post: May 23, 2008 5:29 AM by: roisinflannery
candlejack

Posts: 48
Using Weblogic as external JNDI resource
Posted: Jan 25, 2008 5:02 AM
 
  Click to reply to this thread Reply

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

eduardp

Posts: 13
Re: Using Weblogic as external JNDI resource
Posted: May 14, 2008 1:46 AM   in response to: candlejack
 
  Click to reply to this thread Reply

Hi

I got it working between 2 glassfish appservers. I'm not sure if it will work for Weblogic, but I guess it's worth giving it a bash

http://forums.java.net/jive/thread.jspa?threadID=40576

Regards
Eduard

roisinflannery

Posts: 17
Re: Using Weblogic as external JNDI resource
Posted: May 23, 2008 5:29 AM   in response to: candlejack
 
  Click to reply to this thread Reply

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&#276262
or else, please feel free to reply to this thread and I will provide more information.

Kind regards,
Roisin
Sustaining Engineering, GlassFish




 XML java.net RSS