 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Priya Guest
|
Posted: Wed Apr 07, 2004 5:48 am Post subject: 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 (AT) 14627a (DOT)
Is it due to this my JSP is not getting compiled?
|
|
| Back to top |
|
 |
Marek Lange Guest
|
Posted: Wed Apr 07, 2004 7:50 am Post subject: Re: prob while deploying war component in JBOSS |
|
|
Priya wrote:
| Quote: | 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).
| Quote: | 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 (AT) 14627a (DOT)
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
|
|
| Back to top |
|
 |
snorkle Guest
|
Posted: Tue Apr 27, 2004 7:00 pm Post subject: Re: prob while deploying war component in JBOSS |
|
|
| Quote: | 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?
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|