Hello, whenever I get these classpath difficulties I Ensure I explicity import all classes no(*) in the clients Ensure I have case and spelling correct for imports Check ALL xml descriptors that ref Bean Classes for case and spelling check the directory structure in the jar files reflects the packaging (by unpacking the damn things) good luck >From: Abhishek Balaria <[EMAIL PROTECTED]> >Reply-To: "jBoss" <[EMAIL PROTECTED]> >To: jBoss <[EMAIL PROTECTED]> >Subject: Re: [jBoss-User] please help...I am stuck..ear classpath...not >found in import error >Date: Mon, 08 Jan 2001 14:41:18 +0100 > >Thanks Ken, but it doesn't solve the problem.. > > > Yes and the answer is in the error message :-) > > > > >Package org.infohazard.ejb.einstein not found in import. > > Make sure it's in the classpath. > >Of course, the problem is that it's not in the classpath. But my >question is "If I have the bean JAR in the EAR file and importing a bean >Home/Remote interfaces in a WAR (a servlet or jsp) which is also in the >EAR, why and where do I need these classes to be in CLASSPATH? > > > > > >import org.infohazard.ejb.einstein.* > > > >Import is correct. BTW, all I am trying is to run JUnitEE examples with >JBoss. JUnitEE is the Unit testing framework for testing EJBs. > >Anyone else know more abt the classpath for an EAR file please? > >Thanks anyway >Abhishek > > > > -----Original Message----- > > From: Abhishek Balaria [mailto:[EMAIL PROTECTED]] > > Sent: 08 January 2001 13:25 > > To: jBoss > > Subject: [jBoss-User] please help...I am stuck..ear classpath...not > > found in import error > > > > Hi, > > I have packaged my application in an ear(following are the contents) > > > > 22 Mon Jan 08 12:04:00 GMT+01:00 2001 META-INF/MANIFEST.MF > > 844 Mon Jan 08 12:04:00 GMT+01:00 2001 META-INF/application.xml > > 2683 Mon Jan 08 12:04:00 GMT+01:00 2001 junitee-example-ejb.jar > > 2073 Mon Jan 08 12:04:00 GMT+01:00 2001 junitee-example-web.war > > 3344 Mon Jan 08 12:04:00 GMT+01:00 2001 junitee-example-test-web.war > > > > now a .jsp imports the bean classes(which are in .jar) and I get the > > exception: > > > > org.apache.jasper.JasperException: Unable to compile class for > > JSP/home/abhishek/jboss_tomcat/tomcat-3.2-b7/work/localhost_8080%2Fexamp > > le/_0002fresult_0002ejspresult_jsp_0.java:13: > > Package org.infohazard.ejb.einstein not found in import. > > import org.infohazard.ejb.einstein.*; > > ^ > > 1 error > > > > at > > org.apache.jasper.compiler.Compiler.compile(Compiler.java:254) > > at > > org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:462) > > at > > org.apache.jasper.servlet.JasperLoader12$1.run(JasperLoader12.java:160) > > at java.security.AccessController.doPrivileged(Native Method) > > at > > org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:156 > > ) > > at > > org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433) > > at > > org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(J > > spServlet.java:152) > > at > > org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServle > > t.java:164) > > at > > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318) > > at > > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:840) > > at > > org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404) > > at org.apache.tomcat.core.Handler.service(Handler.java:286) > > at > > org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) > > at > > org.apache.tomcat.core.ContextManager.internalService(ContextManager.jav > > a:799) > > at > > org.apache.tomcat.core.ContextManager.service(ContextManager.java:745) > > at > > org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(H > > ttpConnectionHandler.java:210) > > at > > org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:407 > > ) > > at > > org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:49 > > 8) > > at java.lang.Thread.run(Thread.java:484) > > > > does anyone know how to resolve it. > > > > Thanks > > Abhishek > > > > -- > > -------------------------------------------------------------- > > To subscribe: [EMAIL PROTECTED] > > To unsubscribe: [EMAIL PROTECTED] > > List Help?: [EMAIL PROTECTED] > > > > -- > > -------------------------------------------------------------- > > To subscribe: [EMAIL PROTECTED] > > To unsubscribe: [EMAIL PROTECTED] > > List Help?: [EMAIL PROTECTED] > > > > -- > > -------------------------------------------------------------- > > To subscribe: [EMAIL PROTECTED] > > To unsubscribe: [EMAIL PROTECTED] > > List Help?: [EMAIL PROTECTED] > > >-- >-------------------------------------------------------------- >To subscribe: [EMAIL PROTECTED] >To unsubscribe: [EMAIL PROTECTED] >List Help?: [EMAIL PROTECTED] > _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- -------------------------------------------------------------- To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] List Help?: [EMAIL PROTECTED]
