logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fabijan...@nucorsteel.com
Subject RE: 0.9.7 not working on AIX 5.1
Date Thu, 29 Jul 2004 15:36:16 GMT





I've just tried. I am not able to reproduce it on Windows (XP Pro), static
or dynamic linking

Alex

Michael CATANZARITI <mcatan@free.fr> wrote on 07/29/2004 11:28:30 AM:

> Hi,
>
> I'm not sure it's the same problem but it sounds like.
> It seems that all standard levels are not yet initialized when
> BasicConfigurator::configure() is called from the trivial sample or when
> DOMConfigurator::configure is called from tests.
>
> Under Windows, the problem does not exist if log4cxx is compiled as a
dynamic
> library and not as static library
>
> May be can you try to do the same under AIX (use log4cxx.so instead of
> log4cxx.a)
>
> Michaƫl
>
> Selon "Zendle, Joseph" <Joseph.Zendle@LibertyMutual.com>:
>
> > Thanks for the quick response.
> >
> > I tried #pragma priority (n) (i think this achieves the same effect for
> > xlC) in level.cpp and logmanager.cpp. This did not help. Also, I am
> > running trivial.cpp which does not use static instances of LoggerPtr -
> > it calls BasicConfigurator(). Are you sure this is the same problem?
> >
> > Joe
> >
> > -----Original Message-----
> > From: FabijanicA@nucorsteel.com [mailto:FabijanicA@nucorsteel.com]
> > Sent: Thursday, July 29, 2004 11:06 AM
> > To: Log4CXX User
> > Subject: Re: 0.9.7 not working on AIX 5.1
> >
> >
> >
> >
> >
> >
> >
> > Check out
> >
> >
http://nagoya.apache.org/eyebrowse/ReadMsg?listName=log4cxx-user@logging
> > .apache.org&msgNo=111
> >
> > Alex
> >
> >
> >
> >
> >
> >              "Zendle, Joseph"
> >
> >              <Joseph.Zendle@Li
> >
> >              bertyMutual.com>
> > To
> >
<log4cxx-user@logging.apache.org>
> >
> >              07/29/2004 10:51
> > cc
> >              AM
> >
> >
> > Subject
> >                                        0.9.7 not working on AIX 5.1
> >
> >              Please respond to
> >
> >               "Log4CXX User"
> >
> >              <log4cxx-user@log
> >
> >              ging.apache.org>
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Hi,
> >
> >
> > I just built log4cxx-0.9.7 on AIX 5.1
> >
> >
> > using:
> > xlC 5.0
> > libtool 1.5.6
> > automake 1.8.5
> >
> >
> > The build worked fine by running:
> >
> >
> > autogen.sh
> > configure --prefix=/mydir
> > make
> > make install
> >
> >
> > I am having problems with the examples that worked fine for 0.9.6. Can
> > anyone help?
> >
> >
> > Here is my output:
> >
> >
> > from examples:
> > $trivial
> > You have tried to set a null level to root.
> >
> >
> >
> >
> >
> > from performance:
> > $ logging xml/logging1.xml 1
> > You have tried to set a null level to root.
> > Could not perform variable substitution.
> > "" has no closing brace. Opening brace at position 0.
> > Could not perform variable substitution.
> > "" has no closing brace. Opening brace at position 0.
> > Could not perform variable substitution.
> > "" has no closing brace. Opening brace at position 0.
> > Could not perform variable substitution.
> > "debug" has no closing brace. Opening brace at position 0. Could not
> > perform variable substitution. "" has no closing brace. Opening brace
at
> > position 0. You have tried to set a null level to root. Illegal
> > instruction(coredump)
> >
> >
> >
> >
> >
> >
> > Here is a stack trace:
> > (dbx) where
> > warning: Unable to access address 0x0 from core
> > warning: could not locate trace table from starting address 0x0
> >
parseLevel(log4cxx::helpers::ObjectPtrT<log4cxx::helpers::XMLDOMElement>
> > ,log4cxx::helpers::ObjectPtrT<log4cxx::Logger>,bool)(0x2ff220f0,
> >  0x2ff21c28, 0x2ff21c2c, 0x1000001), line 567 in "domconfigurator.cpp"
> > unnamed block $b1316, line 452 in "domconfigurator.cpp" unnamed block
> > $b1311, line 452 in "domconfigurator.cpp" unnamed block $b1310, line
452
> > in "domconfigurator.cpp" unnamed block $b1309, line 452 in
> > "domconfigurator.cpp"
> >
parseChildrenOfLoggerElement(log4cxx::helpers::ObjectPtrT<log4cxx::helpe
> >
rs::XMLDOMElement>,log4cxx::helpers::ObjectPtrT<log4cxx::Logger>,bool)(0
> > x2ff220f0,
> >  0x2ff21cc8, 0x2ff21ccc, 0x1000001), line 452 in "domconfigurator.cpp"
> >
parseRoot(log4cxx::helpers::ObjectPtrT<log4cxx::helpers::XMLDOMElement>)
> > (0x2ff220f0,
> >  0x2ff21f6c), line 399 in "domconfigurator.cpp" unnamed block $b1347,
> > line 718 in "domconfigurator.cpp" unnamed block $b1345, line 718 in
> > "domconfigurator.cpp" unnamed block $b1344, line 718 in
> > "domconfigurator.cpp"
> >
parse(log4cxx::helpers::ObjectPtrT<log4cxx::helpers::XMLDOMElement>)(0x2
> > ff220f0,
> >  0x2ff22050), line 718 in "domconfigurator.cpp" unnamed block $b1335,
> > line 594 in "domconfigurator.cpp" doConfigure(const
> > std::basic_string<char,std::char_traits<char>,std::allocator<char>
> >
>&,log4cxx::helpers::ObjectPtrT<log4cxx::spi::LoggerRepository>&)(0x2ff2
> > >20f0,
> >  0x2ff226c8, 0x20211adc), line 594 in "domconfigurator.cpp"
> > configure(const
> > std::basic_string<char,std::char_traits<char>,std::allocator<char>
> > >&)(0x2ff226c8), line 607 in "domconfigurator.cpp" main.init(const
> > std::basic_string<char,std::char_traits<char>,std::allocator<char>
> > >&,const
> > std::basic_string<char,std::char_traits<char>,std::allocator<char>
> > >&,const
> > std::basic_string<char,std::char_traits<char>,std::allocator<char>
> > >&,const
> > std::basic_string<char,std::char_traits<char>,std::allocator<char>
> > >&)(configFile = &(...), runLengthStr = &(...), delayStr = &(...),
> > burstLenStr = &(...)), line 71 in "main.cpp" unnamed block $b15, line
> > 121 in "main.cpp" unnamed block $b14, line 121 in "main.cpp" main(argc
=
> > 3, argv = 0x2ff22838), line 121 in "main.cpp"
> >
> >
> >
> >
> >
> >
> >
>
>


Mime
View raw message