Questions tagged as 'glassfish'

1
answer

Error registered the JDBC driver [oracle.jdbc.driver.OracleDriver] but failed to unregister

I am making a JavaWeb system using jsp that is in this topic: Doubt in query database, error in query , and in a query with the database, I came across a driver error that is Right below. I use the netbeans IDE with server gl...
asked by 21.08.2015 / 20:59
1
answer

Check which Websocket sessions are inactive

How to check if a session is active, when the device that was connected to the Websocket server suddenly shut down? Because in this situation, if I use the Session.isOpen() method, the return is true . I think the return should b...
asked by 14.08.2014 / 21:18
1
answer

Error in startup of glassfish in eclipse - asadmin path not found, bootstrap and no domain

After a lot of unanswered search, I come here to ask for help. I use Eclipse Kepler and glashfish 3.1. What happens is that when I start the glassfish server, usually or by debugging, the server returns the error "Launch process failed with exit...
asked by 27.05.2014 / 18:36
0
answers

Error Injecting DAO EJB

I have an EJB project built with JDK 7. Currently in production we use GlassFish-3.1 as an application server and we are trying to migrate the same to Payara-4.1. We were able to upload the application after several attempts, configurations and...
asked by 30.11.2017 / 20:30
1
answer

Problem Hibernate 4.3 with Glassfish 3.1

My application with Hibernate 4.3 normally runs with Glassfish 4 , installed along with NetBeans IDE. However, the server where I need to deploy the application has Glassfish 3.1 . On this server the application is n...
asked by 21.11.2017 / 19:19
0
answers

Error in Web Service Java SOAP in GlassFish

I have the following method in a SOAP Web Service running through GlassFish 4.1.1: @WebService(serviceName = "CalculatorWS") @Stateless() public class CalculatorWS { @WebMethod(operationName = "add") public int add(@WebParam(name = "i...
asked by 14.03.2017 / 11:40
0
answers

Configuration Persisisntece.xml with datasource Glassfish

Next staff I made 2 datasources of glassfish !!!! Where the first is a fixed database !!! Here is the image: Thisdatasourceisworkingcorrectly!!!MysecondIdonotpasstheDatabasepropertybecausethispropertycomesfrommyfirstdatasource,ie,Igetthepath...
asked by 28.04.2016 / 22:50
1
answer

How to catch parameter in form with enctype="multipart / form-data"?

I'm having trouble catching the parameters of an HTML form with enctype="multipart / form-data", I can upload an image through the form, but I can not capture text typed in the form. The form looks like this: <form method="post" action="...
asked by 05.04.2016 / 22:58
1
answer

Why is null returned when accessing the managedBean resource?

I'm having trouble accessing methods and attributes on a Managedbean. I'm using JSF and the Glassfish server, I've already used a similar architecture that I'm using however on a Tomcat server. I would like to know if anyone has ever had a pr...
asked by 28.12.2015 / 03:37
0
answers

Library problems on the JBoss server

I have a strange problem, my application works perfectly in NetBeans, but when I upload to the server it is giving error, says it can not find some libraries. I found it very strange considering that all libraries are in the classpath and that...
asked by 24.02.2016 / 00:15