?
Solved

Creating a Windows Service for the GlassFish-4.0 Domain

Posted on 2013-11-07
6
Medium Priority
?
688 Views
Last Modified: 2014-03-30
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
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.

Open in new window


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
0
Comment
Question by:bcarlis
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
6 Comments
 
LVL 27

Accepted Solution

by:
mrcoffee365 earned 880 total points
ID: 39666419
You're asking about the Windows error?  The name of the service in windows doesn't have anything to do with the actual http domain name.  So if Windows doesn't want dots, then make the name a valid Windows name without dots.

Your HTTP domain name will still have dots, and it doesn't have to be anything like the Windows service name.

See Oracle doc here:
http://docs.oracle.com/cd/E19509-01/821-0449/inst_trouble_winservice_r/index.html
0
 
LVL 2

Author Comment

by:bcarlis
ID: 39679230
Great, but now it is there a way to change the domain name without having to re-create the whole domain and reassign all that certificates?
I couldn't find a rename domain command
0
 
LVL 2

Author Comment

by:bcarlis
ID: 39690410
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..
0
 
LVL 2

Author Closing Comment

by:bcarlis
ID: 39965089
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
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses
Course of the Month14 days, 18 hours left to enroll

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question