Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect HttpContextBuilder#findMatchingDeployment #22

Open
ihostage opened this issue May 27, 2015 · 0 comments
Open

Incorrect HttpContextBuilder#findMatchingDeployment #22

ihostage opened this issue May 27, 2015 · 0 comments

Comments

@ihostage
Copy link

Hi!

My case

  1. I set Weblogic-Application-Version: X.Y.Z in MANIFEST​.​MF file.
  2. I deploy WebArchive
@Deployment
public static WebArchive createDeployment() {
    return ShrinkWrap.createFromZipFile(WebArchive.class, new File("target/app-name.war"));
}
  1. In the undeploy phase i got error
Test  Time elapsed: 8.998 sec  <<< ERROR!
org.jboss.arquillian.container.spi.client.container.DeploymentException: Failed to populate the HTTPContext with the deployment details
    ...
Caused by: org.jboss.arquillian.container.spi.client.container.DeploymentException: The specified deployment could not be found in the MBean Server.
The deployment must have failed. Verify the output of the weblogic.Deployer process.
    at org.jboss.arquillian.container.wls.HttpContextBuilder.createContext(HttpContextBuilder.java:73)
    at org.jboss.arquillian.container.wls.WebLogicJMXClient.verifyDeployment(WebLogicJMXClient.java:116)
    ... 96 more

Summary

In HttpContextBuilder#findMatchingDeployment local variable appDeploymentName assign "app-name#X.Y.Z" (logic naming in WLS), but method attribute deploymentName is "app-name". As a result method - null.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant