Hi Bruce, Thanx 4 replying! On Fri, 22 Jun 2001 21:32:21 +0100, Bruce Scharlau said:
the only thing which springs to mind is that maybe the paths for the jdk are wrong, or you don't have a classpath set correctly. Can you compile a servlet without any hitch? (just by way of checking that the jdk works ok?)
Well, I really wouldn't know :-( As I said: I'm not a java-developper. What I do know is that all the paths were set correctly. At first I thought the problem was caused by the fact that java 1 was installed with jdk1.1.8 but accessing http://localhost/servlets/Hello from a clean installation of the RPM's also killed the httpd-child. To get it working I installed the IBM Java2, JRE and jikes rpm's. Then I downloaded the Apache 1.3.20 and JServ 1.1.2 sources. Compiled the Jserv into apache and it workes fine now! At first I tried to JServ as a DSO module to the SuSE Apache 1.3.19, but that would work either! Starting Apache it mumbled something about API causing a problem, because the module was not compiled with the -DEAPI option, but according to JServ configures help, that option is not an option. SSL was not installed, so I really don't know what was going on. SuSE's Apache is still my suspect here!
I've set up jserv/apache fine on a 6.4 box, but when I tried to put it on a Toshiba laptop, it wouldn't run at all and I spent several days trying to sort it out- -comparing notes here, installs there, and a few books too, but gave up in the end as I reckoned something was amiss with the setup. The Toshiba did the same as you describe- -you get things fine in localhost/jserv but none of the servlets work.
Ok, so it might be caused by the fact that this is a somewhat exotic machine? It is an Athlon, not too exotic AFAIAC. I'll try it on a regular Pentium today, see what happens.
The other option would be to try Jakarta-Tomcat maybe.
Yeah, well, tried that as well, but after fiddling with Jserv for 3 days, I was really done fiddling. Jakarta wouldn't start on me. I set the environmentals, but the startup.sh told me there were too many arguments at ???? dirname I think, not sure, already removed the rpm. I would like to use the rpm's, since I also need SSL en PHP in apache. Just don't feel like recompiling apache every other week. With my 1.3.20 mod_rewrite wouldn't comile in for instance. I'll check out why today. Thanks a lot, Remco -- Registered Linux user #209275 OpenPGP public key id E7DCED61 _ _ .~. | | <_> _ _ _ _ __ / v \ | |_ | | | ' | | ' | \ \/ /( _ )\ |___| |_| |_|_| \___| /\_\ ^ ^ It's not about world domination, it's about world liberation! -- Richard Stallman