cancel
Showing results for 
Search instead for 
Did you mean: 

JSP Parsing error

Former Member
0 Kudos

Hi,

I have created a web module project in NWDS 7 and imported my web application into it, then created enterprise project and added the war file to this, and then finally exported a .ear file.

When i deploy & test this in J2EE Engine 7, i get the WebIOException stating parsing errors in jsp. I tried exploring the logs and by modifying jsp, found that, it is not able to pickup the tld files. I have checked that the proper entries specifying the tld names & location are present in the deployment descriptor.

Could you please let me know what is missing here.

Thanks,

KSK

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member185706
Participant
0 Kudos

Hello,

could you give more info about your application - where are placed TLD files, what is the structure of the war file?

Please post the complete WebIOExcpetion too.

Best Regards

Bojidar

Former Member
0 Kudos

Hi,

The WebIOException appears on the jsp with not much information but when i dig into the logs,

the following is the exception stack:

#1.5 #00306E4B2A53006C0000002800002F77000456BC64B3481C#1221267049617#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#sap.com/TestCCEAR#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#Guest#0##n/a##022faae0812e11dd989900306e4b2a53#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###application [TestCC] Processing HTTP request to servlet [jsp] finished with error. The error is: com.sap.engine.services.servlets_jsp.server.exceptions.WebIOException: Internal error while parsing JSP page [/usr/sap/VSJ/JC02/j2ee/cluster/server0/apps/sap.com/TestCCEAR/servlet_jsp/TestCC/root/public/frameset_top_html.jsp].

+ at com.sap.engine.services.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:118)+

+ at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.getClassName(JSPServlet.java:242)+

+ at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.compileAndGetClassName(JSPServlet.java:434)+

+ at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:173)+

+ 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:386)+

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

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

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

+ 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:102)+

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

Caused by: com.sap.engine.services.servlets_jsp.lib.jspparser.exceptions.JspParseException: Tag library descriptor cannot be found for uri:].

+ at com.sap.engine.services.servlets_jsp.lib.jspparser.syntax.JspTaglibDirective.verifyAttributes(JspTaglibDirective.java:146)+

+ at com.sap.engine.services.servlets_jsp.lib.jspparser.syntax.JspDirective.parse0(JspDirective.java:141)+

+ at com.sap.engine.services.servlets_jsp.lib.jspparser.syntax.JspDirective.parse(JspDirective.java:102)+

+ at com.sap.engine.services.servlets_jsp.lib.jspparser.syntax.ElementCollection.parse(ElementCollection.java:89)+

+ +

Below is the structure of the project:

MyProj

--ModelFolder

--webContent

--admin

--core

--docs

--jsp

--mimes

--public

--WEB-INF

--lib

--props

--tld

--xml

--xslt

I have tried placing the tld files in the /WEB-INF and also /WEB-INF/tld.

Regards,

KSK

former_member185706
Participant
0 Kudos

Could you post the taglib declarations from th eproblematic jsp file:

/public/frameset_top_html.jsp

and the taglib declarations from your web.xml