Questions tagged [glassfish-4]

Fourth version of the popular Java EE open source application server and the reference implementation of the Java EE 7.

Java EE 7 brings the new versions of the many Java enterprise and Web technologies, such as EJB 3.2, JMS 2.0, JPA 2.1, Servlet 3.1 etc. GlassFish is an open source server that represents a reference implementation of Java EE standard. In its fourth version, GlassFish offers the complete Java EE 7 (JSR-342) platform. It is a first certified application server that fully supports Java EE 7.

This tag is for questions specific to version 4. For generall questions to GlassFish see:

908 questions
0
votes
0 answers

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/application/myApp" created successfully. Warning:…
0
votes
1 answer

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: ContainerBase.addChild: start:…
S.M.V.A
  • 470
  • 1
  • 5
  • 14
0
votes
1 answer

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
  • 15,099
  • 32
  • 152
  • 329
0
votes
1 answer

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.
FuryFart
  • 2,304
  • 4
  • 27
  • 43
0
votes
1 answer

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 access my server and i also add port 8080 to be…
0
votes
1 answer

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 following error: HTTP Status 403 - Forbidden. I'm…
Emad Karhely
  • 115
  • 7
0
votes
1 answer

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 choice, in particular Glassfish 4.1.1 for Java…
csharp
  • 464
  • 2
  • 10
  • 19
0
votes
1 answer

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 fine in the default server. Then I learned that this…
Praveen Dass
  • 586
  • 1
  • 3
  • 13
0
votes
1 answer

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 and browse any kind of file (such as txt, or…
Reggie
  • 49
  • 10
0
votes
0 answers

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 have deployed the EJBRemoteInterface and the…
0
votes
1 answer

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() of entitymanager Im running glashfiss 4.1, Java 8,…
0
votes
0 answers

Target Unreachable, identifier 'beanName' resolved to null

I have got a problem and i didnt find question anywhere. My index.xhtml page is :
0
votes
2 answers

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.host.com, port: 465, response: -1 (i also got…
Stu076
  • 51
  • 1
  • 10
0
votes
0 answers

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 Netbeans, and I have to build and run the…
Anas
  • 688
  • 7
  • 24
0
votes
1 answer

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 and worked fine ,I don't know anything about PHP com.caucho.quercus.UnimplementedException:…
SShehab
  • 1,039
  • 3
  • 17
  • 31