This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
It is not possible to deploy maven Java EE 6 project to WebLogic server. To reproduce: - install WebLogic 12.1.1 server - register WebLogic to IDE - create maven web project - open project properties, go to Run category and provide context path (workaround for bug 202662) - run project but it is not deployed Deploying D:\Development\builds\nbUserdir-20111101121827\mavenproject1\target\mavenproject1-1.0-SNAPSHOT Deployment failed. The message was: weblogic.management.DeploymentException: [J2EE:160177]The application at "D:\Development\builds\nbUserdir-20111101121827\mavenproject1\target\mavenproject1-1.0-SNAPSHOT" was not recognized as a valid application type. If this is an EAR file, please ensure the META-INF/application.xml exists. EJB-JARs should have a META-INF/ejb-jar.xml or corresponding annotations exist. If this is an exploded WAR, the name of directory must be end with ".war". RARs require a META-INF/ra.xml. A JMS deployment should be an XML file whose name ends with "-jms.xml". A JDBC deployment should be an XML file whose name ends with "-jdbc.xml". For other application types, consult the WebLogic Server documentation. The module has not been deployed. See the server log for details. at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:210) at org.netbeans.modules.maven.j2ee.ExecutionChecker.performDeploy(ExecutionChecker.java:177) at org.netbeans.modules.maven.j2ee.ExecutionChecker.executionResult(ExecutionChecker.java:129) at org.netbeans.modules.maven.execute.MavenCommandLineExecutor.run(MavenCommandLineExecutor.java:211) at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153) Product Version: NetBeans IDE Dev (Build 201111010600) Java: 1.7.0_01; Java HotSpot(TM) Client VM 21.1-b02 System: Windows XP version 5.1 running on x86; Cp1250; en_US (nb)
The inability to detect app is already reported as WL issue. For the meantime, maven project should create the empty DD as requested by DeploymnetDescriptorConfiguration.isDescriptorRequired(). https://bug.oraclecorp.com/pls/bug/webbug_print.show?c_rptno=10111723
Just to be sure - we want to create web.xml immediately when creating new Maven Web or Maven Enterprise project, right?
Fixed in: http://hg.netbeans.org/web-main/rev/d4f512bdd6d1
Btw: Can someone verified that the project is deployable?.. I'm not able to deploy the project anyway because of issue 204673, so the only think that I've tested is that web.xml is created in proper situations.
Integrated into 'main-golden', will be available in build *201111060600* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/d4f512bdd6d1 User: Martin Janicek <mjanicek@netbeans.org> Log: #204572 - Cannot deploy maven Java EE 6 web project to WebLogic