David Ward
Thu, 07 Jun 2001 13:15:29 -0700
I would love to read a good answer to this one. I have this in my
httpd.conf include:
Alias /myapp "/usr/local/jboss/tmp/deploy/Default/myapp.ear/web1001"
<Directory "/usr/local/jboss/tmp/deploy/Default/myapp.ear/web1001">
Options Indexes FollowSymLinks
</Directory>
Unfortunately, if I re-deploy myapp.ear, "web1001" increments and I have
no way for Apache to change it's alias. I have to either change my
apache conf and restart apache, or remove myapp.ear from jboss, restart
jboss, then re-deploy myapp.ear so the "web1001" directory name stays
the same...
Does the reason JBoss changes the directory name have something to do
with ClassLoader issues for either Tomcat or JBoss?
I'm using bundled JBoss 2.2.2 and Tomcat 3.2.2 with JDK 1.3.1 on Red Hat
Linux 7.1.
Thanks,
David
--
Alex Radka wrote:
> Can you use the JBoss deployment functionality when you have Tomcat
> configured with Apache, or do you need to deploy your .war file separately
> and restart each time you deploy?
>
> I can reach the apps that come with Tomcat, but I get the following error in
> my mod_jk.log file when I try to access an app that was deployed through an
> .ear file. (Works fine when using embedded Tomcat/no Apache).
>
> jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146
> [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
>
> If you CAN deploy though an .ear, what does the mod_jk.conf-auto (or
> whatever you are including in httpd.conf) need to look like since you can't
> really define an alias as the JBoss directory changes each time.
>
> Thanks,
> Alex
>
>
>
> _______________________________________________
> 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