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 178723

Summary: View Servlet Action doesn't work in Maven WebApp on glassfish V3
Product: serverplugins Reporter: Jindrich Sedek <jsedek>
Component: GlassFishAssignee: Vince Kraemer <vkraemer>
Status: VERIFIED FIXED    
Severity: normal CC: pjiricka
Priority: P2    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Jindrich Sedek 2009-12-16 03:43:34 UTC
Create new Maven Web Application using wizard
invoke Run Project or Run File at index.jsp
invoke View Servlet -> You must run the JSP page first message is show, but the page is running and it's open in browser

It seems to work well on tomcat and in ant web project as well
Comment 1 Milos Kleint 2009-12-21 02:04:05 UTC
the view servlet action is not implemented in maven support, reassigning. please evaluate why it works in ant and not in maven
Comment 2 Petr Jiricka 2010-03-02 10:01:51 UTC
This is a problem in org.netbeans.modules.glassfish.javaee.FindJSPServletImpl. If I have a project called mavenproject2, then the getServletTempDirectory() method returns ".../domains/domain1/generated/jsp/mavenproject2" as the root for servlet classes. However, in reality GlassFish places the generated servlets under ".../domains/domain1/generated/jsp/com.mycompany_mavenproject2_war_1.0-SNAPSHOT". But I have no idea how the server determined this name.
Comment 3 Quality Engineering 2010-03-03 03:42:29 UTC
Integrated into 'main-golden', will be available in build *201003031127* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/1a68a5c37586
User: Vince Kraemer <vkraemer@netbeans.org>
Log: #178723: support View Servlet for Maven web apps deployed onto v3
Comment 4 Vince Kraemer 2010-03-03 09:56:11 UTC
in trunk
Comment 5 Jindrich Sedek 2010-03-16 15:26:47 UTC
I'm still facing the same problem - View Servlet still doesn't work for me in Maven projects
NetBeans IDE Dev (Build 201003150200)
Comment 6 Vince Kraemer 2010-03-16 17:13:52 UTC
please attach a sample project that demonstrates the problem and reopen
Comment 7 Jindrich Sedek 2010-04-06 09:24:05 UTC
looks like working now