Closed glassfishrobot closed 14 years ago
@glassfishrobot Commented judytangs said: Raise to P2 based on SDK pteam decision, bug blocking sample to pass is P2
@glassfishrobot Commented msreddy said: requesting Rajiv's help
@glassfishrobot Commented jluehe said: "ant all" creates TestSharedLib1.jar, which contains the ServletContainerInitializer that is to be invoked, copies it to $
{javaee.home}
/lib, and restarts the domain. This step is missing when executing
ant compile ant package ant run
causing the sample to fail.
The "run" target should probably be modified to take care of creating and copying TestSharedLib1.jar.
@glassfishrobot Commented msreddy said: Requesting Hans' help.
@glassfishrobot Commented hans_hrasna said: started...
@glassfishrobot Commented hans_hrasna said: fixed the build script so the sequence "ant compile package run" works as requested:
diff -r1.4 build.xml
13c13,17
<
25d28 < 27c30 < — 70a74,77
@glassfishrobot Commented ap2257 said: Verified the fix in build 73.
@glassfishrobot Commented Was assigned to hans_hrasna
@glassfishrobot Commented This issue was imported from java.net JIRA GLASSFISH-11029
@glassfishrobot Commented Reported by ap2257
@glassfishrobot Commented Marked as fixed on Sunday, November 22nd 2009, 1:50:24 pm
This test scenario worked in prior builds
B72 - To reproduce the problem, start the server, and do the following:
$ cd/samples/javaee6/web/servlet/servletcontainerinitializer-war
$ ant compile
$ ant package
$ ant run
The following error is seen at http://localhost:8080//servletcontainerinitializer-war/SampleServlet
Error : ServletContainerInitializer never invoked
Everything works as before, if you run the following scenario $ cd/samples/javaee6/web/servlet/servletcontainerinitializer-war
$ ant all
Environment
Operating System: Mac OS X Platform: Macintosh
Affected Versions
[V3]