You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ron Bolin <rb...@issl.atl.hp.com> on 2000/12/19 21:19:58 UTC
Re: Struts Webapp deployment Jar or naked classes?
RE: Can a Tomcat/Struts application work with Apache 1.3.X in a JAR file only?
Setup/Configuration:
-----------------------
Apache 1.3.12
Mod_jk connector Tomcat 3.2.1
Struts 1.0 CVS
OS: HP-UX 11.0
Java 1.2.2
I have tried several deployment methods for a webapp application under Struts 1.0 CVS
trying to utilize a JAR file instead of a naked class hierarchy under WEB-INF/classes.
I placed my webapp jar file in WEB-INF/lib and tried WEB-INF/classes without
success (they are in my classpath). Can a webapp be deployed using Struts with just
a JAR file? Yes - my struts.jar lives in WEB-INF/lib. From what I have seen
in this group it looks like it will have to be a naked classes file hierarchy under
WEB-INF/classes. Am I wrong?
Thanks in advance
Ron
RE: Struts Webapp deployment Jar or naked classes?
Posted by Malcolm Davis <ma...@nuearth.com>.
I have had success by putting the absolute pathname of the jar in the
classpath.
Example: /dirpath/struts.jar.
I'm having the same problem with NT. Struts (or maybe Tomcat)
is not picking up the Jars in the WEB-INF/lib directory. So, I put
the entire path in the CLASSPATH variable. I don't like the solution.
- Malcolm
> -----Original Message-----
> From: Ron Bolin [mailto:rbolin@issl.atl.hp.com]
> Sent: Tuesday, December 19, 2000 2:20 PM
> To: struts-user@jakarta.apache.org
> Subject: Re: Struts Webapp deployment Jar or naked classes?
>
>
> RE: Can a Tomcat/Struts application work with Apache 1.3.X in a
> JAR file only?
>
> Setup/Configuration:
> -----------------------
> Apache 1.3.12
> Mod_jk connector Tomcat 3.2.1
> Struts 1.0 CVS
> OS: HP-UX 11.0
> Java 1.2.2
>
>
> I have tried several deployment methods for a webapp application
> under Struts 1.0 CVS
> trying to utilize a JAR file instead of a naked class hierarchy
> under WEB-INF/classes.
>
> I placed my webapp jar file in WEB-INF/lib and tried
> WEB-INF/classes without
> success (they are in my classpath). Can a webapp be deployed
> using Struts with just
> a JAR file? Yes - my struts.jar lives in WEB-INF/lib. From what I
> have seen
> in this group it looks like it will have to be a naked classes
> file hierarchy under
> WEB-INF/classes. Am I wrong?
>
>
> Thanks in advance
>
> Ron
>
>