Hi,
 
I have simple Jsp form where a user inputs some data and clicks ADD button on the form which intern calls another Jsp(cntrl.jsp) where i am invoking CMP.
 
I have made a jar file (Remote, home and ejb with Meta-Inf containing ejb-jar.xml and jaws.xml) and a war file (all jsps with web-inf containing web.xml and jboss-web.xml files)
 
Then I made an ear using the above two jar and war files and deployed it in deploy folder of Jboss. My problem is when I submit the first form after entering values, It is throwing exception saying ProjectHome.class not found. When I tried this by importing the bean package (com.mms.*) in my Jsp, It is saying..
 
Internal Servlet Error:
 
org.apache.jasper.JasperException: Unable to compile class for JSPC:\JBoss-2.4.3_Tomcat-3.2.3\tomcat\work\localhost_8080%2Fmms\_0002fadd_0005fproject_0005fctrl_0002ejspadd_0005fproject_0005fctrl_jsp_0.java:16: Package com.mms not found in import.
import  com.mms.*;
        ^
PS: I have even tried by setting jar file to classpath variable. I am using JBoss-2.4.3_Tomcat-3.2.3 and my database is Oracle 8i. I have also attached my log file for reference.
 
Can any one please suggest me how to solve this..and also let me know whether I need to create any virtual directory in tomcat for this application.
 
Thanks
Kiran

Attachment: server.log
Description: Binary data

Reply via email to