I'm using Appfuse 2.0.2 and I tried reverse embedding Winstone using the winstone maven plugin. <plugin> <groupId>net.sf.alchim</groupId> <artifactId>winstone-maven-plugin</artifactId> <dependencies> <dependency> <groupId>net.sourceforge.winstone</groupId> <artifactId>winstone</artifactId> <version>0.9.10</version> </dependency> </dependencies> <executions> <execution> <goals> <goal>embed</goal> </goals> <phase>package</phase> </execution> </executions> <configuration> <cmdLineOptions> <property> <name>httpPort</name> <value>8080</value> </property> <property> <name>ajp13Port</name> <value>-1</value> </property> <property> <name>controlPort</name> <value>-1</value> </property> <property> <name>directoryListings</name> <value>false</value> </property> <property> <name>useInvoker</name> <value>false</value> </property> <property> <name>debug</name> <value>7</value> </property> <property> <name>useJasper</name> <value>true</value> </property> </cmdLineOptions> </configuration> </plugin>
This is what I get when I point my browser to the app: java.lang.NullPointerException at java.lang.String.startsWith(String.java:1422) at java.lang.String.startsWith(String.java:1451) at org.springframework.web.util.UrlPathHelper.getPathWithinServletMapping(UrlPathHelper.java:163) at org.springframework.web.util.UrlPathHelper.getLookupPathForRequest(UrlPathHelper.java:140) at org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.getHandlerInternal(AbstractUrlHandlerMapping.java:159) at org.springframework.web.servlet.handler.AbstractHandlerMapping.getHandler(AbstractHandlerMapping.java:184) at org.springframework.web.servlet.DispatcherServlet.getHandler(DispatcherServlet.java:1048) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:854) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501) at javax.servlet.http.HttpServlet.service(HttpServlet.java:104) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:249) at winstone.RequestDispatcher.forward(RequestDispatcher.java:335) at com.cds.hd.webapp.filter.StaticFilter.doFilterInternal(StaticFilter.java:102) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at net.sf.ehcache.constructs.web.filter.GzipFilter.doFilter(GzipFilter.java:75) at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:92) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at java.lang.Thread.run(Thread.java:619) I tried debugging by setting a breakpoint at org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.getHandlerInternal(AbstractUrlHandlerMapping.java:159) When using jetty, I never get there until I've logged in, however with winstone, I get there before I even get the login page. Has anyone tried integrating winstone with Appfuse 2.0.2? -- View this message in context: http://www.nabble.com/Winstone-with-Appfuse-2.0.2-tp24275815s2369p24275815.html Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net For additional commands, e-mail: users-h...@appfuse.dev.java.net