quality@glassfish.java.net

Re: Spring source application on V3

From: Elena Asarina <Elena.Asarina_at_Sun.COM>
Date: Fri, 04 Sep 2009 15:03:09 -0700

Hello Ming,

The spring application that I'm using doesn't have a persistence unit
and was deployed to b62 without any issues.

Elena

Ming Zhang wrote:

> Hi Elena,
>
> Do you have persistence unit in your spring application? The exception
> in my case is related to JPA:
>
> [#|2009-08-18T19:30:25.187-0700|SEVERE|glassfish|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=30;_ThreadName=Thread-2;|Exception
> while invoking class org.glassfish.persistence.jpa.JPADeployer prepare
> method
> java.lang.RuntimeException: The persistence-context-ref-name
> [org.springframework.samples.petclinic.jpa.EntityManagerClinic/em] in
> module [petclinic] resolves to a persistence unit called [PetClinic]
> which is of type RESOURCE_LOCAL. Only persistence units with
> transaction type JTA can be used as a container managed entity
> manager. Please verify your application.
> at
> com.sun.enterprise.deployment.BundleDescriptor.findReferencedPUsViaPCRefs(BundleDescriptor.java:646)
>
> at
> com.sun.enterprise.deployment.WebBundleDescriptor.findReferencedPUs(WebBundleDescriptor.java:865)
>
> at
> org.glassfish.persistence.jpa.JPADeployer.prepare(JPADeployer.java:100)
>
> Thanks,
> Ming
>
> Elena Asarina wrote:
>
>> Hello Ming,
>>
>> I've excluded a sprint application (sprint-annotations.war) from the
>> automatic deployment test, because the size of these archive is too
>> big and after several deployment actions it crashes or delays or
>> hangs up appserver.
>>
>> I'm deploying this application, when I'm executing manual deployment
>> test cases. I did not execute manual deployment test cases for b59.
>>
>> Thank you,
>>
>> Elena
>>
>> Ming Zhang wrote:
>>
>>> Greetings,
>>>
>>> I tried to deploy a spring source app to v3 promoted b59 and run
>>> into some issues during the deployment:
>>> https://glassfish.dev.java.net/issues/show_bug.cgi?id=9201
>>> The same app worked on the Java preview build (b47d).
>>>
>>> I remember there were some discussions about deploying spring source
>>> apps on V3 in this alias. Has anyone here tried to run spring app on
>>> recent v3 build? If you have, can you share your experience?
>>>
>>> Thanks,
>>> Ming
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>