Community
See all
Members (1,166)
Arun Gupta's profile photo
Bruno Borges's profile photo
Markus Eisele's profile photo
Heather VanCura's profile photo
Lunang C's profile photo
chinmay sagade's profile photo
Marco Antonio Sanchez's profile photo
Alberto Gori's profile photo
Nuno Barrocas's profile photo
Sengottaiyan Mca's profile photo
Tomáš Čejka's profile photo
Mike Liaw's profile photo
Kissenlall Rambojun's profile photo
Lam N. DUONG's profile photo
Java Brains Tarun's profile photo
Cesar Hernandez's profile photo
Ravinath Fernando's profile photo
K. kahn's profile photo
David Archuleta's profile photo
Mick GRZ's profile photo
Luis patiño's profile photo
Kju Won's profile photo
Kacper Kaśków's profile photo
Vocal Chen's profile photo

Stream

Join this community to post or comment

Edilmar Alves

Discussion  - 
 
Hi,
I would like to know if it is possible to re-read config files (web.xml, ejb-jar.xml, persistence.xml, etc) without undeploy/deploy the app. I have a webapp used by many enterprises, where I just config a new database for each new enterprise, without to be necessary to change the Java code. The problem is that, for each new enterprise, I have to undeploy/deploy the app because config files are changed, mainly ejb-jar.xml and persistence.xml.
1
Dmitriy Porollo's profile photo
6 comments
 
Rebel supports CLI
Add a comment...

Edilmar Alves

Discussion  - 
 
Is it possible do restart the connection pools to databases without restart all the Glassfish Server? I have an environment with many databases/many webapps, and sometimes it is needed to restart some database server, but I didn't like to restart GF. The webapps uses Firebird, PostgreSQL or MySQL database servers.
1
Raymond Tant's profile photoEdilmar Alves's profile photo
12 comments
 
+Raymond Tant I thinks its better to test a specific table, because you may choose a table with little records
Add a comment...

Edilmar Alves

Discussion  - 
 
Hi, I have used GF 3.1.2.2 for many years and now I need to install a letsencrypt SSL certificate to secure my webapp. The webapp is running fine with a new keystores.jks file that I created with letsencrypt cert. But Admin Console doesn't log and server.log arises this error:

[#|2016-05-17T11:31:15.344-0400|SEVERE|glassfish3.1.2|org.glassfish.admingui|_ThreadID=72;_ThreadName=Thread-2;|javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target;
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target;
restRequest: endpoint=https://localhost:4848/management/domain/anonymous-user-enabled
attrs={}
method=GET|#]

What do I need to do to solve this?
I tried to reinstall GF, overwrite the keystore.jks after install, but this doesn't work too.
1
Edilmar Alves's profile photoRaymond Tant's profile photo
8 comments
 
+Edilmar Alves yes the instance will have to be restarted. That is why the SSL is usually on the front end reverse proxy.

Add a comment...

umar saeed

Discussion  - 
 
please anyone tell me how to solve the glassfish (https) ssl certificate problem?its weird because due to this my Android application not connecting with glassfish.
1
Raymond Tant's profile photo
11 comments
 
Did any of this help?

Add a comment...

cp7781

Discussion  - 
 
The JDBC Resources section of the GlassFish 4.1.1 Administration Console seems to be broken. Exceptions and error pages during the dialogs. Got the same experience?
1
Aleksandr Nazarenko's profile photo
 
Yes, I have the same error. But cli working normal.
Add a comment...
 
I need help with this problem
When I type asadmin I get "The system cannot find the path specified."

I'm using glassfish3 on Windows7 x64, I already installed jdk6

Please your help fiends
Thanks
1
Jason Lee's profile photoRaymond Tant's profile photo
2 comments
 
make sure your JAVA_HOME variables are set and c:\glassfish3\bin is in the PATH
Add a comment...

Vikas Malviya

Discussion  - 
 
Hey Hi to all the members. I am facing a problem with netbeans and glassfish server. I am trying to deploy my web application on a remote glassfish server from my laptop. I am getting this error "Starting of server GlassFish Server 4.0 College is not supported. Please, start the server manually."
I am using linux mint as my development machine and on remote machine windows 7 is the os. Netbeans 8.0.2, glassfish 4.0 is being used on both machines.
I have tried all the solutions found by googling but not able to resolve. Please help me. Thanks
1
Jennifer Sears's profile photoVikas Malviya's profile photo
3 comments
Add a comment...
 
Does anyone know why when I deploy an ear with some ejb modules and some web modules on Glassfish 4.1 I must redeploy from 3 to 10-15 times before the ear is correctly deployed ?

Here seems that the notion of bit is this: "a random number between 0 and 1 depending on the humidity, the pressure, the inclination of the notebook and so on..." :) :) :)

Sometime I receive:

javax.servlet.ServletException: org.glassfish.jersey.server.ContainerException: java.lang.NoClassDefFoundError: com/fasterxml/jackson/module/jaxb/JaxbAnnotationIntrospector
root cause
org.glassfish.jersey.server.ContainerException: java.lang.NoClassDefFoundError: com/fasterxml/jackson/module/jaxb/JaxbAnnotationIntrospector
root cause
java.lang.NoClassDefFoundError: com/fasterxml/jackson/module/jaxb/JaxbAnnotationIntrospector

Sometime the ear was correctly deployed...
1
Add a comment...

Ken Fogel

Discussion  - 
 
You can never have too many tutorials. Here is one on converting the NetBeans generated JPA controller class into one that can be used for EE 7 and GlassFish. http://netbeans.dzone.com/nb-class-glassfish-translating-jpa

My other tutorials on using GlassFish, JPA, MySQL and JSF can be found there as well.
1
Ken Fogel's profile photoJason Lee's profile photo
3 comments
 
OK. That makes perfect sense. Thanks again for the tutorial. :)
Add a comment...

Jürgen Kress

Discussion  - 
 
Finance and Investment Software on the NetBeans Platform by Brian Jenkins
1
Add a comment...

Jürgen Kress

Discussion  - 
 
Critical Patch Update Advisory includes WebLogic, Forms, Glassfish, Reports, WebCenter – January 2015
1
Add a comment...

About this community

GlassFish is an open source, production-ready, Java EE-compatible application server.
Core JAVA tutorial provides a high quality core JAVA concepts tutorial for beginners.Core JAVA tutorial explains for beginners core java concepts examples.
1
Add a comment...

Allen Peter

Discussion  - 
Training | Training in Noida, Delhi/NCR, Javatpoint offers best hadoop training, java training, sap training, php training, .net training, android training, oracle training, software testing training, python training, seo training, c training, c++ training, web designing training with live projects for ghaziabad, noida, delhi or ncr students.
1
Add a comment...

cp7781

Discussion  - 
 
At the moment I'm unable to access Derby databases, which have been created outside of the GlassFish 4.1 Administration Console. For example, if I want to create a connection pool, I need to declare the connectionAttributes = ";create=true" property and create a completely new database, which then can be used with tools like NetBeans. Maybe a driver conflict?
1
cp7781's profile photo
2 comments
cp7781
 
The property SecurityMechanism = 4 prevented successful authentication.
Add a comment...

Jürgen Kress

Discussion  - 
 
GlassFish Images on Docker Hub by Bruno Borges
2
1
Add a comment...
 
Hey guys... Does anyone know whatever happened to the FighterFish project?
I have this specially tuned OSGi container and would like to know if I can deploy Glassfish 4.1 inside it as OSGi bundles
1
Add a comment...

Jeff Brower

Discussion  - 
 
I have a new GoDaddy SSL Certificate that I cannot seem to get installed in Glassfish 3.  The one that expired was from GoDaddy, it would seem that I could just install it the same way, BUT NO!!!

I would appreciate ANY help in figuring this out - Google is not my friend here.  Loads of instructions and none of them seem to work.  Certainly one of the 784 members here has a GoDaddy Certificate that they have installed and working so am begging you -- please, please, please share.

GoDaddy says that “the GoDaddy G2 root certificate has not yet been added to the Oracle root certificate program” and that means that there is an additional step if you are using Glassfish - but they are not helpful at all and have zero support links for Glassfish on the site.
1
Philip Durbin's profile photo

Jürgen Kress

Discussion  - 
 
free Java & middleware trainings – Virtual Technology Summit available on-demand
1
Add a comment...

Jürgen Kress

Discussion  - 
 
Whats new in GlassFish 4.1? by C2B2
/
1
Add a comment...

Raymond Tant

Discussion  - 
 
Does anyone have experience turning on secure admin with different certificates than the 's1as' self signed one? I tried and broke my test environment. :-(
1
Add a comment...