On Jan 29, 2009, at 3:45 PM, Ryan de Laplante wrote:
> Very cool! Can you show us these two files?
>
> src/main/assembly/src.xml
> src/main/assembly/glassfish.xml
>
See here:
https://jersey.dev.java.net/source/browse/jersey/trunk/jersey/samples/bookstore/src/main/assembly/
they just define ways create zip files of the samples to download,
like the following:
http://download.java.net/maven/2/com/sun/jersey/samples/bookstore/1.0.2-SNAPSHOT/bookstore-1.0.2-SNAPSHOT-project.zip
> Is there documentation on using GlassFish embedded in Maven?
>
All i know about are the following:
https://embedded-glassfish.dev.java.net/gf-embedded-api/
https://embedded-glassfish.dev.java.net/nonav/gf-embedded-api/
apidocs/
> Will GlassFish embedded one day live in the central Maven repo? No
> projects in the central maven repo are allowed to add external
> repositories, so none of them will be able to use the embedded
> GlassFish unless it is in there. However, embedded GlassFish also
> can't so depend on external repositories so this may be impossible.
>
I dunno.
Paul.
>
> Thanks,
> Ryan
>
>
>
> Paul Sandoz wrote:
>> Hi,
>>
>> It looks like latest embedded GlassFish is now working with maven
>> and glassfish:run. Fantastic!!
>>
>> But i am running into some issues with JSPs and JSTL.
>>
>> For the Jersey bookstore example we have developed some unit tests
>> and i have been experimenting with the latest GlassFish bits.
>> Everything seems to work fine when the tests are executed by the
>> sure-fire maven plugin. However, when i run the application using
>> glassfish:run i get errors when the application attempts to forward
>> a request to a JSP, such as:
>>
>> SEVERE: ApplicationDispatcher[/bookstore] PWC1231:
>> Servlet.service() for servlet jsp threw exception
>> org.apache.jasper.JasperException: /com/sun/jersey/samples/
>> bookstore/resources/Bookstore/index.jsp(4,60) PWC6188:
>> The absolute uri: http://java.sun.com/jsp/jstl/core cannot be
>> resolved in either web.xml or the jar files deployed with this
>> application
>>
>> I have attached the complete pom file and also the output from mvn -
>> X glassfish:run.
>>
>> If i can resolve this then i suspect we can move over all the
>> Jersey samples to use the latest embedded GlassFish bits for unit
>> testing and execution.
>>
>> Any help would be much appreciated, thanks,
>> Paul.
>>
>>
>> ------------------------------------------------------------------------
>>
>>
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>