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 267436 - run web application on weblogic,but can't deploy to weblogic
Summary: run web application on weblogic,but can't deploy to weblogic
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.1
Hardware: PC Windows 10
: P3 normal (vote)
Assignee: issues@ide
URL:
Keywords: FOCUS
Depends on:
Blocks:
 
Reported: 2016-08-05 03:38 UTC by luosoy
Modified: 2016-08-05 03:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE 日志 (203.77 KB, text/plain)
2016-08-05 03:39 UTC, luosoy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description luosoy 2016-08-05 03:38:57 UTC
Product Version = NetBeans IDE 8.1 (Build 201510222201)
Operating System = Windows 10 version 10.0 running on amd64
Java; VM; Vendor = 1.8.0_91
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.91-b15

再现性: 有时 (但不总是) 发生

步骤:
  * run web application on weblogic

实际情况:
  when I run web application on weblogic,my project run maven build project but don't deploy the project to weblogic;

  the console like this:
  ------------------------------------------------------------------------
BUILD SUCCESS
------------------------------------------------------------------------
Total time: 21.198s
Finished at: Fri Aug 05 11:11:16 CST 2016
Final Memory: 28M/260M
------------------------------------------------------------------------
NetBeans: Deploying on NW WebLogic
    profile mode: false
    debug mode: false
    force redeploy: true
11:11:21.652 [exec_运行 (zsbg-app-nw-web)_1] DEBUG o.z.exec.ProcessExecutor - Executing [C:\Users\luozp\.jrebel\.nb_jrcpy\resolve_from_domainEnv_JAVA_HOME.cmd, d:\bea\Oracle\Middleware\user_projects\domains\bzb_nwcsgl_domain\bin\setDomainEnv.cmd]...
11:11:21.918 [exec_运行 (zsbg-app-nw-web)_1] DEBUG o.z.exec.ProcessExecutor - Started java.lang.ProcessImpl@3e53945a
11:11:22.402 [exec_运行 (zsbg-app-nw-web)_1] DEBUG o.zeroturnaround.exec.WaitForProcess - java.lang.ProcessImpl@3e53945a stopped with exit code 0
11:11:22.496 [exec_运行 (zsbg-app-nw-web)_1] DEBUG o.z.exec.ProcessExecutor - Executing [d:\bea\Oracle\Middleware\jdk160_29\jre\bin\java.exe, -cp, 
11:11:22.715 [exec_运行 (zsbg-app-nw-web)_1] DEBUG o.z.exec.ProcessExecutor - Started java.lang.ProcessImpl@277710c2
启动NW WebLogic
已启动NW WebLogic

when weblogic is running the console is this:

NetBeans: Deploying on NW WebLogic
    profile mode: false
    debug mode: false
    force redeploy: true
cd F:\projectSvn\zsbg\code\trunk\zsbg-app-nw-web; "JAVA_HOME=C:\\Program Files\\Java\\jdk1.8.0_91" cmd /c "\"\"C:\\Program Files\\NetBeans 8.1\\java\\maven\\bin\\mvn.bat\" -Dnetbeans.deploy=true -DskipTests=true -Dmaven.ext.class.path=\"C:\\Program Files\\NetBeans 8.1\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 package -Dcurrent.jrebel.agent.path=C:\\Users\\luozp\\AppData\\Roaming\\NetBeans\\8.1\\jrebel\\jrebel.jar\""
Scanning for projects...

------------------------------------------------------------------------
BUILD SUCCESS
------------------------------------------------------------------------
Total time: 11.222s
Finished at: Fri Aug 05 11:24:42 CST 2016
Final Memory: 15M/216M
------------------------------------------------------------------------
NetBeans: Deploying on NW WebLogic
    profile mode: false
    debug mode: false
    force redeploy: true

all ways not deploy the application to weblogic;

this bug reproduce maybe like this:
1、first open project
2、Configure WebLogic Server 
3、build project and run 

you may find project can't deploy to weblogic and the console not display 

"undeploy?path=/wssb-app-ww-web
OK - Undeployed application at context path /wssb-app-ww-web
就地在F:\projectSvn\shdzswj\code\wssb\trunk\wssb-app-ww-web\target\wssb-app-ww-web-1.1.3-SNAPSHOT中部署
正在部署...
deploy?config=file%3A%2FC%3A%2FUsers%2Fluozp%2FAppData%2FLocal%2FTemp%2Fcontext2162930638275944524.xml&path=/wssb-app-ww-web
OK - Deployed application at context path /wssb-app-ww-web" 


预期情况:
  when i run application,the application can deploy to weblogi
Comment 1 luosoy 2016-08-05 03:39:29 UTC
Created attachment 161560 [details]
IDE 日志