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

Problems configuring J2EE-SDK 1.3

 
Gagan Indus
Ranch Hand
Posts: 346
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I downloaded n installed J2ee SDK 1.3 01 .
( my machine is Celeron 566 , 64 MB , Win98 OSR2 )
After reading docs , i set da J2EE_HOME variable as required.
set J2EE_HOME = c:\j2sdkee1.3
( Java_Home is also properly set , along wid Path/Classpath settings )
set JAVA_HOME=c:\jdk
set CLASSPATH=c:\jdk\lib; c:\jdk\jre\lib\rt.jar
set PATH=C:\JDK\BIN ; c:\j2sdkee1.3\bin

Now when i run setenv.bat file , it gives syntax errors for following 3 commands in batch file :
set JAAS_OPTIONS= -Djava.security.auth.policy=%J2EE_HOME%\lib\security\jaas.policy
set SSL_OPTIONS= -Djavax.net.ssl.trustStore=%J2EE_HOME%\lib\security\cacerts.jks
set LISTEN_OPTIONS= -Dcom.sun.CORBA.connection.ORBListenSocket=SSL:0,SSL_MUTUALAUTH:0,PERSISTENT_SSL:1060

Errors are displayed as :
<font color="blue">
C:\j2sdkee1.3\bin>set JAAS_OPTIONS= -djava.security.auth.policy=c:\j2sdkee1.3\li
b\security\jaas.policy
Syntax error
C:\j2sdkee1.3\bin>set SSL_OPTIONS= -djavax.net.ssl.trustStore=c:\j2sdkee1.3\lib\
security\cacerts.jks
Syntax error
C:\j2sdkee1.3\bin>set LISTEN_OPTIONS= -dcom.sun.CORBA.connection.ORBListenSocket
=SSL:0,SSL_MUTUALAUTH:0,PERSISTENT_SSL:1060
Syntax error
</font>

As setenv.bat has to be run sucessfully bfore running any other J2EE tool's script .So I am not able to go forward .

If i manually fill the values of these variables in J2EE command-scripts , then i get windows-message as
"This program has done illegale operation , and will be shut down..blah blah.."

Plzz helpp .. not able to proceed wid J2EE .
( have installed Tomcat tho , its working fine )

------------------
Gagan (/^_^\) SCJP2
Die-hard JavaMonk -- little Java a day , keeps u going .
 
ruijin yang
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you use jdk1.3.1_01?
 
Gagan Indus
Ranch Hand
Posts: 346
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes RuiJin . i am using jdk1.3.1_01 as its latest n confirms to Servlet2.3/JSP1.2
any solutions to ma prob ??
------------------
Gagan (/^_^\) SCJP2
Die-hard JavaMonk -- little Java a day , keeps u going .
 
ruijin yang
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I mean that your JAVA_HOME should be version of jdk1.3.1_01. You can report
your problem to SUN:j2ee-ri-feedback@sun.com
Hope your problem solved soon.
ruijin yang
 
Kavitha Adimurthy
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Gagan -
a doubt?!... after setting JAVA_HOME and J2EE_HOME, did you add them to your CLASSPATH??
I mean:
set JAVA_HOME=...
set J2EE_HOME=...
set CLASSPATH=%JAVA_HOME%;%J2EE_HOME%;(...the rest goes here...)
~Kavitha
[This message has been edited by Kavitha Adimurthy (edited October 20, 2001).]
 
Gagan Indus
Ranch Hand
Posts: 346
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thankx Ruijin , Kavitha
Kavitha , i had not set my classpath as u recommended , but is it really required?
as even after changing the classpath as u sed , i was still facing same problems.
But , hurrah ! at last i am able to start J2ee server sucessfully
All i did was , i commented out those problematic 'set' commands in setenv.bat , wid 'rem' .
And whereever these env-variables were required in other script files , i replaced their name wid their full-value given in setenv.bat
I was already trying this , but somehow i wasnt doin it rite way
But now its running
Thankx u guyz for ur help

------------------
Gagan (/^_^\) SCJP2
Die-hard JavaMonk -- little Java a day , keeps u going .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic