This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Other Java Products and Servers and the fly likes Problem with JNDI lookup for datasources in SUN One Application Server. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Problem with JNDI lookup for datasources in SUN One Application Server." Watch "Problem with JNDI lookup for datasources in SUN One Application Server." New topic
Author

Problem with JNDI lookup for datasources in SUN One Application Server.

sanchit raizada
Greenhorn

Joined: Nov 24, 2004
Posts: 14
Hi,
I was just wondering if anyone can provide help with some inputs with setting Datasources on SUN One Application Server.

We could figure out the place where SUN One App Server stores Datasource information [${SunInstallDirectory}\AppServer\domains\domain1\config\domain.xml].

We setup the Datasource [either through the web console or xml file] and we try to do a lookup for that datasource [jdbc/JDBCResourceName] as per http://www.coderanch.com/forums/

We are getting java.util.PropertyPermission * read, write error while tried to obtain a connection using this datasource.

EXCEPTION: Cannot obtain a connection from the Datasourceaccess denied (java.util.PropertyPermission * read,write);
PREVIOUS EXCEPTION: (java.security.AccessControlException: access denied (java.util.PropertyPermission * read,write))))
at com.adobe.asnesd.bo.ASNRequestHandlerBean.getUserInfo(ASNRequestHandlerBean.java:70)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Delegat


Cheers,
Sanchit


Sanchit<br />---------<br />SCEA
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Problem with JNDI lookup for datasources in SUN One Application Server.