> can't be. I start Apache first always before jboss-tomcat and it works
just
> fine. It works the other way around too. All on win2k. Check :
When I started JBoss after Apache I noticed I was getting an exception after
the load of the last context. I'm at home so I don't have the stack trace.
But it was in the [EmbeddedSX] section. That's what made me try reversing
the order.
On further investigation on the Unix side I realized I had Apache and Tomcat
on the same port. For some reason win2K didin't complain about it but my
hunch is that is the problem in Unix. May have been the problem with the
start order on Win2K also (if you start apache first it doesn't mind that
they are on the same port?)
Unfortunately other fires arose before I could investigate fully, so I'll
try again Monday.
Thanks for your help thus far,
Alex
----- Original Message -----
From: "Lionel Siau" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 08, 2001 7:54 PM
Subject: Re: [JBoss-user] jboss-tomcat-apache
> Alex,
>
> can't be. I start Apache first always before jboss-tomcat and it works
just
> fine. It works the other way around too. All on win2k. Check :
>
> 1) U have an entry in http.conf refering to mod_jk.conf right?
> 2) The mappings in mod_jk.conf are for directory mapping. This is so that
> Apache knows when to send the request to Tomcat via ajp13.<response to
your
> post to me>
> 3) Make sure u modify the workers.properties too. I had to change
something
> here.
>
>
> Lionel
>
> ----- Original Message -----
> From: "Alex Radka" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, June 09, 2001 1:17 AM
> Subject: RE: [JBoss-user] jboss-tomcat-apache
>
>
> > Ahhh, now I'm getting somewhere. I knew it was something easy (at least
> in
> > Win2000).
> >
> > If I start Tomcat FIRST and then Apache everything works fine. The
extra
> > line I needed to include in httpd.conf (whether through mod_jk.conf or
> > whatever) was
> > JkMount /quaestor/* ajp13
> >
> > Didn't put in alias or directory tag at all.
> >
> > Now my problem is in the Unix environment Apache won't start if
> JBoss/Tomcat
> > is already started :(
> > No idea how I'm going to fix this one, as I can't get Apache to tell me
> why
> > it won't start!
> >
> > Alex
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Alex Radka
> > Sent: Friday, June 08, 2001 8:49 AM
> > To: [EMAIL PROTECTED]
> > Subject: RE: [JBoss-user] jboss-tomcat-apache
> >
> >
> > Thanks,
> >
> > I have the latest JBoss-2.2.2-Tomcat-3.2.2 release and as I said,
> everything
> > works fine EXCEPT for the apps deployed through an .ear file through
JBoss
> > (so I'm pretty sure I have the right release and most of the setup
> correct).
> > I am serving up Perl through Apache and can access all the examples that
> > come with Tomcat so I'm pretty close.
> >
> > My guess is that my mod_jk.conf file is not correct. The integrated
> release
> > doesn't create a mod_jk.conf-auto file so I am trying to create one
> > manually. Any chance I can see your mod_jk.conf file or find out how
you
> > got Embedded Tomcat to create a mod_jk.conf-auto file?
> >
> > Worst case is I have to separate out my .war file and restart on deploy,
> but
> > I'd rather not if it can be avoided (especially if it just a config
> issue).
> >
> > Thanks,
> > Alex
> >
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Lionel Siau
> > Sent: Friday, June 08, 2001 6:22 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [JBoss-user] jboss-tomcat-apache
> >
> >
> > Alex,
> >
> > I have been using for 2 weeks and it works just fine. Just redeployment
> also
> > works perfectly. I'm on a win2k system with JDK 1.3 using Apache 1.9.20
> and
> > Tomcat 3.2.2. BTW I use ajp13 becoz it is supposed to be faster.
> >
> > I suspect u didn't use the integrated Jboss-Tomcat release.
> >
> >
> > Lionel
> >
> > ----- Original Message -----
> > From: "Alex Radka" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, June 07, 2001 12:53 AM
> > Subject: RE: [JBoss-user] jboss-tomcat-apache
> >
> >
> > > O.K.
> > >
> > > Everything works fine for the apps that come with Tomcat (examples,
> test,
> > > admin).
> > >
> > > I get the following error in mod_jk.log when I try to access an app
that
> > was
> > > deployed through the JBoss (.ear file).
> > >
> > > [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146
> > > [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
> > >
> > > In included the interesting part of mod_jk.conf file that is included
in
> > in
> > > httpd.conf.
> > > Note I didn't put the directory tag in because JBoss puts it in a
> > different
> > > directory each time.
> > >
> > > Can I even use the deploy functionality or do I have to manually
deploy
> > the
> > > war file separatley if I use Apache.
> > >
> > > Thanks,
> > > Alex
> > >
> > > P.S. I found a message on the archive with a similar problem but it
said
> > it
> > > was fixed in 2.2.*.
> > >
> > > #
> > > # The following line mounts all JSP files and the /servlet/ uri to
> tomcat
> > > #
> > > JkMount /quaestor/servlet/* ajp12
> > > JkMount /quaestor/* ajp12
> > > JkMount /quaestor/*.jsp ajp12
> > > JkMount /quaestor/index.html ajp12
> > >
> > > #
> > > # The following line prohibits users from directly accessing WEB-INF
> > > #
> > > <Location "/quaestor/WEB-INF/">
> > > AllowOverride None
> > > deny from all
> > > </Location>
> > >
> > > #
> > > # The following line prohibits users from directly accessing META-INF
> > > #
> > > <Location "/quaestor/META-INF/">
> > > AllowOverride None
> > > deny from all
> > > </Location>
> > >
> > >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]]On Behalf Of Alex Radka
> > > Sent: Wednesday, June 06, 2001 9:05 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: [JBoss-user] jboss-tomcat-apache
> > >
> > >
> > > >From http://www.jboss.org/documentation/HTML/ch11.html#howtotomcat
> > >
> > > The Pre-2.1 CVS source contains a new version of EmbeddedTomcat (plus
> > other
> > > enhancements) that does parse Tomcat's server.xml. It is recommended
> that
> > > you use the information provided below. This new version of
> EmbeddedTomcat
> > > will be rolled in to the official 2.1 release.
> > >
> > > Is this info current? Has this been done(since we are on 2.2.2)?
> > >
> > > Assuming everything is current, I can move straight to the
Tomcat-Apache
> > > HowTO, correct?
> > >
> > > 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
> >
> >
> > _______________________________________________
> > 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