michaelyin / openmeetings

Automatically exported from code.google.com/p/openmeetings
0 stars 0 forks source link

Velocity: java.lang.IllegalArgumentException: Bad level "WARN" #540

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Velocity throws an error, although it does send still the mails and merge
templates.

DEBUG] [pool-4-thread-16] org.apache.velocity - Trying to use logger class
org.apache.velocity.runtime.log.JdkLogChute
[INFO] [pool-4-thread-16] org.apache.velocity - Failed to initialize an
instance of org.apache.velocity.runtime.log.JdkLogChute with the current
runtime configuration.
java.lang.IllegalArgumentException: Bad level "WARN"
    at java.util.logging.Level.parse(Level.java:336)
    at org.apache.velocity.runtime.log.JdkLogChute.init(JdkLogChute.java:65)
    at
org.apache.velocity.runtime.log.LogManager.createLogChute(LogManager.java:150)
    at org.apache.velocity.runtime.log.LogManager.updateLog(LogManager.java:243)
    at
org.apache.velocity.runtime.RuntimeInstance.initializeLog(RuntimeInstance.java:7
28)
    at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:240)
    at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:548)
    at
org.apache.velocity.runtime.RuntimeSingleton.init(RuntimeSingleton.java:241)
    at org.apache.velocity.app.Velocity.init(Velocity.java:97)
    at org.openmeetings.app.templates.VelocityLoader.<init>(Unknown Source)
    at org.openmeetings.app.templates.RegisterUserTemplate.<init>(Unknown Source)
    at org.openmeetings.app.templates.RegisterUserTemplate.getInstance(Unknown
Source)
    at org.openmeetings.app.data.user.Emailmanagement.sendMail(Unknown Source)
    at org.openmeetings.app.data.user.Usermanagement.registerUserInit(Unknown
Source)
    at org.openmeetings.app.data.user.Usermanagement.registerUser(Unknown Source)
    at org.openmeetings.app.remote.MainService.registerUserByObject(Unknown
Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.red5.server.service.ServiceInvoker.invoke(ServiceInvoker.java:201)
    at org.red5.server.service.ServiceInvoker.invoke(ServiceInvoker.java:119)
    at org.red5.server.net.rtmp.RTMPHandler.invokeCall(RTMPHandler.java:158)
    at org.red5.server.net.rtmp.RTMPHandler.onInvoke(RTMPHandler.java:410)
    at
org.red5.server.net.rtmp.BaseRTMPHandler.messageReceived(BaseRTMPHandler.java:14
6)
    at
org.red5.server.net.rtmp.RTMPMinaIoHandler.messageReceived(RTMPMinaIoHandler.jav
a:126)
    at
org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageReceived(
AbstractIoFilterChain.java:570)
    at
org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Abs
tractIoFilterChain.java:299)
    at
org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilte
rChain.java:53)
    at
org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived
(AbstractIoFilterChain.java:648)
    at
org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:
220)
    at
org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(Executo
rFilter.java:264)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:6
50)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
    at java.lang.Thread.run(Thread.java:613)

I don't know if its related to a general Logging Issue or in particular to
velocity.
As far as I can read velocity has a somehow *own* Logging System, so the
normal log4j-over-slf4j bridge does not work

Original issue reported on code.google.com by seba.wag...@gmail.com on 7 Oct 2008 at 2:01

GoogleCodeExporter commented 9 years ago

Original comment by seba.wag...@gmail.com on 31 Jan 2012 at 12:23

GoogleCodeExporter commented 9 years ago
OpenMeetings moves to Apache Foundation, update your bookmarks to the new 
project page:

http://incubator.apache.org/openmeetings/

New Issue tracker is located: https://issues.apache.org/jira/browse/OPENMEETINGS

New Mailing Lists located at: 
http://incubator.apache.org/openmeetings/mail-lists.html 

Original comment by seba.wag...@gmail.com on 31 Jan 2012 at 12:25