Yes. A simple ant build script will take care of it. You can have them in
the same directory for unit testing (using only Tomcat/JBoss), then use ant
to make an EAR (without static pages) and to copy the static pages into the
deployment directory. It's not that hard, and you only need to setup the
ant build script once.
Alternatively, you can simply deploy the files without using an .ear file.
Either way will work. You'll have to live with it that way unless a) you
build an apache mod to read .ear files, or b) you convince the Apache group
to add support for .ear files.
-dan
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Tahir Awan
Sent: Monday, April 09, 2001 6:56 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [JBoss-user] How to use Apache + JBoss-Tomcat ?
ok, but how apache should be configured for this as the application context
is being created by jboss-deployer? I dont want to have a different docroot
for static pages.
Looks like I have to create the tomcat/webapps/myapp directory structure and
copy all the static pages there?
Tahir
> -----Original Message-----
> From: Dan - Blue Lotus Software [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 09, 2001 11:39 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [JBoss-user] How to use Apache + JBoss-Tomcat ?
>
>
> Apache knows nothing about .ear files. All your static HTML
> (images, etc)
> will have to be outside the .ear file. Of course, you can always tell
> apache to forward requests for .html files to Tomcat. But
> that destroys the
> benefit of having Apache serve static content.
>
> -dan
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Tahir Awan
> Sent: Monday, April 09, 2001 3:22 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: [JBoss-user] How to use Apache + JBoss-Tomcat ?
>
>
> dan,
> I am also using the same combination but somehow Apache is not serving
> static html pages once I deploy everything in an .ear file. During
> development everything went fine.
> Any clue?
>
> Tahir
>
> > -----Original Message-----
> > From: Dan - Blue Lotus Software [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, April 09, 2001 3:45 AM
> > To: [EMAIL PROTECTED]
> > Subject: RE: [JBoss-user] How to use Apache + JBoss-Tomcat ?
> >
> >
> > Yes. I use mod_jk to do this now. Simply follow the
> > directions for setting
> > up Apache and Tomcat together. This will work with
> > JBoss-Tomcat, as well.
> >
> > -dan
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of
> Eric Chow
> > Sent: Monday, April 09, 2001 7:42 AM
> > To: [EMAIL PROTECTED]
> > Subject: [JBoss-user] How to use Apache + JBoss-Tomcat ?
> >
> >
> > Hi,
> >
> > Is it possible to sue Apache as the Web Server, and
> > JBoss-Tomcat as the
> > EJB and JSP container ?
> >
> > Best regards,
> > Eric
> >
> >
> > _______________________________________________
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/jboss-user
> >
> >
> > _______________________________________________
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/jboss-user
> >
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user