Hi again.

When I use <% page import="gojsp.ShowStats" %> I don't get
any can't find errors. instead I get errors that says that
javax.ejb.EJBHome,
javax.ejb.EJBObject, and javax.ejb.EJBCreateException are not found in
interface gojsp.ShowStats... gojsp.ShowStatsHome...

I've put the gojsp.ShowStats and gojsp.ShowStatsHome in the client library
of jBoss. IS that the way to go? and how do I make sure that Jasper can
find the ejb.* - files ?? 

I still can't manage to get "Added ./lib/client.jar ..."  hmmm. 

well, sorry for being such a beginner 

I really appreciate any help  ;)

/Mattias

> -----Ursprungligt meddelande-----
> Från: Per Nyfelt [SMTP:[EMAIL PROTECTED]]
> Skickat:      Monday, January 22, 2001 4:53 PM
> Till: jBoss
> Ämne: RE: [jBoss-User] jBoss - embedded Tomcat - deployment probs
> 
> Look at the tomcat-test.ear file for an example.
> 
> Putting ./lib/client.jar in your MANIFEST.MF that is inside the myjp.war
> file should work. Look for "Added ./lib/client.jar to common classpath"
> when
> deploying to make sure it is right.
> 
> Hope this helps.
> 
> Regards,
> Per
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Mattias Kardell
> Sent: den 22 januari 2001 16:27
> To: [EMAIL PROTECTED]
> Subject: [jBoss-User] jBoss - embedded Tomcat - deployment probs
> 
> 
> Hi everybody!
> 
> I'm trying to use embedded Tomcat service with
> jBoss 2.0, jdk1.3 on NT 4.0.
> 
> My .ear file consists of one .war-file and one .jar-file.
> I also have included the application.xml and a client.jar-
> file included in lib/ directory. In the client.jar-file I
> have the Home & Remote interface of the .jar-files EJB.
> 
> The deployment of the files seems alright but when I try
> to run the .jsp-side included in the .war-file I recieve
> compilation ERROR. JasperException because my Home &
> Remote interfaces' can not be found!
> 
> I declare it this way!
> 
> ShowStatsHome = ...
> 
> Why? Isn't it enough to include them in the client.jar-
> file? Do I have to put then in the %JBOSS_HOME%/client-dir?
> I have a MANIFEST.MF -file with the lib/client.jar -
> class-path stated.
> 
> I've been trying to find help on the jboss.org-site and
> in the docs. But what I really would need is a complete
> example of an .ear-application with EJBeans included so
> that I can understand what to do and where to put my
> files!
> 
> I have made an .ear file with this structure:
> 
> META-INF/
> META-INF/MANIFEST.MF
> META-INF/application.xml
> myejb.jar
> myjsp.war
> lib/
> lib/client.jar
> 
> The client.jar have this structure:
> gojsp/ShowStats.class
> gojsp/ShowStatsHome.class
> 
> 
> I would very very much appreciate ANY kind of help.
> Many thanks,
> 
> Mattias Kardell
> 
> 
> 
> 
> 
> 
> --
> --------------------------------------------------------------
> 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]

Reply via email to