DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19906>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19906

[ENH] Further logging improvements





------- Additional Comments From [EMAIL PROTECTED]  2003-08-01 00:31 -------
I'm getting this exception now:

    [junit] Testcase: testCreateProfile took 4.136 sec
    [junit] Running org.apache.jetspeed.services.registry.TestRegistryCategories

    [junit] log4j:WARN No appenders could be found for logger (org.apache.stratu
m.component.ComponentLoader).
    [junit] log4j:WARN Please initialize the log4j system properly.
    [junit] 490 [main] INFO component.ComponentLoader  - loading component: name
=fulcrum class=org.apache.fulcrum.Fulcrum config=..\webapp\WEB-INF\conf\Fulcrum.
properties
    [junit] 540 [main] INFO fulcrum.TurbineServices  - Finished initializing all
 services!
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.03 sec
    [junit] Testsuite: org.apache.jetspeed.services.registry.TestRegistryCategor
ies
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.03 sec
    [junit] ------------- Standard Output ---------------
    [junit] Group: [Jetspeed]
    [junit] ....Cat: [rss]
    [junit] ........AdminInfo
    [junit] ........RSS
    [junit] [RSS] count = 2
    [junit] ------------------
    [junit] [Everything] count = 157
    [junit] ------------------
    [junit] [General] count = 6
    [junit] ------------------
    [junit] [base][xml.rss] count = 0
    [junit] ------------------
    [junit] [] count = 157
    [junit] ------------------
    [junit] [][] count = 157
    [junit] ------------------
    [junit] [Jetspeed][] count = 157
    [junit] ------------------
    [junit] [news] count = 13
    [junit] ------------------
    [junit] ------------- ---------------- ---------------

    [junit] Testcase: testCategories took 0.02 sec
    [junit] Running org.apache.jetspeed.cache.TestFileCache
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 11.947 sec
    [junit] Testsuite: org.apache.jetspeed.cache.TestFileCache
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 11.947 sec
    [junit] ------------- Standard Output ---------------
    [junit] testFile-1.psml
    [junit] testFile-11.psml
    [junit] testFile-28.psml
    [junit] testFile-16.psml
    [junit] testFile-7.psml
    [junit] testFile-2.psml
    [junit] testFile-23.psml
    [junit] testFile-24.psml
    [junit] testFile-10.psml
    [junit] testFile-18.psml
    [junit] testFile-14.psml
    [junit] testFile-25.psml
    [junit] testFile-9.psml
    [junit] testFile-6.psml
    [junit] testFile-29.psml
    [junit] testFile-22.psml
    [junit] testFile-27.psml
    [junit] default.psml
    [junit] testFile-26.psml
    [junit] testFile-15.psml
    [junit] testFile-21.psml
    [junit] testFile-4.psml
    [junit] testFile-17.psml
    [junit] testFile-20.psml
    [junit] testFile-3.psml
    [junit] testFile-30.psml
    [junit] testFile-5.psml
    [junit] testFile-12.psml
    [junit] testFile-19.psml
    [junit] testFile-8.psml
    [junit] testFile-13.psml
    [junit] entry is evicting: testFile-1.psml
    [junit] entry is evicting: default.psml
    [junit] entry is evicting: testFile-11.psml
    [junit] entry is evicting: testFile-10.psml
    [junit] entry is evicting: testFile-14.psml
    [junit] entry is evicting: testFile-15.psml
    [junit] entry is evicting: testFile-12.psml
    [junit] entry is evicting: testFile-13.psml
    [junit] entry is evicting: testFile-16.psml
    [junit] entry is evicting: testFile-17.psml
    [junit] entry is evicting: testFile-2.psml
    [junit] testFile-28.psml
    [junit] testFile-7.psml
    [junit] testFile-23.psml
    [junit] testFile-24.psml
    [junit] testFile-18.psml
    [junit] testFile-25.psml
    [junit] testFile-9.psml
    [junit] testFile-6.psml
    [junit] testFile-29.psml
    [junit] testFile-22.psml
    [junit] testFile-27.psml
    [junit] testFile-26.psml
    [junit] testFile-21.psml
    [junit] testFile-4.psml
    [junit] testFile-20.psml
    [junit] testFile-3.psml
    [junit] testFile-30.psml
    [junit] testFile-5.psml
    [junit] testFile-19.psml
    [junit] testFile-8.psml
    [junit] entry is refreshing: testFile-24.psml
    [junit] refreshed entry = testFile-24.psml
    [junit] Completed loadCache Test OK
    [junit] ------------- ---------------- ---------------
    [junit] ------------- Standard Error -----------------
    [junit] Init failed no logging availablenull
    [junit] java.lang.NullPointerException
    [junit]     at org.apache.jetspeed.services.logging.JetspeedLogFactoryServic
e.init(JetspeedLogFactoryService.java:133)
    [junit]     at org.apache.jetspeed.services.logging.JetspeedLogFactoryServic
e.init(JetspeedLogFactoryService.java:120)
    [junit]     at org.apache.jetspeed.services.logging.JetspeedLogFactoryServic
e.getLogger(JetspeedLogFactoryService.java:194)
    [junit]     at org.apache.jetspeed.cache.FileCache.<clinit>(FileCache.java:9
2)
    [junit]     at org.apache.jetspeed.cache.TestFileCache.testLoadCache(TestFil
eCache.java:131)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:324)
    [junit]     at junit.framework.TestCase.runTest(TestCase.java:166)
    [junit]     at junit.framework.TestCase.runBare(TestCase.java:140)
    [junit]     at junit.framework.TestResult$1.protect(TestResult.java:106)
    [junit]     at junit.framework.TestResult.runProtected(TestResult.java:124)
    [junit]     at junit.framework.TestResult.run(TestResult.java:109)
    [junit]     at junit.framework.TestCase.run(TestCase.java:131)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:173)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:168)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.
run(JUnitTestRunner.java:325)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.
main(JUnitTestRunner.java:524)
    [junit] ------------- ---------------- ---------------

    [junit] Testcase: testLoadCache took 11.917 sec
    [junit] Running org.apache.jetspeed.util.TestOverwriteProperties
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.621 sec
    [junit] Testsuite: org.apache.jetspeed.util.TestOverwriteProperties
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.621 sec

    [junit] Testcase: testOverwriteProperty took 0.331 sec
    [junit] Testcase: testRemoveProperties took 0.14 sec
    [junit] Testcase: testAddProperties took 0.14 sec
    [junit] Running org.apache.jetspeed.services.customlocalization.TestLocaliza
tion
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 7.301 sec
    [junit] Testsuite: org.apache.jetspeed.services.customlocalization.TestLocal
ization
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 7.301 sec
    [junit] ------------- Standard Output ---------------
    [junit] file:/D:/java/eclipse2.1/workspace/jakarta-jetspeed/bin/classes/org/
apache/jetspeed/test/jetspeed_testconfig.properties
    [junit] ../webapp
    [junit] ..\webapp
    [junit] Locale [en-US]: LOGIN_USER translation = Username:
    [junit] Locale [pl]: LOGIN_TITLE translation = Logowanie
    [junit] Locale [my]: _TEST_ = Do not translate
    [junit] ------------- ---------------- ---------------
    [junit] ------------- Standard Error -----------------
    [junit] log4j:WARN No appenders could be found for logger (org.apache.stratu
m.component.ComponentLoader).
    [junit] log4j:WARN Please initialize the log4j system properly.
    [junit] 451 [main] INFO component.ComponentLoader  - loading component: name
=fulcrum class=org.apache.fulcrum.Fulcrum config=..\webapp\WEB-INF\conf\Fulcrum.
properties
    [junit] 501 [main] INFO fulcrum.TurbineServices  - Finished initializing all
 services!
    [junit] ------------- ---------------- ---------------

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to