https://issues.apache.org/bugzilla/show_bug.cgi?id=49309

           Summary: jaas.conf path is wrong for cygwin
           Product: Tomcat 6
           Version: 6.0.26
          Platform: PC
        OS/Version: Windows Vista
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: warj...@gmail.com


When using cygwin under Windows and starting tomcat with the
.sh rather than .bat files the jaas config property is not
getting set correctly.

This is because the following line in setenv.sh is seeing $CATALINA_HOME
as a unix path when it should be the windows equivalent.

JAVA_OPTS="$JAVA_OPTS -Djava.security.auth.login.config=$CATALINA_HOME
/conf/jaas.conf"

This was found using the "quick start" for josso
http://www.josso.org/confluence/display/JOSSO1/Quick+Start

Using startup.bat works, startup.sh leads to an error when trying to login
for the sample partnerapp similar to this:
http://sourceforge.net/projects/josso/forums/forum/399715/topic/3624277
with the error message about the JAAS config file in the log.

-- 
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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to