I know this is an old thread, but this issue is popping up for me when
trying to use a custom Login Module.

I get this in my stack trace:

Caused by: java.io.FileNotFoundException:
C:\Program%20Files\Apache%20Software%20Foundation\Tomcat%205.5\webapps\jetspeed\WEB-INF\classes\login.conf
(The system cannot find the path specified)

It looks like for whatever reason that the java security stuff is URL
encoding a path which is the wrong thing to do.

So I'm wondering if anyone else has gotten this to work on windows
with spaces in the path.

We have a number of developers with their dev jetspeed all installed
to this location so it will be quite inconvenient to have everyone
move their installation.

In this documentation guide:

http://portals.apache.org/jetspeed-2/multiproject/jetspeed-security/login-module.html

It says:

"The location of the login.conf file is configured in the
security-providers.xml  as described below."

Does that mean I should be changing this value?  I tried specifying
some other location with an absolute path that contains no spaces, but
that seemed to make the problem worse...


On Wed, Jul 4, 2007 at 9:49 AM, David Sean Taylor <[EMAIL PROTECTED]> wrote:
>
> On Jul 4, 2007, at 2:26 AM, V C, Srivathsan wrote:
>
>> Hi All,
>>
>> I am facing a serious issue when installing Jetspeed 2 in a folder which
>> has spaces in its name (For Example - D:\TEMP FOLDER\Jetspeed 2Beta).
>> The full stack trace is given below.
>>
>> No user authentication is happening due this error. Is this a known
>> issue? Are there any workarounds for this? Any help is greatly
>> appreciated.
>>
> This error appears to be a problem with Java Security itself, and not
> Jetspeed. In fact no where can you find Jetspeed in the stack trace.
> On Windows, I always recommend installing Java programs into directories
> without spaces. The Jetspeed Installer defaults to installing onto
> directories without spaces.
>
> Are you using the startJetspeed.bat when this occurs?
> If yes, see the last line of this .bat file:
>
> catalina jpda start -security
>
> You can try starting without security
>
> catalina jpda start
>
> and see if that clears it up as it is not required in a default Jetspeed
> installation
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to