harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr." <g...@pobox.com>
Subject Re: [drlvm] getting activeMQ to run
Date Sat, 23 Sep 2006 16:15:52 GMT
Now I'm seeing it :)

On Sep 22, 2006, at 5:29 PM, Nikolay Kuznetsov wrote:

> Ok then, it was suse 9,  ia32.
>
> On 9/23/06, Geir Magnusson Jr. <geir@pobox.com> wrote:
>> what platform?  I'm not seeing that...
>>
>> On Sep 22, 2006, at 4:01 PM, Nikolay Kuznetsov wrote:
>>
>> >> > core dumps in debug and prints something like this in release:
>> >> > WARN  DefaultJDBCAdapter             - Could not create JDBC
>> >> tables;
>> >> > they could already exist. Failure was: ....
>> >>
>> >> That might be simply because you created the tables needed when  
>> you
>> >> ran the first time?
>> >
>> > I don't know for sure, but J9 works fine w/o any warnings:
>> >
>> > INFO  JDBCPersistenceAdapter         - Database driver recognized:
>> > [apache_derby_embedded_jdbc_driver]
>> > INFO  JournalPersistenceAdapter      - Journal Recovery Started  
>> from:
>> > Active Journal: using 5 x 20.0 Megs at:
>> > /nfs/pb/home/nakuznet/disk_j/workspace/harmony.orig/incubator-
>> > activemq-4.0.1/activemq-data/journal
>> > ...
>> >
>> > ... and the fact that debug version core dumps, also looks
>> > suspicious :)
>> >
>> > Nik.
>> >
>> >> > , but finally starts:
>> >> > INFO  BrokerService                  - ActiveMQ JMS Message  
>> Broker
>> >> > (localhost, ID:pbtmrte007-57413-1158949586838-1:0) started
>> >> >
>> >> > Will continue investigate.
>> >>
>> >> So this look ok...
>> >>
>> >> My tests w/ the patch show it running, and I was able to run
>> >> producer/
>> >> consumer tests
>> >>
>> >> geir
>> >>
>> >> >
>> >> > Nik.
>> >> >
>> >> > On 9/22/06, Geir Magnusson Jr. <geir@pobox.com> wrote:
>> >> >> First, thanks so much for the fast response and good solution.
>> >> >>
>> >> >> I don't see any problem with this patch, but you're right - I
>> >> don't
>> >> >> understand why we have it, since Logger should set it's  
>> "global"
>> >> >> field to getLogger("global") in the static initialization.
>> >> >>
>> >> >> I have the same problem with J9, so I don't think it's a VM
>> >> problem.
>> >> >>
>> >> >> If no one complains, I'm going to test it, apply it, and add a
>> >> JIRA
>> >> >> to look at the fact that global isn't set...or tell me why it
>> >> >> shouldn't be....
>> >> >>
>> >> >> geir
>> >> >>
>> >> >>
>> >> >> On Sep 22, 2006, at 1:51 PM, Nikolay Kuznetsov wrote:
>> >> >>
>> >> >> > Hello,
>> >> >> >
>> >> >> > I was able to run ActiveQM on Linux with patch attached.
>> >> Looks like
>> >> >> > something is broken in logger static initialization sequence.
>> >> >> Though
>> >> >> > this patch helpps in running ActiveQM, I would treat this
>> >> patch as
>> >> >> > workaround, this issue requires some more analysis and  
>> testing.
>> >> >> >
>> >> >> > Nik.
>> >> >> > On 9/22/06, Geir Magnusson Jr. <geir@pobox.com> wrote:
>> >> >> >>
>> >> >> >> On Sep 22, 2006, at 12:47 AM, Vladimir Gorr wrote:
>> >> >> >>
>> >> >> >> > On 9/22/06, Geir Magnusson Jr. <geir@pobox.com>
wrote:
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >> On Sep 22, 2006, at 12:37 AM, Vladimir Gorr wrote:
>> >> >> >> >>
>> >> >> >> >> > On 9/22/06, Geir Magnusson Jr. <geir@pobox.com>
wrote:
>> >> >> >> >> >>
>> >> >> >> >> >> Even though we have the jar issue fixed
w/t he  
>> launcher-
>> >> >> based
>> >> >> >> >> build,
>> >> >> >> >> >> I still can't run ActiveMQ using release
build on  
>> Ubuntu.
>> >> >> >> >> >>
>> >> >> >> >> >> Can anyone else report success?  Or
a patch? :)
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >> > I was succesfull on Windows. No success
exist for Linux
>> >> >> however.
>> >> >> >> >>
>> >> >> >> >> What do you see on linux?
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > ACTIVEMQ_HOME: /nfs/ins/proj/drl/coreapi/vgorr/Tools/
>> >> incubator-
>> >> >> >> > activemq-4.0
>> >> >> >> > Loading message broker from: xbean:activemq.xml
>> >> >> >> > ERROR: java.lang.RuntimeException: Failed to execute
start
>> >> task.
>> >> >> >> > Reason:
>> >> >> >> > org.springframework.beans.factory.BeanCreationException:
>> >> Error
>> >> >> >> > creating bean
>> >> >> >> > with name
>> >> >> 'org.apache.activemq.store.PersistenceAdapterFactoryBean'
>> >> >> >> > defined
>> >> >> >> > in class path resource [activemq.xml]: Instantiation
of  
>> bean
>> >> >> >> failed;
>> >> >> >> > ...
>> >> >> >>
>> >> >> >> Yah, that's what I get.  We really need to get this kind
of
>> >> thing
>> >> >> >> worked out, and fast...
>> >> >> >>
>> >> >> >> geir
>> >> >> >>
>> >> >> >> > snipped
>> >> >> >> > ...
>> >> >> >> >
>> >> >> >> >> Steps I do are the following:
>> >> >> >> >> > 1. unset JAVA_HOME
>> >> >> >> >> > 2. set PATH=<.../jre/bin>;PATH
>> >> >> >> >> > 3. cd .../activemq-3.2.3\bin; activemq
>> >> >> >> >> >
>> >> >> >> >> > Are these steps correct?
>> >> >> >> >>
>> >> >> >> >> Close enough.  I set JAVA_HOME to the harmony
jre  
>> directory
>> >> >> >> (deploy/
>> >> >> >> >> jre), added bin to the path, and then
>> >> >> >> >>
>> >> >> >> >>   sh bin/activemq
>> >> >> >> >>
>> >> >> >> >> But I'm using activeMQ 4.0.something
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > Yes, it seems this version doesn't work correctly.
At
>> >> least on
>> >> >> >> Linux.
>> >> >> >> > I'll try this on Windows as well.
>> >> >> >> >
>> >> >> >> > Thanks,
>> >> >> >> > Vladimir.
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >>
>> >> >> >> >> > Thanks,
>> >> >> >> >> > Vladimir.
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >> > geir
>> >> >> >> >> >>
>> >> >> >> >> >>
>> >> >> >> >> >>
>> >> >> >> >>
>> >> >> >>
>> >> >>
>> >>  
>> ---------------------------------------------------------------------
>> >> >> >> >> >> Terms of use : http://incubator.apache.org/harmony/
>> >> >> mailing.html
>> >> >> >> >> >> To unsubscribe, e-mail: harmony-dev-
>> >> >> >> >> unsubscribe@incubator.apache.org
>> >> >> >> >> >> For additional commands, e-mail: harmony-dev-
>> >> >> >> >> >> help@incubator.apache.org
>> >> >> >> >> >>
>> >> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >>
>> >> >>
>> >>  
>> ---------------------------------------------------------------------
>> >> >> >> >> Terms of use : http://incubator.apache.org/harmony/
>> >> mailing.html
>> >> >> >> >> To unsubscribe, e-mail: harmony-dev-
>> >> >> >> unsubscribe@incubator.apache.org
>> >> >> >> >> For additional commands, e-mail: harmony-dev-
>> >> >> >> >> help@incubator.apache.org
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >>
>> >>  
>> ---------------------------------------------------------------------
>> >> >> >> Terms of use : http://incubator.apache.org/harmony/ 
>> mailing.html
>> >> >> >> To unsubscribe, e-mail: harmony-dev-
>> >> >> unsubscribe@incubator.apache.org
>> >> >> >> For additional commands, e-mail: harmony-dev-
>> >> >> >> help@incubator.apache.org
>> >> >> >>
>> >> >> >>
>> >> >> >> <LogManager.patch>
>> >> >> >
>> >> >>
>> >>  
>> ---------------------------------------------------------------------
>> >> >> > Terms of use : http://incubator.apache.org/harmony/ 
>> mailing.html
>> >> >> > To unsubscribe, e-mail: harmony-dev-
>> >> >> unsubscribe@incubator.apache.org
>> >> >> > For additional commands, e-mail: harmony-dev-
>> >> >> help@incubator.apache.org
>> >> >>
>> >> >>
>> >> >>
>> >>  
>> ---------------------------------------------------------------------
>> >> >> Terms of use : http://incubator.apache.org/harmony/mailing.html
>> >> >> To unsubscribe, e-mail: harmony-dev-
>> >> unsubscribe@incubator.apache.org
>> >> >> For additional commands, e-mail: harmony-dev-
>> >> >> help@incubator.apache.org
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >>  
>> ---------------------------------------------------------------------
>> >> > Terms of use : http://incubator.apache.org/harmony/mailing.html
>> >> > To unsubscribe, e-mail: harmony-dev-
>> >> unsubscribe@incubator.apache.org
>> >> > For additional commands, e-mail: harmony-dev-
>> >> help@incubator.apache.org
>> >> >
>> >>
>> >>
>> >>  
>> ---------------------------------------------------------------------
>> >> Terms of use : http://incubator.apache.org/harmony/mailing.html
>> >> To unsubscribe, e-mail: harmony-dev- 
>> unsubscribe@incubator.apache.org
>> >> For additional commands, e-mail: harmony-dev-
>> >> help@incubator.apache.org
>> >>
>> >>
>> >
>> >  
>> ---------------------------------------------------------------------
>> > Terms of use : http://incubator.apache.org/harmony/mailing.html
>> > To unsubscribe, e-mail: harmony-dev- 
>> unsubscribe@incubator.apache.org
>> > For additional commands, e-mail: harmony-dev- 
>> help@incubator.apache.org
>> >
>>
>>
>> ---------------------------------------------------------------------
>> Terms of use : http://incubator.apache.org/harmony/mailing.html
>> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
>> For additional commands, e-mail: harmony-dev- 
>> help@incubator.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>


---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message