• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

can't start j2ee server - What to do?

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
alo all
i am trying to set j2ee up on my pc. i downloaded it and ran the self installer(windows 2000). according to the quickstart guide the first thing to do is to start the server, by selecting 'Start Default Domain', which i did but then ran into the following error:"CLI156 could not start the domain domain1.".

the server.log file offers this help:
com.sun.appserv.server.ServerLifecycleException: [C4003]: Error occurred on connection creation [batt155:2966]. - cause: java.net.ConnectException: Connection refused: connect

batt155 is my computer name and 2966 is the port i asume.

not getting the server started is blocking my j2ee progress as you can imagine so if there is any help out there, i would greatly appreciate it!

cheers

PS-I get serious fits of narcolepsy reading sun.java documentation, does anyone out there know of a idiot-friendly j2ee-site that can explain it all to me?
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wild stab in the dark: is 2966 being used by something else? Try the command "netstat -ao" from a command prompt. This will show you what PIDs are using what ports.
 
willem jacobus odendaal
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Paul

port 2967 is being used, but not port 2966.
 
willem jacobus odendaal
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
more info...

I tried starting the server from the command prompt and got:

E:\j2eeTutorial\j2eetutorial14\examples\web\bookstore>j2ee
'j2ee' is not recognized as an internal or external command,
operable program or batch file.

My enviroment variables are set to:
J2EE_HOME C:\Sun\AppServer\jdk ***I`m not sure this is right***
JAVA_HOME C:\j2sdk1.4.1_02
ANT_HOME C:\apache-ant-1.6.1-bin\apache-ant-1.6.1

PATH C:\Sun\AppServer\bin;%JAVA_HOME%\bin;%ANT_HOME%\bin...

any thoughts?
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic