[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: tomcat4 and apache1.3.x not talking to each other



I'm running j2sdk1.4.2-01.
Tomcat is running because I can connect to the port 8180 just fine.
I'm not absolutely certain about which connector I'm using but I believe that it is ajp13, at least that is what it says in the workers.properties file.
I had to fix the workers.properties file because the workers.list item name didn't match with the one in the httpd.conf jkmount item.

I'm seeing behavior almost like apache doesn't understand what to do with the file type.
Does the info for the jk* parameters do the same as the addtype statement?
Do I need to have the files in the tomcat4 structure somewhere or can they be as I suspect in the /var/www tree?

Thansk for your help so far.
It always seems that when you find the answer it is the most simple and obvious fix but one just can't see it at the time. :-)

J. R.


On Sun, Nov 16, 2003 at 11:27:55AM -0600, Jim McLaughlin wrote:
> Hmmm.
> Maybe post the error you are getting. Are your jk mounts set up correctly? Are you trying to use an AJP 1.3 connector or a Coyote/JK2 AJP 1.3 connector? I've only been able to use Coyote/JK2 with unstable. Lastly, make sure the permissions on /var/log/tomcat4 allow tomcat4 to write. It is strange that there are no logs -- are you sure tomcat4 doesn't just exit after start up? Which jvm are you using?
> PS please post to the debian-java list in case your problem gets solved -- it might help someone else.
> At precisely Sun, 16 Nov 2003 07:49:51 -0700
> "J. R. Westmoreland" <jr@jrw.org> wrote:
> 
> > I uncommented the invoker and I'm still getting the same error.
> > Is there something I might be missing in the apache config?
> > 
> > 
> > On Sun, Nov 16, 2003 at 07:16:02AM -0600, Jim McLaughlin wrote:
> > > You might need to uncomment the servlet mapping for the invoker servlet in /etc/tomcat4/web.xml .
> > > hth,
> > > jim
> > > 
> > > At precisely Sun, 16 Nov 2003 01:23:57 -0700
> > > "J. R. Westmoreland" <jr@jrw.org> wrote:
> > > 
> > > > I'm running apache 1.3.29-1 with tomcat4 and I have the connector installed but they don't seem to be working together.
> > > > I get a server internal error and can't see anything in the logs.
> > > > I'm using the libapache-mod-jk package for the connector.
> > > > I had to change the java-home path in the workers.properties file and removed the virtualhost line from the sample httpd.conf snippet.
> > > > Any ideas?
> > > > 
> > > > 
> > > > -- 
> > > > J.R. Westmoreland  (W7JR)
> > > > E-mail: jr@jrw.org
> > > > 
> > > > 
> > > > -- 
> > > > To UNSUBSCRIBE, email to debian-java-request@lists.debian.org
> > > > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> > > 
> > > 
> > > -- 
> > > /**
> > >  * Jim McLaughlin
> > >  * Senior Software Engineer
> > >  * Stonewater Control Systems, Inc
> > >  * (847) 864 1060 x107
> > >  */
> > > 
> > > 
> > > -- 
> > > To UNSUBSCRIBE, email to debian-java-request@lists.debian.org
> > > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> > 
> > -- 
> > J.R. Westmoreland  (W7JR)
> > E-mail: jr@jrw.org
> 
> 
> -- 
> /**
>  * Jim McLaughlin
>  * Senior Software Engineer
>  * Stonewater Control Systems, Inc
>  * (847) 864 1060 x107
>  */

-- 
J.R. Westmoreland  (W7JR)
E-mail: jr@jrw.org



Reply to: