GlassFish is the reference Java EE application server.

learn more…| top users | synonyms

2
votes
0answers
35 views

Remote Glassfish JMS lookup

I want to connect to my Glassfish Server at XX.XX.XX.XX:XXXX which is running on a ubuntu machine on our Server.I want to send messages and then receive them.My Receiver looks like this:...
1
vote
5answers
5k views

org.glassfish.json.JsonStringImpl cannot be cast to javax.json.JsonArray

I have this piece of code:JsonObject fg=null;try{fg=message.getJson(); //gettng the JSON object from the clientSystem.out.println("JSONGOBJECT IS HERE: "+fg);JsonArray ...
0
votes
0answers
14 views

Lookup failed for Remote ejb method

When I execute my entreprise project, I get the below exception, i use glassfish 4, i searched in https://docs.oracle.com/javaee/6/tutorial/doc/gipjf.html and i found that the mappedName should be ...
0
votes
0answers
11 views

Loading DLLs with JNA on Glassfish

I'm having issues deploying a servlet. The servlet uses JNA to load some DLLs, which are placed inside the classpath com.myproject..etc. (e.g. "my_dll.dll"):public static final MyDllInterface ...
1
vote
4answers
8k views

No unique bean of type [javax.persistence.EntityManagerFactory] is defined: expected single bean but found 0

Can someone tell me what's wrong with my config? I'm overly frustrated and I've been loosing my hair on this. Any pointer will be welcome. ThanksPersistence.xml<?xml version="1.0" encoding=...
1
vote
3answers
2k views

EJB Timer Service is not available, undeployment failed for context

I have the following code:package ejbs;import javax.annotation.Resource;import javax.ejb.Singleton;import javax.ejb.Timeout;import javax.ejb.Timer;import javax.ejb.TimerConfig;import javax....
-1
votes
1answer
22 views

Deploy an app in Payara using existing database in MSSQL

I am totally new to Payara and I have question about how can I deploy an app which uses existing database? So I have .war file and .bak file (MSSQL backup).Thanks a lot.
0
votes
0answers
18 views

Glassfish won't start version 3 and 4

I still having the same problem with glassfish !! I've changed the port and executed the command as admin but it doesn't work..I also tried the command : asadmin start-domain --verbose domain1I ...
0
votes
0answers
13 views

Java Web deploy on Glassfish, 404 error

Hi i'm having a problem on deploying my Web project to glassfish server. Im using Netbeans 8.2 for my Web Project, and I have downloaded Glassfish 5.0. Here's the steps I did on deploying the project ...
0
votes
0answers
14 views

Error deploying JSF Project in Glassfish - java.lang.NoSuchFieldError: fFeatures

I'm dispairing with this error and hope you can help me. I'm trying to deploy a JSF Project to a Glassfish Server and receive this ERROR: Error occurred during deployment: Exception while loading ...
2
votes
0answers
19 views

Unable to get CDI and JAX-RS to work together in Glassfish

I have to deploy a project that was working successfully in Wildfly to Glassfish. Everything worked fine except for dependency injection of an object in ResponseFilter. The object is Produced in the ...
0
votes
0answers
7 views

Glassfish connecting to Server, but wrong port number

I'm trying to connect to the glassfish server. It's telling that it has connected successfully, but the port number is -1, and I am unable to see the log file. How do I connect to the default 4848, ...
25
votes
6answers
27k views

Encoded slash (%2F) with Spring RequestMapping path param gives HTTP 400

This is not a duplicate referenced question, because it is Spring specific. Whoever added that (3 years after the fact!) didn't bother to read the question or comment thread to see what the real ...
7
votes
4answers
29k views

index.jsp default in Java EE project in Netbeans, where?

I create a simple web application in Netbeans, named WebApplication1. There is a file created, named index.jsp. When I run the app, browser goes to index.jsp. Nowhere in the project it's mentioned as ...
0
votes
2answers
2k views

Angularjs application hosting on J2EE servers instead of Node.js server

First of all, I'm very new to AngularJS please let me know if this is a valid scenario.For studying purposes, I'm developing test applications on Node.js server which I downloaded from http://...
1
vote
1answer
261 views

Issue using Glassfish 4.1.2 on Intellij 2017.2.4

I'm using jdk 8, i've set up glassfish as shown here , but when i run it i have Detected server admin port: 4848Detected server http port: 8080GlassFish requires Java SE version 6. Your JDK is ...
0
votes
0answers
13 views

Cannot launch the integration tests on glassfish server using Jenkins

I am blocked at the step of performing integration tests i.e; before launching integration tests I have to deploy my war file to glassfish server.Thus initially i tried using the following ...
1
vote
0answers
22 views

Weblogic wls-wsat component in Payara: CVE-2017-10271

Question: I thought Weblogic and GlassFish / Payara are completely different servers and do not share any common code/component. How come I reached a Weblogic CVE when using Payara?Configuration: ...
0
votes
0answers
27 views

GlassFish start-domain failed - Cannot launch my app in IntelliJ

I've a problem ! I couldn't found the answer. I hope you could help me.I've installed GlassFish 4.1.2 and I've tried to test if it will work with this command line : asadmin start-domain domain1 ...
3
votes
2answers
12k views

unable to open web service tester page with jdk8 and netbeans 8

I wrote a simple web service program but I can not test it on glassfish 4.0 web server .When I Test Web service I see this message : Make sure the service has been deployed successfully, and the ...
-3
votes
2answers
257 views

“unable to connect” to java web application on glassfish 4 server using google cloud computing

Problem:when I try to load my java web applicaton that resides on a glassfish 4 server from a remote web browser, i get the "problem loading ..." "unable to connect" page showing up in my browser....
0
votes
0answers
15 views

Problems picking up context-root from glassfish-web.xml using external glassfish service (Docker)

Recently I have dockerized the Glassfish server JDK for my Java application which is up and running from Netbeans. However, when deploying the EAR file from Netbeans using the external glassfish ...
0
votes
1answer
25 views

GlassFish cannot be installed in Eclipse

Tried to install glassfish4 server in eclipse oxygen. Everything is ok except that it cannot recognize the jdk. Its saying JDK required instead of JRE. I have given the right path of my JDK, but still ...
1
vote
0answers
24 views

Glassfish 5, Grave: Exception during lifecycle processing org.glassfish.deployment.common.DeploymentException

he tried to start a jsf application on a glassfish 5.0 server with java 8, but now I try to start the program and this error occurs, I have tried several things even adding some jersey libraries. I do ...
-1
votes
0answers
34 views

During form-based authentication login, Faces Servlet throws java.lang.NumberFormatException: For input string: “@”

I have a JSF 2.2 + PrimeFaces 6.0 + Hibernate 5.2.2.Final web application that uses form-based authentication for login. I have configured everything related to the database connection and security in ...
0
votes
1answer
77 views

Cast exception after deploying to glassfish

I have deployed my application that runs on weblogic server to glassfish. When I try to send data to my service I get internal server error.It fails here:java.lang.ClassCastException: com.sun.gjc....
0
votes
0answers
29 views

JVM Tuning Garbage Collection

We have an application on Glassfish server that need an important amount of ressources, so while monitoring the JVM we noticed that the BIG GC start only when there are no more available memory on the ...
0
votes
1answer
28 views

Gradle initialization removes external libraries

I create a new project.New project > Java Enterprise > Web Application and select JSF, choose my GlassFish installation.When i press the play button it works (white page with "Hello world"). But I ...
0
votes
2answers
39 views

GlassFish installation - Java Location Error

I'm using Eclipse Java EE IDE for Web Developers Version: Oxygen.2 Release (4.7.2)When I want to create new server in Eclipse, first I did download it from Eclipse Marketplace. After rebooting ...
0
votes
1answer
59 views

Java Jersey REST NoSuchMethodError: XMLUnmarshaller

I create a small REST API and I have problem with POST method where consume and produce MediaType.APPLICATION_JSON. When I send POST server (GlassFish 4.1.1) returns the status code 500 Internal ...
0
votes
0answers
23 views

embedded glassfish connection timeout JTA Datasource

I'm trying to setup a JTA datasource for an embedded glassfish server but I continuously run into a connection timeout problem:Here's the Stack TraceSEVERE: Critical error during deployment:com....
1
vote
1answer
39 views

Vaadin “Cookies Disabled” Message in Chrome

I created a Vaadin (8.2.0) web app in Netbeans and uploaded it on a Glassfish (4.1) server. I can access the app's home page in Edge and Firefox, however in Chrome I get this message:Cookies ...
0
votes
1answer
4k views

Connection pool opens more connections then maximum pool size

Hey I'm using Glassfish open source v4 and I'm having a weird problem.I have defined a JDBC connection pool to Oracle 11g in the admin console and I've set :Pool SettingsInitial and Minimum Pool ...
0
votes
1answer
39 views

Domain glassfish requires authentication with the realm 'dolmen'

In my work I give support to users, and the following problem has been sent to me.Logs Jenkins: (Automated tests that run in the night)[HttpAuthenticationRequestFilter$UPDCredentialsProvider] ...
0
votes
0answers
12 views

Error from glassfish 2 to Glassfish 3

I have updated the glassfish server from version 2.1 to 3 and try to deploy one of my applications and the following error appears.What is the error? Grave: Class [ Lorg/jboss/seam/log/Log; ] not ...
0
votes
0answers
17 views

I want to override a library present in glassfish but not the right version [closed]

I have a maven based application that is to be deployed on glassfish 4. Actually, il have an library on my pom but when the application is deployed, the version of library used is the one which is ...
3
votes
1answer
12k views

How to implement basic authentication with Glassfish?

I'm tried this configuration but it didn't work for me. Basic Authentication in Glassfish I also tried this guide http://maksim.sorokin.dk/it/2010/10/13/basic-authentication-in-glassfish-3/ but I ...
0
votes
1answer
31 views

How to bring SOAP capability to payara/micro in EJB project

I have an EJB project providing webservices (both SOAP and REST) running inside a container with payara/micro as base image, since payara/micro does not come with JAXWS(SOAP support) feature out of ...
0
votes
0answers
26 views

Glassfish / Payara How to redirect https to https://www?

I have an SSL certificate to protect the domain: www.domain_name.com and I need to redirect the traffic https://domain_name.com to https://www.domain_name.com. How can I do it?I'm Using Payara ...
0
votes
1answer
352 views

Connection pool detection

I am creating an application in java using glassfish server in netbeans. I've created connection pool and data source for sql query execution. I have created a sample jsp page to check the transection ...
-1
votes
1answer
40 views

Using JSF for microservice based UI composition from different remote servers

I am currently working on a project where we try to slice a monolitic 3-Layer Web application into different microservices.The web server is glassfish and frontend is based on JSF (templating etc)....
5
votes
2answers
4k views

java.lang.NoClassDefFoundError: org/glassfish/jersey/internal/inject/Binder when started Tomcat Server

I am building REST API in Java with Jersey and Maven. I used Tomcat 9 as my server. Everything works fine until I tried to install RestAssured, Hamcrest, and JUnit today. Suddenly all of my endpoints ...
9
votes
0answers
5k views

WebSocket Error during Handshake Unexpected code 200

I have been using Glassfish 4 as my server.I am opening a WebSocket connect using this statement:webSocket=new WebSocket(link);where link='ws://localhost:8080/CollabEdit/Document/...
0
votes
1answer
28 views

migrate glassfish JEE8 weapp to Wildfly10 (Jboss) - eclipseLink dont create database tables

I'm installing a open source project on jee8 security example in wildfly 10, because its working only in glassfish.My project source is there:https://github.com/robyp1/javaee8sec/You can find ...
0
votes
1answer
31 views

btrace with glassfish web container

Recently I use BTrace to check exceptions that are thrown inside glassfish VM.I use script:@BTrace public class OnThrow { // store current exception in a thread local// variable (@TLS ...
0
votes
2answers
9k views

Netbeans and glassfish HTTP ERROR 404

I need your help. I had made a source code for a web appl but I have this error when I click on the "add" submit button and I have the same error on the others submit button. My source code is :...
0
votes
1answer
20 views

Nullpointer when I startup GlassFish server

As I say,I first use this server and accord to the read me file,it just said open CMD,type some commands,but I got Nullpointer.I need someone helps.I am in windowsasadmin start-domainException in ...
33
votes
7answers
106k views

org.glassfish.jersey.servlet.ServletContainer ClassNotFoundException

I have been getting a ClassNotFoundException with org.glassfish.jersey.servlet.ServletContainer but it peculiarly started last night when I tried to start/re-start my Tomcat server (v7) with Eclipse ...
0
votes
0answers
11 views

glassfish 5 Application Client configuration

Does anyone know the configuration for glasshfish 5 application client config?set AS_IMQ_LIB=..\..\mq\libset AS_IMQ_BIN=..\..\mq\binset AS_CONFIG=..\configset AS_INSTALL=..set ...
2
votes
2answers
964 views

Payara/GlashFish won't start in NetBeans

I'm running Mac OS. I've set up the Payara server with NetBeans. And when I'll try to run the server it never shows the green 'dot' that indicates its online status, instead it shows the 'loading' dot ...

153050per page
angop.ao, elkhabar.com, noa.al, afghanpaper.com, bbc.com, time.com, cdc.gov, nih.gov, xnxx.com, github.com,