You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Kian Hui Teo <ki...@netlife.com.sg> on 2001/03/02 08:53:20 UTC
Unable to deploy Struts on WLS5.1 SP6 on Solaris
Hi,
I keep getting the following errors during deployment.
Fri Mar 02 15:46:26 SGT 2001:<I> <ServletContext-tw> *.jsp: param srcCompiler
initialized to weblogic.jspc
Fri Mar 02 15:46:26 SGT 2001:<I> <ServletContext-tw> *.jsp: param superclass
initialized to null
Fri Mar 02 15:46:26 SGT 2001:<I> <ServletContext-tw> *.jsp: param workingDir
initialized to: /opt/Netlife/TradeWorkz1.1LT/tw/_tmp_war
Fri Mar 02 15:46:26 SGT 2001:<I> <ServletContext-tw> *.jsp: param
pageCheckSeconds initialized to: 1
Fri Mar 02 15:46:26 SGT 2001:<I> <ServletContext-tw> *.jsp: initialization
complete
Fri Mar 02 15:46:26 SGT 2001:<I> <ServletContext-tw> *.jsp:
Fri Mar 02 15:46:27 SGT 2001:<E> <ServletContext-tw> Cannot find resource
'chooseLanguage.do' in document root '/opt/Netlife/TradeWorkz1.1LT/tw'
This happens when I try to access the homepage of my application. I have already
added the following lines to my weblogic.properties file.
weblogic.httpd.documentRoot=/opt/Netlife/TradeWorkz1.1LT/tw
weblogic.httpd.servlet.classpath=/opt/Netlife/TradeWorkz1.1LT/tw/WEB-INF/classes
weblogic.httpd.servlet.reloadCheckSecs=1
weblogic.httpd.register.*.jsp=\
weblogic.servlet.JSPServlet
weblogic.httpd.initArgs.*.jsp=\
pageCheckSeconds=1,\
compileCommand=/usr/java/bin/javac,\
workingDir=/opt/Netlife/TradeWorkz1.1LT/tw,\
verbose=true,\
keepgenerated=true
weblogic.httpd.webApp.tw=/opt/Netlife/TradeWorkz1.1LT/tw
The JSPs files keep getting generated into the following directory. Although I
did set the workingDir as above.
/opt/Netlife/TradeWorkz1.1LT/tw/_tmp_war
Is this behavour correct?
Also, any ideas on letting WLS recognize *.do? The same web application runs
perfectly fine on NT, but we have problems running it on NT.
Rgds,
kianhui
Re: Unable to deploy Struts on WLS5.1 SP6 on Solaris
Posted by Wong Kok Wai <wo...@yahoo.com>.
You must use SP8 as SP6 does not support the
<load-on-startup> tag in the web.xml. It is a WebLogic
bug that was fixed in SP7/8.
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/