Thanks Guys,
I had missed Jboss-web.xml file.
regards
 sharath



On Mon, 09 Jul 2001 13:33:52 -0500, [EMAIL PROTECTED] wrote:

>  And finally, if you are getting a class not found type of error when the 
>  JSP is compiled, well, there are no good answers. The best answer is to 
>  wrap your EJBs in a regular JavaBean and use the JavaBean from your JSP 
>  and put the JavaBean in your war's 'WEB-INF/classes' directory. Another 
>  answer is to copy your EJB's home and remote interfaces into the war's 
>  'WEB-INF/classes' directory.
>  
>  For the record, the problem is that when Jasper (the JSP engine in 
>  Tomcat) tries to compile the servlet it generates it spawns a javac that 
>  doesn't have all of the .ear file's jars in its classpath - leading to 
>  the class not found problem in compile
>  
>  -danch
>  
>  Allen fogleson wrote:
>  
>  > Well first off make sure you do not have hardcoded your provider url as

>  > t3://.....
>  > 
>  >  
>  > 
>  > Secondly... if you are using ejb-ref in your web.xml (i assume you are)

>  > make sure you have a jboss-web.xml to map the ejbs into the enc.
>  > 
>  >  
>  > 
>  > lastly any ejb-ref in the ejb-jar.xml will require a corresponding
entry 
>  > in a jboss.xml in the jar file also.
>  > 
>  >  
>  > 
>  > Al
>  > 
>  >     ----- Original Message -----
>  > 
>  >     *From:* sharath <mailto:[EMAIL PROTECTED]>
>  > 
>  >     *To:* [EMAIL PROTECTED]
>  >     <mailto:[EMAIL PROTECTED]>
>  > 
>  >     *Sent:* Monday, July 09, 2001 2:18 AM
>  > 
>  >     *Subject:* [JBoss-user] Help
>  > 
>  > 
>  >     Hi all,
>  > 
>  >     Iam working on an application that uses EJBs and JSPs.
>  > 
>  >     Im using JDK1.3.Till recently we were using BEA Weblogic but now
>  >     want to change over to JBoss.I did as told in documentation and am
>  >     able to get the jsp pages which do not call a bean.
>  > 
>  >     But iam getting an error as soon as the server has to serve a jsp
>  >     page which calls an EJB.Please advise to me as to what all steps
>  >     should i take for this and why is this error coming.??
>  > 
>  >     I have deployed an ear file in jboss/deploy directory.
>  > 
>  >     Awaiting reply,
>  > 
>  >     regards
>  > 
>  >      Sharath
>  > 
>  
>  
>  
>  _______________________________________________
>  JBoss-user mailing list
>  [EMAIL PROTECTED]
>  http://lists.sourceforge.net/lists/listinfo/jboss-user





_______________________________________________________
Send a cool gift with your E-Card
http://www.bluemountain.com/giftcenter/



_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to