BILL Carlisle
asked on
Creating a Windows Service for the GlassFish-4.0 Domain
Hi,
I created a GlassFish4.0 configuration with a domain name that contains a dot
gnpservice.com
Creating a Windows Service complains about the dot in the name
Is there an easy way to change a domain name ? Is that the real domain or is it just a name that GF uses to distinguish.
example: domain1 is the default domain and I think I could have deployed my app under that domain name
I created a GlassFish4.0 configuration with a domain name that contains a dot
gnpservice.com
Creating a Windows Service complains about the dot in the name
asadmin> create-service gnpservice.com
Windows requires that the service name contain only legal filename characters, no spaces and no dots. Please choose another name.
This is the name you specified: gnpservice.com
Command create-service failed.
Is there an easy way to change a domain name ? Is that the real domain or is it just a name that GF uses to distinguish.
example: domain1 is the default domain and I think I could have deployed my app under that domain name
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Your HTTP domain name will still have dots, and it doesn't have to be anything like the Windows service name.
The service tool asks for the GF domain name which has the dots in it..
ASKER
Well, I had to recreate the whole domain with the new windows domain name without dots.
I think there should be a command to rename the domain window's "name".
I wonder why there is not?
Thank you for your help,
Bill
I think there should be a command to rename the domain window's "name".
I wonder why there is not?
Thank you for your help,
Bill
ASKER
I couldn't find a rename domain command