Just FYI,
I also tried using the static weaving workaround suggested and it made
no difference in the outcome. I can see that the classes used for
persistence from the persistence.xml changed in byte size and are
larger in size but the outcome is the same.
Here is the ant task I added. I made sure there was
META-INF\persistence.xml in the current directory since persistenceinfo
points to the location of persistence.xml. I then compared the classes
versus the original classes and could see the weaved classes were
larger in size. I then verified the jar file contained the weaved
classses and that the jar file was indeed the same one inside the WAR
file.
<target name="run-weaver">
<taskdef name="weave"
classname="org.eclipse.persistence.tools.weaving.jpa.StaticWeaveAntTask">
<classpath>
<pathelement
path="../3rdparty_jars/javax.persistence_1.0.0.jar"/>
<pathelement
path="../3rdparty_jars/eclipselink_1.2.jar"/>
<pathelement path="etc/persistence_1_0.xsd"/>
</classpath>
</taskdef>
<!-- process the weaving function, persistenceInfo references
persistence.xml -->
<weave source="build/classes"
target="build/weaved_classes"
persistenceinfo="."
loglevel="FINEST">
</weave>
This brings a question I have about weaving; Even if this would have
fixed the issue, which it did not, if static weaving is required later
for any reason, doesn't that mean that we are really instrumenting the
code ourselves? I apologize if this question seem kind of basic but
what I am trying to determine is if I would then be forced to do
instrumentation for each target platform and jvm for each customer?
Anyway, I also tried moving the eclipselink_1.2.jar into the
server\default\lib directory and the common\lib directory from the
original location (DMWS.war\WEB-INF\lib) to see if it made a difference
with the MalformedURLException and it did not. So I am eagerly
awaiting your comments on how to resolve this. I can also provide a
test case if you need it but you will need to have your own Oracle 11g
db and run a couple of sql scripts to setup the tables first.
Thanks,
Joe
On 2/12/2010 8:16 PM, carl roberts wrote:
Hi Michael,
I am afraid I am not out of the woods yet. It would seem I
have
gotten past the initial errors on JBOSS 5.1.0 but now I am running into
this. I am not sure if it has to anything to do with Weaving or not
but I am getting a MalformedURLException when processing
persistence.xml.
I think the BaseClassLoader cannot find it but I am not sure. Reason I
am stating this is that I run FileMon.exe on the jboss java process and
I could see where it looked for persistence.xml file a second time and
kept issuing the NOT FOUND error. Can you please tell me how to
resolve this (I am attaching my persistence.xml file just in case).
PS: I tried including the xsd referenced in the persistence.xml
locally to see if it resolved the error but the result was the same
(attached is also the xsd, which resides on the same
WEB-INF\classes\META-INF directory of the war where persistence.xml
file is located).
20:07:32,109 INFO [TomcatDeployment] deploy, ctxPath=/admin-console
20:07:32,234 INFO [config] Initializing Mojarra (1.2_12-b01-FCS) for
context '/admin-console'
20:07:36,078 INFO [PersistenceUnitDeployment] Starting persistence
unit persistence.unit:unitName=#ContextPersistence
20:07:36,437 INFO [STDOUT] [EL Warning]: 2010-02-12
20:07:36.421--Thread(Thread[main,5,jboss])--The temporary classLoader
for PersistenceLoadProcessor [ContextPersistenc
e] is not available. Switching classLoader to
[BaseClassLoader@101dfa5{vfszip:/C:/java/jboss-5.1.0.GA/server/default/deploy/DMWS.war/}].
Weaving has been disabled for t
his session. EclipseLink may be unable to get a spec mandated temporary
class loader from the server, you may be able to use static weaving as
an optional workaround.
20:07:36,468 INFO [STDOUT] [EL Finest]: 2010-02-12
20:07:36.437--ServerSession(22232282)--Thread(Thread[main,5,jboss])--Begin
predeploying Persistence Unit ContextPersis
tence; state Initial; factoryCount 0
20:07:36,468 INFO [STDOUT] [EL Finest]: 2010-02-12
20:07:36.468--ServerSession(22232282)--Thread(Thread[main,5,jboss])--property=eclipselink.orm.throw.exceptions;
defaul
t value=true
20:07:36,500 INFO [STDOUT] [EL Finer]: 2010-02-12
20:07:36.5--ServerSession(22232282)--Thread(Thread[main,5,jboss])--Searching
for default mapping file in vfszip:/C:/jav
a/jboss-5.1.0.GA/server/default/deploy/DMWS.war/WEB-INF/classes/
20:07:36,578 INFO [STDOUT] [EL Finer]: 2010-02-12
20:07:36.578--ServerSession(22232282)--Thread(Thread[main,5,jboss])--Searching
for default mapping file in vfszip:/C:/j
ava/jboss-5.1.0.GA/server/default/deploy/DMWS.war/WEB-INF/classes/
20:07:36,796 INFO [STDOUT] [EL Config]: 2010-02-12
20:07:36.796--ServerSession(22232282)--Thread(Thread[main,5,jboss])--The
access type for the persistent class [class o
racle.documaker.config.db.AppConfigContext] is set to [FIELD].
20:07:38,062 INFO [STDOUT] [EL Config]: 2010-02-12
20:07:38.062--ServerSession(22232282)--Thread(Thread[main,5,jboss])--The
access type for the persistent class [class o
racle.documaker.config.db.ALConfigContext] is set to [FIELD].
20:07:38,062 INFO [STDOUT] [EL Config]: 2010-02-12
20:07:38.062--ServerSession(22232282)--Thread(Thread[main,5,jboss])--The
access type for the persistent class [class o
racle.documaker.config.db.SysConfigContext] is set to [FIELD].
20:07:38,062 INFO [STDOUT] [EL Config]: 2010-02-12
20:07:38.062--ServerSession(22232282)--Thread(Thread[main,5,jboss])--The
alias name for the entity class [class oracle
.documaker.config.db.AppConfigContext] is being defaulted to:
AppConfigContext.
20:07:38,078 INFO [STDOUT] [EL Config]: 2010-02-12
20:07:38.078--ServerSession(22232282)--Thread(Thread[main,5,jboss])--The
table name for entity [class oracle.documaker
.config.db.AppConfigContext] is being defaulted to: APPCONFIGCONTEXT.
20:07:38,125 INFO [STDOUT] [EL Config]: 2010-02-12
20:07:38.125--ServerSession(22232282)--Thread(Thread[main,5,jboss])--The
alias name for the entity class [class oracle
.documaker.config.db.ALConfigContext] is being defaulted to:
ALConfigContext.
20:07:38,125 INFO [STDOUT] [EL Config]: 2010-02-12
20:07:38.125--ServerSession(22232282)--Thread(Thread[main,5,jboss])--The
table name for entity [class oracle.documaker
.config.db.ALConfigContext] is being defaulted to: ALCONFIGCONTEXT.
20:07:38,125 INFO [STDOUT] [EL Config]: 2010-02-12
20:07:38.125--ServerSession(22232282)--Thread(Thread[main,5,jboss])--The
alias name for the entity class [class oracle
.documaker.config.db.SysConfigContext] is being defaulted to:
SysConfigContext.
20:07:38,125 INFO [STDOUT] [EL Config]: 2010-02-12
20:07:38.125--ServerSession(22232282)--Thread(Thread[main,5,jboss])--The
table name for entity [class oracle.documaker
.config.db.SysConfigContext] is being defaulted to: SYSCONFIGCONTEXT.
20:07:38,125 INFO [STDOUT] [EL Finest]: 2010-02-12
20:07:38.125--ServerSession(22232282)--Thread(Thread[main,5,jboss])--End
predeploying Persistence Unit ContextPersiste
nce; state Predeployed; factoryCount 1
20:07:38,593 INFO [DefaultEndpointRegistry] register:
jboss.ws:context=DMWS,endpoint=CompositionService
20:07:38,593 INFO [DefaultEndpointRegistry] register:
jboss.ws:context=DMWS,endpoint=PublishingService
20:07:38,593 INFO [DefaultEndpointRegistry] register:
jboss.ws:context=DMWS,endpoint=CompositionServiceSoap12
20:07:38,593 INFO [DefaultEndpointRegistry] register:
jboss.ws:context=DMWS,endpoint=PublishingServiceSoap12
20:07:40,968 INFO [TomcatDeployment] deploy, ctxPath=/DMWS
20:07:42,203 WARN [JBossEntityResolver] Trying to resolve systemId as
a non-file URL:
vfszip:/C:/java/jboss-5.1.0.GA/server/default/deploy/DMWS.war/WEB-INF/wsdl/Composit
ionServices.xsd
20:07:42,218 WARN [JBossEntityResolver] Trying to resolve systemId as
a non-file URL:
vfszip:/C:/java/jboss-5.1.0.GA/server/default/deploy/DMWS.war/WEB-INF/wsdl/common.x
sd
20:07:42,437 WARN [JBossEntityResolver] Trying to resolve systemId as
a non-file URL:
vfszip:/C:/java/jboss-5.1.0.GA/server/default/deploy/DMWS.war/WEB-INF/wsdl/common.x
sd
20:07:42,437 WARN [JBossEntityResolver] Trying to resolve systemId as
a non-file URL:
vfszip:/C:/java/jboss-5.1.0.GA/server/default/deploy/DMWS.war/WEB-INF/wsdl/Composit
ionServices.xsd
20:07:42,484 WARN [WSDL11Reader] UsingAddressing extensibility element
not supported yet.
20:07:42,500 WARN [WSDL11Reader] UsingAddressing extensibility element
not supported yet.
20:07:43,093 WARN [JBossEntityResolver] Trying to resolve systemId as
a non-file URL:
vfszip:/C:/java/jboss-5.1.0.GA/server/default/deploy/DMWS.war/WEB-INF/wsdl/Composit
ionServices.xsd
20:07:43,109 WARN [JBossEntityResolver] Trying to resolve systemId as
a non-file URL:
vfszip:/C:/java/jboss-5.1.0.GA/server/default/deploy/DMWS.war/WEB-INF/wsdl/common.x
sd
20:07:43,140 WARN [JBossEntityResolver] Trying to resolve systemId as
a non-file URL:
vfszip:/C:/java/jboss-5.1.0.GA/server/default/deploy/DMWS.war/WEB-INF/wsdl/common.x
sd
20:07:43,140 WARN [JBossEntityResolver] Trying to resolve systemId as
a non-file URL:
vfszip:/C:/java/jboss-5.1.0.GA/server/default/deploy/DMWS.war/WEB-INF/wsdl/Composit
ionServices.xsd
20:07:43,171 WARN [WSDL11Reader] UsingAddressing extensibility element
not supported yet.
20:07:43,171 WARN [WSDL11Reader] UsingAddressing extensibility element
not supported yet.
20:07:43,281 WARN [JBossEntityResolver] Trying to resolve systemId as
a non-file URL:
vfszip:/C:/java/jboss-5.1.0.GA/server/default/deploy/DMWS.war/WEB-INF/wsdl/Publishi
ngServices.xsd
20:07:43,296 WARN [JBossEntityResolver] Trying to resolve systemId as
a non-file URL:
vfszip:/C:/java/jboss-5.1.0.GA/server/default/deploy/DMWS.war/WEB-INF/wsdl/common.x
sd
20:07:43,296 WARN [JBossEntityResolver] Trying to resolve systemId as
a non-file URL:
vfszip:/C:/java/jboss-5.1.0.GA/server/default/deploy/DMWS.war/WEB-INF/wsdl/job.xsd
20:07:43,296 WARN [JBossEntityResolver] Trying to resolve systemId as
a non-file URL:
vfszip:/C:/java/jboss-5.1.0.GA/server/default/deploy/DMWS.war/WEB-INF/wsdl/common.x
sd
20:07:43,312 WARN [JBossEntityResolver] Trying to resolve systemId as
a non-file URL:
vfszip:/C:/java/jboss-5.1.0.GA/server/default/deploy/DMWS.war/WEB-INF/wsdl/common.x
sd
20:07:43,312 WARN [JBossEntityResolver] Trying to resolve systemId as
a non-file URL:
vfszip:/C:/java/jboss-5.1.0.GA/server/default/deploy/DMWS.war/WEB-INF/wsdl/Publishi
ngServices.xsd
20:07:43,328 WARN [JBossEntityResolver] Trying to resolve systemId as
a non-file URL:
vfszip:/C:/java/jboss-5.1.0.GA/server/default/deploy/DMWS.war/WEB-INF/wsdl/job.xsd
20:07:43,343 WARN [WSDL11Reader] UsingAddressing extensibility element
not supported yet.
20:07:43,343 WARN [WSDL11Reader] UsingAddressing extensibility element
not supported yet.
20:07:43,437 WARN [JBossEntityResolver] Trying to resolve systemId as
a non-file URL:
vfszip:/C:/java/jboss-5.1.0.GA/server/default/deploy/DMWS.war/WEB-INF/wsdl/Publishi
ngServices.xsd
20:07:43,453 WARN [JBossEntityResolver] Trying to resolve systemId as
a non-file URL:
vfszip:/C:/java/jboss-5.1.0.GA/server/default/deploy/DMWS.war/WEB-INF/wsdl/common.x
sd
20:07:43,453 WARN [JBossEntityResolver] Trying to resolve systemId as
a non-file URL:
vfszip:/C:/java/jboss-5.1.0.GA/server/default/deploy/DMWS.war/WEB-INF/wsdl/job.xsd
20:07:43,453 WARN [JBossEntityResolver] Trying to resolve systemId as
a non-file URL:
vfszip:/C:/java/jboss-5.1.0.GA/server/default/deploy/DMWS.war/WEB-INF/wsdl/common.x
sd
20:07:43,468 WARN [JBossEntityResolver] Trying to resolve systemId as
a non-file URL:
vfszip:/C:/java/jboss-5.1.0.GA/server/default/deploy/DMWS.war/WEB-INF/wsdl/common.x
sd
20:07:43,468 WARN [JBossEntityResolver] Trying to resolve systemId as
a non-file URL:
vfszip:/C:/java/jboss-5.1.0.GA/server/default/deploy/DMWS.war/WEB-INF/wsdl/Publishi
ngServices.xsd
20:07:43,484 WARN [JBossEntityResolver] Trying to resolve systemId as
a non-file URL:
vfszip:/C:/java/jboss-5.1.0.GA/server/default/deploy/DMWS.war/WEB-INF/wsdl/job.xsd
20:07:43,562 WARN [WSDL11Reader] UsingAddressing extensibility element
not supported yet.
20:07:43,562 WARN [WSDL11Reader] UsingAddressing extensibility element
not supported yet.
20:07:43,828 WARN [JBossEntityResolver] Trying to resolve systemId as
a non-file URL:
vfszip:/C:/java/jboss-5.1.0.GA/server/default/deploy/DMWS.war/WEB-INF/wsdl/Composit
ionServices.xsd
20:07:43,859 WARN [JBossEntityResolver] Trying to resolve systemId as
a non-file URL:
vfszip:/C:/java/jboss-5.1.0.GA/server/default/deploy/DMWS.war/WEB-INF/wsdl/common.x
sd
20:07:43,875 WARN [JBossEntityResolver] Trying to resolve systemId as
a non-file URL:
vfszip:/C:/java/jboss-5.1.0.GA/server/default/deploy/DMWS.war/WEB-INF/wsdl/common.x
sd
20:07:43,875 WARN [JBossEntityResolver] Trying to resolve systemId as
a non-file URL:
vfszip:/C:/java/jboss-5.1.0.GA/server/default/deploy/DMWS.war/WEB-INF/wsdl/Composit
ionServices.xsd
20:07:43,890 WARN [WSDL11Reader] UsingAddressing extensibility element
not supported yet.
20:07:43,890 WARN [WSDL11Reader] UsingAddressing extensibility element
not supported yet.
20:07:44,062 WARN [JBossEntityResolver] Trying to resolve systemId as
a non-file URL:
vfszip:/C:/java/jboss-5.1.0.GA/server/default/deploy/DMWS.war/WEB-INF/wsdl/Publishi
ngServices.xsd
20:07:44,062 WARN [JBossEntityResolver] Trying to resolve systemId as
a non-file URL:
vfszip:/C:/java/jboss-5.1.0.GA/server/default/deploy/DMWS.war/WEB-INF/wsdl/common.x
sd
20:07:44,078 WARN [JBossEntityResolver] Trying to resolve systemId as
a non-file URL:
vfszip:/C:/java/jboss-5.1.0.GA/server/default/deploy/DMWS.war/WEB-INF/wsdl/job.xsd
20:07:44,078 WARN [JBossEntityResolver] Trying to resolve systemId as
a non-file URL:
vfszip:/C:/java/jboss-5.1.0.GA/server/default/deploy/DMWS.war/WEB-INF/wsdl/common.x
sd
20:07:44,093 WARN [JBossEntityResolver] Trying to resolve systemId as
a non-file URL:
vfszip:/C:/java/jboss-5.1.0.GA/server/default/deploy/DMWS.war/WEB-INF/wsdl/common.x
sd
20:07:44,093 WARN [JBossEntityResolver] Trying to resolve systemId as
a non-file URL:
vfszip:/C:/java/jboss-5.1.0.GA/server/default/deploy/DMWS.war/WEB-INF/wsdl/Publishi
ngServices.xsd
20:07:44,093 WARN [JBossEntityResolver] Trying to resolve systemId as
a non-file URL:
vfszip:/C:/java/jboss-5.1.0.GA/server/default/deploy/DMWS.war/WEB-INF/wsdl/job.xsd
20:07:44,109 WARN [WSDL11Reader] UsingAddressing extensibility element
not supported yet.
20:07:44,109 WARN [WSDL11Reader] UsingAddressing extensibility element
not supported yet.
20:07:44,484 INFO [WSDLFilePublisher] WSDL published to:
file:/C:/java/jboss-5.1.0.GA/server/default/data/wsdl/DMWS.war/CompositionServices.wsdl
20:07:44,531 INFO [WSDLFilePublisher] WSDL published to:
file:/C:/java/jboss-5.1.0.GA/server/default/data/wsdl/DMWS.war/PublishingServices.wsdl
20:07:44,578 INFO [WSDLFilePublisher] WSDL published to:
file:/C:/java/jboss-5.1.0.GA/server/default/data/wsdl/DMWS.war/CompositionServices.wsdl
20:07:44,625 INFO [WSDLFilePublisher] WSDL published to:
file:/C:/java/jboss-5.1.0.GA/server/default/data/wsdl/DMWS.war/PublishingServices.wsdl
20:07:44,750 INFO [TomcatDeployment] deploy, ctxPath=/
20:07:44,875 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console
20:07:45,062 INFO [TomcatDeployment] deploy, ctxPath=/test
20:07:45,156 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on
http-127.0.0.1-8080
20:07:45,203 INFO [AjpProtocol] Starting Coyote AJP/1.3 on
ajp-127.0.0.1-8009
20:07:45,203 INFO [ServerImpl] JBoss (Microcontainer) [5.1.0.GA
(build: SVNTag=JBoss_5_1_0_GA date=200905221634)] Started in
1m:27s:594ms
20:07:56,531 INFO [STDOUT] 2010-02-12 20:07:56,531 DEBUG
LoggingHandler :*****LoggingHandler Input Message:
20:07:56,593 INFO [STDOUT] 2010-02-12 20:07:56,593 DEBUG
LoggingHandler :
<tns:DoCallIDSRequest
xmlns:tns="oracle/documaker/schema/ws/composition"
xmlns:cmn="oracle/documaker/schema/common"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi
="http://www.w3.org/2001/XMLSchema-instance"
schemaVersion="1.0">
<tns:DSIMSG>
<tns:MSGVARS>
<tns:VAR NAME="reqtype">sss</tns:VAR>
</tns:MSGVARS>
</tns:DSIMSG>
</tns:DoCallIDSRequest>
20:07:56,625 INFO [STDOUT] 2010-02-12 20:07:56,625 DEBUG
CompositionService
:org.jboss.web.tomcat.service.WebCtxLoader$ENCLoader@12cbf47
20:07:56,640 INFO [STDOUT] 2010-02-12 20:07:56,640 DEBUG Proxy
:org.jboss.web.tomcat.service.WebCtxLoader$ENCLoader@12cbf47
20:07:56,890 INFO [STDOUT] 2010-02-12 20:07:56,890 DEBUG
CompositionService
:*****oracle.documaker.ws.server.CompositionServiceSoap11Impl - Calling
doCallIDS.
20:07:56,906 INFO [STDOUT] 2010-02-12 20:07:56,906 DEBUG Proxy
:*****VARS*****
20:07:56,906 INFO [STDOUT] 2010-02-12 20:07:56,906 DEBUG Proxy
:reqtype=<sss>
20:07:56,906 INFO [STDOUT] 2010-02-12 20:07:56,906 DEBUG
DMWSConfiguration :useJNDI=<true>
20:07:56,906 INFO [STDOUT] 2010-02-12 20:07:56,906 DEBUG
DMWSConfiguration :props=<{system.id=1, assemblyline.id=1}>
20:07:56,906 INFO [STDOUT] 2010-02-12 20:07:56,906 DEBUG
DataSourceConfigurationFactory :************DataSource Configuration
Factory Properties**************
20:07:56,906 INFO [STDOUT] 2010-02-12 20:07:56,906 DEBUG
DataSourceConfigurationFactory :assemblyline.id=<1>
20:07:56,906 INFO [STDOUT] 2010-02-12 20:07:56,906 DEBUG
DataSourceConfigurationFactory :system.id=<1>
20:07:56,906 INFO [STDOUT] 2010-02-12 20:07:56,906 DEBUG
DataSourceConfigurationFactory
:*********************************************************************
20:07:57,265 INFO [Version] Hibernate Annotations 3.4.0.GA
20:07:57,312 INFO [Environment] Hibernate 3.3.1.GA
20:07:57,328 INFO [Environment] hibernate.properties not found
20:07:57,328 INFO [Environment] Bytecode provider name : javassist
20:07:57,343 INFO [Environment] using JDK 1.4 java.sql.Timestamp
handling
20:07:57,593 INFO [Version] Hibernate Commons Annotations 3.1.0.GA
20:07:57,609 INFO [Version] Hibernate EntityManager 3.4.0.GA
20:07:57,765 INFO [STDOUT] [EL Finer]: 2010-02-12
20:07:57.765--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--JavaSECMPInitializer
- initializing org.eclipse.persistenc
e.internal.jpa.deployment.JarInputStreamURLArchive@ef4c18.
20:07:57,796 INFO [STDOUT] 2010-02-12 20:07:57,796 ERROR Proxy :Local
Exception Stack:
Exception [EclipseLink-30005] (Eclipse Persistence Services -
1.2.0.v20091016-r5565):
org.eclipse.persistence.exceptions.PersistenceUnitLoadingException
Exception Description: An exception was thrown while searching for
persistence archives with ClassLoader:
BaseClassLoader@101dfa5{vfszip:/C:/java/jboss-5.1.0.GA/server/de
fault/deploy/DMWS.war/}
Internal Exception: Exception [EclipseLink-30004] (Eclipse Persistence
Services - 1.2.0.v20091016-r5565):
org.eclipse.persistence.exceptions.PersistenceUnitLoadingExcepti
on
Exception Description: An exception was thrown while processing
persistence.xml from URL:
vfszip:/C:/java/jboss-5.1.0.GA/server/default/deploy/DMWS.war/WEB-INF/classes/
Internal Exception: java.net.MalformedURLException
at
org.eclipse.persistence.exceptions.PersistenceUnitLoadingException.exceptionSearchingForPersistenceResources(PersistenceUnitLoadingException.java:123)
at
org.eclipse.persistence.jpa.PersistenceProvider.createEntityManagerFactory(PersistenceProvider.java:133)
at
org.eclipse.persistence.jpa.PersistenceProvider.createEntityManagerFactory(PersistenceProvider.java:67)
at
javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:52)
at
javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:34)
at
oracle.documaker.config.db.DataSourceConfiguration.<init>(DataSourceConfiguration.java:28)
at
oracle.documaker.config.db.DataSourceConfigurationFactory.getConfiguration(DataSourceConfigurationFactory.java:38)
at
oracle.documaker.ws.config.DMWSConfiguration.getConfiguration(DMWSConfiguration.java:67)
at oracle.documaker.ws.ids.Proxy.getProperties(Proxy.java:93)
at oracle.documaker.ws.ids.Proxy.parseProperties(Proxy.java:213)
at oracle.documaker.ws.ids.Proxy.doCallIDS(Proxy.java:121)
at
oracle.documaker.ws.server.CompositionService.doCallIDS(CompositionService.java:110)
at
oracle.documaker.ws.server.CompositionServiceSoap11Impl.doCallIDS(CompositionServiceSoap11Impl.java:58)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.jboss.wsf.container.jboss50.invocation.InvocationHandlerJSE.invoke(InvocationHandlerJSE.java:108)
at
org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:222)
at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:474)
at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:295)
at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:205)
at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:131)
at
org.jboss.wsf.common.servlet.AbstractEndpointServlet.service(AbstractEndpointServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Caused by: Exception [EclipseLink-30004] (Eclipse Persistence Services
- 1.2.0.v20091016-r5565):
org.eclipse.persistence.exceptions.PersistenceUnitLoadingException
Exception Description: An exception was thrown while processing
persistence.xml from URL:
vfszip:/C:/java/jboss-5.1.0.GA/server/default/deploy/DMWS.war/WEB-INF/classes/
Internal Exception: java.net.MalformedURLException
at
org.eclipse.persistence.exceptions.PersistenceUnitLoadingException.exceptionProcessingPersistenceXML(PersistenceUnitLoadingException.java:114)
at
org.eclipse.persistence.internal.jpa.deployment.PersistenceUnitProcessor.processPersistenceXML(PersistenceUnitProcessor.java:413)
at
org.eclipse.persistence.internal.jpa.deployment.PersistenceUnitProcessor.processPersistenceArchive(PersistenceUnitProcessor.java:370)
at
org.eclipse.persistence.internal.jpa.deployment.PersistenceUnitProcessor.getPersistenceUnits(PersistenceUnitProcessor.java:279)
at
org.eclipse.persistence.internal.jpa.deployment.JPAInitializer.initPersistenceUnits(JPAInitializer.java:155)
at
org.eclipse.persistence.internal.jpa.deployment.JPAInitializer.initialize(JPAInitializer.java:144)
at
org.eclipse.persistence.jpa.PersistenceProvider.createEntityManagerFactory(PersistenceProvider.java:105)
... 43 more
Caused by: java.net.MalformedURLException
at java.net.URL.<init>(URL.java:601)
at java.net.URL.<init>(URL.java:464)
at java.net.URL.<init>(URL.java:413)
at
org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown
Source)
at
org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
at
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at
org.eclipse.persistence.internal.jpa.deployment.PersistenceUnitProcessor.processPersistenceXML(PersistenceUnitProcessor.java:411)
... 48 more
20:07:57,796 INFO [STDOUT] 2010-02-12 20:07:57,796 DEBUG Proxy
:********Message Properties**************
20:07:57,796 INFO [STDOUT] 2010-02-12 20:07:57,796 ERROR Proxy
:java.lang.NullPointerException
at oracle.documaker.ws.ids.Proxy.parseProperties(Proxy.java:509)
at oracle.documaker.ws.ids.Proxy.doCallIDS(Proxy.java:121)
at
oracle.documaker.ws.server.CompositionService.doCallIDS(CompositionService.java:110)
at
oracle.documaker.ws.server.CompositionServiceSoap11Impl.doCallIDS(CompositionServiceSoap11Impl.java:58)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.jboss.wsf.container.jboss50.invocation.InvocationHandlerJSE.invoke(InvocationHandlerJSE.java:108)
at
org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:222)
at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:474)
at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:295)
at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:205)
at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:131)
at
org.jboss.wsf.common.servlet.AbstractEndpointServlet.service(AbstractEndpointServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
20:07:57,796 ERROR [SOAPFaultHelperJAXWS] SOAP request exception
oracle.documaker.schema.ws.composition.CompositionFault_Exception
at oracle.documaker.ws.ids.Proxy.doCallIDS(Proxy.java:181)
at
oracle.documaker.ws.server.CompositionService.doCallIDS(CompositionService.java:110)
at
oracle.documaker.ws.server.CompositionServiceSoap11Impl.doCallIDS(CompositionServiceSoap11Impl.java:58)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.jboss.wsf.container.jboss50.invocation.InvocationHandlerJSE.invoke(InvocationHandlerJSE.java:108)
at
org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:222)
at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:474)
at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:295)
at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:205)
at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:131)
at
org.jboss.wsf.common.servlet.AbstractEndpointServlet.service(AbstractEndpointServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
On 2/12/2010 9:48 AM, carl roberts wrote:
Thank you Michael for all your hard work on
this.
Your testing notes were very helpful to me. I was able to get
EclipseLink working on JBOSS 5.1.0 after going over your notes.
Basically, I noticed the following differences between your setup and
mine:
1 - Don't include the javax.persistence*.jar (Previously I was under
the impression that I have to include and override the persistence
layer of JBOSS, which had me worry a little).
2 - Don't include this section in the web.xml (came from my tomcat
testing):
<resource-ref>
<description>JNDI Data Source</description>
<res-ref-name>DMWS</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
BTW, this section was causing the following exception I reported
previously:
java.lang.RuntimeException:
mapped-name is required for DMWS of
deployment DMWS.war
3 - Include the EclipeLink 2.0 jar in common\lib directory (previously
I had tried to place this jar file in server\default\lib and in the
main lib directory. Also, I was under the impression that I needed to
use the eclipse 1.1.x jar on JBOSS 5.1.0).
BTW, I just tried moving the jar file back into the WEB-INF\lib
directory and this also works.
Now I am getting this with logging level set to FINEST (SUCCESS):
09:38:55,375 INFO [PersistenceUnitDeployment] Starting persistence
unit persistence.unit:unitName=#ContextPersistence
09:38:55,703 INFO [STDOUT] [EL Warning]: 2010-02-12
09:38:55.687--Thread(Thread[main,5,jboss])--The temporary classLoader
for PersistenceLoadProcessor [ContextPersisten
e] is not available. Switching classLoader to
[BaseClassLoader@9ccd0a{vfszip:/C:/java/jboss-5.1.0.GA/server/default/deploy/DMWS.war/}].
Weaving has been disabled for t
is session. EclipseLink may be unable to get a spec mandated temporary
class loader from the server, you may be able to use static weaving as
an optional workaround.
09:38:55,718 INFO [STDOUT] [EL Finest]: 2010-02-12
09:38:55.703--ServerSession(28622485)--Thread(Thread[main,5,jboss])--Begin
predeploying Persistence Unit ContextPersi
tence; session
vfszip:/C:/java/jboss-5.1.0.GA/server/default/deploy/DMWS.war/WEB-INF/classes/_ContextPersistence;
state Initial; factoryCount 0
09:38:55,750 INFO [STDOUT] [EL Finest]: 2010-02-12
09:38:55.75--ServerSession(28622485)--Thread(Thread[main,5,jboss])--property=eclipselink.orm.throw.exceptions;
defaul
value=true
09:38:55,750 INFO [STDOUT] [EL Finest]: 2010-02-12
09:38:55.75--ServerSession(28622485)--Thread(Thread[main,5,jboss])--property=eclipselink.weaving.changetracking;
defa
lt value=true
09:38:55,750 INFO [STDOUT] [EL Finest]: 2010-02-12
09:38:55.75--ServerSession(28622485)--Thread(Thread[main,5,jboss])--property=eclipselink.weaving.lazy;
default value=
rue
09:38:55,750 INFO [STDOUT] [EL Finest]: 2010-02-12
09:38:55.75--ServerSession(28622485)--Thread(Thread[main,5,jboss])--property=eclipselink.weaving.eager;
default value
false
09:38:55,750 INFO [STDOUT] [EL Finest]: 2010-02-12
09:38:55.75--ServerSession(28622485)--Thread(Thread[main,5,jboss])--property=eclipselink.weaving.fetchgroups;
default
value=true
09:38:55,750 INFO [STDOUT] [EL Finest]: 2010-02-12
09:38:55.75--ServerSession(28622485)--Thread(Thread[main,5,jboss])--property=eclipselink.weaving.internal;
default va
ue=true
09:38:55,781 INFO [STDOUT] [EL Finer]: 2010-02-12
09:38:55.781--ServerSession(28622485)--Thread(Thread[main,5,jboss])--Searching
for default mapping file in vfszip:/C:/
ava/jboss-5.1.0.GA/server/default/deploy/DMWS.war/WEB-INF/classes/
09:38:55,796 INFO [STDOUT] [EL Finer]: 2010-02-12
09:38:55.796--ServerSession(28622485)--Thread(Thread[main,5,jboss])--Searching
for default mapping file in vfszip:/C:/
ava/jboss-5.1.0.GA/server/default/deploy/DMWS.war/WEB-INF/classes/
09:38:57,218 INFO [STDOUT] [EL Config]: 2010-02-12
09:38:57.218--ServerSession(28622485)--Thread(Thread[main,5,jboss])--The
access type for the persistent class [class
racle.documaker.config.db.AppConfigContext] is set to [FIELD].
09:38:57,265 INFO [STDOUT] [EL Config]: 2010-02-12
09:38:57.265--ServerSession(28622485)--Thread(Thread[main,5,jboss])--The
access type for the persistent class [class
racle.documaker.config.db.ALConfigContext] is set to [FIELD].
09:38:57,265 INFO [STDOUT] [EL Config]: 2010-02-12
09:38:57.265--ServerSession(28622485)--Thread(Thread[main,5,jboss])--The
access type for the persistent class [class
racle.documaker.config.db.SysConfigContext] is set to [FIELD].
09:38:57,265 INFO [STDOUT] [EL Config]: 2010-02-12
09:38:57.265--ServerSession(28622485)--Thread(Thread[main,5,jboss])--The
alias name for the entity class [class oracl
.documaker.config.db.AppConfigContext] is being defaulted to:
AppConfigContext.
09:38:57,281 INFO [STDOUT] [EL Config]: 2010-02-12
09:38:57.281--ServerSession(28622485)--Thread(Thread[main,5,jboss])--The
table name for entity [class oracle.documake
.config.db.AppConfigContext] is being defaulted to: APPCONFIGCONTEXT.
09:38:57,312 INFO [STDOUT] [EL Config]: 2010-02-12
09:38:57.312--ServerSession(28622485)--Thread(Thread[main,5,jboss])--The
alias name for the entity class [class oracl
.documaker.config.db.ALConfigContext] is being defaulted to:
ALConfigContext.
09:38:57,312 INFO [STDOUT] [EL Config]: 2010-02-12
09:38:57.312--ServerSession(28622485)--Thread(Thread[main,5,jboss])--The
table name for entity [class oracle.documake
.config.db.ALConfigContext] is being defaulted to: ALCONFIGCONTEXT.
09:38:57,312 INFO [STDOUT] [EL Config]: 2010-02-12
09:38:57.312--ServerSession(28622485)--Thread(Thread[main,5,jboss])--The
alias name for the entity class [class oracl
.documaker.config.db.SysConfigContext] is being defaulted to:
SysConfigContext.
09:38:57,312 INFO [STDOUT] [EL Config]: 2010-02-12
09:38:57.312--ServerSession(28622485)--Thread(Thread[main,5,jboss])--The
table name for entity [class oracle.documake
.config.db.SysConfigContext] is being defaulted to: SYSCONFIGCONTEXT.
09:38:57,328 INFO [STDOUT] [EL Finer]: 2010-02-12
09:38:57.328--ServerSession(28622485)--Thread(Thread[main,5,jboss])--Class
[oracle.documaker.config.db.AppConfigContex
] registered to be processed by weaver.
09:38:57,328 INFO [STDOUT] [EL Finer]: 2010-02-12
09:38:57.328--ServerSession(28622485)--Thread(Thread[main,5,jboss])--Class
[oracle.documaker.config.db.ALConfigContext
registered to be processed by weaver.
09:38:57,328 INFO [STDOUT] [EL Finer]: 2010-02-12
09:38:57.328--ServerSession(28622485)--Thread(Thread[main,5,jboss])--Class
[oracle.documaker.config.db.SysConfigContex
] registered to be processed by weaver.
09:38:57,328 INFO [STDOUT] [EL Finest]: 2010-02-12
09:38:57.328--ServerSession(28622485)--Thread(Thread[main,5,jboss])--End
predeploying Persistence Unit ContextPersist
nce; session
vfszip:/C:/java/jboss-5.1.0.GA/server/default/deploy/DMWS.war/WEB-INF/classes/_ContextPersistence;
state Predeployed; factoryCount 1
09:38:57,484 INFO [DefaultEndpointRegistry] register:
jboss.ws:context=DMWS,endpoint=CompositionService
09:38:57,484 INFO [DefaultEndpointRegistry] register:
jboss.ws:context=DMWS,endpoint=PublishingService
09:38:57,484 INFO [DefaultEndpointRegistry] register:
jboss.ws:context=DMWS,endpoint=CompositionServiceSoap12
09:38:57,484 INFO [DefaultEndpointRegistry] register:
jboss.ws:context=DMWS,endpoint=PublishingServiceSoap12
This is enough for me. I will continue using EclipseLink on my project
and start testing on WLS 10.3.2 and WAS 7.0 and see how that goes.
Much appreciated Michael. Also, thanks to all of you involved in this
(Tom, Gordon, etc.).
Joe
Joe Roberts |
Senior Applications Engineer, Insurance Global Business Unit
Phone:
+1 770 910 8257 | Mobile: +1 678 439 6635
Oracle Insurance
Global Business Unit
3353 Peachtree Road,
NE | Suite 800 | Atlanta, GA 30326
On 2/12/2010 2:54 AM, Michael O'Brien wrote:
Joe,
All the following experiments PASS for EclipseLink 2.0 on JBoss 5
(JPA 1.0) and 6.0.0M1 (JPA 2.0).
1) Testing Scenario:
EAR
ejb-jar
persistence.xml - JTA TX datasource using the default Hypersonic
database
@Stateless @Local session bean with injected @PersistenceContext
(default TRANSACTION type) container managed entityManager
2 entities with @OneToOne and @ManyToMany orm relationships
web.war
Servlet with (no @EJB or @Resource injection) - uses recommended
org.jnp context lookup for the SSB above containing the CM EM
JBoss 5.1.0
add the EclipseLink 2.0 jar to
C:\opt\jboss510\common\lib\eclipselink.jar
(optionally override ejb3-persistence.jar with
javax.persistence_2.0.jar)
JBoss 6.0.0M1
C:\opt\jboss600m1\common\lib\eclipselink.jar
<no javax.persistence_2.0.jar override required>
2) Results:
- A non-graphical very basic client meant to verify CRUD operations
2a) On JEE5 compliant server
EclipseLink 2.0 on JBoss 5.1.0 and 6.0.0M1 running JPA 1.0
API - working *OK*
2b) On JPA 2.0 compliant server
EclipseLink 2.0 on JBoss 6.0.0M1 running JPA 2.0 API and
the persistence.xml 2.0 XSD schema - working *OK* (no errors on the 2.0
XSD)
<persistence version="2.0"
xmlns="http://java.sun.com/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
<persistence-unit name="example" transaction-type="JTA">
<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
<jta-data-source>java:/DefaultDS</jta-data-source>
<class>org.eclipse.persistence.example.jpa.server.business.Cell</class>
<class>org.eclipse.persistence.example.jpa.server.business.CellAttribute</class>
<shared-cache-mode>NONE</shared-cache-mode><!--
JPA 2.0 -->
<properties>
<property name="eclipselink.target-server"
value="JBoss"/>
<property name="eclipselink.target-database"
value="HSQL"/>
<property name="eclipselink.ddl-generation"
value="drop-and-create-tables"/>
<property name="eclipselink.ddl-generation.output-mode"
value="database"/>
<property name="eclipselink.logging.level"
value="FINEST"/>
</properties>
</persistence-unit>
</persistence>
02:08:55,471 INFO [STDOUT] [EL Finest]: 2010-02-12
02:08:55.471--ServerSession(20380496)--Thread(Thread[http-127.0.0.1-8080-4,5,jboss])--End
deploying Persistence Unit example; session
vfszip:/C:/opt/jboss600m1/server/default/deploy/org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEAR.ear/org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEJB.jar/_example;
state Deployed; factoryCount 1
02:08:55,471 INFO [STDOUT] _Test: JPA 2.0 Metamodel:
MetamodelImpl@5488846 [ 5 Types: , 2 ManagedTypes: , 2 EntityTypes: , 0
MappedSuperclassTypes: , 0 EmbeddableTypes: ]
02:08:55,471 INFO [STDOUT] [EL Finer]: 2010-02-12
02:08:55.471--ServerSession(20380496)--Thread(Thread[http-127.0.0.1-8080-4,5,jboss])--client
acquired
2c) Note: Configuring datasources in JBoss 5.0.1 - 5.1.0 and 6.0.0M1
is different than on JBoss 4.x possibly because of the following issues
with the JBoss 5/6 server
These issues with manually configuring your *-ds.xml need to be
worked out and documented on the wiki - however this JBoss config issue
is out of the scope of EclipseLink
https://jira.jboss.org/jira/browse/SOA-1606
https://jira.jboss.org/jira/browse/JBAS-7438
https://jira.jboss.org/jira/browse/JBAS-4926
thank you
/michael
http://www.eclipselink.org
3) Full Logs for JBoss 6.0.0M1 running EclipseLink 2.0
http://127.0.0.1:8080/enterprise/FrontController?action="">
02:32:07,538 INFO [AbstractJBossASServerBase] Server Configuration:
JBOSS_HOME URL: file:/C:/opt/jboss600m1/
Bootstrap: $JBOSS_HOME\server/default/conf/bootstrap.xml
Common Base: $JBOSS_HOME\common/
Common Library: $JBOSS_HOME\common/lib/
Server Name: default
Server Base: $JBOSS_HOME\server/
Server Library: $JBOSS_HOME\server/default/lib/
Server Config: $JBOSS_HOME\server/default/conf/
Server Home: $JBOSS_HOME\server/default/
Server Data: $JBOSS_HOME\server/default/data/
Server Log: $JBOSS_HOME\server/default/log/
Server Temp: $JBOSS_HOME\server/default/tmp/
02:32:07,554 INFO [AbstractServer] Starting: JBossAS [6.0.0.M1 (build:
SVNTag=JBoss_6_0_0_M1 date=200912040958)]
02:32:08,022 INFO [AbstractMCServerBase] Starting Microcontainer, Main
bootstrapURL=file:/C:/opt/jboss600m1/server/default/conf/bootstrap.xml
02:32:08,506 INFO [VFSCacheFactory] Initializing VFSCache
[org.jboss.virtual.plugins.cache.CombinedVFSCache]
02:32:08,506 INFO [VFSCacheFactory] Using VFSCache
[CombinedVFSCache[real-cache: null]]
02:32:08,756 INFO [CopyMechanism] VFS temp dir:
C:\opt\jboss600m1\server\default\tmp
02:32:08,756 INFO [ZipEntryContext] VFS force nested jars copy-mode is
enabled.
02:32:09,630 INFO [ServerInfo] Java version: 1.6.0_17,Sun Microsystems
Inc.
02:32:09,630 INFO [ServerInfo] Java Runtime: Java(TM) SE Runtime
Environment (build 1.6.0_17-b04)
02:32:09,630 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM
14.3-b01,Sun Microsystems Inc.
02:32:09,630 INFO [ServerInfo] OS-System: Windows 7 6.1,x86
02:32:09,630 INFO [ServerInfo] VM arguments: -Dprogram.name=run.bat
-Xms128m -Xmx512m -XX:MaxPermSize=256m -Dfile.encoding=Cp1252
02:32:09,662 INFO [JMXKernel] Legacy JMX core initialized
02:32:12,688 INFO [Log4jService$URLWatchTimerTask] Configuring from
URL: resource:jboss-log4j.xml
02:32:12,798 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
02:32:17,572 INFO [AbstractServerConfig] JBoss Web Services - Native
Server
02:32:17,572 INFO [AbstractServerConfig] 3.2.1.GA
02:32:24,625 INFO [LogNotificationListener] Adding notification
listener for logging mbean
"jboss.system:service=Logging,type=Log4jService" to server
org.jboss.mx.server.MBeanServerImpl@172c47b[ defaultDomain='null' ]
02:32:31,771 INFO [Ejb3DependenciesDeployer] Encountered deployment
AbstractVFSDeploymentContext@13440889{vfszip:/C:/opt/jboss600m1/server/default/deploy/org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEAR.ear/org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEJB.jar/}
02:32:31,771 INFO [Ejb3DependenciesDeployer] Encountered deployment
AbstractVFSDeploymentContext@13440889{vfszip:/C:/opt/jboss600m1/server/default/deploy/org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEAR.ear/org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEJB.jar/}
02:32:33,784 INFO [JMXConnectorServerService] JMX Connector server:
service:jmx:rmi://127.0.0.1/jndi/rmi://127.0.0.1:1090/jmxconnector
02:32:33,941 INFO [MailService] Mail Service bound to java:/Mail
02:32:36,937 WARN [JBossASSecurityMetadataStore] WARNING! POTENTIAL
SECURITY RISK. It has been detected that the MessageSucker component
which sucks messages from one node to another has not had its password
changed from the installation default. Please see the JBoss Messaging
user guide for instructions on how to do this.
02:32:37,126 INFO [TransactionManagerService] JBossTS Transaction
Service (JTA version - tag:JBOSSTS_4_6_1_GA) - JBoss Inc.
02:32:37,126 INFO [TransactionManagerService] Setting up property
manager MBean and JMX layer
02:32:37,391 INFO [TransactionManagerService] Initializing recovery
manager
02:32:37,563 INFO [TransactionManagerService] Recovery manager
configured
02:32:37,563 INFO [TransactionManagerService] Binding
TransactionManager JNDI Reference
02:32:37,578 INFO [TransactionManagerService] Starting transaction
recovery manager
02:32:38,297 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on
http-127.0.0.1-8080
02:32:38,328 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on
ajp-127.0.0.1-8009
02:32:38,359 INFO [StandardService] Starting service jboss.web
02:32:38,359 INFO [StandardEngine] Starting Servlet Engine: JBoss
Web/2.1.6.GA
02:32:38,422 INFO [Catalina] Server startup in 96 ms
02:32:38,437 INFO [TomcatDeployment] deploy, ctxPath=/jbossws
02:32:39,748 INFO [TomcatDeployment] deploy, ctxPath=/invoker
02:32:39,827 INFO [TomcatDeployment] deploy, ctxPath=/web-console
02:32:40,248 INFO [RARDeployment] Required license terms exist, view
vfszip:/C:/opt/jboss600m1/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
02:32:40,263 INFO [RARDeployment] Required license terms exist, view
vfszip:/C:/opt/jboss600m1/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
02:32:40,263 INFO [RARDeployment] Required license terms exist, view
vfszip:/C:/opt/jboss600m1/server/default/deploy/jms-ra.rar/META-INF/ra.xml
02:32:40,279 INFO [RARDeployment] Required license terms exist, view
vfszip:/C:/opt/jboss600m1/server/default/deploy/mail-ra.rar/META-INF/ra.xml
02:32:40,295 INFO [RARDeployment] Required license terms exist, view
vfszip:/C:/opt/jboss600m1/server/default/deploy/quartz-ra.rar/META-INF/ra.xml
02:32:40,435 INFO [SimpleThreadPool] Job execution threads will use
class loader of thread: Thread-2
02:32:40,466 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
02:32:40,466 INFO [RAMJobStore] RAMJobStore initialized.
02:32:40,466 INFO [StdSchedulerFactory] Quartz scheduler
'DefaultQuartzScheduler' initialized from default resource file in
Quartz package: 'quartz.properties'
02:32:40,466 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
02:32:40,466 INFO [QuartzScheduler] Scheduler
DefaultQuartzScheduler_$_NON_CLUSTERED started.
02:32:40,997 INFO [ConnectionFactoryBindingService] Bound
ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS'
to JNDI name 'java:DefaultDS'
02:32:42,121 INFO [ServerPeer] JBoss Messaging 1.4.3.GA server [0]
started
02:32:42,293 INFO [ConnectionFactory] Connector
bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000
milliseconds
02:32:42,293 INFO [ConnectionFactory]
org.jboss.jms.server.connectionfactory.ConnectionFactory@c9ab5a started
02:32:42,293 INFO [ConnectionFactory] Connector
bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000
milliseconds
02:32:42,293 INFO [ConnectionFactory]
org.jboss.jms.server.connectionfactory.ConnectionFactory@b800d7 started
02:32:42,309 INFO [ConnectionFactoryJNDIMapper] supportsFailover
attribute is true on connection factory:
jboss.messaging.connectionfactory:service=ClusteredConnectionFactory
but post office is non clustered. So connection factory will *not*
support failover
02:32:42,309 INFO [ConnectionFactoryJNDIMapper] supportsLoadBalancing
attribute is true on connection factory:
jboss.messaging.connectionfactory:service=ClusteredConnectionFactory
but post office is non clustered. So connection factory will *not*
support load balancing
02:32:42,309 INFO [ConnectionFactory] Connector
bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000
milliseconds
02:32:42,309 INFO [ConnectionFactory]
org.jboss.jms.server.connectionfactory.ConnectionFactory@16203a7 started
02:32:42,325 INFO [QueueService] Queue[/queue/DLQ] started,
fullSize=200000, pageSize=2000, downCacheSize=2000
02:32:42,325 INFO [QueueService] Queue[/queue/ExpiryQueue] started,
fullSize=200000, pageSize=2000, downCacheSize=2000
02:32:42,434 INFO [ConnectionFactoryBindingService] Bound
ConnectionManager
'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name
'java:JmsXA'
02:32:42,637 INFO [TomcatDeployment] deploy, ctxPath=/admin-console
02:32:42,808 ERROR [MyfacesConfig] Both MyFaces and the RI are on your
classpath. Please make sure to use only one of the two
JSF-implementations.
02:32:43,151 WARN [LocaleUtils] Locale name in faces-config.xml null
or empty, setting locale to default locale : en_US
02:32:46,366 INFO [TomcatDeployment] deploy, ctxPath=/
02:32:46,429 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console
02:32:46,476 WARN [InterceptorInfoRepository] EJBTHREE-1852:
InterceptorInfoRepository is deprecated
02:32:46,913 INFO [JBossASKernel] Created KernelDeployment for:
org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEJB.jar
02:32:46,913 INFO [JBossASKernel] installing bean:
jboss.j2ee:ear=org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEAR.ear,jar=org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEJB.jar,name=ApplicationService,service=EJB3
02:32:46,913 INFO [JBossASKernel] with dependencies:
02:32:46,913 INFO [JBossASKernel] and demands:
02:32:46,913 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
02:32:46,913 INFO [JBossASKernel]
persistence.unit:unitName=org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEAR.ear/org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEJB.jar#example
02:32:46,913 INFO [JBossASKernel] and supplies:
02:32:46,913 INFO [JBossASKernel]
jndi:org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEAR/ApplicationService/local
02:32:46,913 INFO [JBossASKernel]
jndi:org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEAR/ApplicationService/local-org.eclipse.persistence.example.jpa.server.business.ApplicationServiceLocal
02:32:46,913 INFO [JBossASKernel]
Class:org.eclipse.persistence.example.jpa.server.business.ApplicationServiceLocal
02:32:46,913 INFO [JBossASKernel]
jndi:org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEAR/ApplicationService/remote
02:32:46,913 INFO [JBossASKernel] Added
bean(jboss.j2ee:ear=org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEAR.ear,jar=org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEJB.jar,name=ApplicationService,service=EJB3)
to KernelDeployment of:
org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEJB.jar
02:32:47,007 INFO [PersistenceUnitDeployment] Starting persistence
unit
persistence.unit:unitName=org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEAR.ear/org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEJB.jar#example
02:32:47,131 INFO [Version] Hibernate Validator 4.0.2.GA
02:32:47,163 INFO [DefaultTraversableResolver] Instantiated an
instance of
org.hibernate.validator.engine.resolver.JPATraversableResolver.
02:32:47,599 INFO [STDOUT] [EL Warning]: 2010-02-12
02:32:47.568--Thread(Thread[Thread-2,5,jboss])--The temporary
classLoader for PersistenceLoadProcessor [example] is not available.
Switching classLoader to
[BaseClassLoader@60abc5{vfszip:/C:/opt/jboss600m1/server/default/deploy/org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEAR.ear/}].
Weaving has been disabled for this session. EclipseLink may be unable
to get a spec mandated temporary class loader from the server, you may
be able to use static weaving as an optional workaround.
02:32:47,615 INFO [STDOUT] [EL Finest]: 2010-02-12
02:32:47.599--ServerSession(27187993)--Thread(Thread[Thread-2,5,jboss])--Begin
predeploying Persistence Unit example; session
vfszip:/C:/opt/jboss600m1/server/default/deploy/org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEAR.ear/org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEJB.jar/_example;
state Initial; factoryCount 0
02:32:47,615 INFO [STDOUT] [EL Finest]: 2010-02-12
02:32:47.615--ServerSession(27187993)--Thread(Thread[Thread-2,5,jboss])--property=eclipselink.orm.throw.exceptions;
default value=true
02:32:47,615 INFO [STDOUT] [EL Finest]: 2010-02-12
02:32:47.615--ServerSession(27187993)--Thread(Thread[Thread-2,5,jboss])--property=eclipselink.weaving.changetracking;
default value=true
02:32:47,615 INFO [STDOUT] [EL Finest]: 2010-02-12
02:32:47.615--ServerSession(27187993)--Thread(Thread[Thread-2,5,jboss])--property=eclipselink.weaving.lazy;
default value=true
02:32:47,615 INFO [STDOUT] [EL Finest]: 2010-02-12
02:32:47.615--ServerSession(27187993)--Thread(Thread[Thread-2,5,jboss])--property=eclipselink.weaving.eager;
default value=false
02:32:47,615 INFO [STDOUT] [EL Finest]: 2010-02-12
02:32:47.615--ServerSession(27187993)--Thread(Thread[Thread-2,5,jboss])--property=eclipselink.weaving.fetchgroups;
default value=true
02:32:47,615 INFO [STDOUT] [EL Finest]: 2010-02-12
02:32:47.615--ServerSession(27187993)--Thread(Thread[Thread-2,5,jboss])--property=eclipselink.weaving.internal;
default value=true
02:32:48,380 INFO [STDOUT] [EL Finer]: 2010-02-12
02:32:48.38--ServerSession(27187993)--Thread(Thread[Thread-2,5,jboss])--Searching
for default mapping file in
vfszip:/C:/opt/jboss600m1/server/default/deploy/org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEAR.ear/org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEJB.jar/
02:32:48,396 INFO [STDOUT] [EL Finer]: 2010-02-12
02:32:48.396--ServerSession(27187993)--Thread(Thread[Thread-2,5,jboss])--Searching
for default mapping file in
vfszip:/C:/opt/jboss600m1/server/default/deploy/org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEAR.ear/org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEJB.jar/
02:32:48,630 INFO [STDOUT] [EL Config]: 2010-02-12
02:32:48.63--ServerSession(27187993)--Thread(Thread[Thread-2,5,jboss])--The
access type for the persistent class [class
org.eclipse.persistence.example.jpa.server.business.Cell] is set to
[FIELD].
02:32:48,756 INFO [STDOUT] [EL Config]: 2010-02-12
02:32:48.756--ServerSession(27187993)--Thread(Thread[Thread-2,5,jboss])--The
target entity (reference) class for the many to many mapping element
[field references] is being defaulted to: class
org.eclipse.persistence.example.jpa.server.business.Cell.
02:32:48,756 INFO [STDOUT] [EL Config]: 2010-02-12
02:32:48.756--ServerSession(27187993)--Thread(Thread[Thread-2,5,jboss])--The
element [field aCellAttribute] is being defaulted to a one to one
mapping.
02:32:48,771 INFO [STDOUT] [EL Config]: 2010-02-12
02:32:48.771--ServerSession(27187993)--Thread(Thread[Thread-2,5,jboss])--The
target entity (reference) class for the one to one mapping element
[field aCellAttribute] is being defaulted to: class
org.eclipse.persistence.example.jpa.server.business.CellAttribute.
02:32:48,771 INFO [STDOUT] [EL Config]: 2010-02-12
02:32:48.771--ServerSession(27187993)--Thread(Thread[Thread-2,5,jboss])--The
target entity (reference) class for the many to many mapping element
[field peers] is being defaulted to: class
org.eclipse.persistence.example.jpa.server.business.Cell.
02:32:48,771 INFO [STDOUT] [EL Config]: 2010-02-12
02:32:48.771--ServerSession(27187993)--Thread(Thread[Thread-2,5,jboss])--The
target entity (reference) class for the one to one mapping element
[field left] is being defaulted to: class
org.eclipse.persistence.example.jpa.server.business.Cell.
02:32:48,771 INFO [STDOUT] [EL Config]: 2010-02-12
02:32:48.771--ServerSession(27187993)--Thread(Thread[Thread-2,5,jboss])--The
target entity (reference) class for the one to one mapping element
[field right] is being defaulted to: class
org.eclipse.persistence.example.jpa.server.business.Cell.
02:32:48,771 INFO [STDOUT] [EL Config]: 2010-02-12
02:32:48.771--ServerSession(27187993)--Thread(Thread[Thread-2,5,jboss])--The
access type for the persistent class [class
org.eclipse.persistence.example.jpa.server.business.CellAttribute] is
set to [FIELD].
02:32:48,771 INFO [STDOUT] [EL Config]: 2010-02-12
02:32:48.771--ServerSession(27187993)--Thread(Thread[Thread-2,5,jboss])--The
alias name for the entity class [class
org.eclipse.persistence.example.jpa.server.business.Cell] is being
defaulted to: Cell.
02:32:48,834 INFO [STDOUT] [EL Config]: 2010-02-12
02:32:48.834--ServerSession(27187993)--Thread(Thread[Thread-2,5,jboss])--The
column name for element [field id] is being defaulted to: ID.
02:32:48,849 INFO [STDOUT] [EL Config]: 2010-02-12
02:32:48.849--ServerSession(27187993)--Thread(Thread[Thread-2,5,jboss])--The
alias name for the entity class [class
org.eclipse.persistence.example.jpa.server.business.CellAttribute] is
being defaulted to: CellAttribute.
02:32:48,849 INFO [STDOUT] [EL Config]: 2010-02-12
02:32:48.849--ServerSession(27187993)--Thread(Thread[Thread-2,5,jboss])--The
table name for entity [class
org.eclipse.persistence.example.jpa.server.business.CellAttribute] is
being defaulted to: CELLATTRIBUTE.
02:32:48,849 INFO [STDOUT] [EL Config]: 2010-02-12
02:32:48.849--ServerSession(27187993)--Thread(Thread[Thread-2,5,jboss])--The
column name for element [field id] is being defaulted to: ID.
02:32:48,927 INFO [STDOUT] [EL Config]: 2010-02-12
02:32:48.927--ServerSession(27187993)--Thread(Thread[Thread-2,5,jboss])--The
join table name for the many to many mapping [field references] is
being defaulted to: EL_CELL_EL_CELL.
02:32:48,927 INFO [STDOUT] [EL Config]: 2010-02-12
02:32:48.927--ServerSession(27187993)--Thread(Thread[Thread-2,5,jboss])--The
source primary key column name for the many to many mapping [field
references] is being defaulted to: ID.
02:32:48,927 INFO [STDOUT] [EL Config]: 2010-02-12
02:32:48.927--ServerSession(27187993)--Thread(Thread[Thread-2,5,jboss])--The
source foreign key column name for the many to many mapping [field
references] is being defaulted to: peers_ID.
02:32:48,927 INFO [STDOUT] [EL Config]: 2010-02-12
02:32:48.927--ServerSession(27187993)--Thread(Thread[Thread-2,5,jboss])--The
target primary key column name for the many to many mapping [field
references] is being defaulted to: ID.
02:32:48,943 INFO [STDOUT] [EL Config]: 2010-02-12
02:32:48.927--ServerSession(27187993)--Thread(Thread[Thread-2,5,jboss])--The
target foreign key column name for the many to many mapping [field
references] is being defaulted to: references_ID.
02:32:48,959 INFO [STDOUT] [EL Config]: 2010-02-12
02:32:48.959--ServerSession(27187993)--Thread(Thread[Thread-2,5,jboss])--The
primary key column name for the mapping element [field right] is being
defaulted to: ID.
02:32:48,959 INFO [STDOUT] [EL Config]: 2010-02-12
02:32:48.959--ServerSession(27187993)--Thread(Thread[Thread-2,5,jboss])--The
foreign key column name for the mapping element [field right] is being
defaulted to: RIGHT_ID.
02:32:48,959 INFO [STDOUT] [EL Config]: 2010-02-12
02:32:48.959--ServerSession(27187993)--Thread(Thread[Thread-2,5,jboss])--The
primary key column name for the mapping element [field aCellAttribute]
is being defaulted to: ID.
02:32:48,959 INFO [STDOUT] [EL Config]: 2010-02-12
02:32:48.959--ServerSession(27187993)--Thread(Thread[Thread-2,5,jboss])--The
foreign key column name for the mapping element [field aCellAttribute]
is being defaulted to: ACELLATTRIBUTE_ID.
02:32:48,959 INFO [STDOUT] [EL Finer]: 2010-02-12
02:32:48.959--ServerSession(27187993)--Thread(Thread[Thread-2,5,jboss])--Class
[org.eclipse.persistence.example.jpa.server.business.Cell] registered
to be processed by weaver.
02:32:48,959 INFO [STDOUT] [EL Config]: 2010-02-12
02:32:48.959--ServerSession(27187993)--Thread(Thread[Thread-2,5,jboss])--Class
org.eclipse.persistence.example.jpa.server.business.Cell could not be
weaved for change tracking as it is not supported by its mappings.
02:32:48,974 INFO [STDOUT] [EL Finer]: 2010-02-12
02:32:48.974--ServerSession(27187993)--Thread(Thread[Thread-2,5,jboss])--Class
[org.eclipse.persistence.example.jpa.server.business.CellAttribute]
registered to be processed by weaver.
02:32:48,974 INFO [STDOUT] [EL Finest]: 2010-02-12
02:32:48.974--ServerSession(27187993)--Thread(Thread[Thread-2,5,jboss])--End
predeploying Persistence Unit example; session
vfszip:/C:/opt/jboss600m1/server/default/deploy/org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEAR.ear/org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEJB.jar/_example;
state Predeployed; factoryCount 1
02:32:49,052 INFO [SessionSpecContainer] Starting
jboss.j2ee:ear=org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEAR.ear,jar=org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEJB.jar,name=ApplicationService,service=EJB3
02:32:49,083 INFO [EJBContainer] STARTED EJB:
org.eclipse.persistence.example.jpa.server.business.ApplicationService
ejbName: ApplicationService
02:32:49,146 INFO [JndiSessionRegistrarBase] Binding the following
Entries in Global JNDI:
org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEAR/ApplicationService/local
- EJB3.x Default Local Business Interface
org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEAR/ApplicationService/local-org.eclipse.persistence.example.jpa.server.business.ApplicationServiceLocal
- EJB3.x Local Business Interface
02:32:49,317 INFO [TomcatDeployment] deploy, ctxPath=/enterprise
02:32:49,411 INFO [ProfileServiceBootstrap] Loading profile:
ProfileKey@1c32b82[domain=default, server=default, name=default]
02:32:49,427 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on
http-127.0.0.1-8080
02:32:49,520 INFO [AjpProtocol] Starting Coyote AJP/1.3 on
ajp-127.0.0.1-8009
02:32:49,520 INFO [AbstractServer] JBossAS [6.0.0.M1 (build:
SVNTag=JBoss_6_0_0_M1 date=200912040958)] Started in 41s:966ms
>http://127.0.0.1:8080/enterprise/FrontController?action="">
02:33:54,136 INFO [STDOUT] FrontController.getApplicationService()
JNDI lookup of
org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEAR/ApplicationService/local
02:33:54,246 INFO [STDOUT] [EL Example]: enterprise: Action: demo
Proxy to
jboss.j2ee:ear=org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEAR.ear,jar=org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEJB.jar,name=ApplicationService,service=EJB3
implementing [interface
org.eclipse.persistence.example.jpa.server.business.ApplicationServiceLocal]
02:33:54,246 INFO [STDOUT] FrontController.getApplicationService()
JNDI lookup of
org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEAR/ApplicationService/local
02:33:54,324 INFO [STDOUT] [EL Example]: enterprise:
ApplicationService persisting:
org.eclipse.persistence.example.jpa.server.business.Cell@18722630( id:
null state: null left: null right: null parent: HashSet@17563935
references: HashSet@17563935) on EM:
org.jboss.jpa.tx.TransactionScopedEntityManager@d6d6d4
02:33:54,339 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:54.339--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Begin
deploying Persistence Unit example; session
vfszip:/C:/opt/jboss600m1/server/default/deploy/org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEAR.ear/org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEJB.jar/_example;
state Predeployed; factoryCount 1
02:33:54,386 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:54.386--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--property=eclipselink.target-server;
value=JBoss; translated
value=org.eclipse.persistence.platform.server.jboss.JBossPlatform
02:33:54,386 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:54.386--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--property=eclipselink.logging.level;
value=FINEST; translated value=FINEST
02:33:54,386 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:54.386--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--property=eclipselink.logging.level;
value=FINEST; translated value=FINEST
02:33:54,386 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:54.386--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--property=eclipselink.target-database;
value=HSQL; translated
value=org.eclipse.persistence.platform.database.HSQLPlatform
02:33:54,433 INFO [STDOUT] [EL Info]: 2010-02-12
02:33:54.433--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--EclipseLink,
version: Eclipse Persistence Services - 2.1.0.qualifier
02:33:54,449 INFO [STDOUT] [EL Config]: 2010-02-12
02:33:54.449--ServerSession(27187993)--Connection(13280798)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--connecting(DatabaseLogin(
platform=>HSQLPlatform
user name=> ""
connector=>JNDIConnector datasource name=>null
))
02:33:54,480 INFO [STDOUT] [EL Config]: 2010-02-12
02:33:54.48--ServerSession(27187993)--Connection(14191759)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Connected:
jdbc:hsqldb:C:\opt\jboss600m1\server\default\data\hypersonic\localDB
User: SA
Database: HSQL Database Engine Version: 1.8.0
Driver: HSQL Database Engine Driver Version: 1.8.0
02:33:54,480 INFO [STDOUT] [EL Config]: 2010-02-12
02:33:54.48--ServerSession(27187993)--Connection(19153097)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--connecting(DatabaseLogin(
platform=>HSQLPlatform
user name=> ""
connector=>JNDIConnector datasource name=>null
))
02:33:54,480 INFO [STDOUT] [EL Config]: 2010-02-12
02:33:54.48--ServerSession(27187993)--Connection(18447858)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Connected:
jdbc:hsqldb:C:\opt\jboss600m1\server\default\data\hypersonic\localDB
User: SA
Database: HSQL Database Engine Version: 1.8.0
Driver: HSQL Database Engine Driver Version: 1.8.0
02:33:54,480 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:54.48--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--sequencing
connected, state is Preallocation_NoTransaction_State
02:33:54,480 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:54.48--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--sequence
EL_CELL_SEQ: preallocation size 25
02:33:54,589 INFO [STDOUT] [EL Info]: 2010-02-12
02:33:54.589--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--vfszip:/C:/opt/jboss600m1/server/default/deploy/org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEAR.ear/org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEJB.jar/_example
login successful
02:33:54,636 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:54.636--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query DataModifyQuery(sql="ALTER TABLE EL_CELL DROP CONSTRAINT
FK_EL_CELL_RIGHT_ID")
02:33:54,651 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:54.651--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--reconnecting
to external connection pool
02:33:54,651 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:54.651--ServerSession(27187993)--Connection(1875129)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--ALTER
TABLE EL_CELL DROP CONSTRAINT FK_EL_CELL_RIGHT_ID
02:33:54,651 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:54.651--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query DataModifyQuery(sql="ALTER TABLE EL_CELL DROP CONSTRAINT
FK_EL_CELL_ACELLATTRIBUTE_ID")
02:33:54,651 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:54.651--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--reconnecting
to external connection pool
02:33:54,651 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:54.651--ServerSession(27187993)--Connection(29090776)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--ALTER
TABLE EL_CELL DROP CONSTRAINT FK_EL_CELL_ACELLATTRIBUTE_ID
02:33:54,651 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:54.651--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query DataModifyQuery(sql="ALTER TABLE EL_CELL_EL_CELL DROP CONSTRAINT
FK_EL_CELL_EL_CELL_references_ID")
02:33:54,651 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:54.651--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--reconnecting
to external connection pool
02:33:54,651 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:54.651--ServerSession(27187993)--Connection(15485686)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--ALTER
TABLE EL_CELL_EL_CELL DROP CONSTRAINT FK_EL_CELL_EL_CELL_references_ID
02:33:54,651 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:54.651--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query DataModifyQuery(sql="ALTER TABLE EL_CELL_EL_CELL DROP CONSTRAINT
FK_EL_CELL_EL_CELL_peers_ID")
02:33:54,651 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:54.651--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--reconnecting
to external connection pool
02:33:54,651 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:54.651--ServerSession(27187993)--Connection(20013678)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--ALTER
TABLE EL_CELL_EL_CELL DROP CONSTRAINT FK_EL_CELL_EL_CELL_peers_ID
02:33:54,651 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:54.651--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query DataModifyQuery(sql="DROP TABLE EL_CELL")
02:33:54,651 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:54.651--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--reconnecting
to external connection pool
02:33:54,651 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:54.651--ServerSession(27187993)--Connection(10630283)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--DROP
TABLE EL_CELL
02:33:54,651 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:54.651--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query DataModifyQuery(sql="CREATE TABLE EL_CELL (ID BIGINT NOT NULL,
STATE VARCHAR(255), TSEQ VARCHAR(255), RIGHT_ID BIGINT,
ACELLATTRIBUTE_ID INTEGER, PRIMARY KEY (ID))")
02:33:54,651 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:54.651--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--reconnecting
to external connection pool
02:33:54,651 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:54.651--ServerSession(27187993)--Connection(6801725)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--CREATE
TABLE EL_CELL (ID BIGINT NOT NULL, STATE VARCHAR(255), TSEQ
VARCHAR(255), RIGHT_ID BIGINT, ACELLATTRIBUTE_ID INTEGER, PRIMARY KEY
(ID))
02:33:54,667 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:54.651--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query DataModifyQuery(sql="DROP TABLE EL_CELL_EL_CELL")
02:33:54,667 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:54.667--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--reconnecting
to external connection pool
02:33:54,667 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:54.667--ServerSession(27187993)--Connection(29182892)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--DROP
TABLE EL_CELL_EL_CELL
02:33:54,667 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:54.667--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query DataModifyQuery(sql="CREATE TABLE EL_CELL_EL_CELL (peers_ID
BIGINT NOT NULL, references_ID BIGINT NOT NULL, PRIMARY KEY (peers_ID,
references_ID))")
02:33:54,667 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:54.667--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--reconnecting
to external connection pool
02:33:54,667 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:54.667--ServerSession(27187993)--Connection(5058680)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--CREATE
TABLE EL_CELL_EL_CELL (peers_ID BIGINT NOT NULL, references_ID BIGINT
NOT NULL, PRIMARY KEY (peers_ID, references_ID))
02:33:54,667 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:54.667--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query DataModifyQuery(sql="DROP TABLE CELLATTRIBUTE")
02:33:54,667 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:54.667--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--reconnecting
to external connection pool
02:33:54,667 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:54.667--ServerSession(27187993)--Connection(10527852)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--DROP
TABLE CELLATTRIBUTE
02:33:54,667 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:54.667--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query DataModifyQuery(sql="CREATE TABLE CELLATTRIBUTE (ID INTEGER NOT
NULL, PRIMARY KEY (ID))")
02:33:54,667 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:54.667--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--reconnecting
to external connection pool
02:33:54,667 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:54.667--ServerSession(27187993)--Connection(32687092)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--CREATE
TABLE CELLATTRIBUTE (ID INTEGER NOT NULL, PRIMARY KEY (ID))
02:33:54,667 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:54.667--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query DataModifyQuery(sql="ALTER TABLE EL_CELL ADD CONSTRAINT
FK_EL_CELL_RIGHT_ID FOREIGN KEY (RIGHT_ID) REFERENCES EL_CELL (ID)")
02:33:54,667 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:54.667--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--reconnecting
to external connection pool
02:33:54,667 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:54.667--ServerSession(27187993)--Connection(24778898)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--ALTER
TABLE EL_CELL ADD CONSTRAINT FK_EL_CELL_RIGHT_ID FOREIGN KEY (RIGHT_ID)
REFERENCES EL_CELL (ID)
02:33:54,667 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:54.667--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query DataModifyQuery(sql="ALTER TABLE EL_CELL ADD CONSTRAINT
FK_EL_CELL_ACELLATTRIBUTE_ID FOREIGN KEY (ACELLATTRIBUTE_ID) REFERENCES
CELLATTRIBUTE (ID)")
02:33:54,667 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:54.667--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--reconnecting
to external connection pool
02:33:54,667 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:54.667--ServerSession(27187993)--Connection(163134)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--ALTER
TABLE EL_CELL ADD CONSTRAINT FK_EL_CELL_ACELLATTRIBUTE_ID FOREIGN KEY
(ACELLATTRIBUTE_ID) REFERENCES CELLATTRIBUTE (ID)
02:33:54,667 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:54.667--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query DataModifyQuery(sql="ALTER TABLE EL_CELL_EL_CELL ADD CONSTRAINT
FK_EL_CELL_EL_CELL_references_ID FOREIGN KEY (references_ID) REFERENCES
EL_CELL (ID)")
02:33:54,667 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:54.667--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--reconnecting
to external connection pool
02:33:54,667 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:54.667--ServerSession(27187993)--Connection(14458186)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--ALTER
TABLE EL_CELL_EL_CELL ADD CONSTRAINT FK_EL_CELL_EL_CELL_references_ID
FOREIGN KEY (references_ID) REFERENCES EL_CELL (ID)
02:33:54,667 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:54.667--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query DataModifyQuery(sql="ALTER TABLE EL_CELL_EL_CELL ADD CONSTRAINT
FK_EL_CELL_EL_CELL_peers_ID FOREIGN KEY (peers_ID) REFERENCES EL_CELL
(ID)")
02:33:54,667 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:54.667--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--reconnecting
to external connection pool
02:33:54,667 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:54.667--ServerSession(27187993)--Connection(19037441)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--ALTER
TABLE EL_CELL_EL_CELL ADD CONSTRAINT FK_EL_CELL_EL_CELL_peers_ID
FOREIGN KEY (peers_ID) REFERENCES EL_CELL (ID)
02:33:54,683 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:54.683--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query DataModifyQuery(sql="DROP SEQUENCE EL_CELL_SEQ")
02:33:54,683 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:54.683--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--reconnecting
to external connection pool
02:33:54,683 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:54.683--ServerSession(27187993)--Connection(21788899)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--DROP
SEQUENCE EL_CELL_SEQ
02:33:54,683 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:54.683--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query ValueReadQuery(sql="CALL NEXT VALUE FOR EL_CELL_SEQ")
02:33:54,683 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:54.683--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--reconnecting
to external connection pool
02:33:54,683 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:54.683--ServerSession(27187993)--Connection(19267380)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--CALL
NEXT VALUE FOR EL_CELL_SEQ
02:33:54,683 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:54.683--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--CALL
1
02:33:54,698 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:54.698--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query DataModifyQuery(sql="CREATE SEQUENCE EL_CELL_SEQ START WITH 25
INCREMENT BY 25")
02:33:54,698 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:54.698--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--reconnecting
to external connection pool
02:33:54,698 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:54.698--ServerSession(27187993)--Connection(18032521)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--CREATE
SEQUENCE EL_CELL_SEQ START WITH 25 INCREMENT BY 25
02:33:55,525 INFO [STDOUT] [EL Finer]: 2010-02-12
02:33:55.525--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Canonical
Metamodel class
[org.eclipse.persistence.example.jpa.server.business.Cell_] not found
during initialization.
02:33:55,525 INFO [STDOUT] [EL Finer]: 2010-02-12
02:33:55.525--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Canonical
Metamodel class
[org.eclipse.persistence.example.jpa.server.business.CellAttribute_]
not found during initialization.
02:33:55,525 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:55.525--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--End
deploying Persistence Unit example; session
vfszip:/C:/opt/jboss600m1/server/default/deploy/org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEAR.ear/org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEJB.jar/_example;
state Deployed; factoryCount 1
02:33:55,604 INFO [STDOUT] [EL Finer]: 2010-02-12
02:33:55.604--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--client
acquired
02:33:55,604 INFO [STDOUT] [EL Finer]: 2010-02-12
02:33:55.604--UnitOfWork(30124985)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--TX
binding to tx mgr, status=STATUS_ACTIVE
02:33:55,604 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:55.604--UnitOfWork(30124985)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--PERSIST
operation called on:
org.eclipse.persistence.example.jpa.server.business.Cell@18722630( id:
null state: null left: null right: null parent: HashSet@17563935
references: HashSet@17563935).
02:33:55,604 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:55.604--ClientSession(7812075)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query ValueReadQuery(sql="CALL NEXT VALUE FOR EL_CELL_SEQ")
02:33:55,620 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:55.62--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--reconnecting
to external connection pool
02:33:55,620 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:55.62--ServerSession(27187993)--Connection(32620783)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--CALL
NEXT VALUE FOR EL_CELL_SEQ
02:33:55,620 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:55.62--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--sequencing
preallocation for EL_CELL_SEQ: objects: 25 , first: 1, last: 25
02:33:55,620 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:55.62--UnitOfWork(30124985)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--assign
sequence to the object (1 ->
org.eclipse.persistence.example.jpa.server.business.Cell@18722630( id:
null state: null left: null right: null parent: HashSet@17563935
references: HashSet@17563935))
02:33:55,698 INFO [STDOUT] [EL Example]: enterprise:
ApplicationService persisting:
org.eclipse.persistence.example.jpa.server.business.Cell@17563935( id:
null state: null left: null right: null parent: HashSet@51815750
references: HashSet@51815750) on EM:
org.jboss.jpa.tx.TransactionScopedEntityManager@d6d6d4
02:33:55,698 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:55.698--UnitOfWork(30124985)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--PERSIST
operation called on:
org.eclipse.persistence.example.jpa.server.business.Cell@17563935( id:
null state: null left: null right: null parent: HashSet@51815750
references: HashSet@51815750).
02:33:55,698 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:55.698--UnitOfWork(30124985)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--assign
sequence to the object (2 ->
org.eclipse.persistence.example.jpa.server.business.Cell@17563935( id:
null state: null left: null right: null parent: HashSet@51815750
references: HashSet@51815750))
02:33:55,698 INFO [STDOUT] [EL Example]: enterprise:
ApplicationService persisting:
org.eclipse.persistence.example.jpa.server.business.Cell@31344459( id:
null state: null left: null right: null parent: HashSet@19312596
references: HashSet@19312596) on EM:
org.jboss.jpa.tx.TransactionScopedEntityManager@d6d6d4
02:33:55,698 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:55.698--UnitOfWork(30124985)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--PERSIST
operation called on:
org.eclipse.persistence.example.jpa.server.business.Cell@31344459( id:
null state: null left: null right: null parent: HashSet@19312596
references: HashSet@19312596).
02:33:55,698 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:55.698--UnitOfWork(30124985)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--assign
sequence to the object (3 ->
org.eclipse.persistence.example.jpa.server.business.Cell@31344459( id:
null state: null left: null right: null parent: HashSet@19312596
references: HashSet@19312596))
02:33:55,698 INFO [STDOUT] [EL Example]: enterprise:
ApplicationService persisting:
org.eclipse.persistence.example.jpa.server.business.Cell@1748661( id:
null state: null left: null right: null parent: HashSet@78539490
references: HashSet@78539490) on EM:
org.jboss.jpa.tx.TransactionScopedEntityManager@d6d6d4
02:33:55,698 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:55.698--UnitOfWork(30124985)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--PERSIST
operation called on:
org.eclipse.persistence.example.jpa.server.business.Cell@1748661( id:
null state: null left: null right: null parent: HashSet@78539490
references: HashSet@78539490).
02:33:55,698 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:55.698--UnitOfWork(30124985)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--assign
sequence to the object (4 ->
org.eclipse.persistence.example.jpa.server.business.Cell@1748661( id:
null state: null left: null right: null parent: HashSet@78539490
references: HashSet@78539490))
02:33:55,698 INFO [STDOUT] [EL Example]: enterprise:
ApplicationService persisting:
org.eclipse.persistence.example.jpa.server.business.Cell@29631096( id:
null state: null left: null right: null parent: HashSet@1748661
references: HashSet@1748661) on EM:
org.jboss.jpa.tx.TransactionScopedEntityManager@d6d6d4
02:33:55,698 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:55.698--UnitOfWork(30124985)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--PERSIST
operation called on:
org.eclipse.persistence.example.jpa.server.business.Cell@29631096( id:
null state: null left: null right: null parent: HashSet@1748661
references: HashSet@1748661).
02:33:55,698 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:55.698--UnitOfWork(30124985)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--assign
sequence to the object (5 ->
org.eclipse.persistence.example.jpa.server.business.Cell@29631096( id:
null state: null left: null right: null parent: HashSet@1748661
references: HashSet@1748661))
02:33:55,698 INFO [STDOUT] [EL Finer]: 2010-02-12
02:33:55.698--UnitOfWork(30124985)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--TX
beforeCompletion callback, status=STATUS_ACTIVE
02:33:55,698 INFO [STDOUT] [EL Finer]: 2010-02-12
02:33:55.698--UnitOfWork(30124985)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--begin
unit of work commit
02:33:55,698 INFO [STDOUT] [EL Finer]: 2010-02-12
02:33:55.698--ClientSession(7812075)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--TX
beginTransaction, status=STATUS_ACTIVE
02:33:55,713 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:55.713--UnitOfWork(30124985)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query
InsertObjectQuery(org.eclipse.persistence.example.jpa.server.business.Cell@31344459(
id: 3 state: null left: null right: null parent: HashSet@19312596
references: HashSet@19312596))
02:33:55,713 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:55.713--ClientSession(7812075)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--reconnecting
to external connection pool
02:33:55,713 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:55.713--ClientSession(7812075)--Connection(26511049)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--INSERT
INTO EL_CELL (ID, STATE, TSEQ, RIGHT_ID, ACELLATTRIBUTE_ID) VALUES (?,
?, ?, ?, ?)
bind => [3, null, null, null, null]
02:33:55,713 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:55.713--UnitOfWork(30124985)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query
InsertObjectQuery(org.eclipse.persistence.example.jpa.server.business.Cell@17563935(
id: 2 state: null left: null right: null parent: HashSet@51815750
references: HashSet@51815750))
02:33:55,713 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:55.713--ClientSession(7812075)--Connection(26511049)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--INSERT
INTO EL_CELL (ID, STATE, TSEQ, RIGHT_ID, ACELLATTRIBUTE_ID) VALUES (?,
?, ?, ?, ?)
bind => [2, null, null, null, null]
02:33:55,713 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:55.713--UnitOfWork(30124985)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query
InsertObjectQuery(org.eclipse.persistence.example.jpa.server.business.Cell@1748661(
id: 4 state: null left: null right: null parent: HashSet@78539490
references: HashSet@78539490))
02:33:55,713 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:55.713--ClientSession(7812075)--Connection(26511049)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--INSERT
INTO EL_CELL (ID, STATE, TSEQ, RIGHT_ID, ACELLATTRIBUTE_ID) VALUES (?,
?, ?, ?, ?)
bind => [4, null, null, null, null]
02:33:55,713 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:55.713--UnitOfWork(30124985)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query
InsertObjectQuery(org.eclipse.persistence.example.jpa.server.business.Cell@18722630(
id: 1 state: null left: null right: null parent: HashSet@17563935
references: HashSet@17563935))
02:33:55,713 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:55.713--ClientSession(7812075)--Connection(26511049)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--INSERT
INTO EL_CELL (ID, STATE, TSEQ, RIGHT_ID, ACELLATTRIBUTE_ID) VALUES (?,
?, ?, ?, ?)
bind => [1, null, null, null, null]
02:33:55,713 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:55.713--UnitOfWork(30124985)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query
InsertObjectQuery(org.eclipse.persistence.example.jpa.server.business.Cell@29631096(
id: 5 state: null left: null right: null parent: HashSet@1748661
references: HashSet@1748661))
02:33:55,713 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:55.713--ClientSession(7812075)--Connection(26511049)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--INSERT
INTO EL_CELL (ID, STATE, TSEQ, RIGHT_ID, ACELLATTRIBUTE_ID) VALUES (?,
?, ?, ?, ?)
bind => [5, null, null, null, null]
02:33:55,713 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:55.713--UnitOfWork(30124985)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query DataModifyQuery()
02:33:55,729 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:55.729--ClientSession(7812075)--Connection(26511049)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--INSERT
INTO EL_CELL_EL_CELL (references_ID, peers_ID) VALUES (?, ?)
bind => [2, 3]
02:33:55,729 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:55.729--UnitOfWork(30124985)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query DataModifyQuery(sql="INSERT INTO EL_CELL_EL_CELL (references_ID,
peers_ID) VALUES (?, ?)")
02:33:55,729 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:55.729--ClientSession(7812075)--Connection(26511049)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--INSERT
INTO EL_CELL_EL_CELL (references_ID, peers_ID) VALUES (?, ?)
bind => [4, 3]
02:33:55,729 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:55.729--UnitOfWork(30124985)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query DataModifyQuery(sql="INSERT INTO EL_CELL_EL_CELL (references_ID,
peers_ID) VALUES (?, ?)")
02:33:55,729 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:55.729--ClientSession(7812075)--Connection(26511049)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--INSERT
INTO EL_CELL_EL_CELL (references_ID, peers_ID) VALUES (?, ?)
bind => [4, 2]
02:33:55,729 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:55.729--UnitOfWork(30124985)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query DataModifyQuery(sql="INSERT INTO EL_CELL_EL_CELL (references_ID,
peers_ID) VALUES (?, ?)")
02:33:55,729 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:55.729--ClientSession(7812075)--Connection(26511049)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--INSERT
INTO EL_CELL_EL_CELL (references_ID, peers_ID) VALUES (?, ?)
bind => [1, 2]
02:33:55,729 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:55.729--UnitOfWork(30124985)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query DataModifyQuery(sql="INSERT INTO EL_CELL_EL_CELL (references_ID,
peers_ID) VALUES (?, ?)")
02:33:55,729 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:55.729--ClientSession(7812075)--Connection(26511049)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--INSERT
INTO EL_CELL_EL_CELL (references_ID, peers_ID) VALUES (?, ?)
bind => [3, 2]
02:33:55,729 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:55.729--UnitOfWork(30124985)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query DataModifyQuery(sql="INSERT INTO EL_CELL_EL_CELL (references_ID,
peers_ID) VALUES (?, ?)")
02:33:55,729 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:55.729--ClientSession(7812075)--Connection(26511049)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--INSERT
INTO EL_CELL_EL_CELL (references_ID, peers_ID) VALUES (?, ?)
bind => [2, 4]
02:33:55,729 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:55.729--UnitOfWork(30124985)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query DataModifyQuery(sql="INSERT INTO EL_CELL_EL_CELL (references_ID,
peers_ID) VALUES (?, ?)")
02:33:55,729 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:55.729--ClientSession(7812075)--Connection(26511049)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--INSERT
INTO EL_CELL_EL_CELL (references_ID, peers_ID) VALUES (?, ?)
bind => [5, 4]
02:33:55,729 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:55.729--UnitOfWork(30124985)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query DataModifyQuery(sql="INSERT INTO EL_CELL_EL_CELL (references_ID,
peers_ID) VALUES (?, ?)")
02:33:55,729 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:55.729--ClientSession(7812075)--Connection(26511049)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--INSERT
INTO EL_CELL_EL_CELL (references_ID, peers_ID) VALUES (?, ?)
bind => [3, 4]
02:33:55,729 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:55.729--UnitOfWork(30124985)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query DataModifyQuery(sql="INSERT INTO EL_CELL_EL_CELL (references_ID,
peers_ID) VALUES (?, ?)")
02:33:55,729 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:55.729--ClientSession(7812075)--Connection(26511049)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--INSERT
INTO EL_CELL_EL_CELL (references_ID, peers_ID) VALUES (?, ?)
bind => [2, 1]
02:33:55,729 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:55.729--UnitOfWork(30124985)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query DataModifyQuery(sql="INSERT INTO EL_CELL_EL_CELL (references_ID,
peers_ID) VALUES (?, ?)")
02:33:55,729 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:55.729--ClientSession(7812075)--Connection(26511049)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--INSERT
INTO EL_CELL_EL_CELL (references_ID, peers_ID) VALUES (?, ?)
bind => [4, 5]
02:33:55,744 INFO [STDOUT] [EL Finer]: 2010-02-12
02:33:55.744--UnitOfWork(30124985)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--TX
afterCompletion callback, status=COMMITTED
02:33:55,744 INFO [STDOUT] [EL Finer]: 2010-02-12
02:33:55.744--UnitOfWork(30124985)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--end
unit of work commit
02:33:55,760 INFO [STDOUT] FrontController.getApplicationService()
JNDI lookup of
org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEAR/ApplicationService/local
02:33:56,072 INFO [STDOUT] _Test: JPA 2.0 Metamodel:
MetamodelImpl@14689060 [ 5 Types: , 2 ManagedTypes: , 2 EntityTypes: ,
0 MappedSuperclassTypes: , 0 EmbeddableTypes: ]
02:33:56,072 INFO [STDOUT] [EL Finer]: 2010-02-12
02:33:56.072--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--client
acquired
02:33:56,072 INFO [STDOUT] [EL Finer]: 2010-02-12
02:33:56.072--UnitOfWork(19080825)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--TX
binding to tx mgr, status=STATUS_ACTIVE
02:33:56,072 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:56.072--UnitOfWork(19080825)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query ReadAllQuery(referenceClass=Cell sql="SELECT ID, STATE, TSEQ,
RIGHT_ID, ACELLATTRIBUTE_ID FROM EL_CELL")
02:33:56,072 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:56.072--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--reconnecting
to external connection pool
02:33:56,072 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:56.072--ServerSession(27187993)--Connection(28069432)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--SELECT
ID, STATE, TSEQ, RIGHT_ID, ACELLATTRIBUTE_ID FROM EL_CELL
02:33:56,088 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:56.088--UnitOfWork(19080825)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query ReadAllQuery(name="references" referenceClass=Cell sql="SELECT
t1.ID, t1.STATE, t1.TSEQ, t1.RIGHT_ID, t1.ACELLATTRIBUTE_ID FROM
EL_CELL_EL_CELL t0, EL_CELL t1 WHERE ((t0.peers_ID = ?) AND (t1.ID =
t0.references_ID))")
02:33:56,088 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:56.088--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--reconnecting
to external connection pool
02:33:56,088 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:56.088--ServerSession(27187993)--Connection(32880029)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--SELECT
t1.ID, t1.STATE, t1.TSEQ, t1.RIGHT_ID, t1.ACELLATTRIBUTE_ID FROM
EL_CELL_EL_CELL t0, EL_CELL t1 WHERE ((t0.peers_ID = ?) AND (t1.ID =
t0.references_ID))
bind => [1]
02:33:56,088 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:56.088--UnitOfWork(19080825)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query ReadAllQuery(name="references" referenceClass=Cell sql="SELECT
t1.ID, t1.STATE, t1.TSEQ, t1.RIGHT_ID, t1.ACELLATTRIBUTE_ID FROM
EL_CELL_EL_CELL t0, EL_CELL t1 WHERE ((t0.peers_ID = ?) AND (t1.ID =
t0.references_ID))")
02:33:56,088 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:56.088--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--reconnecting
to external connection pool
02:33:56,088 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:56.088--ServerSession(27187993)--Connection(2749844)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--SELECT
t1.ID, t1.STATE, t1.TSEQ, t1.RIGHT_ID, t1.ACELLATTRIBUTE_ID FROM
EL_CELL_EL_CELL t0, EL_CELL t1 WHERE ((t0.peers_ID = ?) AND (t1.ID =
t0.references_ID))
bind => [2]
02:33:56,088 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:56.088--UnitOfWork(19080825)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query ReadAllQuery(name="references" referenceClass=Cell sql="SELECT
t1.ID, t1.STATE, t1.TSEQ, t1.RIGHT_ID, t1.ACELLATTRIBUTE_ID FROM
EL_CELL_EL_CELL t0, EL_CELL t1 WHERE ((t0.peers_ID = ?) AND (t1.ID =
t0.references_ID))")
02:33:56,088 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:56.088--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--reconnecting
to external connection pool
02:33:56,088 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:56.088--ServerSession(27187993)--Connection(606048)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--SELECT
t1.ID, t1.STATE, t1.TSEQ, t1.RIGHT_ID, t1.ACELLATTRIBUTE_ID FROM
EL_CELL_EL_CELL t0, EL_CELL t1 WHERE ((t0.peers_ID = ?) AND (t1.ID =
t0.references_ID))
bind => [3]
02:33:56,088 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:56.088--UnitOfWork(19080825)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query ReadAllQuery(name="references" referenceClass=Cell sql="SELECT
t1.ID, t1.STATE, t1.TSEQ, t1.RIGHT_ID, t1.ACELLATTRIBUTE_ID FROM
EL_CELL_EL_CELL t0, EL_CELL t1 WHERE ((t0.peers_ID = ?) AND (t1.ID =
t0.references_ID))")
02:33:56,088 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:56.088--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--reconnecting
to external connection pool
02:33:56,088 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:56.088--ServerSession(27187993)--Connection(7003891)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--SELECT
t1.ID, t1.STATE, t1.TSEQ, t1.RIGHT_ID, t1.ACELLATTRIBUTE_ID FROM
EL_CELL_EL_CELL t0, EL_CELL t1 WHERE ((t0.peers_ID = ?) AND (t1.ID =
t0.references_ID))
bind => [4]
02:33:56,088 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:56.088--UnitOfWork(19080825)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query ReadAllQuery(name="references" referenceClass=Cell sql="SELECT
t1.ID, t1.STATE, t1.TSEQ, t1.RIGHT_ID, t1.ACELLATTRIBUTE_ID FROM
EL_CELL_EL_CELL t0, EL_CELL t1 WHERE ((t0.peers_ID = ?) AND (t1.ID =
t0.references_ID))")
02:33:56,088 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:56.088--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--reconnecting
to external connection pool
02:33:56,088 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:56.088--ServerSession(27187993)--Connection(24639661)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--SELECT
t1.ID, t1.STATE, t1.TSEQ, t1.RIGHT_ID, t1.ACELLATTRIBUTE_ID FROM
EL_CELL_EL_CELL t0, EL_CELL t1 WHERE ((t0.peers_ID = ?) AND (t1.ID =
t0.references_ID))
bind => [5]
02:33:56,088 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:56.088--UnitOfWork(19080825)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query ReadObjectQuery(name="left" referenceClass=Cell sql="SELECT ID,
STATE, TSEQ, RIGHT_ID, ACELLATTRIBUTE_ID FROM EL_CELL WHERE (RIGHT_ID =
?)")
02:33:56,088 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:56.088--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--reconnecting
to external connection pool
02:33:56,088 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:56.088--ServerSession(27187993)--Connection(18949273)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--SELECT
ID, STATE, TSEQ, RIGHT_ID, ACELLATTRIBUTE_ID FROM EL_CELL WHERE
(RIGHT_ID = ?)
bind => [5]
02:33:56,103 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:56.088--UnitOfWork(19080825)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query ReadAllQuery(name="peers" referenceClass=Cell sql="SELECT t1.ID,
t1.STATE, t1.TSEQ, t1.RIGHT_ID, t1.ACELLATTRIBUTE_ID FROM
EL_CELL_EL_CELL t0, EL_CELL t1 WHERE ((t0.references_ID = ?) AND (t1.ID
= t0.peers_ID))")
02:33:56,103 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:56.103--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--reconnecting
to external connection pool
02:33:56,103 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:56.103--ServerSession(27187993)--Connection(7199170)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--SELECT
t1.ID, t1.STATE, t1.TSEQ, t1.RIGHT_ID, t1.ACELLATTRIBUTE_ID FROM
EL_CELL_EL_CELL t0, EL_CELL t1 WHERE ((t0.references_ID = ?) AND (t1.ID
= t0.peers_ID))
bind => [5]
02:33:56,103 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:56.103--UnitOfWork(19080825)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query ReadObjectQuery(name="left" referenceClass=Cell sql="SELECT ID,
STATE, TSEQ, RIGHT_ID, ACELLATTRIBUTE_ID FROM EL_CELL WHERE (RIGHT_ID =
?)")
02:33:56,103 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:56.103--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--reconnecting
to external connection pool
02:33:56,103 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:56.103--ServerSession(27187993)--Connection(12029085)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--SELECT
ID, STATE, TSEQ, RIGHT_ID, ACELLATTRIBUTE_ID FROM EL_CELL WHERE
(RIGHT_ID = ?)
bind => [4]
02:33:56,103 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:56.103--UnitOfWork(19080825)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query ReadAllQuery(name="peers" referenceClass=Cell sql="SELECT t1.ID,
t1.STATE, t1.TSEQ, t1.RIGHT_ID, t1.ACELLATTRIBUTE_ID FROM
EL_CELL_EL_CELL t0, EL_CELL t1 WHERE ((t0.references_ID = ?) AND (t1.ID
= t0.peers_ID))")
02:33:56,103 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:56.103--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--reconnecting
to external connection pool
02:33:56,103 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:56.103--ServerSession(27187993)--Connection(21506549)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--SELECT
t1.ID, t1.STATE, t1.TSEQ, t1.RIGHT_ID, t1.ACELLATTRIBUTE_ID FROM
EL_CELL_EL_CELL t0, EL_CELL t1 WHERE ((t0.references_ID = ?) AND (t1.ID
= t0.peers_ID))
bind => [4]
02:33:56,103 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:56.103--UnitOfWork(19080825)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query ReadObjectQuery(name="left" referenceClass=Cell sql="SELECT ID,
STATE, TSEQ, RIGHT_ID, ACELLATTRIBUTE_ID FROM EL_CELL WHERE (RIGHT_ID =
?)")
02:33:56,103 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:56.103--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--reconnecting
to external connection pool
02:33:56,103 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:56.103--ServerSession(27187993)--Connection(29021774)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--SELECT
ID, STATE, TSEQ, RIGHT_ID, ACELLATTRIBUTE_ID FROM EL_CELL WHERE
(RIGHT_ID = ?)
bind => [3]
02:33:56,103 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:56.103--UnitOfWork(19080825)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query ReadAllQuery(name="peers" referenceClass=Cell sql="SELECT t1.ID,
t1.STATE, t1.TSEQ, t1.RIGHT_ID, t1.ACELLATTRIBUTE_ID FROM
EL_CELL_EL_CELL t0, EL_CELL t1 WHERE ((t0.references_ID = ?) AND (t1.ID
= t0.peers_ID))")
02:33:56,103 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:56.103--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--reconnecting
to external connection pool
02:33:56,103 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:56.103--ServerSession(27187993)--Connection(7197142)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--SELECT
t1.ID, t1.STATE, t1.TSEQ, t1.RIGHT_ID, t1.ACELLATTRIBUTE_ID FROM
EL_CELL_EL_CELL t0, EL_CELL t1 WHERE ((t0.references_ID = ?) AND (t1.ID
= t0.peers_ID))
bind => [3]
02:33:56,103 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:56.103--UnitOfWork(19080825)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query ReadObjectQuery(name="left" referenceClass=Cell sql="SELECT ID,
STATE, TSEQ, RIGHT_ID, ACELLATTRIBUTE_ID FROM EL_CELL WHERE (RIGHT_ID =
?)")
02:33:56,103 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:56.103--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--reconnecting
to external connection pool
02:33:56,103 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:56.103--ServerSession(27187993)--Connection(16059085)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--SELECT
ID, STATE, TSEQ, RIGHT_ID, ACELLATTRIBUTE_ID FROM EL_CELL WHERE
(RIGHT_ID = ?)
bind => [2]
02:33:56,103 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:56.103--UnitOfWork(19080825)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query ReadAllQuery(name="peers" referenceClass=Cell sql="SELECT t1.ID,
t1.STATE, t1.TSEQ, t1.RIGHT_ID, t1.ACELLATTRIBUTE_ID FROM
EL_CELL_EL_CELL t0, EL_CELL t1 WHERE ((t0.references_ID = ?) AND (t1.ID
= t0.peers_ID))")
02:33:56,103 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:56.103--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--reconnecting
to external connection pool
02:33:56,103 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:56.103--ServerSession(27187993)--Connection(1000913)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--SELECT
t1.ID, t1.STATE, t1.TSEQ, t1.RIGHT_ID, t1.ACELLATTRIBUTE_ID FROM
EL_CELL_EL_CELL t0, EL_CELL t1 WHERE ((t0.references_ID = ?) AND (t1.ID
= t0.peers_ID))
bind => [2]
02:33:56,103 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:56.103--UnitOfWork(19080825)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query ReadObjectQuery(name="left" referenceClass=Cell sql="SELECT ID,
STATE, TSEQ, RIGHT_ID, ACELLATTRIBUTE_ID FROM EL_CELL WHERE (RIGHT_ID =
?)")
02:33:56,103 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:56.103--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--reconnecting
to external connection pool
02:33:56,103 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:56.103--ServerSession(27187993)--Connection(5883078)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--SELECT
ID, STATE, TSEQ, RIGHT_ID, ACELLATTRIBUTE_ID FROM EL_CELL WHERE
(RIGHT_ID = ?)
bind => [1]
02:33:56,119 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:56.103--UnitOfWork(19080825)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
query ReadAllQuery(name="peers" referenceClass=Cell sql="SELECT t1.ID,
t1.STATE, t1.TSEQ, t1.RIGHT_ID, t1.ACELLATTRIBUTE_ID FROM
EL_CELL_EL_CELL t0, EL_CELL t1 WHERE ((t0.references_ID = ?) AND (t1.ID
= t0.peers_ID))")
02:33:56,119 INFO [STDOUT] [EL Finest]: 2010-02-12
02:33:56.119--ServerSession(27187993)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--reconnecting
to external connection pool
02:33:56,119 INFO [STDOUT] [EL Fine]: 2010-02-12
02:33:56.119--ServerSession(27187993)--Connection(29433056)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--SELECT
t1.ID, t1.STATE, t1.TSEQ, t1.RIGHT_ID, t1.ACELLATTRIBUTE_ID FROM
EL_CELL_EL_CELL t0, EL_CELL t1 WHERE ((t0.references_ID = ?) AND (t1.ID
= t0.peers_ID))
bind => [1]
02:33:56,119 INFO [STDOUT] [EL Finer]: 2010-02-12
02:33:56.119--UnitOfWork(19080825)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--TX
beforeCompletion callback, status=STATUS_ACTIVE
02:33:56,119 INFO [STDOUT] [EL Finer]: 2010-02-12
02:33:56.119--UnitOfWork(19080825)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--begin
unit of work commit
02:33:56,119 INFO [STDOUT] [EL Finer]: 2010-02-12
02:33:56.119--UnitOfWork(19080825)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--TX
afterCompletion callback, status=COMMITTED
02:33:56,119 INFO [STDOUT] [EL Finer]: 2010-02-12
02:33:56.119--UnitOfWork(19080825)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--end
unit of work commit
02:33:56,119 INFO [STDOUT] [EL Example]: enterprise: Object:
org.eclipse.persistence.example.jpa.server.business.Cell@32403884( id:
1 state: null left: null right: null parent: HashSet@14384627
references: HashSet@14384627)
carl roberts wrote:
Ok,
I apologize for that. I am forwarding this response to the list.
Thanks,
Joe
On 2/11/2010 1:58 PM, Michael O'Brien wrote:
Carl,
Discussion has been moved to the list.
/michael
carl roberts wrote:
Hi Michael,
I tried doing my own lookup of the DMWS datasource and found it so it
appears only eclipselink has a problem finding it with the same name.
In my code for the lookup I have java:/DMWS and I find it. When I use
the same value in the persistence.xml file it comes back with the error
I stated previously.
Anyway, I did try what you suggested and I still get the same error,
but for the new datasource name (attached are my persistence.xml and
web.xml):
13:53:51,687 ERROR [StandardContext] Context [/DMWS] startup failed due
to previous errors
java.lang.RuntimeException: mapped-name is required for
DefaultDS
of
deployment DMWS.war
at
org.jboss.web.tomcat.service.injection.WebResourceHandler.loadXmlResourceRefs(WebResourceHandler.java:178)
at
org.jboss.web.tomcat.service.injection.WebResourceHandler.loadXml(WebResourceHandler.java:327)
at
org.jboss.web.tomcat.service.TomcatInjectionContainer.processMetadata(TomcatInjectionContainer.java:550)
at
org.jboss.web.tomcat.service.WebCtxLoader.start(WebCtxLoader.java:158)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4272)
at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310)
at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)
at
org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
at
org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at
org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
at $Proxy38.start(Unknown Source)
at
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
at
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
at
org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
at
org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
at
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at
org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at
org.jboss.system.ServiceController.doChange(ServiceController.java:688)
at
org.jboss.system.ServiceController.start(ServiceController.java:460)
at
org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
at
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
at
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
at
org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
at
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
at
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
at
org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
at
org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
at
org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
at
org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
at
org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)
at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at
org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)
at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
at
org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
at org.jboss.Main.boot(Main.java:221)
at org.jboss.Main$1.run(Main.java:556)
at java.lang.Thread.run(Thread.java:619)
Thanks,
Joe
On 2/11/2010 1:04 PM, Michael O'Brien wrote:
Carl,
Re: bug# 302449
https://bugs.eclipse.org/bugs/show_bug.cgi?id=302449
Hi, details on configuring the TX datasource are on the wiki (3
steps).
http://wiki.eclipse.org/EclipseLink/Examples/JPA/JBoss_Web_Tutorial#JNDI_JTA.2Fnon-JTA_Server_DataSource_Setup
Note: To minimize configuration errors - try the already configured
HSQL datasource that ships with JBoss
java:/DefaultDS
-----------------------
I should add using the default HSQL DefaultDS as well to this wiki.
I would like to capture any new config details on the eclipselink
tutorial wiki page for JBoss - so it can help a wider audience as well.
Tom is moving this discussion to the list now.
thank you
/michael
As a
carl roberts wrote:
Hi Michael,
How did you create your JNDI datasource in JBOSS 5.1.0 when you tested
the bug I reported? Or, did you use driver and connection properties
in the persistence.xml?
Reason, I am asking is that Tom asked me to copy the eclipselink.jar
and persistence jar to the server\default\lib directory and that got me
past the ClassCastException, although every once in a while it comes
back but now I am getting an error stating this:
(I have tried using DMWS for the jndi name inside the oracle-ds.xml
file and java:/DMWS for the jndi name inside the persistence.xml file
and DMWS for the datasource name inside the web.xml file and get the
error);
java.lang.RuntimeException: mapped-name is required for DMWS of
deployment DMWS.war
at
org.jboss.web.tomcat.service.injection.WebResourceHandler.loadXmlResourceRefs(WebResourceHandler.java:178)
at
org.jboss.web.tomcat.service.injection.WebResourceHandler.loadXml(WebResourceHandler.java:327)
at
org.jboss.web.tomcat.service.TomcatInjectionContainer.processMetadata(TomcatInjectionContainer.java:550)
at
org.jboss.web.tomcat.service.WebCtxLoader.start(WebCtxLoader.java:158)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4272)
at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310)
at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)
at
org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
at
org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at
org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
at $Proxy38.start(Unknown Source)
at
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
at
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
at
org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
at
org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
at
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at
org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at
org.jboss.system.ServiceController.doChange(ServiceController.java:688)
at
org.jboss.system.ServiceController.start(ServiceController.java:460)
at
org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
at
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
at
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
at
org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
at
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
at
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
at
org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
at
org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
at
org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
at
org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
at
org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)
at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at
org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)
at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
at
org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
at org.jboss.Main.boot(Main.java:221)
at org.jboss.Main$1.run(Main.java:556)
at java.lang.Thread.run(Thread.java:619)
--
Joe
Roberts |
Senior Applications Engineer, Insurance Global Business Unit
Phone:
+1 770 910 8257 | Mobile: +1 678 439 6635
Oracle Insurance
Global Business Unit
3353 Peachtree Road,
NE | Suite 800 | Atlanta, GA 30326
_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-users
_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-users
|