You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Thorsten Scherler <th...@juntadeandalucia.es> on 2007/05/10 15:07:28 UTC

war target for broken?

Hi all,

did somebody tried lately (with jdk 1.6):
./build.sh war
cp dist/apache-lenya-1.4-dev-bin/lenya.war $CATALINA_HOME/webapps/

I get for http://localhost:8080/lenya/
javax.servlet.ServletException: Servlet.init() for servlet Cocoon threw
exception
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
...
root cause 
java.lang.NoClassDefFoundError: org/apache/regexp/RESyntaxException

I then tried with jdk 1.5 and get the same result.

Seems that some jars got not copied.

Does somebody sees the same error?

salu2
-- 
Thorsten Scherler                                 thorsten.at.apache.org
Open Source Java                      consulting, training and solutions


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: war target for broken?

Posted by Thorsten Scherler <th...@juntadeandalucia.es>.
On Thu, 2007-05-10 at 15:24 +0200, Andreas Hartmann wrote:
> Thorsten Scherler schrieb:
> > Hi all,
> > 
> > did somebody tried lately (with jdk 1.6):
> > ./build.sh war
> > cp dist/apache-lenya-1.4-dev-bin/lenya.war $CATALINA_HOME/webapps/
> > 
> > I get for http://localhost:8080/lenya/
> > javax.servlet.ServletException: Servlet.init() for servlet Cocoon threw
> > exception
> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
> > ...
> > root cause 
> > java.lang.NoClassDefFoundError: org/apache/regexp/RESyntaxException
> > 
> > I then tried with jdk 1.5 and get the same result.
> > 
> > Seems that some jars got not copied.
> 
> Are the endorsed libs correctly deployed in Tomcat?

Doh! Thx.

I added a note in the build message to remind about them.

salu2
-- 
Thorsten Scherler                                 thorsten.at.apache.org
Open Source Java                      consulting, training and solutions


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: war target for broken?

Posted by Andreas Hartmann <an...@apache.org>.
Thorsten Scherler schrieb:
> Hi all,
> 
> did somebody tried lately (with jdk 1.6):
> ./build.sh war
> cp dist/apache-lenya-1.4-dev-bin/lenya.war $CATALINA_HOME/webapps/
> 
> I get for http://localhost:8080/lenya/
> javax.servlet.ServletException: Servlet.init() for servlet Cocoon threw
> exception
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
> ...
> root cause 
> java.lang.NoClassDefFoundError: org/apache/regexp/RESyntaxException
> 
> I then tried with jdk 1.5 and get the same result.
> 
> Seems that some jars got not copied.

Are the endorsed libs correctly deployed in Tomcat?

-- Andreas


-- 
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org