• Post Reply Bookmark Topic Watch Topic
  • New Topic

unable to j2ee server - hlp please  RSS feed

 
murthy bala
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have installed j2ee1.3 in my machine (winxp). when i try to run the server by running the command "j2ee -verbose" i get the following error.

C:\j2sdkee1.3\bin>j2ee -verbose
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
C:\j2sdkee1.3\bin>

I have set all the env.variables like java_home,j2ee_home, path to appropriate directories.

can anyone please help in this regard?
 
Masoud Kalali
Author
Ranch Hand
Posts: 531
Java Mac OS X Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Murthy ,
First of all i suggest you try and install the newer version of JavaEE , I mean javaEE 5 , if you cant install that then you should check for following items to make your server start.

-it looks like that you installed jdk in path that contains some space , please reinstall the JDK into a folder with no space in its path.

-make sure that you add java_home/bin into your path variable.

post here if you faced problem after these changes.


Thanks
 
murthy bala
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your help. iam practising for SCBCD exam and so i have been adviced to use j2ee1.3. also how can i set up the path variables and to what values ? currently i have set the "path" variable to bin directory of j2ee_home and also iam running this j2ee.bat from j2ee_home\bin directory only.

have found out that the following section of the j2ee.bat file is throwing this error.

rem @echo on
%JAVACMD% %LISTEN_OPTIONS% -Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderAdapter -Dorg.xml.sax.driver=org.apache.crimson.parser.XMLReaderImpl -Djms.home=%JMS_HOME% -Dcom.sun.jms.service.jdbc.dbpath=%JMS_DB_PATH% -Djms.properties=%J2EE_HOME%\config\jms_service.properties -Djava.security.policy==%J2EE_HOME%\lib\security\server.policy -Djava.security.auth.login.config=%J2EE_HOME%\lib\security\login.config -Dcom.sun.enterprise.home=%J2EE_HOME% -classpath %CPATH% com.sun.enterprise.server.J2EEServer %*


Thanks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!