Questions tagged [glassfish-4]

Fourth version of the popular Java EE open source application server and the reference implementation of the Java EE 7.

Java EE 7 brings the new versions of the many Java enterprise and Web technologies, such as EJB 3.2, JMS 2.0, JPA 2.1, Servlet 3.1 etc. GlassFish is an open source server that represents a reference implementation of Java EE standard. In its fourth version, GlassFish offers the complete Java EE 7 (JSR-342) platform. It is a first certified application server that fully supports Java EE 7.

This tag is for questions specific to version 4. For generall questions to GlassFish see:

908 questions
0
votes
1 answer

eclipse Oxygen 2 "Console" blank

I have been having an issue with eclipse oxygen, as I am trying to develop JAVA EE program, it appears that the console is always blank and not responding. I am using server GlassFish 4.1.0 to connect. Console view is always blank, I have tried to…
Haitham
  • 33
  • 6
0
votes
1 answer

Deploy more instances of the same MDB

We have an application that writes messages to a Queue (not a topic). Another application (a cluster with two nodes) reads the messages from the queue via Message Driven Beans. All applications are deployed on Glassfish 4 servers. We are currently…
pixie
  • 507
  • 9
  • 21
0
votes
2 answers

PreDestroy exception while deploying app to glassfish 4.1.2

PreDestroy exception while deploying app Environment Details GlassFish 4.1.2 full platform: JDK version: 1.8.0_171 OS: macOS 10.13.4 Database: H2 in memory Problem Description Deploying war file to glassfish results in the exception The…
0
votes
0 answers

java.lang.ClassFormatError: Field "XMLString" ... has illegal signature "V"

When I try to deploy my war file on Glassfish 4.0 I am getting following error and deployment is failing. Please note that, Java version for Glassfish 4.0 and my Netbeans environment is same (jdk1.8.0_162). Not sure why I am getting this error. Same…
Sudhakar Chavali
  • 809
  • 2
  • 14
  • 32
0
votes
1 answer

Two Windows Server Session using the same Glassfish Server

I'm deploying an application on Glassfish Server on a Windows10 machine via a remote Desktop connection. What would happen if another user deploys another version of the application on the same Glassfish Server ( the same port obviously) while the…
GhadaST
  • 1
  • 2
0
votes
0 answers

How to prevent 404 errors on glassfish4

My application is running on glassfish4 and I keep getting 404 errors. When I restart glassfish, the problem is resolved. How can I figure out why I'm getting 404 errors?
Sri
  • 1
0
votes
1 answer

Using Multiple ResultSet in JSP

I'm pretty new with JSP. I am trying to select 2 sql statements to produce 2 separate tables. I could successfully select 1 table,but when i tried 2 tables i can't get it to run. What I did was. setting up my connection: <% String driverName =…
mach413
  • 1
  • 1
0
votes
1 answer

Check Glassfish version on domain folder

I've tried to check one way to discover the version of the glassfish server checking the domain folder but I didn't find it. I didn't find the version in domain.xml or another file. I know we can use "asadmin version" command to check the version,…
0
votes
1 answer

GlassFish - "asadmin create-service --name domain1" error

I downloaded glassFish 4.1.1. Extract it. Open cmd, and go to extracted glassfish's bin directory. Wrote this line "asadmin create-service --name domain1". I already did this before and I don't remember any error. I just format this PC and want to…
Joseph Reyes
  • 69
  • 1
  • 3
  • 10
0
votes
1 answer

Glassfish 4.1.2 JVM failed to start exit code 127

I'm working with glassfish4 server and now I'm facing problem when installing glassfish4 on server. I usually use asadmin start-domain domain1 to start glassfish domain, and the error: JVM failed to start:…
Nam Tran
  • 643
  • 4
  • 14
0
votes
0 answers

Failed to read schema document 'xjc.xsd' - GlassFish 4

So I started to learn some web services. When I try to run a test from the admin web page i get thiserror: I`m using GlassFish 4, jdk1.8.0_144, and Eclipse Oxigen.2 The console log : 2018-01-30T22:18:20.043+0200|Info: Invoking wsimport with…
gizetoN
  • 15
  • 3
  • 10
0
votes
1 answer

How to solve IllegalStateException while loading the restful webapp in glassfish?

I am trying to create a basic Hello world app using this link. I have created everything as asked but I am getting below error: Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start:…
Samuel
  • 1,128
  • 4
  • 14
  • 34
0
votes
1 answer

Glassfish 4.1.1 - alternatedocroot_1

Is it still possible to serve files from an external folder with Glassfish 4 and the alternatedocroot_n property? In my web.xml file I have : alternatedocroot_1 from=images/*…
Pierre
  • 4,976
  • 12
  • 54
  • 76
0
votes
3 answers

Importing SSL certificates in Glassfish Application Server

I am trying to enable SSL on a project on Netbeans IDE and using Glassfish application Server. For the SSL; i followed the procedure below. Generated a keystore > keytool -genkey -alias client_keystore -keyalg RSA -keystore client_keystore.jks…
user6721269
0
votes
1 answer

In a RESTful service : org.eclipse.persistence.exceptions.DatabaseException (Table/View does not exist)

I have been trying to create my first RESTful execrcise using. At first I faced error JDBC resource does not exist, I have created JDBC resource, JDBC connection pool that matches glassfish-resources.xml . Now I encounter a different issue : …
sql_dummy
  • 715
  • 8
  • 23