coherence-community / coherence-incubator

Coherence Incubator
38 stars 37 forks source link

Using coherence 12.1.3 with coherence patternsprocessing-12.3.0 or 12.2.0 has issues #132

Closed brianoliver closed 9 years ago

brianoliver commented 9 years ago

While server is starting there error in the log No such method below is the stack trace

Exception in thread "Thread-5" java.lang.NoSuchMethodError: com.tangosol.util.Base.checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V at com.oracle.coherence.patterns.processing.internal.ProcessingPattern.ensureInfrastructureStarted(ProcessingPattern.java:108) at com.oracle.coherence.patterns.processing.internal.LifecycleInterceptor$1.run(LifecycleInterceptor.java:59) at java.lang.Thread.run(Thread.java:745) Exception in thread "Thread-6" java.lang.NoSuchMethodError: com.tangosol.util.Base.checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V at com.oracle.coherence.patterns.processing.internal.ProcessingPattern.ensureInfrastructureStarted(ProcessingPattern.java:108) at com.oracle.coherence.patterns.processing.internal.LifecycleInterceptor$1.run(LifecycleInterceptor.java:59) at java.lang.Thread.run(Thread.java:745)

brianoliver commented 9 years ago

@brianoliver said: This looks like a classpath issue / container classloader problem.

Can you provide some steps to re-produce including detail on the deployment, number of servers, those that are storage enabled/disabled, java versions etc.

Thanks!

– Brian

brianoliver commented 9 years ago

@vikrampabba said: Java version :1.7Update 71

storage is disabled

I upgraded from weblogic 11G to weblogic 12 C and since the coherence is upgraded and we use the patternsprocessing so upgraded to 12.3.0 . So the server starts but gives a exception as above when i looked into the code there is mismatch in the method com.tangosol.util.Base.checkNotNull return type .

brianoliver commented 9 years ago

@brianoliver said: This issue was caused by using internal methods of Coherence and the changes that occurred between Coherence 12.1.2 and 12.1.3. Once these methods we removed (they are only asserts), this issue is resolved.

brianoliver commented 8 years ago

This issue was imported from JIRA COHINC-132

brianoliver commented 9 years ago

Reported by vikrampabba

brianoliver commented 9 years ago

Marked as fixed by @brianoliver on Wednesday, April 22nd 2015, 2:34:47 pm