You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by PeteLes <pi...@promutuel.ca> on 2007/07/26 16:18:28 UTC
Re: deliverychannel closed due to log4j issue
Insure that you're starting servicemix from servicemix home directory e.g.
servicemix_home> bin\servicemix.bat
-- Pete
tterm wrote:
>
> Agree with Gert.
>
> You see this because the log task is trying every minute to open the
> log4j.xml
> file but it will always be closed again. That's the reason why you can see
> this
> every minute.
>
> Cheers,
> Thomas
>
> Zitat von Gert Vanthienen <ge...@skynet.be>:
>
>> -los,
>>
>>
>> If you are running ServiceMix on Linux or something alike, you might try
>> lsof to view which files are being openen by ServiceMix. I have no idea
>> how to do the same thing on a Windows machine...
>>
>> On any platform, it might be worthwhile to connect to ServiceMix with
>> jconsole (or another JMX console) to see if the number of threads is
>> growing (and if so, which kind of threads). Perhaps it's not the
>> LogTask that opens up too many files, but some other component is
>> causing the problems.
>>
>>
>> Gert
>>
>> moraleslos wrote:
>> > I'm running into an issue where SMX shuts down my jbi components.
>> Looking
>> at
>> > the log files, I'm seeing that SMX is trying to open log4j.xml and then
>> > immediately shuts down:
>> >
>> > ***********************************************************
>> > 2007-06-06 04:14:59,896 | ERROR | Timer-23 | LogTask
>> |
>> > servicemix.jbi.logging.LogTask 61 | java.io.FileNotFoundException:
>> > conf/log4j.xml (Too many open files)
>> > 2007-06-06 04:15:59,901 | ERROR | Timer-23 | LogTask
>> |
>> > servicemix.jbi.logging.LogTask 61 | java.io.FileNotFoundException:
>> > conf/log4j.xml (Too many open files)
>> > 2007-06-06 04:16:59,906 | ERROR | Timer-23 | LogTask
>> |
>> > servicemix.jbi.logging.LogTask 61 | java.io.FileNotFoundException:
>> > conf/log4j.xml (Too many open files)
>> > 2007-06-06 04:17:59,910 | ERROR | Timer-23 | LogTask
>> |
>> > servicemix.jbi.logging.LogTask 61 | java.io.FileNotFoundException:
>> > conf/log4j.xml (Too many open files)
>> > 2007-06-06 04:18:59,915 | ERROR | Timer-23 | LogTask
>> |
>> > servicemix.jbi.logging.LogTask 61 | java.io.FileNotFoundException:
>> > conf/log4j.xml (Too many open files)
>> > 2007-06-06 04:19:59,918 | ERROR | Timer-23 | LogTask
>> |
>> > servicemix.jbi.logging.LogTask 61 | java.io.FileNotFoundException:
>> > conf/log4j.xml (Too many open files)
>> > 2007-06-06 04:20:59,922 | ERROR | Timer-23 | LogTask
>> |
>> > servicemix.jbi.logging.LogTask 61 | java.io.FileNotFoundException:
>> > conf/log4j.xml (Too many open files)
>> > 2007-06-06 04:21:59,927 | ERROR | Timer-23 | LogTask
>> |
>> > servicemix.jbi.logging.LogTask 61 | java.io.FileNotFoundException:
>> > conf/log4j.xml (Too many open files)
>> > 2007-06-06 04:22:59,931 | ERROR | Timer-23 | LogTask
>> |
>> > servicemix.jbi.logging.LogTask 61 | java.io.FileNotFoundException:
>> > conf/log4j.xml (Too many open files)
>> > 2007-06-06 04:23:59,936 | ERROR | Timer-23 | LogTask
>> |
>> > servicemix.jbi.logging.LogTask 61 | java.io.FileNotFoundException:
>> > conf/log4j.xml (Too many open files)
>> > 2007-06-06 04:24:59,942 | ERROR | Timer-23 | LogTask
>> |
>> > servicemix.jbi.logging.LogTask 61 | java.io.FileNotFoundException:
>> > conf/log4j.xml (Too many open files)
>> > 2007-06-06 04:25:59,947 | ERROR | Timer-23 | LogTask
>> |
>> > servicemix.jbi.logging.LogTask 61 | java.io.FileNotFoundException:
>> > conf/log4j.xml (Too many open files)
>> > 2007-06-06 04:26:59,951 | ERROR | Timer-23 | LogTask
>> |
>> > servicemix.jbi.logging.LogTask 61 | java.io.FileNotFoundException:
>> > conf/log4j.xml (Too many open files)
>> > 2007-06-06 04:27:59,956 | ERROR | Timer-23 | LogTask
>> |
>> > servicemix.jbi.logging.LogTask 61 | java.io.FileNotFoundException:
>> > conf/log4j.xml (Too many open files)
>> > 2007-06-06 04:28:59,962 | ERROR | Timer-23 | LogTask
>> |
>> > servicemix.jbi.logging.LogTask 61 | java.io.FileNotFoundException:
>> > conf/log4j.xml (Too many open files)
>> > 2007-06-06 04:29:59,967 | ERROR | Timer-23 | LogTask
>> |
>> > servicemix.jbi.logging.LogTask 61 | java.io.FileNotFoundException:
>> > conf/log4j.xml (Too many open files)
>> > 2007-06-06 04:30:59,971 | ERROR | Timer-23 | LogTask
>> |
>> > servicemix.jbi.logging.LogTask 61 | java.io.FileNotFoundException:
>> > conf/log4j.xml (Too many open files)
>> > 2007-06-06 04:31:59,975 | ERROR | Timer-23 | LogTask
>> |
>> > servicemix.jbi.logging.LogTask 61 | java.io.FileNotFoundException:
>> > conf/log4j.xml (Too many open files)
>> > 2007-06-06 04:32:59,980 | ERROR | Timer-23 | LogTask
>> |
>> > servicemix.jbi.logging.LogTask 61 | java.io.FileNotFoundException:
>> > conf/log4j.xml (Too many open files)
>> > 2007-06-06 04:33:59,985 | ERROR | Timer-23 | LogTask
>> |
>> > servicemix.jbi.logging.LogTask 61 | java.io.FileNotFoundException:
>> > conf/log4j.xml (Too many open files)
>> > 2007-06-06 04:34:59,989 | ERROR | Timer-23 | LogTask
>> |
>> > servicemix.jbi.logging.LogTask 61 | java.io.FileNotFoundException:
>> > conf/log4j.xml (Too many open files)
>> > 2007-06-06 04:35:59,994 | ERROR | Timer-23 | LogTask
>> |
>> > servicemix.jbi.logging.LogTask 61 | java.io.FileNotFoundException:
>> > conf/log4j.xml (Too many open files)
>> > 2007-06-06 13:41:33,908 | INFO | main | JBIContainer
>> |
>> > mix.jbi.container.JBIContainer 908 | Deactivating component
>> > #SubscriptionManager#
>> > 2007-06-06 13:41:33,910 | ERROR | pool-flow.seda.userWriter-thread-25 |
>> > UserWriter | ponents.file.UserWriter 189 |
>> > javax.jbi.messaging.MessagingException: java.lang.InterruptedException
>> > 2007-06-06 13:41:33,916 | ERROR | pool-flow.seda.userWriter-thread-25 |
>> > SedaQueue | .jbi.nmr.flow.seda.SedaQueue$1 137 |
>> > org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@c6973e got error
>> > processing InOnly[
>> > id: ID:homer2-45079-1179774166854-10:238
>> > status: Error
>> > role: provider
>> > service: {http://afgen.test.com}userWriter
>> > endpoint: userWriter
>> > in: null
>> > error: javax.jbi.messaging.MessagingException:
>> DeliveryChannel{userWriter}
>> > has been closed.
>> > ]
>> > javax.jbi.messaging.MessagingException: DeliveryChannel{userWriter} has
>> been
>> > closed.
>> > at
>> >
>>
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.checkNotClosed(DeliveryChannelImpl.java:138)
>> > at
>> >
>>
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.send(DeliveryChannelImpl.java:408)
>> > at
>> >
>> org.apache.servicemix.components.util.PojoSupport.fail(PojoSupport.java:244)
>> > at
>> >
>>
> org.apache.servicemix.components.util.OutBinding.onMessageExchange(OutBinding.java:55)
>> > at
>> >
>>
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:593)
>> > at
>> >
>>
> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:174)
>> > at
>> >
>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:176)
>> > at
>> >
>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>> > at
>> >
>>
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
>> > at
>> >
>>
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
>> > at java.lang.Thread.run(Thread.java:619)
>> > ******************************************************************
>> >
>> >
>> > Not sure why SMX would shut down if it can't open the log4j config nor
>> why
>> > there are so many files open to begin with. Any ideas on how to debug
>> this
>> > issue would be appreciated. Thanks in advance!
>> >
>> > -los
>>
>
>
>
>
--
View this message in context: http://www.nabble.com/deliverychannel-closed-due-to-log4j-issue-tf3879016s12049.html#a11811496
Sent from the ServiceMix - User mailing list archive at Nabble.com.