Fatwire Spark pCM is confused about the location of a file.

Hi,

The file /jsp/cs_deployed/csX603722830csversion.jsp shown in the error message below really DOES exist in /var/opt/SUNWps/tmp/deploy/web-apps/<webcontainer>/cs/jsp/cs_deployed but for some reason it cannot find it.

This is probably a simple misconfig but I'm stumped. Any ideas?

Thanks,

Phil

31/Jul/2006:02:46:47] failure (23210): for host x.x.x.x trying to GET /cs/ContentServer, service-j2ee reports: ApplicationDispatcher[/cs] WEB2649: Servlet.service() for servlet jsp threw exception

javax.servlet.ServletException: /jsp/cs_deployed/csX603722830csversion.jsp

at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:474)

at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:375)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)

at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.jav a:772)

at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher. java:628)

at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.ja va:539)

at COM.FutureTense.Servlet.ServletRequest.include(DashoA14174)

at COM.FutureTense.Servlet.fr.e(DashoA14174)

at COM.FutureTense.Servlet.l6.a(DashoA14174)

at COM.FutureTense.Platform.NONE.le.a(DashoA14174)

at COM.FutureTense.Servlet.l6.a(DashoA14174)

at COM.FutureTense.Platform.NONE.pa.run(DashoA14174)

at COM.FutureTense.Common.fs.at(DashoA14174)

at COM.FutureTense.Common.fs.b(DashoA14174)

at COM.FutureTense.Common.fs.f(DashoA14174)

at COM.FutureTense.Common.fs.a(DashoA14174)

at COM.FutureTense.Common.fs.e(DashoA14174)

at COM.FutureTense.Servlet.FTServlet.a(DashoA14174)

at COM.FutureTense.Servlet.FTServlet.doGet(DashoA14174)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:787)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)

at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrap perValve.java:771)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: 322)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java: 212)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)

at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java: 161)

at com.iplanet.ias.web.WebContainer.service(WebContainer.java:580)

-- Root Cause --

com.iplanet.ias.web.jsp.JspServlet$JSPFileNotFoundException: /jsp/cs_deployed/csX603722830csversion.jsp

at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.<init>(JspServlet.ja va:669)

at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:412)

at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:375)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)

at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.jav a:772)

at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher. java:628)

at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.ja va:539)

at COM.FutureTense.Servlet.ServletRequest.include(DashoA14174)

at COM.FutureTense.Servlet.fr.e(DashoA14174)

at COM.FutureTense.Servlet.l6.a(DashoA14174)

at COM.FutureTense.Platform.NONE.le.a(DashoA14174)

at COM.FutureTense.Servlet.l6.a(DashoA14174)

at COM.FutureTense.Platform.NONE.pa.run(DashoA14174)

at COM.FutureTense.Common.fs.at(DashoA14174)

at COM.FutureTense.Common.fs.b(DashoA14174)

at COM.FutureTense.Common.fs.f(DashoA14174)

at COM.FutureTense.Common.fs.a(DashoA14174)

at COM.FutureTense.Common.fs.e(DashoA14174)

at COM.FutureTense.Servlet.FTServlet.a(DashoA14174)

at COM.FutureTense.Servlet.FTServlet.doGet(DashoA14174)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:787)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)

at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrap perValve.java:771)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: 322)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)

at org.apache.catalina.core.StandardContextValve.invoke(Standar

[4797 byte] By [philforrest] at [2007-11-26 9:08:46]
# 1

This "file not found" exception keeps getting thrown right after Spark initializes the Oracle database.

I've run the sparkinstall.sh script several times and this is becoming a dead end.

Does anyone know why either spark or the web container cannot find the jsp files?

Thanks,

Phil

philforrest at 2007-7-6 23:25:31 > top of Java-index,Web & Directory Servers,Portal Servers...
# 2

A self follow-up....

This page:

http://www.fatwire.com/cs/Satellite/SparkPage_US/SubPage/Products-Spark-SparkpC MFAQs.html#Q3

Seems to mention a similar problem. I looked in /opt/fatwire/futuretense.ini and found this:

cs.jsproot=/var/opt/SUNWps/tmp/deploy/web-apps/<sun_one_web_container_name&g t;/cs/jsp/

The value above is partially correct but apparently it cannot be found as I get the following failure on Fatwire Spark installation.

-BEGIN FAILURE LOG--

[Jul 31, 2006 10:04:15 PM][CS.INSTALL][INFO] CSSetupEngine.readURL: ReadURL success for http://<mysite>:80/cs/Con

tentServer?pagename=OpenMarket/ContentServer/Installation/AddSatellite&CSHo st=<mysite>&protocol=http&command=addSS

&cgipath=%2Fcs%2F&SSUser=SatelliteServer&SSPassword=<hidden password value>&CSPort=80

[Jul 31, 2006 10:04:15 PM][CS.INSTALL][INFO] Verifying jsp setup

[Jul 31, 2006 10:04:15 PM][CS.INSTALL][INFO] Verifying jsp setup

[Jul 31, 2006 10:04:15 PM][CS.INSTALL][ERROR] CSSetupEngine.readURL: ReadURL failed for http://<mysite>:80/cs/Con

tentServer?pagename=OpenMarket/ContentServer/CSTests/csversion&command=veri fy

:: ERROR = Search String Not Found

The response that was received =

HTTP/1.1 200 OK^M

Host_service: FutureTenseContentServer:6.3.0^M

Transfer-encoding: chunked^M

Date: Tue, 01 Aug 2006 03:04:15 GMT^M

Server: Sun-ONE-Web-Server/6.1^M

Content-type: text/html; charset=UTF-8^M

^M

<!--Exception calling include: page:/jsp/cs_deployed/csX603722830csversion.jsp

javax.servlet.ServletException tossed:/jsp/cs_deployed/csX603722830csversion.jsp-->

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"^M

"http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-transitional.dtd"> ^M

<html xmlns="http://www.w3.org/1999/xhtml">^M

<head>^M

<title>FatWire Corporation Content Server</title>^M

</head>^M

<body>^M

^M

<h1>FatWire Corporation

Content Server</h1>^M

^M

<hr />^M

^M

^M

An error occurred during processing. Check the info log.

^M

^M

^M

Error in evaluation;Error in configuration.

^M

^M

</body>^M

</html>^M

[Jul 31, 2006 10:04:15 PM][CS.INSTALL][ERROR] CSSetupEngine.readURL: Error Verifying jsp setup!

[Jul 31, 2006 10:04:15 PM][CS.INSTALL][ERROR] Worker.run.

Install failed.

Please check log file.

Click Yes to modify your install choices

and re-try install.

Click No to terminate application.

[Jul 31, 2006 10:04:43 PM][CS.INSTALL][INFO] Worker.run.

User pressed Yes, all log information after

this line is an install re-try attempt.

************************************************

-END FAILURE LOG--

I note the "cs_deployed" in page:/jsp/cs_deployed/csX603722830csversion.jsp ; I think the cs portlet adds it but I'm not sure where (other than futuretense.ini) I can correct this problem.

Thanks in advance for any ideas,

Phil

philforrest at 2007-7-6 23:25:31 > top of Java-index,Web & Directory Servers,Portal Servers...
# 3
untar the installer using gnu (linux) untar
skipper_ at 2007-7-6 23:25:31 > top of Java-index,Web & Directory Servers,Portal Servers...