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.

Bug 253707 - WebLogic Server 12.2.1 remote deployment fails
Summary: WebLogic Server 12.2.1 remote deployment fails
Status: RESOLVED INCOMPLETE
Alias: None
Product: serverplugins
Classification: Unclassified
Component: WebLogic (show other bugs)
Version: 8.1
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-24 01:22 UTC by sbutton
Modified: 2016-05-17 13:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sbutton 2015-07-24 01:22:06 UTC
Created a new Server using "Remote Domain" to point to a WebLogic Server 12.2.1 domain.

Deployment operations fail with the following message in the output window:

Created dir: /Users/sbutton/NetBeansProjects/netbeans-remote-demo/dist
Building jar: /Users/sbutton/NetBeansProjects/netbeans-remote-demo/dist/netbeans-remote-demo.war
Distributing /Users/sbutton/NetBeansProjects/netbeans-remote-demo/dist/netbeans-remote-demo.war to [AdminServer]
Deploying /Users/sbutton/NetBeansProjects/netbeans-remote-demo/dist/netbeans-remote-demo.war
Deployment failed. The message was: Please enter a password for the user "weblogic":Unable to connect to 't3://127.0.0.1:7001': [Login failed for an unknown reason: HTTP/1.0 500 handshakefailed]. Ensure the url represents a running admin server and that the credentials are correct. If using http protocol, tunneling must be enabled on the admin server.
/Users/sbutton/NetBeansProjects/netbeans-remote-demo/nbproject/build-impl.xml:1045: The module has not been deployed.
See the server log for details.
BUILD FAILED (total time: 3 seconds)

And the following appearing on the console:

INFO [org.netbeans.spi.project.support.ant.GlobFileBuiltQuery]: isBuilt: true from GFBQ.StatusImpl[/Users/sbutton/NetBeansProjects/netbeans-remote-demo/src/java/demo/WhoAmI.java@c07daddb:67f09db9 -> /Users/sbutton/NetBeansProjects/netbeans-remote-demo/build/web/WEB-INF/classes/demo/WhoAmI.class]
INFO [org.netbeans.modules.j2ee.deployment.impl.TargetServer]: Cannot incrementally deploy to more than one target
INFO [org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment]
The module has not been deployed.
See the server log for details.
[catch] at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:259)
	at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:166)
	at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:111)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
	at sun.reflect.GeneratedMethodAccessor59.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:435)
	at org.apache.tools.ant.Target.performTasks(Target.java:456)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
	at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:286)
	at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:555)
	at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)

The username and password specified in the server configuration are valid as shown below using a WLST connection command:

wls:/offline> connect(username='weblogic',password='welcome1',url='t3://127.0.0.1:7001');
Connecting to t3://127.0.0.1:7001 with userid weblogic ...
Successfully connected to Admin Server "AdminServer" that belongs to domain "base_domain".
Comment 1 sbutton 2015-07-24 01:23:05 UTC
Same project deploys successfully to the same WebLogic Server 12.2.1 instance using a Server defined as a "Local Domain".
Comment 2 Petr Hejl 2015-07-28 13:32:01 UTC
It might be a proxy issue. Also how was the server configured in the IDE?