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. <[EMAIL PROTECTED]> wrote:

On Sep 22, 2006, at 12:47 AM, Vladimir Gorr wrote:

> On 9/22/06, Geir Magnusson Jr. <[EMAIL PROTECTED]> wrote:
>>
>>
>> On Sep 22, 2006, at 12:37 AM, Vladimir Gorr wrote:
>>
>> > On 9/22/06, Geir Magnusson Jr. <[EMAIL PROTECTED]> 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-
>> [EMAIL PROTECTED]
>> >> For additional commands, e-mail: harmony-dev-
>> >> [EMAIL PROTECTED]
>> >>
>> >>
>>
>>
>> ---------------------------------------------------------------------
>> Terms of use : http://incubator.apache.org/harmony/mailing.html
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: harmony-dev-
>> [EMAIL PROTECTED]
>>
>>


---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Index: modules/logging/src/main/java/java/util/logging/LogManager.java
===================================================================
--- modules/logging/src/main/java/java/util/logging/LogManager.java     
(revision 448895)
+++ modules/logging/src/main/java/java/util/logging/LogManager.java     
(working copy)
@@ -197,7 +197,13 @@
 
                                // if global logger has been initialized, set 
root as its parent
                 Logger root = Logger.getLogger(""); //$NON-NLS-1$
-                Logger.global.setParent(root);
+                Logger global = Logger.global;
+                
+                if (Logger.global == null) {
+                    global = Logger.getLogger("global");
+                }
+                
+                global.setParent(root);
                                return null;
                        }
                });
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to