cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoff Howard <coc...@leverageweb.com>
Subject RE: Actions in Cocoon.
Date Wed, 21 May 2003 13:25:07 GMT
At 09:10 AM 5/21/2003, you wrote:
> > you have put the jar in the right place, though you may need
> > to restart your servlet engine to get the new jar recognized.
>
>I have already restarted TomCat.
>
> > If you've already done that, then it's likely that you
> > created your jar incorrectly.  do jar -tvf hello-world-action.jar and send
>the
> > results here.
>
>C:\Cocoon\jakarta-tomcat-4.1.24-LE-jdk14\webapps\cocoon\WEB-INF\lib>jar -tvf
>upl
>hello-world-action.jar
>      0 Wed May 21 13:35:58 CEST 2003 META-INF/
>     71 Wed May 21 13:35:58 CEST 2003 META-INF/MANIFEST.MF
>   7175 Wed May 21 13:34:04 CEST 2003 HelloWorldAction.class
>
>Thanks a lot for your help!

You created the jar file wrong.  Jar files need to have the package hierarchy
replicated as file structure.  So, you need HellowWorldAction.class to be
test/HelloWorldAction.class.

Typically, you just need to run jar from one directory back.

Geoff 


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message