• Status: Open
  • Priority: Low
  • Security: Public
  • Views: 26
  • Last Modified:

Glassfih 4.1 domain couldnt start. — it probably is another instance of a GlassFish server

I have glassfish app on my Linux red hat 6.
I cant start my glassfish node it gives me next error :

There is a process already using the admin port 5858 -- it probably is another instance of a GlassFish server.Command start-domain failed.

But when i run comman in linux " netstat -tulnp | grep 5858 " It shows me:

tcp :::5858 LISTEN 47256/java

Port used by java app. But i cant log in to my glassfish interface.

How can i solve this issue, any expierenced specialist with glassfish maybe can help.
0
amir damirov
Asked:
amir damirov
  • 3
  • 2
  • 2
7 Comments
 
CEHJCommented:
Why don't you just kill that process and start a new one?
0
 
Apurva BhandariLinux/Cloud/DB/DevOpsCommented:
looks like running in ipv6 by netstat command. disable ipv6 permanently if you're not using. check with localhost first.
kill the running process freshly start once again.
0
 
amir damirovAuthor Commented:
Dear All,

I have already done this. But still no result.

I killed process, and run command in glassfish : ./asadmin start-domain "domainname".

After executing this command it shows me that command was successfully ran.

But then when i execute command : ./asadmin list-domains :

It shows me that domain not running
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
CEHJCommented:
Check the log
0
 
amir damirovAuthor Commented:
I have no expierence with glassfish and java apps. Maybe you know what does it mean.

[2018-06-13T16:54:54.976+0400] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=15 _ThreadName=Thread-8] [timeMillis: 1528894494976] [levelValue: 800] [[
  2018-06-13 16:54:54 ERROR DbOperations:223 - Exception :null
java.lang.NullPointerException
        at com.bravo.db.common.DbOperations.getDataFromDB(DbOperations.java:210)
        at com.bravo.utility.Utils.fetchAllMessage(Utils.java:73)
        at com.bravo.utility.PropertyCache.getMessage(PropertyCache.java:55)
        at com.bravo.utility.PropertyCache.getValue(PropertyCache.java:29)
        at com.bravo.db.common.DbOperations.getDataFromDB(DbOperations.java:224)
        at com.bravo.utility.Utils.fetchAllMessage(Utils.java:73)
        at com.bravo.utility.PropertyCache.getMessage(PropertyCache.java:55)
        at com.bravo.utility.PropertyCache.getValue(PropertyCache.java:29)
        at com.bravo.db.common.DbOperations.getDataFromDB(DbOperations.java:224)
        at com.bravo.utility.Utils.fetchAllMessage(Utils.java:73)
        at com.bravo.utility.PropertyCache.getMessage(PropertyCache.java:55)
        at com.bravo.utility.PropertyCache.getValue(PropertyCache.java:29)
        at com.bravo.db.common.DbOperations.getDataFromDB(DbOperations.java:224)
        at com.bravo.utility.Utils.fetchAllMessage(Utils.java:73)
        at com.bravo.utility.PropertyCache.getMessage(PropertyCache.java:55)
        at com.bravo.utility.PropertyCache.getValue(PropertyCache.java:29)
        at com.bravo.db.common.DbOperations.getDataFromDB(DbOperations.java:224)
        at com.bravo.utility.Utils.fetchAllMessage(Utils.java:73)
        at com.bravo.utility.PropertyCache.getMessage(PropertyCache.java:55)
        at com.bravo.utility.PropertyCache.getValue(PropertyCache.java:29)
        at com.bravo.db.common.DbOperations.getDataFromDB(DbOperations.java:224)
        at com.bravo.utility.Utils.fetchAllMessage(Utils.java:73)
        at com.bravo.utility.PropertyCache.getMessage(PropertyCache.java:55)
        at com.bravo.utility.PropertyCache.getValue(PropertyCache.java:29)
        at com.bravo.db.common.DbOperations.getDataFromDB(DbOperations.java:224)
        at com.bravo.utility.Utils.fetchAllMessage(Utils.java:73)
        at com.bravo.utility.PropertyCache.getMessage(PropertyCache.java:55)
        at com.bravo.utility.PropertyCache.getValue(PropertyCache.java:29)
        at com.bravo.db.common.DbOperations.getDataFromDB(DbOperations.java:224)
        at com.bravo.utility.Utils.fetchAllMessage(Utils.java:73)
        at com.bravo.utility.PropertyCache.getMessage(PropertyCache.java:55)
        at com.bravo.utility.PropertyCache.getValue(PropertyCache.java:29)
        at com.bravo.db.common.DbOperations.getDataFromDB(DbOperations.java:224)
        at com.bravo.utility.Utils.fetchAllMessage(Utils.java:73)
        at com.bravo.utility.PropertyCache.getMessage(PropertyCache.java:55)
        at com.bravo.utility.PropertyCache.getValue(PropertyCache.java:29)
        at com.bravo.db.common.DbOperations.getDataFromDB(DbOperations.java:224)
        at com.bravo.utility.Utils.fetchAllMessage(Utils.java:73)
        at com.bravo.utility.PropertyCache.getMessage(PropertyCache.java:55)
        at com.bravo.utility.PropertyCache.getValue(PropertyCache.java:29)
        at com.bravo.db.common.DbOperations.getDataFromDB(DbOperations.java:224)
        at com.bravo.utility.Utils.fetchAllMessage(Utils.java:73)
        at com.bravo.utility.PropertyCache.getMessage(PropertyCache.java:55)
        at com.bravo.utility.PropertyCache.getValue(PropertyCache.java:29)
        at com.bravo.db.common.DbOperations.getDataFromDB(DbOperations.java:224)
        at com.bravo.utility.Utils.fetchAllMessage(Utils.java:73)
        at com.bravo.utility.PropertyCache.getMessage(PropertyCache.java:55)
        at com.bravo.utility.PropertyCache.getValue(PropertyCache.java:29)
        at com.bravo.db.common.DbOperations.getDataFromDB(DbOperations.java:224)
        at com.bravo.utility.Utils.fetchAllMessage(Utils.java:73)
        at com.bravo.utility.PropertyCache.getMessage(PropertyCache.java:55)
        at com.bravo.utility.PropertyCache.getValue(PropertyCache.java:29)
        at com.bravo.db.common.DbOperations.getDataFromDB(DbOperations.java:224)
        at com.bravo.utility.Utils.fetchAllMessage(Utils.java:73)
        at com.bravo.utility.PropertyCache.getMessage(PropertyCache.java:55)
"server.log_2018-06-13T16-54-56" 29673L, 2002797C
0
 
Apurva BhandariLinux/Cloud/DB/DevOpsCommented:
this issue looks like with DB error. not able to fetch the data or missing in code. first check JDBC connectivity with DB.
0
 
CEHJCommented:
DbOperations.java:210

Open in new window

is the line you need to look at
0

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

  • 3
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now