Bug #1476 (closed)
Opened 15 years ago
Closed 15 years ago
r5022 Importer: All files failing to import
Reported by: | wmoore | Owned by: | bwzloranger |
---|---|---|---|
Priority: | blocker | Cc: | jamoore |
Sprint: | n.a. | ||
Total Remaining Time: | n.a. |
Description (last modified by jmoore)
Just built server r5022
Got this when starting...
Then all files get status "failed" but with no popup for error notification and no reports in the "Import Errors" tab.
Also logs don't appear in the usual place (will/omero.importer.log)
JRS-Macbookpro-19203:~/Documents/workspace/Omero/dist will$ ../components/tools/OmeroImporter/target/importer-gui Starting OMERO.importer... Suitable java version found [java = 1.5.0_16] Configuring environment... Java exec found in PATH. Verifying... Loading OMERO.importer: java -Xmx256m -cp "./OmeroImporter.jar:./libs/TableLayout.jar:./libs/asm-attrs.jar:./libs/asm.jar:./libs/bio-formats.jar:./libs/bufr.jar:./libs/cglib.jar:./libs/commons-codec.jar:./libs/commons-collections.jar:./libs/commons-httpclient.jar:./libs/commons-io.jar:./libs/commons-logging.jar:./libs/grib.jar:./libs/hsqldb.jar:./libs/ini4j.jar:./libs/java-getopt.jar:./libs/loci-common.jar:./libs/log4j.jar:./libs/mdbtools-java.jar:./libs/netcdf.jar:./libs/ome-java.jar:./libs/ome-xml.jar:./libs/omero-clients-util.jar:./libs/omero_client.jar:./libs/poi-loci.jar:./libs/slf4j-api.jar:./libs/slf4j-log4j12.jar:./libs/spring.jar:./libs/swingx.jar" -Djava.library.path="/Users/will/Documents/workspace/Omero/components/tools/OmeroImporter/target" ome.formats.importer.gui.GuiImporter CoreGraphics server version 258.0 not compatible with client version 258.85; log out or reboot needed log4j:ERROR Could not instantiate class [ome.formats.importer.LogAppenderProxy]. java.lang.ClassNotFoundException: ome.formats.importer.LogAppenderProxy at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) at org.apache.log4j.helpers.Loader.loadClass(Loader.java:178) at org.apache.log4j.helpers.OptionConverter.instantiateByClassName(OptionConverter.java:319) at org.apache.log4j.helpers.OptionConverter.instantiateByKey(OptionConverter.java:120) at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:629) at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:612) at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:509) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:415) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:441) at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:470) at org.apache.log4j.LogManager.<clinit>(LogManager.java:122) at org.apache.log4j.Logger.getLogger(Logger.java:104) at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:289) at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:109) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at org.apache.commons.logging.impl.LogFactoryImpl.createLogFromClass(LogFactoryImpl.java:1116) at org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:914) at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:604) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:336) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:310) at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:685) at ome.formats.importer.gui.GuiImporter.<clinit>(GuiImporter.java:87) log4j:ERROR Could not instantiate appender named "stdout". log4j:WARN No appenders could be found for logger (ome.system.PreferenceContext). log4j:WARN Please initialize the log4j system properly. apple.laf.AquaLookAndFeel not supported.
Change History (3)
comment:1 Changed 15 years ago by jmoore
- Cc josh.moore@… added
- Description modified (diff)
- Owner changed from brain, jmoore to bwzloranger
- Type changed from User Story to defect
comment:2 Changed 15 years ago by jmoore
re: logging see #1479. Should be working now. (logs in ~/omero/log/importer.log)
comment:3 Changed 15 years ago by wmoore
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
I committed a fix for the class not found just now (r5026). I only thought I had committed this morning (it was in my git on necromancer). Will, if you want you can try rebuilding the importer (nothing changed on the server). Also, as a general rule of thumb for the moment as we get the GUI bugs sorted out, please also try the command line importer if you have any problems.