Questions tagged [glassfish]

GlassFish is the reference Java EE application server.

0
votes
0answers
13 views

Glassifish Deployment

I am trying to deploy war file on glassfish server. I am facing below issue and deployment got failed.Glassfish server log:Exception while invoking class org.glassfish.ejb.startup.EjbApplication ...
0
votes
0answers
20 views

SOLVED - Persistent error : http status 503

Here's the scenario: At work, for a glassfish server, i'm having a persistent error http status 503, whenever I test a specific wsdl (corresponding to a specific glassfish module), in a web browser....
-1
votes
1answer
89 views

How to add glassfish tools to eclipse oxygen 3a

I downloaded Eclipse Oxygen but i don't get glassfish tools installed in this IDE.It's a Oxygen 3A 64 bit running on a JDK 8 Update 172.When i try to install the tools via Marketplace it states ...
0
votes
0answers
23 views

Spring Boot and GlassFish

I actually have a spring boot application that i deployed on glassfish server 5.0 .The probleme is that the jsp pages are not showing when i type the link.I correctly configured the main class:@...
0
votes
1answer
20 views

Issue connecting to Heroku PostgreSQL from local GlassFish

I am trying to get a JDBC connection pool and resource setup in a local GlassFish server to connect to a Heroku PostgreSQL instance.I have tried it in Tomcat setup as a resource and it works ok, but ...
0
votes
1answer
19 views

payara server hosted eclipselink dates are being read from postgres an hour early

I am attempting to read a Timestamp value from a postgres database.I have tried various mappings, at the moment I am using the following mapping:@Column(name="Anlagedatum")private Timestamp ...
0
votes
0answers
12 views

Glassfish Internal Server Error javax.servlet.ServletException: java.lang.NullPointerException only when Availability Enabled

I am trying to run a web application in Glassfish 4.1 in macOS that only runs a jsp showing the Session Id through a cluster with 2 instances to confirm that they both have the same Id.But if I ...
0
votes
0answers
8 views

Remote debugging in Glassfish using Intellij

I am trying to remote debug an application using in GlassFish.I have added the configurations for the GlassFish server and in the debug tab I get the following line : -agentlib:jdwp=transport=...
1
vote
0answers
37 views

Starting a payara 5 has encountered

I have build a very simple project of hello world in Payara 5 (5.181)JSF 2.3JDK 1.8CDI 2.0Maven and encountered a problem Unable to start server due following issues: Launch ...
0
votes
1answer
19 views

glassfish 5.0 not start

This is my codeimport javax.websocket.OnMessage;import javax.websocket.server.ServerEndpoint;@ServerEndpoint("/echo")public class EchoServer {@OnMessagepublic String echo(String ...
0
votes
1answer
49 views

Can't install glassfish server in eclipse oxygen

Hi I am using Eclipse Oxygen in Ubuntu 18.4 with Oracle Java 10. I tried to install glassfish server in Eclipse but failed. every time I tried it said java development kit is required instead of JRE. ...
0
votes
0answers
22 views

Connecting to mysql within Glassfish

My goal is to run php on glassfish server. I installed Quercus and deployed it as an application within glassfish under (C:\glassfish4\glassfish\domains\domain1\applications\Quercus). Now I try to ...
0
votes
1answer
30 views

Configure Oracle MySQL Cloud Service in Glassfish 5

Am trying to setup JDBC Datasource in Glassfish Admin Console as demonstrated here - https://javatutorial.net/configure-glassfish-mysqlBut am seeing the below error upon trying to ping from ...
1
vote
1answer
33 views

Why Glassfish 3.1 on CentOs 6 can't serve port 80?

I have set my firewall setting for port 80, 8080, 4848.If on Glassfish I active listener for 80 it can't start and throws an error:Permission denied: 80=com.sun.enterprise.v3.services...
0
votes
1answer
15 views

Unable to deploy a war to Payara/Glassfish.A snippet of the log file below

This is a snippet of the log showing the stack trace[2018-06-07T09:51:51.609+0200] [Payara 4.1] [SEVERE] [AS-WEB-CORE-00174] [javax.enterprise.web.core] [tid: _ThreadID=49 _ThreadName=admin-thread-...
0
votes
1answer
16 views

Port is not being redirected when it is active from 8080 to 80

I am using glassfish and apache2 server I've used below commands1) sudo iptables -A INPUT -i enp1s0 -p tcp --dport 80 -j ACCEPT2) sudo iptables -A INPUT -i enp1s0 -p tcp --dport 8080 -j ACCEPT3) ...
0
votes
0answers
13 views

Background processing in Glassfish

There are many questions and answers about this: how to run long-running "standalone" processes in the context/confines of a J2EE server.In my case I am asking specifically about Glassfish:Self-...
0
votes
0answers
10 views

Ansible Glassfish domain [duplicate]

I'm trying to restart glassfish domain with ansible using command module: - name: Stop Glassfishcommand: /opt/glassfish3/glassfish/bin/asadmin stop-domain domain1 - name: Start ...
0
votes
1answer
17 views

How to display maintenance page my web app is undeployed, Using redirect request to another port

In a web app using java, I want to display one page that say application is under construction, though the app is undeployed, want to redirect request from 8080 to 80
0
votes
0answers
20 views

HTTPS Connection with Java and Glassfishv4

I have created a Servlet and existing Glassfishv4 instance (domain1).On "http-listener-2" is tls and ssl enabled. Now I want to create a private key and self-signed certificate and save it in my ...
0
votes
0answers
26 views

Error while using Mulesoft Marketo Connector - Get Import Warning file

I am using MuleSoft Marketo Connector (Marketo Connector )for some data manipulations in Marketo. Marketo connector exposes a Get Import Warning file which is supposed to get a CSV file with the ...
2
votes
1answer
54 views

Why json is parsed diffrently on diffrent application environments?

I have json object in java, which I return to browser using obj.toString(). response.setContentType("application/json") is setting return type to json. example:obj={name: "pp",age: 24}...
0
votes
1answer
25 views

Glassfish application URL with ID

I am trying to deploy an application in Glassfish 5.0Everything goes well, except, my application URL is appended with some sort of ID.E.g.: It should be like this: http://localhost:8080/AppName/...
0
votes
0answers
19 views

Handshake error when connecting to Rest API from Glassfish

I'm desperately trying to connect to this API service from a glass fish server, however I am stuck at the handshake_failure, anyone please help. My code is the following:import java.io....
0
votes
1answer
27 views

Restful with ejb

I want to create Restful application with ejb, so I create db.jar and restful.war.In db.jar I have:@Remote public interface DBManagerRemoteAnd in restful.war I have:@EJB private ...
1
vote
1answer
80 views

Spring Boot Security throws 401 Authentication error on API calls even if credentials are true

I'm developing a single page application with Spring Boot & React using JWT Authentication. I've used the Embedded Tomcat from spring-boot-starter-tomcat during development and configured & ...
1
vote
0answers
58 views

“HTTP 403 forbidden” with Jersey 2.2 in GlassFish 4.1.2

I have an issue with GlassFish using IntellJ IDEA. Using in that environment Jersey library and restful architecture, when I try to verify CRUD's operation, I don't find issues with GET and POST. ...
0
votes
1answer
23 views

Web app works fine in Eclipse with Glassfish 4.1 but not when deployed to Tomcat 9

I have followed instructions from http://zetcode.com/java/ejb/ to create a simple web app. It runs fine with eclipse, where it uses Glassfish server 4.1. To deploy to Tomcat, I simply copied the war ...
0
votes
1answer
18 views

Warnings when running my web app with Glassfish 4.1.1 in Netbeans

I have tried many things that I've found here or in other pages but it won't work for me... This is the warnings (advertencias) I get when trying to run my web app:Launching GlassFish on Felix ...
0
votes
0answers
68 views
+50

wrong number of arguments in netbans / glassfish

I'm getting a very hard to trace error in glassfish 5.This error is thrown sometimes when a request is made. Sometimes because I can do one of the followings to fix it (depends on the day and ...
0
votes
0answers
8 views

Backend application deployed on GlassFish, listen exclusively to localhost?

I have two applications deployed on GlassFish. The first one is a front-end and the second one is a back-end. The front-end should listen to 0.0.0.0 but the back-end should listen exclusively to ...
0
votes
0answers
8 views

Application deployed on GlassFish to listen only to localhost

I have several applications deployed on GlassFish and I need one of them to listen only to localhost. How could I do it? Thanks.
1
vote
1answer
47 views

Unable to run or deploy my project on glassfish

Info: envCtx=com.sun.enterprise.naming.impl.JavaURLContext@64125b84Info: envCtx >>>>>=java:comp/envInfo: 7777777777555 kkkkk55=Info: visiting unvisited referencesInfo: ...
0
votes
0answers
43 views

Setting up Glassfish Datasource issue

I spent a good part of my evening setting up a Glassfish 5.0.1 server configuring a JDBC Connection Pool and deploying an application. The issue I keep running into: Unable to Connect to JDBC ...
0
votes
0answers
49 views

Glassfish - Stopped writing to server.log

From time to time I notice that on some glassfish servers here at work they stop writing to the server.log file.I can solve the problem by restarting the servers, but I would like to understand what ...
0
votes
1answer
23 views

how to free the server cache in java ee programming

I made a java EE application using EJBs. But when I make changes by hand on the database(directly with de DBMS). It is only taken into account by the application when I redeploy the application. I ...
0
votes
0answers
13 views

Jax-ws autogenerated webService, SchemaValidation

I've stuck on problem:WebService on jax-ws, Glassfish 4.WebService generation based on wsdl file written in pom file with jaxws-maven-plugin. I'm trying to add schema validation on web service. I ...
0
votes
0answers
10 views

Glassfish issue with JaxbAnnotationIntrospector

Trying to create REST webservice from pattern (WSDL based) and so far I can't call any method due to a strange issue with JaxbAnnotationIntrospector. A few strings from the beginning of my glassfish ...
0
votes
1answer
59 views

Glassfish 5 Server's HTTPS Not Working “Out of the Box”

I am reading this tutorial page: https://javaee.github.io/tutorial/security-intro006.html Which explains that I should be able to view the SSL version of the home page (index.html) by going to the ...
0
votes
0answers
26 views

java.lang.NoClassDefFoundError: org/apache/tomcat/InstanceManager

I want to run my app on glassfish before that I deployed it on tomcat and it worked but now when Im trying to deploy it on glassfish Im getting this error Error invoking ...
1
vote
0answers
13 views

change connection method different to jdbc connection pools glassfish

My web application is connected to the database with the jdbc connection pool of glassfishwhen I upload the application to the cloud the application can not connect to the databaseenter image ...
0
votes
0answers
28 views

Glassfish application heap memory leak

I work with Java Spring web application running on Glassfish 5. After 4 days it stops working due to full heap memory. How to localize the problem?Here is an image that shows Application heap dump ...
0
votes
0answers
16 views

The table [CHEF] is not present in this descriptor

I am not sure where is the actual error but i am still getting same error which is shown below after so many tries,anyone please help me,will be thankful to youConsole:Exception Description: The ...
0
votes
0answers
38 views

NetBeans glassFish problems

I created web service based on WSDL file and defined all SOAP methods. Then I tried to create RESTfull service from patterns using the resource from previously created web service. As soon as I ...
0
votes
1answer
58 views

Eclipse Glassfish/Payara does not recognize my JDK

I am trying to create a new server in Eclipse using Glassfish but when I try to specify the path to my JDK Eclipse wont recognize it. I am getting the same error with Payara as well. I am currently ...
-1
votes
1answer
28 views

Error While Executing Applicaiton On Glassfish

I am getting this error while running application in eclipse. I have added dom4j jar also but it is giving me the same error again and again i.e. Class not found. I have mention the error below : ...
0
votes
0answers
13 views

Error With Maven Plug-In - Java EE Example - ClientMDBEntity - Get-Client-Stubs

I am trying to learn more about Java EE and am following a tutorial. The tutorial is located here: https://javaee.github.io/tutorial/jms-examples009.htmlThe source code for this example can be found ...
0
votes
1answer
17 views

How to debug JSPs in Netbeans and Glassfish

I have an enterprise application in netbeans with maven (4 projects) and I have java code in one of my JSP's (I know this is a bad practice) but I can't debug it, I mean, the debugger stops on java ...
0
votes
0answers
17 views

SQL Query works on my sql workbench but fails on Glassfish Server

I created a SQL query that returns a list of values, but when I load the webpage with the query in it it returns a "data is null" error. Why would the data be null if the SQL query is correct?
0
votes
0answers
12 views

Setting server buffer size on glassfish

I want to transfer up to 16MB large files through websockets. When I try to send a file greater than 3MB it gives me the following error: Warning: Unexpected error, closing connection.java.lang....

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