[JBoss JIRA] (ARQGRA-472) TestCases are copy-pasted
by Vitalii Grygoryuk (JIRA)
Vitalii Grygoryuk created ARQGRA-472:
----------------------------------------
Summary: TestCases are copy-pasted
Key: ARQGRA-472
URL: https://issues.jboss.org/browse/ARQGRA-472
Project: Arquillian Graphene
Issue Type: Bug
Components: unit-test
Affects Versions: 2.1-Tracking
Reporter: Vitalii Grygoryuk
TestHandlingOfStaleElements.testDeletion() and TestHandlingOfStaleElements.testReplacement() are both testing deletion, so there is no test case for node replacement logic:
{code}
@Test
public void testDeletion() {
rootElement.isDisplayed();
executor.executeScript("return arguments[0].parentNode.removeChild(arguments[0])", rootElement);
try {
rootElement.isDisplayed();
fail("rootElement should not be found");
} catch (NoSuchElementException e) {
}
}
@Test
public void testReplacement() {
rootElement.isDisplayed();
executor.executeScript("return arguments[0].parentNode.removeChild(arguments[0])", rootElement);
try {
rootElement.isDisplayed();
fail("rootElement should not be found");
} catch (NoSuchElementException e) {
}
}
{code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 6 months
[JBoss JIRA] (ARQ-1961) Exception while undeploying application in WebSphere Liberty Profile
by Gerhard Poul (JIRA)
[ https://issues.jboss.org/browse/ARQ-1961?page=com.atlassian.jira.plugin.s... ]
Gerhard Poul commented on ARQ-1961:
-----------------------------------
[~dlwester] From the trace it looks like WLP at least logs that it stopped the application before we try to delete it, but who knows. Good at least that the deleteOnExit() seems to work. I have not added this as a parameter, but you can find a Thread.sleep() that you can adjust here: https://github.com/arquillian/arquillian-container-was/compare/master...g...
Maybe you can make it long enough to either make it go away or see who is locking the file in a process explorer.
What also occurred to me is that you might want to at least test once with Antivirus disabled if you have it installed; Just to be sure.
Which version of Liberty are you using? Is it a publicly available build? Do you think there is a good chance this can be reproduced on a test VM?
> Exception while undeploying application in WebSphere Liberty Profile
> --------------------------------------------------------------------
>
> Key: ARQ-1961
> URL: https://issues.jboss.org/browse/ARQ-1961
> Project: Arquillian
> Issue Type: Bug
> Components: WebSphere Containers
> Environment: OS: Windows 7 Professional
> Arquillian: org.jboss.arquillian:arquillian-bom:1.1.6.Final
> org.jboss.arquillian.container:arquillian-wlp-managed-8.5:1.0.0.Beta2
> Shrinkwrap: org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-bom:2.1.1
> WebSphere Liberty Profile: 8.5.5.4
> JUnit: 4.11
> Java: IBM Java 1.7 in 1.6 mode
> Reporter: Dave Westerman
> Assignee: Gerhard Poul
> Attachments: DaveWesterman_arquillian-enhanced-trace.zip
>
>
> I am trying to test my JEE application with Arquillian running under WebSphere Liberty Profile 8.5.5.4. My Arquillian tests run against an EJB and a REST service.
>
> All the tests run successfully. However, the JUnit test process always ends with an exception:
>
> org.jboss.arquillian.container.spi.client.container.DeploymentException: Exception while undeploying application.
> at org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer.undeploy(WLPManagedContainer.java:419)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$4.call(ContainerDeployController.java:205)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$4.call(ContainerDeployController.java:185)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.executeOperation(ContainerDeployController.java:271)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.undeploy(ContainerDeployController.java:184)
> ...
> Caused by: org.jboss.arquillian.container.spi.client.container.DeploymentException: Unable to delete archive from apps directory
> at org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer.undeploy(WLPManagedContainer.java:405)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$4.call(ContainerDeployController.java:205)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$4.call(ContainerDeployController.java:185)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.executeOperation(ContainerDeployController.java:271)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.undeploy(ContainerDeployController.java:184)
> I ran this with a trace that Gerhard suggested, and here is the relevant section of the trace:
> Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer undeploy
> FINER: ENTRY
> Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer getServerXML
> FINER: server.xml: /IBM/WLP8554/usr/servers/taskcalendar/server.xml
> Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer getServerXML
> FINER: server.xml: /IBM/WLP8554/usr/servers/taskcalendar/server.xml
> Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer waitForMBeanTargetState
> FINER: ENTRY
> [AUDIT ] CWWKG0016I: Starting server configuration update.
> [AUDIT ] CWWKG0028A: Processing included configuration resource: C:\IBM\WLP8554\usr\servers\taskcalendar\serverApplication.xml
> [AUDIT ] CWWKG0028A: Processing included configuration resource: C:\IBM\WLP8554\usr\servers\taskcalendar\serverKeyStore.xml
> [AUDIT ] CWWKG0028A: Processing included configuration resource: C:\IBM\WLP8554\usr\servers\taskcalendar\serverBasicUserRegistry.xml
> [AUDIT ] CWWKG0028A: Processing included configuration resource: C:\IBM\WLP8554\usr\servers\taskcalendar\serverTesting.xml
> [AUDIT ] CWWKG0017I: The server configuration was successfully updated in 0.043 seconds.
> [AUDIT ] CWWKT0017I: Web application removed (default_host): http://dlwester:30080/task-calendar-ejb-task-calendar-bean-test/
> [INFO ] SRVE0253I: [task-calendar-ejb-task-calendar-bean-test] [/task-calendar-ejb-task-calendar-bean-test] [ArquillianServletRunner]: Destroy successful.
> [INFO ] OpenWebBeans Container was stopped for context path, [/task-calendar-ejb-task-calendar-bean-test]
> [INFO ] CNTR4003I: The task-calendar-ejb-task-calendar-bean-test.war EJB module in the task-calendar-ejb-task-calendar-bean-test application is stopping.
> [INFO ] CNTR4004I: The task-calendar-ejb-task-calendar-bean-test.war EJB module in the task-calendar-ejb-task-calendar-bean-test application has stopped successfully.
> [AUDIT ] CWWKZ0009I: The application task-calendar-ejb-task-calendar-bean-test has stopped successfully.
> Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer waitForMBeanTargetState
> FINER: RETURN
> Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer getAppDirectory
> FINER: appDir: /IBM/WLP8554/usr/servers/taskcalendar/apps
> Jun 24, 2015 11:14:19 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer stop
> FINER: ENTRY
> Jun 24, 2015 11:14:19 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer stop
> FINER: RETURN
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 6 months
[JBoss JIRA] (ARQ-1961) Exception while undeploying application in WebSphere Liberty Profile
by Dave Westerman (JIRA)
[ https://issues.jboss.org/browse/ARQ-1961?page=com.atlassian.jira.plugin.s... ]
Dave Westerman commented on ARQ-1961:
-------------------------------------
When running with your new code, the war file is gone when the JUnit test finishes. However, with the original code, the war file is still there after the Junit test finishes. I'm assuming that's because of your deleteOnExit().
I had been running my tests under Eclipse, so to try to rule it out as a contributing factor, I ran from the Maven command line, and had the same results. So I'm not sure if maybe WLP is the culprit. Is there some parameter with Arquillian to make it wait for awhile before trying to delete the archive?
> Exception while undeploying application in WebSphere Liberty Profile
> --------------------------------------------------------------------
>
> Key: ARQ-1961
> URL: https://issues.jboss.org/browse/ARQ-1961
> Project: Arquillian
> Issue Type: Bug
> Components: WebSphere Containers
> Environment: OS: Windows 7 Professional
> Arquillian: org.jboss.arquillian:arquillian-bom:1.1.6.Final
> org.jboss.arquillian.container:arquillian-wlp-managed-8.5:1.0.0.Beta2
> Shrinkwrap: org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-bom:2.1.1
> WebSphere Liberty Profile: 8.5.5.4
> JUnit: 4.11
> Java: IBM Java 1.7 in 1.6 mode
> Reporter: Dave Westerman
> Assignee: Gerhard Poul
> Attachments: DaveWesterman_arquillian-enhanced-trace.zip
>
>
> I am trying to test my JEE application with Arquillian running under WebSphere Liberty Profile 8.5.5.4. My Arquillian tests run against an EJB and a REST service.
>
> All the tests run successfully. However, the JUnit test process always ends with an exception:
>
> org.jboss.arquillian.container.spi.client.container.DeploymentException: Exception while undeploying application.
> at org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer.undeploy(WLPManagedContainer.java:419)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$4.call(ContainerDeployController.java:205)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$4.call(ContainerDeployController.java:185)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.executeOperation(ContainerDeployController.java:271)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.undeploy(ContainerDeployController.java:184)
> ...
> Caused by: org.jboss.arquillian.container.spi.client.container.DeploymentException: Unable to delete archive from apps directory
> at org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer.undeploy(WLPManagedContainer.java:405)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$4.call(ContainerDeployController.java:205)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$4.call(ContainerDeployController.java:185)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.executeOperation(ContainerDeployController.java:271)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.undeploy(ContainerDeployController.java:184)
> I ran this with a trace that Gerhard suggested, and here is the relevant section of the trace:
> Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer undeploy
> FINER: ENTRY
> Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer getServerXML
> FINER: server.xml: /IBM/WLP8554/usr/servers/taskcalendar/server.xml
> Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer getServerXML
> FINER: server.xml: /IBM/WLP8554/usr/servers/taskcalendar/server.xml
> Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer waitForMBeanTargetState
> FINER: ENTRY
> [AUDIT ] CWWKG0016I: Starting server configuration update.
> [AUDIT ] CWWKG0028A: Processing included configuration resource: C:\IBM\WLP8554\usr\servers\taskcalendar\serverApplication.xml
> [AUDIT ] CWWKG0028A: Processing included configuration resource: C:\IBM\WLP8554\usr\servers\taskcalendar\serverKeyStore.xml
> [AUDIT ] CWWKG0028A: Processing included configuration resource: C:\IBM\WLP8554\usr\servers\taskcalendar\serverBasicUserRegistry.xml
> [AUDIT ] CWWKG0028A: Processing included configuration resource: C:\IBM\WLP8554\usr\servers\taskcalendar\serverTesting.xml
> [AUDIT ] CWWKG0017I: The server configuration was successfully updated in 0.043 seconds.
> [AUDIT ] CWWKT0017I: Web application removed (default_host): http://dlwester:30080/task-calendar-ejb-task-calendar-bean-test/
> [INFO ] SRVE0253I: [task-calendar-ejb-task-calendar-bean-test] [/task-calendar-ejb-task-calendar-bean-test] [ArquillianServletRunner]: Destroy successful.
> [INFO ] OpenWebBeans Container was stopped for context path, [/task-calendar-ejb-task-calendar-bean-test]
> [INFO ] CNTR4003I: The task-calendar-ejb-task-calendar-bean-test.war EJB module in the task-calendar-ejb-task-calendar-bean-test application is stopping.
> [INFO ] CNTR4004I: The task-calendar-ejb-task-calendar-bean-test.war EJB module in the task-calendar-ejb-task-calendar-bean-test application has stopped successfully.
> [AUDIT ] CWWKZ0009I: The application task-calendar-ejb-task-calendar-bean-test has stopped successfully.
> Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer waitForMBeanTargetState
> FINER: RETURN
> Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer getAppDirectory
> FINER: appDir: /IBM/WLP8554/usr/servers/taskcalendar/apps
> Jun 24, 2015 11:14:19 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer stop
> FINER: ENTRY
> Jun 24, 2015 11:14:19 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer stop
> FINER: RETURN
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 6 months
[JBoss JIRA] (ARQ-1961) Exception while undeploying application in WebSphere Liberty Profile
by Gerhard Poul (JIRA)
[ https://issues.jboss.org/browse/ARQ-1961?page=com.atlassian.jira.plugin.s... ]
Gerhard Poul commented on ARQ-1961:
-----------------------------------
[~dlwester] from the trace it looks like all the retries for deletion fail consistently. Can you check whether the file has been deleted after the test finished and the test JVM stopped? (I also registered a deleteOnExit()) - If not, can you manually delete the file and rerun the test?
If that test doesn't work I think I'm somehow out of options with the Java 6 APIs to trace this remotely from the container adapter :-/
> Exception while undeploying application in WebSphere Liberty Profile
> --------------------------------------------------------------------
>
> Key: ARQ-1961
> URL: https://issues.jboss.org/browse/ARQ-1961
> Project: Arquillian
> Issue Type: Bug
> Components: WebSphere Containers
> Environment: OS: Windows 7 Professional
> Arquillian: org.jboss.arquillian:arquillian-bom:1.1.6.Final
> org.jboss.arquillian.container:arquillian-wlp-managed-8.5:1.0.0.Beta2
> Shrinkwrap: org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-bom:2.1.1
> WebSphere Liberty Profile: 8.5.5.4
> JUnit: 4.11
> Java: IBM Java 1.7 in 1.6 mode
> Reporter: Dave Westerman
> Assignee: Gerhard Poul
> Attachments: DaveWesterman_arquillian-enhanced-trace.zip
>
>
> I am trying to test my JEE application with Arquillian running under WebSphere Liberty Profile 8.5.5.4. My Arquillian tests run against an EJB and a REST service.
>
> All the tests run successfully. However, the JUnit test process always ends with an exception:
>
> org.jboss.arquillian.container.spi.client.container.DeploymentException: Exception while undeploying application.
> at org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer.undeploy(WLPManagedContainer.java:419)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$4.call(ContainerDeployController.java:205)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$4.call(ContainerDeployController.java:185)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.executeOperation(ContainerDeployController.java:271)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.undeploy(ContainerDeployController.java:184)
> ...
> Caused by: org.jboss.arquillian.container.spi.client.container.DeploymentException: Unable to delete archive from apps directory
> at org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer.undeploy(WLPManagedContainer.java:405)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$4.call(ContainerDeployController.java:205)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$4.call(ContainerDeployController.java:185)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.executeOperation(ContainerDeployController.java:271)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.undeploy(ContainerDeployController.java:184)
> I ran this with a trace that Gerhard suggested, and here is the relevant section of the trace:
> Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer undeploy
> FINER: ENTRY
> Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer getServerXML
> FINER: server.xml: /IBM/WLP8554/usr/servers/taskcalendar/server.xml
> Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer getServerXML
> FINER: server.xml: /IBM/WLP8554/usr/servers/taskcalendar/server.xml
> Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer waitForMBeanTargetState
> FINER: ENTRY
> [AUDIT ] CWWKG0016I: Starting server configuration update.
> [AUDIT ] CWWKG0028A: Processing included configuration resource: C:\IBM\WLP8554\usr\servers\taskcalendar\serverApplication.xml
> [AUDIT ] CWWKG0028A: Processing included configuration resource: C:\IBM\WLP8554\usr\servers\taskcalendar\serverKeyStore.xml
> [AUDIT ] CWWKG0028A: Processing included configuration resource: C:\IBM\WLP8554\usr\servers\taskcalendar\serverBasicUserRegistry.xml
> [AUDIT ] CWWKG0028A: Processing included configuration resource: C:\IBM\WLP8554\usr\servers\taskcalendar\serverTesting.xml
> [AUDIT ] CWWKG0017I: The server configuration was successfully updated in 0.043 seconds.
> [AUDIT ] CWWKT0017I: Web application removed (default_host): http://dlwester:30080/task-calendar-ejb-task-calendar-bean-test/
> [INFO ] SRVE0253I: [task-calendar-ejb-task-calendar-bean-test] [/task-calendar-ejb-task-calendar-bean-test] [ArquillianServletRunner]: Destroy successful.
> [INFO ] OpenWebBeans Container was stopped for context path, [/task-calendar-ejb-task-calendar-bean-test]
> [INFO ] CNTR4003I: The task-calendar-ejb-task-calendar-bean-test.war EJB module in the task-calendar-ejb-task-calendar-bean-test application is stopping.
> [INFO ] CNTR4004I: The task-calendar-ejb-task-calendar-bean-test.war EJB module in the task-calendar-ejb-task-calendar-bean-test application has stopped successfully.
> [AUDIT ] CWWKZ0009I: The application task-calendar-ejb-task-calendar-bean-test has stopped successfully.
> Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer waitForMBeanTargetState
> FINER: RETURN
> Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer getAppDirectory
> FINER: appDir: /IBM/WLP8554/usr/servers/taskcalendar/apps
> Jun 24, 2015 11:14:19 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer stop
> FINER: ENTRY
> Jun 24, 2015 11:14:19 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer stop
> FINER: RETURN
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 6 months
[JBoss JIRA] (ARQ-1961) Exception while undeploying application in WebSphere Liberty Profile
by Dave Westerman (JIRA)
[ https://issues.jboss.org/browse/ARQ-1961?page=com.atlassian.jira.plugin.s... ]
Dave Westerman updated ARQ-1961:
--------------------------------
Attachment: DaveWesterman_arquillian-enhanced-trace.zip
Hi, Gerhard. Here is my trace using your new code.
> Exception while undeploying application in WebSphere Liberty Profile
> --------------------------------------------------------------------
>
> Key: ARQ-1961
> URL: https://issues.jboss.org/browse/ARQ-1961
> Project: Arquillian
> Issue Type: Bug
> Components: WebSphere Containers
> Environment: OS: Windows 7 Professional
> Arquillian: org.jboss.arquillian:arquillian-bom:1.1.6.Final
> org.jboss.arquillian.container:arquillian-wlp-managed-8.5:1.0.0.Beta2
> Shrinkwrap: org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-bom:2.1.1
> WebSphere Liberty Profile: 8.5.5.4
> JUnit: 4.11
> Java: IBM Java 1.7 in 1.6 mode
> Reporter: Dave Westerman
> Assignee: Gerhard Poul
> Attachments: DaveWesterman_arquillian-enhanced-trace.zip
>
>
> I am trying to test my JEE application with Arquillian running under WebSphere Liberty Profile 8.5.5.4. My Arquillian tests run against an EJB and a REST service.
>
> All the tests run successfully. However, the JUnit test process always ends with an exception:
>
> org.jboss.arquillian.container.spi.client.container.DeploymentException: Exception while undeploying application.
> at org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer.undeploy(WLPManagedContainer.java:419)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$4.call(ContainerDeployController.java:205)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$4.call(ContainerDeployController.java:185)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.executeOperation(ContainerDeployController.java:271)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.undeploy(ContainerDeployController.java:184)
> ...
> Caused by: org.jboss.arquillian.container.spi.client.container.DeploymentException: Unable to delete archive from apps directory
> at org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer.undeploy(WLPManagedContainer.java:405)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$4.call(ContainerDeployController.java:205)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$4.call(ContainerDeployController.java:185)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.executeOperation(ContainerDeployController.java:271)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.undeploy(ContainerDeployController.java:184)
> I ran this with a trace that Gerhard suggested, and here is the relevant section of the trace:
> Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer undeploy
> FINER: ENTRY
> Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer getServerXML
> FINER: server.xml: /IBM/WLP8554/usr/servers/taskcalendar/server.xml
> Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer getServerXML
> FINER: server.xml: /IBM/WLP8554/usr/servers/taskcalendar/server.xml
> Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer waitForMBeanTargetState
> FINER: ENTRY
> [AUDIT ] CWWKG0016I: Starting server configuration update.
> [AUDIT ] CWWKG0028A: Processing included configuration resource: C:\IBM\WLP8554\usr\servers\taskcalendar\serverApplication.xml
> [AUDIT ] CWWKG0028A: Processing included configuration resource: C:\IBM\WLP8554\usr\servers\taskcalendar\serverKeyStore.xml
> [AUDIT ] CWWKG0028A: Processing included configuration resource: C:\IBM\WLP8554\usr\servers\taskcalendar\serverBasicUserRegistry.xml
> [AUDIT ] CWWKG0028A: Processing included configuration resource: C:\IBM\WLP8554\usr\servers\taskcalendar\serverTesting.xml
> [AUDIT ] CWWKG0017I: The server configuration was successfully updated in 0.043 seconds.
> [AUDIT ] CWWKT0017I: Web application removed (default_host): http://dlwester:30080/task-calendar-ejb-task-calendar-bean-test/
> [INFO ] SRVE0253I: [task-calendar-ejb-task-calendar-bean-test] [/task-calendar-ejb-task-calendar-bean-test] [ArquillianServletRunner]: Destroy successful.
> [INFO ] OpenWebBeans Container was stopped for context path, [/task-calendar-ejb-task-calendar-bean-test]
> [INFO ] CNTR4003I: The task-calendar-ejb-task-calendar-bean-test.war EJB module in the task-calendar-ejb-task-calendar-bean-test application is stopping.
> [INFO ] CNTR4004I: The task-calendar-ejb-task-calendar-bean-test.war EJB module in the task-calendar-ejb-task-calendar-bean-test application has stopped successfully.
> [AUDIT ] CWWKZ0009I: The application task-calendar-ejb-task-calendar-bean-test has stopped successfully.
> Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer waitForMBeanTargetState
> FINER: RETURN
> Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer getAppDirectory
> FINER: appDir: /IBM/WLP8554/usr/servers/taskcalendar/apps
> Jun 24, 2015 11:14:19 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer stop
> FINER: ENTRY
> Jun 24, 2015 11:14:19 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer stop
> FINER: RETURN
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 6 months
[JBoss JIRA] (ARQ-1961) Exception while undeploying application in WebSphere Liberty Profile
by Gerhard Poul (JIRA)
[ https://issues.jboss.org/browse/ARQ-1961?page=com.atlassian.jira.plugin.s... ]
Gerhard Poul commented on ARQ-1961:
-----------------------------------
[~dlwester] I added additional tracing and debug code; you can find it at https://github.com/gpoul/arquillian-container-was/tree/ARQ-1961 for testing; please let me know that shows anything in the trace.
> Exception while undeploying application in WebSphere Liberty Profile
> --------------------------------------------------------------------
>
> Key: ARQ-1961
> URL: https://issues.jboss.org/browse/ARQ-1961
> Project: Arquillian
> Issue Type: Bug
> Components: WebSphere Containers
> Environment: OS: Windows 7 Professional
> Arquillian: org.jboss.arquillian:arquillian-bom:1.1.6.Final
> org.jboss.arquillian.container:arquillian-wlp-managed-8.5:1.0.0.Beta2
> Shrinkwrap: org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-bom:2.1.1
> WebSphere Liberty Profile: 8.5.5.4
> JUnit: 4.11
> Java: IBM Java 1.7 in 1.6 mode
> Reporter: Dave Westerman
> Assignee: Gerhard Poul
>
> I am trying to test my JEE application with Arquillian running under WebSphere Liberty Profile 8.5.5.4. My Arquillian tests run against an EJB and a REST service.
>
> All the tests run successfully. However, the JUnit test process always ends with an exception:
>
> org.jboss.arquillian.container.spi.client.container.DeploymentException: Exception while undeploying application.
> at org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer.undeploy(WLPManagedContainer.java:419)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$4.call(ContainerDeployController.java:205)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$4.call(ContainerDeployController.java:185)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.executeOperation(ContainerDeployController.java:271)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.undeploy(ContainerDeployController.java:184)
> ...
> Caused by: org.jboss.arquillian.container.spi.client.container.DeploymentException: Unable to delete archive from apps directory
> at org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer.undeploy(WLPManagedContainer.java:405)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$4.call(ContainerDeployController.java:205)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$4.call(ContainerDeployController.java:185)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.executeOperation(ContainerDeployController.java:271)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.undeploy(ContainerDeployController.java:184)
> I ran this with a trace that Gerhard suggested, and here is the relevant section of the trace:
> Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer undeploy
> FINER: ENTRY
> Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer getServerXML
> FINER: server.xml: /IBM/WLP8554/usr/servers/taskcalendar/server.xml
> Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer getServerXML
> FINER: server.xml: /IBM/WLP8554/usr/servers/taskcalendar/server.xml
> Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer waitForMBeanTargetState
> FINER: ENTRY
> [AUDIT ] CWWKG0016I: Starting server configuration update.
> [AUDIT ] CWWKG0028A: Processing included configuration resource: C:\IBM\WLP8554\usr\servers\taskcalendar\serverApplication.xml
> [AUDIT ] CWWKG0028A: Processing included configuration resource: C:\IBM\WLP8554\usr\servers\taskcalendar\serverKeyStore.xml
> [AUDIT ] CWWKG0028A: Processing included configuration resource: C:\IBM\WLP8554\usr\servers\taskcalendar\serverBasicUserRegistry.xml
> [AUDIT ] CWWKG0028A: Processing included configuration resource: C:\IBM\WLP8554\usr\servers\taskcalendar\serverTesting.xml
> [AUDIT ] CWWKG0017I: The server configuration was successfully updated in 0.043 seconds.
> [AUDIT ] CWWKT0017I: Web application removed (default_host): http://dlwester:30080/task-calendar-ejb-task-calendar-bean-test/
> [INFO ] SRVE0253I: [task-calendar-ejb-task-calendar-bean-test] [/task-calendar-ejb-task-calendar-bean-test] [ArquillianServletRunner]: Destroy successful.
> [INFO ] OpenWebBeans Container was stopped for context path, [/task-calendar-ejb-task-calendar-bean-test]
> [INFO ] CNTR4003I: The task-calendar-ejb-task-calendar-bean-test.war EJB module in the task-calendar-ejb-task-calendar-bean-test application is stopping.
> [INFO ] CNTR4004I: The task-calendar-ejb-task-calendar-bean-test.war EJB module in the task-calendar-ejb-task-calendar-bean-test application has stopped successfully.
> [AUDIT ] CWWKZ0009I: The application task-calendar-ejb-task-calendar-bean-test has stopped successfully.
> Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer waitForMBeanTargetState
> FINER: RETURN
> Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer getAppDirectory
> FINER: appDir: /IBM/WLP8554/usr/servers/taskcalendar/apps
> Jun 24, 2015 11:14:19 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer stop
> FINER: ENTRY
> Jun 24, 2015 11:14:19 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer stop
> FINER: RETURN
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 6 months
[JBoss JIRA] (ARQ-1961) Exception while undeploying application in WebSphere Liberty Profile
by Gerhard Poul (JIRA)
[ https://issues.jboss.org/browse/ARQ-1961?page=com.atlassian.jira.plugin.s... ]
Gerhard Poul commented on ARQ-1961:
-----------------------------------
Reviewed the code in question; there are several things that might help resolve this:
1) Check whether File.setWritable() helps
2) Maybe the calls to ZipExporter.class keep the file open and therefore it can't be deleted
3) Something else goes wrong and it makes sense to see whether File.exists() shows that we're on the right track at all
Unfortunately in Java SE 6 we cannot get more information on what makes the delete fail directly; the API that shows more information in java.nio.file.Files is only available since Java SE 7.
Will need to add additional debug code to this class.
> Exception while undeploying application in WebSphere Liberty Profile
> --------------------------------------------------------------------
>
> Key: ARQ-1961
> URL: https://issues.jboss.org/browse/ARQ-1961
> Project: Arquillian
> Issue Type: Bug
> Components: WebSphere Containers
> Environment: OS: Windows 7 Professional
> Arquillian: org.jboss.arquillian:arquillian-bom:1.1.6.Final
> org.jboss.arquillian.container:arquillian-wlp-managed-8.5:1.0.0.Beta2
> Shrinkwrap: org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-bom:2.1.1
> WebSphere Liberty Profile: 8.5.5.4
> JUnit: 4.11
> Java: IBM Java 1.7 in 1.6 mode
> Reporter: Dave Westerman
> Assignee: Gerhard Poul
>
> I am trying to test my JEE application with Arquillian running under WebSphere Liberty Profile 8.5.5.4. My Arquillian tests run against an EJB and a REST service.
>
> All the tests run successfully. However, the JUnit test process always ends with an exception:
>
> org.jboss.arquillian.container.spi.client.container.DeploymentException: Exception while undeploying application.
> at org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer.undeploy(WLPManagedContainer.java:419)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$4.call(ContainerDeployController.java:205)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$4.call(ContainerDeployController.java:185)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.executeOperation(ContainerDeployController.java:271)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.undeploy(ContainerDeployController.java:184)
> ...
> Caused by: org.jboss.arquillian.container.spi.client.container.DeploymentException: Unable to delete archive from apps directory
> at org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer.undeploy(WLPManagedContainer.java:405)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$4.call(ContainerDeployController.java:205)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$4.call(ContainerDeployController.java:185)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.executeOperation(ContainerDeployController.java:271)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.undeploy(ContainerDeployController.java:184)
> I ran this with a trace that Gerhard suggested, and here is the relevant section of the trace:
> Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer undeploy
> FINER: ENTRY
> Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer getServerXML
> FINER: server.xml: /IBM/WLP8554/usr/servers/taskcalendar/server.xml
> Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer getServerXML
> FINER: server.xml: /IBM/WLP8554/usr/servers/taskcalendar/server.xml
> Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer waitForMBeanTargetState
> FINER: ENTRY
> [AUDIT ] CWWKG0016I: Starting server configuration update.
> [AUDIT ] CWWKG0028A: Processing included configuration resource: C:\IBM\WLP8554\usr\servers\taskcalendar\serverApplication.xml
> [AUDIT ] CWWKG0028A: Processing included configuration resource: C:\IBM\WLP8554\usr\servers\taskcalendar\serverKeyStore.xml
> [AUDIT ] CWWKG0028A: Processing included configuration resource: C:\IBM\WLP8554\usr\servers\taskcalendar\serverBasicUserRegistry.xml
> [AUDIT ] CWWKG0028A: Processing included configuration resource: C:\IBM\WLP8554\usr\servers\taskcalendar\serverTesting.xml
> [AUDIT ] CWWKG0017I: The server configuration was successfully updated in 0.043 seconds.
> [AUDIT ] CWWKT0017I: Web application removed (default_host): http://dlwester:30080/task-calendar-ejb-task-calendar-bean-test/
> [INFO ] SRVE0253I: [task-calendar-ejb-task-calendar-bean-test] [/task-calendar-ejb-task-calendar-bean-test] [ArquillianServletRunner]: Destroy successful.
> [INFO ] OpenWebBeans Container was stopped for context path, [/task-calendar-ejb-task-calendar-bean-test]
> [INFO ] CNTR4003I: The task-calendar-ejb-task-calendar-bean-test.war EJB module in the task-calendar-ejb-task-calendar-bean-test application is stopping.
> [INFO ] CNTR4004I: The task-calendar-ejb-task-calendar-bean-test.war EJB module in the task-calendar-ejb-task-calendar-bean-test application has stopped successfully.
> [AUDIT ] CWWKZ0009I: The application task-calendar-ejb-task-calendar-bean-test has stopped successfully.
> Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer waitForMBeanTargetState
> FINER: RETURN
> Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer getAppDirectory
> FINER: appDir: /IBM/WLP8554/usr/servers/taskcalendar/apps
> Jun 24, 2015 11:14:19 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer stop
> FINER: ENTRY
> Jun 24, 2015 11:14:19 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer stop
> FINER: RETURN
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 6 months
[JBoss JIRA] (ARQ-1961) Exception while undeploying application in WebSphere Liberty Profile
by Dave Westerman (JIRA)
[ https://issues.jboss.org/browse/ARQ-1961?page=com.atlassian.jira.plugin.s... ]
Dave Westerman updated ARQ-1961:
--------------------------------
Description:
I am trying to test my JEE application with Arquillian running under WebSphere Liberty Profile 8.5.5.4. My Arquillian tests run against an EJB and a REST service.
All the tests run successfully. However, the JUnit test process always ends with an exception:
org.jboss.arquillian.container.spi.client.container.DeploymentException: Exception while undeploying application.
at org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer.undeploy(WLPManagedContainer.java:419)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$4.call(ContainerDeployController.java:205)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$4.call(ContainerDeployController.java:185)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.executeOperation(ContainerDeployController.java:271)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.undeploy(ContainerDeployController.java:184)
...
Caused by: org.jboss.arquillian.container.spi.client.container.DeploymentException: Unable to delete archive from apps directory
at org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer.undeploy(WLPManagedContainer.java:405)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$4.call(ContainerDeployController.java:205)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$4.call(ContainerDeployController.java:185)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.executeOperation(ContainerDeployController.java:271)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.undeploy(ContainerDeployController.java:184)
I ran this with a trace that Gerhard suggested, and here is the relevant section of the trace:
Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer undeploy
FINER: ENTRY
Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer getServerXML
FINER: server.xml: /IBM/WLP8554/usr/servers/taskcalendar/server.xml
Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer getServerXML
FINER: server.xml: /IBM/WLP8554/usr/servers/taskcalendar/server.xml
Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer waitForMBeanTargetState
FINER: ENTRY
[AUDIT ] CWWKG0016I: Starting server configuration update.
[AUDIT ] CWWKG0028A: Processing included configuration resource: C:\IBM\WLP8554\usr\servers\taskcalendar\serverApplication.xml
[AUDIT ] CWWKG0028A: Processing included configuration resource: C:\IBM\WLP8554\usr\servers\taskcalendar\serverKeyStore.xml
[AUDIT ] CWWKG0028A: Processing included configuration resource: C:\IBM\WLP8554\usr\servers\taskcalendar\serverBasicUserRegistry.xml
[AUDIT ] CWWKG0028A: Processing included configuration resource: C:\IBM\WLP8554\usr\servers\taskcalendar\serverTesting.xml
[AUDIT ] CWWKG0017I: The server configuration was successfully updated in 0.043 seconds.
[AUDIT ] CWWKT0017I: Web application removed (default_host): http://dlwester:30080/task-calendar-ejb-task-calendar-bean-test/
[INFO ] SRVE0253I: [task-calendar-ejb-task-calendar-bean-test] [/task-calendar-ejb-task-calendar-bean-test] [ArquillianServletRunner]: Destroy successful.
[INFO ] OpenWebBeans Container was stopped for context path, [/task-calendar-ejb-task-calendar-bean-test]
[INFO ] CNTR4003I: The task-calendar-ejb-task-calendar-bean-test.war EJB module in the task-calendar-ejb-task-calendar-bean-test application is stopping.
[INFO ] CNTR4004I: The task-calendar-ejb-task-calendar-bean-test.war EJB module in the task-calendar-ejb-task-calendar-bean-test application has stopped successfully.
[AUDIT ] CWWKZ0009I: The application task-calendar-ejb-task-calendar-bean-test has stopped successfully.
Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer waitForMBeanTargetState
FINER: RETURN
Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer getAppDirectory
FINER: appDir: /IBM/WLP8554/usr/servers/taskcalendar/apps
Jun 24, 2015 11:14:19 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer stop
FINER: ENTRY
Jun 24, 2015 11:14:19 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer stop
FINER: RETURN
was:
I am trying to test my JEE application with Arquillian running under WebSphere Liberty Profile 8.5.5.4. My Arquillian tests run against an EJB and a REST service.
All the tests run successfully. However, the JUnit test process always ends with an exception:
org.jboss.arquillian.container.spi.client.container.DeploymentException: Exception while undeploying application.
at org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer.undeploy(WLPManagedContainer.java:419)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$4.call(ContainerDeployController.java:205)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$4.call(ContainerDeployController.java:185)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.executeOperation(ContainerDeployController.java:271)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.undeploy(ContainerDeployController.java:184)
...
Caused by: org.jboss.arquillian.container.spi.client.container.DeploymentException: Unable to delete archive from apps directory
at org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer.undeploy(WLPManagedContainer.java:405)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$4.call(ContainerDeployController.java:205)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$4.call(ContainerDeployController.java:185)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.executeOperation(ContainerDeployController.java:271)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.undeploy(ContainerDeployController.java:184)
I ran this with a trace that Gerhard suggested, and here is the relevant section of the trace:
Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer undeploy
FINER: ENTRY
Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer getServerXML
FINER: server.xml: /IBM/WLP8554/usr/servers/taskcalendar/server.xml
Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer getServerXML
FINER: server.xml: /IBM/WLP8554/usr/servers/taskcalendar/server.xml
Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer waitForMBeanTargetState
FINER: ENTRY
[AUDIT ] CWWKG0016I: Starting server configuration update.
[AUDIT ] CWWKG0028A: Processing included configuration resource: C:\IBM\WLP8554\usr\servers\taskcalendar\serverApplication.xml
[AUDIT ] CWWKG0028A: Processing included configuration resource: C:\IBM\WLP8554\usr\servers\taskcalendar\serverKeyStore.xml
[AUDIT ] CWWKG0028A: Processing included configuration resource: C:\IBM\WLP8554\usr\servers\taskcalendar\serverBasicUserRegistry.xml
[AUDIT ] CWWKG0028A: Processing included configuration resource: C:\IBM\WLP8554\usr\servers\taskcalendar\serverTesting.xml
[AUDIT ] CWWKG0017I: The server configuration was successfully updated in 0.043 seconds.
[AUDIT ] CWWKT0017I: Web application removed (default_host): http://dlwester:30080/task-calendar-ejb-task-calendar-bean-test/
[INFO ] SRVE0253I: [task-calendar-ejb-task-calendar-bean-test] [/task-calendar-ejb-task-calendar-bean-test] [ArquillianServletRunner]: Destroy successful.
[INFO ] OpenWebBeans Container was stopped for context path, [/task-calendar-ejb-task-calendar-bean-test]
[INFO ] CNTR4003I: The task-calendar-ejb-task-calendar-bean-test.war EJB module in the task-calendar-ejb-task-calendar-bean-test application is stopping.
[INFO ] CNTR4004I: The task-calendar-ejb-task-calendar-bean-test.war EJB module in the task-calendar-ejb-task-calendar-bean-test application has stopped successfully.
[AUDIT ] CWWKZ0009I: The application task-calendar-ejb-task-calendar-bean-test has stopped successfully.
Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer waitForMBeanTargetState
FINER: RETURN
Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer getAppDirectory
FINER: appDir: /IBM/WLP8554/usr/servers/taskcalendar/apps
Jun 24, 2015 11:14:19 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer stop
FINER: ENTRY
Jun 24, 2015 11:14:19 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer stop
FINER: RETURN
> Exception while undeploying application in WebSphere Liberty Profile
> --------------------------------------------------------------------
>
> Key: ARQ-1961
> URL: https://issues.jboss.org/browse/ARQ-1961
> Project: Arquillian
> Issue Type: Bug
> Components: WebSphere Containers
> Environment: OS: Windows 7 Professional
> Arquillian: org.jboss.arquillian:arquillian-bom:1.1.6.Final
> org.jboss.arquillian.container:arquillian-wlp-managed-8.5:1.0.0.Beta2
> Shrinkwrap: org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-bom:2.1.1
> WebSphere Liberty Profile: 8.5.5.4
> JUnit: 4.11
> Java: IBM Java 1.7 in 1.6 mode
> Reporter: Dave Westerman
> Assignee: Gerhard Poul
>
> I am trying to test my JEE application with Arquillian running under WebSphere Liberty Profile 8.5.5.4. My Arquillian tests run against an EJB and a REST service.
>
> All the tests run successfully. However, the JUnit test process always ends with an exception:
>
> org.jboss.arquillian.container.spi.client.container.DeploymentException: Exception while undeploying application.
> at org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer.undeploy(WLPManagedContainer.java:419)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$4.call(ContainerDeployController.java:205)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$4.call(ContainerDeployController.java:185)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.executeOperation(ContainerDeployController.java:271)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.undeploy(ContainerDeployController.java:184)
> ...
> Caused by: org.jboss.arquillian.container.spi.client.container.DeploymentException: Unable to delete archive from apps directory
> at org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer.undeploy(WLPManagedContainer.java:405)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$4.call(ContainerDeployController.java:205)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$4.call(ContainerDeployController.java:185)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.executeOperation(ContainerDeployController.java:271)
> at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.undeploy(ContainerDeployController.java:184)
> I ran this with a trace that Gerhard suggested, and here is the relevant section of the trace:
> Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer undeploy
> FINER: ENTRY
> Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer getServerXML
> FINER: server.xml: /IBM/WLP8554/usr/servers/taskcalendar/server.xml
> Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer getServerXML
> FINER: server.xml: /IBM/WLP8554/usr/servers/taskcalendar/server.xml
> Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer waitForMBeanTargetState
> FINER: ENTRY
> [AUDIT ] CWWKG0016I: Starting server configuration update.
> [AUDIT ] CWWKG0028A: Processing included configuration resource: C:\IBM\WLP8554\usr\servers\taskcalendar\serverApplication.xml
> [AUDIT ] CWWKG0028A: Processing included configuration resource: C:\IBM\WLP8554\usr\servers\taskcalendar\serverKeyStore.xml
> [AUDIT ] CWWKG0028A: Processing included configuration resource: C:\IBM\WLP8554\usr\servers\taskcalendar\serverBasicUserRegistry.xml
> [AUDIT ] CWWKG0028A: Processing included configuration resource: C:\IBM\WLP8554\usr\servers\taskcalendar\serverTesting.xml
> [AUDIT ] CWWKG0017I: The server configuration was successfully updated in 0.043 seconds.
> [AUDIT ] CWWKT0017I: Web application removed (default_host): http://dlwester:30080/task-calendar-ejb-task-calendar-bean-test/
> [INFO ] SRVE0253I: [task-calendar-ejb-task-calendar-bean-test] [/task-calendar-ejb-task-calendar-bean-test] [ArquillianServletRunner]: Destroy successful.
> [INFO ] OpenWebBeans Container was stopped for context path, [/task-calendar-ejb-task-calendar-bean-test]
> [INFO ] CNTR4003I: The task-calendar-ejb-task-calendar-bean-test.war EJB module in the task-calendar-ejb-task-calendar-bean-test application is stopping.
> [INFO ] CNTR4004I: The task-calendar-ejb-task-calendar-bean-test.war EJB module in the task-calendar-ejb-task-calendar-bean-test application has stopped successfully.
> [AUDIT ] CWWKZ0009I: The application task-calendar-ejb-task-calendar-bean-test has stopped successfully.
> Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer waitForMBeanTargetState
> FINER: RETURN
> Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer getAppDirectory
> FINER: appDir: /IBM/WLP8554/usr/servers/taskcalendar/apps
> Jun 24, 2015 11:14:19 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer stop
> FINER: ENTRY
> Jun 24, 2015 11:14:19 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer stop
> FINER: RETURN
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 6 months
[JBoss JIRA] (ARQ-1961) Exception while undeploying application in WebSphere Liberty Profile
by Dave Westerman (JIRA)
Dave Westerman created ARQ-1961:
-----------------------------------
Summary: Exception while undeploying application in WebSphere Liberty Profile
Key: ARQ-1961
URL: https://issues.jboss.org/browse/ARQ-1961
Project: Arquillian
Issue Type: Bug
Components: WebSphere Containers
Environment: OS: Windows 7 Professional
Arquillian: org.jboss.arquillian:arquillian-bom:1.1.6.Final
org.jboss.arquillian.container:arquillian-wlp-managed-8.5:1.0.0.Beta2
Shrinkwrap: org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-bom:2.1.1
WebSphere Liberty Profile: 8.5.5.4
JUnit: 4.11
Java: IBM Java 1.7 in 1.6 mode
Reporter: Dave Westerman
Assignee: Gerhard Poul
I am trying to test my JEE application with Arquillian running under WebSphere Liberty Profile 8.5.5.4. My Arquillian tests run against an EJB and a REST service.
All the tests run successfully. However, the JUnit test process always ends with an exception:
org.jboss.arquillian.container.spi.client.container.DeploymentException: Exception while undeploying application.
at org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer.undeploy(WLPManagedContainer.java:419)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$4.call(ContainerDeployController.java:205)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$4.call(ContainerDeployController.java:185)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.executeOperation(ContainerDeployController.java:271)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.undeploy(ContainerDeployController.java:184)
...
Caused by: org.jboss.arquillian.container.spi.client.container.DeploymentException: Unable to delete archive from apps directory
at org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer.undeploy(WLPManagedContainer.java:405)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$4.call(ContainerDeployController.java:205)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$4.call(ContainerDeployController.java:185)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.executeOperation(ContainerDeployController.java:271)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.undeploy(ContainerDeployController.java:184)
I ran this with a trace that Gerhard suggested, and here is the relevant section of the trace:
Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer undeploy
FINER: ENTRY
Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer getServerXML
FINER: server.xml: /IBM/WLP8554/usr/servers/taskcalendar/server.xml
Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer getServerXML
FINER: server.xml: /IBM/WLP8554/usr/servers/taskcalendar/server.xml
Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer waitForMBeanTargetState
FINER: ENTRY
[AUDIT ] CWWKG0016I: Starting server configuration update.
[AUDIT ] CWWKG0028A: Processing included configuration resource: C:\IBM\WLP8554\usr\servers\taskcalendar\serverApplication.xml
[AUDIT ] CWWKG0028A: Processing included configuration resource: C:\IBM\WLP8554\usr\servers\taskcalendar\serverKeyStore.xml
[AUDIT ] CWWKG0028A: Processing included configuration resource: C:\IBM\WLP8554\usr\servers\taskcalendar\serverBasicUserRegistry.xml
[AUDIT ] CWWKG0028A: Processing included configuration resource: C:\IBM\WLP8554\usr\servers\taskcalendar\serverTesting.xml
[AUDIT ] CWWKG0017I: The server configuration was successfully updated in 0.043 seconds.
[AUDIT ] CWWKT0017I: Web application removed (default_host): http://dlwester:30080/task-calendar-ejb-task-calendar-bean-test/
[INFO ] SRVE0253I: [task-calendar-ejb-task-calendar-bean-test] [/task-calendar-ejb-task-calendar-bean-test] [ArquillianServletRunner]: Destroy successful.
[INFO ] OpenWebBeans Container was stopped for context path, [/task-calendar-ejb-task-calendar-bean-test]
[INFO ] CNTR4003I: The task-calendar-ejb-task-calendar-bean-test.war EJB module in the task-calendar-ejb-task-calendar-bean-test application is stopping.
[INFO ] CNTR4004I: The task-calendar-ejb-task-calendar-bean-test.war EJB module in the task-calendar-ejb-task-calendar-bean-test application has stopped successfully.
[AUDIT ] CWWKZ0009I: The application task-calendar-ejb-task-calendar-bean-test has stopped successfully.
Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer waitForMBeanTargetState
FINER: RETURN
Jun 24, 2015 11:14:18 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer getAppDirectory
FINER: appDir: /IBM/WLP8554/usr/servers/taskcalendar/apps
Jun 24, 2015 11:14:19 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer stop
FINER: ENTRY
Jun 24, 2015 11:14:19 AM org.jboss.arquillian.container.was.wlp_managed_8_5.WLPManagedContainer stop
FINER: RETURN
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 6 months