I'm trying to create windows service for glassfish and I've had no problems creating one for the default domain, but when it comes to a domain I created my self, I seem to struggle.
the command I'm using is:
asadmin>create-service --domaindir C:\Program Files\glassfish-4.1.1\glassfish\domains\testdomain
I only get a filenotfound exception. I don't seem to understand glassfish's directory for its domains
aside from this, one of my other problems in the service I created for the default domain is that everytime I try to start it, it just stops immediately
The domain1 GlassFish Server on Local Computer started and then stopped. Some services stop automatically...
it gives me that kind of popup