-
1. Re: mod_jk2 and Jetty??
andreas_engstrom May 12, 2003 9:43 AM (in response to mikefinn)Did you ever get any reply to this, Mike? I'm having what seems to be the exact same problem, and I'm completely baffled..
-
2. Re: mod_jk2 and Jetty??
andreas_engstrom May 12, 2003 10:19 AM (in response to mikefinn)Hm, I seem to have found the problem. I needed a [shm] section in the workers2.properties file. This worked for me:
[shm]
file=/var/log/httpd/shm.file
size=1048576
What I don't get is that most of the FAQs and pages about configuring mod_jk2 with jetty don't mention that this is necessary. Really strange. Did earlier versions work without this? Or does simply no-one ever actually use mod_jk2 with Jetty?
Neither the official Jetty FAQ: http://jetty.mortbay.com/jetty/doc/modjk.html
nor the "unofficial" FAQ at
http://www.pubbitch.org/jboss/jetty.html
says a word about any shm file. At last I found it mentioned at
http://www.gogis.nl/en/public_documentation/j2eeapplicationserver/body.html
What should the size of this file be? I took the size straight from the page above, but I suppose it should be tuned according to how much memory you have and so on. Does anyone have any hints? -
3. Re: mod_jk2 and Jetty??
dare Jun 19, 2003 3:12 PM (in response to mikefinn)Hi,
I've been having a similar problem with the same
configuration, but I have the shared-memory file.
[error] handler.response() Invalid header id (12)
[error] ajp13.service() ajpGetReply unrecoverable error 4
[error] ajp13.service() Error forwarding ajp13:localhost:8009 0 1
[error] mod_jk.handler() Error connecting to tomcat 120000
My same configuration is giving me no problems on
Solaris, running JBoss 3.0.2.
Anyone see anything like this?
Anyone know of problems with JBoss/Jetty messing
up the request/response headers durring a forward?
Thanks,
Rob. -
4. Re: mod_jk2 and Jetty??
dare Jun 20, 2003 5:47 PM (in response to mikefinn)I would like to make a correction...
This configuration is working fine for single calls to the Servlet/JSP.
I get this error ONLY when I do a RequestDispatcher.forward.
Thanks,
R. -
5. Re: mod_jk2 and Jetty??
mels Sep 1, 2003 5:09 AM (in response to mikefinn)jboss-3.2.1(jetty) + apache2.0.46 + modjk2.
I have the same problem....
Jmx-console is working fine..
but my application is partly working...... due to following error.
[error] handler.response() Invalid header id (12)
[error] ajp13.service() ajpGetReply unrecoverable error 4
[error] ajp13.service() Error forwarding ajp13:jboss-jetty 0 1
[notice] ajp13.done() close endpoint ajp13:jboss-jetty error_state 1
[error] mod_jk.handler() Error connecting to tomcat 120000
Anyone cracked this???
Thanx
mels -
6. Re: mod_jk2 and Jetty??
jonlee Sep 1, 2003 6:08 AM (in response to mikefinn)Check http://www.amitysolutions.com.au/documents/JK2-technote.pdf for a basic configuration. This works for Jetty and Tomcat. You can experiment from there. You will need Acrobat Reader 5.0 or equivalent.
See if that helps.