Continuum
  1. Continuum
  2. CONTINUUM-1907

wrapper.conf strange defect with %PWD%/..

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.2.1
    • Component/s: Jetty Bundle
    • Labels:
      None
    • Environment:
      Windows, LDAP connection
    • Complexity:
      Intermediate
    • Number of attachments :
      1

      Description

      I have LDAP connection and I get this error in stderr:

      148000 [btpool0-5] WARN org.apache.commons.configuration.DefaultConfigurationBuilder - Internal error org.apache.commons.configuration.ConfigurationException: URLDecoder:
      Illegal hex characters in escape (%) pattern - For input string: "PW" at...

      Finally, I changed this line in wrapper.conf:

      set.default.APP_BASE=%PWD%/..

      To this one:

      set.default.APP_BASE=c:/apache/continuum

      Now it has absolute path, and it works.

      I think that it's a defect...

        Activity

        Hide
        Olivier Lamy added a comment -

        We have here a weird issue.
        the bundle can't start. My logs says :

        10548 [WrapperSimpleAppMain] INFO org.mortbay.log - Started SelectChannelConnect
        or@0.0.0.0:8080
        java.lang.IllegalArgumentException
                at sun.net.www.ParseUtil.decode(Unknown Source)
                at sun.misc.URLClassPath$FileLoader.<init>(Unknown Source)
                at sun.misc.URLClassPath$3.run(Unknown Source)
                at java.security.AccessController.doPrivileged(Native Method)
                at sun.misc.URLClassPath.getLoader(Unknown Source)
                at sun.misc.URLClassPath.getLoader(Unknown Source)
                at sun.misc.URLClassPath.findResource(Unknown Source)
                at java.net.URLClassLoader$2.run(Unknown Source)
                at java.security.AccessController.doPrivileged(Native Method)
                at java.net.URLClassLoader.findResource(Unknown Source)
                at org.apache.jasper.servlet.JasperLoader.getResourceAsStream(JasperLoad
        

        changing the wrapper.conf manually fix the issue.

        Show
        Olivier Lamy added a comment - We have here a weird issue. the bundle can't start. My logs says : 10548 [WrapperSimpleAppMain] INFO org.mortbay.log - Started SelectChannelConnect or@0.0.0.0:8080 java.lang.IllegalArgumentException at sun.net.www.ParseUtil.decode(Unknown Source) at sun.misc.URLClassPath$FileLoader.<init>(Unknown Source) at sun.misc.URLClassPath$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.misc.URLClassPath.getLoader(Unknown Source) at sun.misc.URLClassPath.getLoader(Unknown Source) at sun.misc.URLClassPath.findResource(Unknown Source) at java.net.URLClassLoader$2.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findResource(Unknown Source) at org.apache.jasper.servlet.JasperLoader.getResourceAsStream(JasperLoad changing the wrapper.conf manually fix the issue.
        Hide
        Olivier Lamy added a comment -

        fixed rev 700936 in 1.2.x branch
        merged in rev 700938

        Show
        Olivier Lamy added a comment - fixed rev 700936 in 1.2.x branch merged in rev 700938
        Hide
        Olivier Lamy added a comment -

        reopened as the jetty bundle doesn't start on solaris.
        argh !

        Show
        Olivier Lamy added a comment - reopened as the jetty bundle doesn't start on solaris. argh !
        Hide
        Olivier Lamy added a comment -

        Attach log. wrapper failed on a solaris env.
        Here I don't really know why ??

        Show
        Olivier Lamy added a comment - Attach log. wrapper failed on a solaris env. Here I don't really know why ??
        Hide
        Olivier Lamy added a comment -

        I close it because the jetty bundle works fine for zip one on solaris.
        It looks there is an issue with the tar.gz and the solaris tar xf cli :

        tar: ././@LongLink: typeflag 'L' not recognized, converting to regular file
        tar: ././@LongLink: typeflag 'L' not recognized, converting to regular file
        tar: ././@LongLink: typeflag 'L' not recognized, converting to regular file
        tar: ././@LongLink: typeflag 'L' not recognized, converting to regular file
        tar: ././@LongLink: typeflag 'L' not recognized, converting to regular file
        tar: ././@LongLink: typeflag 'L' not recognized, converting to regular file
        tar: ././@LongLink: typeflag 'L' not recognized, converting to regular file
        tar: ././@LongLink: typeflag 'L' not recognized, converting to regular file
        

        Using /usr/sfw/bin/gtar xf apache-continuum-1.2.1-SNAPSHOT-bin.tar works better and I can start continuum.

        Show
        Olivier Lamy added a comment - I close it because the jetty bundle works fine for zip one on solaris. It looks there is an issue with the tar.gz and the solaris tar xf cli : tar: ././@LongLink: typeflag 'L' not recognized, converting to regular file tar: ././@LongLink: typeflag 'L' not recognized, converting to regular file tar: ././@LongLink: typeflag 'L' not recognized, converting to regular file tar: ././@LongLink: typeflag 'L' not recognized, converting to regular file tar: ././@LongLink: typeflag 'L' not recognized, converting to regular file tar: ././@LongLink: typeflag 'L' not recognized, converting to regular file tar: ././@LongLink: typeflag 'L' not recognized, converting to regular file tar: ././@LongLink: typeflag 'L' not recognized, converting to regular file Using /usr/sfw/bin/gtar xf apache-continuum-1.2.1-SNAPSHOT-bin.tar works better and I can start continuum.

          People

          • Assignee:
            Olivier Lamy
            Reporter:
            Jimmy Conway
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: