facebook

Forwarding to a tiles definition fails in MyEclipse 6.0

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #274386 Reply

    Peter Scholz
    Member

    I have just moved a web project from MyEclipse-5.1 to MyEclipse-6.0.

    The migration was done by setting up a new project, since I wanted to swap from struts1.2 to 1.3. The project uses struts-tiles and all forwards for struts actions are forwards to tiles defintions.

    All worked well in MyEclipse-5.1 but now the Action complains about the forward:

    javax.servlet.ServletException: Path qintk.default does not start with a "/" character
        org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:286)
        org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
        org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        edu.yale.its.tp.cas.client.filter.CASFilter.doFilter(CASFilter.java:635)
    
    root cause
    
    java.lang.IllegalArgumentException: Path qintk.default does not start with a "/" character
        org.apache.struts.chain.commands.servlet.PerformForward.handleAsForward(PerformForward.java:107)
        org.apache.struts.chain.commands.servlet.PerformForward.perform(PerformForward.java:96)
        org.apache.struts.chain.commands.AbstractPerformForward.execute(AbstractPerformForward.java:54)
        org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
        org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
        org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:304)
        org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
        org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
        org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
        org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        edu.yale.its.tp.cas.client.filter.CASFilter.doFilter(CASFilter.java:635)
    
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.
    

    Configuration:

    
    *** Date: 
    Thursday, August 23, 2007 4:47:52 PM CEST
    
    ** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_11
    
    
    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 6.0.0 GA
    Build id: 6.0.0-GA-200708
    
    
    *** Eclipse details:
    MyEclipse Enterprise Workbench
    
    Version: 6.0.0 GA
    Build id: 6.0.0-GA-200708
    
    
    
    
    Eclipse Platform
    
    Version: 3.3.0.v20070612-_19UEkLEzwsdF9jSqQ-G
    Build id: I20070625-1500
    
    
    Eclipse RCP
    
    Version: 3.3.0.v20070607-8y8eE8NEbsN3X_fjWS8HPNG
    Build id: I20070625-1500
    
    
    Eclipse Java Development Tools
    
    Version: 3.3.0.v20070606-0010-7o7jCHEFpPoqQYvnXqejeR
    Build id: I20070625-1500
    
    
    Eclipse Plug-in Development Environment
    
    Version: 3.3.0.v20070607-7N7M-DUUEF6Ez0H46IcCC
    Build id: I20070625-1500
    
    
    Eclipse Project SDK
    
    Version: 3.3.0.v20070607-7M7J-BIolz-OcxWxvWAPSfLPqevO
    Build id: I20070625-1500
    
    
    Eclipse Graphical Editing Framework
    
    Version: 3.3.0.v20070620
    Build id: 20070620-1021
    
    
    
    
    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    D:\Programme\eclipse\MyEclipse-6.0\eclipse\eclipse.exe
    -name
    Eclipse
    --launcher.library
    D:\Programme\eclipse\MyEclipse-6.0\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.0.v20070523\eclipse_1017a.dll
    -startup
    D:\Programme\eclipse\MyEclipse-6.0\eclipse\plugins\org.eclipse.equinox.launcher_1.0.0.v20070606.jar
    -exitdata
    1e38_b4
    -vm
    D:\Programme\eclipse\MyEclipse-6.0\jre\bin\javaw.exe
    
    

    Log:

    
    !SESSION 2007-08-23 16:36:14.750 -----------------------------------------------
    eclipse.buildId=I20070625-1500
    java.version=1.5.0_11
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_DE
    Command-line arguments:  -os win32 -ws win32 -arch x86
    
    !ENTRY org.eclipse.wst.internet.cache 1 0 2007-08-23 16:36:25.953
    !MESSAGE wtp.autotest.noninteractive is set. Licenses dialogs will not be displayed.
    
    
    #274396 Reply

    Riyad Kalla
    Member

    Moving to OT > Soft Dev

    This is a Struts issue. Looks like how links are processed changed in Struts 1.3.

    Out of curiosity did you try and change the path in question to begin with “/”?

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Forwarding to a tiles definition fails in MyEclipse 6.0

You must be logged in to post in the forum log in