-
1. Re: JVM 6 vs JVM 5
jbalunas.jbalunas.jboss.org Mar 5, 2008 3:47 PM (in response to enda)A few questions:
What version of seam are you using?
Did you build seam yourself or straight distribution?
I'm going to check the jars - but you can look in the manifest file of the jars and see what compiler was used to create it.
-Jay
-
2. Re: JVM 6 vs JVM 5
jbalunas.jbalunas.jboss.org Mar 5, 2008 3:53 PM (in response to enda)I just checked 2.0.1, and 2.1.0 distributions and both were built with JDK 1.5 so should not show this issue.
This issue should only show if a class/package is compiled using JDK 1.6 using the 1.5 flag.
Let me know what find?
Thanks,
-Jay -
3. Re: JVM 6 vs JVM 5
keithnaas Mar 5, 2008 4:25 PM (in response to enda)And JDK 6 support isn't done yet :)
-
4. Re: JVM 6 vs JVM 5
enda Mar 5, 2008 5:17 PM (in response to enda)Thank you for the answer
I am using seam 2.0.1.GA straight distribution.
I do not have problem on Java 6, but seam testing does not work on Java 6.
My all files that I am deploying on server has in manifest:Manifest-Version: 1.0 Ant-Version: Apache Ant 1.7.0 Created-By: 1.5.0_12-b04 (Sun Microsystems Inc.)
(Thanks for the advise with manifest info :D)
My server is JBoss AS 4.2.2
I am on gentoo workstation working normally on Java 6 but I can eselect on Java 5
So I am sure I am running on Java 5
10:08:17,533 INFO [ServerInfo] Java version: 1.5.0_12,Sun Microsystems Inc.
Thanks Tomas
-
5. Re: JVM 6 vs JVM 5
enda Mar 5, 2008 5:33 PM (in response to enda)Could it be some rotten jar in JBoss AS 4.2.2 server?
eg my default, fresh sevrer has in it this:
jboss-remoting.jar
ManifestBuild-By: brewbuilder Created-By: R27.1-109-73164-1,5,0_08-20061129-1418-liux-ia32 (BEA Systems, Inc.)
Got it
My Seam Application has:jboss-seam-remoting.jar,
jboss-seam-pdf.jar is build on Java-6 in manifestManifest-Version: 1.0 Ant-Version: Apache Ant 1.7.0 Created-By: 1.6.0_02-b05 (Sun Microsystems Inc.)
Actually almost all my libraries has
You know, now I am realizing that I probably downloaded seam 2.0.1.GA and build it (of course on Java 6)
I did not know that it builds the libraries?
I thought that it is taken from maven-repository?
Tomas
-
6. Re: JVM 6 vs JVM 5
jbalunas.jbalunas.jboss.org Mar 5, 2008 5:39 PM (in response to enda)Yeah - if you build the distribution it will certainly build the libs.
So that was the issue? If so I'm glad that's working for you now.
-Jay
-
7. Re: JVM 6 vs JVM 5
enda Mar 5, 2008 8:11 PM (in response to enda)Great problem fixed!
Thank you for help
Tomas