Sorry for the late reply on this one.

The the error "java.lang.NullPointerException: charsetName" pretty much means "something went wrong when starting the webapp". In other words, if a webapp really crashes during startup and the error can't be caught, this is wat tomcat prints. You can get more specific prints by changing the log level in tomcat.

Regarding the encoding in velocityservice we did have a problem with configuring it and we solved it by extending the method getTemplateEncoding in our RunData object. This is turbines first choice of template encoding.

We do actually use Turbine-4.0-M1 in production. It does work without any problems once it's up and running. The things that (IMO) disqualifies it as an official production release are configuration errors like the one mentioned above. Therefore, doing the migration can take a while but it is definetly doable.

/Ludwig

-----Ursprungligt meddelande----- From: Thomas Vandahl
Sent: Friday, March 16, 2012 5:35 PM
To: Turbine Users List
Subject: Re: Test, Migrating to Turbine 4.0-M1

Hello Johannes,

On 15.03.12 13:41, [email protected] wrote:
we, the memoComp, run a trial to port the most famous Scarab application
from tigris.org to Turbine-4.0-M1.

Great. We'll try to support you as much as possible.

We saw Turbine-4.0-M1 is currently not ready for production yet but the
future version, right?

Yes.

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?

The base version is 2.4 with modern modifications (read: after 2.3)
forward ported.

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.

Yes. Almost all base services have been replaced by Fulcrum Avalon
components. I suggest to follow
http://wiki.apache.org/turbine/Turbine4/Turbine4.0M1/Migrate233 to see
all modifications that need to be made. Especially, please be aware of
the Gotchas section at the end of said document.

* "java.lang.NullPointerException: charsetName", appears in my tomcat
console. Property for "locale.default.charset" is set in
TurbineResource.properties.

This problem appeared in the first RC of 4.0_M! but has apparently been
fixed by Ludwig Magnusson before we released M1. Maybe he cares to comment?

* "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"

This should not happen in regular Turbine code. Could you provide a
stack trace?

Bye, Thomas.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to