How are you starting geronimo? If you use gshell (e.g. bin/gsh
geronimo/start-server) the runtime enhancer should be working fine.
That said I would recommend build-time enhancement anyway. Is there
some reason you stopped build-time enhancement?
thanks
david jencks
On Jun 17, 2008, at 5:47 PM, Sai wrote:
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 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
org.apache.openjpa.perhellotence.A
rgumentException: The type "class abc.efg.hello.prog.vo.ValueObj"
has no
t been enhanced.
Caused by:
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-tp17957616s134p17957616.html
Sent from the Apache Geronimo - Users mailing list archive at
Nabble.com.