aspose file tools
The moose likes EJB and Other Java EE Technologies and the fly likes Problems configuring J2EE-SDK 1.3 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » EJB and Other Java EE Technologies
Reply Bookmark "Problems configuring J2EE-SDK 1.3" Watch "Problems configuring J2EE-SDK 1.3" New topic
Author

Problems configuring J2EE-SDK 1.3

Gagan Indus
Ranch Hand

Joined: Feb 28, 2001
Posts: 346
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 .


Gagan (/^_^\) SCJP2 SCWCD IBM486 <br />Die-hard JavaMonk -- little Java a day, keeps you going.<br /><a href="http://www.objectfirst.com/blog" target="_blank" rel="nofollow">My Blog</a>
Jorge Phillips
Ranch Hand

Joined: Jun 03, 2001
Posts: 43
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).]
 
 
subject: Problems configuring J2EE-SDK 1.3
 
Threads others viewed
Problems configuring J2EE-SDK 1.3
j2ee.bat file
HFEJB - compiling advice guy
Problem with starting the j2ee server
Here's why bad command appears... (WIN98)
jQuery in Action, 2nd edition

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture