Hi Bernd,
thanks for the quick fix. The sample now runs fine on JBoss AS 7.2.0.
I noticed two more issues:
- The link "bearbeiten" on
http://localhost:8080/wjax/taskList.jsf
points to an invalid URL embedded:app:forms/assign-approver.html.jsf
- mvn test fails:
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.camunda.demo.outerspace.wjax.OrderProcessTest
Sep 12, 2013 9:08:12 AM
org.jboss.shrinkwrap.impl.base.exporter.StreamExporterDelegateBase$2
execute
Schwerwiegend: [BasicPath
[context=/META-INF/jbosgi-xservice.properties], BasicPath
[context=/META-INF/MANIFEST.MF], BasicPath
[context=/META-INF/services/org.jboss.arquillian.container.test.spi.TestRunner],
BasicPath [context=/META-INF/org.jboss.as.managementConnectionProps],
BasicPath [context=/META-INF/services], BasicPath
[context=/META-INF/services/javax.enterprise.inject.spi.Extension],
BasicPath [context=/META-INF]]
Sep 12, 2013 9:08:12 AM
org.jboss.shrinkwrap.impl.base.exporter.zip.JdkZipExporterDelegate$1
call
Warnung: Exception encountered during export of archive
org.jboss.shrinkwrap.api.exporter.ArchiveExportException: Failed to
write asset to output:
/META-INF/services/org.jboss.arquillian.core.spi.ExtensionLoader
at org.jboss.shrinkwrap.impl.base.exporter.StreamExporterDelegateBase$3.handle(StreamExporterDelegateBase.java:272)
at org.jboss.shrinkwrap.impl.base.io.IOUtil.closeOnComplete(IOUtil.java:219)
at org.jboss.shrinkwrap.impl.base.exporter.StreamExporterDelegateBase.processNode(StreamExporterDelegateBase.java:233)
at org.jboss.shrinkwrap.impl.base.exporter.AbstractExporterDelegate.processNode(AbstractExporterDelegate.java:105)
at org.jboss.shrinkwrap.impl.base.exporter.AbstractExporterDelegate.processNode(AbstractExporterDelegate.java:109)
at org.jboss.shrinkwrap.impl.base.exporter.AbstractExporterDelegate.processNode(AbstractExporterDelegate.java:109)
at org.jboss.shrinkwrap.impl.base.exporter.AbstractExporterDelegate.doExport(AbstractExporterDelegate.java:95)
at org.jboss.shrinkwrap.impl.base.exporter.StreamExporterDelegateBase.access$001(StreamExporterDelegateBase.java:50)
at org.jboss.shrinkwrap.impl.base.exporter.StreamExporterDelegateBase$1.call(StreamExporterDelegateBase.java:121)
at org.jboss.shrinkwrap.impl.base.exporter.StreamExporterDelegateBase$1.call(StreamExporterDelegateBase.java:116)
at org.jboss.shrinkwrap.impl.base.exporter.zip.JdkZipExporterDelegate$1.call(JdkZipExporterDelegate.java:124)
at org.jboss.shrinkwrap.impl.base.exporter.zip.JdkZipExporterDelegate$1.call(JdkZipExporterDelegate.java:118)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)
Caused by: java.lang.RuntimeException: java.io.IOException: Pipe closed
at org.jboss.shrinkwrap.impl.base.exporter.StreamExporterDelegateBase$2.execute(StreamExporterDelegateBase.java:252)
at org.jboss.shrinkwrap.impl.base.exporter.StreamExporterDelegateBase$2.execute(StreamExporterDelegateBase.java:233)
at org.jboss.shrinkwrap.impl.base.io.IOUtil.closeOnComplete(IOUtil.java:217)
... 14 more
Caused by: java.io.IOException: Pipe closed
at java.io.PipedInputStream.checkStateForReceive(PipedInputStream.java:261)
at java.io.PipedInputStream.receive(PipedInputStream.java:202)
at java.io.PipedOutputStream.write(PipedOutputStream.java:122)
at java.util.zip.ZipOutputStream.writeShort(ZipOutputStream.java:580)
at java.util.zip.ZipOutputStream.writeLOC(ZipOutputStream.java:408)
at java.util.zip.ZipOutputStream.putNextEntry(ZipOutputStream.java:221)
at org.jboss.shrinkwrap.impl.base.exporter.zip.JdkZipExporterDelegate.putNextExtry(JdkZipExporterDelegate.java:107)
at org.jboss.shrinkwrap.impl.base.exporter.zip.JdkZipExporterDelegate.putNextExtry(JdkZipExporterDelegate.java:40)
at org.jboss.shrinkwrap.impl.base.exporter.StreamExporterDelegateBase$2.execute(StreamExporterDelegateBase.java:249)
... 16 more
Best regards,
Harald
2013/9/12 Bernd Rücker (camunda) <
bernd....@camunda.com>:
> Okay - pushed all changes to GitHub - checked that all examples now only
> have one beans.xml. Can you please verify that this solves the problem on
> AS 7.2.0? Thanks!
>
> -----Ursprüngliche Nachricht-----
> Von:
camunda-...@googlegroups.com
> [mailto:
camunda-...@googlegroups.com] Im Auftrag von Bernd Rücker
> (camunda)
> Gesendet: Donnerstag, 12. September 2013 07:33
> An: 'Harald Wellmann';
camunda-...@googlegroups.com
> Betreff: AW: Duplicate beans on JBoss AS 7.2.0
>
> Hi Harald.
>
> We actually tested the example only on JBoss 7.1.3 - that's why we haven't
> recognized this. I think the problem is that there are two beans.xml in
> the application (src/main/resources/META-INF and src/main/webapp/WEB-INF).
> Could you delete the one in src/main/resources/META-INF, do a "mvn clean
> install" and try it again?
>
> I can make sure that we remove the duplicate beans.xml (which seems to
> make no harm on 7.1.3) from the example - thanks for the hint!
>
> Cheers
> Bernd
>
> -----Ursprüngliche Nachricht-----