]
Charles Crouch updated JBAS-4241:
---------------------------------
Attachment: jboss-seam-numberguess.ear
jboss-seam-numberguess.ear was created as follows:
1) Download jboss-seam-1.2.0.PATCH1
2) In /examples/numberguess
a) take out references to the el jars from application.xml
b) take out references to the myfaces listener from web.xml
3) do 'ant ear'
4) delete the el jars from the root of .ear
Deploying Seam example app into /trunk causes ZipException
----------------------------------------------------------
Key: JBAS-4241
URL:
http://jira.jboss.com/jira/browse/JBAS-4241
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Environment: r61655 of /trunk and jboss-seam-1.2.0.PATCH1
Reporter: Charles Crouch
Fix For: JBossAS-5.0.0.Beta2
Attachments: jboss-seam-numberguess.ear
Deploying a modified version of jboss-seam-numberguess.ear into the current Beta2 server
causes ZipException's to be thrown during startup and trying to hit
http://localhost:8080/seam-numberguess produces 500's. Deploying the same app into
Beta1 works fine.
Steps to reproduce:
1) Copy
jboss-seam-1.2.0.PATCH1\lib\el-api.jar
and
jboss-seam-1.2.0.PATCH1\lib\el-ri.jar
to
build\output\jboss-5.0.0.Beta2\server\default\deployers\jbossweb.deployer\jsf-libs
2) Copy
cglib-nodep-2.1_3.jar (version probably doesn't matter)
to
build\output\jboss-5.0.0.Beta2\server\default\lib
3) Copy modified jboss-seam-numberguess.ear
to
build\output\jboss-5.0.0.Beta2\server\default\deploy
4) Start the server and you get several exceptions like the following...
12:09:11,896 INFO [Catalina] Server startup in 190 ms
12:09:20,769 INFO [MCKernelAbstraction] installing bean:
jboss.j2ee:ear=jboss-seam-numberguess.ear,jar=jboss-seam.jar,name=Dispatcher,service=EJB3
with dependencies:
12:09:24,244 INFO [EJBContainer] STARTED EJB: org.jboss.seam.core.Dispatcher ejbName:
Dispatcher
12:09:24,484 WARN [JBossTimerServiceFactory] TIMER SERVICE IS NOT INSTALLED
12:09:24,484 INFO [MCKernelAbstraction] installing bean:
jboss.j2ee:ear=jboss-seam-numberguess.ear,jar=jboss-seam.jar,name=TransactionListener,service=EJB3
with dependencies:
12:09:26,216 INFO [EJBContainer] STARTED EJB: org.jboss.seam.core.TransactionListener
ejbName: TransactionListener
12:09:29,441 INFO [TomcatDeployment] deploy, ctxPath=/invoker,
vfsUrl=http-invoker.sar/invoker.war
12:09:35,319 INFO [TomcatDeployment] deploy, ctxPath=/seam-numberguess,
vfsUrl=jboss-seam-numberguess.ear/jboss-seam-numberguess.war
12:09:38,895 INFO [ServletContextListener] Welcome to Seam 1.2.0.PATCH1
12:09:38,995 INFO [Scanner] scanning:
vfsfile:/C:/usr/projects/current/jboss/trunk/build/output/jboss-5.0.0.Beta2/server/default/deploy/jboss-seam-numberguess.ear/jboss-seam.jar
12:09:38,995 WARN [Scanner] could not read entries
java.util.zip.ZipException: The filename, directory name, or volume label syntax is
incorrect
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:203)
at java.util.zip.ZipFile.<init>(ZipFile.java:234)
at org.jboss.seam.deployment.Scanner.handleArchive(Scanner.java:110)
at org.jboss.seam.deployment.Scanner.scan(Scanner.java:96)
at
org.jboss.seam.deployment.NamespaceScanner.getPackages(NamespaceScanner.java:34)
at org.jboss.seam.init.Initialization.addNamespaces(Initialization.java:590)
at org.jboss.seam.init.Initialization.<init>(Initialization.java:80)
at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:33)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: