You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-user@logging.apache.org by "Zendle, Joseph" <Jo...@LibertyMutual.com> on 2004/07/29 16:51:17 UTC

0.9.7 not working on AIX 5.1


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"



Re: 0.9.7 not working on AIX 5.1

Posted by Fa...@nucorsteel.com.




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 
                                       <lo...@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::helpers::XMLDOMElement>,log4cxx::helpers::ObjectPtrT<log4cxx::Logger>,bool)(0x2ff220f0,
 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>)(0x2ff220f0,
 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>&)(0x2ff220f0,
 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"