• 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
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Problems configuring J2EE-SDK 1.3

 
Ranch Hand
Posts: 346
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 :

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


As setenv.bat has to be run sucessfully bfore running any other J2EE tool's script . 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 .
 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Gagan,
Check the thread initiated by Sachin Sharma titled "j2ee server download ???". He has the same problem, which is the double '=' in the set statements.
In my reply to Sachin I pointed him to a java app on the web that does 1.3 server loading even on Windows 98. Good luck.
[This message has been edited by Jorge Phillips (edited October 26, 2001).]
 
reply
    Bookmark Topic Watch Topic
  • New Topic