AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

prob while deploying war component in JBOSS

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Help
View previous topic :: View next topic  
Author Message
Priya
Guest





PostPosted: Wed Apr 07, 2004 5:48 am    Post subject: prob while deploying war component in JBOSS Reply with quote



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





PostPosted: Wed Apr 07, 2004 7:50 am    Post subject: Re: prob while deploying war component in JBOSS Reply with quote



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





PostPosted: Tue Apr 27, 2004 7:00 pm    Post subject: Re: prob while deploying war component in JBOSS Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Help All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.