[ 
https://issues.apache.org/jira/browse/JS2-1277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13294356#comment-13294356
 ] 

Javed Akhter Ansari commented on JS2-1277:
------------------------------------------

I have posted that error from the tomcat log.
Complete log is like this (tomcat7-stderr.2012-06-13.log)

2012-06-13 16:11:47 Commons Daemon procrun stderr initialized
Jun 13, 2012 4:11:47 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal 
performance in production environments was not found on the java.library.path: 
C:\Apache\Tomcat7.0\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program
 Files\Windows Resource 
Kits\Tools\;D:\oracle\product\10.2.0\client_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
 Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL 
Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL 
Server\100\DTS\Binn\;C:\Program Files\TortoiseSVN\bin;;C:\Program 
Files\AxPhoto\bin;C:\Program Files\doxygen\bin;C:\Program 
Files\AxPhoto\bin;C:\Program Files\AxPhoto\bin;C:\Program Files\3M\3M Page 
Reader\3M Page Reader\Bin;C:\Program Files\Cogent\FPCapture 
Express\\bin;C:\Program Files\Java\jdk1.7.0_03\bin;C:\Program 
Files\Java\jre7;C:\Apache\apache-ant-1.8.3-bin\apache-ant-1.8.3\bin;.
Jun 13, 2012 4:11:47 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-80"]
Jun 13, 2012 4:11:47 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Jun 13, 2012 4:11:47 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 396 ms
Jun 13, 2012 4:11:47 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jun 13, 2012 4:11:47 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.27
Jun 13, 2012 4:11:47 PM org.apache.catalina.realm.JAASRealm parseClassNames
SEVERE: Class com.cogent3M.SMARTS.Core.General.CoreUtils not found! Class not 
added.
Jun 13, 2012 4:11:47 PM org.apache.catalina.realm.JAASRealm parseClassNames
SEVERE: Class com.cogent3M.SMARTS.Core.General.SMARTSRolePrincipal not found! 
Class not added.
Jun 13, 2012 4:11:47 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Apache\Tomcat7.0\webapps\axis2
Jun 13, 2012 4:11:49 PM 
com.cogentsystems.ws.mobile.mfa.auth.MultiFactorAuthService startUp
INFO: service life cycle startUp
Jun 13, 2012 4:11:49 PM 
com.cogentsystems.ws.mobile.mfa.auth.MultiFactorAuthService init
INFO: life cycle init
Jun 13, 2012 4:11:49 PM com.cogentsystems.nio.be.NioBackEndService start
INFO: building COGENT sender 1 (/169.8.2.67:9501) ...
Jun 13, 2012 4:11:49 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Apache\Tomcat7.0\webapps\chapter04
Jun 13, 2012 4:11:49 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Apache\Tomcat7.0\webapps\chapter05
Jun 13, 2012 4:11:49 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Apache\Tomcat7.0\webapps\chapter07
Jun 13, 2012 4:11:49 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Apache\Tomcat7.0\webapps\chapter08
Jun 13, 2012 4:11:49 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Apache\Tomcat7.0\webapps\chapter19
Jun 13, 2012 4:11:50 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Apache\Tomcat7.0\webapps\demo
Jun 13, 2012 4:11:50 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Apache\Tomcat7.0\webapps\docs
Jun 13, 2012 4:11:50 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Apache\Tomcat7.0\webapps\examples
Jun 13, 2012 4:11:50 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Apache\Tomcat7.0\webapps\manager
Jun 13, 2012 4:11:50 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Apache\Tomcat7.0\webapps\ROOT
Jun 13, 2012 4:11:50 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Apache\Tomcat7.0\webapps\SMARTS
Jun 13, 2012 4:11:50 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-80"]
Jun 13, 2012 4:11:50 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Jun 13, 2012 4:11:50 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 2736 ms
                
> Apache tomcat is not loading the user and role class for JAASRealm
> ------------------------------------------------------------------
>
>                 Key: JS2-1277
>                 URL: https://issues.apache.org/jira/browse/JS2-1277
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Security
>         Environment: Tomcat 7.0.27 on a windows XP SP3 machine
>            Reporter: Javed Akhter Ansari
>              Labels: authentication, authorizing-realm, jaas, jaasrealm
>
> I am creating a website and implement security. For this I am using Form 
> based authentication and JAASRealm. I have implemented the login module and 
> able to authenticate but while authorizing tomcat is not able to load the 
> user and role classes once I start the tomcat server.
> It gives the following error on startup 
> Jun 13, 2012 4:11:47 PM org.apache.catalina.realm.JAASRealm parseClassNames
> SEVERE: Class com.cogent3M.SMARTS.Core.General.SMARTSUserPrincipal not found! 
> Class not added.
> Jun 13, 2012 4:11:47 PM org.apache.catalina.realm.JAASRealm parseClassNames
> SEVERE: Class com.cogent3M.SMARTS.Core.General.SMARTSRolePrincipal not found! 
> Class not added. 
> I have taken help from 
> http://blog.frankel.ch/custom-loginmodule-in-tomcat

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscr...@portals.apache.org
For additional commands, e-mail: jetspeed-dev-h...@portals.apache.org

Reply via email to