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 180199 - WebLogic : Run Web project with servlet works incorrect
Summary: WebLogic : Run Web project with servlet works incorrect
Status: RESOLVED WORKSFORME
Alias: None
Product: serverplugins
Classification: Unclassified
Component: WebLogic (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-03 04:19 UTC by Denis Anisimov
Modified: 2010-02-10 07:42 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Ant stdout (8.03 KB, text/plain)
2010-02-03 04:21 UTC, Denis Anisimov
Details
one more error on "run" project (3.02 KB, text/plain)
2010-02-03 05:54 UTC, Denis Anisimov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Anisimov 2010-02-03 04:19:48 UTC
1) Check WebLogic could be started: start it from Services tab. Stop it.
2) Create Java Web Application.
3) Use WebLogic as J2EE server.
4) Keep all default options in creation wizard.
5) Delete index.jsp when project will be created .
6) Create Java package in sources folder.
7) Create servlet inside this package.
8) Try to run this project .

As result sometimes WebLogic Server node doesn't show started status.
After another attempt ( it requires NB restart ) I was able to see started WebLogic server.
See attached stack trace for ant output with application error starting.
As result browser is not opened.
But if I open servlet context url manually it works fine.

This is not the end.
Try to run this project one more time.
In my case the first attempt click "run" popup menu item doesn't do anything.
One more attempt ( this is the third ) works fine !
There are no errors . Browser opens application url
( this url is not servlet context so you will see 403 error ,
but you can add valid servlet context url . As result all is fine. )
Go to Services Tab . WebLogic has started icon.
But I'm not able to expand its node.
Comment 1 Denis Anisimov 2010-02-03 04:21:08 UTC
Created attachment 93792 [details]
Ant stdout
Comment 2 Denis Anisimov 2010-02-03 05:54:42 UTC
Created attachment 93797 [details]
one more error on "run" project
Comment 3 Petr Hejl 2010-02-06 12:54:25 UTC
I've tested this but I was unable to reproduce it (clean userdir). IDE included the fix for #180200. Please can you retest and provide more details, especially server log? For testing it would be also good to enable this option: -J-Dorg.netbeans.modules.j2ee.weblogic9.deploy.WLCommandDeployer.showConsole=true
It will show console (in output window) for any external command executed in order to deploy.

Thanks,
P.

"One more error" is duplicate of #180200.
Comment 4 Denis Anisimov 2010-02-08 04:09:59 UTC
I'm not able to reproduce it after fix for #180200.
I will work with WebLogic J2EE integration some time and will
provide additional information and details if this issue appears again.

For now I keep it opened.
Comment 5 Petr Hejl 2010-02-10 07:42:59 UTC
I don't see a reason to keep this opened. Please reopen if it will happen again.