File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes starting default server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "starting default server" Watch "starting default server" New topic
Author

starting default server

ahsan mir
Ranch Hand

Joined: Jul 17, 2006
Posts: 42
Hello,
I have just downloaded the Sun j2ee SDK , and when i try to start the 'default server' for the web services the following error occurs:
*****************************************************************************
Starting Domain domain1, please wait.
Log redirected to C:\Sun\AppServer\domains\domain1\logs\server.log.
Domain domain1 does not exist in C:\Sun\AppServer\domains. Use a different doma
in name or the --domaindir option.
CLI156 Could not start the domain domain1.
Press any key to continue . . .
**************************************************************************
The domain1 isnt really there.Any idea how to fix this.

Thanks.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42263
    
  64
I don't know what a "domain" is in the context of the Sun App Server, but have you tried what the error message suggests?


Ping & DNS - my free Android networking tools app
ahsan mir
Ranch Hand

Joined: Jul 17, 2006
Posts: 42
hello,
havnt tried what the error message says as I am really lost.Why do i have to create the domain , can it do with the fact that I already have a server listening on port 8080(the apache tomcat 5.5 also installed )?
Btw what's a good tool for writing web services applications? I know its quite a common question but with no definitive and simple answer.

thanks.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42263
    
  64
I would do some research on what a "domain" is, why you need one, and how you can create one.

What happened when you tried to start it up with Tomcat shut down?
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12803
    
    5
I don't know about the current J2EE, but when I installed the open source "Glassfish" package from Sun it included a domains directory with a domain1 inside that contained all the demo web applications.

Do you actually have a domains directory under AppServer?
Bill
ahsan mir
Ranch Hand

Joined: Jul 17, 2006
Posts: 42
when i shut down the tomcat, i have the same problem.
i have a domains folder but no 'domain1' in it!
PLSSS reply how to get on or start working with web services , i mean the tool for it . I am doin a university project and dont have enough time to go through whole books.

thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: starting default server