It should be possible without all the trouble you are encountering.
What is the exeption in GroupPeer (line number). You may have to make
some overrides to TurbineUserPeer (though I am not sure that this is
required) and specify the correct UserPeer class as well.
john mcnally
Vidakovic Aleksandar wrote:
>
> Salut!
>
> Yep, my fault - thanks. But still having a problem: I started with
> "replacing" TurbineUser and MapBuilder in TR.props, but got exceptions
> (casting of TurbineUser, TurbineMapBuilder) with TurbineUserPeer. When I
> replaced TurbineUserPeer DBUserManager threw cast exceptions. Replacing
> DBUserManager led me to GroupPeer which threw cast exceptions, too.
>
> It seems that I have to replace all classes related to the turbine
> tables if I go on like this.
>
> My questions are now:
> 1. am I doing something wrong?
> 2. is this kind of integration of my own user structure not the right one?
>
> aleks
>
> <<--------------------------- STACKTRACE --------------------------->>
>
> [Sat Jun 23 11:46:58 CEST 2001] -- ERROR -- Turbine.handleException: null
> [Sat Jun 23 11:46:58 CEST 2001] -- ERROR --
> Exception: java.lang.ExceptionInInitializerError
> Stack Trace follows:
> java.lang.ExceptionInInitializerError:
> java.lang.ClassCastException: com.mmi.commons.site.util.db.map.MMIMapBuilder
> at
> org.apache.turbine.om.security.peer.GroupPeer.<clinit>(GroupPeer.java)
> at
>
>org.apache.turbine.services.security.db.DBSecurityService.getGroups(DBSecurityService.java:508)
> at
>
>org.apache.turbine.services.security.BaseSecurityService.getAllGroups(BaseSecurityService.java:617)
> at
>
>org.apache.turbine.services.security.db.DBSecurityService.getACL(DBSecurityService.java:149)
> at
> org.apache.turbine.services.security.TurbineSecurity.getACL(TurbineSecurity.java:319)
> at
>
>org.apache.turbine.modules.actions.AccessController.doPerform(AccessController.java:113)
> at org.apache.turbine.modules.Action.perform(Action.java:87)
> at
> org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122)
>
> ...
>
> <SNIPP>
>
> Leon Messerschmidt wrote:
>
> >Looks as if Turbine cannot find the class that you have specified in the
> >TR.properties in the classpath.
> >
> >~ Leon
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
b
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]