Consultor Eletrônico



Kbase P121528: Can not startup WSA and AIA simultaneously under Sun One 6.1SP5 WebServer.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   1/8/2007
Status: Unverified

SYMPTOM(s):

Can not startup WSA and AIA simultaneously under Sun One 6.1SP5 WebServer.

Getting error in Sun One Webserver error logs:
javax.servlet.UnavailableException: Could not open $WRKDIR/Aia1.aia.log : java.io.FileNotFoundException: $WRKDIR/Aia1.aia.log (No such file r directory)

AIA is set to load on startup in JSE by adding <load-on-startup>1</load-on-startup> in web.xml file fir AIA.

CAUSE:

The failure to start the AIA triggers a failure in subsequent servlets.
As an example, if the entry in the ubroker.properties for the AIA logfile was set to:
[AIA.Aia1]
controllingNameServer=NS1
httpsEnabled=0
logAppend=1
logFile=$WRKDIR/Aia1.aia.log
loggingLevel=4

The AIA will fail to start causing the WSA to also fail.

FIX:

Set the explicit path to the log file for the AIA instance in the ubroker.properties.

Example of a corrected entry in the ubroker.properties file:
[AIA.Aia1]
controllingNameServer=NS1
httpsEnabled=0
logAppend=1
logFile=/usr/wrk/Aia1.aia.log
loggingLevel=4