Home > Archive > Java Help > April 2004 > prob while deploying war component in JBOSS
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
prob while deploying war component in JBOSS
|
|
|
| Hello,
I'm new to JBOSS....I've installed JBOSS-3.2.2.
I tried deploying an EJB,it works fine with client app but when I
refer to
it from the web component(JSP), it gives can not resolve symbol for
all the
EJB classes.
One more thing I noticed when starting JBOSS, it gives WARNING like
this--
998 WARN [EmbeddedTomcatService] Unable to invoke setDelegate on
class loader:org.jboss.web.tomcat.tc4.WebCtxLoader$ENCLoader@14627a.
Is it due to this my JSP is not getting compiled?
| |
| Marek Lange 2004-04-07, 4:37 am |
| Priya wrote:
> I'm new to JBOSS....I've installed JBOSS-3.2.2.
> I tried deploying an EJB,it works fine with client app but when I
> refer to
> it from the web component(JSP), it gives can not resolve symbol for
> all the EJB classes.
You have to put your EJB classes to the JBoss classpath (in a seperate
jar file).
> One more thing I noticed when starting JBOSS, it gives WARNING like
> this--
> 998 WARN [EmbeddedTomcatService] Unable to invoke setDelegate on
> class loader:org.jboss.web.tomcat.tc4.WebCtxLoader$ENCLoader@14627a.
> Is it due to this my JSP is not getting compiled?
No it due to classloading issues, don't worry about that. If your jsp
does not compile you would see a Jasper error message (jsp compiler).
-marek
| |
| snorkle 2004-04-27, 3:52 pm |
| > You have to put your EJB classes to the JBoss classpath (in a seperate
> jar file).
I'm having a similar problem. i have my ejb's in a seperate jar. I
also have standard library jars. and my jsp is in a war file.
i put all of these into the deploy directory of jboss. when i try to
access the jsp, it tries to compile. jsp pages accessing the 'normal'
libraries will compile fine -- the classpath includes these
libraries. but it will not compile the jsp pages that are
regerencing ejb's.
does jboss add regular libraries into the jasper-compiler classpath
but not ejb's?
|
|
|
|
|