Hi, the jar file i want to use is not an EJB, and i'm
not sure if i can put it in the deploy/ dir.
Anyway, i put it there, and the exception changed
(that is good news, since i was stuck...). Now i'm
getting the following:
[XMLParser] Parsing XML...
[XMLParser] Done
[XMLParser] java.rmi.ServerException: Exception
occurred:gd/xml/tiny/TinyParser
[XMLParser] at
org.jboss.ejb.plugins.TxInterceptor.runWithTransactions(TxInterceptor.java:297)
[XMLParser] at
org.jboss.ejb.plugins.TxInterceptor.invokeTxInterceptor.java:100)
[XMLParser] at
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:93)
[XMLParser] at
org.jboss.ejb.plugins.LogInterceptor.invokeLogInterceptor.ja
va:154)
[XMLParser] at
org.jboss.ejb.StatelessSessionContainer.invokeStatelessSessionContainer.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)
Can it be something missing in jboss.xml or
ejb-jar.xml?
Thanks
Francisco
--- Sebastien Alborini <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> Francisco Andrades wrote:
> >
> > 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).
>
> This is wrong. Jboss and your beans won't share the
> same classloader, so
> it's no use giving the jar to jboss.
>
> Your beans can only access the classes which are in
> the
> <jboss>/deploy/your_app.jar file. You must put all
> you need in here.
>
> Sebastien
>
>
>
> >
> > 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]
>
>
> --
>
--------------------------------------------------------------
> To subscribe:
> [EMAIL PROTECTED]
> To unsubscribe:
> [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
>
__________________________________________________
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]