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 39150 - Deployment doesn't work on the 1st mounted web module (2 IDE running)
Summary: Deployment doesn't work on the 1st mounted web module (2 IDE running)
Status: CLOSED INVALID
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P2 blocker (vote)
Assignee: Pavel Buzek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-22 21:27 UTC by zikmund
Modified: 2004-01-23 21:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
2 exceptions NullPointer & UnsupportedOperationException (1.64 KB, text/plain)
2004-01-22 21:28 UTC, zikmund
Details
3 exceptions (2.86 KB, text/plain)
2004-01-23 20:17 UTC, zikmund
Details

Note You need to log in before you can comment on or make changes to this bug.
Description zikmund 2004-01-22 21:27:39 UTC
build 200401221900

How to reproduce:
1) Start IDE a new userdir (it's important!)
2) Create new web module and JSP in it
3) Execute (F6) that JSP
4) JSP: change a letter
5) Save
6) Execute (F6)
7) ERROR: 
Deployment Progress Monitor appears with this
error message:
"Deployment error: TomcatManager.redeploy not
supported yet.. see ide log.."

There are 2 exceptions on console ... see attachment.
Comment 1 zikmund 2004-01-22 21:28:24 UTC
Created attachment 13038 [details]
2 exceptions NullPointer & UnsupportedOperationException
Comment 2 Pavel Buzek 2004-01-23 18:15:17 UTC
target 3.6
Comment 3 Pavel Buzek 2004-01-23 19:51:48 UTC
I did the steps as described and I cannot reproduce this behavior.
I created a new module in subdirectory of the sampledir, then created
index.jsp in it, executed (F6) and then type letter "t", saved and hit
F6 again. It works.
J2eeserver was evidently trying to do full deployment rather then
incremental deployment as it should do but I have no way to tell why.
Pls check the server logs, ide log, etc for anything suspicious or add
more info. Can you reproduce this 100%?
Comment 4 zikmund 2004-01-23 20:16:33 UTC
OK it is 100% ... now you need 3 deployments (I don't know why) + I
noticed an exception occured and was hidden immediately. I will describe:

1) same Start IDE in a new userdir (+ close Welcome -- it's not
nesseccery I suppose)
2) Mount new empty local directory (new directory created in Browse
dialog which appears)
3) On mounted empty directory -- Invoke JSP wizard, press Finish
4) Execut (F6)
5) Wait until jsp appears in browser
6) Modify JSP (e.g. add "2" to the end of title) & save
7) Execut (F6)
8) NOTICE:
now appears shortly exception dialog and immediately is automatically
hidden (because of switch to browser)
EXCEPTION from console log attached
9) Modify JSP again, save
10) Deployment error described above appears.
3 exceptions in log now :-( ... see attachment

Notices:
- when I was testing it for the first report (yesterday) I noticed
that it works also with any web module mounted (not created) for the
new userdir BUT you needed 3 deployments. I'm sure that yesterday
failed every 2nd deployment for the new created web module -- today
you need 3 => I think it could be raise condition, but:
- whenever I tried it with clean IDE, it failed as described (maybe
6-8 times)
- it never happened to the next mounted/created web module

I can give you more information about system configuration etc., I'm
sure it fails here everytime.
Comment 5 zikmund 2004-01-23 20:17:37 UTC
Created attachment 13052 [details]
3 exceptions
Comment 6 zikmund 2004-01-23 21:05:05 UTC
Works only with 2 running IDEs sharing same standard tomcat port :-(.
sorry.
Comment 7 zikmund 2004-01-23 21:06:54 UTC
closing - too big workaround