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.
Product Version: NetBeans IDE 7.1 (Build 201112062100) Java: 1.7.0_02; Java HotSpot(TM) 64-Bit Server VM 22.0-b10 System: Linux version 2.6.38-13-generic running on amd64; UTF-8; en_US (nb) When trying to deploy simple webapp to wl server, it fails with following output: init: deps-module-jar: deps-ear-jar: deps-jar: library-inclusion-in-archive: library-inclusion-in-manifest: compile: compile-jsps: In-place deployment at /home/petr/NetBeansProjects/WebApplication3/build/web Deploying /home/petr/NetBeansProjects/WebApplication3/build/web Deployment failed. The message was: ... 1 more /home/petr/NetBeansProjects/WebApplication3/nbproject/build-impl.xml:747: The module has not been deployed. See the server log for details. BUILD FAILED (total time: 1 second) server output is the same as if it is just started via start command on the node in services tab.
Please provide a reproducible use case. I'm missing WebLogic version, the domain configuration, the JDK configured for the domain. You can also use -J-Dorg.netbeans.modules.j2ee.weblogic9.deploy.CommandBasedDeployer.showConsole=true to get more details.
Installer version or zip build?
Created attachment 114041 [details] zipped messages log and various outputs
I am using installed 12.1.1 the domain is created via the bundled domain creator wizard with default settings also if I deploy the app manually via admin console it works ok, so i doubt the error is with the server configuration...
Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/utils/Debug at weblogic.Deployer.<clinit>(Deployer.java:24) Caused by: java.lang.ClassNotFoundException: weblogic.utils.Debug at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:423) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:356) ... 1 more
MANIFEST.MF inside weblogic.jar: Manifest-Version: 1.0 Ant-Version: Apache Ant 1.7.1 Created-By: R28.2.0-79-146777-1.6.0_29-20111005-1808-windows-ia32 (Ora cle Corporation) Main-Class: weblogic.Server Implementation-Vendor: BEA Systems Implementation-Title: WebLogic Server 12.1.1.0 Wed Dec 7 08:40:57 PST 2011 1445491 Implementation-Version: 12.1.1.0 Class-Path: ../../../modules/features/weblogic.server.modules_12.1.1.0 .jar schema/weblogic-domain-binding.jar schema/weblogic-domain-bindin g-compatibility.jar schema/diagnostics-binding.jar schema/diagnostics -image-binding.jar wlcipher.jar webservices.jar xmlx.jar ojdbc6.jar o ns.jar ucp.jar aqapi.jar EccpressoAsn1.jar EccpressoCore.jar Eccpress oJcae.jar mysql-connector-java-commercial-5.1.17-bin.jar cryptoj.jar wlsqlserver.jar wldb2.jar wlsybase.jar wlinformix.jar fmwgenerictoke n.jar wlw-langx.jar jcom.jar weblogic-L10N.jar server installation : /space/servers/wlserver_12.1 domain: /home/petr/Oracle/Middleware/user_projects/domains/base_domain2
it seems the problem is with installing weblogic into non-default location see the bug https://bug.oraclecorp.com/pls/bug/webbug_print.show?c_rptno=13491297
Workarounded at web-main 455ea338bc40. PetreC, Jirko can you verify for both standard and customized directory layout? I did it and it seems to work. As I don't think this is typical WL installation layout, I'm closing as P2. Feel free to disagree.
BTW I think this bug has to be present and reproducible since NB 6.9 and WLS 10.3.
will verify when it gets to nightly build FYI comments on the weblogic bug :) : SFELTS 12/12/11 07:24 am *** @ We should not be allowing the user to specify the location of WebLogic Server @ (this definately won't be allowed in 12.1.2).
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/455ea338bc40 User: Petr Hejl <phejl@netbeans.org> Log: #206259 Deploy to weblogic server doesn't work
It works with default installation. With non default installation deployment works but some jars are missing on classpath (bug 206528).
verified on: Product Version: NetBeans IDE Dev (Build 201201080601) Java: 1.7.0_02; Java HotSpot(TM) Client VM 22.0-b10 System: Linux version 2.6.38-13-generic running on i386; UTF-8; en_US (nb)
Integrated into 'releases', will be available in build *201202082200* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/202eb445f858 User: Petr Hejl <phejl@netbeans.org> Log: #206259 Deploy to weblogic server doesn't work (transplanted from 455ea338bc40eb07b2679a09b278e4cb3a6c9024)
(In reply to comment #12) > It works with default installation. With non default installation deployment > works but some jars are missing on classpath (bug 206528). What is meant by "default installation"? Is it installation of WL12 as described in the README.txt that comes with the wls1211_dev.zip installation package? (and also described here: http://tamanmohamed.blogspot.com/2011/12/how-to-setup-test-oracle-weblogic.html) Im about to embark on using WL with my netbeans, just want to check it's possible to do a "Default installation" with the wls1211_dev.zip WL installation package (this does not come with any UI wizard, u just run a script as described in the above blog). Many thanks, C
"default installation" means to only use default paths - weblogic server doesn't support and afaik doesn't even plan to support installation into non-default paths.