Problems running Glassfish on Ubuntu as a service

I have Glassfish 3.1.2 installed on Ubuntu, I’ve set up a separate “glassfish” user to run it as and have JDK 1.7.0 installed. If I log in as the “glassfish” user and start GF via the shell: /usr/local/java/glassfish/glassfish-3.1.2/glassfish/bin/asadmin start-domain domain1 It starts up fine, so I think I have everything installed ok. The problem is … Read more

Installation of Glassfish 5.0 tool on eclipse version 2018 12

I am trying to install Glassfish 5.0 tool on eclipse 2018 12 version using eclipse marketplace but the option avilable is only supporting Glassfish 4.x. Can anyone help me with this? Answer As you are on the latest, you might try http://download.eclipse.org/glassfish-tools/1.0.0/repository , the Update Site for the tools now that they are a project … Read more

JAVA – Cannot deploy an existing Dynamic Web Project after configuring it as JPA

I have a Java Dynamic Web project that I run using Glassfish 5. After configuring it to be a JPA project (with EclipseLink), I cannot deploy it. I get the following error: cannot Deploy EcommerceAdmin deploy is failing=Error occurred during deployment: Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.RuntimeException: javax.faces.FacesException: Unable to … Read more

How do install glassfish on ubuntu server 12.x?

Does anyone know how to install Glassfish on ubuntu server? is there some kind of command line that does it seeing as ubuntu server has no UI so to speak? For example, if I wish to install mysql I simply run this sudo apt-get install php5-mysql anything similar ie sudo apt-get install glassfish? Answer According … Read more

How to run Glassfish on Java 9? [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Ask Ubuntu. Closed 4 years ago. Improve this question As I recall, it’s just a matter of invoking asadmin to enter the asadmin shell: thufir@dur:~$ thufir@dur:~$ glassfish-5.0/glassfish5/bin/asadmin Exception in thread “main” java.lang.NullPointerException … Read more

starting glassfish on ubuntu 12.04

I have installed glassfish in ubuntu 12.04 from below: (the first one) http://glassfish.java.net/public/downloadsindex.html#top I have user-admin and password-admin for administrator and installation directory is root/glassfish After installing it started the deafult domain automatically so I see the admin login page when I type “http://localhost:4848/” in the browser. I am able to login also with above … Read more