Skip to Content
0
Former Member
Mar 06, 2009 at 07:12 AM

Error while generating Static web pages hierarchy for Web Crawler searching

30 Views

Hi All,

When we are trying to generate Static web pages for Web Crawler searching for our B2C application it is resulting in an error :

u201CUnable to initiate generation of static pages; check logsu201C

After tracing the log files we found out the below detailed information:

application [catalogtool] Error in method getResourceAsStream(WEB-INF/cfg/catalog-site-config.xml). The error is: com.sap.engine.services.servlets_jsp.server.exceptions.WebMalformedURLException: A resource path must begin with [/]. The error occurred in [].

at com.sap.engine.services.servlets_jsp.server.runtime.context.ServletContextImpl.getResource(ServletContextImpl.java:452)

at com.sap.engine.services.servlets_jsp.server.runtime.context.ServletContextImpl.getResourceAsStream(ServletContextImpl.java:481)

at com.sap.isa.core.ActionServlet.getResourceAsStream(ActionServlet.java:297)

at com.sap.isa.catalog.impl.CatalogSite.loadConfigFile(CatalogSite.java:666)

at com.sap.isa.catalog.impl.CatalogSite.initBackendObject(CatalogSite.java:209)

at com.sap.isa.core.eai.BackendObjectManagerImpl.createBackendBusinessObject(BackendObjectManagerImpl.java:190)

at com.sap.isa.catalog.CatalogFactory.getCatalogSite(CatalogFactory.java:261)

at com.sap.isa.catalog.webcatalog.WebCatInfo.init(WebCatInfo.java:237)

at com.sap.isa.businessobject.webcatalog.CatalogBusinessObjectManager.createCatalog(CatalogBusinessObjectManager.java:103)

at com.sap.isa.catadmin.actions.WebCrawlerAction.doPerform(WebCrawlerAction.java:93)

at com.sap.isa.core.BaseAction.execute(BaseAction.java:212)

at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)

at com.sap.isa.core.RequestProcessor.processActionPerform(RequestProcessor.java:683)

at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)

at com.sap.isa.core.RequestProcessor.process(RequestProcessor.java:400)

at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)

at com.sap.isa.core.ActionServlet.process(ActionServlet.java:243)

at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)

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

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

at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)

at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)

at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)

at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)

at com.sap.isa.core.RequestProcessor.processForwardConfig(RequestProcessor.java:276)

at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)

at com.sap.isa.core.RequestProcessor.process(RequestProcessor.java:400)

at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)

at com.sap.isa.core.ActionServlet.process(ActionServlet.java:243)

at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)

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

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

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

Can anyone assist as to what is getting wrong?

I have a doubt in specifying the parameters "dumpFolder" & "templateFolder" in catalogtool XCM settings, We need to pass full path of the server directory here. please suggest what exactly has to be passed here.

Currently i am passing values like this "/catalog/dump"& "/catalog/templates".

We are running on CRM-7.0

Thanks in advance.

Pnakaj.