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: 11
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: 199
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 message
Mike Keith is currently offline Mike Keith
Messages: 199
Registered: July 2009
Senior Member
JNDI integration support is already checked into the repository and will be in the next milestone.

-Mike
Previous Topic:[Blueprint reference-list] Retrieve ServiceReference with reference-listener
Next Topic:Gemini Blueprint Configuration Admin Runtime Updates
Goto Forum:
  


Current Time: Mon Oct 07 18:21:56 EDT 2013

Powered by FUDForum. Page generated in 0.08162 seconds