Toplink JPA with Coherence deployment to Weblogic 10.3
Hi,
I have created an EJB application using Toplink JPA and Coherence. I would like to deploy this application to Weblogic 10.3.
During the startup of Weblogic I have specified the Java option as
-Dtangosol.coherence.cacheconfig=D:/JDEV_11g/jdeveloper/jdev/mywork/CoherenceApp/CoherenceProject/src/META-INF/coherence-cache-config.xml.
Persistence.xml and coherence-cache-config.xml are palced inside the jar file.
When I execute the ejb client program, during the method call, I can see that coherence is started but it uses the cache-config from the coherence.jar file instaed of the value I have set during startup. How can I make weblogic use my cache-config.xml? I have included the log file entries from server:
[EL Finest]: 2009.04.17 05:33:48.625--UnitOfWork(1777337)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Execute query ReadObjectQuery(coherenceproject.MetadataType)
2009-04-17 05:33:54.547/258.954 Oracle Coherence 3.4.2/411 <Info> (thread=[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Loaded operational configuration from resource "zip:D:/JDEV_11g/jdeveloper/jdev/mywork/CoherenceApp/lib/coherence.jar!/tangosol-coherence.xml"
2009-04-17 05:33:54.562/258.969 Oracle Coherence 3.4.2/411 <Info> (thread=[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Loaded operational overrides from resource "zip:D:/JDEV_11g/jdeveloper/jdev/mywork/CoherenceApp/lib/coherence.jar!/tangosol-coherence-override-dev.xml"
2009-04-17 05:33:54.562/258.969 Oracle Coherence 3.4.2/411 <D5> (thread=[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Optional configuration override "/tangosol-coherence-override.xml" is not specified
2009-04-17 05:33:54.578/258.985 Oracle Coherence 3.4.2/411 <D5> (thread=[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Optional configuration override "/custom-mbeans.xml" is not specified
Oracle Coherence Version 3.4.2/411
Grid Edition: Development mode
Copyright (c) 2000-2009 Oracle. All rights reserved.
*2009-04-17 05:33:55.750/260.157 Oracle Coherence GE 3.4.2/411 <Info> (thread=[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Loaded cache configuration from resource "zip:D:/JDEV_11g/jdeveloper/jdev/mywork/CoherenceApp/lib/coherence.jar!/coherence-cache-config.xml"*
2009-04-17 05:34:17.390/281.797 Oracle Coherence GE 3.4.2/411 <D5> (thread=Cluster, member=n/a): Service Cluster joined the cluster with senior service member n/a
2009-04-17 05:34:21.890/286.297 Oracle Coherence GE 3.4.2/411 <Info> (thread=Cluster, member=n/a): Created a new cluster "cluster:0x2FFB" with Member(Id=1, Timestamp=2009-04-17 05:34:09.203, Address=141.144.90.113:8088, MachineId=18289, Location=site:sg.oracle.com,machine:rajerama-sg,process:3816, Role=WeblogicServer, Edition=Grid Edition, Mode=Development, CpuCount=2, SocketCount=1) UID=0x8D905A7100000120B0D9DD3347711F98
2009-04-17 05:34:27.000/291.407 Oracle Coherence GE 3.4.2/411 <D5> (thread=DistributedCache, member=1): Service DistributedCache joined the cluster with senior service member 1
[EL Finer]: 2009.04.17 05:34:28.343--ServerSession(32927169)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Coherence(MetadataType)::Get: 2
[EL Fine]: 2009.04.17 05:34:28.703--ServerSession(32927169)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Coherence(MetadataType)::Get: 2 result: null
[EL Finer]: 2009.04.17 05:34:28.703--ServerSession(32927169)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Coherence(MetadataType)::Get: 2
*[EL Fine]: 2009.04.17 05:34:28.703--ServerSession(32927169)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Coherence(MetadataType)::Get: 2 result: null*
null
Eventhough the method is called correctly, it does not return the value. Is there any other setup that has to be done?
Regards
Raji
Hi Raji,
You mentioned:
>
-Dtangosol.coherence.cacheconfig=D:/JDEV_11g/jdeveloper/jdev/mywork/CoherenceApp/CoherenceProject/src/META-INF/coherence-cache-config.xml
>
and
>
Persistence.xml and coherence-cache-config.xml are palced inside the jar file.
>
It appears that these are conflicting; as the system property indicates that the config should be read from a file, whereas the file is actually deployed in a jar.
That being said, I would suggest double checking that the system property is actually being set in the JVM. In my testing, if I specify a cache config that does not exist, an exception will be thrown:
java -Dtangosol.coherence.cacheconfig=foo.xml com.tangosol.net.CacheFactory
Oracle Coherence Version 3.4.2/411p3
Grid Edition: Development mode
Copyright (c) 2000-2009 Oracle. All rights reserved.
Map (?): cache test
2009-04-22 15:33:15.310/6.917 Oracle Coherence GE 3.4.2/411p3 <Error> (thread=main, member=1):
(Wrapped: Failed to load the factory) java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at com.tangosol.util.ClassHelper.newInstance(ClassHelper.java:662)
at com.tangosol.net.CacheFactory.getConfigurableCacheFactory(CacheFactory.java:602)
at com.tangosol.coherence.component.application.console.Coherence.doCache(Coherence.CDB:9)
at com.tangosol.coherence.component.application.console.Coherence.processCommand(Coherence.CDB:209)
at com.tangosol.coherence.component.application.console.Coherence.run(Coherence.CDB:39)
at com.tangosol.coherence.component.application.console.Coherence.main(Coherence.CDB:3)
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:585)
at com.tangosol.net.CacheFactory.main(CacheFactory.java:1308)
Caused by: (Wrapped: Failed to load configuration resource: foo.xml) java.io.IOException: Configuration is missing: "foo.xml", loader=null
at com.tangosol.net.DefaultConfigurableCacheFactory.loadConfigAsResource(DefaultConfigurableCacheFactory.java:386)
at com.tangosol.net.DefaultConfigurableCacheFactory.loadConfig(DefaultConfigurableCacheFactory.java:337)
at com.tangosol.net.DefaultConfigurableCacheFactory.loadConfig(DefaultConfigurableCacheFactory.java:309)
at com.tangosol.net.DefaultConfigurableCacheFactory.<init>(DefaultConfigurableCacheFactory.java:137)
... 15 moreThanks,
Patrick
Similar Messages
-
Where can get the adftutoial or adfdevguide for TopLink JPA with JSF/ADF ?
Hello...
Can anyone suggest me where on OTN I can find the adftutorial and adfdevguide describing developement using Toplink JPA ( EJB 3.0) with JSF/ADF faces ?
Thanking you in advance,
SambaHi Samba,
- Build a Web Application(JSF) using JPA
- Oracle ADF Developer Guide
- ADF Learning Center
Hope it helps!
Koen -
we are using Toplink, JPA and coherence.
can anyone point me to java code that depicts "How to warm up the coherence cache and then run queries against the cache. and then what happens if the at some point object is not in cache " ?
thx
DWarming the cache for a TopLink Grid enabled entity can be done by issuing a query for the objects you want to load into the cache along with the hint:
query.setHint(QueryHints.QUERY_REDIRECTOR, new IgnoreDefaultRedirector());
Which is discussed here: http://download.oracle.com/docs/cd/E14571_01/doc.1111/e16596/tlcgd003.htm#CHDGFCAI.
You can also use JOIN and BATCH hints on the query if you want to load a graph of objects into the grid.
With Grid Read and Grid Entity configurations all queries will be executed on the grid. Primary key queries on the grid for objects not present in the grid will result in a primary key select on the database if you've configured a CacheStore for a given entity's cache.
Non-PK queries will only return what is in the grid. With Grid Read and Grid Entity is it your responsibility to ensure the grid is warmed up.
--Shaun -
Weblogic 9.1 with toplink JPA - Problem creating entityManagerFactory
I am using weblogic 9.1 with toplink jpa provider.
I am getting the error while creating entityManagerFactory.
Exception stack trace
faces.FacesException: #{LogonMB.authenticateLogin}: javax.faces.el.EvaluationException: java.lang.ExceptionInInitializerError
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:98)
at javax.faces.component.UICommand.broadcast(UICommand.java:332)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:287)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:401)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:95)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:268)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3153)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1973)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1880)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1310)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
Caused by: javax.faces.el.EvaluationException: java.lang.ExceptionInInitializerError
at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:150)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:92)
... 19 more
Caused by: java.lang.ExceptionInInitializerError
at com.arisglobal.cc.service.impl.PreferencesServiceImpl.getEntityManager(PreferencesServiceImpl.java:45)
at com.arisglobal.framework.service.AbstractBusinessService.(AbstractBusinessService.java:24)
at com.arisglobal.cc.service.impl.PreferencesServiceImpl.(PreferencesServiceImpl.java:36)
at com.arisglobal.cc.factory.BusinessServiceFactory.createPreferencesService(BusinessServiceFactory.java:113)
at com.arisglobal.cc.mb.LogonManagedBean.authenticateLogin(LogonManagedBean.java:51)
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:585)
at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:146)
... 20 more
Caused by: Exception [TOPLINK-34002] (Oracle TopLink Essentials - 2006.7 (Build 060720)): oracle.toplink.essentials.exceptions.XMLParseException
Exception Description: An exception occurred while processing persistence.xml from URL: file:/D:/ClinicalConnect/4. CODING/web/WEB-INF/classes/META-INF/persistence.xml. A SAXParser instance could not be created.
Internal Exception: org.xml.sax.SAXNotRecognizedException: http://java.sun.com/xml/jaxp/properties/schemaLanguage
at oracle.toplink.essentials.exceptions.XMLParseException.getXMLParseException(XMLParseException.java:101)
at oracle.toplink.essentials.exceptions.XMLParseException.exceptionCreatingSAXParser(XMLParseException.java:73)
at oracle.toplink.essentials.ejb.cmp3.persistence.PersistenceUnitProcessor.processPersistenceXML(PersistenceUnitProcessor.java:315)
at oracle.toplink.essentials.ejb.cmp3.persistence.PersistenceUnitProcessor.processPersistenceArchveFromUnconvertableURL(PersistenceUnitProcessor.java:90)
at oracle.toplink.essentials.ejb.cmp3.persistence.PersistenceUnitProcessor.processPersistenceArchive(PersistenceUnitProcessor.java:202)
at oracle.toplink.essentials.ejb.cmp3.persistence.PersistenceUnitProcessor.getPersistenceUnits(PersistenceUnitProcessor.java:77)
at oracle.toplink.essentials.internal.ejb.cmp3.JavaSECMPInitializer.initPersistenceUnits(JavaSECMPInitializer.java:222)
at oracle.toplink.essentials.internal.ejb.cmp3.JavaSECMPInitializer.initialize(JavaSECMPInitializer.java:240)
at oracle.toplink.essentials.internal.ejb.cmp3.JavaSECMPInitializer.initializeFromMain(JavaSECMPInitializer.java:277)
at oracle.toplink.essentials.internal.ejb.cmp3.JavaSECMPInitializer.getJavaSECMPInitializer(JavaSECMPInitializer.java:80)
at oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.createEntityManagerFactory(EntityManagerFactoryProvider.java:118)
at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:83)
at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:60)
at com.arisglobal.cc.helper.ResourceManager.(ResourceManager.java:8)hi JavaCrazyLover
u got why u getting the error i ma getting similar error its running fine in 8.1 but in web9.1 it is giving errors in some jsp pages may be due to versions or name spacing ie we write in top of the page DTD schema am not sure but i think , there is no jars to add on as such web 9.1 is upgraded one and it supports all files some where there will be conflicts between versions example JDK 1.5and 1.4 enum is a keyword in 9.1 but in normal in 8.1 if u get the solution for this error please mail me to [email protected]
rgds
Mohammed Mansoor -
Toplink JPA Deployment problem in OC4J
Hi all ,
we are having problem in deployment for an toplink JPA program in OC4J 10.1.3 .. We are using toplink essesntial and our deployed EAR structure is
aaplication.xml
rmwtoplink.war
the content of application.xml is as
<display-name>rmwtoplink</display-name>
<module>
<web>
<web-uri>rmwtoplink.war</web-uri>
<context-root>rmwapplist</context-root>
</web>
</module>
the content of war file as below :
web-inf\web.xml
web-inf\classes\META-INF\persistence.xml
web-inf\classes\<classes>
web-inf\gnf\<jsp pages>
when ever a pages are called those do not use entity manager / jpa call are loading perfectly , but the pages which have used jpa are nt diplayed , we check the error messages , it just halts after following codes :
EntityManagerFactory emf =
Persistence.createEntityManagerFactory(jpaSource);
It seems there is no exception that is even thrown in page or opmn log .
The same program is running fine in Jdveloper 10.1.3 /
Is there any way where we can get the actual error message ?
we are using toplink.jdbc.url for connecting the database .Here is little more insight for the problem , further check reveals that :
start connecting rmwtest
exception occured for connection test , Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
The Connection descriptor used by the client was:
//localhost:1521/ORCL
we do not have any idea how is localhost:1521/ORCL picked up , in our persistence.xml we have
where as rmwtest defined in persistence.xml as
<persistence-unit name="rmwtest" transaction-type="RESOURCE_LOCAL">
<provider>oracle.toplink.essentials.PersistenceProvider</provider>
<class>rmw.gnf.entity.ServSesnUser</class>
<class>rmw.gnf.entity.RmwData</class>
<class>rmw.gnf.entity.GnfData</class>
<properties>
<property name="toplink.logging.level" value="FINEST"/>
<property name="toplink.jdbc.driver" value="oracle.jdbc.driver.OracleDriver"/>
<property name="toplink.jdbc.url" value="jdbc:oracle:thin:@middb.1dc.com:1621:ukdbins"/>
<property name="toplink.jdbc.user" value="****"/>
<property name="toplink.jdbc.password" value="********"/>
</properties>
</persistence-unit> -
Using EclipseLink or JPA with Oracle Coherence as shared cache
Hi,
I expect to use EclipseLink with Oracle Coherence as shared cache, mainly with/for Entity Caching.
* JPA)
For JPA queries, is the JPA semantics fully preserved when using Oracle Coherence ?
* Non-JPA)
Are the non-JPA API taking also advantage from Oracle Coherence ?
For these non-JPA queries, is the semantics fully preserved when using Oracle Coherence ?
Regards,
Dominique
PS: I hope this is the right forum to ask my questions.
Otherwise, could you tell me what is the right forum ?
Thanks.Yes, JPA semantics are fully preserved when using TopLink-Grid to cache entities within Coherence.
Yes, the native EclipseLink APIs can also take advantage of TopLink-Grid and Coherence.
I am not sure what you mean by "For these non-JPA queries, is the semantics fully preserved when using Oracle Coherence ?" Perhaps you can provide an example of what you are looking for?
--Gordon -
Can't deploy TopLink JPA on JBoss 5.1
Greetings,
I'm migrating from Hibernate to TopLink on JBoss 5.1. My new persistence.xml is the following:
<?xml version="1.0" encoding="UTF-8"?>
<persistence 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_1_0.xsd"
version="1.0">
<persistence-unit name="m2o-jar">
<provider>oracle.toplink.essentials.PersistenceProvider</provider>
<jta-data-source>java:/TestDS</jta-data-source>
<properties>
<property name="toplink.weaving" value="false" />
<property name="toplink.target-database" value="MySQL" />
<property name="toplink.jdbc.driver" value="com.mysql.jdbc.Driver" />
<property name="toplink.external.transaction.controller.class.name" value="oracle.toplink.essentials.transaction.jboss.JbossTransactionController"/>
<property name="toplink.ddl-generation" value="drop-and-create-tables" />
<property name="toplink.logging.level" value="FINEST" />
<property name="toplink.show_sql" value="true" />
</properties>
</persistence-unit>
</persistence>
While deploying on JBoss 5.1 I have the following:
19:39:46,800 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@650761918{vfsfile:/home/nicolas/workspace/jds40/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_EAP_5.1_Runtime_Server1311339484761/deploy/m2o-ear.ear/m2o-ejb.jar/}
19:39:46,800 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@650761918{vfsfile:/home/nicolas/workspace/jds40/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_EAP_5.1_Runtime_Server1311339484761/deploy/m2o-ear.ear/m2o-ejb.jar/}
19:39:46,939 INFO [JBossASKernel] Created KernelDeployment for: m2o-ejb.jar
19:39:46,939 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=m2o-ear.ear,jar=m2o-ejb.jar,name=Facade,service=EJB3
19:39:46,939 INFO [JBossASKernel] with dependencies:
19:39:46,939 INFO [JBossASKernel] and demands:
19:39:46,939 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
19:39:46,939 INFO [JBossASKernel] persistence.unit:unitName=m2o-ear.ear/m2o-ejb.jar#m2o-jar
19:39:46,939 INFO [JBossASKernel] and supplies:
19:39:46,939 INFO [JBossASKernel] jndi:m2o-ear/Facade/remote-de.dbag.jpa.m2o.FacadeRemote
19:39:46,939 INFO [JBossASKernel] jndi:m2o-ear/Facade/remote
19:39:46,939 INFO [JBossASKernel] jndi:/ejb/Facade/remote
19:39:46,939 INFO [JBossASKernel] Class:de.dbag.jpa.m2o.FacadeRemote
19:39:46,939 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=m2o-ear.ear,jar=m2o-ejb.jar,name=Facade,service=EJB3) to KernelDeployment of: m2o-ejb.jar
19:39:46,956 INFO [PersistenceUnitDeployment] Starting persistence unit persistence.unit:unitName=m2o-ear.ear/m2o-ejb.jar#m2o-jar
19:39:47,120 INFO [STDOUT] [TopLink Finest]: 2011.07.25 07:39:47.107--ServerSession(109396896)--Thread(Thread[HDScanner,5,jboss])--property=toplink.weaving; value=false
19:39:47,121 INFO [STDOUT] [TopLink Finest]: 2011.07.25 07:39:47.120--ServerSession(109396896)--Thread(Thread[HDScanner,5,jboss])--property=toplink.orm.throw.exceptions; default value=true
19:39:47,149 INFO [STDOUT] [TopLink Finer]: 2011.07.25 07:39:47.148--ServerSession(109396896)--Thread(Thread[HDScanner,5,jboss])--Searching for default mapping file in file:/home/nicolas/workspace/jds40/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_EAP_5.1_Runtime_Server1311339484761/deploy/m2o-ear.ear/m2o-ejb.jar/
19:39:47,157 INFO [STDOUT] [TopLink Warning]: 2011.07.25 07:39:47.157--Thread(Thread[HDScanner,5,jboss])--java.lang.NullPointerException: null was thrown on attempt of PersistenceLoadProcessor to load class de.dbag.jpa.m2o.Facade. The class is ignored.
19:39:47,158 INFO [STDOUT] [TopLink Warning]: 2011.07.25 07:39:47.157--Thread(Thread[HDScanner,5,jboss])--java.lang.NullPointerException: null was thrown on attempt of PersistenceLoadProcessor to load class de.dbag.jpa.m2o.Product. The class is ignored.
19:39:47,158 INFO [STDOUT] [TopLink Warning]: 2011.07.25 07:39:47.158--Thread(Thread[HDScanner,5,jboss])--java.lang.NullPointerException: null was thrown on attempt of PersistenceLoadProcessor to load class de.dbag.jpa.m2o.FacadeRemote. The class is ignored.
19:39:47,158 INFO [STDOUT] [TopLink Warning]: 2011.07.25 07:39:47.158--Thread(Thread[HDScanner,5,jboss])--java.lang.NullPointerException: null was thrown on attempt of PersistenceLoadProcessor to load class de.dbag.jpa.m2o.Instrument. The class is ignored.
19:39:47,162 INFO [STDOUT] [TopLink Finest]: 2011.07.25 07:39:47.162--ServerSession(109396896)--Thread(Thread[HDScanner,5,jboss])--end predeploying Persistence Unit m2o-jar; state Predeployed; factoryCount 1
19:39:47,213 INFO [SessionSpecContainer] Starting jboss.j2ee:ear=m2o-ear.ear,jar=m2o-ejb.jar,name=Facade,service=EJB3
19:39:47,215 INFO [EJBContainer] STARTED EJB: de.dbag.jpa.m2o.Facade ejbName: Facade
19:39:47,246 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
/ejb/Facade/remote - EJB3.x Default Remote Business Interface
m2o-ear/Facade/remote-de.dbag.jpa.m2o.FacadeRemote - EJB3.x Remote Business Interface
I have toplink-essentials.jar and hibernate-entitymanager.jar on the classpath. Please help.
Kind regards,
Nicolas DUMINILHello,
More information is required to help you, and as James suggested, the best option would be to move to EclipseLink instead of TopLink Essentials as EclipseLink is actively being developed and is the JPA 2 RI.
Running it on the latest EclipseLink ensures that you are not hitting an issue that has already been fixed, and both are based off TopLink.
Are you deploying an Ear or an exploded directory? If the later, can you try using an Ear?
Best Regards,
Chris -
Help with the Oracle Fusion Order Demo deployment to Weblogic Server
Hello all,
I am new to SOA and am in the process of understanding SOA concepts. I am trying to deploy the Fusion Order Demo sample application to the Weblogic server. I am following the instructions given at : [http://www.oracle.com/technology/obe/obe11jdev/bulldog/deploysoaapp/deployment.htm|http://www.oracle.com/technology/obe/obe11jdev/bulldog/deploysoaapp/deployment.htm] .
I am getting error when running the ant task "server-setup-seed-deploy-test" which deploys the Composite applications to the Weblogic Server. The ant log is pasted at the end of the post. The only difference i found from the instructions is that i do not have a AS11gR1SOA directory in my MW_HOME. Instead i have Oracle_SOA1 and i gave that directory's path for the parameter "soa.server.oracle.home".
I tried running the sub tasks in the "server-setup-seed-deploy-test" individually and only the last task "test-fod-composite-end2end" failed. Since the other tasks like "compile-deploy-all" were successfull, I tried to see the deployed applications in the soa domain. When i checked the soa domain in the Weblogic server console, I see only the "B2BX12OrderGateway" under the soa-infra. The OrderBookingComposite and others are not deployed.
Please help me in fixing this. Hope I have explained the problem correctly.
Thanks in advance
Nishan
-------------------------------------Apache ant log for "server-setup-seed-deploy-test"-----------------------------------------
Buildfile: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\bin\build.xml
[echo] Ant: Apache Ant version 1.7.0 compiled on December 13 2006 Java: 1.6
[echo] Using mds-type : db
[input] skipping input as property server.password has already been set.
init:
[echo] SOA Suite 11g version:
[java]
[java] *****************************************************************************
[java] Oracle SOA Server version 11.1.1.2.0
[java] Build: 0
[java] Build time: Tue Nov 03 13:48:58 PST 2009
[java] Build type: release
[java] Source tag: PCBPEL_11.1.1.2.0_GENERIC_091103.1205.1216
[java]
[echo] soa infra mgmt home: C:\Oracle\Middleware\jdeveloper\/../oracle_common
server-setup-seed-deploy-test:
[echo] Setting up mds store, deploying shared artifacts,
seeding jms info, deploying to server, and running tests
[echo] Ant: Apache Ant version 1.7.0 compiled on December 13 2006 Java: 1.6
[echo] Using mds-type : db
[input] skipping input as property server.password has already been set.
init:
[echo] SOA Suite 11g version:
[java]
[java] *****************************************************************************
[java] Oracle SOA Server version 11.1.1.2.0
[java] Build: 0
[java] Build time: Tue Nov 03 13:48:58 PST 2009
[java] Build type: release
[java] Source tag: PCBPEL_11.1.1.2.0_GENERIC_091103.1205.1216
[java]
[echo] soa infra mgmt home: C:\Oracle\Middleware\jdeveloper\/../oracle_common
createMDSConnections:
[echo] Ant: Apache Ant version 1.7.0 compiled on December 13 2006 Java: 1.6
[echo] Using mds-type : db
[input] skipping input as property server.password has already been set.
createMDSConnectionForDB:
[echo] Creating ../.adf/META-INF/adf-config.xml for database backed MDS
[input] skipping input as property mds.db.password has already been set.
[copy] Copying 1 file to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\.adf\META-INF
[echo] Using jdbc:oracle:thin:@localhost:1521:xe for db-based backing, with user dev_mds
[echo] Ant: Apache Ant version 1.7.0 compiled on December 13 2006 Java: 1.6
[echo] Using mds-type : db
[input] skipping input as property server.password has already been set.
createMDSConnectionForFileStore:
[echo] Ant: Apache Ant version 1.7.0 compiled on December 13 2006 Java: 1.6
[echo] Using mds-type : db
[input] skipping input as property server.password has already been set.
createMDSConnectionForServerFileStore:
importCommonServiceArtifactsIntoMds:
[java] Starting local filesystem import into mds ..
[java] Got target mds-instance: mstore-usage_1 from C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\bin\..\.adf\META-INF\adf-config.xml
[java] Creating mds connection to ./soa-seed/apps
[java] --> C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\bin\.\soa-seed
[java] Local item: /apps/FusionOrderDemoShared/services/partnersupplier/Warehouse.xsd
[java] Local item: /apps/FusionOrderDemoShared/services/orderbooking/OrderBookingProcessor.wsdl
[java] Local item: /apps/FusionOrderDemoShared/services/creditAuthorization/CreditAuthorizationService.wsdl
[java] Local item: /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/service/common/serviceinterface/StoreFrontService.xsd
[java] Local item: /apps/FusionOrderDemoShared/policy/fault-bindings.xml
[java] Local item: /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/queries/common/CustomerInfoVOSDO.xsd
[java] Local item: /apps/FusionOrderDemoShared/services/partnersupplier/PartnerSupplierComposite.wsdl
[java] Local item: /apps/FusionOrderDemoShared/policy/fault-policies.xml
[java] Local item: /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/service/common/serviceinterface/StoreFrontService.wsdl
[java] Local item: /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/queries/common/OrderInfoVOSDO.xsd
[java] Local item: /apps/FusionOrderDemoShared/services/orderbooking/OrderProcessor.xsd
[java] Local item: /apps/FusionOrderDemoShared/services/creditAuthorization/creditauthorization.xsd
[java] Local item: /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/entities/events/OrderEO.xsd
[java] Local item: /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/entities/events/OrderEO.edl
[java] Local item: /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/queries/common/OrderItemsInfoVOSDO.xsd
[java] Now transferring ..
[java] 4 Apr, 2010 3:39:18 PM oracle.mds
[java] NOTIFICATION: import operation started.
[java] 4 Apr, 2010 3:39:22 PM oracle.mds
[java] Transferred size = 15
[java] Transferred - /apps/FusionOrderDemoShared/policy/fault-bindings.xml
[java] Transferred - /apps/FusionOrderDemoShared/policy/fault-policies.xml
[java] Transferred - /apps/FusionOrderDemoShared/services/partnersupplier/Warehouse.xsd
[java] Transferred - /apps/FusionOrderDemoShared/services/orderbooking/OrderProcessor.xsd
[java] Transferred - /apps/FusionOrderDemoShared/services/orderbooking/OrderBookingProcessor.wsdl
[java] NOTIFICATION: import is completed. Total number of documents successfully processed : 15, total number of documents failed : 0.
[java] Transferred - /apps/FusionOrderDemoShared/services/creditAuthorization/creditauthorization.xsd
[java] Transferred - /apps/FusionOrderDemoShared/services/partnersupplier/PartnerSupplierComposite.wsdl
[java] Transferred - /apps/FusionOrderDemoShared/services/creditAuthorization/CreditAuthorizationService.wsdl
[java] Transferred - /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/entities/events/OrderEO.xsd
[java] Transferred - /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/entities/events/OrderEO.edl
[java] Transferred - /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/queries/common/OrderInfoVOSDO.xsd
[java] Transferred - /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/queries/common/CustomerInfoVOSDO.xsd
[java] Transferred - /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/queries/common/OrderItemsInfoVOSDO.xsd
[java] Transferred - /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/service/common/serviceinterface/StoreFrontService.xsd
[java] Transferred - /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/service/common/serviceinterface/StoreFrontService.wsdl
[echo] Ant: Apache Ant version 1.7.0 compiled on December 13 2006 Java: 1.6
[echo] Using mds-type : db
[input] skipping input as property server.password has already been set.
init:
[echo] SOA Suite 11g version:
[java]
[java] *****************************************************************************
[java] Oracle SOA Server version 11.1.1.2.0
[java] Build: 0
[java] Build time: Tue Nov 03 13:48:58 PST 2009
[java] Build type: release
[java] Source tag: PCBPEL_11.1.1.2.0_GENERIC_091103.1205.1216
[java]
[echo] soa infra mgmt home: C:\Oracle\Middleware\jdeveloper\/../oracle_common
compile-build-all:
[echo] Building and compiling SOA Fusion Order Demo ..
clean:
[echo] Cleanup of OrderApprovalHumanTask
[delete] Deleting: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\OrderApprovalHumanTask.war
[delete] Deleting: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\OrderApprovalHumanTask.ear
init:
compile:
[javac] Compiling 6 source files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\public_html\WEB-INF\classes
copy:
[copy] Copying 191 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\public_html\WEB-INF\classes
create-ear:
[copy] Copying 5 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\public_html\WEB-INF\lib
[war] Building war: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\OrderApprovalHumanTask.war
[delete] Deleting directory C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\public_html\WEB-INF\lib
setupDeploymentEnvironment:
[echo] Step1: copy template ./templates/connections.xml.seed to ../../.adf/META-INF/connections.xml
[copy] Copying 1 file to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\.adf\META-INF
[echo] Step2: setup descriptor, soa-only? false, modifying ../../.adf/META-INF/connections.xml
[echo] replacing ws-endpoint with localhost:8001/StoreFrontServiceHooks/StoreFrontService
[echo] replacing ws-binding with {www.globalcompany.example.com}StoreFrontServiceSoapHttp
[mkdir] Created dir: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\adf\META-INF
[copy] Copying 2 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\adf\META-INF
[mkdir] Created dir: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\lib
[copy] Copying 1 file to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\lib
[ear] Building ear: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\OrderApprovalHumanTask.ear
[delete] Deleting directory C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\adf
[delete] Deleting directory C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\lib
create-deployable-composite:
[echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
clean:
[echo] deleting C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\bin/..//deploy/sca_OrderBookingComposite_rev1.0.jar
[delete] Deleting: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\deploy\sca_OrderBookingComposite_rev1.0.jar
init:
scac-validate:
[echo] Running scac-validate in C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\bin/..//composite.xml
[echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
scac:
[scac] Validating composite : 'C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\bin/..//composite.xml'
[scac] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[scac] >> modified xmlbean locale class in use
[scac] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[scac] WARNING: location {ns:composite/ns:reference[@name='CreditCardAuthorizationService']}(170,128): Failed to Find Binding "CreditCardAuthorizationService":"{http://www.globalcompany.example.com/ns/CreditAuthorizationService}CreditAuthorizationPort" in WSDL Manager
[scac] WARNING: location {ns:composite/ns:reference[@name='PartnerSupplierService']}(163,122): Failed to Find Binding "PartnerSupplierService":"{http://www.partnersupplier.example.com/ns/warehouse}ExternalPartnerSupplier_pt" in WSDL Manager
[scac] WARNING: location {ns:composite/ns:reference[@name='StoreFrontService']}(176,162): Failed to Find Binding "StoreFrontService":"{www.globalcompany.example.com}StoreFrontServiceSoapHttpPort" in WSDL Manager
[scac] WARNING: in OrderProcessor.bpel(218): Trying to assign incompatible types
[scac] <from> value type "{http://www.w3.org/2001/XMLSchema}long" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string"
[scac] Make sure that the return value of from-spec query is compatible with the to-spec query
[scac] WARNING: in OrderProcessor.bpel(305): Trying to assign incompatible types
[scac] <from> value type "{http://www.w3.org/2001/XMLSchema}decimal" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string"
[scac] Make sure that the return value of from-spec query is compatible with the to-spec query
[scac] WARNING: in OrderProcessor.bpel(305): Trying to assign incompatible types
[scac] <from> value type "{http://www.w3.org/2001/XMLSchema}integer" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string"
[scac] Make sure that the return value of from-spec query is compatible with the to-spec query
[scac] WARNING: in OrderProcessor.bpel(368): Trying to assign incompatible types
[scac] <from> value type "{http://www.w3.org/2001/XMLSchema}decimal" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}double"
[scac] Make sure that the return value of from-spec query is compatible with the to-spec query
[scac] WARNING: in OrderProcessor.bpel(368): Trying to assign incompatible types
[scac] <from> value type "{http://www.w3.org/2001/XMLSchema}string" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}boolean"
[scac] Make sure that the return value of from-spec query is compatible with the to-spec query
[scac] WARNING: in OrderProcessor.bpel(407): Trying to assign incompatible types
[scac] <from> value type "{http://www.w3.org/2001/XMLSchema}boolean" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string"
[scac] Make sure that the return value of from-spec query is compatible with the to-spec query
[scac] WARNING: in OrderProcessor.bpel(533): Trying to assign incompatible types
[scac] <from> value type "{http://www.w3.org/2001/XMLSchema}integer" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string"
[scac] Make sure that the return value of from-spec query is compatible with the to-spec querypackage:
[input] skipping input as property compositeDir has already been set.
[input] skipping input as property compositeName has already been set.
[input] skipping input as property revision has already been set.
[echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
compile-source:
[mkdir] Created dir: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\dist
[copy] Copying 133 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\dist
[copy] Copying 6 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\dist\SCA-INF\classes
[jar] Building jar: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\deploy\sca_OrderBookingComposite_rev1.0.jar
[delete] Deleting directory C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\dist
setupDeploymentEnvironment:
[copy] Copying 1 file to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\bin
[echo] Setting up deployment plan, modifying orderbooking_deployment_plan.xml
[echo] Replacing ws-endpoint with localhost:8001/StoreFrontServiceHooks/StoreFrontService
[echo] Replacing soa server and wls server information
[echo] -SOA: localhost 8001
[echo] Replacing file adapter endpoint with /tmp
[echo] Replacing values for bam connection in connections.xml
[echo] Bam server host: sta00057.us.oracle.com
[echo] Bam server host: 9001
[echo] Bam server user: weblogic
create-deployable-composite:
[echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
clean:
[echo] deleting C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\bin/..//deploy/sca_PartnerSupplierComposite_rev1.0.jar
[delete] Deleting: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\deploy\sca_PartnerSupplierComposite_rev1.0.jar
init:
scac-validate:
[echo] Running scac-validate in C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\bin/..//composite.xml
[echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
scac:
[scac] Validating composite : 'C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\bin/..//composite.xml'
[scac] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[scac] >> modified xmlbean locale class in use
[scac] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[scac] WARNING: in PartnerSupplierMediator.mplan: Case "ExternalPartnerSupplier.externalpartnersupplier_client.process" doesnt have any payload transformation Please make sure source and target message part name are same and of same type. Otherwise, target reference may fail to execute with error message like "Input sourcelike Null" or "Part not found"
package:
[input] skipping input as property compositeDir has already been set.
[input] skipping input as property compositeName has already been set.
[input] skipping input as property revision has already been set.
[echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
compile-source:
[mkdir] Created dir: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\dist
[copy] Copying 17 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\dist
[copy] Copying 6 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\dist\SCA-INF\classes
[jar] Building jar: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\deploy\sca_PartnerSupplierComposite_rev1.0.jar
[delete] Deleting directory C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\dist
create-deployable-composite:
[echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
clean:
[echo] deleting C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\bin/..//deploy/sca_OrderSDOComposite_rev1.0.jar
[delete] Deleting: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\deploy\sca_OrderSDOComposite_rev1.0.jar
init:
scac-validate:
[echo] Running scac-validate in C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\bin/..//composite.xml
[echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
scac:
[scac] Validating composite : 'C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\bin/..//composite.xml'
[scac] WARNING: in CustomerAndOrderService.bpel(254): Trying to assign incompatible types
[scac] <from> value type "{http://www.w3.org/2001/XMLSchema}anySimpleType" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}integer"
[scac] Make sure that the return value of from-spec query is compatible with the to-spec query
[scac] WARNING: in CustomerAndOrderService.bpel(359): Trying to assign incompatible types
[scac] <from> value type "{http://www.w3.org/2001/XMLSchema}integer" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}long"
[scac] Make sure that the return value of from-spec query is compatible with the to-spec query
[scac] WARNING: in CustomerAndOrderService.bpel(493): Trying to assign incompatible types
[scac] <from> value type "{http://www.w3.org/2001/XMLSchema}integer" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}long"
[scac] Make sure that the return value of from-spec query is compatible with the to-spec query
package:
[input] skipping input as property compositeDir has already been set.
[input] skipping input as property compositeName has already been set.
[input] skipping input as property revision has already been set.
[echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
compile-source:
[mkdir] Created dir: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\dist
[copy] Copying 11 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\dist
[copy] Copying 6 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\dist\SCA-INF\classes
[jar] Building jar: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\deploy\sca_OrderSDOComposite_rev1.0.jar
[delete] Deleting directory C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\dist
create-deployable-composite:
[echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
clean:
[echo] deleting C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\bin/..//deploy/sca_B2BX12OrderGateway_rev1.0.jar
[delete] Deleting: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\deploy\sca_B2BX12OrderGateway_rev1.0.jar
init:
scac-validate:
[echo] Running scac-validate in C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\bin/..//composite.xml
[echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
scac:
[scac] Validating composite : 'C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\bin/..//composite.xml'
[scac] WARNING: location {ns:composite/ns:reference[@name='StoreFrontService']}(48,162): Failed to Find Binding "StoreFrontService":"{www.globalcompany.example.com}StoreFrontServiceSoapHttpPort" in WSDL Manager
[scac] WARNING: location {ns:composite/ns:reference[@name='OrderBookingService']}(59,116): Failed to Find Binding "OrderBookingService":"{http://www.globalcompany.example.com/ns/OrderBookingService}OrderProcessor_pt" in WSDL Manager
[scac] WARNING: in B2BOrderProcessingEngine.componentType: property "bpel.config.use.events" may not be understood by BPEL component B2BOrderProcessingEngine - it will likely be ignored.
[scac] WARNING: in B2BOrderProcessingEngine.bpel(188): Trying to assign incompatible types
[scac] <from> value type "{http://www.w3.org/2001/XMLSchema}integer" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string"
[scac] Make sure that the return value of from-spec query is compatible with the to-spec query
package:
[input] skipping input as property compositeDir has already been set.
[input] skipping input as property compositeName has already been set.
[input] skipping input as property revision has already been set.
[echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
compile-source:
[mkdir] Created dir: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\dist
[copy] Copying 24 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\dist
[copy] Copying 6 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\dist\SCA-INF\classes
[jar] Building jar: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\deploy\sca_B2BX12OrderGateway_rev1.0.jar
[delete] Deleting directory C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\dist
setupDeploymentEnvironment:
[copy] Copying 1 file to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\bin
[echo] Setting up deployment plan, modifying B2BX12OrderGateway_deployment_plan.xml
[echo] Replacing ws-endpoint with localhost:8001/StoreFrontServiceHooks/StoreFrontService
[echo] Replacing soa server and wls server information
[echo] -SOA: localhost 8001
[echo] Replacing communication style, eventbased? true
[echo] Wls home: C:\Oracle\Middleware\jdeveloper\/../wlserver_10.3
[echo] Oracle home: C:\Oracle\Middleware\jdeveloper\
init:
compile:
create-war:
[echo] Deploying jsca shared lib? true
[echo] Wls home: C:\Oracle\Middleware\jdeveloper\/../wlserver_10.3
[echo] Oracle home: C:\Oracle\Middleware\jdeveloper\
create-ear:
[echo] global: true > ejb: ${use.ejb} jsca: true
[echo] Deploying jsca shared lib? true
[echo] Wls home: C:\Oracle\Middleware\jdeveloper\/../wlserver_10.3
[echo] Oracle home: C:\Oracle\Middleware\jdeveloper\
clean:
[echo] Cleaning up external partner supplier ejb project ../classes/../deploy
[delete] Deleting: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\ExternalPartnerSupplierEjb.ear
[echo] Deploying jsca shared lib? true
[echo] Wls home: C:\Oracle\Middleware\jdeveloper\/../wlserver_10.3
[echo] Oracle home: C:\Oracle\Middleware\jdeveloper\
init:
copy:
[copy] Copying 5 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\classes
compile:
[javac] Compiling 6 source files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\classes
[javac] Note: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\src\com\otn\sample\fod\soa\externalps\test\EpsSessionEJBClient.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
create-ejb-ear:
[echo] Deploying jsca shared lib? true
[echo] Wls home: C:\Oracle\Middleware\jdeveloper\/../wlserver_10.3
[echo] Oracle home: C:\Oracle\Middleware\jdeveloper\
init:
copy:
compile:
create-jsca-ear:
[mkdir] Created dir: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\APP-INF\lib
[copy] Copying 2 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\APP-INF\lib
[echo] ../classes/meta-inf/
[jar] Building jar: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\APP-INF\lib\ExternalPartnerSupplierScaModule.jar
[jar] Warning: skipping jar archive C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\empty.jar because no files were included.
[jar] Building MANIFEST-only jar: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\empty.jar
[ear] Building ear: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\ExternalPartnerSupplierEjb.ear
compile-deploy-all:
[echo] Deploying SOA Fusion Order Demo ..
[echo] Deploying jsca shared lib? true
[echo] Wls home: C:\Oracle\Middleware\jdeveloper\/../wlserver_10.3
[echo] Oracle home: C:\Oracle\Middleware\jdeveloper\
deploy-application:
[echo] Deploying jsca shared lib? true
[echo] Wls home: C:\Oracle\Middleware\jdeveloper\/../wlserver_10.3
[echo] Oracle home: C:\Oracle\Middleware\jdeveloper\
deploy-jsca-library:
[wldeploy] weblogic.Deployer -remote -noexit -name weblogic-sca -source C:\Oracle\Middleware\wlserver_10.3\common\deployable-libraries\weblogic-sca-1.0.war -targets soa_server1 -adminurl t3://localhost:7001 -user weblogic1 -password ******** -deploy -library
[wldeploy] weblogic.Deployer invoked with options: -remote -noexit -name weblogic-sca -source C:\Oracle\Middleware\wlserver_10.3\common\deployable-libraries\weblogic-sca-1.0.war -targets soa_server1 -adminurl t3://localhost:7001 -user weblogic1 -deploy -library
[wldeploy] <4 Apr, 2010 3:40:55 PM IST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, weblogic-sca [archive: C:\Oracle\Middleware\wlserver_10.3\common\deployable-libraries\weblogic-sca-1.0.war], to soa_server1 .>
[wldeploy] weblogic.Deployer -remote -upload -noexit -name ExternalPartnerSupplierEjb -source C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\ExternalPartnerSupplierEjb.ear -targets soa_server1 -adminurl t3://localhost:7001 -user weblogic1 -password ******** -deploy
[wldeploy] weblogic.Deployer invoked with options: -remote -upload -noexit -name ExternalPartnerSupplierEjb -source C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\ExternalPartnerSupplierEjb.ear -targets soa_server1 -adminurl t3://localhost:7001 -user weblogic1 -deploy
[wldeploy] <4 Apr, 2010 3:41:11 PM IST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, ExternalPartnerSupplierEjb [archive: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\ExternalPartnerSupplierEjb.ear], to soa_server1 .>
BUILD FAILED
C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\bin\build.xml:295: The following error occurred while executing this line:
C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\bin\build.xml:156: The following error occurred while executing this line:
C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\bin\build.xml:169: weblogic.management.ManagementException: [Deployer:149163]The domain edit lock is owned by another session in non-exclusive mode - this deployment operation requires exclusive access to the edit lock and hence cannot proceed. If you are using "Automatically Aquire Lock and Activate Changes" in the console, then the lock will expire shortly so retry this operation.
Total time: 2 minutes 1 second -
I have an application that uses EJB 2.1 spec with SLSB (no entity beans) and uses DAO pattern with hibernate2 for persistence. I want to replace hibernate with toplink-essentials (JPA). I cannot upgrade the EJB spec version as we use some thirdparty beans. The application uses DAO pattern so I should be able to hook in a new toplink DAO impl. What I am struggling with is how do I get hold of the EntityManagerFactory in my EJB 2.1 SLSB. Also I need CMT with XA transactions as our application interacts with jms and database using MDBs and SLSBs.
PrantorYou should be able to use Persistence.createEntityManagerFactory(<your-persistence-unit-name>, properties), and create your EntityManager from that.
To have TopLink integrated with JTA, in your persistence.xml (or properties) you need to use a JTA DataSource, and set the ServerPlatform for your JEE server. -
Build a EJB/ Application with Sun One Studio and deploy to Weblogic
Dear all,
My boss require me to use Sun One Studio 4 update 1 to do the development, but
I find it's a nightmare to deploy the EJB/ application to the WebLogic 6.1.
I've already installed the weblogic plug-in in the Sun One Studio.
During deploying I could not find any setting that ask me for the weblogic-ejb-jar.xml.
So I think the deployment will fail.
Is there any others tutorial or e-book that can help me to familiar with the deployment
process?
Many Thanks for all of you.
Ivanwhere do you get the weblogic plugin from ?
i am intrested in doing the same thing
thanx
prem
"Ivan" <[email protected]> wrote in message
news:[email protected]..
>
Dear all,
My boss require me to use Sun One Studio 4 update 1 to do the development,but
I find it's a nightmare to deploy the EJB/ application to the WebLogic6.1.
>
I've already installed the weblogic plug-in in the Sun One Studio.
During deploying I could not find any setting that ask me for theweblogic-ejb-jar.xml.
So I think the deployment will fail.
Is there any others tutorial or e-book that can help me to familiar withthe deployment
process?
Many Thanks for all of you.
Ivan -
Toplink\JPA vs JDBC - Toplink died for my app with 5000 users
Hi All Just a quick question about performance when comparing toplink jpa ans jdbc.
I have an app I just develpoed using toplink for all data acces that will have approx 5000 users and initial testing with 200 things look good. However after launch and going live for 5000 people the app blew up. Lot's of memory heap errors, and TopLink exceptions...
To make things work I have replaced all the toplink with traditional JDBC, this works but I am currious as to why toplink blew up? I notice when JDev creates the Toplink code that it never does any checking for open connections and never explicitly closes connections. Is this something that I have to do?
I should not that I was not using datacontrols directly, I created a datacontrol but then ised the FacesContext to create a list of results in the backing bean??
Anyway, I know that's not a great description but I thought I would throw this question out there and see what people had to say?
Thanks
JIt is hard to say where a memory issue occurred. Normally usage of a memory profiler such as JRockit JRA, or JProfiler is useful in debugging such issues.
There were a couple related memory issues in previous releases, so ensure you have the latest release or patch release.
Using an isolated (shared=false) or weak cache may also help.
In general you should be able to scale to 5000 users without any issues.
James : http://www.eclipselink.org -
Spring with coherence cache deploy issue
hi, i configured spring with coherence cachestore, and i make s a sample example on that, load some value based key, if key not there in cache it automatically callbacks call to cachestore load(Object key) and ge5t value from db and put in cache........this application work in standardlone but if make web application application deploy time this error coming............
log4j:WARN No appenders could be found for logger (org.springframework.test.context.junit4.SpringJUnit4ClassRunner).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
2013-10-10 16:05:09.528/1.279 Oracle Coherence 3.7.1.1 <Info> (thread=main, member=n/a): Loaded operational configuration from "jar:file:/D:/m2repo/org/tangosol/net/coherence/3.7/coherence-3.7.jar!/tangosol-coherence.xml"
2013-10-10 16:05:09.559/1.310 Oracle Coherence 3.7.1.1 <Info> (thread=main, member=n/a): Loaded operational overrides from "jar:file:/D:/m2repo/org/tangosol/net/coherence/3.7/coherence-3.7.jar!/tangosol-coherence-override-dev.xml"
2013-10-10 16:05:09.591/1.342 Oracle Coherence 3.7.1.1 <Info> (thread=main, member=n/a): Loaded operational overrides from "jar:file:/D:/travererpibeproject/test/cnk-test-caching-web/src/main/webapp/WEB-INF/lib/cnk-common-caching-1.0.0-SNAPSHOT.jar!/tangosol-coherence-override.xml"
2013-10-10 16:05:09.591/1.342 Oracle Coherence 3.7.1.1 <D5> (thread=main, member=n/a): Optional configuration override "/custom-mbeans.xml" is not specified
Oracle Coherence Version 3.7.1.1 Build 28901
Grid Edition: Development mode
Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
2013-10-10 16:05:09.700/1.451 Oracle Coherence GE 3.7.1.1 <Info> (thread=main, member=n/a): Loaded cache configuration from "jar:file:/D:/travererpibeproject/test/cnk-test-caching-web/src/main/webapp/WEB-INF/lib/cnk-common-caching-1.0.0-SNAPSHOT.jar!/coherence-cache-config.xml"; this document does not refer to any schema definition and has not been validated.
cache service
2013-10-10 16:05:10.423/2.174 Oracle Coherence GE 3.7.1.1 <D4> (thread=main, member=n/a): TCMP bound to /10.21.12.29:8088 using SystemSocketProvider
2013-10-10 16:05:41.297/33.048 Oracle Coherence GE 3.7.1.1 <Info> (thread=Cluster, member=n/a): Created a new cluster "CoherenceCluster" with Member(Id=1, Timestamp=2013-10-10 16:05:10.564, Address=10.21.12.29:8088, MachineId=29338, Location=site:,machine:mumcnk-0562,process:2696, Role=EclipseJdtRemoteTestRunner, Edition=Grid Edition, Mode=Development, CpuCount=2, SocketCount=2) UID=0x0A150C1D00000141A1EF3564729A1F98
2013-10-10 16:05:41.297/33.048 Oracle Coherence GE 3.7.1.1 <Info> (thread=main, member=n/a): Started cluster Name=CoherenceCluster
Group{Address=231.1.1.1, Port=7777, TTL=3}
MasterMemberSet(
ThisMember=Member(Id=1, Timestamp=2013-10-10 16:05:10.564, Address=10.21.12.29:8088, MachineId=29338, Location=site:,machine:mumcnk-0562,process:2696, Role=EclipseJdtRemoteTestRunner)
OldestMember=Member(Id=1, Timestamp=2013-10-10 16:05:10.564, Address=10.21.12.29:8088, MachineId=29338, Location=site:,machine:mumcnk-0562,process:2696, Role=EclipseJdtRemoteTestRunner)
ActualMemberSet=MemberSet(Size=1
Member(Id=1, Timestamp=2013-10-10 16:05:10.564, Address=10.21.12.29:8088, MachineId=29338, Location=site:,machine:mumcnk-0562,process:2696, Role=EclipseJdtRemoteTestRunner)
MemberId|ServiceVersion|ServiceJoined|MemberState
1|3.7.1|2013-10-10 16:05:41.297|JOINED
RecycleMillis=1200000
RecycleSet=MemberSet(Size=0
TcpRing{Connections=[]}
IpMonitor{AddressListSize=0}
2013-10-10 16:05:41.329/33.080 Oracle Coherence GE 3.7.1.1 <D5> (thread=Invocation:Management, member=1): Service Management joined the cluster with senior service member 1
2013-10-10 16:05:41.548/33.299 Oracle Coherence GE 3.7.1.1 <D5> (thread=DistributedCache, member=1): Service DistributedCache joined the cluster with senior service member 1
2013-10-10 16:10:16.093/307.844 Oracle Coherence GE 3.7.1.1 <Error> (thread=Cluster, member=1): Detected soft timeout) of {WrapperGuardable Guard{Daemon=DistributedCache} Service=PartitionedCache{Name=DistributedCache, State=(SERVICE_STARTED), LocalStorage=enabled, PartitionCount=257, BackupCount=1, AssignedPartitions=257, BackupPartitions=0}}
2013-10-10 16:10:16.093/307.844 Oracle Coherence GE 3.7.1.1 <Error> (thread=Recovery Thread, member=1): Full Thread Dump
Thread[Logger@9254847 3.7.1.1,3,main]
java.lang.Object.wait(Native Method)
com.tangosol.coherence.component.util.Daemon.onWait(Daemon.CDB:18)
com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:39)
java.lang.Thread.run(Thread.java:722)
Thread[Attach Listener,5,system]
Thread[Signal Dispatcher,9,system]
Thread[ReaderThread,5,main]
java.net.SocketInputStream.socketRead0(Native Method)
java.net.SocketInputStream.read(SocketInputStream.java:150)
java.net.SocketInputStream.read(SocketInputStream.java:121)
sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283)
sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325)
sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177)
java.io.InputStreamReader.read(InputStreamReader.java:184)
java.io.BufferedReader.fill(BufferedReader.java:154)
java.io.BufferedReader.readLine(BufferedReader.java:317)
java.io.BufferedReader.readLine(BufferedReader.java:382)
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner$ReaderThread.run(RemoteTestRunner.java:140)
Thread[Invocation:Management:EventDispatcher,10,Cluster]
java.lang.Object.wait(Native Method)
com.tangosol.coherence.component.util.Daemon.onWait(Daemon.CDB:18)
com.tangosol.coherence.component.util.daemon.queueProcessor.Service$EventDispatcher.onWait(Service.CDB:7)
com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:39)
java.lang.Thread.run(Thread.java:722)
Thread[Invocation:Management,10,Cluster]
java.lang.Object.wait(Native Method)
com.tangosol.coherence.component.util.Daemon.onWait(Daemon.CDB:18)
com.tangosol.coherence.component.util.daemon.queueProcessor.Service.onWait(Service.CDB:4)
com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onWait(Grid.CDB:3)
com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:39)
java.lang.Thread.run(Thread.java:722)
Thread[PacketReceiver,10,Cluster]
java.lang.Object.wait(Native Method)
com.tangosol.coherence.component.util.Daemon.onWait(Daemon.CDB:18)
com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketReceiver.onWait(PacketReceiver.CDB:2)
com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:39)
java.lang.Thread.run(Thread.java:722)
Thread[Cluster|Member(Id=1, Timestamp=2013-10-10 16:05:10.564, Address=10.21.12.29:8088, MachineId=29338, Location=site:,machine:mumcnk-0562,process:2696, Role=EclipseJdtRemoteTestRunner),5,Cluster]
sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method)
sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(WindowsSelectorImpl.java:295)
sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(WindowsSelectorImpl.java:277)
sun.nio.ch.WindowsSelectorImpl.doSelect(WindowsSelectorImpl.java:158)
sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:87)
sun.nio.ch.SelectorImpl.select(SelectorImpl.java:98)
com.tangosol.coherence.component.net.TcpRing.select(TcpRing.CDB:11)
com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.ClusterService.onWait(ClusterService.CDB:6)
com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:39)
java.lang.Thread.run(Thread.java:722)
Thread[Reference Handler,10,system]
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:503)
java.lang.ref.Reference$ReferenceHandler.run(Reference.java:133)
Thread[DistributedCache,10,Cluster]
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:184)
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:169)
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:237)
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
com.cnk.travelerp.common.caching.service.SpringAwareCacheFactory.instantiateAny(SpringAwareCacheFactory.java:161)
com.tangosol.net.DefaultConfigurableCacheFactory.instantiateCacheStore(DefaultConfigurableCacheFactory.java:3324)
com.tangosol.net.DefaultConfigurableCacheFactory.instantiateReadWriteBackingMap(DefaultConfigurableCacheFactory.java:1753)
com.tangosol.net.DefaultConfigurableCacheFactory.configureBackingMap(DefaultConfigurableCacheFactory.java:1500)
com.tangosol.net.DefaultConfigurableCacheFactory$Manager.instantiateBackingMap(DefaultConfigurableCacheFactory.java:4111)
com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$Storage.instantiateBackingMap(PartitionedCache.CDB:23)
com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$Storage.setCacheName(PartitionedCache.CDB:25)
com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ServiceConfig$ConfigListener.entryInserted(PartitionedCache.CDB:17)
com.tangosol.util.MapEvent.dispatch(MapEvent.java:266)
com.tangosol.util.MapEvent.dispatch(MapEvent.java:226)
com.tangosol.util.MapListenerSupport.fireEvent(MapListenerSupport.java:567)
com.tangosol.util.ObservableHashMap.dispatchEvent(ObservableHashMap.java:229)
com.tangosol.util.ObservableHashMap$Entry.onAdd(ObservableHashMap.java:270)
com.tangosol.util.SafeHashMap.put(SafeHashMap.java:244)
com.tangosol.coherence.component.util.ServiceConfig$Map.put(ServiceConfig.CDB:43)
com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$StorageIdRequest.onReceived(PartitionedCache.CDB:45)
com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onMessage(Grid.CDB:34)
com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:33)
com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.PartitionedService.onNotify(PartitionedService.CDB:3)
com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onNotify(PartitionedCache.CDB:3)
com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
java.lang.Thread.run(Thread.java:722)
Thread[Recovery Thread,5,Cluster]
java.lang.Thread.dumpThreads(Native Method)
java.lang.Thread.getAllStackTraces(Thread.java:1618)
com.tangosol.net.GuardSupport.logStackTraces(GuardSupport.java:810)
com.tangosol.internal.net.cluster.DefaultServiceFailurePolicy.onGuardableRecovery(DefaultServiceFailurePolicy.java:44)
com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid$WrapperGuardable.recover(Grid.CDB:1)
com.tangosol.net.GuardSupport$Context$1.run(GuardSupport.java:653)
java.lang.Thread.run(Thread.java:722)
Thread[PacketListenerN,10,Cluster]
java.net.TwoStacksPlainDatagramSocketImpl.receive0(Native Method)
java.net.TwoStacksPlainDatagramSocketImpl.receive(TwoStacksPlainDatagramSocketImpl.java:90)
java.net.DatagramSocket.receive(DatagramSocket.java:786)
com.tangosol.coherence.component.net.socket.UdpSocket.receive(UdpSocket.CDB:22)
com.tangosol.coherence.component.net.UdpPacket.receive(UdpPacket.CDB:1)
com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketListener.onNotify(PacketListener.CDB:20)
com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
java.lang.Thread.run(Thread.java:722)
Thread[PacketPublisher,10,Cluster]
java.lang.Object.wait(Native Method)
com.tangosol.coherence.component.util.Daemon.onWait(Daemon.CDB:18)
com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketPublisher.onWait(PacketPublisher.CDB:2)
com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:39)
java.lang.Thread.run(Thread.java:722)
Thread[PacketListener1P,10,Cluster]
java.net.DualStackPlainDatagramSocketImpl.socketReceiveOrPeekData(Native Method)
java.net.DualStackPlainDatagramSocketImpl.receive0(DualStackPlainDatagramSocketImpl.java:105)
java.net.AbstractPlainDatagramSocketImpl.receive(AbstractPlainDatagramSocketImpl.java:145)
java.net.DatagramSocket.receive(DatagramSocket.java:786)
com.tangosol.coherence.component.net.socket.UdpSocket.receive(UdpSocket.CDB:22)
com.tangosol.coherence.component.net.UdpPacket.receive(UdpPacket.CDB:1)
com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketListener.onNotify(PacketListener.CDB:20)
com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
java.lang.Thread.run(Thread.java:722)
Thread[main,5,main]
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:503)
com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.poll(Grid.CDB:26)
com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.poll(Grid.CDB:11)
com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.ensureCache(PartitionedCache.CDB:29)
com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.ensureCache(PartitionedCache.CDB:36)
com.tangosol.coherence.component.util.safeService.SafeCacheService.ensureCache$Router(SafeCacheService.CDB:1)
com.tangosol.coherence.component.util.safeService.SafeCacheService.ensureCache(SafeCacheService.CDB:33)
com.tangosol.net.DefaultConfigurableCacheFactory.ensureCache(DefaultConfigurableCacheFactory.java:920)
com.tangosol.net.DefaultConfigurableCacheFactory.configureCache(DefaultConfigurableCacheFactory.java:1296)
com.tangosol.net.DefaultConfigurableCacheFactory.ensureCache(DefaultConfigurableCacheFactory.java:297)
com.tangosol.net.CacheFactory.getCache(CacheFactory.java:204)
com.tangosol.net.CacheFactory.getCache(CacheFactory.java:181)
com.cnk.travelerp.common.caching.service.CacheService.<init>(CacheService.java:36)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:525)
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:76)
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:990)
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:943)
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:876)
org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:818)
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:735)
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:478)
org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:284)
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1106)
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609)
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469)
org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:103)
org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:1)
org.springframework.test.context.support.DelegatingSmartContextLoader.loadContext(DelegatingSmartContextLoader.java:228)
org.springframework.test.context.TestContext.loadApplicationContext(TestContext.java:124)
org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:148)
org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109)
org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75)
org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:321)
org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:211)
org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:288)
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:290)
org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231)
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71)
org.junit.runners.ParentRunner.run(ParentRunner.java:236)
org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)
org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Thread[PacketListener1,10,Cluster]
java.net.DualStackPlainDatagramSocketImpl.socketReceiveOrPeekData(Native Method)
java.net.DualStackPlainDatagramSocketImpl.receive0(DualStackPlainDatagramSocketImpl.java:105)
java.net.AbstractPlainDatagramSocketImpl.receive(AbstractPlainDatagramSocketImpl.java:145)
java.net.DatagramSocket.receive(DatagramSocket.java:786)
com.tangosol.coherence.component.net.socket.UdpSocket.receive(UdpSocket.CDB:22)
com.tangosol.coherence.component.net.UdpPacket.receive(UdpPacket.CDB:1)
com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketListener.onNotify(PacketListener.CDB:20)
com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
java.lang.Thread.run(Thread.java:722)
Thread[IpMonitor,6,Cluster]
java.lang.Object.wait(Native Method)
com.tangosol.coherence.component.util.Daemon.onWait(Daemon.CDB:18)
com.tangosol.coherence.component.util.daemon.IpMonitor.onWait(IpMonitor.CDB:4)
com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:39)
java.lang.Thread.run(Thread.java:722)
Thread[PacketSpeaker,10,Cluster]
java.lang.Object.wait(Native Method)
com.tangosol.coherence.component.util.queue.ConcurrentQueue.waitForEntry(ConcurrentQueue.CDB:16)
com.tangosol.coherence.component.util.queue.ConcurrentQueue.remove(ConcurrentQueue.CDB:7)
com.tangosol.coherence.component.util.Queue.remove(Queue.CDB:1)
com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketSpeaker.onNotify(PacketSpeaker.CDB:21)
com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
java.lang.Thread.run(Thread.java:722)
Thread[Finalizer,8,system]
java.lang.Object.wait(Native Method)
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)
java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:177)
2013-10-10 16:10:16.093/307.844 Oracle Coherence GE 3.7.1.1 <Warning> (thread=Recovery Thread, member=1): Attempting recovery of Guard{Daemon=DistributedCache}
2013-10-10 16:10:46.607/338.358 Oracle Coherence GE 3.7.1.1 <Error> (thread=Cluster, member=1): Detected hard timeout) of {WrapperGuardable Guard{Daemon=DistributedCache} Service=PartitionedCache{Name=DistributedCache, State=(SERVICE_STARTED), LocalStorage=enabled, PartitionCount=257, BackupCount=1, AssignedPartitions=257, BackupPartitions=0}}
2013-10-10 16:10:46.607/338.358 Oracle Coherence GE 3.7.1.1 <Error> (thread=Termination Thread, member=1): Full Thread Dump
Thread[Logger@9254847 3.7.1.1,3,main]
java.io.FileOutputStream.writeBytes(Native Method)
java.io.FileOutputStream.write(FileOutputStream.java:318)
java.io.BufferedOutputStream.write(BufferedOutputStream.java:122)
java.io.PrintStream.write(PrintStream.java:480)
sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221)
sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:291)
sun.nio.cs.StreamEncoder.flushBuffer(StreamEncoder.java:104)
java.io.OutputStreamWriter.flushBuffer(OutputStreamWriter.java:185)
java.io.PrintStream.write(PrintStream.java:527)
java.io.PrintStream.print(PrintStream.java:669)
java.io.PrintStream.println(PrintStream.java:806)
com.tangosol.coherence.component.util.logOutput.Standard.log(Standard.CDB:9)
com.tangosol.coherence.component.util.logOutput.Standard.log(Standard.CDB:1)
com.tangosol.coherence.component.util.LogOutput.log(LogOutput.CDB:1)
com.tangosol.coherence.component.util.daemon.queueProcessor.Logger.onNotify(Logger.CDB:99)
com.tangosol.coherence.component.application.console.Coherence$Logger.onNotify(Coherence.CDB:4)
com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
java.lang.Thread.run(Thread.java:722)
Thread[Attach Listener,5,system]
Thread[Signal Dispatcher,9,system]
Thread[ReaderThread,5,main]
java.net.SocketInputStream.socketRead0(Native Method)
java.net.SocketInputStream.read(SocketInputStream.java:150)
java.net.SocketInputStream.read(SocketInputStream.java:121)
sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283)
sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325)
sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177)
java.io.InputStreamReader.read(InputStreamReader.java:184)
java.io.BufferedReader.fill(BufferedReader.java:154)
java.io.BufferedReader.readLine(BufferedReader.java:317)
java.io.BufferedReader.readLine(BufferedReader.java:382)
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner$ReaderThread.run(RemoteTestRunner.java:140)
Thread[Termination Thread,5,Cluster]
java.lang.Thread.dumpThreads(Native Method)
java.lang.Thread.getAllStackTraces(Thread.java:1618)
com.tangosol.net.GuardSupport.logStackTraces(GuardSupport.java:810)
com.tangosol.internal.net.cluster.DefaultServiceFailurePolicy.onGuardableTerminate(DefaultServiceFailurePolicy.java:80)
com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid$WrapperGuardable.terminate(Grid.CDB:1)
com.tangosol.net.GuardSupport$Context$2.run(GuardSupport.java:677)
java.lang.Thread.run(Thread.java:722)
Thread[Invocation:Management:EventDispatcher,10,Cluster]
java.lang.Object.wait(Native Method)
com.tangosol.coherence.component.util.Daemon.onWait(Daemon.CDB:18)
com.tangosol.coherence.component.util.daemon.queueProcessor.Service$EventDispatcher.onWait(Service.CDB:7)
com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:39)
java.lang.Thread.run(Thread.java:722)
Thread[Invocation:Management,10,Cluster]
java.lang.Object.wait(Native Method)
com.tangosol.coherence.component.util.Daemon.onWait(Daemon.CDB:18)
com.tangosol.coherence.component.util.daemon.queueProcessor.Service.onWait(Service.CDB:4)
com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onWait(Grid.CDB:3)
com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:39)
java.lang.Thread.run(Thread.java:722)
Thread[PacketReceiver,10,Cluster]
java.lang.Object.wait(Native Method)
com.tangosol.coherence.component.util.Daemon.onWait(Daemon.CDB:18)
com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketReceiver.onWait(PacketReceiver.CDB:2)
com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:39)
java.lang.Thread.run(Thread.java:722)
Thread[Cluster|Member(Id=1, Timestamp=2013-10-10 16:05:10.564, Address=10.21.12.29:8088, MachineId=29338, Location=site:,machine:mumcnk-0562,process:2696, Role=EclipseJdtRemoteTestRunner),5,Cluster]
sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method)
sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(WindowsSelectorImpl.java:295)
sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(WindowsSelectorImpl.java:277)
sun.nio.ch.WindowsSelectorImpl.doSelect(WindowsSelectorImpl.java:158)
sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:87)
sun.nio.ch.SelectorImpl.select(SelectorImpl.java:98)
com.tangosol.coherence.component.net.TcpRing.select(TcpRing.CDB:11)
com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.ClusterService.onWait(ClusterService.CDB:6)
com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:39)
java.lang.Thread.run(Thread.java:722)
Thread[Reference Handler,10,system]
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:503)
java.lang.ref.Reference$ReferenceHandler.run(Reference.java:133)
Thread[DistributedCache,10,Cluster]
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:184)
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:169)
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:237)
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
com.cnk.travelerp.common.caching.service.SpringAwareCacheFactory.instantiateAny(SpringAwareCacheFactory.java:161)
com.tangosol.net.DefaultConfigurableCacheFactory.instantiateCacheStore(DefaultConfigurableCacheFactory.java:3324)
com.tangosol.net.DefaultConfigurableCacheFactory.instantiateReadWriteBackingMap(DefaultConfigurableCacheFactory.java:1753)
com.tangosol.net.DefaultConfigurableCacheFactory.configureBackingMap(DefaultConfigurableCacheFactory.java:1500)
com.tangosol.net.DefaultConfigurableCacheFactory$Manager.instantiateBackingMap(DefaultConfigurableCacheFactory.java:4111)
com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$Storage.instantiateBackingMap(PartitionedCache.CDB:23)
com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$Storage.setCacheName(PartitionedCache.CDB:25)
com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ServiceConfig$ConfigListener.entryInserted(PartitionedCache.CDB:17)
com.tangosol.util.MapEvent.dispatch(MapEvent.java:266)
com.tangosol.util.MapEvent.dispatch(MapEvent.java:226)
com.tangosol.util.MapListenerSupport.fireEvent(MapListenerSupport.java:567)
com.tangosol.util.ObservableHashMap.dispatchEvent(ObservableHashMap.java:229)
com.tangosol.util.ObservableHashMap$Entry.onAdd(ObservableHashMap.java:270)
com.tangosol.util.SafeHashMap.put(SafeHashMap.java:244)
com.tangosol.coherence.component.util.ServiceConfig$Map.put(ServiceConfig.CDB:43)
com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$StorageIdRequest.onReceived(PartitionedCache.CDB:45)
com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onMessage(Grid.CDB:34)
com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:33)
com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.PartitionedService.onNotify(PartitionedService.CDB:3)
com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onNotify(PartitionedCache.CDB:3)
com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
java.lang.Thread.run(Thread.java:722)
Thread[PacketListenerN,10,Cluster]
java.net.TwoStacksPlainDatagramSocketImpl.receive0(Native Method)
java.net.TwoStacksPlainDatagramSocketImpl.receive(TwoStacksPlainDatagramSocketImpl.java:90)
java.net.DatagramSocket.receive(DatagramSocket.java:786)
com.tangosol.coherence.component.net.socket.UdpSocket.receive(UdpSocket.CDB:22)
com.tangosol.coherence.component.net.UdpPacket.receive(UdpPacket.CDB:1)
com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketListener.onNotify(PacketListener.CDB:20)
com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
java.lang.Thread.run(Thread.java:722)
Thread[PacketPublisher,10,Cluster]
java.lang.Object.wait(Native Method)
com.tangosol.coherence.component.util.Daemon.onWait(Daemon.CDB:18)
com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketPublisher.onWait(PacketPublisher.CDB:2)
com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:39)
java.lang.Thread.run(Thread.java:722)
Thread[PacketListener1P,10,Cluster]
java.net.DualStackPlainDatagramSocketImpl.socketReceiveOrPeekData(Native Method)
java.net.DualStackPlainDatagramSocketImpl.receive0(DualStackPlainDatagramSocketImpl.java:105)
java.net.AbstractPlainDatagramSocketImpl.receive(AbstractPlainDatagramSocketImpl.java:145)
java.net.DatagramSocket.receive(DatagramSocket.java:786)
com.tangosol.coherence.component.net.socket.UdpSocket.receive(UdpSocket.CDB:22)
com.tangosol.coherence.component.net.UdpPacket.receive(UdpPacket.CDB:1)
com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketListener.onNotify(PacketListener.CDB:20)
com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
java.lang.Thread.run(Thread.java:722)
Thread[main,5,main]
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:503)
com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.poll(Grid.CDB:26)
com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.poll(Grid.CDB:11)
com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.ensureCache(PartitionedCache.CDB:29)
com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.ensureCache(PartitionedCache.CDB:36)
com.tangosol.coherence.component.util.safeService.SafeCacheService.ensureCache$Router(SafeCacheService.CDB:1)
com.tangosol.coherence.component.util.safeService.SafeCacheService.ensureCache(SafeCacheService.CDB:33)
com.tangosol.net.DefaultConfigurableCacheFactory.ensureCache(DefaultConfigurableCacheFactory.java:920)
com.tangosol.net.DefaultConfigurableCacheFactory.configureCache(DefaultConfigurableCacheFactory.java:1296)
com.tangosol.net.DefaultConfigurableCacheFactory.ensureCache(DefaultConfigurableCacheFactory.java:297)
com.tangosol.net.CacheFactory.getCache(CacheFactory.java:204)
com.tangosol.net.CacheFactory.getCache(CacheFactory.java:181)
com.cnk.travelerp.common.caching.service.CacheService.<init>(CacheService.java:36)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:525)
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:76)
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:990)
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:943)
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:876)
org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:818)
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:735)
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:478)
org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:284)
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1106)
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609)
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469)
org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:103)
org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:1)
org.springframework.test.context.support.DelegatingSmartContextLoader.loadContext(DelegatingSmartContextLoader.java:228)
org.springframework.test.context.TestContext.loadApplicationContext(TestContext.java:124)
org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:148)
org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109)
org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75)
org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:321)
org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:211)
org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:288)
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:290)
org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231)
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71)
org.junit.runners.ParentRunner.run(ParentRunner.java:236)
org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)
org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Thread[PacketListener1,10,Cluster]
java.net.DualStackPlainDatagramSocketImpl.socketReceiveOrPeekData(Native Method)
java.net.DualStackPlainDatagramSocketImpl.receive0(DualStackPlainDatagramSocketImpl.java:105)
java.net.AbstractPlainDatagramSocketImpl.receive(AbstractPlainDatagramSocketImpl.java:145)
java.net.DatagramSocket.receive(DatagramSocket.java:786)
com.tangosol.coherence.component.net.socket.UdpSocket.receive(UdpSocket.CDB:22)
com.tangosol.coherence.component.net.UdpPacket.receive(UdpPacket.CDB:1)
com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketListener.onNotify(PacketListener.CDB:20)
com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
java.lang.Thread.run(Thread.java:722)
Thread[IpMonitor,6,Cluster]
java.lang.Object.wait(Native Method)
com.tangosol.coherence.component.util.Daemon.onWait(Daemon.CDB:18)
com.tangosol.coherence.component.util.daemon.IpMonitor.onWait(IpMonitor.CDB:4)
com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:39)
java.lang.Thread.run(Thread.java:722)
Thread[PacketSpeaker,10,Cluster]
java.lang.Object.wait(Native Method)
com.tangosol.coherence.component.util.queue.ConcurrentQueue.waitForEntry(ConcurrentQueue.CDB:16)
com.tangosol.coherence.component.util.queue.ConcurrentQueue.remove(ConcurrentQueue.CDB:7)
com.tangosol.coherence.component.util.Queue.remove(Queue.CDB:1)
com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketSpeaker.onNotify(PacketSpeaker.CDB:21)
com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
java.lang.Thread.run(Thread.java:722)
Thread[Finalizer,8,system]
java.lang.Object.wait(Native Method)
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)
java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:177)
2013-10-10 16:10:46.607/338.358 Oracle Coherence GE 3.7.1.1 <Warning> (thread=Termination Thread, member=1): Terminating Guard{Daemon=DistributedCache}
Coherence <Error>: Halting this cluster node due to unrecoverable service failure
2013-10-10 16:10:47.622/339.373 Oracle Coherence GE 3.7.1.1 <Error> (thread=PacketListener1P, member=1): Stopping cluster due to unhandled exception: com.tangosol.net.messaging.ConnectionException: UdpSocket.receive: unable to reopen socket; State=STATE_CLOSED
at com.tangosol.coherence.component.net.socket.UdpSocket.receive(UdpSocket.CDB:58)
at com.tangosol.coherence.component.net.UdpPacket.receive(UdpPacket.CDB:1)
at com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketListener.onNotify(PacketListener.CDB:20)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
at java.lang.Thread.run(Thread.java:722)
2013-10-10 16:10:47.622/339.373 Oracle Coherence GE 3.7.1.1 <D5> (thread=Cluster, member=n/a): Unexpected exception java.nio.channels.ClosedChannelException while accepting incoming TcpRing connection; refreshing listener socket
2013-10-10 16:10:47.622/339.373 Oracle Coherence GE 3.7.1.1 <D5> (thread=Invocation:Management, member=n/a): Service Management left the cluster
2013-10-10 16:10:47.622/339.373 Oracle Coherence GE 3.7.1.1 <Error> (thread=Cluster, member=n/a): StopRunning ClusterService{Name=Cluster, State=(SERVICE_STARTED, STATE_JOINED), Id=0, Version=3.7.1} due to unhandled exception:
2013-10-10 16:10:47.622/339.373 Oracle Coherence GE 3.7.1.1 <Error> (thread=Cluster, member=n/a):
java.lang.NullPointerException
at com.tangosol.coherence.component.net.Cluster$ClusterService$TcpRing.onAcceptException(Cluster.CDB:13)
at com.tangosol.coherence.component.net.TcpRing.onAccept(TcpRing.CDB:25)
at com.tangosol.coherence.component.net.TcpRing.onSelect(TcpRing.CDB:27)
at com.tangosol.coherence.component.net.TcpRing.select(TcpRing.CDB:14)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.ClusterService.onWait(ClusterService.CDB:6)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:39)
at java.lang.Thread.run(Thread.java:722)
2013-10-10 16:10:49.636/341.387 Oracle Coherence GE 3.7.1.1 <D5> (thread=Cluster, member=n/a): Service Cluster left the cluster
2013-10-10 16:10:49.636/341.387 Oracle Coherence GE 3.7.1.1 <Error> (thread=Cluster, member=n/a): StopRunning ClusterService{Name=Cluster, State=(SERVICE_STOPPED, STATE_JOINED), Id=0, Version=3.7.1} due to unhandled exception:
2013-10-10 16:10:49.636/341.387 Oracle Coherence GE 3.7.1.1 <Error> (thread=Cluster, member=n/a):
java.nio.channels.ClosedSelectorException
at sun.nio.ch.SelectorImpl.keys(SelectorImpl.java:69)
at com.tangosol.coherence.component.net.TcpRing.close(TcpRing.CDB:11)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.ClusterService.onExit(ClusterService.CDB:1)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:68)
at java.lang.Thread.run(Thread.java:722)
Exception in thread "Cluster|SERVICE_STOPPED|Member(Id=1, Timestamp=2013-10-10 16:05:10.564, Address=10.21.12.29:8088, MachineId=29338, Location=site:,machine:mumcnk-0562,process:2696, Role=EclipseJdtRemoteTestRunner)" java.nio.channels.ClosedSelectorException
at sun.nio.ch.SelectorImpl.keys(SelectorImpl.java:69)
at com.tangosol.coherence.component.net.TcpRing.disconnectAll(TcpRing.CDB:6)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.ClusterService$TcpRing.onLeft(ClusterService.CDB:4)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.ClusterService.onStopRunning(ClusterService.CDB:7)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.ClusterService.onException(ClusterService.CDB:28)
at com.tangosol.coherence.component.net.Cluster$ClusterService.onException(Cluster.CDB:7)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:85)
at java.lang.Thread.run(Thread.java:722)Hi,
Did you check the documentation about how to integrate Coherence with Spring applications? Check it out: Integrating Spring with Coherence
It seems that you are experiencing a communication problem between your web container and the Coherence cluster. Check if you are able to access simple caches and execute sample put() and get()s. Maybe the problem is not about Spring itself, it could be a communication problem.
Cheers,
Ricardo Ferreira -
Need help with Java SE TopLink JPA project
I'd like to ultimately run an Oracle stored procedure (connecting to Oracle 10g DB) in my Java SE program. I want to use TopLink JPA (11g) and if possible, use sessions to manage things - i.e. I want to run a stored procedure (that doesn't return anything), then run a native query. Does anyone have a good example of this type of configuration?
I've been able to get it working with plain ol' JPA via TopLink - i.e. my persistence.xml is fine. Obviously, JPA doesn't define stored procedures, so I need to set it up to use stored procedures. I tried setting up my sessions.xml file - I think it's OK. However, I think my project.xml file is incorrect - and I don't think I even really understand it. But I want a project.xml that is very simple - does anyone have a simple, bare-bones project.xml example. All I plan to do is run the occasional stored procedure and run native queries (for now).If all you want to do is create extra stored procedure queries then you might want to consider just creating a customizer and adding some queries there. Then you won't actually need to create a project at all.
Use the toplink.session.customizer property described at:
http://www.oracle.com/technology/products/ias/toplink/JPA/essentials/toplink-jpa-extensions.html
and then add some queries to your session. To make it even easier, then just define your queries in JPA, and override the call in your customizer. For example, if you defined a JPA named query called "Employee.executeStoredProc" then in your customizer method you could have something like:
public void customize(Session session) {
DatabaseQuery query = session.getQuery(“Employee.executeStoredProc”);
StoredProcedureCall call = new StoredProcedureCall();
call.setProcedureName("employee_stored_proc");
query.setCall(call);
Then when you call your JPA query the stored proc will run. -
Error deploying hibernate jpa with spring
We had a deployment working using EJB3 on weblogic 10.
I'm now trying to get it to work using hibernate. I had it working within eclipse and now trying to deploy to weblogic.
Not sure why the NestedExeptionUtil.class is not found as spring jar is there.
Thanks
<Jul 14, 2008 4:16:26 PM MDT> <Error> <Console> <BEA-240003> <Console encountered the following error weblogic.manageme
t.DeploymentException: Unexpected error encountered
at weblogic.deploy.internal.targetserver.AppContainerInvoker.getOrCreateDeploymentException(AppContainerInvoker
java:300)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:66)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperati
n.java:189)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:87)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:719)
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1186)
at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:248)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:1
7)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(Deployme
tReceiverCallbackDeliverer.java:157)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentRecei
erCallbackDeliverer.java:12)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCa
lbackDeliverer.java:45)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:464)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
Caused by: java.lang.NoClassDefFoundError: org/springframework/core/NestedExceptionUtils
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:34)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)resolved this, was missing the hibernate-annotations-common jar
-
TopLink - JPA - Jdeveloper 11g
Hi All,
I am having a TopLink - JPA example. I am executing a InsertExample.java which will insert record. But as I run InsertExample.java I keep getting following error.
I am using Jdeveloper 11 g (and NOT Eclipse). How to get rid of following error ?
"C:\Program Files\Java\jdk1.6.0_22\bin\javaw.exe" -client -classpath C:\MyJdevUserHomeEnv\mywork\TopLinkDesign\.adf;C:\MyJdevUserHomeEnv\mywork\TopLinkDesign\TopLink\classes;C:\Oracle\MiddlewarePS3\modules\com.oracle.toplink_1.0.0.0_11-1-1-4-0.jar;C:\Oracle\MiddlewarePS3\modules\org.eclipse.persistence_1.0.0.0_2-1.jar;C:\Oracle\MiddlewarePS3\modules\com.bea.core.antlr.runtime_2.7.7.jar;C:\Oracle\MiddlewarePS3\oracle_common\modules\oracle.toplink_11.1.1\javax.persistence_2.0_preview.jar;C:\Oracle\MiddlewarePS3\oracle_common\modules\oracle.xdk_11.1.0\xmlparserv2.jar;C:\Oracle\MiddlewarePS3\oracle_common\modules\oracle.xdk_11.1.0\xml.jar;C:\downloads\toplink_111130_en.zip;C:\downloads\coherence-java-3.6.0.0b17229.zip;C:\downloads\coherence-java-3.6.0.0b17229\coherence\lib\coherence.jar;C:\downloads\eclipselink-2.1.1.v20100817-r8050\eclipselink\jlib\eclipselink.jar;C:\downloads\toplink_111130_en\jlib\toplink-grid.jar;C:\Oracle\MiddlewarePS3\jdeveloper\ide\macros\..\..\..\wlserver_10.3\server\lib\ojdbc6.jar;C:\Oracle\MiddlewarePS3\jdeveloper\ide\macros\..\..\..\oracle_common\modules\oracle.nlsrtl_11.1.0\orai18n.jar;C:\Oracle\MiddlewarePS3\oracle_common\modules\oracle.odl_11.1.1\ojdl.jar;C:\Oracle\MiddlewarePS3\oracle_common\modules\oracle.dms_11.1.1\dms.jar -Djavax.net.ssl.trustStore=C:\Oracle\MiddlewarePS3\wlserver_10.3\server\lib\DemoTrust.jks gridcache.example.InsertExample
[EL Info]: 2010-11-20 19:58:59.418--ServerSession(30936685)--EclipseLink, version: Eclipse Persistence Services - 2.1.2.v20101006-r8316
[EL Warning]: 2010-11-20 19:58:59.425--java.lang.ClassNotFoundException: weblogic.version
[EL Info]: 2010-11-20 19:58:59.855--ServerSession(30936685)--file:/C:/MyJdevUserHomeEnv/mywork/TopLinkDesign/TopLink/classes/_employee-pu login successful
[EL Info]: 2010-11-20 19:58:59.855--JMX MBeanServer instance found: [com.sun.jmx.mbeanserver.JmxMBeanServer@146c1d4], # of beans: [20], domain: [DefaultDomain] at index: [0].
[EL Warning]: 2010-11-20 19:58:59.861--Failed to initialize MBean threadPoolRuntime: javax.management.InstanceNotFoundException: com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean
[EL Warning]: 2010-11-20 19:58:59.862--Failed to initialize MBean threadPoolRuntime: javax.management.InstanceNotFoundException: com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean
Exception in thread "main" java.lang.IllegalArgumentException: Object: Employee(0: Smith, Bob) is not a known entity type.
* at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.registerNewObjectForPersist(UnitOfWorkImpl.java:4198)*
* at org.eclipse.persistence.internal.jpa.EntityManagerImpl.persist(EntityManagerImpl.java:403)*
* at gridcache.example.InsertExample.main(InsertExample.java:29)*
Process exited with exit code 1.It seems this is not a Java EE deployment so is the Employee class listed in the persistence.xml file? Or have you set <exclude-unlisted-classes>false</exclude-unlisted-classes> ? Alternatively you could package the classes into a Jar referenced through the <jar-file></jar-file> element.
--Gordon
Maybe you are looking for
-
Where can I get a free download of saplicense.exe?
Where can I get a free download of saplicense.exe? saplicense is the SAP tool, that is mostly used for installing a new SAP license. This tool is command line based. In the easiest way, you just issue the following command: saplicense -install Then y
-
Regading getting data to and forth between 2 programs through SUBMIT
Hi All, I have a issue regarding fetching internal table data from one program to another. Actually I have <b>Main Program</b> from that through SUBMIT statement i am calling another program and executing it for every 100 records - Actually this prog
-
dell computer windows 7 outlook 2010 iphone 4 I am unable to sync new contact from iPhone to outlook Not very computer literate have ipad also help
-
Characterstic variable with customerexit
Hi, I have one customer exit variable requirement. requirement is like: If the user entry value( VAR1) is 'A' output from customer exit variable (CUSTVAR) is (1,6),If it's 'B' output is just 6. How can we achileve this? Thanks
-
Why does my Sony XBR49X850B Bravia TV disconnect from the internet all the time.
OK sony, I have jumped through all your ******ing hoops to register on your community site, since you have no direct line to support which is absolutly riddiculous, now please answer my question. Ever since I purchased this 1500 dollar TV, Brand New