• 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
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

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: 43081
77
  • 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: 43081
77
  • 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.
 
We can fix it! We just need some baling wire, some WD-40, a bit of duct tape and this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic