Test, Migrating to Turbine 4.0-M1

[email protected] Thu, 15 Mar 2012 13:41:45 +0100
Newsgroups gmane.comp.jakarta.turbine.user
Message-ID <[email protected]>
Hello everybody,

we, the memoComp, run a trial to port the most famous Scarab application 
from tigris.org to Turbine-4.0-M1.

Scarab is already compiled, using Maven2 and Turbine 4.0-M1, but it 
doesn't work. The application seems to start on a Tomcat 6.0 with JRE 
1.6, but there are still some errors. Hence we are currently interested 
in some short facts, e.g. about the Turbine framework, as there are in 
detail:

We saw Turbine-4.0-M1 is currently not ready for production yet but the 
future version, right? We wanted to test it, but what are your further 
plans for turbine? Which version is the base version for Turbine-4.0, as 
we see several unfinished approaches, like 2.4? Do you still want to 
migrate turbine to use Apache Fulcrum or Avalon services, or is the aim 
to use Turbine's own classes whenever this is possible? This question 
is, because we found some incompatibilities, e.g.: 
"org.apache.turbine.om.security.User" and 
"org.apache.fulcrum.security.entity.User", which seems to be very similar.

If we start Scarab using Turbine 4.0-M1 and try to access the main 
servlet in Browser, some, mysterious exceptions occur, which I cannot 
explain yet. Please see the following:

* "java.lang.NullPointerException: charsetName", appears in my tomcat 
console. Property for "locale.default.charset" is set in 
TurbineResource.properties.
* "java.lang.NoSuchFieldError: ROLE" Maybe a class file is missing here? 
I think this is about PoolService in fulcrum 3.0-b1, we found no fulcrum 
3.0 to download.
* Using fulcrum-pool 1.0.4 instead of fulcrum 3.0-b1, we got the 
following "java.lang.ClassCastException: 
org.apache.fulcrum.pool.DefaultPoolService cannot be cast to 
org.apache.turbine.services.Service"

I hope you are able to help. Our target is to provide all sources to 
public on tigris.org.

cheers,
Johannes