Questions tagged as 'glassfish'

0
answers

HTTP Status 500 - Internal Server Error

After trying to make a call in Glasfish's WebService, the error below is occurring, I'm trying to make a call in Webservice Rest Json, in the so-called XML rest it runs normally. package br.com.devmedia.ws.rest.example1; import java.util.Random...
asked by 29.11.2018 / 13:55
1
answer

"Lookup failed" error when using a Glassfish Custom Resource

I am using Glassfish Custom Resource to write a property: Then,I'mtryingtogetthisvaluelikethis:newInitialContext().lookup("javax.faces.PROJECT_STAGE") but I get the following exception : Grave: javax.naming.NamingException: Looku...
asked by 19.03.2014 / 21:42
0
answers

Hibernate 3 does not work with maven and glassfish 4.1.2

I have an application created with maven (jsf 2.2, hibernate 3.3.0) and deployed in glassfish 4.1.2. when I change a record it gives the following error: javax.faces.el.EvaluationException: java.lang.NoSuchMethodError: org.hibernate.event.PreU...
asked by 03.10.2018 / 20:13
0
answers

Project maven with JSF 1.2 does not publish in glassfish 4.1.2

I have a maven application that uses JSF 1.2, RichFaces 3.3.3, Hibernate 3.2.0, Glassfish 4.1.2, generated in eclipse mars. However when trying to upload the application to the server it gives the following error: com.sun.faces.config.Configur...
asked by 01.10.2018 / 19:38
0
answers

Dynamic Eeb Project @WebService

I'm creating a Dynamic Web project, in Eclipse and I already tried NetBeans both in Windwos and I'm using Payara and Glassfish, when I inject the "@WebService" server class with this error: "can not Deploy TarjetaCredito deploy is failing = E...
asked by 10.10.2018 / 23:47
0
answers

Failed to access WSDL - Connection Refused - Glassfish 4

My application consumes a WSDL web service method and requires the URL to be changed as needed. The case is that even changing the URL using the method BindingProvider like this: ((BindingProvider) port).getRequestContext().put(Bindi...
asked by 17.08.2018 / 14:23
0
answers

invalid byte sequence for encoding utf8

I'm doing a query in the PostgreSQL database. The database encoding is SQL_ASCII . When I make a query that returns special characters like "Ç" and "~", the following error occurs: Error Code: 500 Error Desscription: ERROR: invalid byte...
asked by 11.07.2018 / 15:00
0
answers

GlassFish 4.1.2 Exception Occurred: For input string: "001b" When you open View Log Files

The GlassFish server has been installed normally and we have already added several applications, and all its features work normally, except when we go to the Tree menu in the server (Admin Server) option and then click the View Log Fil...
asked by 28.04.2018 / 00:54
0
answers

How to put two versions of the same library on the same application server? [GLASSFISH]

I'm using primefaces in an app that is currently in version 5.2, but I needed a component that is only available in version 6.0 > = for another project. I use the two designs in the same glassfish installation. When I rounded one of the proje...
asked by 19.04.2018 / 14:01
1
answer

Hibernate + JPA 5 - Java Web

I need help with the following problem. When running my java web project in Glassfish the hibernate at every run try to recreate my tables. Minha Entity. @Entity @Table(name = "Estados") public class Estado implements Serializable { @Id @...
asked by 09.04.2018 / 16:57