Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
22 views

Output Error: The module has not been deployed

Hi I am developing a NetBeans web project with the Glassfish server. I can bulid the project but i cant run the file due to an error, this is the error : Error after run this is the line that it ...
Alden Ling's user avatar
0 votes
0 answers
19 views

Question with Glassfish 4 - SSL Certificate

I have a problem, a certificate was recently generated for a Glassfish 4 server, currently the certificate is already imported into the Keystore. But when I write the alias in the listener, the page ...
Celso Javier's user avatar
0 votes
1 answer
56 views

How to fix running Glassfish (in Windows)?

I'm doing a project (in Eclipse) with GlassFish and it throws this error: GlassFish requires Java SE version 6. Your JDK is version 0. I ran the glassfish4/bin/asadmin start-domain command in a ...
Đức Chính's user avatar
0 votes
1 answer
54 views

Glassfish 4, Eclipse IDE 2019-03 - CustomRealm: AppservPasswordLoginModule cannot be resolved to a type

I would like to implement a Custom Realm by overriding the security classes but I'm getting an error: AppservPasswordLoginModule cannot be resolved to a type The import com.sun.appserv cannot be ...
Wilhelm Buchmann's user avatar
0 votes
1 answer
476 views

The server exited prematurely with exit code 1 GlassFish 4

I've been trying to start the glassfish server domain with the following command asadmin start-domain domain1 but the result wasn't the expected. This what the outputs is throwing out: Waiting for ...
Eduardojls's user avatar
-1 votes
1 answer
2k views

How to fix java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory [duplicate]

I have adf 1.2.2.1.4 application in glassfish 4.1 and my reports didn't work and show this error: i'm using jasper report 5.6.0 i have this jar : 1- jasperreports-5.6.0 2- jasperreports-chart-themes-5....
Mohamed.ha's user avatar
0 votes
1 answer
249 views

Why does the glassfish server only load a bean after it has been restarted?

When the rtu.smallview.xhtml action event is triggered it requests info from the java bean, from the database select and hands it back to the xhtml. The xhtml was not displaying the data from the ...
Ubernator's user avatar
  • 733
0 votes
1 answer
378 views

Glassfish4 : Waffle SSO Servlet Filter gives Basic auth login popup

I'm trying to implement SSO in my application (using Waffle's example) , where I have kept following jars in app server's lib : caffeine-2.8.4.jar jcl-over-slf4j-2.0.0-alpha1.jar jna-platform-5.5.0....
A W's user avatar
  • 1,119
0 votes
1 answer
324 views

java.lang.AbstractMethodError: org.jboss.resteasy.cdi.CdiPropertyInjector.inject(Ljava/lang/Object;)V

I have a web application using JSF 2.2, glassfish 4.1 and RestEasy 3.1.2. Everything works well on local host, but when I try to deploy the war file to aws elastic beanstalk, the application doesn't ...
Karegeya Jean Marie Vianney's user avatar
0 votes
0 answers
65 views

jax-rs & mvc: return view as string issue

I'm using javax.ws.rs-api and javax.mvc maven libraries to build an mvc restful web based app. but i cant return view.the preAdd method return view just as a simple string. it does'nt return actual ...
alex's user avatar
  • 7,825
0 votes
1 answer
336 views

deployment error occurred while uploading app file (ords.war) on glassfish3 server

I've just installed the glassfish server version 3 and I've uploaded the ords.war file to deploy it on the web server please if anyone have the answer leave it in the comment. Thanks in advance. ...
Mr.hill's user avatar
  • 11
4 votes
1 answer
331 views

javax.ejb.EJBException: Transaction aborted while inserting record to Derby db table using Entity Manager

hi i'm working on Java EE 7 web application everything works perfect but when i try to create Order which have Many-to-one relationship with two entities i.e. Car and Customer i have tried all other ...
weje's user avatar
  • 69
0 votes
1 answer
2k views

Packaging an Angular project as a webapp with Maven

Here's a bit of a strange question : I have an Angular project that talks to a Restful Java application. I was looking for help to package it as a Maven webapp project which can then generate/build a ...
javshak's user avatar
  • 319
0 votes
0 answers
1k views

Glassfish4: Exceptions because of Java9 module-info.class in WEB-INF/lib/jackson-*.jar inside war file?

I'd like to avoid getting javax.enterprise.system.tools.deployment.common: Exception while visiting module-info.class exceptions like the one below in my log file during Glassfish4 startup and ...
Peter V. Mørch's user avatar
0 votes
1 answer
350 views

org.apache.jasper.JasperException after deploying project on glassfish4

after deploying my JSP application on glassfish4 on Eclipse 4.16.0 (using jdk1.8.0_251) and publish it locally the server response is that: jasper exception my web.xml file is: <?xml version="...
M47714's user avatar
  • 1
1 vote
0 answers
825 views

log4j 2 used with Payara 4 does not create logs

I'm currently trying to use log4j 2 within an .ear that gets deployed in a Payara application server version 4.1.2. My problem is that nothing gets logged, neither in the console nor in a logfile. The ...
maertSi's user avatar
  • 11
1 vote
0 answers
174 views

EJB Remote JNDI lookup is not working for glassfish4 server hosted on aws ec2

I have an Ear with an Ejb deployed on a Glassfish server running on an ec2 instance on aws. I alsohave an aws RDS database that I want to use in my application. I have a local standalone client ...
Teodora Maria Ceanga's user avatar
0 votes
0 answers
1k views

Issues with Postgres connections pool on Payara/Glassfish

I run a JEE application on Payara 4.1 which uses PostgreSQL 9.5.8. The connection pool is configured in following way. <jdbc-resource poolName="<poolName>" jndiName="<jndiName>" ...
Marek Puchalski's user avatar
2 votes
1 answer
128 views

Is there a way to use NetBeans's deploy on save within local LAN (JAVA Servlet)

I am working on a Java servlet project using NetBeans. I am looking for a way to use NetBeans’s “deploy on save” on another browser of my device within LAN (locally its working fine) so that I don’t ...
Nibras Ar Rakib's user avatar
0 votes
0 answers
131 views

Problem with converting JSF1.2 applicationto JSF2.2 Glassfish deployment error: Exception while loading the app : CDI deployment failure:WELD-001408:

I am in the process of trying to convert a suite of applicationss from JSF1.2 to JSF2.2. I have successfully converted 2 but am having a problem with the third. When I try to deploy it to GlassFish 4....
user1539401's user avatar
1 vote
0 answers
285 views

Getting error java.lang.NoSuchFieldError: pBuffers

I'm trying to implement SSO (using waffle) in Glassfish 4 . I'm using following jars in Java + Glassfish (I have tweaked glassfish to use JNA 5.5): jna-5.5.0.jar jna-platform-5.5.0.jar waffle-jna-1.9....
A W's user avatar
  • 1,119
1 vote
0 answers
580 views

Nginx reverse proxy glassfish not serving resources properly

im setting up a proxy on a java ee webapp deployed on a glassfish server and want it to be accessible by a subdomain on Nginx but, still have resources not served and while clicking on any <h:...
chris dany's user avatar
0 votes
0 answers
110 views

glassfish 4.1 class org.springframework.beans.factory.BeanCreationException

please help, this is very confusing, I can't deploy my war file in glassfish (where previously it could) with an error message like this "https://localhost:4848/management/domain/applications/...
user3192954's user avatar
0 votes
1 answer
451 views

Error in deployment of application on glassfish4.1

When I deploy the war file in glassfish 4.1, the following exception is coming out Severe: Exception during lifecycle processing java.lang.Exception: java.lang.IllegalStateException: ...
S.M.V.A's user avatar
  • 470
0 votes
1 answer
300 views

Cannot create an initial context from a Swing client

Please see the code below: try { //InitialContext ic = new InitialContext(); Hashtable env = new Hashtable(); env.put(Context.INITIAL_CONTEXT_FACTORY, ...
w0051977's user avatar
  • 15.7k
0 votes
1 answer
183 views

How to pass around action outcome to jsf composition?

I have this JSF snippet which works fine. When the commandbutton is clicked it should reload the page by redirecting to itself. <p:dataTable value="#{fileModel.files}" var="file" ...
FuryFart's user avatar
  • 2,367
0 votes
1 answer
143 views

I have problem to connect me glassfish server from compute engine

i´m using ubuntu 18.04 lts in google compute engine and glassfish server running perfectly as seen in the following image: already configure a static ip to the gcp vm: and i remove the S so I can ...
Steven Colocho's user avatar
0 votes
1 answer
194 views

Ldap Authentication via Glassfish 4 gives forbidden access

When trying to login as a registered user in LDAP Server, wrong username or password redirect successfully to error page, However when they are correct it didn't grant the user the access with the ...
Emad Kerhily's user avatar
3 votes
6 answers
3k views

Intellij 2019.2: GlassFish requires Java SE version 6. Your JDK is version 0

I'm working with IntelliJ 2019.2 and cannot start the Glassfish Server 4.1.2 (Full Platform). I've found some solution proposals for this error, but none of them worked for me, e.g. this post or this ...
user avatar
0 votes
1 answer
574 views

Putting PHP code in the Glassfish docroot folder

Previously I used shared hosting, and the hosting company provided Apache Tomcat with PHP and MySQL. I have since switched to virtual private server hosting with Linux, so I can use a server of my ...
csharp's user avatar
  • 522
0 votes
1 answer
415 views

My spring-mvc application throws 'BeanCreationException: Error creating bean...'requestMappingHandlerAdapter'..' on glassfish 4.1 server

I am pretty new to spring and I am developing a Spring MVC|Hibernate|C3P0 based web app using NetBeans IDE.NetBeans came with glassfish 4.1.1 server and my app gets deployed successfully and works ...
Praveen Dass's user avatar
0 votes
1 answer
79 views

JavaEE how to upload file to glassfish4 server?

I am doing some java web applications using eclipse, and I host the .war file on glassfish4 server in other PC. I have written a jsp page, the jsp page needs the user to enter all kind of information ...
Reggie's user avatar
  • 49
0 votes
0 answers
102 views

RemoteInterface.jar does not exist on domain1/lib/applibs folder running EntAppClient on remote glassfish server

I'm following this tutorial: https://netbeans.org/kb/docs/javaee/entappclient.html Instead of running glassfish server on localhost, I have install a glassfish server on an virtual Ubuntu machine. I ...
Ricky Ricardo's user avatar
0 votes
1 answer
552 views

ORA-01461: can bind a LONG value

I'm setting up a test server and i get this problem ORA-01461: can bind a LONG value only for insert into a LONG column when i try execute Select from database, the error is when code call persist() ...
Luis Romero's user avatar
2 votes
0 answers
543 views

my project spring boot not deploy in glassfish 4.1

My problem arises in the deploy of glassfish and if execute springApplication the project execute good. my project does not deploy in glassfish, I add my build gradle and stscktrace: buildscript ...
Eduardo Medel Ramos's user avatar
0 votes
0 answers
477 views

Target Unreachable, identifier 'beanName' resolved to null

I have got a problem and i didnt find question anywhere. My index.xhtml page is : <?xml version='1.0' encoding='UTF-8' ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "...
osmanerol's user avatar
0 votes
2 answers
563 views

javax.mail does not want to send my mail from my web application but it send mail from my console app

First of all I use glassfish4 server. When I try to send an e-mail from my web test app I get an exception that usually says: javax.mail.MessagingException: Could not connect to SMTP host: mail....
Stu076's user avatar
  • 51
0 votes
0 answers
28 views

Strange behavior Netbeans,GlassFish Java EE 7

While I am developing Java EE application using GlassFish 4.2 and Netbeans 8.2, I faced many strange behaviors such as any Edit any code not reflected to the web although DoS and Cos are enabled in ...
Anas's user avatar
  • 678
-1 votes
1 answer
473 views

Out Of Memory Error even Heap Memory is not Completely Use

I am facing Out of memory error in java heap space I am using glassfish server for deployment of my maven based application, and Java JDK is 1.7. I have configured my glassfish server domain.xml ...
Cody at N-developer's user avatar
1 vote
2 answers
2k views

NetBeans + Glassfish --> NoSuchMethodError directExecutor()Ljava/util/concurrent/Executor

Below exception happens when using the api google-cloud-translate. I am developing a web application in NetBeans with application server Glassfish 4, JSF and bootfaces. Example code: public void ...
Sergio's user avatar
  • 11
0 votes
1 answer
42 views

PHPBB3 in GlassFish4

I'm trying to run PHPBB3 forums in Glassfish 4 using quercus 4.0.39 but I'm getting the error below error, i made test page contains <?php phpinfo(); ?> and worked fine ,I don't know anything ...
SShehab's user avatar
  • 1,041
0 votes
0 answers
505 views

MySQL driver not able to load using Netbeans-8.2/glassfish-4.1/linux-7.4

I am developing Restful WebService using NetBeans 8.2, Glassfish 4.1 on my Rhel-7.4 Linux OS, MySQL as my database. I am unable to load the MySQL driver. Using the services in NetBeans, I was able to ...
mcmattu's user avatar
  • 101
-1 votes
1 answer
63 views

Can glassfish 3 and glassfish 4 work together on same machine but for 2 different projects

Glassfish 3 was installed on my machine for one java project. Now I have to set up another java project using Glassfish 4. While deploying new project's EAR, I am getting below error. I have double ...
Sushant's user avatar
  • 145
1 vote
1 answer
2k views

This web container has not yet been started in Glassfish while deploying ADF app

I am not able to re-deploy my ADF application in glassfish. I am getting the exception "This web container has not yet been started". I have removed the old application. Also. I have restarted the ...
Rahul Gulwani's user avatar
0 votes
0 answers
91 views

namedNativeQuery binding not working with payara or Glassfish 4.1

Here is the environment setup and the important dependencies : Spring boot 1.5.6 dev Server tomcat 8 production Server Glassfish 4.1 org.hibernate.javax.persistence:hibernate-jpa-2.1-api:jar:1.0.0....
Toumi's user avatar
  • 3,115
0 votes
2 answers
963 views

Utf-8 text in javascript not showing properly when served by Glassfish

My script is saved in uft-8 encoded file: test.js function sayhi(){ alert('Γειά σου!') } In html file (also utf-8) I got : <html> <head> <script charset="utf-8" type=...
PKey's user avatar
  • 3,805
0 votes
1 answer
111 views

Unable to use Jenkins Blue Ocean in glassfish

I have deploy jenkins in glassfish 4 and my jenkins is working except for Blue Ocean.I see blank Blue Ocean Page. Stack trace java.lang.NoSuchMethodError: com.fasterxml.jackson.core.io....
Mukesh M's user avatar
  • 2,290
0 votes
0 answers
1k views

Cannot access webapp deployed in Docker container

I'm currently getting into Docker (or trying to), so I set up a little webapp. I used Eclipse to create a maven-Project, built a .war-file and deployed it (to check if it works) locally on a Glassfish ...
Flo's user avatar
  • 253
0 votes
1 answer
83 views

Google Compute Engine and Glassfish can't access from outside

I created an instance (CentOS7) in GCE. I then installed Glassfish 4. However, I can't seem to access it via http/https. [ank@instance-1 bin]$ sudo ./asadmin start-domain Waiting for domain1 to start ...
ads's user avatar
  • 1,713
0 votes
0 answers
587 views

Could not find or load main class Files.Microsoft while starting GlassFish 4.0

I am trying to start glassfish, but all the time get this error PS C:\glassfish4\bin> ./asadmin start-domain mydomain Waiting for mydomain to start .Error starting domain mydomain. The server ...
B.Misha's user avatar
  • 107

1
2 3 4 5
19