[JBoss-user] [Security & JAAS/JBoss] - Re: running jboss with -Djava.security.manager

2004-06-21 Thread fe2o3
It appears that firebird and mysql JDBC drivers operate correctly which running with a 
Security Manager.

As you can probably tell from the stacktraces above, it fails when actually executing 
the statement.  So, you would need an (valid?) Oracle instance/listenter to test this.



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839441#3839441

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839441


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: running jboss with -Djava.security.manager

2004-06-21 Thread fe2o3
running with anonymous wrote : JAVA_OPTS='-Xmx700m -Djava.security.manager 
-Djava.security.debug=domain,failure 
-Djava.security.policy=server/default/conf/server.policy' bin/run.sh doesn't appear to 
give me any more debugging information near the exception.

Only tested your suggested system property with an Oracle driver.  Here is a clip of 
the stacktraceanonymous wrote : Caused by: java.lang.IllegalAccessError: class 
oracle.jdbc.driver.$Proxy232 cannot access its superinterface 
oracle.jdbc.driver.ScrollRsetStatement
  | at java.lang.reflect.Proxy.defineClass0(Native Method)
  | at java.lang.reflect.Proxy.getProxyClass(Proxy.java:475)
  | at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:552)
  | at 
org.jboss.resource.adapter.jdbc.PrivilegedProxy$BuildProxyAction.run(PrivilegedProxy.java:90)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at 
org.jboss.resource.adapter.jdbc.PrivilegedProxy.getProxy(PrivilegedProxy.java:51)
  | at 
org.jboss.resource.adapter.jdbc.WrappedStatement.(WrappedStatement.java:47)
  | at 
org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.(WrappedPreparedStatement.java:45)
  | at 
org.jboss.resource.adapter.jdbc.WrappedConnection.prepareStatement(WrappedConnection.java:208)
  | 

I can try a couple others tonight (perhaps) like mysql or postgres.

Would you like me to turn up logging to TRACE?

Thanks for the reply!

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839435#3839435

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839435


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: running jboss with -Djava.security.manager

2004-06-19 Thread [EMAIL PROTECTED]
What does adding -Djava.security.debug=domain,failure show around this exception? I 
did testing of a security manager with the hsqldb driver, but no external databases. 
I'll try pointbase for th 3.2.5 release.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839345#3839345

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839345


---
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user