I'm chasing a JSF bug that's occurring in QA but not locally. (Both servers are Glassfish.) It's been suggested that my local version of Mojarra may be newer than the one being used on QA, which would explain the behavior. How can I figure out which version of Mojarra a particular server is running? My access to the QA server is limited, but if I know precisely where to tell our QA guy to look, I should be able to get any information I need.
This information is printed in the server.log if you deploy any JSF project. It looks similar to this:
Information: Mojarra 2.2.6 ( 20140304-1537
https://svn.java.net/svn/mojarra~svn/tags/2.2.6#12949) for context
'/rest' is initialized.
Per default these Mojarra versions are included in the GlassFish versions:
GlassFish 3.1.1: Mojarra 2.1.3 (FCS b02)
GlassFish 3.1.2: Mojarra 2.1.6 (SNAPSHOT 20111206)
GlassFish 3.1.2.2: Mojarra 2.1.6 (SNAPSHOT 20111206)
GlassFish 4.0: Mojarra 2.2.0 ( 20130502-2118 https://svn.java.net/svn/mojarra~svn/tags/2.2.0#11930)
GlassFish 4.1: Mojarra 2.2.7 (20140610-1547 https://svn.java.net/svn/mojarra~svn/tags/2.2.7#13362)
Related
JRebel stopped reloading my app (even after redeploy) and it seems that my glassfish isn't on its list.
Any idea?
Edit: It says 5.0, but its a 5.1 glassfish version
Resolved my problem by adding -agentpath manually to JVM options (glassfish)
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.
Which version of payara or glassfish should I use with jdk 14?
I've already tried glassfish 5.1.0 and payara 5.201.
Both server support Jdk 11. There isn't clear information available about Jdk 14 yet.
Payara
Offical Reference
With much excitement from users, JDK 11 support has been in technical preview since 5.192.
Glassfish
Official Reference
GlassFish 6.0.0 will support JDK 11+. Support for JDK 8 is not a goal for GlassFish 6.0.0
Initially i was using Tomee 7.0.68 version to deploy and run the web application.
But I now onwards I need to use Apache-tomee-plume-1.7.6 for the same. But after deploy what I found is that, There is No log or work or extracted war files generated once I run the server.
My question is, Is there any difference between apache-tomee-plume-1.7.6 and Tomee 7 to deploy and run/debug the appication?
How can I use Apache-tomee-plume-1.7.6 server?
Thanks.
TomEE 7.x.x is compatible with Java EE7.
TomEE 1.7.x is Java EE6 certified version.
Current TomEE 8.x branch is a work in progress for JavaEE8 compatibility.
As of today, TomEE 8.0.0-M3 is available containing also MicroProfile compatibility.
https://tomee.apache.org/download-ng.html
I want to download Glassfish server version 3.1.2.15.
I have searched glassfish 3.1.2.15 in the web but could not find a link to download. If anyone can put a link to download glassfish 3.1.2.15. version it will be very helpful.
I look out in the below link but doesn't find glassfish server version 3.1.2.15
Glassfish Server 3.1 Nightly download
Glassfish Server 3.1 Promoted download
Glassfish Server 3.1 Release download
Thanks in advance.
The latest 3.1.2.x that you will be able to find is 3.1.2.2 which is the last open source edition of GlassFish 3.1.2. More recent versions are only available for Oracle GlassFish, which is not free to download, so you will need an Oracle support account to get hold of it.