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 39842 - Can't execute web module
Summary: Can't execute web module
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 3.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Pavel Buzek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-10 01:21 UTC by Ana.von Klopp
Modified: 2006-06-05 00:50 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide.log (316.50 KB, text/plain)
2004-02-10 01:22 UTC, Ana.von Klopp
Details
IDE log, fresh user directory (31.99 KB, text/plain)
2004-02-11 22:02 UTC, Ana.von Klopp
Details
IDE log, fresh user directory, after restarting computer (11.78 KB, text/plain)
2004-02-11 22:03 UTC, Ana.von Klopp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ana.von Klopp 2004-02-10 01:21:08 UTC
Pierre Delisle had downloaded the beta build and 
had imported settings from 3.5. He has the portal 
module enabled, but I don't think this is a factor 
in the circumstances. He had several directories 
mounted (~20), none of them recognized by the IDE 
as web modules. 

We created a new web module and added a JSP, and 
then tried to execute it. It wouldn't execute and 
deployment failed. The deployment window 
disappeared before we could see the message about 
the failed deployment. 

I will atach the ide.log, the relevant stacktraces 
are at the end of the file.
Comment 1 Ana.von Klopp 2004-02-10 01:22:20 UTC
Created attachment 13336 [details]
ide.log
Comment 2 Ana.von Klopp 2004-02-11 01:24:57 UTC
I downgrade this to a P2 since we only see it on one machine 
(apologies, my record of the bug filing guidelines is hazy). 

Will work with Pierre to discover what the problem is. 
Comment 3 Ana.von Klopp 2004-02-11 22:01:06 UTC
Pierre and I did some more work on this one today. We tried with a 
fresh user directory, and then with a fresh user directory after 
restarting the server to ensure that there were no conflicting 
processes running. In neither case could we get the server to run. In 
the second scenario, we saw an error message in the deployment status 
bar (Unexpected EOF from server). 

I attach the logs from both starts. 

This happens in the beta release. 
Comment 4 Ana.von Klopp 2004-02-11 22:02:25 UTC
Created attachment 13380 [details]
IDE log, fresh user directory
Comment 5 Ana.von Klopp 2004-02-11 22:03:23 UTC
Created attachment 13381 [details]
IDE log, fresh user directory, after restarting computer
Comment 6 Pavel Buzek 2004-02-12 00:49:16 UTC
Pierre, is this testing done with the bundled tomcat server or with a
server that you've added to the IDE? Can you check what is the list of
modules deployed to the server? Thanks.
Comment 7 Ana.von Klopp 2004-02-12 16:12:47 UTC
It was done with the bundled server - that's why we started with a 
fresh user directory. There was no Tomcat running on the system. We 
also tried after restarting the server to ensure that there was no 
other process running starting from another program. 
Comment 8 Petr Jiricka 2004-02-12 19:16:48 UTC
I put some patches in the codebase which could help us track the
problem. To use them, please use the latest continuous build of
NetBeans, and run the IDE with 

-J-Dorg.netbeans.modules.tomcat5.LogManagerCommands=true

On Windows, you can do this by adding the line above to ide.cfg. This
will print out some extra debug messages on deployment to the console.
Could you please try this out and attach the messages to this issue?
Thanks.
Comment 9 Pavel Buzek 2004-02-13 23:42:36 UTC
I fixed one of the NPEs in the first log, although this is not the
main cause of this problem.
Comment 10 pierredelisle 2004-02-18 22:13:16 UTC
I tested with the latest build and now everything works like a charm.
Thanks!
Comment 11 Jaroslav Pospisil 2005-12-09 10:12:39 UTC
VERIFIED