Hi, the bean i'm deploying uses some classes
(gd.xml.tiny.*) to parse a XML file. The bean deploys
ok, and i'm able to run some methods from the client,
but when i get to the point where i have to access the
gd.xml.tiny.* classes an exception is thrown:

[XMLParser] Parsing XML...
[XMLParser] Done
[XMLParser] java.rmi.ServerException: Exception
occurred:try to access class gd.xml.tiny.ParseNode
from class com.otonic.adminejb.XMLParserBean
[XMLParser]     at
org.jboss.ejb.plugins.TxInterceptor.runWithTransactions(TxInt
erceptor.java:297)
[XMLParser]     at
org.jboss.ejb.plugins.TxInterceptor.invoke(TxInterceptor.java
:100)
[XMLParser]     at
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInte
rceptor.java:93)
[XMLParser]     at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.ja
va:154)
[XMLParser]     at
org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessi
onContainer.java:262)
[XMLParser]     at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke
(JRMPContainerInvoker.java:175)
[XMLParser]     at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke
(JRMPContainerInvoker.java:159)
[XMLParser]     at
java.lang.reflect.Method.invoke(Native Method)
[XMLParser]     at
sun.rmi.server.UnicastServerRef.dispatch(Unknown
Source)
[XMLParser]     at
sun.rmi.transport.Transport$1.run(Unknown Source)
[XMLParser]     at
java.security.AccessController.doPrivileged(Native
Method)
[XMLParser]     at
sun.rmi.transport.Transport.serviceCall(Unknown
Source)
[XMLParser]     at
sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown
Sou
rce)
[XMLParser]     at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unkn
own Source)
[XMLParser]     at java.lang.Thread.run(Unknown
Source)

I placed the archive (parser.jar) which contains those
classes in the lib/ext directory (maybe that's wrong
from the beginning) and jBoss adds the archive to the
classpath at startup (or looks like).

For the text in the exception i think it's some
security or permission thing i'm missing.

Is there a standar way to add classes to the jBoss
classpath and give the beans permission to access
them?

Thanks
Francisco

__________________________________________________
Do You Yahoo!?
Yahoo! Mail � Free email you can access from anywhere!
http://mail.yahoo.com/


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to