cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz Kossakowski <>
Subject Re: pom.xml / Tomcat
Date Sat, 12 Apr 2008 11:39:28 GMT
Patrick Heiden pisze:
> Hello together!
> I actually solved the problem with deploying my app to tomcat (thread: deploy tomcat).
But my
> fault keeps my headache awake.
> I have a somewhat rich domain-model, persisted with both, hibernate and jdbc. That model
> inside my local maven repo. To keep my error-search simple, I fall back to the two blocks
> from the tutorial (myBlock1 and 2, where 1 has a dependency to 2 inside pom.xml, both
have a
> dependency to my domainModel).
> I also used the simple webApp-Block out of the tut. Inside that blocks pom.xml there
> dependencies to myBlock 1&2 and also the dependency to my domainModel. With that
> given, there is no chance to get the app running inside tomcat (first there is a warning
> servlet-api-2.3.jar and then the FATAL :error listenerLoad). As soon as I remove the
> domainModel-dependency out of the webApp-Block, everything is fine.
> Why???

AFAIK, C2.2 require servlet-api-2.4 for running. Could it be that your domainModel depends
on 2.3 
version? You can check it running:

   mvn dependency:list

in your myDomainModel-Block.

> myDomainModel-Block was created by simple maven-block archetype, so is it possible that
I have to
> state %exclude-libs for this block inside the cocoon-blocks What I mean
is: does
> the RCL affect final packaging of myApp??
> Looking forwards to hints for this one, best regards Patrick

I don't think it's problem with RCL.

Grzegorz Kossakowski

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message