JPPF, java, parallel computing, distributed computing, grid computing, parallel, distributed, cluster, grid, cloud, open source, android, .net
JPPF

The open source
grid computing
solution

 Home   About   Features   Download   Documentation   Forums 
December 15, 2018, 09:55:50 AM *
Welcome,
Please login or register.

Login with username, password and session length
Advanced search  
News: New users, please read this message. Thank you!
  Home Help Search Login Register  

Recent Posts

Pages: [1] 2 3 ... 10
1
Hello,

According to this stackoverflow thread, it means that, in your classpath, you have two jar files that contain the "oracle.jdbc.internal" package. Remove one of them from your classpath and the problem should go away.

This being said, I do not see how this issue relates to JPPF, would you mind enlightening us on this?

Sincerely,
-Laurent
2
java.lang.AssertionError: Failed to generate class for weblogic.jdbc.rmi.internal.ConnectionImpl_weblogic_jdbc_wrapper_PoolConnection_oracle_jdbc_driver_T4CConnection_1036_WLStub
   at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:797)
   at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:786)
   at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:74)
   at weblogic.rmi.internal.StubInfo.resolveObject(StubInfo.java:254)
   at weblogic.rmi.internal.StubInfo.readResolve(StubInfo.java:199)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at java.io.ObjectStreamClass.invokeReadResolve(ObjectStreamClass.java:1061)
   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1761)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
   at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946)
   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
   at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
   at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:208)
   at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:599)
   at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:204)
   at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:62)
   at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:243)
   at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
   at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
   at weblogic.jdbc.common.internal.RmiDataSource_1036_WLStub.getConnection(Unknown Source)
   at data.common.DBConnectionManager.getConnection(DBConnectionManager.java:61)
   at com.iberia.negocio.test.TestEstimacionValoracion.connectionDatabase(TestEstimacionValoracion.java:38)
   at com.iberia.negocio.test.TestEstimacionValoracion.testing(TestEstimacionValoracion.java:64)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at junit.framework.TestCase.runTest(TestCase.java:176)
   at junit.framework.TestCase.runBare(TestCase.java:141)
   at junit.framework.TestResult$1.protect(TestResult.java:122)
   at junit.framework.TestResult.runProtected(TestResult.java:142)
   at junit.framework.TestResult.run(TestResult.java:125)
   at junit.framework.TestCase.run(TestCase.java:129)
   at junit.framework.TestSuite.runTest(TestSuite.java:255)
   at junit.framework.TestSuite.run(TestSuite.java:250)
   at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
   at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
   at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
   at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
   at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
   at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
   at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
Caused by: java.lang.SecurityException: sealing violation: can't seal package oracle.jdbc.internal: already loaded
   at java.net.URLClassLoader.defineClass(URLClassLoader.java:242)
   at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
   at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:296)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
   at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
   at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
   at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
   at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:343)
   at weblogic.rmi.utils.WLRMIClassLoaderDelegate.loadClass(WLRMIClassLoaderDelegate.java:215)
   at weblogic.rmi.utils.WLRMIClassLoaderDelegate.loadClass(WLRMIClassLoaderDelegate.java:135)
   at weblogic.rmi.utils.Utilities.loadClass(Utilities.java:305)
   at weblogic.rmi.internal.ClientRuntimeDescriptor.computeInterfaces(ClientRuntimeDescriptor.java:232)
   at weblogic.rmi.internal.ClientRuntimeDescriptor.getInterfaces(ClientRuntimeDescriptor.java:147)
   at weblogic.rmi.internal.StubInfo.getInterfaces(StubInfo.java:80)
   at weblogic.rmi.internal.StubGenerator.<init>(StubGenerator.java:85)
   at weblogic.rmi.internal.StubGenerator.hotCodeGenClass(StubGenerator.java:782)
   at weblogic.rmi.internal.StubGenerator.getStubClass(StubGenerator.java:766)
   at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:793)
   ... 46 more
3
JPPF News / JPPF 6.0 Generally Available
« Last post by lolo on October 06, 2018, 11:30:49 AM »
Dear JPPF Community,

We are very pleased to announce that JPPF 6.0 is generally available.
This is a major milestone for JPPF, and we hope it will bring major benefits to your work.
Do not hesitate to dowload it and try it for yourself!

Once again, we thank you for your contributions and feedback, which made this release possible and were an outstanding source of inspiration. For this and everything else, we are forever grateful.

Best regards,
The JPPF Team
4
Installation and Configuration / Re: Bundle size problem
« Last post by Kuhlman on September 12, 2018, 01:16:27 PM »
Are there any alternative ways to do this btw? I can't see it being done this way. Not 100% sure though.
5
Troubleshooting / Re: JPPF 5.2.8 node keeps restarting
« Last post by gavyas on September 10, 2018, 04:56:50 PM »
For some reason, it has started to work fine again. It seems there was another user who had a java application running and it may have interfered with my run.Do you think that is a possible explanation of the issue?
6
Troubleshooting / Re: JPPF 5.2.8 node keeps restarting
« Last post by gavyas on September 09, 2018, 07:46:14 PM »
I don't see the log files. Weird. See the attached snapshot of the folder.

I have also attached the property files for your reference. Both driver and nodes are on the same machine. There is only one node on the machine. I am not using Java wrapper service at this point.

The set up used to work efficiently until two days back. Not sure what got changed in the configuration. Any direction to troubleshoot this will be highly appreciated.
7
Troubleshooting / Re: JPPF 5.2.8 node keeps restarting
« Last post by lolo on September 09, 2018, 07:18:34 PM »
Hello,

Quote
For some reason, I don't see these log files in the folder

These log files should be located in the root installation folder of your node and of your driver, respectively. The node and driver may be on separate machines.

You mentioned the file wrapper config files, could you please confirm whether you run the JPPF node and/or driver as a service with Java Service Wrapper?

Could you also please provide the configuration of your JPPF node and driver (<node_install_root>\config\jppf-node.properties and <driver_install_root>\config\jppf-driver.properties) so we can have an understanding of your grid setup?

Thanks,
-Laurent
8
Troubleshooting / Re: JPPF 5.2.8 node keeps restarting
« Last post by gavyas on September 09, 2018, 02:18:53 PM »
Thanks for the reply. For some reason, I don't see these log files in the folder.  I am using JPPF 5.2.8 and java 1.8.0_31 on windows server 2008 R2 Enterprise.
9
Troubleshooting / Re: JPPF 5.2.8 node keeps restarting
« Last post by lolo on September 09, 2018, 06:52:17 AM »
Hello Gaurav,

The node console output is showing that the node is actually successfully connecting to the driver. The fact this output is repeating probably means that a problem occurs after the connection. It could be a problem in either the node or the driver it is connected to. Unfortunately, there isn't enough information to understand the nature of the problem. Could you please check in the related log files (wrapper-node.log, jppf-node.log, as well as jppf-driver.log) for any error or exception? Would it be possible for your to post or attach these logs? Also, what version of JPPF are you using, on which OS and with which Java version?

Thanks for your time,
-Laurent
10
Troubleshooting / JPPF 5.2.8 node keeps restarting
« Last post by gavyas on September 08, 2018, 11:06:21 PM »
I have a weird error while using JPPF 5.2.8. It was working properly until this morning and I cannot seem to resolve the issue. The JPPF node keeps on restarting with the attached message.

I checked the wrapper config files and they all seem to be fine (based on an earlier post regarding 5.2.1 version, issue 473). I removed other JPPF versions from the classpath folder as well.

Gaurav
Pages: [1] 2 3 ... 10
JPPF Powered by SMF 2.0 RC5 | SMF © 2006–2011, Simple Machines LLC Get JPPF at SourceForge.net. Fast, secure and Free Open Source software downloads