Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem - running j2ee1.3 server

 
murthy bala
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
iam practising for SCBCD exam and so i have been adviced to use j2ee1.3. I installed j2ee1.3 in my machine and when i try to start the server from commandprompt i get th efollowing error as

" 'C:\Program' is not recognized as an internal or external command,
operable program or batch file.. "

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 %*

If this does not works is it advisable to install j2ee5 and practise ?
 
Niranjan Basnayake
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Think it's better first to remove j2sdk5 with the runtime environment and install jdk1.3

i'm using Windows XP+SP2 and have set the environment variables,

JAVA_HOME C:\jdk1.3
J2EE_HOME C:\j2sdkee1.3.1

(no ; at the end)


used the command,

j2ee -verbose
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic