>Number:         3943
>Category:       mod_jserv
>Synopsis:       Zone Repositories must be on the same Windows drive than JServ
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    jserv
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Feb 22 13:10:01 PST 1999
>Last-Modified:
>Originator:     [EMAIL PROTECTED]
>Organization:
apache
>Release:        Apache 1.3.4 + JServ 1.0b2
>Environment:
Win NT 4.0 SP3
Sun JDK 1.1.7B
>Description:
In my installation, JServ (+jserv.properties) and Apache are on drive C:\, but 
my "my_zone.properties" files and their related "Repositories" are on D:\ 
(whish I share with Linux).

JServ succeeds to load the "my_zone.properties" files , but fails to access the
Repositories, pretending they don't exist.


>How-To-Repeat:
Simply add a new zone that has a repository on another drive.
For example, edit C:\Program Files\Apache Group\Apache 
JServ\conf\jserv.properties
so that the line:
 zone=root
becomes
 zone=root,test

and add
test.properties=C:\test.properties

then in C:\test.properties, type:
repositories=D:\servlets

Then make sure you have a directory called "servlets" on your D drive, and
restart Apache.
Look in C:\Program Files\Apache Group\Apache\log\error.log for error info.

>Fix:

By editing org.apache.java.lang.AdaptiveClassLoader so that it doesn't check
anymore "file.exists()", the problem was solved on my intall.

My solution was to comment the conditionnal block from line 215 to 217.

IMHO, this looks like a SUN JDK bug. Maybe we'll have to live with it.

Cheers,

Christophe.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <[EMAIL PROTECTED]> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]



Reply via email to