jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Continuum
  • CONTINUUM-1907

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

  • Log In
  • Views
    • XML
    • Word
    • Printable

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

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...

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Text File
    2008_10_02.stderrout.log
    02/Oct/08 3:31 PM
    136 kB
    Olivier Lamy

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Olivier Lamy added a comment - 01/Oct/08 4:16 PM

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 - 01/Oct/08 4:16 PM 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
Permalink
Olivier Lamy added a comment - 01/Oct/08 4:42 PM

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

Show
Olivier Lamy added a comment - 01/Oct/08 4:42 PM fixed rev 700936 in 1.2.x branch merged in rev 700938
Hide
Permalink
Olivier Lamy added a comment - 01/Oct/08 5:10 PM

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

Show
Olivier Lamy added a comment - 01/Oct/08 5:10 PM reopened as the jetty bundle doesn't start on solaris. argh !
Hide
Permalink
Olivier Lamy added a comment - 02/Oct/08 3:31 PM

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

Show
Olivier Lamy added a comment - 02/Oct/08 3:31 PM Attach log. wrapper failed on a solaris env. Here I don't really know why ??
Hide
Permalink
Olivier Lamy added a comment - 21/Oct/08 11:32 AM

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 - 21/Oct/08 11:32 AM 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
Vote (0)
Watch (0)

Dates

  • Created:
    01/Oct/08 3:05 AM
    Updated:
    21/Oct/08 11:32 AM
    Resolved:
    21/Oct/08 11:32 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.