CQL Join on Coherence Cache with Composite Key
I have a Coherence Cache with a composite key and I want to join a channel to records in that cache with a CQL processor. When I deploy the package containing the processor, I get the following error:
+italics14:32:35,938 | alter query SimpleQuery start | [ACTIVE] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)' | CQLServer | FATAL+
+14:32:35,938 | alter query >>SimpleQuery<< start+
+specified predicate requires full scan of external source which is not supported. please modify the join predicate | [ACTIVE] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)' | CQLServer | FATAL+
I think that I'm using the entire key. If I change the key to a single field, it deploys OK. I found a similar issue when I defined a Java class to represent the composite key. Is it possible to join in this way on a composite key cache?
I could define another field which is a concatenation of the fields in the composite key but this is a little messy.
My config is as below:
<wlevs:caching-system id="MyCache" provider="coherence" />
<wlevs:event-type-repository>
<wlevs:event-type type-name="SimpleEvent">
<wlevs:properties>
<wlevs:property name="field1" type="char" />
<wlevs:property name="field2" type="char" />
</wlevs:properties>
</wlevs:event-type>
</wlevs:event-type-repository>
<wlevs:channel id="InChannel" event-type="SimpleEvent" >
<wlevs:listener ref="SimpleProcessor" />
</wlevs:channel>
<wlevs:processor id="SimpleProcessor">
<wlevs:listener ref="OutChannel" />
<wlevs:cache-source ref="SimpleCache" />
</wlevs:processor>
<wlevs:channel id="OutChannel" event-type="SimpleEvent" >
</wlevs:channel>
<wlevs:cache id="SimpleCache" value-type="SimpleEvent"
key-properties="field1,field2"
caching-system="MyCache" >
</wlevs:cache>
and the processor CQL is as follows:
<processor>
<name>SimpleProcessor</name>
<rules>
<query id="SimpleQuery">
<![CDATA[
select I.field1, I.field2 from InChannel [now] as I,
SimpleCache as S where
I.field1 = S.field1 and
I.field2 = S.field2
]]> </query>
</rules>
</processor>
Thanks
Mike
Unfortunately, joining on composite keys in Coherence is not supported in the released versions. This will be supported in 12g release.
As you mention, defining another field as key, which is the concatenation of the original keys is the workaround.
Similar Messages
-
Master-Detail query problem with composite key
I have tested a MD form with EMP and DEPT tables and the MD query works okay.
I have created two tables both with two fields EMP_ID and REPORT_DATE as a composite key. The problem I am having with the MD form is that it does not query back the results when I select the QUERY button. I have verified that the join is setup during the creation of the form.I have recreated the form and the MD query works fine.
-
Hello
I have a table more or less like this
ID - CONTINENT- COUNTRY-CITY
1 ASIA
2 ASIA CHINA
3 ASIA CHINA BEIJING
4 ASIA CHINA XANGAI
5 ASIA JAPAN
6 ASIA JAPAN TOKIO
7 EUROPE
8 EUROPE GERMANY
Altough I have a sequencial primary key, that key os not used to relate to the "master record". The only way I have to know which record depends on which is by using a composite key (in the real table those three columns are numbers, and their combination is unique).
Is there a way to use an hierarquical query on this table?
Thanks for any helpNuno wrote:
example:
CREATE TABLE PLACES
(ID, CONTINENT,COUNTRY,CITY,NAME)Does that command work when you run it? I get 'ORA-02263: need to specifuy the datatype for this column".
INSERT INTO PLACES (1,1,NULL,NULL,'ASIA')
INSERT INTO PLACES (2,1,1,NULL,'CHINA')
INSERT INTO PLACES (3,1,1,1,'BEIJING')
INSERT INTO PLACES (4,1,1,2,'XANGAI)
INSERT INTO PLACES (5,1,2,NULL,'JAPAN')
INSERT INTO PLACES (6,1,2,1,'TOKIO')
INSERT INTO PLACES (7,2,NULL,NULL,'EUROPE')
INSERT INTO PLACES (8,2,1,NULL,'GERMANY')Do those statements work for you? I get "ORA-00928: missing SELECT keyword".
Oracle 10g is the version used...
what I want is a list like this:
ASIA
CHINA
BEIJING
XANGAI
JAPAN
TOKIO
EUROPE
GERMANY
The way I used was to create a "dummy" ID and Mother ID using both case and concatenating CONTINENT,COUNTRY,CITY fields.
Don't know if there is other cleaner way...
CONTINENT || COUNTRY || CITYdummy_id,
CASE
WHEN COUNTRY IS NULL AND CITY IS NULL
THEN NULL
WHEN COUNTRY IS NOT NULL AND CITY IS NULL
THEN CNUT1
WHEN COUNTRY IS NOT NULL AND CITY IS NOT NULL
THEN CONTINENT || COUNTRY
END DUMMY_MOMUsing COALESCE, like Odie did, is a lot simpler.
Instead of generating a "dummy" parent_id, you may want to add a real parent_id column to the table. Then it sould be easier to do CONNECT BY queries when you needed to.
However, you can get the output you requested without anything hierarchical:
{code}
SELECT name
FROM places
{code}
If the output somehow had to reflect the hierarchical structure then you'd have to do somehting different.
For example, to be sure children were displayed after their parents), add an ORDER BY clause:
{code}
SELECT name
FROM places
ORDER BY continent
, country NULLS FIRST
, city NULLS FIRST
{code}
If your output need to be indented, post exactly what you want, with an explanation.
When posting any fomatted text on this site, type these 6 characters:
\{code}
(small letters only, inside curly brackets) before and after sections of formatted text, to preserve spacing.
Perhaps you want something like this:
{code}
SELECT NVL2 (country, ' ', NULL) ||
NVL2 (city, ' ', NULL) ||
name AS indented_name
FROM places
ORDER BY continent
, country NULLS FIRST
, city NULLS FIRST
{code}
You can always do a CONNECT BY query, as Odie demonstrated. -
ClassNotFound Exception integrating Coherence and Eclipselink with composite key entity objects
I am hooking up coherence as an L2 cache for eclipselink in weblogic 12c (using the latest released weblogic and eclipselink 2.4.2.v20130514-5956486). I have my application war and coherence gar packaged in the same EAR file. For Entity Objects with single primary keys (Longs) coherence integration works as expected. However I have several multi-part key Entity Objects that use an IdClass to represent the key. When these objects get serialized, coherence throws a class not found exception. I'm assuming its because the cachekey used is an instance of my applications IdClass, and the weblogic classloader doesn't have access to this. Since eclipselink hides the cache integration with coherence, I cannot pass my classloader off to coherence (as i do with other caches i'm using directly with coherence).
How can I get around this problem?
I saw this option in ExternalizableHelper.xml, but modifying it directly had no effect:
<!-- if deploying Coherence in CLASSPATH and deploying application
classes within a hot-redeployable archive (e.g. ".ear"), set this to
true -->
<!-- *** WARNING *** all cluster nodes must use the same setting -->
<force-classloader-resolving>false</force-classloader-resolving>
Here is the stack trace:
ClassLoader: null) java.io.IOException: readObject failed: java.lang.ClassNotFoundException: com.oracle.pgbu.common.data.OverlayIdClass
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:270)
at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:623)
at weblogic.coherence.service.internal.io.WLSObjectInputStream.resolveClass(WLSObjectInputStream.java:45)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1610)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1515)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1769)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1704)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1342)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
at com.tangosol.util.ExternalizableHelper.readSerializable(ExternalizableHelper.java:2262)
at com.tangosol.util.ExternalizableHelper.readObjectInternal(ExternalizableHelper.java:2393)
at com.tangosol.util.ExternalizableHelper.readObject(ExternalizableHelper.java:2336)
at com.tangosol.util.ExternalizableHelper.readObject(ExternalizableHelper.java:2315)
at oracle.eclipselink.coherence.integrated.internal.cache.RelationshipUpdateProcessor.readExternal(RelationshipUpdateProcessor.java:82)
at com.tangosol.util.ExternalizableHelper.readExternalizableLite(ExternalizableHelper.java:2086)
at com.tangosol.util.ExternalizableHelper.readObjectInternal(ExternalizableHelper.java:2390)
at com.tangosol.util.ExternalizableHelper.readObject(ExternalizableHelper.java:2336)
at oracle.eclipselink.coherence.integrated.cache.WrapperSerializer.deserialize(WrapperSerializer.java:79)
at com.tangosol.util.ExternalizableHelper.deserializeInternal(ExternalizableHelper.java:2791)
at com.tangosol.util.ExternalizableHelper.fromBinary(ExternalizableHelper.java:266)
ClassLoader: null
at com.tangosol.util.Base.ensureRuntimeException(Base.java:286)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.tagException(Grid.CDB:50)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onInvokeRequest(PartitionedCache.CDB:61)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$InvokeRequest.run(PartitionedCache.CDB:1)
at com.tangosol.coherence.component.util.DaemonPool.add(DaemonPool.CDB:20)
at com.tangosol.coherence.component.util.DaemonPool.add(DaemonPool.CDB:1)
at com.tangosol.coherence.component.net.message.requestMessage.DistributedCacheKeyRequest.onReceived(DistributedCacheKeyRequest.CDB:2)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onMessage(Grid.CDB:38)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:23)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.PartitionedService.onNotify(PartitionedService.CDB:3)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onNotify(PartitionedCache.CDB:3)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:51)
at java.lang.Thread.run(Thread.java:724)
Caused by: java.io.IOException: readObject failed: java.lang.ClassNotFoundException: com.oracle.pgbu.common.data.OverlayIdClass
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:270)
at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:623)
at weblogic.coherence.service.internal.io.WLSObjectInputStream.resolveClass(WLSObjectInputStream.java:45)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1610)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1515)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1769)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1704)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1342)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
at com.tangosol.util.ExternalizableHelper.readSerializable(ExternalizableHelper.java:2262)
at com.tangosol.util.ExternalizableHelper.readObjectInternal(ExternalizableHelper.java:2393)
at com.tangosol.util.ExternalizableHelper.readObject(ExternalizableHelper.java:2336)
at com.tangosol.util.ExternalizableHelper.readObject(ExternalizableHelper.java:2315)
at oracle.eclipselink.coherence.integrated.internal.cache.RelationshipUpdateProcessor.readExternal(RelationshipUpdateProcessor.java:82)
at com.tangosol.util.ExternalizableHelper.readExternalizableLite(ExternalizableHelper.java:2086)
at com.tangosol.util.ExternalizableHelper.readObjectInternal(ExternalizableHelper.java:2390)
at com.tangosol.util.ExternalizableHelper.readObject(ExternalizableHelper.java:2336)
at oracle.eclipselink.coherence.integrated.cache.WrapperSerializer.deserialize(WrapperSerializer.java:79)
at com.tangosol.util.ExternalizableHelper.deserializeInternal(ExternalizableHelper.java:2791)
at com.tangosol.util.ExternalizableHelper.fromBinary(ExternalizableHelper.java:266)
ClassLoader: null
at com.tangosol.util.ExternalizableHelper.readSerializable(ExternalizableHelper.java:2270)
at com.tangosol.util.ExternalizableHelper.readObjectInternal(ExternalizableHelper.java:2393)
at com.tangosol.util.ExternalizableHelper.readObject(ExternalizableHelper.java:2336)
at com.tangosol.util.ExternalizableHelper.readObject(ExternalizableHelper.java:2315)
at oracle.eclipselink.coherence.integrated.internal.cache.RelationshipUpdateProcessor.readExternal(RelationshipUpdateProcessor.java:82)
at com.tangosol.util.ExternalizableHelper.readExternalizableLite(ExternalizableHelper.java:2086)
at com.tangosol.util.ExternalizableHelper.readObjectInternal(ExternalizableHelper.java:2390)
at com.tangosol.util.ExternalizableHelper.readObject(ExternalizableHelper.java:2336)
at oracle.eclipselink.coherence.integrated.cache.WrapperSerializer.deserialize(WrapperSerializer.java:79)
at com.tangosol.util.ExternalizableHelper.deserializeInternal(ExternalizableHelper.java:2791)
at com.tangosol.util.ExternalizableHelper.fromBinary(ExternalizableHelper.java:266)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$InvokeRequest.deserializeProcessor(PartitionedCache.CDB:7)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onInvokeRequest(PartitionedCache.CDB:37)
... 10 moreI am hooking up coherence as an L2 cache for eclipselink in weblogic 12c (using the latest released weblogic and eclipselink 2.4.2.v20130514-5956486). I have my application war and coherence gar packaged in the same EAR file. For Entity Objects with single primary keys (Longs) coherence integration works as expected. However I have several multi-part key Entity Objects that use an IdClass to represent the key. When these objects get serialized, coherence throws a class not found exception. I'm assuming its because the cachekey used is an instance of my applications IdClass, and the weblogic classloader doesn't have access to this. Since eclipselink hides the cache integration with coherence, I cannot pass my classloader off to coherence (as i do with other caches i'm using directly with coherence).
How can I get around this problem?
I saw this option in ExternalizableHelper.xml, but modifying it directly had no effect:
<!-- if deploying Coherence in CLASSPATH and deploying application
classes within a hot-redeployable archive (e.g. ".ear"), set this to
true -->
<!-- *** WARNING *** all cluster nodes must use the same setting -->
<force-classloader-resolving>false</force-classloader-resolving>
Here is the stack trace:
ClassLoader: null) java.io.IOException: readObject failed: java.lang.ClassNotFoundException: com.oracle.pgbu.common.data.OverlayIdClass
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:270)
at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:623)
at weblogic.coherence.service.internal.io.WLSObjectInputStream.resolveClass(WLSObjectInputStream.java:45)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1610)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1515)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1769)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1704)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1342)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
at com.tangosol.util.ExternalizableHelper.readSerializable(ExternalizableHelper.java:2262)
at com.tangosol.util.ExternalizableHelper.readObjectInternal(ExternalizableHelper.java:2393)
at com.tangosol.util.ExternalizableHelper.readObject(ExternalizableHelper.java:2336)
at com.tangosol.util.ExternalizableHelper.readObject(ExternalizableHelper.java:2315)
at oracle.eclipselink.coherence.integrated.internal.cache.RelationshipUpdateProcessor.readExternal(RelationshipUpdateProcessor.java:82)
at com.tangosol.util.ExternalizableHelper.readExternalizableLite(ExternalizableHelper.java:2086)
at com.tangosol.util.ExternalizableHelper.readObjectInternal(ExternalizableHelper.java:2390)
at com.tangosol.util.ExternalizableHelper.readObject(ExternalizableHelper.java:2336)
at oracle.eclipselink.coherence.integrated.cache.WrapperSerializer.deserialize(WrapperSerializer.java:79)
at com.tangosol.util.ExternalizableHelper.deserializeInternal(ExternalizableHelper.java:2791)
at com.tangosol.util.ExternalizableHelper.fromBinary(ExternalizableHelper.java:266)
ClassLoader: null
at com.tangosol.util.Base.ensureRuntimeException(Base.java:286)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.tagException(Grid.CDB:50)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onInvokeRequest(PartitionedCache.CDB:61)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$InvokeRequest.run(PartitionedCache.CDB:1)
at com.tangosol.coherence.component.util.DaemonPool.add(DaemonPool.CDB:20)
at com.tangosol.coherence.component.util.DaemonPool.add(DaemonPool.CDB:1)
at com.tangosol.coherence.component.net.message.requestMessage.DistributedCacheKeyRequest.onReceived(DistributedCacheKeyRequest.CDB:2)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onMessage(Grid.CDB:38)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:23)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.PartitionedService.onNotify(PartitionedService.CDB:3)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onNotify(PartitionedCache.CDB:3)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:51)
at java.lang.Thread.run(Thread.java:724)
Caused by: java.io.IOException: readObject failed: java.lang.ClassNotFoundException: com.oracle.pgbu.common.data.OverlayIdClass
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:270)
at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:623)
at weblogic.coherence.service.internal.io.WLSObjectInputStream.resolveClass(WLSObjectInputStream.java:45)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1610)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1515)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1769)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1704)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1342)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
at com.tangosol.util.ExternalizableHelper.readSerializable(ExternalizableHelper.java:2262)
at com.tangosol.util.ExternalizableHelper.readObjectInternal(ExternalizableHelper.java:2393)
at com.tangosol.util.ExternalizableHelper.readObject(ExternalizableHelper.java:2336)
at com.tangosol.util.ExternalizableHelper.readObject(ExternalizableHelper.java:2315)
at oracle.eclipselink.coherence.integrated.internal.cache.RelationshipUpdateProcessor.readExternal(RelationshipUpdateProcessor.java:82)
at com.tangosol.util.ExternalizableHelper.readExternalizableLite(ExternalizableHelper.java:2086)
at com.tangosol.util.ExternalizableHelper.readObjectInternal(ExternalizableHelper.java:2390)
at com.tangosol.util.ExternalizableHelper.readObject(ExternalizableHelper.java:2336)
at oracle.eclipselink.coherence.integrated.cache.WrapperSerializer.deserialize(WrapperSerializer.java:79)
at com.tangosol.util.ExternalizableHelper.deserializeInternal(ExternalizableHelper.java:2791)
at com.tangosol.util.ExternalizableHelper.fromBinary(ExternalizableHelper.java:266)
ClassLoader: null
at com.tangosol.util.ExternalizableHelper.readSerializable(ExternalizableHelper.java:2270)
at com.tangosol.util.ExternalizableHelper.readObjectInternal(ExternalizableHelper.java:2393)
at com.tangosol.util.ExternalizableHelper.readObject(ExternalizableHelper.java:2336)
at com.tangosol.util.ExternalizableHelper.readObject(ExternalizableHelper.java:2315)
at oracle.eclipselink.coherence.integrated.internal.cache.RelationshipUpdateProcessor.readExternal(RelationshipUpdateProcessor.java:82)
at com.tangosol.util.ExternalizableHelper.readExternalizableLite(ExternalizableHelper.java:2086)
at com.tangosol.util.ExternalizableHelper.readObjectInternal(ExternalizableHelper.java:2390)
at com.tangosol.util.ExternalizableHelper.readObject(ExternalizableHelper.java:2336)
at oracle.eclipselink.coherence.integrated.cache.WrapperSerializer.deserialize(WrapperSerializer.java:79)
at com.tangosol.util.ExternalizableHelper.deserializeInternal(ExternalizableHelper.java:2791)
at com.tangosol.util.ExternalizableHelper.fromBinary(ExternalizableHelper.java:266)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$InvokeRequest.deserializeProcessor(PartitionedCache.CDB:7)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onInvokeRequest(PartitionedCache.CDB:37)
... 10 more -
Class with composite Key, attribute and relation
Hello
I am implementing the jpa part of my project however I have a quite common relation to set up between 2 tables and I think I am in the wrong way
I have 3 entities : question - answer and project
The code below should allow you to understand easierly :
----- project
public class Project implements Serializable{
private static final long serialVersionUID = 6478117913922953539L;
@Id @GeneratedValue(strategy=GenerationType.IDENTITY)
private Long ProjId;
@Column(nullable = false)
private String Name;
@OneToMany(mappedBy="project",targetEntity=AnswerPK.class)
private List<Answer> Answers;
------- question
public class Question implements Serializable{
private static final long serialVersionUID = -1231353969246302525L;
@Id @GeneratedValue
private Long QuestId;
@Column(nullable = false)
private String Label;
@Column(nullable = false)
private String Type;
-------- Answer
public class Answer implements Serializable{
private static final long serialVersionUID = -690621748466361598L;
@EmbeddedId
private AnswerPK key;
private String result;
----------- AnswerPK
public class AnswerPK implements Serializable {
private static final long serialVersionUID = 9172011321649468776L;
@ManyToOne(optional=false)
@JoinColumn(name = "ProjId",nullable = false)
private Project project;
@OneToOne(optional=false)
@JoinColumn(name = "QuestId",nullable = false)
private Question question;
however I got this error
Caused by: org.hibernate.AnnotationException: Use of @OneToMany or @ManyToMany targeting an unmapped class: com.unmod.Domain.Project.Answers[com.unmod.Domain.AnswerPK]
so I start thinking that's not the way to do thatNumerous other things started going odd so I cleared out and re-installed jdev.
The entities are generated correctly now.
blew 4 hours on it though -
So I have a cache with 3 key/values in it.
If I call cache (over extend) with specific keys, i get all values back.
Object valueA = namedCache.get("A");
Object valueB = namedCache.get("B");
Object valueC = namedCache.get("C");
i.e. valueA/B/C are all not null.
If I now try to use keySet()/entrySet(), I only get 1 value back.
eg:
int cacheSize= namedCache.size(); //cache size is 3
int keySetSize = namedCache.keySet(); //cache size is 3
int actualKeySetSize = (new HashSet(namedCache.keySet())).size(); // actual size is 1
The same happens if I iterate over keyset/entryset, i.e. there is only 1 value in the result.
I have 2 storage nodes, JMX shows 1 node has 1 unit and other node shows cache has 2 units.
Are there any known bugs where above can occur, we are using Oracle Coherence GE 3.5.3/465p3.
i.e. keySet/entrySet not returning full result sets!
Cheers,
Neville.Apparently a timing issue between the "creation" of a cache, and the processing of requests against that cache. Because of the nature of the cache creation protocol, it is possible for the client creating the cache to return before all storage members have been notified of the cache name. It is therefore possible for cache requests to arrive at a storage member before that member has had a chance to instantiate its backing map.
Fix is part of 3.6.0 GA, and is now slated to be back ported for 3.5.3p8.
Have tested against 3.6 and all looks ok now. -
Composite key in Time dimension
Hi All,
I would like to know Time dimension with Composite key. I have a requirement where I want to store 2 Calendars in Time dimension table. for e.g :
for one calendar Weekstarts from SUN-SAT and for another it is from MON-TUE
DateKey Type WeekStart WeekEnd
20140101 1 Sun Sat
20140101 2 Mon Tue
..................etc
I have a measure group which is related to Time dimension (DateKey and Type used a Composite key). This implementation has no issues for additive measures but there are few issues with semi-additive measures (last non-empty,...).
Will composite Key have any effect on semi-additive measures ?
what if i use surrogate key instead of composite key.
Please suggest if the approach has any issue with Time intelligence. Advise if there is any better approach for the same.
Ram MSBI DeveloperHey.. Thanks!
I am clear about the concept about defining annotation based composite key. Also, I read in the documentation that I'll be needing to define as direct, aggregate or one-to-one. But, I am not able to define and run the same in the project mapping xml of toplink.
It would be great if you can share some sample code for defining the same. For e.g. in my mentioned example, there is TestEntity POJO having 'id' as the attribute which gets populated with the testEntityCode of the TestEntityKey POJO. Please suggest the same for the same:
<opm:primary-key>
<opm:attribute-name>id</opm:attribute-name>
<opm:field table="TEST_ENTITY_B" name="TEST_ENT_CODE" xsi:type="opm:column"/>
</opm:primary-key>
Thanks! -
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 -
How to Work with Composite Primary Key
Hi All,
I'm working with Toplink JPA. Here I have A problem with inserting into database table which have composite Primary Key.
What I'm doing is, I have two tables. to maintain many to many relation between these two tables I created another intermediate table which consists of foreign Keys (reference) of above two tables.
Now these two foreign Keys in the Intermediate table made as composite Primary Keys.
When I'm trying to the data in the Intermediate table I'm getting the foreign Keys values are null..
could anyone suggest me how to work with composite Primary Keys
Thanks,
SatishI have the same problem, I have 3 tables with a join table joining them all. I have created an intermediate table entity. When I go to create a an entry, it says that I cannot enter null into "ID". Here is the SQl toplink generates:
INSERT INTO Z_AUTH_USER_AUTHORIZATION (CONTEXT_ID, AUTHORIZATION_ID, USER_ID) VALUES (?, ?, ?)
bind => [null, null, null]
Here are the classes:
-----------------------Join Table-----------------------------------------------
@Entity()
@Table(name = "Z_AUTH_USER_AUTHORIZATION")
public class AuthUserAuthorization implements Serializable{
@EmbeddedId
private AuthUserAuthorizationPK compId;
// bi-directional many-to-one association to AuthAuthorization
@ManyToOne(fetch = FetchType.EAGER)
@JoinColumn(name = "AUTHORIZATION_ID", referencedColumnName = "ID", nullable = false, insertable = false, updatable = false)
private AuthAuthorization authAuthorization;
// bi-directional many-to-one association to AuthContext
@ManyToOne(fetch = FetchType.EAGER)
@JoinColumn(name = "CONTEXT_ID", referencedColumnName = "ID", nullable = false, insertable = false, updatable = false)
private AuthContext authContext;
// bi-directional many-to-one association to AuthUser
@ManyToOne(fetch = FetchType.EAGER)
@JoinColumn(name = "USER_ID", referencedColumnName = "ID", nullable = false, insertable = false, updatable = false)
private AuthUser authUser;
---------------------------------------User table--------------------------------------------------------------
@Entity()
@Table(name = "Z_AUTH_USER")
public class AuthUser implements Serializable, IUser{
@Id()
@SequenceGenerator(name = "AUTH_USER_ID_SEQ", sequenceName = "Z_AUTH_USER_ID_SEQ")
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "AUTH_USER_ID_SEQ")
@Column(name = "ID", unique = true, nullable = false, precision = 10)
private Integer id;
// bi-directional many-to-one association to AuthUserAuthorization
@OneToMany(mappedBy = "authUser", fetch = FetchType.EAGER)
private java.util.Set<AuthUserAuthorization> authUserAuthorizations;
-----------------------------------Context table-----------------------------------------------------------------
@Entity()
@Table(name = "Z_AUTH_CONTEXT")
public class AuthContext implements Serializable, IContext{
@Id()
@SequenceGenerator(name = "AUTH_CONTEXT_ID_SEQ", sequenceName = "Z_AUTH_CONTEXT_ID_SEQ")
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "AUTH_CONTEXT_ID_SEQ")
@Column(name = "ID", unique = true, nullable = false, precision = 8)
private Integer id;
// bi-directional many-to-one association to AuthUserAuthorization
@OneToMany(mappedBy = "authContext", fetch = FetchType.EAGER)
private java.util.Set<AuthUserAuthorization> authUserAuthorizations;
----------------------------Authorization table-------------------------------------------------
@Entity()
@Table(name = "Z_AUTH_AUTHORIZATION")
public class AuthAuthorization implements Serializable, IAuthorization{
@Id()
@SequenceGenerator(name = "AUTH_AUTHORIZATION_ID_SEQ", sequenceName = "Z_AUTH_AUTHORIZATION_ID_SEQ")
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "AUTH_AUTHORIZATION_ID_SEQ")
@Column(name = "ID", unique = true, nullable = false, precision = 8)
private Integer id;
// bi-directional many-to-one association to AuthUserAuthorization
@OneToMany(mappedBy = "authAuthorization", fetch = FetchType.EAGER)
private java.util.Set<AuthUserAuthorization> authUserAuthorizations;
I have tried to create the new entity several ways. I have tried to create one with the default constructor then set this entity on each of the other entities, I have also tried to pass in the entities to the join entity and set them there, but this doesn't work. Any help would be very appreciated!
Thanks,
Bill -
Listener for Unique Key in coherence Cache
Hi Experts,
I am using Oracle Coherence in one of my project and I am facing a Performance issue .Here is my scenario,
Thie is my Coherence cache structure
UniqueKey <Hive data>
D1 Hive Data1
D2 Hive Data2
D3 Hive Data3
Each Unique Key is for user Session. My application is a single Sign on with multiple applications involved.
The Coherence cache can be updated by any application/sub applications. When ever there is a change in my a user hive Data I need to update. My current implementation is
I get all the data (Map) from the Coherence Cache (Named Cache).
Look for the specific user's key
Hence there is a performance issue when ever i retrieve/set the hive data
Is there a default Listener/methodology which I can use in Oracle Coherence ?Thanks Jonathan for your timely response will look into the Map event, but just a quick question
Map<Object, Map<Object, Object>> updateUserData = (HashMap) namedCache.get(uniqueKey);
So this is how i retrieve the user data from the NamedCache. What it returns is a Map .....and any change to this current daykey is what the user is worry about.
The addListener() on the ObservableMap will start to listen on any event happening at the all key in the namedCache.I am looking for something like a listener/logic which looks only the for this uniqueKey for this user session.
Will look into the Map Event in detail.
Thanks Again,
Sarath -
Trouble with a composite key & unique violation
Hi all
as mentioned yesterday I'm a novice so apologies in advance for any lack of clarity in my question:
I'm doing the standard student estate agent database and I have come across an issue with a composite key.
the table in question follows:
CREATE TABLE Offer
buyer_id CHAR(5) not null references buyer (buyer_id),
property_id CHAR(5) not null references property (property_id),
primary key (BUYER_ID, PROPERTY_ID),
offer_date DATE not null,
offer_time NUMBER(4) not null,
offer_amount NUMBER(10,2) not null
and I have all the other tables in position with data loaded. However, when I try to load data into this table the buyer_id & property_id can be duplicated (it makes sense a buyer could make several offers on the same property).
I'm not sure how to get around it. When I simply remove the primary key line the the next line offer_date.... is not recognized. I'm I missing something obvious? I am not allowed to changed the structure of the table. Do I need another identifier for the composite key?
thanks JoIf you want to stick with natural primary keys, you would probably need to use the combination of (buyer_id, property_id, offer_date), assuming that the same buyer wouldn't make simultaneous offers on the same property. Given that this creates a rather unwieldy key for any child tables to reference, and given that the BUYER and PROPERTY tables appear to have synthetic foreign keys, you would probably want to add an OFFER_ID column to your table that is the primary key for the table and is populated via a sequence.
Justin -
Implementing Oracle DCN with Coherence Cache in a weblogic 10 app server
I m trying to implements a DCN ( Database change notification ) on oracle to notify a listener of an event of DB so I can update Coherence Cache.
I followed the tutorial here and it is working fine using a sample program with a main method to execute the listener class and keep it running.
My question is how would this notification and listener gets implemented on a production environment since my local test was only running a main method to keep the listener running? what technology to use to keep the listener always running on the background and receive the notification from the database )?
would a [weblogic startup class|http://docs.oracle.com/cd/E13222_01/wls/docs81/ConsoleHelp/startup_shutdown.html] work for this purpose?
We are using Weblogic 10 as our app server.That's a very simple question with (many) potentially complex answers. I think that first uou need to study information on TimesTen to understand what it is and what it does. Then you need to relate that to you current performance bottleneck (I assume you have analysed those). If your bottleneck is database access then maybe TimesTen can help you.
Please bear in mind that TimesTen is not a 'transparent' drop in performance booster. To implement TimesTen and to realise significant performance improvement you will almost certainly need to make changes to both the application and the overall architecture. The cost/difficulty of doing that also needs to be factored in.
Chris -
(EJB-3) Can a many-to-one/one-to-may join field be part of a composite key?
I've been setting up my first set of EJB-3 entites and I'm hitting an error I can't see the reason for. I don't have the code with me here- I'll add it to the thread tomorrow if there isn't a simple answer in the meantime.
Two entity classes, Invoice and VatTotal. Invoice has a synthetic key, VatTotal is keyed on invoive id and vat code. VatTotals are children of the Invoice.
So I code a Key class for the VatTotal entity, with Invoice and VatCode fields (VatCode is just a String). I define a ManyToOne property called invoice in VatCode and mark it @Id and a OneToMany field in Invoice called totals with type List<VatCode>
Netbeans seems to accept it, but when I try and create the EntityManagerFactory (using Hibernate) it rejects the mappedBy=invoice on the OneToMany in Invoice.
Does Hibernate accept ManyToOne properties as part of a composite key? Is there a problem using such a property in a OneToMany? Maybe I've done something dumb, but I can't see it.I don't think so. And I've seen some anomolies in the print preview (parts of messages getting cut off or munged up).
-
table pp
col name
a
b
c
d
e
f
table qq
col name
g-composite key
h-composite key
relation ship
table qq( g,h)->table pp(a,b)
table qq( g,h)->table pp(e,f)
table pp and table qq have parent child relation ship.
i want to join two table
please let me kow where clause of my query is right or not
from pp
where
(pp.a,
pp.b,
pp.e,
pp.f
) IN (
SELECT qq.g,qq.h,qq.g,qq.h
FROM qq)
qq
g,h
100,101
pp
a,b,c,d,e,f
100,101,aa,bb,100,101
100,101,cc,dd,100,101
Message was edited by:
anutoshfrom pp
where
(pp.a,
pp.b,
pp.e,
pp.f
) IN (
SELECT qq.g,qq.h,qq.g,qq.h
FROM qq)
That is not a "join".
A join would be
from pp, qq
where
pp.a = qq.g
and pp.b = qq.h
and pp.e = qq.g
and pp.f = gg.h -
Starting applications with interdependencies in coherence-cache
Hello,
is there a way to force CEP to wait for an application to have a state of RUNNING (or status of "Module is currently running" from the wlevsdeploy.jar) before it attempts to start the next application in the deployments.xml?
there is a coherence-cache dependency between the two applications which trigger exceptions if the 2nd application is started before the 1st has been fully started and is a RUNNING state.
thanks,
-AndresHere is the exception, note the the core application is running just fine before and after the exception,
thaks,
-Andres
<Mar 7, 2011 10:06:19 AM EST> <Notice> <Deployment> <BEA-2045000> <The application bundle "com.avocent.dcim.engine.es.core" was deployed successfully to file:/home/afolleco/Oracle/Middleware/user_projects/domains/mss-engine/defaultserver/applications/com.avocent.dcim.engine.es.core/com.avocent.dcim.engine.es.core.jar with version 1299510378795>
<Mar 7, 2011 10:06:19 AM EST> <Warning> <org.springframework.osgi.extensions.annotation.ServiceReferenceDependencyBeanFactoryPostProcessor> <BEA-000000> <Could not load class [org.springframework.osgi.extensions.annotation.ServiceReferenceInjectionBeanPostProcessor] for [com.avocent.dcim.engine.es.core]>
<Mar 7, 2011 10:06:19 AM EST> <Warning> <com.bea.wlevs.spring.support.ServiceDependencyBeanFactoryPostProcessor> <BEA-000000> <Could not load class [org.springframework.osgi.extensions.annotation.ServiceReferenceInjectionBeanPostProcessor] for [com.avocent.dcim.engine.es.core]>
<Mar 7, 2011 10:06:20 AM EST> <Notice> <Spring> <BEA-2047000> <The application context for "com.avocent.dcim.engine.es.core" was started successfully>
<Mar 7, 2011 10:06:20 AM EST> <Notice> <Deployment> <BEA-2045000> <The application bundle "com.avocent.dcim.engine.es.dpa" was deployed successfully to file:/home/afolleco/Oracle/Middleware/user_projects/domains/mss-engine/defaultserver/applications/com.avocent.dcim.engine.es.dpa/com.avocent.dcim.engine.es.dpa.jar with version 1299510380096>
<Mar 7, 2011 10:06:20 AM EST> <Warning> <org.springframework.osgi.extensions.annotation.ServiceReferenceDependencyBeanFactoryPostProcessor> <BEA-000000> <Could not load class [org.springframework.osgi.extensions.annotation.ServiceReferenceInjectionBeanPostProcessor] for [com.avocent.dcim.engine.es.dpa]>
<Mar 7, 2011 10:06:20 AM EST> <Warning> <com.bea.wlevs.spring.support.ServiceDependencyBeanFactoryPostProcessor> <BEA-000000> <Could not load class [org.springframework.osgi.extensions.annotation.ServiceReferenceInjectionBeanPostProcessor] for [com.avocent.dcim.engine.es.dpa]>
<Mar 7, 2011 10:06:21 AM EST> <Error> <Deployment> <BEA-2045010> <The application context "com.avocent.dcim.engine.es.dpa" could not be started: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean#0': Initialization of bean failed; nested exception is java.lang.IllegalStateException: Bundle "file:/home/afolleco/Oracle/Middleware/user_projects/domains/mss-engine/defaultserver/applications/com.avocent.dcim.engine.es.core/com.avocent.dcim.engine.es.core.jar" has been uninstalled
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean#0': Initialization of bean failed; nested exception is java.lang.IllegalStateException: Bundle "file:/home/afolleco/Oracle/Middleware/user_projects/domains/mss-engine/defaultserver/applications/com.avocent.dcim.engine.es.core/com.avocent.dcim.engine.es.core.jar" has been uninstalled
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69)
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355)
at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:136)
at org.springframework.scheduling.commonj.DelegatingWork.run(DelegatingWork.java:62)
at weblogic.work.commonj.CommonjWorkManagerImpl$WorkWithListener.run(CommonjWorkManagerImpl.java:196)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused By: java.lang.IllegalStateException: Bundle "file:/home/afolleco/Oracle/Middleware/user_projects/domains/mss-engine/defaultserver/applications/com.avocent.dcim.engine.es.core/com.avocent.dcim.engine.es.core.jar" has been uninstalled
at org.eclipse.osgi.framework.internal.core.AbstractBundle.checkValid(AbstractBundle.java:1160)
at org.eclipse.osgi.framework.internal.core.BundleHost.checkLoader(BundleHost.java:185)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1193)
at org.eclipse.osgi.internal.loader.buddy.GlobalPolicy.loadClass(GlobalPolicy.java:38)
at org.eclipse.osgi.internal.loader.buddy.PolicyHandler.doBuddyClassLoading(PolicyHandler.java:135)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:482)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:121)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:211)
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:230)
at org.springframework.beans.propertyeditors.ClassArrayEditor.setAsText(ClassArrayEditor.java:66)
at org.springframework.beans.TypeConverterDelegate.doConvertTextValue(TypeConverterDelegate.java:382)
at org.springframework.beans.TypeConverterDelegate.doConvertValue(TypeConverterDelegate.java:358)
at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:173)
at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:138)
at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:386)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1289)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1250)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1011)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69)
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355)
at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:136)
at org.springframework.scheduling.commonj.DelegatingWork.run(DelegatingWork.java:62)
at weblogic.work.commonj.CommonjWorkManagerImpl$WorkWithListener.run(CommonjWorkManagerImpl.java:196)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
>
<Mar 7, 2011 10:06:21 AM EST> <Notice> <Deployment> <BEA-2045001> <The application bundle "com.avocent.dcim.engine.es.dpa" was undeployed successfully>
<Mar 7, 2011 10:06:22 AM EST> <Notice> <Deployment> <BEA-2045000> <The application bundle "com.avocent.dcim.engine.es.epp" was deployed successfully to file:/home/afolleco/Oracle/Middleware/user_projects/domains/mss-engine/defaultserver/applications/com.avocent.dcim.engine.es.epp/com.avocent.dcim.engine.es.epp.jar with version 1299510380960>
<Mar 7, 2011 10:06:24 AM EST> <Notice> <Deployment> <BEA-2045000> <The application bundle "com.avocent.dcim.engine.es.dispatch" was deployed successfully to file:/home/afolleco/Oracle/Middleware/user_projects/domains/mss-engine/defaultserver/applications/com.avocent.dcim.engine.es.dispatch/com.avocent.dcim.engine.es.dispatch.jar with version 1299510382986>
<Mar 7, 2011 10:06:25 AM EST> <Notice> <Deployment> <BEA-2045000> <The application bundle "com.avocent.dcim.engine.es.ipmi" was deployed successfully to file:/home/afolleco/Oracle/Middleware/user_projects/domains/mss-engine/defaultserver/applications/com.avocent.dcim.engine.es.ipmi/com.avocent.dcim.engine.es.ipmi.jar with version 1299510384994>
<Mar 7, 2011 10:06:25 AM EST> <Notice> <Spring> <BEA-2047000> <The application context for "com.avocent.dcim.engine.es.ipmi" was started successfully>
Maybe you are looking for
-
Is it likely that I will ever have an Internet con...
Just wondering if I will ever be reconnected to the internet again? In our flat in the middle of nowhere in central Russia I had fibre to the premises installed the day after I requested it and at an exact time specified by me! It also costs less th
-
KeyBoard is no longer working on my HP Elitebook 8460P
My keyboard no longer works on my 8460p. I'm able to use a usb keyboard and the onscreen keyboard but the onboard keyboard no longer works. My HP motherboard died about two weeks after I got it and HP had it for a month and I just got it back. It wou
-
QuickTime videos stutter in Safari but not Firefox
hi guys, i recently built a website using lightwindow (http://stickmanlabs.com/lightwindow/) to display quicktime videos in modals. the videos play beautifully in firefox but are very choppy in safari. i've tried it on a couple different macs and the
-
KImportXMLFileCmdBoss differencies on Desktop and Server
Dear developers, I have this issue when running my plugin in InDesign Server CS2 09:57:38 ERROR [server] Adobe InDesign is shutting down. A serious error was detected. Please restart InDesign to recover work in any unsaved InDesign documents. If I ru
-
All of a sudden, iTunes wont verify my billing address. It accepted it just fine when i verified it a few days ago and ive made several purchases since then. But now my formerly valid address in invalid. This happened to me about a month ago as well.