• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 https://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
reply
    Bookmark Topic Watch Topic
  • New Topic