Problem: After DAC11g installation, when you try to start server i got error like ( -server ) java not found
I tryed to start the dac server from the DAC_HOME\dac\startserver.cmd. I could not start the server.
After long investigation i found the error in startserver.cmd have some problem
Take the backe up of startserver.cmd and rename to back_startserver.cmd.
Open edit mode the startserver.cmd remove the entries from the file, Copy the below information and past over there in the startserver.cmd. Below is the code.
Solution :
Copy below tags and past in the startserver.cmd file C:/DAC_HOME/DAC/startserver.cmd
title Oracle DAC Server
call config.bat
call config.bat
Uncomment the below if you want to see a DOS window with messages and comment out the JAVAW line.
%JAVA% -Xms256m -Xmx1024m -cp %DACCLASSPATH% com.siebel.etl.net.QServer
start %JAVAW% -server -Xms256m -Xmx1024m -cp %DACCLASSPATH% com.siebel.etl.net.QServer
%JAVA% -Xms256m -Xmx1024m -cp %DACCLASSPATH% com.siebel.etl.net.QServer
start %JAVAW% -server -Xms256m -Xmx1024m -cp %DACCLASSPATH% com.siebel.etl.net.QServer
Then start the dac server in unix ./startserver.sh in windows double click on startserver.cmd.
I have started successfully dac server.
Thanks
kishore