This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Tu Ran
Ranch Hand
Posts: 30
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
configure?
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Because that's not the file it's trying to open. It's trying to open:
e:/apache/E:\jserv\conf\jserv.conf
 
Tu Ran
Ranch Hand
Posts: 30
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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~~??
urgent!!!
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic