File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes apache and jserv problem~~help me~~~thanks Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "apache and jserv problem~~help me~~~thanks" Watch "apache and jserv problem~~help me~~~thanks" New topic

apache and jserv problem~~help me~~~thanks

Tu Ran
Ranch Hand

Joined: Feb 09, 2002
Posts: 30
when I install tomcat,apache,and jservt,
tomcat,and apache are all good independently;
but,when i was install jserv,error occur:
[error] Access to config file e:/apache/E:\jserv\conf\jserv.conf denied:not a valid filename
fopen ermission denied
apache:could not open document config file e:/apache/E:\jserv\conf\jserv.conf
but the file name:E:\jserv\conf\jserv.conf ,is correct,i have gone over it,?what's wrong with the

Enjoy java,enjoy life
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

Because that's not the file it's trying to open. It's trying to open:
Tu Ran
Ranch Hand

Joined: Feb 09, 2002
Posts: 30
HI:what'your meaning ,the file is right:
E:\jserv\conf\jserv.conf ,because my file is
assined :e:\jserv\conf\jserv.conf(jsver'directory)
e:\apache\....(apache's directory)

how can i do now~~please tell me~~??
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

I haven't actually used Apache with JServ, but just *look* at the error message.

NOT a valid filename.Apache cannot open (or find!) the jserv.conf file, because it is looking for it in a mixed-up path.

you have e: in there twice, and besides that it looks like it is using a 'base' apache path and combining it with another path from jserv

If I knew the products better, I could tell you more, but the error itself ought to be enough to tell you what is wrong. As a *guess* on my part, it looks like Apache starts to look for the jserv configuration file in e:\apache, and then it appends a setting you've entered (the full path to your file) e:\jserv\conf\jserv.conf, but that results in e:\apache\e:\jserv\conf\jserv.conf
[ March 17, 2002: Message edited by: Mike Curwen ]
I agree. Here's the link:
subject: apache and jserv problem~~help me~~~thanks
Similar Threads
apache jserv problem
File not found error when loading
Apache Server, JServ configuration