apache ignite upgrade from 2.8.1 to 2.10.0 - ignite

I upgraded apache ignite from 2.8.1 to 2.10.0 and now get "class org.apache.ignite.IgniteCheckedException: Failed to resolve .NET class 'IFS.Base.Models.RqrsModels.PublicMessageModels.InstTrade' in Java [platformId=0, typeId=1775204339]." exception.
What's the problom?

Ignite 2.10 has a bug related to incorrect metadata handling for indexed types: IGNITE-14856
Please roll back to 2.9.1 or wait for 2.11 which is expected within a month.

Related

Which GridGain version is compatible with Apache Ignite 2.11.0

We use Apache Ignite 2.11.0 and plan to migrate to GridGain.
Which version is compatible and how to migrate to GridGain Community?
We use .NET Core. Do we change the program code or migrate without change?
GridGain is based on Apache Ignite, but they are not 100% compatible, and there is no 1-to-1 version mapping.
Having said that:
In most cases the migration is smooth - just change the package reference.
Latest available GridGain version is recommended.

Is jboss 4.2.2 GA compatible with java 11?

We have a product that is running fine with JBoss 4.2.2/java 7.
We are now moving to JDK 11. simply added java 11 in the classpath and tried starting the server.
Encountered below error
OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0
-Djava.endorsed.dirs=C:\PathBuilder\GE\EMEA\vp\jboss\lib\endorsed is not supported. Endorsed standards and standalone APIs in modular form
will be supported via the concept of upgradeable modules.
removed below configurations from run.bat and started the server again
-XX:MaxPermSize=128m
"-Djava.endorsed.dirs=%JBOSS_ENDORSED_DIRS%"
now getting below error and which is
interrupting the ear deployment Caused by:
java.lang.ClassNotFoundException: No ClassLoaders found for:
org.omg.CORBA.Object
Is Java 4.2.2 compatible with JDK 11 or we need to update JBoss to 7.2 or latest versions?
can someone help with this or provide related links?
JBoss 4.2 is a very old and outdated version and it only tested with JDK 1.5 and 1.6 version. If you are upgrading your JDK to 11 then you should update the JBoss to 7.3 version which is the latest available GA release from Red Hat.
You can download the jdk files of older versions like jdk6 and then replace JAVA path in the jboss run file from "set JAVA=%JAVA_HOME%\bin\java" to
"set JAVA=C:\Users\jdk1.6.0_45\bin\java"
Of course it's better to upgrade to a higher JBoss version... But in case that's not possible, you can avoid the ClassNotFoundException for org.omg.CORBA.Object by placing rt.jar from Java 8 in your JBoss-libs folder.
With this configuration you can run older JBoss versions with Java 11.

JAVAX RS WS Client Exceotion NoClassDefFoundError

We are migrating CXF version 2.7.7 to 3.1.8 and facing the belows issue.
And also updated javax.rs.ws 2.0-m10 to 2.0.1
Exception in thread "main" java.lang.NoClassDefFoundError: javax/ws/rs/client/ClientException
If we are using the same javax.rs.ws 2.0-m10, facing the below issue
Exception in thread "main" java.lang.NoClassDefFoundError: javax/ws/rs/core/NoContentException
Anyone have the solution, what could be the right version of Javax-rs-ws version which contains both the classes?
From the CXF 3.1.x migration guide
Support for using JAX-WS 2.1 based API jars has been removed. Java 7
(now required) includes JAX-WS 2.2 so this should not be an issue.

unboundid ldap upgraded version from 1.1.3 to 3.1.1. ClassNotFoundException being thrown.

I have recently upgraded our unboundid ldap jar version from 1.1.3 to 3.1.1. After the upgrade when I am deploying the app in weblogic, I am getting a ClassNotFoundException in the log. So far I have faced no issues in terms of functionality, but I am concerned is there any connection leakage is happeining underneath or not.
Caused by: java.lang.ClassNotFoundException: com.unboundid.ldap.sdk.DisconnectType
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)
... 1 more
App package : WAR
Server : Weblogic 10.3.6
I experienced a similar issue, using unboundid ldap 2.2.0 and Tomcat 7, with reference to ProtocolMessages instead of DisconnectType:
java.lang.NoClassDefFoundError: com/unboundid/ldap/protocol/ProtocolMessages
The class was definitely present in the jar files. In my case, this error was a smokescreen. On initialization, the application experienced an error and failed to load; however, some ldap connection threads had already connected and did not get shut down properly. The orphaned threads continued to throw NoClassDefFoundError until I restarted the application server.

Compatibility issue between Hbase 0.94.2 and apache nutch dependency

I am trying to install apache nutch 2.2.1 and have successfully build it after making the required changes in the configuration files by following http://www.blogjava.net/paulwong/archive/2013/08/31/403513.html tutorial. But even after building it I am not able to crawl anything and after hours of inspection I realized that the hbase version on my company cluster is Hbase- 0.94.2 whereas the installation dependency for apache nutch 2.2.1 is HBase 0.90.4. As hbase-0.90.4.jar is not compatible with Hbase- 0.94.2 I am getting the following error when I try to inject the url into nutch. Kindly help me in changing the dependency of the apache nutch or fixing the error.
I am posting the error below.
Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException: Not a host:port pair: �-11562#bt13acl1node26.comp.com�$3�¿½bt13acl1node26.comp.com,60000,1401268790838
at org.apache.gora.hbase.store.HBaseStore.initialize(HBaseStore.java:127)
at org.apache.gora.store.DataStoreFactory.initializeDataStore(DataStoreFactory.java:102)
at org.apache.gora.store.DataStoreFactory.createDataStore(DataStoreFactory.java:161)
... 12 more
Caused by: java.lang.IllegalArgumentException: Not a host:port pair: �-11562#bt13acl1node26.comp.com�$3�¿½bt13acl1node26.comp.com,60000,1401268790838
at org.apache.hadoop.hbase.HServerAddress.(HServerAddress.java:60)
at org.apache.hadoop.hbase.MasterAddressTracker.getMasterAddress(MasterAddressTracker.java:63)
at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getMaster(HConnectionManager.java:354)
at org.apache.hadoop.hbase.client.HBaseAdmin.(HBaseAdmin.java:94)
at org.apache.gora.hbase.store.HBaseStore.initialize(HBaseStore.java:109)
... 14 more
You installed Apache Nutch 2.2.1 it uses Apache Gora 0.3 which only supports old Apache HBase 0.90.x as it stated in the official docs.
Anyway you still can use Nutch 2.2.x using the following workaround:
Clone, configure and build fresh Nutch from the official Git branch 2.x as it migrated to Gora 0.4 which compatible with Apache HBase 0.94.x.
Clone and build my version of Apache HBase 0.94.24-hadoop-2.5.0 to use it with the latest Apache Hadoop 2.5.0.
Similar issue was created for Apache Gora 0.3 project. They don't plan to upgrade Apache HBase dependency to the fresh one in the nearest future.
You can also read compatibility documentation for Apache HBase to figure out how to build your own version for any Hadoop release.
Apache Nutch was tested and works well with the following stack:
Apache Nutch from 2.x git branch which uses Gora 0.4;
Apache Hbase 0.94.24-hadoop-2.5.0;
Apache Hadoop 2.5.0.