[JBoss JIRA] Created: (JBLOGGING-45) Support automatic log file compression in FileHandler (for compressing all files in real time) and PeriodicRotatingFileHandler (for compressing upon rotation)
by Aleksander Adamowski (JIRA)
Support automatic log file compression in FileHandler (for compressing all files in real time) and PeriodicRotatingFileHandler (for compressing upon rotation)
--------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: JBLOGGING-45
URL: https://jira.jboss.org/jira/browse/JBLOGGING-45
Project: JBoss Logging
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Reporter: Aleksander Adamowski
Assignee: David Lloyd
This is a follow up to JBAS-6917.
It would be nice to have an automatic compression of log files similar to the one implemented in Log4j extras:
http://logging.apache.org/log4j/companions/extras/apidocs/org/apache/log4...
"TimeBasedRollingPolicy supports automatic file compression. This feature is enabled if the value of the FileNamePattern option ends with .gz or .zip."
In JBoss Logging, I suppose this could be implemented on 2 levels:
1) In the FileHandler (http://anonsvn.jboss.org/repos/common/jboss-logmanager/trunk/src/main/jav...) so that, with proper configuration, each log file is compressed in real time, and it exists only in compressed form from the moment of its creation.
2) In the PeriodicRotatingFileHandler (http://anonsvn.jboss.org/repos/common/jboss-logmanager/trunk/src/main/jav...) so that with proper configuration, archival log files can be compressed the moment they are rotated (e.g. server.log.2010-05-06.gz is created instead of server.log.2010-05-06), but the current log file should be plain text.
In PeriodicRotatingFileHandler, the implementation must take into account that compression of rotated log files may take considerable time and should be performed in the background - the handler should be able to process log records at any time, particularly during rotation, without losing any.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months
[JBoss JIRA] Created: (JBAS-9234) CNFEs for Seam 3 optional dependencies
by Nicklas Karlsson (JIRA)
CNFEs for Seam 3 optional dependencies
--------------------------------------
Key: JBAS-9234
URL: https://issues.jboss.org/browse/JBAS-9234
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Modules / Class-loading
Affects Versions: 7.0.0.Beta2
Reporter: Nicklas Karlsson
Assignee: Stuart Douglas
7.0.0.Beta3-SNAPSHOT upgraded to Weld 1.1.1.Final
When deploying a WAR with the seam 3 i18n module I get
09:26:34,401 WARN [org.jboss.modules] (MSC service thread 1-2) Failed to define class org.jboss.seam.international.datetimezone.ForwardingDateTimeZone in Module "deployment.LTK.war:main" from Service Module Loader: java.lang.LinkageError: Failed to link org/jboss/seam/international/datetimezone/ForwardingDateTimeZone (Module "deployment.LTK.war:main" from Service Module Loader)
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:372) [:1.0.0.Beta17]
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:248) [:1.0.0.Beta17]
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:72) [:1.0.0.Beta17]
at org.jboss.modules.Module.loadModuleClass(Module.java:576) [:1.0.0.Beta17]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:176) [:1.0.0.Beta17]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:357) [:1.0.0.Beta17]
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:306) [:1.0.0.Beta17]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:100) [:1.0.0.Beta17]
at org.jboss.as.weld.WeldModuleResourceLoader.classForName(WeldModuleResourceLoader.java:68) [file:C:%5CJava%5CAS%5Cjboss-7.0.0.Beta3-SNAPSHOT%5Cmodules%5Corg%5Cjboss%5Cas%5Cweld%5Cmain%5Cjboss-as-weld-7.0.0.Beta3-SNAPSHOT.jar:7.0.0.Beta3-SNAPSHOT]
at org.jboss.weld.bootstrap.BeanDeployer.addClass(BeanDeployer.java:83) [file:C:%5CJava%5CAS%5Cjboss-7.0.0.Beta3-SNAPSHOT%5Cmodules%5Corg%5Cjboss%5Cweld%5Ccore%5Cmain%5Cweld-core-1.1.1.Final.jar:2011-04-04 15:54]
at org.jboss.weld.bootstrap.BeanDeployer.addClasses(BeanDeployer.java:133) [file:C:%5CJava%5CAS%5Cjboss-7.0.0.Beta3-SNAPSHOT%5Cmodules%5Corg%5Cjboss%5Cweld%5Ccore%5Cmain%5Cweld-core-1.1.1.Final.jar:2011-04-04 15:54]
at org.jboss.weld.bootstrap.BeanDeployment.deployBeans(BeanDeployment.java:192) [file:C:%5CJava%5CAS%5Cjboss-7.0.0.Beta3-SNAPSHOT%5Cmodules%5Corg%5Cjboss%5Cweld%5Ccore%5Cmain%5Cweld-core-1.1.1.Final.jar:2011-04-04 15:54]
at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:370) [file:C:%5CJava%5CAS%5Cjboss-7.0.0.Beta3-SNAPSHOT%5Cmodules%5Corg%5Cjboss%5Cweld%5Ccore%5Cmain%5Cweld-core-1.1.1.Final.jar:2011-04-04 15:54]
at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:82) [file:C:%5CJava%5CAS%5Cjboss-7.0.0.Beta3-SNAPSHOT%5Cmodules%5Corg%5Cjboss%5Cas%5Cweld%5Cmain%5Cjboss-as-weld-7.0.0.Beta3-SNAPSHOT.jar:7.0.0.Beta3-SNAPSHOT]
at org.jboss.as.weld.services.WeldService.start(WeldService.java:89) [file:C:%5CJava%5CAS%5Cjboss-7.0.0.Beta3-SNAPSHOT%5Cmodules%5Corg%5Cjboss%5Cas%5Cweld%5Cmain%5Cjboss-as-weld-7.0.0.Beta3-SNAPSHOT.jar:7.0.0.Beta3-SNAPSHOT]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1344)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_23]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_23]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_23]
Caused by: java.lang.NoClassDefFoundError: org/joda/time/DateTimeZone
at java.lang.ClassLoader.defineClass1(Native Method) [:1.6.0_23]
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) [:1.6.0_23]
at java.lang.ClassLoader.defineClass(ClassLoader.java:616) [:1.6.0_23]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [:1.6.0_23]
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:368) [:1.0.0.Beta17]
... 18 more
Caused by: java.lang.ClassNotFoundException: org.joda.time.DateTimeZone from [Module "deployment.LTK.war:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:184) [:1.0.0.Beta17]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:357) [:1.0.0.Beta17]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:329) [:1.0.0.Beta17]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:329) [:1.0.0.Beta17]
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:306) [:1.0.0.Beta17]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:100) [:1.0.0.Beta17]
... 23 more
09:26:34,413 WARN [org.jboss.modules] (MSC service thread 1-2) Failed to define class org.jboss.seam.international.datetimezone.ForwardingDateTimeZone in Module "deployment.LTK.war:main" from Service Module Loader: java.lang.LinkageError: Failed to link org/jboss/seam/international/datetimezone/ForwardingDateTimeZone (Module "deployment.LTK.war:main" from Service Module Loader)
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:372) [:1.0.0.Beta17]
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:248) [:1.0.0.Beta17]
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:72) [:1.0.0.Beta17]
at org.jboss.modules.Module.loadModuleClass(Module.java:576) [:1.0.0.Beta17]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:176) [:1.0.0.Beta17]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:357) [:1.0.0.Beta17]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:329) [:1.0.0.Beta17]
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:306) [:1.0.0.Beta17]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:100) [:1.0.0.Beta17]
at java.lang.Class.getDeclaredMethods0(Native Method) [:1.6.0_23]
at java.lang.Class.privateGetDeclaredMethods(Class.java:2427) [:1.6.0_23]
at java.lang.Class.getDeclaredMethods(Class.java:1791) [:1.6.0_23]
at org.jboss.weld.util.reflection.SecureReflections$8.work(SecureReflections.java:198) [file:C:%5CJava%5CAS%5Cjboss-7.0.0.Beta3-SNAPSHOT%5Cmodules%5Corg%5Cjboss%5Cweld%5Ccore%5Cmain%5Cweld-core-1.1.1.Final.jar:2011-04-04 15:54]
at org.jboss.weld.util.reflection.SecureReflections$8.work(SecureReflections.java:194) [file:C:%5CJava%5CAS%5Cjboss-7.0.0.Beta3-SNAPSHOT%5Cmodules%5Corg%5Cjboss%5Cweld%5Ccore%5Cmain%5Cweld-core-1.1.1.Final.jar:2011-04-04 15:54]
at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54) [file:C:%5CJava%5CAS%5Cjboss-7.0.0.Beta3-SNAPSHOT%5Cmodules%5Corg%5Cjboss%5Cweld%5Ccore%5Cmain%5Cweld-core-1.1.1.Final.jar:2011-04-04 15:54]
at org.jboss.weld.util.reflection.SecureReflectionAccess.runAndWrap(SecureReflectionAccess.java:67) [file:C:%5CJava%5CAS%5Cjboss-7.0.0.Beta3-SNAPSHOT%5Cmodules%5Corg%5Cjboss%5Cweld%5Ccore%5Cmain%5Cweld-core-1.1.1.Final.jar:2011-04-04 15:54]
at org.jboss.weld.util.reflection.SecureReflections.getDeclaredMethods(SecureReflections.java:193) [file:C:%5CJava%5CAS%5Cjboss-7.0.0.Beta3-SNAPSHOT%5Cmodules%5Corg%5Cjboss%5Cweld%5Ccore%5Cmain%5Cweld-core-1.1.1.Final.jar:2011-04-04 15:54]
at org.jboss.weld.introspector.jlr.WeldClassImpl.<init>(WeldClassImpl.java:262) [file:C:%5CJava%5CAS%5Cjboss-7.0.0.Beta3-SNAPSHOT%5Cmodules%5Corg%5Cjboss%5Cweld%5Ccore%5Cmain%5Cweld-core-1.1.1.Final.jar:2011-04-04 15:54]
at org.jboss.weld.introspector.jlr.WeldClassImpl.of(WeldClassImpl.java:124) [file:C:%5CJava%5CAS%5Cjboss-7.0.0.Beta3-SNAPSHOT%5Cmodules%5Corg%5Cjboss%5Cweld%5Ccore%5Cmain%5Cweld-core-1.1.1.Final.jar:2011-04-04 15:54]
at org.jboss.weld.resources.ClassTransformer$TransformTypeToWeldClass.apply(ClassTransformer.java:54) [file:C:%5CJava%5CAS%5Cjboss-7.0.0.Beta3-SNAPSHOT%5Cmodules%5Corg%5Cjboss%5Cweld%5Ccore%5Cmain%5Cweld-core-1.1.1.Final.jar:2011-04-04 15:54]
at org.jboss.weld.resources.ClassTransformer$TransformTypeToWeldClass.apply(ClassTransformer.java:42) [file:C:%5CJava%5CAS%5Cjboss-7.0.0.Beta3-SNAPSHOT%5Cmodules%5Corg%5Cjboss%5Cweld%5Ccore%5Cmain%5Cweld-core-1.1.1.Final.jar:2011-04-04 15:54]
at com.google.common.collect.ComputingConcurrentHashMap.compute(ComputingConcurrentHashMap.java:206)
at com.google.common.collect.ComputingConcurrentHashMap.apply(ComputingConcurrentHashMap.java:100)
at com.google.common.collect.MapMaker$ComputingMapAdapter.get(MapMaker.java:515)
at org.jboss.weld.resources.ClassTransformer.loadClass(ClassTransformer.java:183) [file:C:%5CJava%5CAS%5Cjboss-7.0.0.Beta3-SNAPSHOT%5Cmodules%5Corg%5Cjboss%5Cweld%5Ccore%5Cmain%5Cweld-core-1.1.1.Final.jar:2011-04-04 15:54]
at org.jboss.weld.bootstrap.BeanDeployer.addClass(BeanDeployer.java:96) [file:C:%5CJava%5CAS%5Cjboss-7.0.0.Beta3-SNAPSHOT%5Cmodules%5Corg%5Cjboss%5Cweld%5Ccore%5Cmain%5Cweld-core-1.1.1.Final.jar:2011-04-04 15:54]
at org.jboss.weld.bootstrap.BeanDeployer.addClasses(BeanDeployer.java:133) [file:C:%5CJava%5CAS%5Cjboss-7.0.0.Beta3-SNAPSHOT%5Cmodules%5Corg%5Cjboss%5Cweld%5Ccore%5Cmain%5Cweld-core-1.1.1.Final.jar:2011-04-04 15:54]
at org.jboss.weld.bootstrap.BeanDeployment.deployBeans(BeanDeployment.java:192) [file:C:%5CJava%5CAS%5Cjboss-7.0.0.Beta3-SNAPSHOT%5Cmodules%5Corg%5Cjboss%5Cweld%5Ccore%5Cmain%5Cweld-core-1.1.1.Final.jar:2011-04-04 15:54]
at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:370) [file:C:%5CJava%5CAS%5Cjboss-7.0.0.Beta3-SNAPSHOT%5Cmodules%5Corg%5Cjboss%5Cweld%5Ccore%5Cmain%5Cweld-core-1.1.1.Final.jar:2011-04-04 15:54]
at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:82) [file:C:%5CJava%5CAS%5Cjboss-7.0.0.Beta3-SNAPSHOT%5Cmodules%5Corg%5Cjboss%5Cas%5Cweld%5Cmain%5Cjboss-as-weld-7.0.0.Beta3-SNAPSHOT.jar:7.0.0.Beta3-SNAPSHOT]
at org.jboss.as.weld.services.WeldService.start(WeldService.java:89) [file:C:%5CJava%5CAS%5Cjboss-7.0.0.Beta3-SNAPSHOT%5Cmodules%5Corg%5Cjboss%5Cas%5Cweld%5Cmain%5Cjboss-as-weld-7.0.0.Beta3-SNAPSHOT.jar:7.0.0.Beta3-SNAPSHOT]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1344)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_23]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_23]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_23]
Caused by: java.lang.NoClassDefFoundError: org/joda/time/DateTimeZone
at java.lang.ClassLoader.defineClass1(Native Method) [:1.6.0_23]
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) [:1.6.0_23]
at java.lang.ClassLoader.defineClass(ClassLoader.java:616) [:1.6.0_23]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [:1.6.0_23]
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:368) [:1.0.0.Beta17]
... 34 more
Caused by: java.lang.ClassNotFoundException: org.joda.time.DateTimeZone from [Module "deployment.LTK.war:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:184) [:1.0.0.Beta17]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:357) [:1.0.0.Beta17]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:329) [:1.0.0.Beta17]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:329) [:1.0.0.Beta17]
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:306) [:1.0.0.Beta17]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:100) [:1.0.0.Beta17]
... 39 more
09:26:34,440 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.deployment.unit."LTK.war".WeldService: org.jboss.msc.service.StartException in service jboss.deployment.unit."LTK.war".WeldService: com.google.common.collect.ComputationException: java.lang.LinkageError: Failed to link org/jboss/seam/international/datetimezone/ForwardingDateTimeZone (Module "deployment.LTK.war:main" from Service Module Loader)
at org.jboss.as.weld.services.WeldService.start(WeldService.java:96)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1344)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_23]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_23]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_23]
Caused by: com.google.common.collect.ComputationException: java.lang.LinkageError: Failed to link org/jboss/seam/international/datetimezone/ForwardingDateTimeZone (Module "deployment.LTK.war:main" from Service Module Loader)
at com.google.common.collect.ComputingConcurrentHashMap.compute(ComputingConcurrentHashMap.java:218)
at com.google.common.collect.ComputingConcurrentHashMap.apply(ComputingConcurrentHashMap.java:100)
at com.google.common.collect.MapMaker$ComputingMapAdapter.get(MapMaker.java:515)
at org.jboss.weld.resources.ClassTransformer.loadClass(ClassTransformer.java:183)
at org.jboss.weld.bootstrap.BeanDeployer.addClass(BeanDeployer.java:96)
at org.jboss.weld.bootstrap.BeanDeployer.addClasses(BeanDeployer.java:133)
at org.jboss.weld.bootstrap.BeanDeployment.deployBeans(BeanDeployment.java:192)
at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:370)
at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:82)
at org.jboss.as.weld.services.WeldService.start(WeldService.java:89)
... 4 more
Caused by: java.lang.LinkageError: Failed to link org/jboss/seam/international/datetimezone/ForwardingDateTimeZone (Module "deployment.LTK.war:main" from Service Module Loader)
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:372) [jboss-modules.jar:1.0.0.Beta17]
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:248) [jboss-modules.jar:1.0.0.Beta17]
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:72) [jboss-modules.jar:1.0.0.Beta17]
at org.jboss.modules.Module.loadModuleClass(Module.java:576) [jboss-modules.jar:1.0.0.Beta17]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:176) [jboss-modules.jar:1.0.0.Beta17]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:357) [jboss-modules.jar:1.0.0.Beta17]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:329) [jboss-modules.jar:1.0.0.Beta17]
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:306) [jboss-modules.jar:1.0.0.Beta17]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:100) [jboss-modules.jar:1.0.0.Beta17]
at java.lang.Class.getDeclaredMethods0(Native Method) [:1.6.0_23]
at java.lang.Class.privateGetDeclaredMethods(Class.java:2427) [:1.6.0_23]
at java.lang.Class.getDeclaredMethods(Class.java:1791) [:1.6.0_23]
at org.jboss.weld.util.reflection.SecureReflections$8.work(SecureReflections.java:198)
at org.jboss.weld.util.reflection.SecureReflections$8.work(SecureReflections.java:194)
at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
at org.jboss.weld.util.reflection.SecureReflectionAccess.runAndWrap(SecureReflectionAccess.java:67)
at org.jboss.weld.util.reflection.SecureReflections.getDeclaredMethods(SecureReflections.java:193)
at org.jboss.weld.introspector.jlr.WeldClassImpl.<init>(WeldClassImpl.java:262)
at org.jboss.weld.introspector.jlr.WeldClassImpl.of(WeldClassImpl.java:124)
at org.jboss.weld.resources.ClassTransformer$TransformTypeToWeldClass.apply(ClassTransformer.java:54)
at org.jboss.weld.resources.ClassTransformer$TransformTypeToWeldClass.apply(ClassTransformer.java:42)
at com.google.common.collect.ComputingConcurrentHashMap.compute(ComputingConcurrentHashMap.java:206)
... 13 more
Caused by: java.lang.NoClassDefFoundError: org/joda/time/DateTimeZone
at java.lang.ClassLoader.defineClass1(Native Method) [:1.6.0_23]
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) [:1.6.0_23]
at java.lang.ClassLoader.defineClass(ClassLoader.java:616) [:1.6.0_23]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [:1.6.0_23]
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:368) [jboss-modules.jar:1.0.0.Beta17]
... 34 more
Caused by: java.lang.ClassNotFoundException: org.joda.time.DateTimeZone from [Module "deployment.LTK.war:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:184) [jboss-modules.jar:1.0.0.Beta17]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:357) [jboss-modules.jar:1.0.0.Beta17]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:329) [jboss-modules.jar:1.0.0.Beta17]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:329) [jboss-modules.jar:1.0.0.Beta17]
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:306) [jboss-modules.jar:1.0.0.Beta17]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:100) [jboss-modules.jar:1.0.0.Beta17]
... 39 more
09:26:34,463 ERROR [org.jboss.as] (MSC service thread 1-1) JBoss AS 7.0.0.Beta3-SNAPSHOT "TBD" started (with errors) in 8363ms - Started 485 of 821 services (17 services failed or missing dependencies, 26 services are passive or on-demand)
Services missing dependencies:
service jboss.data-source.java:/LTKDatasource
service jboss.data-source.reference-factory.java:/LTKDatasource
service jboss.deployment.unit."LTK.war".component.Excelmuodostaja.START
service jboss.deployment.unit."LTK.war".component.Perustietotoiminnot.START
service jboss.deployment.unit."LTK.war".component.Raporttitoiminnot.START
service jboss.deployment.unit."LTK.war".component.Siirtokanta.START
service jboss.deployment.unit."LTK.war".component.Siirtotoiminnot.START
service jboss.jpa.persistenceunit."LTK.war#LTK"
service jboss.naming.context.java.comp.LTK.LTK.Excelmuodostaja.env/entityManager
service jboss.naming.context.java.comp.LTK.LTK.Perustietotoiminnot.env/kanta
service jboss.naming.context.java.comp.LTK.LTK.Raporttitoiminnot.env/entityManager
service jboss.naming.context.java.comp.LTK.LTK.Siirtokanta."env/fi.affecto.ltk.siirto.Siirtokanta/datasource"
service jboss.naming.context.java.comp.LTK.LTK.Siirtotoiminnot.env/kanta
service jboss.naming.context.java.java:/LTKDatasource
service jboss.naming.context.java.module.LTK.LTK.env/kanta
service jboss.web."LTK.war"
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months
[JBoss JIRA] Created: (JBWEB-72) html page and jsp are not display with in a Context defined in server.xml.
by Jean-Frederic Clere (JIRA)
html page and jsp are not display with in a Context defined in server.xml.
--------------------------------------------------------------------------
Key: JBWEB-72
URL: http://jira.jboss.com/jira/browse/JBWEB-72
Project: JBoss Web
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Core
Affects Versions: JBoss Web Server 1.0.1 GA
Environment: any
Reporter: Jean-Frederic Clere
Assigned To: Jean-Frederic Clere
Priority: Minor
When using a Context definition in server.xml like:
<Context path="/test" docBase="/home/jfclere/TMP/MYAPP" />
The jsp and html pages of /home/jfclere/TMP/MYAPP are not displayed (404 is returned).
That is because the conf/web.xml is not used to set the defaults when the <Context/> is processed.
DefaultWebXml is set in TomcatDeployer and that is after the <Context/> needs it. The default value is used but it is set to "web.xml".
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months
[JBoss JIRA] Created: (JBRULES-2934) CommandFactory newStartProcess doesn't set parameters
by Dan Seaver (JIRA)
CommandFactory newStartProcess doesn't set parameters
-----------------------------------------------------
Key: JBRULES-2934
URL: https://issues.jboss.org/browse/JBRULES-2934
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-core
Affects Versions: 5.2.0.M1
Reporter: Dan Seaver
Assignee: Mark Proctor
Should be able to set parameter values when starting a process. Current code:
public static Command newStartProcess(String processId,
Map<String, Object> parameters) {
return getCommandFactoryProvider().newStartProcess( processId );
}
proposed code:
public static Command newStartProcess(String processId,
Map<String, Object> parameters) {
StartProcessCommand cmd = new StartProcessCommand(processId);
cmd.setParameters(parameters);
return cmd;
}
Also, I think this issue would go under the droolsjbpm-knowledge component if the JIRA component list were updated.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months
[JBoss JIRA] Created: (JBRULES-2533) Update Eclipse Compiler dependency
by Fabian Lange (JIRA)
Update Eclipse Compiler dependency
----------------------------------
Key: JBRULES-2533
URL: https://jira.jboss.org/browse/JBRULES-2533
Project: Drools
Issue Type: Task
Security Level: Public (Everyone can see)
Components: drools-compiler
Affects Versions: 5.1.0.M2
Reporter: Fabian Lange
Assignee: Mark Proctor
drools-compiler pom includes a reference to eclipse JDT. in 5.0.1 this was a 4 MB core_whatever.jar
Because I wanted to improve compiler performance I tried out a never eclipse compiler package. Finding it was not very easy, because eclipse seems to change group and artifact ids every day.
I found a module which only contains the compiler part from eclipse 3.5.1, which works in all my tests ok.
Another nice benefit was that the size of my war shrunk by 3 Megabytes, as this module is only 1.7 megs.
It even helped for performance of compilation process by the way. Not that this is a main bottleneck, but we have files that take seconds to compile.
My tests on my windows box with java 6 gave 5-10% improvement using the 3.5.1 jdt compiler.
Here the part for the pom:
{code}
<dependency>
<groupId>org.eclipse.jdt.core.compiler</groupId>
<artifactId>ecj</artifactId>
<version>3.5.1</version>
</dependency>
{code}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months
[JBoss JIRA] Created: (JBAS-8955) Injection of a WebServiceContext in an Interceptor fails when deployed.
by Peer Bech Hansen (JIRA)
Injection of a WebServiceContext in an Interceptor fails when deployed.
-----------------------------------------------------------------------
Key: JBAS-8955
URL: https://issues.jboss.org/browse/JBAS-8955
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: EJB3
Affects Versions: JBossAS-5.1.0.GA
Environment: Windows 7 US, JDK 1.6.22
Reporter: Peer Bech Hansen
Assignee: Carlo de Wolf
Fix For: 6.0.0.Final
http://community.jboss.org/message/589104
public class WebserviceLogInterceptor {
@Resource
private WebServiceContext wsc;
@AroundInvoke
public Object logCall(InvocationContext context) throws Exception {
try {
return context.proceed();
} catch (Exception e) {
throw e;
}
}
}
org.jboss.deployers.spi.DeploymentException: Error deploying Project-1.0-SNAPSHOT.jar: Exception while processing container metadata for EJB: DemoService in unit: Project-1.0-SNAPSHOT.jar
at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:196)
at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:99)
at org.jboss.deployers.vfs.spi.deployer.AbstractVFSRealDeployer.internalDeploy(AbstractVFSRealDeployer.java:45)
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:362)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.Exception: Exception while processing container metadata for EJB: DemoService in unit: Project-1.0-SNAPSHOT.jar
at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:549)
at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:189)
... 29 more
Caused by: java.lang.ArrayStoreException: org.jboss.injection.WebServiceContextPropertyInjector
at java.util.AbstractCollection.toArray(AbstractCollection.java:171)
at org.jboss.ejb3.interceptor.InterceptorInjector.(InterceptorInjector.java:42)
at org.jboss.ejb3.EJBContainer.processMetadata(EJBContainer.java:610)
at org.jboss.ejb3.Ejb3Deployment.processEJBContainerMetadata(Ejb3Deployment.java:418)
at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:527)
... 30 more
18:01:38,527 WARN Re: Bug: injecting WebServiceContext at AroundInvoke Failed to process changes
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months