You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by mrab <mi...@nscorp.com> on 2011/06/07 21:24:16 UTC

Migrating from Turbine 2.3.2 to 2.3.3

I have upgraded to 2.3.3, but am getting the same error that I saw in another
post without the answer on how to resolve.  The error is below.  Can anyone
remember how to fix this problem?  Thanks for your help!

ERROR org.apache.turbine.services.security.torque.UserPeerManager - Could
not instantiate a new user from supplied persistent: 
java.lang.NoSuchMethodException:
org.apache.turbine.om.security.TurbineUser.<init>(org.apache.torque.om.Persistent)
	at java.lang.Class.getConstructor0(Class.java:2706)
	at java.lang.Class.getConstructor(Class.java:1657)
	at
org.apache.turbine.services.security.torque.UserPeerManager.getNewUser(UserPeerManager.java:1494)
	at
org.apache.turbine.services.security.torque.UserPeerManager.doSelect(UserPeerManager.java:748)
	at
org.apache.turbine.services.security.torque.TorqueUserManager.retrieveList(TorqueUserManager.java:231)
	at
org.apache.turbine.services.security.torque.TorqueUserManager.retrieve(TorqueUserManager.java:137)
	at
org.apache.turbine.services.security.torque.TorqueUserManager.retrieve(TorqueUserManager.java:260)
	at
org.apache.turbine.services.security.BaseSecurityService.getAuthenticatedUser(BaseSecurityService.java:694)
	at
org.apache.turbine.services.security.TurbineSecurity.getAuthenticatedUser(TurbineSecurity.java:266)
	at
org.apache.turbine.modules.actions.LoginUser.doPerform(LoginUser.java:86)
	at org.apache.turbine.modules.Action.perform(Action.java:51)
	at org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:102)
	at org.apache.turbine.Turbine.loginAction(Turbine.java:909)
	at org.apache.turbine.Turbine.doGet(Turbine.java:733)
	at org.apache.turbine.Turbine.doPost(Turbine.java:891)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
	at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
	at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
	at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
	at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
	at java.lang.Thread.run(Thread.java:662)
-- 
View this message in context: http://old.nabble.com/Migrating-from-Turbine-2.3.2-to-2.3.3-tp31794856p31794856.html
Sent from the Turbine - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@turbine.apache.org
For additional commands, e-mail: user-help@turbine.apache.org


Re: Migrating from Turbine 2.3.2 to 2.3.3

Posted by mrab <mi...@nscorp.com>.
You are correct.  I did find the link,

http://turbine.apache.org/turbine/turbine-2.3.3/services/security-service.html

which shows the correct security services (DBSecurityService is deprecated
as of Turbine 2.3.3).  I corrected those and am no longer seeing the error.

Thanks!
Michele



Thomas Vandahl-2 wrote:
> 
> On 07.06.11 21:24, mrab wrote:
>> 
>> I have upgraded to 2.3.3, but am getting the same error that I saw in
>> another
>> post without the answer on how to resolve.  The error is below.  Can
>> anyone
>> remember how to fix this problem?  Thanks for your help!
>> 
>> ERROR org.apache.turbine.services.security.torque.UserPeerManager - Could
>> not instantiate a new user from supplied persistent: 
>> java.lang.NoSuchMethodException:
>> org.apache.turbine.om.security.TurbineUser.<init>(org.apache.torque.om.Persistent)
> 
> Maybe the User implementation is not correct? Shouldn't that read
> TorqueUser? Look into the standard config files to see some example for
> the security service configuration.
> 
> HTH
> 
> Bye, Thomas.
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Migrating-from-Turbine-2.3.2-to-2.3.3-tp31794856p31853105.html
Sent from the Turbine - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@turbine.apache.org
For additional commands, e-mail: user-help@turbine.apache.org


Re: Migrating from Turbine 2.3.2 to 2.3.3

Posted by Thomas Vandahl <tv...@apache.org>.
On 07.06.11 21:24, mrab wrote:
> 
> I have upgraded to 2.3.3, but am getting the same error that I saw in another
> post without the answer on how to resolve.  The error is below.  Can anyone
> remember how to fix this problem?  Thanks for your help!
> 
> ERROR org.apache.turbine.services.security.torque.UserPeerManager - Could
> not instantiate a new user from supplied persistent: 
> java.lang.NoSuchMethodException:
> org.apache.turbine.om.security.TurbineUser.<init>(org.apache.torque.om.Persistent)

Maybe the User implementation is not correct? Shouldn't that read
TorqueUser? Look into the standard config files to see some example for
the security service configuration.

HTH

Bye, Thomas.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@turbine.apache.org
For additional commands, e-mail: user-help@turbine.apache.org