Skip to Content.
Sympa Menu

illinois-ml-nlp-users - Re: [Illinois-ml-nlp-users] Error while running startServers.sh (Curator)

illinois-ml-nlp-users AT lists.cs.illinois.edu

Subject: Support for users of CCG software closed 7-27-20

List archive

Re: [Illinois-ml-nlp-users] Error while running startServers.sh (Curator)


Chronological Thread 
  • From: Labhesh <labhesh AT gmail.com>
  • To: "Sammons, Mark" <mssammon AT illinois.edu>
  • Cc: "illinois-ml-nlp-users AT cs.uiuc.edu" <illinois-ml-nlp-users AT cs.uiuc.edu>
  • Subject: Re: [Illinois-ml-nlp-users] Error while running startServers.sh (Curator)
  • Date: Fri, 14 Mar 2014 11:07:53 -0700
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/illinois-ml-nlp-users/>
  • List-id: Support for users of CCG software <illinois-ml-nlp-users.cs.uiuc.edu>

Here's the output from the command:

[root@ip-10-146-255-16 dist]# bin/illinois-lemmatizer-server.sh -p 16015 

bin/illinois-lemmatizer-server.sh: running command 'java -cp /root/curator-1.0.6/dist:/root/curator-1.0.6/dist/components/illinois-lemmatizer-server.jar:/root/curator-1.0.6/dist/components/curator-interfaces.jar:/root/curator-1.0.6/dist:/root/curator-1.0.6/dist/components/illinois-abstract-server.jar:/root/curator-1.0.6/dist/lib/illinois-lemmatizer-0.0.3.jar:/root/curator-1.0.6/dist/lib/commons-cli-1.2.jar:/root/curator-1.0.6/dist/lib/commons-lang-2.5.jar:/root/curator-1.0.6/dist/lib/commons-logging-1.1.1.jar:/root/curator-1.0.6/dist/lib/libthrift-0.8.0.jar:/root/curator-1.0.6/dist/lib/logback-classic-0.9.17.jar:/root/curator-1.0.6/dist/lib/logback-core-0.9.17.jar:/root/curator-1.0.6/dist/lib/slf4j-api-1.5.8.jar:/root/curator-1.0.6/dist/lib/coreUtilities-0.1.6.jar:/root/curator-1.0.6/dist/lib/edison-0.4.jar:/root/curator-1.0.6/dist/lib/lucene-snowball-3.0.3.jar:/root/curator-1.0.6/dist/lib/lucene-analyzers-common-4.1.0.jar:/root/curator-1.0.6/dist/lib/cogcomp-common-resources-1.2.jar:/root/curator-1.0.6/dist/lib/jwnl-1.4_rc3.jar:/root/curator-1.0.6/dist/lib/snowball-1.0.jar:/root/curator-1.0.6/dist/configs -Dhome=/root/curator-1.0.6/dist -Xmx512m edu.illinois.cs.cogcomp.annotation.server.IllinoisLemmatizerServer -p 16015'...

17:40:35,248 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]

17:40:35,248 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/root/curator-1.0.6/dist/logback.xml]

17:40:35,605 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set

17:40:35,606 |-INFO in ch.qos.logback.classic.turbo.ReconfigureOnChangeFilter@7c520467 - Will scan for changes in file [/root/curator-1.0.6/dist/logback.xml] every 60 seconds. 

17:40:35,606 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - Adding ReconfigureOnChangeFilter as a turbo filter

17:40:35,606 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]

17:40:35,609 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]

17:40:35,795 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing component [layout] on top of the object stack.

17:40:36,100 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Popping appender named [STDOUT] from the object stack

17:40:36,100 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]

17:40:36,102 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [FILE]

17:40:36,116 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing component [rollingPolicy] on top of the object stack.

17:40:36,129 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - No compression will be used

17:40:36,132 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - Will use the pattern logs/dated/HOSTNAME_IS_UNDEFINED-servers.%d{yyyy-MM-dd}.log for the active file

17:40:36,138 |-INFO in ch.qos.logback.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy@6c9f45f4 - The date pattern is 'yyyy-MM-dd' from file name pattern 'logs/dated/HOSTNAME_IS_UNDEFINED-servers.%d{yyyy-MM-dd}.log'.

17:40:36,138 |-INFO in ch.qos.logback.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy@6c9f45f4 - Roll-over at midnight.

17:40:36,139 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing component [layout] on top of the object stack.

17:40:36,141 |-WARN in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - Setting "File" property to null on account of prudent mode

17:40:36,141 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - Active log file name: logs/dated/HOSTNAME_IS_UNDEFINED-servers.2014-03-14.log

17:40:36,141 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - File property is set to [null]

17:40:36,167 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Popping appender named [FILE] from the object stack

17:40:36,167 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to INFO

17:40:36,167 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]

17:40:36,205 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [FILE] to Logger[ROOT]


Exception in thread "main" java.lang.NoClassDefFoundError: edu/illinois/cs/cogcomp/core/utilities/ResourceManager

at edu.illinois.cs.cogcomp.annotation.handler.IllinoisLemmatizerHandler.<init>(IllinoisLemmatizerHandler.java:40)

at edu.illinois.cs.cogcomp.annotation.server.IllinoisLemmatizerServer.main(IllinoisLemmatizerServer.java:53)

Caused by: java.lang.ClassNotFoundException: edu.illinois.cs.cogcomp.core.utilities.ResourceManager

at java.net.URLClassLoader$1.run(URLClassLoader.java:366)

at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

at java.lang.ClassLoader.loadClass(ClassLoader.java:425)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)

at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

... 2 more



And here are the coreUtilities.jar versions:

[root@ip-10-146-255-16 lib]# ls core*

coreUtilities-0.1.1.jar  coreUtilities-0.1.4.jar

coreUtilities-0.1.2.jar  coreUtilities-0.1.7.jar


As such, the jar file pointed to by the java -cp command doesn't seem to exist. 

Here's what I tried. I went inside the illinois-lemmatizer-server.sh  and changed it to look for coreUtilities-0.1.7.jar instead.



Upon running the server again, it bombed at a different place:

Exception in thread "main" java.lang.NoClassDefFoundError: edu/illinois/cs/cogcomp/nlp/lemmatizer/AugmentedLemmatizer

at edu.illinois.cs.cogcomp.annotation.handler.IllinoisLemmatizerHandler.<init>(IllinoisLemmatizerHandler.java:50)

at edu.illinois.cs.cogcomp.annotation.handler.IllinoisLemmatizerHandler.<init>(IllinoisLemmatizerHandler.java:40)

at edu.illinois.cs.cogcomp.annotation.server.IllinoisLemmatizerServer.main(IllinoisLemmatizerServer.java:53)

Caused by: java.lang.ClassNotFoundException: edu.illinois.cs.cogcomp.nlp.lemmatizer.AugmentedLemmatizer

at java.net.URLClassLoader$1.run(URLClassLoader.java:366)

at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

at java.lang.ClassLoader.loadClass(ClassLoader.java:425)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)

at java.lang.ClassLoader.loadClass(ClassLoader.java:358)


Would appreciate help on how to proceed.





On Fri, Mar 14, 2014 at 10:28 AM, Sammons, Mark <mssammon AT illinois.edu> wrote:
Hi, Labesh.

Please cd to the curator/dist/ directory and run the command

$   bin/illinois-lemmatizer-server.sh -p 16015

-- it should print the command being executed, including the classpath.

Please also look in the curator/dist/lib/ directory and check which versions of coreUtilities it contains and let me know.

Thanks,

Mark


From: illinois-ml-nlp-users-bounces AT cs.uiuc.edu [illinois-ml-nlp-users-bounces AT cs.uiuc.edu] on behalf of Labhesh [labhesh AT gmail.com]
Sent: Friday, March 14, 2014 4:18 AM
To: illinois-ml-nlp-users AT cs.uiuc.edu
Subject: [Illinois-ml-nlp-users] Error while running startServers.sh (Curator)

When I am running startServers.sh after building everything, I am getting the following error from one of the services:

Exception in thread "main" java.lang.NoClassDefFoundError: edu/illinois/cs/cogcomp/core/utilities/ResourceManager

at edu.illinois.cs.cogcomp.annotation.handler.IllinoisLemmatizerHandler.<init>(IllinoisLemmatizerHandler.java:40)

at edu.illinois.cs.cogcomp.annotation.server.IllinoisLemmatizerServer.main(IllinoisLemmatizerServer.java:53)

Caused by: java.lang.ClassNotFoundException: edu.illinois.cs.cogcomp.core.utilities.ResourceManager

at java.net.URLClassLoader$1.run(URLClassLoader.java:366)

at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

at java.lang.ClassLoader.loadClass(ClassLoader.java:425)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)

at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

... 2 more



I am running everything on one extra large instance on AWS (34GB RAM). All the services have been started with default parameters .

Any help would be appreciated.






Archive powered by MHonArc 2.6.16.

Top of Page