Questions tagged [glassfish-4.1]

GlassFish 4.1 is a Java EE application server

GlassFish 4.1 is the reference implementation of Java EE 7, built by Oracle. It is open source and is the first release which supports Java 8.

242 questions
16
votes
3 answers

java.net.ConnectException: fail to connect to localhost/127.0.0.1(port 8080): connect failed:ECONNREFUSED….(Codename One App)

After build android application , I scanned the generated QRcode and install the application on galaxy s4 successfully. But when I try to do some search using the app I got the following exception: "java.net.ConnectException: fail to connect to…
Yahya-Imam Munir
  • 331
  • 1
  • 2
  • 8
11
votes
3 answers

java.lang.NoSuchMethodError: com.google.common.collect.FluentIterable.toList()Lcom/google/common/collect/ImmutableList;

I'm using the Google Guava library for tasks like sorting and filtering of a java.util.List in a Java EE 7 application. Given below an example of filtering a java.util.List based on a list of filters in a CDI bean. @Named @ViewScoped public…
Tiny
  • 24,933
  • 92
  • 299
  • 571
9
votes
1 answer

GlassFish 4.1 startup warnings: javax.ejb.PostActivate & javax.ejb.PrePassivate not found

Whenever I startup GlassFish 4.1, I get the following two warnings in my GlassFish log: WELD-001700: Interceptor annotation class javax.ejb.PostActivate not found, interception based on it is not enabled WELD-001700: Interceptor annotation class…
XDR
  • 3,457
  • 3
  • 23
  • 42
8
votes
1 answer

java.lang.NullPointerException at org.eclipse.persistence.platform.server.ServerPlatformUtils.createServerPlatform(ServerPlatformUtils.java)

EclipseLink 2.6.1 (final) throws the following exception upon deploying a Java EE application on GlassFish Server 4.1. This had not been happening prior to upgrading from 2.6.0. Warning: java.lang.NullPointerException at…
Tiny
  • 24,933
  • 92
  • 299
  • 571
7
votes
1 answer

Can we add security Realm to glassfish-resources

Hi I am currently using JDBC realm in Glassfish 4.1.1 for authentication, and I wonder if I can add the configuration of jdbc realm to glassfish-resources.xml, so that when migrate, I can just call asadmin add-resources glassfish-resources.xml…
Thang Pham
  • 35,825
  • 73
  • 192
  • 279
7
votes
6 answers

NoSuchMethodError: org.jboss.logging.Logger.debugf

I'm trying to make a stack Spring + Spring Data + Log4J2 work. Unfortunately, when deploying the artefact on My Glassfish 4.1 Server, the following error occurs : org.springframework.beans.factory.BeanCreationException: Error creating bean with…
Florian Tavares
  • 243
  • 2
  • 3
  • 6
7
votes
1 answer

Upgrading Jackson in GlassFish 4.1

I am using GlassFish 4.1, which includes Jackson 2.3.2. I would like to upgrade to the newest version of Jackson (currently 2.4.4). Is the procedure for upgrading Jackson in GlassFish 4.1 as simple as: a) stopping GlassFish b) deleting the…
XDR
  • 3,457
  • 3
  • 23
  • 42
7
votes
1 answer

Pages being processed are merely left blank half way through on errors/exceptions instead of forwarding to the error page specified in web.xml

In web.xml, I have the following configurations for a global error page. 401 /WEB-INF/error_pages/GeneralError.xhtml 403
Tiny
  • 24,933
  • 92
  • 299
  • 571
6
votes
4 answers

com.fasterxml.jackson.module.jaxb.JaxbAnnotationIntrospector not found --- while using Swagger

my first post on SO and expecting good stuff in return :-) I have developed a small java restful services app and integrated with Swagger. I have @Controller -> @Service -> @Repository architecture. I have deployed on Glassfish (4.1.1), when I use…
rtnyc
  • 95
  • 1
  • 2
  • 10
6
votes
2 answers

Connecting JConsole to remote glassfish 4.1 / 4.1.1 via JMX

GlassFish running on a host with a public ip address and jmx port 8986 On startup JMXStartupService has started JMXConnector on JMXService URL service:jmx:rmi://test.anahata.net.au:8986/jndi/rmi://test.anahata.net.au:8986/jmxrmi]] When I try to…
pranahata
  • 470
  • 3
  • 18
5
votes
1 answer

Glassfish not starting due to endorsed.dirs error

When I try to start a domain in Glassfish 4.1 from IntelliJ I'm presented with this error: JVM failed to start: com.sun.enterprise.admin.launcher.GFLauncherException: The server exited prematurely with exit code 1. Before it died, it produced the…
Patrick Villela
  • 738
  • 4
  • 13
  • 36
4
votes
5 answers

GlassFish 4.1.2 updatetool/pkg tools fail - missing pkg-bootstrap

Summary: The pkg-bootstrap.jar and related files are missing from the latest GlassFish 4.1.2 and this prevents the updatetool from running. What is the proper way to install and run updatetool on Windows 10? Detail: I was working with the Java EE 7…
DevDevDev
  • 41
  • 1
  • 3
4
votes
1 answer

ClassCastException with Lucene

I´m working on a web application with Hibernate Search using Lucene. I updatetd this application to Hibernate 5.5.1 (former 4.3.5 (hibernate-core ) 4.3.10 (hibernate-entity-manager). I´ve created an lucene index (version 4.7) with the former…
4
votes
1 answer

Access glassfish security realm from within the application

I am using a glassfish 4.1 application server for a web application. The web application authentication/authorization is done by a glassfish ldap realm. So I do not have to implement and configure the ldap connection within my application but within…
Wintermute
  • 1,511
  • 1
  • 12
  • 33
4
votes
0 answers

java.lang.NumberFormatException: multiple points

I am running a reasonably sizable Java EE application on GlassFish 4.1 having the following major components. Mojarra 2.2.12 PrimeFaces 5.2 final (community bundle) PrimeFaces Extensions 3.1.0 OmniFaces 2.1 EclipseLink 2.6.1 having JPA 2.1 JDK…
Tiny
  • 24,933
  • 92
  • 299
  • 571
1
2 3
16 17