[jboss-dev-forums] [Design of JBoss Remoting, Unified Invokers] - Invalid error logging
scott.stark@jboss.org
do-not-reply at jboss.com
Wed Feb 28 15:44:27 EST 2007
I'm seeing errors like the following from the remoting layer since the latest version updates in trunk:
anonymous wrote :
| 12:34:20,129 ERROR [ServerThread] SocketServerInvoker[0.0.0.0:4446].invoke() cal
| l failed: Failed to find template for: FakeDsXmlDataSourceTemplate
| 12:34:20,566 ERROR [ServerThread] SocketServerInvoker[0.0.0.0:4446].invoke() cal
| l failed: Failed to find deployment for name: testAddDataSource-dsf.xml
|
The throwing an exception as part of an invocation should not be producing this. Its also be logged at DEBUG level (which is also not consistent with out logging conventions. It should be a checked TRACE) with the exception:
| 2007-02-28 12:34:20,129 ERROR [org.jboss.remoting.transport.socket.ServerThread] SocketServerInvoker[0.0.0.0:4446].invoke() call failed: Failed to find template for: FakeDsXmlDataSourceTemplate
| 2007-02-28 12:34:20,129 DEBUG [org.jboss.remoting.transport.socket.ServerThread] SocketServerInvoker[0.0.0.0:4446].invoke() call failed
| java.lang.IllegalStateException: Failed to find template for: FakeDsXmlDataSourceTemplate
| at org.jboss.profileservice.management.ManagementViewImpl.getTemplate(ManagementViewImpl.java:301)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:121)
| at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
| at org.jboss.profileservice.remoting.ProfileServiceInvocationHandler.invoke(ProfileServiceInvocationHandler.java:57)
| at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:715)
| at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:552)
| at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:363)
| at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:159)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023954#4023954
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023954
More information about the jboss-dev-forums
mailing list