Most voted "glassfish" questions
Glassfish is an open source application server for the J2EE platform.
Learn more…84 questions
Sort by count of
-
15
votes1
answer37878
viewsXms, Xmx, XX:Maxpermsize, XX:Permsize - What’s the difference?
I need to improve the performance and availability of my Glassfish application server that from time to time causes the application to launch Outofmemory error. Searching the internet, I checked…
-
12
votes1
answer2480
viewsDifferences between Java application servers
I would like to know the main differences between Glassfish, Jboss and Apache Tomcat application servers. Is there any specific aspect I should check before choosing one to start development? Are…
-
7
votes1
answer2924
views -
5
votes1
answer201
viewsError when deploying lambda EJB project using glassfish 4
I have in my project two java files First.java. package br.com.bom; import javax.ejb.Stateless; @Stateless public class Primeiro { } Second java. package br.com.bom; import javax.ejb.Stateless;…
-
4
votes1
answer2823
viewsDifferences between glassfish 4.0 and Wildfly 8.0.0
1 - There is some difference in performance and/or usage complexity when comparing application servers: Glassfish 4.0 and Wildfly 8.0.0? 2 - Is there any specific situation where the use of 1(one)…
glassfishasked 10 years, 7 months ago klaytonbrito 491 -
4
votes2
answers538
viewsMaven project with Hibernate and Glassfish does not generate database
I have a Maven project and I’m having problems generating the database, I’m using Hibernate and Glassfish 4. No error is generated, just no data is generated, I’m new with Maven maybe I’m forgetting…
-
4
votes1
answer396
viewsXA transaction does not commit changes in procedures (intermittent)
I have an EJB Stateles that monitors files that fall into a folder. When a file arrives it is handled, a receiving event is recorded in a central database and the file is inserted into a target…
-
4
votes1
answer178
viewsError deploying application in Glassfish: org.objectweb.asm.ClassReader. <init> -> java.lang.Arrayindexoutofboundsexception
Questions Why Glassfish 3.1.2.2 runs ASM and this ASM fails to load the classes of my dependency? How do I get my application up? Why doesn’t it happen on other servers than with Glassfish 3.1.2?…
glassfishasked 7 years ago Jefferson Quesado 22,370 -
3
votes1
answer333
viewsWeb Service Testing with Arquillian
I’m doing a unit test class and I’m using Arquillian because of CDI, in this case I’m testing a Web Service for authentication of company users. Follows the source of the test class:…
-
3
votes1
answer225
viewsjavax.el - Implementation of Glassfish
There is a JSR-000341(Expression Language - EL) API in version 3.0.0. Maven dependency on the javax.el API: <dependency> <groupId>javax.el</groupId>…
-
3
votes2
answers551
viewsData source failed with JPA and Eclipselink
When I put for the persistence.xml use a JNDI Resource configured in Glassfish itself. But when it is to take from the file glassfish-resource.xml gives the following error: Information: [EL Info]:…
-
3
votes1
answer651
viewsGlassfish does not take root context from the application
EDIT Guys I managed to solve, I was missing point my application to my virtual server, thank you. I uploaded an application on the server today and glassfish is not taking the context of the…
-
3
votes1
answer87
viewsWhat dependencies do I need to add to the Glassfish folders?
Fala galera! I am using the Hibernate framework in my JSF project. On the computer I’m developing is all right, running though, when I try to deploy on the glassfish server on another machine starts…
-
3
votes1
answer1128
viewsHow to automatically create specific files via Maven to deploy from each container?
I am working on a rather complex JEE project, which involves the possibility of deploying the application to each client in a different container. In my development environment I use Jboss, but the…
-
3
votes1
answer181
viewsGlassfish installation error
Good morning SOF team! Can you help me with the installation I’m making of Glassfish4? It’s for a JSF course I’m taking. When I try to create an Environment server it gives this error: When I switch…
-
2
votes3
answers1547
viewsSave same object multiple times
Solution: setar id = null Code saved 10 times if running on the Tomcat server, but running on Glassfish only adds once. <?xml version="1.0" encoding="UTF-8"?> <persistence version="2.0"…
-
2
votes1
answer245
viewsProblem with Primefaces running glassfish
I am developing a Java Web application using Primefaces to run on the Glassfish server on a Windows Server 2008. When running on my notebook as localhost works perfectly. Then I deploy on the remote…
-
2
votes1
answer856
viewsError message in Glassfish
I’m using the Glassfish 3.1.2.2 along with the Netbeans 7.4 and I don’t know where you keep giving this information every time I start the server: INFO: The [admin] user of the 127.0.0.1 host does…
-
2
votes2
answers576
viewsAdd folder with images on the glassfish web server
Good afternoon, folks how do I leave a folder on my glassfish server with some pictures? Oh when I need to direct access that url.. Someone’s already done it?
-
2
votes1
answer530
viewsPersistence.xml and Eclipselink error in glassfish
Hello guys I’m with this problem after I migrated the project to another machine, I’m using Glassfish with Eclipselink in the database using Postgres 9.4 if anyone ever came across this error could…
-
2
votes1
answer153
viewsNew POOL connection in Glassfish is giving error
I’m trying to make a new Connection POOL on Glassfish, but when I try it on "Ping" it shows the following error: The configured properties: Someone can help us out?…
glassfishasked 8 years, 11 months ago Victor Hugo 330 -
2
votes1
answer1181
viewsJSF - java.lang.Illegalstateexception: This web container has not yet been Started
I’m developing a website in JSF but I’m new in Web and I don’t really understand how some things work. The site is a crud simple music and make calls to other applications in jar that are in the…
-
2
votes0
answers558
viewsjava.lang.Nosuchmethoderror: org.jboss.logging.Logger.debugf. Glassfish 4.1, Hibernate 5.2, Spring 4.3
I cannot upload an application to Glassfish 4.1. It seems to me that the problem is dependency org.jboss.logging I already added it to the project in version 3.3.0 but the error persists. The…
-
2
votes1
answer782
viewsI lost the Glassfish administrator password
I lost the password of the Glassfish admin account, how should I proceed? To update the password I need the old password, which I lost. It has to work directly on the files to reset?
glassfishasked 6 years, 8 months ago Tássio Auad 1,482 -
2
votes1
answer1810
viewsHow to capture parameter in form with enctype="Multipart/form-data"?
I’m having trouble capturing the parameters of an HTML form with enctype="Multipart/form-data", I can upload an image through the form, but I can’t capture text typed in the form. The form looks…
-
2
votes1
answer188
viewsError deploying to glassfish server
Project not Rada on server after deploy. glassfish 4.1 Project cdi, jsf, primefaces, jpa System error: WELD-000335: Context is already active java.lang.Illegalstateexception: WELD-000335: Context is…
-
2
votes2
answers1184
viewsproblem with daylight saving time and java applications on Ubuntu server 16.04
This weekend we had the change to summer time here in my region, I have some machines running Ubuntu server 16.04 with java applications. All of them with JBOSS, POSTGRES for one application and…
-
1
votes1
answer243
viewsCheck which Websocket sessions are inactive
How to check if a session is active, when the device that was connected to the Websocket server suddenly shut down? For in this situation, if I use the method Session.isOpen() the return is true. I…
-
1
votes0
answers118
viewsHibernate + Maven + Glassfish
I have a Maven Project, which uses Hibernate, and has all the dependencies ok. I’ve already created the connection pool in glassfish. The problem is that even the class mapped with the annotations…
-
1
votes0
answers114
viewsNetbeans + Glassfish
I am using Netbeans 8.0.2 and Glassfish 4.1. Every time I make any changes, in any class of my project, I can’t test it just by clicking on "Run Project (F6)", as I do in other projects that use…
-
1
votes3
answers490
viewsWhy not use an Application Container like Jboss when using Spring?
Whenever the use of Spring is discussed together with Jboss or other container, professionals tend to question why use a container of JEE applications. So I ask myself, why not use it? Would it be…
-
1
votes1
answer308
viewsDeployment of more than one . War in the root context of Glassfish
I have two applications that I need to deploy to Glassfish and I would like to know how to put both in the root context of the same Glassfish. I know that to put an application in root context, I…
-
1
votes1
answer981
viewsglassfish boot error in eclipse - asadmin path not found, bootstrap and without Domain
After a lot of unanswered searching, I come here asking for help. I use Eclipse Kepler and glashfish 3.1. What happens is that when I start the glassfish server, usually or by debug, the server…
-
1
votes2
answers439
viewsJAAS - request.isUserInRole always returning false
I am implementing a JAAS with only 2 types of users, one type will be an Administrator and another will be a Collaborator. Instead of creating separate directories for administrator and…
-
1
votes1
answer1481
viewsConfigure Spring applicationContext by taking advantage of other configuration files
I got the following hibernate.cfg.xml: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD//EN"…
-
1
votes0
answers270
viewsLibrary problems on the Jboss server
I’m having a strange problem, my application works perfectly in Netbeans but when climbing to the server the same is giving error, says that it does not find some libraries. I found it very strange…
-
1
votes0
answers80
viewsJava SOAP Web Service error in Glassfish
I have the following method in a SOAP Web Service running through Glassfish 4.1.1: @WebService(serviceName = "CalculatorWS") @Stateless() public class CalculatorWS { @WebMethod(operationName =…
-
1
votes1
answer434
viewsHow to modify the Glassfish port without starting it?
I need to modify the Glassfish port on the server without starting it, because I ended up installing another service that is making use of port 8080 and I can’t stop it to start Glassfish and go to…
glassfishasked 7 years, 5 months ago Tássio Auad 1,482 -
1
votes1
answer111
viewsHibernate Problem 4.3 with Glassfish 3.1
My application with Hibernate 4.3 wheel normally with Glassfish 4, installed together with the IDE NetBeans. However, the server where I need to deploy the application, has the Glassfish 3.1. On…
-
1
votes0
answers49
viewsError when Injecting DAO EJB
I have an EJB project built with JDK 7. Currently in production we use Glassfish-3.1 as an application server and we are trying to migrate it to Payara-4.1. We were able to upload the application…
-
1
votes1
answer171
viewsError integrating Spring 4 + Hibernate 5 + JPA 2 and Glassfish
I’m unable to start the Spring transaction, it’s some configuration I made wrong who can help me. follow the codes: java.lang.IllegalStateException: A JTA EntityManager cannot use getTransaction()…
-
1
votes1
answer1203
viewsWELD-001408: Unsatisfied dependencies for type Servicelocator with Qualifiers @Default
I’ve been trying for a while to implement a JAX-RS (Jersey) server with Datasource, already migrated from Tomcat to Glassfish, and now from Glassfish to Wildfly 11, but I’m having the error below…
-
1
votes0
answers89
viewsGlassfish integration with Eclipse Photon
Has anyone ever used glassfish with eclipse Photon? How to do integration? I’ve tried several ways and nothing. Does not install the glassfish plugin. I tested with the oxygen eclipse and also had…
-
1
votes1
answer777
viewsError Registered the JDBC driver [oracle.jdbc.driver.Oracledriver] but failed to unregister
I’m making a system Javaweb using jsp that’s on that topic: Doubt in database query, error in query, and in a database query, I came across a driver error that is just below. I use the IDE netbeans…
-
1
votes1
answer239
viewsWhy is null returned when accessing the managedBean resource?
I’m having problems accessing methods and attributes in a managedbean. I’m using JSF and the Glassfish server, I’ve already used an architecture similar to the one I’m using but on a Tomcat server.…
-
1
votes0
answers108
viewsError retrieving from Webservice
I’m trying to create a Webservice REST, but I’m having trouble returning the result. The moment Webservice returns the information, it sends the following error:…
-
1
votes0
answers92
viewsPersisisntece.xml configuration with Glassfish datasource
Next people I made 2 glassfish datasources!!!! Where the first is a fixed database!!! Follow picture: This datasource is working correctly !!! My second I do not pass the Database property because…
-
1
votes1
answer1978
viewsHow to upload a Spring Boot project to a Glassfish or Tomcat server
I can run the application normally by the main class with 'Tomcat Embedded' as dependency. However, when trying to run the application on some server the Eclipse IDE itself informs that the…
-
1
votes0
answers714
viewsError accessing Webcam.js - Error: Webcam is not Loaded yet
I’m getting this error while accessing Webcam.js Error: Webcam is not Loaded yet I’m already using secure connection plus error persists. I’m using Primefaces, the component photocam. Application…
-
0
votes1
answer462
viewsImage Servlet for JSF Project "Locking" the Application Server
I have the following code that provides my portal with the images that are in the database @Override protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException,…