You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Vamsavardhana Reddy (JIRA)" <de...@geronimo.apache.org> on 2006/03/16 07:35:05 UTC

[jira] Created: (GERONIMO-1746) Updates to Logger through Log Manager portlet under Console are not reflected in the server

Updates to Logger through Log Manager portlet under Console are not reflected in the server
-------------------------------------------------------------------------------------------

         Key: GERONIMO-1746
         URL: http://issues.apache.org/jira/browse/GERONIMO-1746
     Project: Geronimo
        Type: Bug
  Components: console, Logging  
    Versions: 1.0    
 Environment: Win XP, Sun JDK 1.4.2_08
    Reporter: Vamsavardhana Reddy
     Fix For: 1.2


Changes made to the logger through Log Manager portlet are not reflected in the server.  Through the admin console, I have changed the Config File from server-log4j.properties to a different file.  The change is written to config.xml .  Inspite of this new file name in config.xml, upon restart, the server still uses server-log4j.properties  .

Restarting the server after deleting server-log4j.properties logged the following error to console window.

log4j:ERROR Could not read configuration file from URL [file:/C:/geronimo-1.0/va
r/log/server-log4j.properties].
java.io.FileNotFoundException: C:\geronimo-1.0\var\log\server-log4j.properties (
The system cannot find the file specified)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(Unknown Source)
        at java.io.FileInputStream.<init>(Unknown Source)
        at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
        at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown So
urce)
        at java.net.URL.openStream(Unknown Source)
        at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurato
r.java:424)
        at org.apache.geronimo.system.logging.log4j.URLConfigurator.doConfigure(
URLConfigurator.java:117)
        at org.apache.geronimo.system.logging.log4j.URLConfigurator.configure(UR
LConfigurator.java:44)
        at org.apache.geronimo.system.logging.log4j.Log4jService.reconfigure(Log
4jService.java:518)
        at org.apache.geronimo.system.logging.log4j.Log4jService.doStart(Log4jSe
rvice.java:561)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanI
nstance.java:936)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
(GBeanInstanceState.java:325)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
nceState.java:110)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(G
BeanInstanceState.java:132)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanI
nstance.java:537)
        at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(Basi
cKernel.java:208)
        at org.apache.geronimo.kernel.config.Configuration.startRecursiveGBeans(
Configuration.java:315)
        at org.apache.geronimo.kernel.config.Configuration$$FastClassByCGLIB$$7f
4b4a9b.invoke(<generated>)
        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
        at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
Invoker.java:38)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
n.java:118)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:835)
        at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
178)
        at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
173)
        at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:286)
        at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:82)
        at org.apache.geronimo.system.main.Daemon.main(Daemon.java:404)
log4j:ERROR Ignoring configuration file [file:/C:/geronimo-1.0/var/log/server-lo
g4j.properties].

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (GERONIMO-1746) Updates to Logger through Log Manager portlet under Console are not reflected in the server

Posted by "Vamsavardhana Reddy (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1746?page=all ]

Vamsavardhana Reddy updated GERONIMO-1746:
------------------------------------------

    Fix Version/s: Wish List
                       (was: 1.2)

> Updates to Logger through Log Manager portlet under Console are not reflected in the server
> -------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-1746
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-1746
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: console, Logging
>    Affects Versions: 1.0
>         Environment: Win XP, Sun JDK 1.4.2_08
>            Reporter: Vamsavardhana Reddy
>             Fix For: Wish List
>
>
> Changes made to the logger through Log Manager portlet are not reflected in the server.  Through the admin console, I have changed the Config File from server-log4j.properties to a different file.  The change is written to config.xml .  Inspite of this new file name in config.xml, upon restart, the server still uses server-log4j.properties  .
> Restarting the server after deleting server-log4j.properties logged the following error to console window.
> log4j:ERROR Could not read configuration file from URL [file:/C:/geronimo-1.0/va
> r/log/server-log4j.properties].
> java.io.FileNotFoundException: C:\geronimo-1.0\var\log\server-log4j.properties (
> The system cannot find the file specified)
>         at java.io.FileInputStream.open(Native Method)
>         at java.io.FileInputStream.<init>(Unknown Source)
>         at java.io.FileInputStream.<init>(Unknown Source)
>         at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
>         at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown So
> urce)
>         at java.net.URL.openStream(Unknown Source)
>         at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurato
> r.java:424)
>         at org.apache.geronimo.system.logging.log4j.URLConfigurator.doConfigure(
> URLConfigurator.java:117)
>         at org.apache.geronimo.system.logging.log4j.URLConfigurator.configure(UR
> LConfigurator.java:44)
>         at org.apache.geronimo.system.logging.log4j.Log4jService.reconfigure(Log
> 4jService.java:518)
>         at org.apache.geronimo.system.logging.log4j.Log4jService.doStart(Log4jSe
> rvice.java:561)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanI
> nstance.java:936)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
> (GBeanInstanceState.java:325)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
> nceState.java:110)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(G
> BeanInstanceState.java:132)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanI
> nstance.java:537)
>         at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(Basi
> cKernel.java:208)
>         at org.apache.geronimo.kernel.config.Configuration.startRecursiveGBeans(
> Configuration.java:315)
>         at org.apache.geronimo.kernel.config.Configuration$$FastClassByCGLIB$$7f
> 4b4a9b.invoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>         at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
> Invoker.java:38)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
> n.java:118)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
> java:835)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
> 178)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
> 173)
>         at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:286)
>         at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:82)
>         at org.apache.geronimo.system.main.Daemon.main(Daemon.java:404)
> log4j:ERROR Ignoring configuration file [file:/C:/geronimo-1.0/var/log/server-lo
> g4j.properties].

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (GERONIMO-1746) Updates to Logger through Log Manager portlet under Console are not reflected in the server

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-1746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donald Woods updated GERONIMO-1746:
-----------------------------------

    Fix Version/s:     (was: Wish List)
                   2.1
                   2.0.x

> Updates to Logger through Log Manager portlet under Console are not reflected in the server
> -------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-1746
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-1746
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: console, Logging
>    Affects Versions: 1.0
>         Environment: Win XP, Sun JDK 1.4.2_08
>            Reporter: Vamsavardhana Reddy
>            Assignee: Donald Woods
>             Fix For: 2.0.x, 2.1
>
>
> Changes made to the logger through Log Manager portlet are not reflected in the server.  Through the admin console, I have changed the Config File from server-log4j.properties to a different file.  The change is written to config.xml .  Inspite of this new file name in config.xml, upon restart, the server still uses server-log4j.properties  .
> Restarting the server after deleting server-log4j.properties logged the following error to console window.
> log4j:ERROR Could not read configuration file from URL [file:/C:/geronimo-1.0/va
> r/log/server-log4j.properties].
> java.io.FileNotFoundException: C:\geronimo-1.0\var\log\server-log4j.properties (
> The system cannot find the file specified)
>         at java.io.FileInputStream.open(Native Method)
>         at java.io.FileInputStream.<init>(Unknown Source)
>         at java.io.FileInputStream.<init>(Unknown Source)
>         at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
>         at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown So
> urce)
>         at java.net.URL.openStream(Unknown Source)
>         at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurato
> r.java:424)
>         at org.apache.geronimo.system.logging.log4j.URLConfigurator.doConfigure(
> URLConfigurator.java:117)
>         at org.apache.geronimo.system.logging.log4j.URLConfigurator.configure(UR
> LConfigurator.java:44)
>         at org.apache.geronimo.system.logging.log4j.Log4jService.reconfigure(Log
> 4jService.java:518)
>         at org.apache.geronimo.system.logging.log4j.Log4jService.doStart(Log4jSe
> rvice.java:561)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanI
> nstance.java:936)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
> (GBeanInstanceState.java:325)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
> nceState.java:110)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(G
> BeanInstanceState.java:132)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanI
> nstance.java:537)
>         at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(Basi
> cKernel.java:208)
>         at org.apache.geronimo.kernel.config.Configuration.startRecursiveGBeans(
> Configuration.java:315)
>         at org.apache.geronimo.kernel.config.Configuration$$FastClassByCGLIB$$7f
> 4b4a9b.invoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>         at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
> Invoker.java:38)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
> n.java:118)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
> java:835)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
> 178)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
> 173)
>         at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:286)
>         at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:82)
>         at org.apache.geronimo.system.main.Daemon.main(Daemon.java:404)
> log4j:ERROR Ignoring configuration file [file:/C:/geronimo-1.0/var/log/server-lo
> g4j.properties].

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (GERONIMO-1746) Cannot override default configurationFile value in Log4jService GBean

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-1746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donald Woods closed GERONIMO-1746.
----------------------------------

    Resolution: Fixed

Committed revision 579697 in branches/2.0 (2.0.2-SNAPSHOT)
Committed revision 579703 in trunk (2.1-SNAPSHOT)

> Cannot override default configurationFile value in Log4jService GBean
> ---------------------------------------------------------------------
>
>                 Key: GERONIMO-1746
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-1746
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: console, Logging
>    Affects Versions: 1.0, 2.0, 2.1
>         Environment: Win XP, Sun JDK 1.4.2_08
>            Reporter: Vamsavardhana Reddy
>            Assignee: Donald Woods
>             Fix For: 2.0.2, 2.1
>
>
> Changes made to the logger through Log Manager portlet are not reflected in the server.  Through the admin console, I have changed the Config File from server-log4j.properties to a different file.  The change is written to config.xml .  Inspite of this new file name in config.xml, upon restart, the server still uses server-log4j.properties  .
> Restarting the server after deleting server-log4j.properties logged the following error to console window.
> log4j:ERROR Could not read configuration file from URL [file:/C:/geronimo-1.0/va
> r/log/server-log4j.properties].
> java.io.FileNotFoundException: C:\geronimo-1.0\var\log\server-log4j.properties (
> The system cannot find the file specified)
>         at java.io.FileInputStream.open(Native Method)
>         at java.io.FileInputStream.<init>(Unknown Source)
>         at java.io.FileInputStream.<init>(Unknown Source)
>         at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
>         at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown So
> urce)
>         at java.net.URL.openStream(Unknown Source)
>         at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurato
> r.java:424)
>         at org.apache.geronimo.system.logging.log4j.URLConfigurator.doConfigure(
> URLConfigurator.java:117)
>         at org.apache.geronimo.system.logging.log4j.URLConfigurator.configure(UR
> LConfigurator.java:44)
>         at org.apache.geronimo.system.logging.log4j.Log4jService.reconfigure(Log
> 4jService.java:518)
>         at org.apache.geronimo.system.logging.log4j.Log4jService.doStart(Log4jSe
> rvice.java:561)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanI
> nstance.java:936)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
> (GBeanInstanceState.java:325)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
> nceState.java:110)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(G
> BeanInstanceState.java:132)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanI
> nstance.java:537)
>         at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(Basi
> cKernel.java:208)
>         at org.apache.geronimo.kernel.config.Configuration.startRecursiveGBeans(
> Configuration.java:315)
>         at org.apache.geronimo.kernel.config.Configuration$$FastClassByCGLIB$$7f
> 4b4a9b.invoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>         at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
> Invoker.java:38)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
> n.java:118)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
> java:835)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
> 178)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
> 173)
>         at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:286)
>         at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:82)
>         at org.apache.geronimo.system.main.Daemon.main(Daemon.java:404)
> log4j:ERROR Ignoring configuration file [file:/C:/geronimo-1.0/var/log/server-lo
> g4j.properties].

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-1746) Cannot override default configurationFile value in Log4jService GBean

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-1746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donald Woods updated GERONIMO-1746:
-----------------------------------

    Summary: Cannot override default configurationFile value in Log4jService GBean  (was: Updates to Logger through Log Manager portlet under Console are not reflected in the server)

Updated title to really describe the reported problem, which was you can't change the default configurationFile value from server-log4j.properties to another filename...

> Cannot override default configurationFile value in Log4jService GBean
> ---------------------------------------------------------------------
>
>                 Key: GERONIMO-1746
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-1746
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: console, Logging
>    Affects Versions: 1.0
>         Environment: Win XP, Sun JDK 1.4.2_08
>            Reporter: Vamsavardhana Reddy
>            Assignee: Donald Woods
>             Fix For: 2.0.x, 2.1
>
>
> Changes made to the logger through Log Manager portlet are not reflected in the server.  Through the admin console, I have changed the Config File from server-log4j.properties to a different file.  The change is written to config.xml .  Inspite of this new file name in config.xml, upon restart, the server still uses server-log4j.properties  .
> Restarting the server after deleting server-log4j.properties logged the following error to console window.
> log4j:ERROR Could not read configuration file from URL [file:/C:/geronimo-1.0/va
> r/log/server-log4j.properties].
> java.io.FileNotFoundException: C:\geronimo-1.0\var\log\server-log4j.properties (
> The system cannot find the file specified)
>         at java.io.FileInputStream.open(Native Method)
>         at java.io.FileInputStream.<init>(Unknown Source)
>         at java.io.FileInputStream.<init>(Unknown Source)
>         at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
>         at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown So
> urce)
>         at java.net.URL.openStream(Unknown Source)
>         at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurato
> r.java:424)
>         at org.apache.geronimo.system.logging.log4j.URLConfigurator.doConfigure(
> URLConfigurator.java:117)
>         at org.apache.geronimo.system.logging.log4j.URLConfigurator.configure(UR
> LConfigurator.java:44)
>         at org.apache.geronimo.system.logging.log4j.Log4jService.reconfigure(Log
> 4jService.java:518)
>         at org.apache.geronimo.system.logging.log4j.Log4jService.doStart(Log4jSe
> rvice.java:561)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanI
> nstance.java:936)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
> (GBeanInstanceState.java:325)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
> nceState.java:110)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(G
> BeanInstanceState.java:132)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanI
> nstance.java:537)
>         at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(Basi
> cKernel.java:208)
>         at org.apache.geronimo.kernel.config.Configuration.startRecursiveGBeans(
> Configuration.java:315)
>         at org.apache.geronimo.kernel.config.Configuration$$FastClassByCGLIB$$7f
> 4b4a9b.invoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>         at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
> Invoker.java:38)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
> n.java:118)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
> java:835)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
> 178)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
> 173)
>         at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:286)
>         at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:82)
>         at org.apache.geronimo.system.main.Daemon.main(Daemon.java:404)
> log4j:ERROR Ignoring configuration file [file:/C:/geronimo-1.0/var/log/server-lo
> g4j.properties].

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-1746) Cannot override default configurationFile value in Log4jService GBean

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-1746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donald Woods updated GERONIMO-1746:
-----------------------------------

    Affects Version/s: 2.1
                       2.0
        Fix Version/s:     (was: 2.0.x)
                       2.0.2

> Cannot override default configurationFile value in Log4jService GBean
> ---------------------------------------------------------------------
>
>                 Key: GERONIMO-1746
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-1746
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: console, Logging
>    Affects Versions: 1.0, 2.0, 2.1
>         Environment: Win XP, Sun JDK 1.4.2_08
>            Reporter: Vamsavardhana Reddy
>            Assignee: Donald Woods
>             Fix For: 2.0.2, 2.1
>
>
> Changes made to the logger through Log Manager portlet are not reflected in the server.  Through the admin console, I have changed the Config File from server-log4j.properties to a different file.  The change is written to config.xml .  Inspite of this new file name in config.xml, upon restart, the server still uses server-log4j.properties  .
> Restarting the server after deleting server-log4j.properties logged the following error to console window.
> log4j:ERROR Could not read configuration file from URL [file:/C:/geronimo-1.0/va
> r/log/server-log4j.properties].
> java.io.FileNotFoundException: C:\geronimo-1.0\var\log\server-log4j.properties (
> The system cannot find the file specified)
>         at java.io.FileInputStream.open(Native Method)
>         at java.io.FileInputStream.<init>(Unknown Source)
>         at java.io.FileInputStream.<init>(Unknown Source)
>         at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
>         at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown So
> urce)
>         at java.net.URL.openStream(Unknown Source)
>         at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurato
> r.java:424)
>         at org.apache.geronimo.system.logging.log4j.URLConfigurator.doConfigure(
> URLConfigurator.java:117)
>         at org.apache.geronimo.system.logging.log4j.URLConfigurator.configure(UR
> LConfigurator.java:44)
>         at org.apache.geronimo.system.logging.log4j.Log4jService.reconfigure(Log
> 4jService.java:518)
>         at org.apache.geronimo.system.logging.log4j.Log4jService.doStart(Log4jSe
> rvice.java:561)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanI
> nstance.java:936)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
> (GBeanInstanceState.java:325)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
> nceState.java:110)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(G
> BeanInstanceState.java:132)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanI
> nstance.java:537)
>         at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(Basi
> cKernel.java:208)
>         at org.apache.geronimo.kernel.config.Configuration.startRecursiveGBeans(
> Configuration.java:315)
>         at org.apache.geronimo.kernel.config.Configuration$$FastClassByCGLIB$$7f
> 4b4a9b.invoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>         at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
> Invoker.java:38)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
> n.java:118)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
> java:835)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
> 178)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
> 173)
>         at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:286)
>         at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:82)
>         at org.apache.geronimo.system.main.Daemon.main(Daemon.java:404)
> log4j:ERROR Ignoring configuration file [file:/C:/geronimo-1.0/var/log/server-lo
> g4j.properties].

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (GERONIMO-1746) Updates to Logger through Log Manager portlet under Console are not reflected in the server

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-1746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donald Woods reassigned GERONIMO-1746:
--------------------------------------

    Assignee: Donald Woods

> Updates to Logger through Log Manager portlet under Console are not reflected in the server
> -------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-1746
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-1746
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: console, Logging
>    Affects Versions: 1.0
>         Environment: Win XP, Sun JDK 1.4.2_08
>            Reporter: Vamsavardhana Reddy
>            Assignee: Donald Woods
>             Fix For: Wish List
>
>
> Changes made to the logger through Log Manager portlet are not reflected in the server.  Through the admin console, I have changed the Config File from server-log4j.properties to a different file.  The change is written to config.xml .  Inspite of this new file name in config.xml, upon restart, the server still uses server-log4j.properties  .
> Restarting the server after deleting server-log4j.properties logged the following error to console window.
> log4j:ERROR Could not read configuration file from URL [file:/C:/geronimo-1.0/va
> r/log/server-log4j.properties].
> java.io.FileNotFoundException: C:\geronimo-1.0\var\log\server-log4j.properties (
> The system cannot find the file specified)
>         at java.io.FileInputStream.open(Native Method)
>         at java.io.FileInputStream.<init>(Unknown Source)
>         at java.io.FileInputStream.<init>(Unknown Source)
>         at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
>         at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown So
> urce)
>         at java.net.URL.openStream(Unknown Source)
>         at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurato
> r.java:424)
>         at org.apache.geronimo.system.logging.log4j.URLConfigurator.doConfigure(
> URLConfigurator.java:117)
>         at org.apache.geronimo.system.logging.log4j.URLConfigurator.configure(UR
> LConfigurator.java:44)
>         at org.apache.geronimo.system.logging.log4j.Log4jService.reconfigure(Log
> 4jService.java:518)
>         at org.apache.geronimo.system.logging.log4j.Log4jService.doStart(Log4jSe
> rvice.java:561)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanI
> nstance.java:936)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
> (GBeanInstanceState.java:325)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
> nceState.java:110)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(G
> BeanInstanceState.java:132)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanI
> nstance.java:537)
>         at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(Basi
> cKernel.java:208)
>         at org.apache.geronimo.kernel.config.Configuration.startRecursiveGBeans(
> Configuration.java:315)
>         at org.apache.geronimo.kernel.config.Configuration$$FastClassByCGLIB$$7f
> 4b4a9b.invoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>         at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
> Invoker.java:38)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
> n.java:118)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
> java:835)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
> 178)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
> 173)
>         at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:286)
>         at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:82)
>         at org.apache.geronimo.system.main.Daemon.main(Daemon.java:404)
> log4j:ERROR Ignoring configuration file [file:/C:/geronimo-1.0/var/log/server-lo
> g4j.properties].

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-1746) Updates to Logger through Log Manager portlet under Console are not reflected in the server

Posted by "Vamsavardhana Reddy (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1746?page=comments#action_12372222 ] 

Vamsavardhana Reddy commented on GERONIMO-1746:
-----------------------------------------------

After some observation, I realized that there is no way of modifying
the Logger permanently, since the Logger GBean is loaded from
META-INF\config.ser which is in server.jar .  Any modifications
to Logger GBean will make the updated values written to config.xml
but these values will never reflect in the Logger GBean at server
startup.  Bottom line...  Logger is initialized even before attribute
manager can update the changed Logger attributes from config.xml

> Updates to Logger through Log Manager portlet under Console are not reflected in the server
> -------------------------------------------------------------------------------------------
>
>          Key: GERONIMO-1746
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1746
>      Project: Geronimo
>         Type: Bug
>   Components: console, Logging
>     Versions: 1.0
>  Environment: Win XP, Sun JDK 1.4.2_08
>     Reporter: Vamsavardhana Reddy
>      Fix For: 1.2

>
> Changes made to the logger through Log Manager portlet are not reflected in the server.  Through the admin console, I have changed the Config File from server-log4j.properties to a different file.  The change is written to config.xml .  Inspite of this new file name in config.xml, upon restart, the server still uses server-log4j.properties  .
> Restarting the server after deleting server-log4j.properties logged the following error to console window.
> log4j:ERROR Could not read configuration file from URL [file:/C:/geronimo-1.0/va
> r/log/server-log4j.properties].
> java.io.FileNotFoundException: C:\geronimo-1.0\var\log\server-log4j.properties (
> The system cannot find the file specified)
>         at java.io.FileInputStream.open(Native Method)
>         at java.io.FileInputStream.<init>(Unknown Source)
>         at java.io.FileInputStream.<init>(Unknown Source)
>         at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
>         at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown So
> urce)
>         at java.net.URL.openStream(Unknown Source)
>         at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurato
> r.java:424)
>         at org.apache.geronimo.system.logging.log4j.URLConfigurator.doConfigure(
> URLConfigurator.java:117)
>         at org.apache.geronimo.system.logging.log4j.URLConfigurator.configure(UR
> LConfigurator.java:44)
>         at org.apache.geronimo.system.logging.log4j.Log4jService.reconfigure(Log
> 4jService.java:518)
>         at org.apache.geronimo.system.logging.log4j.Log4jService.doStart(Log4jSe
> rvice.java:561)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanI
> nstance.java:936)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
> (GBeanInstanceState.java:325)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
> nceState.java:110)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(G
> BeanInstanceState.java:132)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanI
> nstance.java:537)
>         at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(Basi
> cKernel.java:208)
>         at org.apache.geronimo.kernel.config.Configuration.startRecursiveGBeans(
> Configuration.java:315)
>         at org.apache.geronimo.kernel.config.Configuration$$FastClassByCGLIB$$7f
> 4b4a9b.invoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>         at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
> Invoker.java:38)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
> n.java:118)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
> java:835)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
> 178)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
> 173)
>         at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:286)
>         at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:82)
>         at org.apache.geronimo.system.main.Daemon.main(Daemon.java:404)
> log4j:ERROR Ignoring configuration file [file:/C:/geronimo-1.0/var/log/server-lo
> g4j.properties].

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira