[jbosstools-issues] [JBoss JIRA] (JBIDE-13162) Cannot deploy dynamic web project to OpenShift

Stefan Bunciak (JIRA) jira-events at lists.jboss.org
Tue Nov 27 11:46:21 EST 2012


Stefan Bunciak created JBIDE-13162:
--------------------------------------

             Summary: Cannot deploy dynamic web project to OpenShift
                 Key: JBIDE-13162
                 URL: https://issues.jboss.org/browse/JBIDE-13162
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: openshift
    Affects Versions: 4.0.0.CR1
            Reporter: Stefan Bunciak
            Assignee: Andre Dietisheim
            Priority: Critical
             Fix For: 4.0.0.CR1


Dynamic web project should should be deployable to OpenShift (is visible when merging OpenShift application and the workspace project).
After publishing, following output is returned from server:
{code}
[INFO] Packaging webapp
[INFO] Assembling webapp [dw] in [/var/lib/openshift/1e6a743963104f30bdcdebdff460d42b/app-root/runtime/repo/target/dw]
[INFO] Processing war project
[INFO] Webapp assembled in [19 msecs]
[INFO] Building war: /var/lib/openshift/1e6a743963104f30bdcdebdff460d42b/app-root/runtime/repo/deployments/ROOT.war
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 33.330s
[INFO] Finished at: Tue Nov 27 11:27:40 EST 2012
[INFO] Final Memory: 8M/169M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.1.1:war (default-war) on project dw: Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in update mode) -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
hot_deploy_added=false
Found 127.3.36.1:8080 listening port
/usr/libexec/openshift/cartridges/abstract/info/lib/util: line 992: /var/lib/openshift/1e6a743963104f30bdcdebdff460d42b/app-root/runtime/repo/.openshift/action_hooks/post_start_jbossas-7: Permission denied
Failed to start jbossas-7
{code}

Shouldn't this be a part of openshift maven profile?
{code}
<failOnMissingWebXml>false</failOnMissingWebXml>
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list