• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

starting default server

 
ahsan mir
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
ahsan mir
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13073
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic