Hej Per.
Well. Thanks. I've been trying to look att the tomcat-test.ear file
and I've organised my files the (almost) exact way as in the file.
The only reason I can see wy my client.jar file isn't included is
that tomcat-test.ear-->tomcat-test.war inlcudes an web.xml
file in the web-inf directory. do I need to do so to? if that's the
case. how do I declare the jsp-page as an "resource" ?
No "Added ./lib/client.jar to common classpath" although I
really did include the MANIFEST.MF in the meta-inf directory
of my myjsp.war ... the client.jar is included in the .ear file ...
I simply cannot get it to work... argh...
Do anyone know if its possible to skip the EJB-module in this
.ear-application and use the lookup("java:/env/ShowStats") instead
of doing it the way I am!?
Many thanks,
Regardsss,
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]