"ALRubinger" wrote : "guignome" wrote : I'm guessing there is
connection that isn't closed somewhere.
|
| Is there anything other than the error posted which leads you to think this?
|
Just the fact that if I deploy a war once, everything goes right, but if I deploy it
twice, it fails with this error.
"ALRubinger" wrote :
| The stack trace points to a CCE, my first impression is due to a version
incompatibility between a dependency defined by the project and the AS you're
running.
|
Yes, that would make a lot of sense. I'm deploying in jboss-5.0.0.CR2. I'm
wondering if there is something wrong with my environment. Would you mind doing a test
for me? The easiest way to reproduce the same error on my computer is to try to deploy the
slsb twice in a row in jbossass-maven-control-plugin-examples.
ie, in the file maven-jboss-as-control-example/pom.xml replace
| <!--
|
| Deploy into our custom JBossAS Configuration
|
| -->
| <execution>
| <id>deploy-test-slsb</id>
| <goals>
| <goal>deploy</goal>
| </goals>
| <phase>pre-integration-test</phase>
| <configuration>
| <serverConfigName>custom</serverConfigName>
| <files>
|
${project.build.directory}/${project.build.finalName}.${project.packaging}
| </files>
| <jboss.test.run>true</jboss.test.run>
| </configuration>
| </execution>
|
with
| <!--
|
| Deploy into our custom JBossAS Configuration
|
| -->
| <execution>
| <id>deploy-test-slsb</id>
| <goals>
| <goal>deploy</goal>
| </goals>
| <phase>pre-integration-test</phase>
| <configuration>
| <serverConfigName>custom</serverConfigName>
| <files>
|
${project.build.directory}/${project.build.finalName}.${project.packaging}
| </files>
| <jboss.test.run>true</jboss.test.run>
| </configuration>
| </execution>
| <!--
|
| Deploy a second time into our custom JBossAS Configuration
|
| -->
| <execution>
| <id>deploy-test-slsb2</id>
| <goals>
| <goal>deploy</goal>
| </goals>
| <phase>pre-integration-test</phase>
| <configuration>
| <serverConfigName>custom</serverConfigName>
| <files>
|
${project.build.directory}/${project.build.finalName}.${project.packaging}
| </files>
| <jboss.test.run>true</jboss.test.run>
| </configuration>
| </execution>
|
That should fail anyway as you cannot deploy the same war twice, but I'm curious to
see if you would get the same exception as mine.
Thanks,
Guillaume
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181014#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...