Does the Ironjacamar-1.2.4.Final just run on Oracle Java 1.7?

49 views
Skip to first unread message

Wei Chen

unread,
May 13, 2015, 4:41:51 AM5/13/15
to ironjaca...@googlegroups.com
I've tried first runing the 'rar-info.sh' on a LINUX machine with SUN Java 1.6.0_91 installed. But I got exception as follow:

# ./rar-info.sh
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/jboss/jca/as/rarinfo/Main : Unsupported major.minor version 51.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
        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:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: org.jboss.jca.as.rarinfo.Main.  Program will exit.


Then I run it on a LINUX machine with Oracle 1.7.0_75 installed and it works.

Jesper Pedersen

unread,
May 13, 2015, 7:49:29 AM5/13/15
to ironjaca...@googlegroups.com, chenw...@gmail.com
IronJacamar 1.2 has Java 7 as baseline, with Java 8 as an option - http://www.ironjacamar.org/doc/developerguide/1.2/en-US/html/ch02.html#jdk

Wei Chen

unread,
May 13, 2015, 8:03:20 AM5/13/15
to ironjaca...@googlegroups.com, chenw...@gmail.com
So far I know the IronJacamar is integrated in the Jboss EAP 6.X. I use now the Jboss EAP 6.3.3. But the Java verison on the machine is SUN Java 1.6.0_91. But as I start the Jboss, I don't have the "UnsupportedClassVersionError". What a version is used in Jboss EAP 6.X? How to check it?

Do you think it's better that we use the Java 7?

Wei Chen

unread,
May 13, 2015, 8:08:29 AM5/13/15
to ironjaca...@googlegroups.com, chenw...@gmail.com
I just check our LINUX machine and get following information:

]# yum list installed |grep -i IronJacamar
ironjacamar-common-api-eap6.noarch   1.0.28-1.Final_redhat_1.1.ep6.el5 installed
ironjacamar-common-impl-eap6.noarch  1.0.28-1.Final_redhat_1.1.ep6.el5 installed
ironjacamar-common-spi-eap6.noarch   1.0.28-1.Final_redhat_1.1.ep6.el5 installed
ironjacamar-core-api-eap6.noarch     1.0.28-1.Final_redhat_1.1.ep6.el5 installed
ironjacamar-core-impl-eap6.noarch    1.0.28-1.Final_redhat_1.1.ep6.el5 installed
ironjacamar-deployers-common-eap6.noarch
ironjacamar-jdbc-eap6.noarch         1.0.28-1.Final_redhat_1.1.ep6.el5 installed
ironjacamar-spec-api-eap6.noarch     1.0.28-1.Final_redhat_1.1.ep6.el5 installed
ironjacamar-validator-eap6.noarch    1.0.28-1.Final_redhat_1.1.ep6.el5 installed

Seems the IronJacamar version integrated in the Jboss EAP 6.3.X is 1.0.28-1? Does this version have the Java 6 as baseline?



Am Mittwoch, 13. Mai 2015 13:49:29 UTC+2 schrieb Jesper Pedersen:

Jesper Pedersen

unread,
May 13, 2015, 8:25:00 AM5/13/15
to ironjaca...@googlegroups.com, chenw...@gmail.com
Yes, Red Hat Enterprise Application Platform 6.x makes use of IronJacamar 1.0, which has Java 6 as baseline.

IronJacamar 1.0 and IronJacamar 1.1 are no longer supported by the IronJacamar community.

HTH

Wei Chen

unread,
May 13, 2015, 8:32:02 AM5/13/15
to ironjaca...@googlegroups.com, chenw...@gmail.com
What version of jca does IronJacamar 1.0 support? 1.5? oder 1.6?

Does IronJacamar 1.0 support the class "org.jboss.resource.deployment.DummyResourceAdapter"?

Wei Chen

unread,
May 13, 2015, 8:34:51 AM5/13/15
to ironjaca...@googlegroups.com
I just downloaded the 1.0. But I find there are much less *.sh in it such as the ra-info.sh. Isn't it?

Wei Chen

unread,
May 13, 2015, 8:41:16 AM5/13/15
to ironjaca...@googlegroups.com, chenw...@gmail.com
Further question:
If we use the 1.2.4 to build a RAR, could it run on Jboss EAP 6.3.3 since the integrated version of IronJacamar is 1.0 in Jboss EAP 6.3.3?


Am Mittwoch, 13. Mai 2015 14:25:00 UTC+2 schrieb Jesper Pedersen:

Jesper Pedersen

unread,
May 14, 2015, 7:20:16 AM5/14/15
to ironjaca...@googlegroups.com, chenw...@gmail.com
IronJacamar 1.0 supports JCA 1.0 / JCA 1.5 / JCA 1.6 - see the user guide.

No, org.jboss.resource.deployment.DummyResourceAdapter is not supported by IronJacamar.

Yes, you can use the code generator to generate a skeleton for all versions of the Java EE Connector Architecture specification.

HTH
Reply all
Reply to author
Forward
0 new messages