Sven Homburg <[EMAIL PROTECTED]> writes:

>Guten Tag Henning P. Schmiedehausen,

Moin,

>HPS> Sure. I use the TDK all the time and it works fine.
>HPS> The solution is pretty simple. You must recompile your application if
>HPS> it was compiled against the non-Interface version. Your application
>HPS> .jar (or .class) files still have references to the methods inside
>HPS> AccessControlList which is now an interface and no longer contains
>but here i cant say "yes".
>i recompile both; first the HEAD-repos and than my application.
>i check my CLASSPATH and re-start catalina.
>but the same error occures.

ok, I did the following thing:

- downloaded the fresh TDK 2.1 from jakarta.apache.org, unpacked it
- ant init inside to create the newapp
- initialized the newapp using the supplied turbine-2.1.jar
- replaced the turbine-2.1.jar with a freshly checked out 
  jar from the anon-CVS (in both share/lib and webapps/newapp/WEB-INF/lib)
- ant clean (important!)
- replaced "TableMap.NONE" with "TableMap.NATIVE" in 
  webapps/newapp/WEB-INF/src/java/org/mycompany/newapp/om/map/RdfMapBuilder.java :-)
- rebuilt the newapp 
- started catalina

this works fine for me. I can log on, use the User Data Manager and
everything else. No errors.

Are you really sure that you _do_ rebuild your app against the 2.2b1
turbine jar? Do you build and deploy in different environments and
replaced maybe only one of the jars?

I know of the incompatible class change problem but there is really no
way around recompiling if you change a class into an interface and an
implementation (which should be in much more places inside Turbine).

>if i call the Pull-Tool $data.getACL().hasRole("turbine_role")
>it returns null, after the second call in this session it returns
>true.

>but if i call it from the FluxAction-methode "isAuthorized(RunData data)"
>there is the IncompatibleClassChangeError-Exception again
>(i recompiled the source from Flux too)

Can you please give me the complete stack trace.

        Regards
                Henning

-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen       -- Geschaeftsfuehrer
INTERMETA - Gesellschaft fuer Mehrwertdienste mbH     [EMAIL PROTECTED]

Am Schwabachgrund 22  Fon.: 09131 / 50654-0   [EMAIL PROTECTED]
D-91054 Buckenhof     Fax.: 09131 / 50654-20   

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to