Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Gemini » OSGI to access weblogic JNDI(OSGI to access weblogic JNDI)
OSGI to access weblogic JNDI [message #1016888] Thu, 07 March 2013 23:55 Go to next message
pree srini is currently offline pree srini
Messages: 4
Registered: March 2013
Junior Member

I am having an OSGI application that uses JNDI to create connection factories on weblogic server.

I see the error

&#x2028Caused by: java.net.ConnectException: t3://127.0.0.1:7001: Bootstrap to 127.0.0.1/127.0.0.1:7001 failed. It is likely that the remote side declared peer gone on this JVM
&#x2028 at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:203)
&#x2028 at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
&#x2028 at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:344)
&#x2028 at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
&#x2028 at weblogic.security.service.SecurityManager.runAs(Unknown Source)
&#x2028 at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:339)


However I am able to access the same weblogic server through a normal java program.This issue is seen only while using OSGI.

Both application and weblogic are on the same machine.

Any thoughts ?
Re: OSGI to access weblogic JNDI [message #1043181 is a reply to message #1016888] Wed, 17 April 2013 07:39 Go to previous messageGo to next message
Jan Stamer is currently offline Jan Stamer
Messages: 13
Registered: February 2012
Junior Member
Did you solve your problem? I am interested in that too!
Re: OSGI to access weblogic JNDI [message #1043309 is a reply to message #1043181] Wed, 17 April 2013 10:39 Go to previous messageGo to next message
pree srini is currently offline pree srini
Messages: 4
Registered: March 2013
Junior Member
I haven't found a solution to this.
Re: OSGI to access weblogic JNDI [message #1047004 is a reply to message #1043309] Mon, 22 April 2013 13:02 Go to previous messageGo to next message
Mike Keith is currently offline Mike Keith
Messages: 211
Registered: July 2009
Senior Member
Sorry, can you be more specific? Are you saying that an application is running in OSGi in its own JVM and is trying to connect to a separate WLS proces via RMI JNDI connection but you get this error? But if you try it in a plain Java application in a separate JVM it *can* connect to JNDI in WLS?

Are you using Gemini Naming in the application?
Re: OSGI to access weblogic JNDI [message #1061574 is a reply to message #1047004] Mon, 03 June 2013 01:04 Go to previous messageGo to next message
pree srini is currently offline pree srini
Messages: 4
Registered: March 2013
Junior Member
We are not using gemini for jndi . I suspect it has something to do with classloaders.The same code written in a java application works well.
When it is used within OSGI it throws this exception.
Re: OSGI to access weblogic JNDI [message #1063670 is a reply to message #1061574] Thu, 13 June 2013 13:03 Go to previous messageGo to next message
Mike Keith is currently offline Mike Keith
Messages: 211
Registered: July 2009
Senior Member
JNDI integration support is already checked into the repository and will be in the next milestone.

-Mike
Re: OSGI to access weblogic JNDI [message #1237924 is a reply to message #1063670] Thu, 30 January 2014 19:29 Go to previous message
Jim Harrald is currently offline Jim Harrald
Messages: 1
Registered: January 2014
Junior Member
Mike,

Last year you mentioned that "jndi integration support is already checked into the repository and will be in the next milestone." Can you tell me where I can find information about what that integration entails, any configuration that is required, when it will happen, etc.? Pardon the simple questions, learning about Equinox.

Thanks,
Previous Topic:Blueprint xml namespace issues, pt2
Next Topic:Gemini JPA - Dynamic Entities
Goto Forum:
  


Current Time: Fri Aug 22 00:13:47 EDT 2014

Powered by FUDForum. Page generated in 0.12444 seconds