Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 381557 - net-nds/jxplorer-3.2 fails to start (error parsing config file)
Summary: net-nds/jxplorer-3.2 fails to start (error parsing config file)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Low minor (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-02 11:20 UTC by Johannes Geiss
Modified: 2011-10-19 16:38 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
jxplorer-3.2.ebuild patch to include attached patch. (jxplorer-3.2.ebuild.patch,597 bytes, patch)
2011-09-19 15:41 UTC, John Crist
Details | Diff
Patch for jxconfig.txt (jxconfig.patch,506 bytes, patch)
2011-09-19 15:41 UTC, John Crist
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Geiss 2011-09-02 11:20:55 UTC
The java application net-nds/jxplorer-3.2 fails at startup with an error message:
Cannot parse this name: UNUSED

The configuration files are at default state (freshly installed).

This error message can be avoided by setting the log level to 1 in file .jxplorer/jxconfig.txt:
com.ca.level=1


Reproducible: Always

Steps to Reproduce:
1. Start application (error can be seen in the console/xterm/etc.): jxplorer

Actual Results:  
mkdir: created directory `/home/jgeiss/.jxplorer'
`/usr/share/jxplorer//connections.txt' -> `/home/jgeiss/.jxplorer/connections.txt'
`/home/jgeiss/.jxplorer/htmldocs' -> `/usr/share/jxplorer//htmldocs'
`/home/jgeiss/.jxplorer/icons' -> `/usr/share/jxplorer//icons'
`/home/jgeiss/.jxplorer/images' -> `/usr/share/jxplorer//images'
`/home/jgeiss/.jxplorer/templates' -> `/usr/share/jxplorer//templates'
Jun 8, 2011 9:18:08 PM com.ca.directory.jxplorer.JXplorer printTime
INFO: main start
TIME: Wed Jun 08 21:18:07 CEST 2011 (728)

Jun 8, 2011 9:18:08 PM com.ca.directory.jxplorer.JXplorer checkJavaEnvironment
INFO: running java from: /opt/ibm-jdk-bin-1.6.0.9_p1/jre
Jun 8, 2011 9:18:08 PM com.ca.directory.jxplorer.JXplorer checkJavaEnvironment
INFO: running java version 1.6.0
Jun 8, 2011 9:18:12 PM com.ca.commons.cbutil.CBUtility readPropertyFile
WARNING: No property list:
/home/jgeiss/.jxplorer/jxconfig.txt
Jun 8, 2011 9:18:12 PM com.ca.directory.jxplorer.JXplorer setupLogger
INFO: setting up logger
Exception in thread "main" java.lang.IllegalArgumentException: Cannot parse this name: UNUSED
        at java.util.logging.Level.parse(Level.java:146)
        at java.util.logging.LogManager.readConfigurationImpl(LogManager.java:526)
        at java.util.logging.LogManager.readConfiguration(LogManager.java:549)
        at com.ca.directory.jxplorer.JXplorer.setupLogger(Unknown Source)
        at com.ca.directory.jxplorer.JXplorer.<init>(Unknown Source)
        at com.ca.directory.jxplorer.JXplorer.main(Unknown Source)


Expected Results:  
No error and correct starting jxplorer.
Comment 1 John Crist 2011-09-19 15:41:10 UTC
Created attachment 287009 [details, diff]
jxplorer-3.2.ebuild patch to include attached patch.

ebuild patch attached to include jxconfig.txt patch
Comment 2 John Crist 2011-09-19 15:41:50 UTC
Created attachment 287011 [details, diff]
Patch for jxconfig.txt

jxconfig.txt patch to change UNUSED to WARNING
Comment 3 John Crist 2011-09-19 15:42:14 UTC
Also did an EAPI bump to 4 for posterity.
Comment 4 Miroslav Šulc gentoo-dev 2011-10-19 16:38:29 UTC
*jxplorer-3.2-r1 (19 Oct 2011)

  19 Oct 2011; Miroslav Šulc <fordfrog@gentoo.org>
  +files/3.2-com.ca.level.patch, +jxplorer-3.2-r1.ebuild:
  Fixed startup exception complaining about bad logging level (bug #381557,
  based on patches from John Crist <johncrist88@gmail.com>)