Friday, September 17, 2010

Not able to connect to SOA Suite 11g using jdeveloper 11g

While trying to create a connection from Jdeveloper to your soa suite 11g you are getting following error in your jdeveloper

Error message :- Testing JSR-160 Runtime ... failed.
Cannot establish connection.
Testing JSR-160 DomainRuntime ... skipped.
Testing JSR-88 ... skipped.
Testing JSR-88-LOCAL ... skipped.
Testing JNDI ... skipped.
Testing JSR-160 Edit ... skipped.
Testing HTTP ... success.
Testing Server MBeans Model ... skipped.
Testing HTTP Authentication ... success.


The reason being that you are trying to use you own user to connect to application server.


Try with user weblogic to create a jdeveloper connection.

Or if you want to create a connection with different user then you need to assign him the roles of a administrator.

Log in to admin console

Go to Realms-->Your realm-->User and Groups

Click on your user

Switch to roles tab and assign the user administrator privilege.

If you are not sure of what all privilege you need to assign to a user ,just check the roles of weblogic and assign the same privilege to your user too.

Even if you will use wlst script to connect to server you will get exception when user is not weblogic


wls:/offline> nmConnect('admin','welcome1','host','5556','soa_domain','/applwls/Middleware/admin/soa_domain')
Connecting to Node Manager ...

Traceback (innermost last):
File "", line 1, in ?
File "", line 123, in nmConnect
File "", line 646, in raiseWLSTException
WLSTException: Error occured while performing nmConnect : Cannot connect to Node Manager. : [Security:090476]Invalid/unknown SSL header was received from peer localhost - ip address during SSL handshake.
Use dumpStack() to view the full stacktrace

Assigning privilege to user should resolve the issue as i was able to make it work.

No comments: