• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

starting default server

 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Rancher
Posts: 43028
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 43028
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Your mind is under my control .... your will is now mine .... read this tiny ad
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic