tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: TomcatSasJAASRealm issue while Tomcat6 to Tomcat7 migration
Date Sat, 07 Feb 2015 00:40:53 GMT
2015-02-06 20:05 GMT+03:00 Mahato, Jitendra N.
<Jitendra.N.Mahato@supervalu.com>:
> Hi All,
>
> I am facing issue while migrating my application from Tomcat 6 to Tomcat 7.
> Current Version:- Tomcat 6.0.18, Java 1.6.0.30
> Upgrade Version:- Tomcat 7.0.50, Java 1.7.0.51
>
> Please help me to resolve the below issue.
>
> Issue after migration:- Not able to login into the application.
>
> Stage log errors:-
>
> Jan 16, 2015 9:10:39 AM org.apache.catalina.startup.SetAllPropertiesRule begin
> WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'maxSpareThreads'
to '64' did not find a matching property.

Broken configuration. There is no such attribute on <Connector>.

> Jan 16, 2015 9:10:39 AM org.apache.tomcat.util.digester.Digester endElement
> WARNING:   No rules found matching 'Server/Service/Engine/Loader'.

Broken configuration. There is no support for a <Loader> element in an <Engine>.

> Jan 16, 2015 9:10:39 AM org.apache.tomcat.util.digester.Digester startElement
> SEVERE: Begin event threw error
> java.lang.NoClassDefFoundError: org/apache/catalina/util/StringManager
>         at com.shaws.framework.security.realm.TomcatSasJAASRealm.<clinit>(TomcatSasJAASRealm.java:212)

The someone's TomcatSasJAASRealm is not designed for Tomcat 7. It
depends on an internal API that was changed / moved.

As Mark mentioned,  the Migration guide is a must-read.


Best regards,
Konstantin Kolinko

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


Mime
View raw message