tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45975] JAAS Login Module fails to load on Windows in directories with spaces in the path
Date Wed, 22 Oct 2008 18:00:07 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45975


Bruce Tong <zztong@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zztong@gmail.com




--- Comment #2 from Bruce Tong <zztong@gmail.com>  2008-10-22 11:00:05 PST ---
This can be replicated on Tomcat 6.0. Stack trace follows...

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from
fulfilling this request.

exception

javax.servlet.ServletException: edu.ohio.commons.kerberos.KerberosException:
java.lang.SecurityException:
E:\Program%20Files\Apache%20Software%20Foundation\Tomcat%206.0\work\Catalina\localhost\yoink\loader\edu\ohio\commons\kerberos\cnskerb.conf
(The system cannot find the path specified)
        edu.ohio.yoink.YoinkFilter.doFilter(YoinkFilter.java:56)

root cause

edu.ohio.commons.kerberos.KerberosException: java.lang.SecurityException:
E:\Program%20Files\Apache%20Software%20Foundation\Tomcat%206.0\work\Catalina\localhost\yoink\loader\edu\ohio\commons\kerberos\cnskerb.conf
(The system cannot find the path specified)
       
edu.ohio.commons.kerberos.OakKerberosAuthenticationService.authenticate(OakKerberosAuthenticationService.java:171)
        edu.ohio.yoink.YoinkFilter.doFilter(YoinkFilter.java:48)

root cause

java.lang.SecurityException:
E:\Program%20Files\Apache%20Software%20Foundation\Tomcat%206.0\work\Catalina\localhost\yoink\loader\edu\ohio\commons\kerberos\cnskerb.conf
(The system cannot find the path specified)
        com.sun.security.auth.login.ConfigFile.<init>(ConfigFile.java:93)
        sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
       
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
       
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        java.lang.Class.newInstance0(Class.java:355)
        java.lang.Class.newInstance(Class.java:308)
        javax.security.auth.login.Configuration$3.run(Configuration.java:246)
        java.security.AccessController.doPrivileged(Native Method)
       
javax.security.auth.login.Configuration.getConfiguration(Configuration.java:241)
        javax.security.auth.login.LoginContext$1.run(LoginContext.java:237)
        java.security.AccessController.doPrivileged(Native Method)
        javax.security.auth.login.LoginContext.init(LoginContext.java:234)
        javax.security.auth.login.LoginContext.<init>(LoginContext.java:403)
       
edu.ohio.commons.kerberos.OakKerberosAuthenticationService.authenticate(OakKerberosAuthenticationService.java:153)
        edu.ohio.yoink.YoinkFilter.doFilter(YoinkFilter.java:48)

root cause

java.io.FileNotFoundException:
E:\Program%20Files\Apache%20Software%20Foundation\Tomcat%206.0\work\Catalina\localhost\yoink\loader\edu\ohio\commons\kerberos\cnskerb.conf
(The system cannot find the path specified)
        java.io.FileInputStream.open(Native Method)
        java.io.FileInputStream.<init>(FileInputStream.java:106)
        java.io.FileInputStream.<init>(FileInputStream.java:66)
       
com.sun.security.auth.login.ConfigFile.getInputStream(ConfigFile.java:591)
        com.sun.security.auth.login.ConfigFile.init(ConfigFile.java:260)
        com.sun.security.auth.login.ConfigFile.init(ConfigFile.java:202)
        com.sun.security.auth.login.ConfigFile.<init>(ConfigFile.java:91)
        sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
       
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
       
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        java.lang.Class.newInstance0(Class.java:355)
        java.lang.Class.newInstance(Class.java:308)
        javax.security.auth.login.Configuration$3.run(Configuration.java:246)
        java.security.AccessController.doPrivileged(Native Method)
       
javax.security.auth.login.Configuration.getConfiguration(Configuration.java:241)
        javax.security.auth.login.LoginContext$1.run(LoginContext.java:237)
        java.security.AccessController.doPrivileged(Native Method)
        javax.security.auth.login.LoginContext.init(LoginContext.java:234)
        javax.security.auth.login.LoginContext.<init>(LoginContext.java:403)
       
edu.ohio.commons.kerberos.OakKerberosAuthenticationService.authenticate(OakKerberosAuthenticationService.java:153)
        edu.ohio.yoink.YoinkFilter.doFilter(YoinkFilter.java:48)

note The full stack trace of the root cause is available in the Apache
Tomcat/6.0.16 logs.
Apache Tomcat/6.0.16


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message