This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I just installed Apache and ApacheJServ on my Win32 machine. I am able to view the http://127.0.0.1/jserv page, which I believe it is a servlet itself, but when I try to open up a servlet in my mounted zone, such as ://127.0.0.1/servlets/IsItWorking I get these errors in mod_jserv.log: [17/07/2001 17:35:54:034] (EMERGENCY) ajp12: cannot scan servlet headers (500) [17/07/2001 17:35:54:034] (ERROR) an error returned handling request via protocol "ajpv12" And in my error.log I see these messages: [Tue Jul 17 13:07:50 2001] [error] [client 127.0.0.1] Invalid method in request � [Tue Jul 17 13:07:50 2001] [error] [client 18.104.22.168] malformed header from script. Bad header=<!DOCTYPE HTML PUBLIC "-//IETF: /servlets/IsItWorking And in the browser I see a page entitled "500 Internal Server Error". If anyone has any clues it would be great, because I'm having the exact same problem on my linux box as well. I think it might be a problem with the JDK, or perhaps I'm failing to include a key line in my configuration files. I'm using JDK1.1.8 from Sun, JSDK2.0, Apache 1.3.20, JServ 1.1.2 My jserv.properties contains wrapper.classpath=C:\Program Files\Apache JServ 1.1.2\ApacheJServ.jar wrapper.classpath=c:\jsdk2.0\lib\jsdk.jar wrapper.classpath=c:\jdk1.1.8\lib\classes.zip if that means anything to anyone. Thanks for your help, whoever knows what is going on. -Joe
I'm not sure if I have the answer to your problem but you might consider upgrading your jdk, 1.1.8 is pretty old these days. I'll take a look at my installation and see if I get any other ideas. [This message has been edited by timothy zimmerman (edited July 17, 2001).]
Those messages look sort of familiar. I had all sorts of grief with ajpv12 trying to do virtual hosts. Switched to ajpv13 and the wildcat became a pussycat.
An IDE is no substitute for an Intelligent Developer.
Joined: Jul 05, 2001
I've tried upgrading my JDK before and it still gives me problems, even though I believe that my problems might be coming form the JDK. What do I need in order to use ajpv13? Do I need to download something or just replace my "2"s with "3"s in my configuration files?
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com