You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openjpa.apache.org by Sai <cs...@yahoo.co.in> on 2008/06/18 02:34:51 UTC

openJPA provided by Geronimo2.1.1 to run on JDk6

currently our applications(webservices) running fine on JDK5, Geronimo 1.1.1
and OpenJPA-0.9.6.
Enhancing is done using maven plugin at build time.

We are planned to move to JDK6,Geronimo 2.1.1 (as geronimo has openjpa1.0.2
-planned to use the same).

I tried build webservice deployed on Geronimo.
When I put the request it says that ValueObj is not enhanced.posted the
stack trace as below.
Tried different ways to enhance but same issue.
Could any one advice how to enhance ,if we use openJPA at runtime given by
container.
Thanks  in advance.
Sai


INFO: WSSERVLET14: JAX-WS servlet initializing
17280.640: [GC [PSYoungGen: 51680K->940K(54976K)] 103983K->53680K(521024K),
0.04
75474 secs] [Times: user=0.02 sys=0.00, real=0.05 secs]
17-Jun-2008 8:05:44 PM abc.sun.xml.ws.server.sei.EndpointMethodHandler
invoke
SEVERE: The type "class abc.efg.hello.prog.vo.ValueObj" has not been enh
anced.; nested exception is <openjpa-1.0.2-r420667:627158 fatal user error>
org.
apache.openjpa.perhellotence.ArgumentException: The type "class
abc.efg.hello.bus
iness.vo.ValueObj" has not been enhanced.
org.springframework.dao.InvalidDataAccessApiUsageException: The type "class
abc.
efg.hello.prog.vo.ValueObj" has not been enhanced.; nested exception is
<openjpa-1.0.2-r420667:627158 fatal user error>
org.apache.openjpa.perhellotence.A
rgumentException: The type "class abc.efg.hello.prog.vo.ValueObj" has no
t been enhanced.
Caused by: <openjpa-1.0.2-r420667:627158 fatal user error>
org.apache.openjpa.pe
rhellotence.ArgumentException: The type "class
abc.efg.hello.prog.vo.ValueObj" has not been enhanced.
        at
org.apache.openjpa.meta.ClassMetaData.resolveMeta(ClassMetaData.java:
1639)
        at
org.apache.openjpa.meta.ClassMetaData.resolve(ClassMetaData.java:1613
)
        at
org.apache.openjpa.meta.MetaDataRepository.processBuffer(MetaDataRepo
sitory.java:675)
        at
org.apache.openjpa.meta.MetaDataRepository.resolveMeta(MetaDataReposi
tory.java:575)
        at
org.apache.openjpa.meta.MetaDataRepository.resolve(MetaDataRepository
.java:500)
        at
org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataReposi
tory.java:302)
        at
org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataReposi
-- 
View this message in context: http://www.nabble.com/openJPA-provided-by-Geronimo2.1.1-to-run-on-JDk6-tp17957484p17957484.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.