This discussion is archived
3 Replies Latest reply: Jan 21, 2013 12:15 PM by Gautam Singh RSS

JumpServlet issue in migration to ATG 10.1

Grando Journeyer
Currently Being Moderated
Hi all,

I am doing migration from ATG 10.0.3 to 10.1 version. I am using JumpServlet component to convert some URLs, like browse/category.jsp, to other friendly URLs.
In version 10.0.3 it was working fine, but in 10.1 it is not loading any page with the friendly URL. See my log:
**** debug     /atg/dynamo/servlet/dafpipeline/JumpServlet     Start of Jump Servlet service method
**** debug     /atg/dynamo/servlet/dafpipeline/JumpServlet     Inbound URL=</store/home-accents/cat10016/>
**** debug     /atg/dynamo/servlet/dafpipeline/JumpServlet     Number of templates is <4>
**** debug     /atg/dynamo/servlet/dafpipeline/JumpServlet     forward url is <null>
**** debug     /atg/dynamo/servlet/dafpipeline/JumpServlet     forward url is <null>
**** debug     /atg/dynamo/servlet/dafpipeline/JumpServlet     forward url is <%2Fbrowse%2Fdepartment.jsp?categoryId=cat10016&itemType=department>
**** debug     /atg/dynamo/servlet/dafpipeline/JumpServlet     Got first matching URL
**** debug     /atg/dynamo/servlet/dafpipeline/JumpServlet     Template supports the browser type
**** debug     /atg/dynamo/servlet/dafpipeline/JumpServlet     Using exact match URL <%2Fbrowse%2Fdepartment.jsp?categoryId=cat10016&itemType=department>
**** debug     /atg/dynamo/servlet/dafpipeline/JumpServlet     Forwarding to URL <%2Fbrowse%2Fdepartment.jsp?categoryId=cat10016&itemType=department>
**** debug     /atg/dynamo/servlet/dafpipeline/JumpServlet     Start of Jump Servlet service method
**** debug     /atg/dynamo/servlet/dafpipeline/JumpServlet     Inbound URL=</store/home-accents/cat10016/%2Fbrowse%2Fdepartment.jsp>
**** debug     /atg/dynamo/servlet/dafpipeline/JumpServlet     Number of templates is <4>
**** debug     /atg/dynamo/servlet/dafpipeline/JumpServlet     forward url is <null>
**** debug     /atg/dynamo/servlet/dafpipeline/JumpServlet     forward url is </index.jsp?categoryId=%252Fbrowse%252Fdepartment.jsp&itemType=category>
**** debug     /atg/dynamo/servlet/dafpipeline/JumpServlet     Got first matching URL
**** debug     /atg/dynamo/servlet/dafpipeline/JumpServlet     Template supports the browser type
**** debug     /atg/dynamo/servlet/dafpipeline/JumpServlet     Using exact match URL </index.jsp?categoryId=%252Fbrowse%252Fdepartment.jsp&itemType=category>
**** debug     /atg/dynamo/servlet/dafpipeline/JumpServlet     Forwarding to URL </index.jsp?categoryId=%252Fbrowse%252Fdepartment.jsp&itemType=category>
**** debug     /atg/dynamo/servlet/dafpipeline/JumpServlet     End of Jump Servlet service method
**** debug     /atg/dynamo/servlet/dafpipeline/JumpServlet     End of Jump Servlet service method
It seems like the component is putting some code, like %2F, instead of / signal, and this is making problem in the URLs. But I don't have any idea to solve this issue.

Anyone can help me?

Thanks a lot
  • 1. Re: JumpServlet issue in migration to ATG 10.1
    Gautam Singh Journeyer
    Currently Being Moderated
    Can you copy paste content of URLTemplate component file? It would be something like CategoryDirectTemplate.properties or CategoryInDirectTemplate.properties.
  • 2. Re: JumpServlet issue in migration to ATG 10.1
    Grando Journeyer
    Currently Being Moderated
    Hi Gautam Singh,

    My DepartmentIndirectTemplate.properties file is:
    $class=atg.repository.seo.IndirectUrlTemplate
    # Url template format
    urlTemplateFormat=/store/{item.friendlyURL}/{item.id}/
    # Regex that matches above format
    indirectRegex=.*/store/[^/]*?/([^$].*?)(/$|\\?.*$|$)
    # Regex elements
    regexElementList=\
              item | id | /atg/commerce/catalog/ProductCatalog:category,\
              | |
    # Forward Url template
    forwardUrlTemplateFormat={item.template.url}?categoryId\={item.id}&itemType\=department
    # Web App registry
    defaultWebApp=/atg/registry/webappregistry/ATGCommerceReferenceStore
    # Supported Browser Types
    supportedBrowserTypes=\
         robot,\
         background-image,\
         bad-cacher,\
         checker,\
         cookie,\
         euc,\
         Emacs-W3,\
         file-upload,\
         font-sizer,\
         frames,\
         HotJava,\
         indexer,\
         inlinejpeg,\
         java,\
         javascript,\
         Lynx,\
         MSIE,\
         MSIE4,\
         MSIE5,\
         MSIE6,\
         MacOS,\
         Mosaic,\
         Mozilla,\
         Netscape,\
         Netscape4,\
         NonFunctionalXDC,\
         ssl,\
         server-push,\
         slurper,\
         tables,\
         Unix,\
         WML,\
         WebTV,\
         Win3X,\
         Win95,\
         WinNT,\
         Windows,\
         X11
    Any suggestion?

    Thanks a lot
  • 3. Re: JumpServlet issue in migration to ATG 10.1
    Gautam Singh Journeyer
    Currently Being Moderated
    The configuration looks good to me. Since as you said it was working with 10.0.3, I would recommend opening a case with Oracle support.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points