Jump to content

Problem With Struts


softlab

Recommended Posts

Ok, with the new deploy and your adjustings now it seems to work.

 

Just for your information (if you can find why it's not finding the .css file), I had to copy under my public folder also the img folder, to have the image in the header visible.

 

I'll try to make some other coding.

 

Thank you

Link to comment
Share on other sites

  • 2 weeks later...

Hi.

 

Since the last deploy (not just the one of today, but from the previous) whenever I try to point http://infopar.heliohost.org/infopar_catechesi/ I get an exception. On my local server all is Ok. Since from the deploy before the one of Yesterday I made some changes, but not so significant.

 

Can you help me? Thank you

 

 

type Exception report

 

message java.lang.NullPointerException: Module 'null' not found.

 

description The server encountered an internal error that prevented it from fulfilling this request.

 

exception

org.apache.jasper.JasperException: java.lang.NullPointerException: Module 'null' not found.

org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:585)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:470)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)

javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

 

 

 

root cause

java.lang.NullPointerException: Module 'null' not found.

org.apache.struts.taglib.TagUtils.getModuleConfig(TagUtils.java:755)

org.apache.struts.taglib.TagUtils.getModuleConfig(TagUtils.java:735)

org.apache.struts.taglib.logic.ForwardTag.doEndTag(ForwardTag.java:84)

org.apache.jsp.index_jsp._jspx_meth_logic_005fforward_005f1(index_jsp.java:214)

org.apache.jsp.index_jsp._jspx_meth_logic_005fnotPresent_005f0(index_jsp.java:186)

org.apache.jsp.index_jsp._jspService(index_jsp.java:92)

org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)

javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

 

 

 

note The full stack trace of the root cause is available in the Apache Tomcat/7.0.32 logs.

 

Link to comment
Share on other sites

I tried to remove a "logic:notPresent" struts tag, and now it does not get an error (now it just seems not to load the css file).

 

I just wonder which could be the problem with that struts tag... I'll try something else.

Link to comment
Share on other sites

  • 2 weeks later...

I retried now, but same error.

 

The stack says "The full stack trace of the root cause is available in the Apache Tomcat/7.0.32 logs". Could you see anything related to it now (11/06/2013 12:01 GMT+1)?

 

Thank you

Link to comment
Share on other sites

I can't understand where is the problem.

 

When a couple of days ago I requested a deploy, Krydos replied "I've tried deploying this servlet for you three of four times now over the last couple days. I have no idea what the problem is but tomcat just hangs trying to load it. It can just sit there for an hour trying to deploy it and it never works". The change I'd done was to remove the "logic:notPresent" tag, substituting it with a forward conditioned by a java "if" in index.jsp, testing the presence in the session of a variable; I can't imagine that this change can make Tomcat crash. Do you see anything in the logs that can help in understanding where the problem could be?

 

Thank you

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...