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.
1. Install JSF 1.1 plugin. 2. Add WebLogic 9.2 to the "Services > Servers". 3. Create web application with "Visual Web JSF" framework, WebLogic as target server and with J2EE 1.4 version. 4. Deploy it to the WebLogic. Result: BUILD SUCCESSFUL appears in Output window, but in browser error 404 appears and application isn't deployed (it doesn't appear in deployed application list in Admin Console).
Roman, can you attach log from WebLogic.
Sandip, I guess it's because we have not turned off the recently internally JSF 1.1 library. It also affects glassfish as I tried. Could you please turn it off (remove) as soon as possible?
Actually I was able to successfully deploy simple visual web application with one button component to WebLogic. But after I deployed application, which uses web service, I got "Error 503--Service Unavailable" in browser and then I wasn't able to deploy even simple visual web application.
Created attachment 46422 [details] Archive with WebLogic server's logs
Looks like it's related web services issue. BTW, can you undeploy your simple app and redeploy it? Or stop the server and restart the server?
I was able to deploy a web application that uses a web service onto WebLogic (running NB on jdk 1.5.0_06). Could you provide the exact steps that cause the error?
Cannot duplicate: 1. simple deployment to Weblogic 9.2 server on XP, using XP NB build 08150518 with JDK1.5.0_12 worked successfully. Mozilla browser as default browser AOK. 2. next deployment with webservice (used PersianCalendarService) also deployed and worked at runtime. 3. third deployment - simple two page navigation project also worked at runtime.
I still can reproduce this issue. But now I started IDE with new userdir, created simple application, deployed it to WebLogic, but get 503 error. Product Version: NetBeans IDE Dev (Build 070821) Java: 1.5.0_12; Java HotSpot(TM) Client VM 1.5.0_12-b04 System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb)
This problem doesn't appear to be related to web services.
Hi, Yousuf, Could you please verify this? None of us can reproduce it here! Thanks!
I'll try evaluating this today. Hopefully I'll be able to put my comments by COB today.
Ok here is my evaluation: Because of issue 113344 (which was just fixed today) the first hurdle you get into when Running your application through the Run button in the IDE is that you get an exception and the application is not deployed at all. If the server is running though you won't get into that problem. Here are the steps that I did: To make sure that I had clean weblogic domain and that it was using the correct JDK I created one using the configuration wizard. 1. Went into Start Menu->All programs->BEA Products->Tools->Configuration wizard. Went through the wizard to create my own domain. * Specified username and password (weblogic/weblogic) * Specified Sun's JDK5 for the domain * Specified my own domain Name 2. Once completed I started Netbeans 6 running on JDK5 and went through the Add server setup. Specified Weblogic server location. In the 3rd step when adding server I made sure that I had the correct Local instance selected by matching the Domain Path of the instance with the one I had created through the Configuration wizard. 3. Starting Weblogic from IDE for the very first time worked. I was able to deploy a simple VW application as well. 4. After that Shutting down the server from the IDE did not work properly so I had to stop it externally. 5. After that I could not deploy an application anymore. Starting the server from the IDE would work only sometimes. Other times it would be stuck on "Server Status <STARTING>". If it did get started I could not deploy applications successfully and saw the 503 errors. Checking the server log showed that there was an issue with some file lock for the first application that I had deployed. It seems that the serverplugin for starting and stopping the server is not functioning properly. I had to delete that applciation and other lock(LOK) files from various places in my domain folder for the server to get working again. I did find a workaround that allows VW applications to Deploy without any issues: 1. I used the "Start Menu->Programs->BEA products->User Projects-> myDomainName ->Start server" to externally start the server. 2. Once the server status becomes <RUNNING> (as shown in the console window) I refreshed the Server node for weblogic a couple of times so that the Server node shows a Green Arrow Icon. 3. After that I created a VW application and deployed without any issues. 4. I shutdown the server using "Start Menu->Programs->BEA products->User Projects-> myDomainName ->Stop server" to externally stop the server and restarted it externally and then deployed VW applications without any issues. So in conclusion: * As long as the starting and stopping of server is done externally there is no issue with deployment. Only if you use start/stop from IDE do problems start to occur. * And once the server gets into that problem you can't deploy to it anymore unless you clean it up (by removing any deployed applications and removing some lok files) or create a new domain.
Thanks, Yousuf, for your valuable evaluation! It's a general server plugin issue. Not just happened for visualweb deployment.
Server startup fixed. Issue was caused by full std. error output buffer of the process. Now investigating redeployment trouble mentioned in the issue 98366. Checking in src/org/netbeans/modules/j2ee/weblogic9/WLDeploymentFactory.java; /cvs/serverplugins/weblogic9/src/org/netbeans/modules/j2ee/weblogic9/WLDeploymentFactory.java,v <-- WLDeploymentFactory.java new revision: 1.15; previous revision: 1.14 done Checking in src/org/netbeans/modules/j2ee/weblogic9/WLDeploymentManager.java; /cvs/serverplugins/weblogic9/src/org/netbeans/modules/j2ee/weblogic9/WLDeploymentManager.java,v <-- WLDeploymentManager.java new revision: 1.22; previous revision: 1.21 done Checking in src/org/netbeans/modules/j2ee/weblogic9/optional/WLStartServer.java; /cvs/serverplugins/weblogic9/src/org/netbeans/modules/j2ee/weblogic9/optional/WLStartServer.java,v <-- WLStartServer.java new revision: 1.22; previous revision: 1.21 done RCS file: /cvs/serverplugins/weblogic9/src/org/netbeans/modules/j2ee/weblogic9/util/WLOutputManager.java,v done Checking in src/org/netbeans/modules/j2ee/weblogic9/util/WLOutputManager.java; /cvs/serverplugins/weblogic9/src/org/netbeans/modules/j2ee/weblogic9/util/WLOutputManager.java,v <-- WLOutputManager.java initial revision: 1.1 done Checking in src/org/netbeans/modules/j2ee/weblogic9/util/WLTailer.java; /cvs/serverplugins/weblogic9/src/org/netbeans/modules/j2ee/weblogic9/util/WLTailer.java,v <-- WLTailer.java new revision: 1.9; previous revision: 1.8 done
Verified with build 070830.