I'm trying to learn to use glassfish for the first time. My IDE is netbeans and I've installed the glassfish plugin for netbeans. I opened up synaptics package manager and typed in glassfish. My choices were
I'm not su
We currently use Glassfish 3 and I really want to use Java 8. I tried upgrading to Glassfish 4, but I experienced two bugs in the Glassfish 4 code so I had to revert back to Glassfish 3. Will Glassfish 3 work with Java 8 or will I have to upgrade my application container?
Solution No, it won't be possible (at the moment, maybe a workaround will
I can not run Glassfish 5 after entering enable-secure-admin command. I have clear OS Ubutntu server 16.04, then I install java 8 and download glassfish server on zip file.
What could be the problem? Can someone faced with a similar problem.
glassfish@ubnt:~$ cd /home/glassfish
glassfish@ubnt:~$ unzip glassfish-5.0.zip
I need to access some images with this URL http://localhost:8080/static/img1.jpg
The images are in "/home/andrea/Documents", the application context is "/". I'm using GlassFish 4.1.1.
In the /WEB-INF directory of project I've got the following: (glassfish-web.xml)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glassfish-web-app PUBLIC
Do you know how Netbeans decides which filename to use for the application-scoped resources: sun-resources.xml or glassfish-resources.xml?
Is this name configurable or hard-coded?
As far as I understand GlassFish supports sun-resources.xml for backward compatibility. But according to "Application Deployment Guide" preferred filename is glassfish-r
When GreeterEJB builds as a JAR, it doesn't build with a libs folder for dependencies:
thufir@doge:~$ ll NetBeansProjects/GreeterEJB/dist/
drwxrwxr-x 2 thufir thufir 4096 Feb 25 14:34 ./
drwxrwxr-x 6 thufir thufir 4096 Feb 25 14:34 ../
-rw-rw-r-- 1 thufir thufir 2802 Feb 25 14:34 GreeterEJB.jar
I've been trying to integrate deploying java .war's in GlassFish V3 through Maven. While I have found a few plugins, none of them look to be very active:
Maven Glassfish Plugin
Eskato's Wordpress Blog on Maven
And I got the most information out of Eskato's Blog, it was written March 2008, so I don't know what the state of GlassFish Maven integ
I have a JSF 2.0 application running under GlassFish 3.1.1, and I wish to use the new FileUpload component in PrimeFaces 3.0.1, which requires that form data be encoded as multipart/form-data, as in:
<h:form id="quoteform" enctype="multipart/form-data">
However, as soon as I add the above enctype attribute to my form, it no longer works -
I'm having trouble starting Glassfish 3.1 on a newly setup Debian "Squeeze" server. This is a testing server that has been setup and the Glassfish installation was copied from a working server to this other server.
I tried running:
# ./asadmin start-domain
There is a process already using the admin port 4848 -- it probably is another instance of
What my question is all war files deployed in Glassfish are using same code base but with different database names , so libraries used in all war files are same.
1)Can Glassfish have shared lib folder similar to tomcat, if yes need steps.
Solution Glassfish has shared libraris too, just copy your libraries in one of following directories and res