uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörn Kottmann (JIRA) <uima-...@incubator.apache.org>
Subject [jira] Commented: (UIMA-1328) deployAsyncService.sh causes Log4j FileNotFoundException
Date Wed, 15 Apr 2009 15:29:15 GMT

    [ https://issues.apache.org/jira/browse/UIMA-1328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12699240#action_12699240
] 

Jörn Kottmann commented on UIMA-1328:
-------------------------------------

I modified the setUimaClassPath.sh script to include a few jars of my uima-as AE. One of the
jars 
I added is log4j.jar, if it is on the class path the above exception is printed out.
Maybe this is related to the usage of commons-logging.

How are uima-as AEs usually deployed ? Using PEAR ?

> deployAsyncService.sh causes Log4j FileNotFoundException
> --------------------------------------------------------
>
>                 Key: UIMA-1328
>                 URL: https://issues.apache.org/jira/browse/UIMA-1328
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>    Affects Versions: 2.3AS
>         Environment: Ubuntu 8.10
>            Reporter: Jörn Kottmann
>
> The following exception is printed to the console during startup:
> bin/deployAsyncService.sh tagger/desc/Deploy_TextAnalysis.xml 
> >>> Setting defaultBrokerURL to:
> log4j:ERROR setFile(null,true) call failed.
> java.io.FileNotFoundException: /activemq-data/activemq.log (No such file or directory)
> 	at java.io.FileOutputStream.openAppend(Native Method)
> 	at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
> 	at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
> 	at org.apache.log4j.FileAppender.setFile(FileAppender.java:272)
> 	at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:156)
> 	at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:151)
> 	at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:247)
> 	at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:123)
> 	at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:87)
> 	at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:645)
> 	at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:603)
> 	at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:500)
> 	at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:406)
> 	at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:432)
> 	at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:460)
> 	at org.apache.log4j.LogManager.<clinit>(LogManager.java:113)
> 	at org.apache.log4j.Category.getInstance(Category.java:514)
> 	at org.apache.commons.logging.impl.Log4JCategoryLog.<init>(Log4JCategoryLog.java:100)
> 	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:513)
> 	at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:502)
> 	at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:285)
> 	at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:255)
> 	at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:381)
> 	at org.springframework.util.ClassUtils.<clinit>(ClassUtils.java:67)
> 	at org.springframework.core.io.DefaultResourceLoader.<init>(DefaultResourceLoader.java:52)
> 	at org.springframework.context.support.AbstractApplicationContext.<init>(AbstractApplicationContext.java:184)
> 	at org.springframework.context.support.AbstractRefreshableApplicationContext.<init>(AbstractRefreshableApplicationContext.java:80)
> 	at org.springframework.context.support.AbstractXmlApplicationContext.<init>(AbstractXmlApplicationContext.java:58)
> 	at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:91)
> 	at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:77)
> 	at org.apache.uima.adapter.jms.activemq.SpringContainerDeployer.deploy(SpringContainerDeployer.java:370)
> 	at org.apache.uima.adapter.jms.service.UIMA_Service.deploy(UIMA_Service.java:170)
> 	at org.apache.uima.adapter.jms.service.UIMA_Service.main(UIMA_Service.java:406)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message