Another reason for needing some way to have the images outside the
webapp:

If our webapp allows users to upload images and then view them from our
site - we certainly don't wanna war these files - it would be nice to
not have to have a separate webserver to serve these images.

Regards 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Mike Lecza
Sent: Friday, April 05, 2002 10:33 AM
To: 'Marius Kotsbak'
Cc: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] JBoss 2.4.4/Tomcat 4x - How do I do Virtual
Paths?

This makes it difficult for designers.  I like to have an external area
where designers can just throw in images on the dev server without
having to package them up.

There must be someway to create a virtual directory.

Thanx for your reply.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Marius
Kotsbak
Sent: Friday, April 05, 2002 7:58 AM
To: Mike Lecza
Cc: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] JBoss 2.4.4/Tomcat 4x - How do I do Virtual
Paths?

On Fri, 2002-04-05 at 14:33, Mike Lecza wrote:
> Sorry for the repost on this one, but someone must be using context
> paths with JBoss 2.4.4/Tomcat 4.  Am I way off on this one?  How can I
> set up an image path that is not within the webapp?  I used to do this
> in the server.xml in tomcat 3x.
>  
> Below is the original post.
>  
> Thanx for reading.  Your help is most appreciated.
>  
> Regards.
>  
> ================================================
>  
>  
> I understand that 2.4.4 + Catalina doesn't support parsing the
> server.xml file.
>  
> I am trying to setup a Context path that would normally be in the
> server.xml.  From what I have read I am thinking I should be able to
do
> this in the jboss.jcml.  I took a shot at getting it to work (cuz I
> don't see any dox on how-to).
>  
> Below is one of the things I tried.  Can someone confirm that this is
> possible and supply an example?
>  
>  
>   <mbean code="org.jboss.web.catalina.EmbeddedCatalinaServiceSX"
> name="DefaultDomain:service=EmbeddedTomcat">
>       <attribute name="Port">80</attribute>
>       <attribute name="Config">
>             <Context path="/images"
>                   docBase="/projects/XX/presentation/images"
>                   crossContext="false"
>                   debug="0"
>                   reloadable="true">
>             </Context>
>       </attribute>
>   </mbean>
>  
>  
>  

I don't think it should be supported, as it probably is against the
spec. When you deploy a webapp (.war) or as a part of a .ear, it should
not depend on something in the filesystem outside the package. Could you
not just include the images in the .war?


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to