Ate Douma wrote:
Carsten Ziegeler wrote:
Carsten Ziegeler wrote:
Ate Douma wrote:
Carsten Ziegeler wrote:
Ate Douma wrote:
Maybe make sure to do a clean install first and I'll update to your
latest changes here and try again too.
Just done that and cannot reproduce your error.
My guess is you need a mvn clean install first.
No, I tried this before, and the ant script is doing this also. Still
the same problem.
Are you testing the generated tomcat installation from the ant
script or
something different?
Oh, no. I just tested using against my local Tomcat installation using:
which version of Tomcat are you using?
Ok, I just deployed to a local Tomcat 5.5 - and then it works for me as
well. Our dist build uses a Tomcat 6..maybe that's the problem?
Could be.
For Jetspeed we are now using Tomcat 6 by default without problems.
I see you just downgraded the Tomcat version back to 5.5.27 which is OK
by me too.
I'll briefly try to see what might be different with Tomcat 6.
I think I already found it.
On startup of the assembled bundle (Tomcat 6) I get the following:
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
Exception in thread "Timer-3" java.lang.NoClassDefFoundError:
org/apache/commons/logging/LogFactory
at org.apache.commons.digester.Digester.<init>(Digester.java:308)
at
org.apache.pluto.testsuite.TestConfigFactory.<init>(TestConfigFactory.java:37)
at org.apache.pluto.testsuite.TestPortlet.init(TestPortlet.java:96)
at javax.portlet.GenericPortlet.init(GenericPortlet.java:127)
at
org.apache.pluto.container.driver.PortletServlet.attemptRegistration(PortletServlet.java:211)
at
org.apache.pluto.container.driver.PortletServlet$1.run(PortletServlet.java:166)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
As I forgot the jcl-over-slf4j for Pluto driver (which you fixed), we also need
it for the testsuite war.
I just dropped that jar in the testsuite/WEB-INF/lib and everything worked fine
again.
I'll commit adding a dependency for jcl-over-slf4j on the testsuite pom.xml
Ate
Regards
Carsten
mvn pluto2:install -DinstallDir=<my Tomcat dir>
There must be something wrong in the ant script then.
I can help looking into that in a few minutes.
NB: I haven't reviewed the ant based assembly yet, but if its not
complex, maybe it might be easier replacing it with a
maven-assembly-plugin based one? That would even allow "attaching"
it to
the build and get it "released" with the project together, similar to
the source release distros.
Yes, that would be great; atm I have to clue how to do this with maven,
therefore I would go with the ant script for now. ( we just have to move
it to another place so that it gets included in the source maven
artifact, but that should be easy).
Carsten