Anonymous | Login | Signup for a new account | 12-17-2024 08:37 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0002443 | [Resin] | major | always | 02-17-08 03:32 | 02-19-08 11:07 | ||||
Reporter | stbu | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 3.1.5 | ||||||
Summary | 0002443: Snapshot s080215: <resin:log> causes "Can't convert to 'com.caucho.log.LogConfig' ..." | ||||||||
Description |
A web-application can't be started (reported in resin-admin as State "error") when it contains a <resin:log> tag. The error is reproducible when adding this: <resin:log>Starting web application ${webApp.contextPath}</resin:log> to resin-web.xml or directly in resin.conf. Example of resin-web.xml: <web-app xmlns="http://caucho.com/ns/resin" [^] xmlns:resin="http://caucho.com/ns/resin/core"> [^] <log name="" level="finest" path="WEB-INF/debug.log" timestamp="[%H:%M:%S.%s] {%{thread}}" format=" ${log.level} ${log.loggerName} ${log.message}"/> <logger name="com.caucho" level="finest"/> <resin:log>Starting web application ${webApp.contextPath}</resin:log> </web-app> The output of "WEB-INF/debug.log" contains this additional information: [12:24:32.375] {main} FINEST com.caucho.server.webapp.WebAppController WebAppController$20890333[/resin-log] error [12:24:32.375] {main} FINEST com.caucho.server.webapp.WebAppController WebAppAdmin[resin:type=WebApp,Host=default,name=/resin-log] lifecycleEvent `failed' [12:24:32.375] {main} WARNING com.caucho.server.webapp.WebApp WEB-INF/resin-web.xml:11: Can't convert to 'com.caucho.log.LogConfig' from 'Starting web application /resin-log'. [12:24:32.375] {main} [12:24:32.375] {main}9: <logger name="com.caucho" level="finest"/> [12:24:32.375] {main}10: [12:24:32.375] {main}11: <resin:log>Starting web application ${webApp.contextPath}</resin:log> [12:24:32.375] {main}12: [12:24:32.375] {main}13: </web-app> [12:24:32.375] {main} [12:24:32.375] {main} at com.caucho.config.ConfigContext.error(ConfigContext.java:1139) [12:24:32.375] {main} at com.caucho.config.ConfigContext.configureChildNode(ConfigContext.java:538) [12:24:32.375] {main} at com.caucho.config.ConfigContext.configureNode(ConfigContext.java:365) [12:24:32.375] {main} at com.caucho.config.ConfigContext.configureBean(ConfigContext.java:284) [12:24:32.375] {main} at com.caucho.config.Config.configureBean(Config.java:291) [12:24:32.375] {main} at com.caucho.config.Config.configureBean(Config.java:262) [12:24:32.375] {main} at com.caucho.config.core.ResinImport.init(ResinImport.java:134) [12:24:32.375] {main} at sun.reflect.GeneratedMethodAccessor32.invoke(Unknown Source) [12:24:32.375] {main} at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [12:24:32.375] {main} at java.lang.reflect.Method.invoke(Method.java:597) [12:24:32.375] {main} at com.caucho.config.j2ee.PostConstructProgram.inject(PostConstructProgram.java:60) [12:24:32.375] {main} at com.caucho.config.type.BeanType.init(BeanType.java:225) [12:24:32.375] {main} at com.caucho.config.ConfigContext.configureChildNode(ConfigContext.java:502) [12:24:32.375] {main} at com.caucho.config.ConfigContext.configureAttribute(ConfigContext.java:322) [12:24:32.375] {main} at com.caucho.config.program.NodeBuilderChildProgram.inject(NodeBuilderChildProgram.java:55) [12:24:32.375] {main} at com.caucho.config.program.ContainerProgram.inject(ContainerProgram.java:80) [12:24:32.375] {main} at com.caucho.config.program.ConfigProgram.configure(ConfigProgram.java:60) [12:24:32.375] {main} at com.caucho.server.deploy.EnvironmentDeployController.configureInstance(EnvironmentDeployController.java:361) [12:24:32.375] {main} at com.caucho.server.deploy.EnvironmentDeployController.configureInstance(EnvironmentDeployController.java:55) [12:24:32.375] {main} at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:665) [12:24:32.375] {main} at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) [12:24:32.375] {main} at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) [12:24:32.375] {main} at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) [12:24:32.375] {main} at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:677) [12:24:32.375] {main} at com.caucho.server.host.Host.start(Host.java:437) [12:24:32.375] {main} at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) [12:24:32.375] {main} at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) [12:24:32.375] {main} at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) [12:24:32.375] {main} at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) [12:24:32.375] {main} at com.caucho.server.host.HostContainer.start(HostContainer.java:484) [12:24:32.375] {main} at com.caucho.server.cluster.Server.start(Server.java:1202) [12:24:32.375] {main} at com.caucho.server.cluster.Cluster.startServer(Cluster.java:710) [12:24:32.375] {main} at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:526) [12:24:32.375] {main} at com.caucho.server.resin.Resin.start(Resin.java:697) [12:24:32.375] {main} at com.caucho.server.resin.Resin.initMain(Resin.java:1141) [12:24:32.375] {main} at com.caucho.server.resin.Resin.main(Resin.java:1343) [12:24:32.375] {main}Caused by: com.caucho.config.ConfigException: Can't convert to 'com.caucho.log.LogConfig' from 'Starting web application /resin-log'. [12:24:32.375] {main} at com.caucho.config.type.BeanType.valueOf(BeanType.java:274) [12:24:32.375] {main} at com.caucho.config.type.BeanType.valueOf(BeanType.java:286) [12:24:32.375] {main} at com.caucho.config.type.ConfigType.valueOf(ConfigType.java:121) [12:24:32.375] {main} at com.caucho.config.ConfigContext.eval(ConfigContext.java:937) [12:24:32.375] {main} at com.caucho.config.ConfigContext.configureChildNode(ConfigContext.java:475) [12:24:32.375] {main} ... 34 more [12:24:32.375] {main} |
||||||||
Additional Information |
Resin Professional 3.1.s080215 (built Fri, 15 Feb 2008 12:10:51 PST) Windows XP 5.1 x86 Java 1.6.0_02-b06, 32, mixed mode, Cp1252, de, Sun Microsystems Inc. |
||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed. 26 unique queries executed. |