when i enter #/etc/init.d/glassfish start, system tell me:
CLI304 Can’t find domain.xml. It should be here: /usr/glassfishv3/glassfish/domains/domain1/config/domain.xml
Command start-domain failed.
If i call #asadmin start-domain domain1 from super user, glassfish run correctly
Great help this script. Used it as a base. There is a little typo in the location of the startup.log it should be $GLASSFISH_HOME/glassfish/domains/domain1/logs/startup.log
Ther is no domain.xml file at /usr/glassfishv3/glassfish/domains/domain1/config/
No permission problem, the file is not there !!!
Any sugestions ?
Thanks
Albert
I think you’re missing a “-” in the line “#chkconfig -add glassfish” so that it is “#chkconfig –add glassfish”
@nairdaen
fixed
Thank you, I’ve modified this script for our own Glassfish installations.
Awesome! Thanks for the knowledge.
Hi, thank you for this script…
when i enter #/etc/init.d/glassfish start, system tell me:
CLI304 Can’t find domain.xml. It should be here: /usr/glassfishv3/glassfish/domains/domain1/config/domain.xml
Command start-domain failed.
If i call #asadmin start-domain domain1 from super user, glassfish run correctly
Can you help me?
@Maurizio
There might be a permission problem with domain.xml file. Try chmod.
Great help this script. Used it as a base. There is a little typo in the location of the startup.log it should be $GLASSFISH_HOME/glassfish/domains/domain1/logs/startup.log
a great tutorial, thank you very much.
muchas Gracias por el Post , Excelente.
Thank you Anand! This is a very useful post.
Ther is no domain.xml file at /usr/glassfishv3/glassfish/domains/domain1/config/
No permission problem, the file is not there !!!
Any sugestions ?
Thanks
Albert
I’m sorry !!!
The file was there…
It was actualy a permission problem.
Thanks and sorry again.
Albert
Is there anyway to start clusters as well?
I have a problem, I try to start glassfish
service glassfish start
Starting Glassfish: su: user glassfish does not exist
done
Why is this problem??