Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Module not found in Jserv.conf's LoadModule directive

Status
Not open for further replies.

sevenhvn

Technical User
Aug 23, 2001
5
US
I'm using Jserv 1.1.2 with Apache 2.0.39 on a new Win2K Pro machine - after including the Jserv.conf file in the httpd.conf file, I get an application error when I try to restart Apache, which says -
Cannot load C:/Program Files/Apache JServ 1.1.2/ApacheModuleJServ.dll into server: The specified module could not be found.
A corresponding error in the jserv.conf file is -
Syntax error on line 9 of C:/Program Files/Apache JServ 1.1.2/conf/jserv.conf:
Line 9 of jserv.conf is ....
LoadModule jserv_module "C:/Program Files/Apache JServ 1.1.2/ApacheModuleJServ.dll" ... There's nothing wrong with the path. I tried both back and forward slashes too.

Any ideas where I might be slippin up?

John.
 
OK - so I got it to find the .DLL - but now I get a syntax error message as follows -

"The Apache service named reported the following error:
>>> Syntax error on line 7 of C:/Program Files/Apache JServ 1.1.2/conf/jserv.conf: . "

Line 7 is...

LoadModule jserv_module ./modules/ApacheModuleJServ.dll

I also tried using the following syntax:
LoadModule jserv_module "C:/Program Files/Apache Group/Apache2/modules/ApacheModuleJServ.dll"

Please help. Thanks... JS.
 
For starters, JServ is old, not updated and not the best option for servlets anymore. Try using Tomcat or Resin. Have you downloaded the Java Servlet Development Kit and the J2SDK? You need them for JServ, as well as the full JServ installation, not just the DLL. You should always add configuration information for Apache into httpd.conf, rather than include an external .conf file. Try adding the configuration information for JServ into httpd.conf directly.
Good Luck.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top