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 203711 - Servlet metadata is not deployed correctly to WebLogic after creating a servlet
Summary: Servlet metadata is not deployed correctly to WebLogic after creating a servlet
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: WebLogic (show other bugs)
Version: 7.1
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-14 11:38 UTC by Petr Jiricka
Modified: 2011-11-03 15:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2011-10-14 11:38:22 UTC
1. Create a new Java EE web application with WebLogic target (I am using the latest internal build of WebLogic)
2. Deploy the application - browser will be opened with the index.jsp page
3. Create a new servlet - you will see that the servlet is deployed in the background (progress bar appears for a while)
4. Access the servlet URL in the browser 
=> HTTP error code 404 is returned, BUG

It looks like the servlet annotation is not processed correctly on redeployment in the background. Note that code itself it redeployed correcty, because if you do:
5. Deploy the application using the IDE's deploy button
6. Access the servlet URL in the browser => now works correctly
7. Modify the servlet code and save, refresh the browser => the modification appears correctly
Comment 1 Petr Hejl 2011-10-14 12:40:13 UTC
Fast swap issue on WL side, I guess. I'll evaluate.
Comment 2 Petr Hejl 2011-11-02 16:08:15 UTC
Fixed in web-main f2d632d9c3dd.

This should fix this issue and improve the fast swap in general.
Comment 3 Quality Engineering 2011-11-03 15:36:04 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/f2d632d9c3dd
User: Petr Hejl <phejl@netbeans.org>
Log: #203711 Servlet metadata is not deployed correctly to WebLogic after creating a servlet