You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by Marshall Schor <ms...@schor.com> on 2008/03/10 04:23:58 UTC
[UIMA-AS] after many fixes, almost have the binary distr working,
but getting a port number out of range error
I start a broker, then
set UIMA_HOME
set PATH to include %UIMA_HOME%\bin
run adjustExamplePaths
cd %UIMA_HOME%\examples\deploy\as
copy ..\..\descriptors\collection_reader\FileSystemCollectionReader.xml .
runRemoteAsyncAE tcp://localhost:61616 MeetingDetectorTaeQueue -d
Deploy_MeetingDetectorTAE.xml -c FileSystemCollectionReader.xml
This gives the error:
C:\apache-uima-as\examples\deploy\as>runRemoteAsyncAE
tcp://localhost61616 MeetingDetectorTaeQueue -d
Deploy_MeetingDetectorTAE.xml -c FileSystemCollectionReader.xml
Attempting to deploy Deploy_MeetingDetectorTAE.xml ...
Got MBeanServer Started
CasManager Iniatialized Cas Pool:PrimitiveAEService. Cas Pool Size:1
Initial Cas Heap Size:500000 cells
MeetingDetectorTaeQueue Controller Initialized. Ready To Process
Exception in thread "main"
org.apache.uima.resource.ResourceInitializationException
at
org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngine_impl.initialize(BaseUIMAAsynchronousEngine_impl.java:499)
at
org.apache.uima.examples.as.RunRemoteAsyncAE.run(RunRemoteAsyncAE.java:247)
at
org.apache.uima.examples.as.RunRemoteAsyncAE.main(RunRemoteAsyncAE.java:303)
Caused by: javax.jms.JMSException: Could not connect to broker URL:
tcp://localhost61616. Reason: java.lang.IllegalArgumentException: port
out of range:-1
at
org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:35)
at
org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:276)
at
org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:220)
at
org.apache.activemq.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:168)
at
org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngine_impl.getConnection(BaseUIMAAsynchronousEngine_impl.java:251)
at
org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngine_impl.initializeProducer(BaseUIMAAsynchronousEngine_impl.java:298)
at
org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngine_impl.initialize(BaseUIMAAsynchronousEngine_impl.java:464)
... 2 more
Caused by: java.lang.IllegalArgumentException: port out of range:-1
at java.net.InetSocketAddress.<init>(InetSocketAddress.java:118)
at
org.apache.activemq.transport.tcp.TcpTransport.connect(TcpTransport.java:387)
at
org.apache.activemq.transport.tcp.TcpTransport.doStart(TcpTransport.java:366)
at
org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:48)
at
org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:56)
at
org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:56)
at
org.apache.activemq.transport.WireFormatNegotiator.start(WireFormatNegotiator.java:63)
at
org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:56)
at
org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:56)
at
org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:256)
... 7 more
Any ideas?
-Marshall
Re: [UIMA-AS] after many fixes, almost have the binary distr working,
but getting a port number out of range error
Posted by Marshall Schor <ms...@schor.com>.
Eddie Epstein wrote:
> Did the tests all run OK?
>
I don't know - I skipped the tests when doing the install :-(
-Marshall
> On Sun, Mar 9, 2008 at 10:23 PM, Marshall Schor <ms...@schor.com> wrote:
>
>> Any ideas?
>>
>>
>
>
>
Re: [UIMA-AS] after many fixes, almost have the binary distr working, but getting a port number out of range error
Posted by Eddie Epstein <ea...@gmail.com>.
Did the tests all run OK?
On Sun, Mar 9, 2008 at 10:23 PM, Marshall Schor <ms...@schor.com> wrote:
> Any ideas?
>