1 Replies - 684 Views - Last Post: 27 April 2017 - 02:59 PM

#1 magnus110498  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 23
  • Joined: 26-August 14

Glassfish asadmin start-domain error

Posted 27 April 2017 - 04:33 AM

Hello, i have been trying to install Glassfish 4.1.1 on my server. I followed this guide: https://www.digitalo...-ubuntu-12-04-3 . All things seemed to work till I was trying to start the server:

[email protected]:~$ asadmin start-domain domain1
Waiting for domain1 to start .Error starting domain domain1.
The server exited prematurely with exit code 1.
Before it died, it produced the following output:

Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=192m; support was removed in 8.0

Command start-domain failed.


I thought it was something to do with the domain1, so I tried to create domain2 it went successful till I again tried to start the server and the same error appeared.

The Java installation seems to work:

java -version
java version "1.8.0_131"

javac -version
javac 1.8.0_131



Thank you for your time :)

Is This A Good Question/Topic? 0
  • +

Replies To: Glassfish asadmin start-domain error

#2 magnus110498  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 23
  • Joined: 26-August 14

Re: Glassfish asadmin start-domain error

Posted 27 April 2017 - 02:59 PM

Okay I found a solution for the problem. It was something to do with the permissions of my installation of glassfish. So when I unzipped the zip file with sudo it worked.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1