• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Struts app gets exception only while debugging

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello All,

I have a small Struts app that I'm developing using RAD6. When I run it in debug mode, I always get a java.lang.IllegalArgumentException. The debugger seems to object to an included jsp file. The puzzling thing is that it runs OK when not in debug mode. Can anyone tell me what's going on here? Here's the error:

ServletWrappe A SRVE0242I: [/maint7.jsp]: Initialization successful.
[4/26/05 9:10:13:138 EDT] 00000036 WebApp E SRVE0026E: [Servlet Error]-[inputFileName: msg7.jsp]: java.lang.IllegalArgumentException: inputFileName: msg7.jsp
at com.ibm.ws.jsp.translator.utils.SmapStratum.addLineData(SmapStratum.java:193)
at com.ibm.ws.jsp.translator.visitor.smap.SmapVisitor.visitCustomTagStart(SmapVisitor.java:151)
at com.ibm.ws.jsp.translator.visitor.JspVisitor.processJspElement(JspVisitor.java:253)
at com.ibm.ws.jsp.translator.visitor.JspVisitor.processChildren(JspVisitor.java:286)
at com.ibm.ws.jsp.translator.visitor.JspVisitor.processJspElement(JspVisitor.java:254)
at com.ibm.ws.jsp.translator.visitor.JspVisitor.processChildren(JspVisitor.java:286)
at com.ibm.ws.jsp.translator.visitor.JspVisitor.processJspElement(JspVisitor.java:125)
at com.ibm.ws.jsp.translator.visitor.JspVisitor.visit(JspVisitor.java:110)
at com.ibm.ws.jsp.translator.JspTranslator.processVisitors(JspTranslator.java:121)
at com.ibm.ws.jsp.translator.utils.JspTranslatorUtil.translateJsp(JspTranslatorUtil.java:168)
at com.ibm.ws.jsp.translator.utils.JspTranslatorUtil.translateJspAndCompile(JspTranslatorUtil.java:81)
at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.translateJsp(JSPExtensionServletWrapper.java:298)
at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.checkForTranslation(JSPExtensionServletWrapper.java:265)
at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java:137)
at com.ibm.ws.jsp.webcontainerext.JSPExtensionProcessor.handleRequest(JSPExtensionProcessor.java:230)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2837)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220)
at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1681)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:276)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:201)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:103)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)

[4/26/05 9:10:14:280 EDT] 00000039 ServletWrappe A SRVE0242I: [/header1.jsp]: Initialization successful.

Here is an excerpt from "maint7.jsp":


<FRAMESET ID="myFrame" ROWS="155,*">
<FRAME ID="header1" NAME="header1" SRC="header1.jsp" bordercolor="blue" SCROLLING=NO FRAMEBORDER=0 MARGINHEIGHT=15 MARGINWIDTH=15>
<FRAME ID="body71" NAME="body71" SRC="body71.jsp" bordercolor="blue" NORESIZE SCROLLING=YES FRAMEBORDER=0 MARGINHEIGHT=15 MARGINWIDTH=15>
</FRAMESET>


Here is an excerpt from "body7.jsp":

<%@ include file="nav7.jsp" %>
<%@ include file="msg7.jsp" %>
 
Cliff Edwards
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry my html code was filtered out. Here's what is in maint7.jsp, more or less.

FRAMESET ID="myFrame" ROWS="155,*"

FRAME ID="header1" NAME="header1" SRC="header1.jsp" bordercolor="blue" SCROLLING=NO FRAMEBORDER=0 MARGINHEIGHT=15 MARGINWIDTH=15
FRAME ID="body71" NAME="body71" SRC="body71.jsp" bordercolor="blue" NORESIZE SCROLLING=YES FRAMEBORDER=0 MARGINHEIGHT=15 MARGINWIDTH=15

FRAMESET
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic