Skip to main content



      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
Eclipse UserFriend

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
Eclipse UserFriend
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
Eclipse UserFriend
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
Eclipse UserFriend
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
Eclipse UserFriend
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
Eclipse UserFriend
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
Eclipse UserFriend
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 Apr 18 01:17:20 EDT 2025

Powered by FUDForum. Page generated in 0.08483 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top