1 Reply Latest reply on Mar 2, 2007 3:15 AM by Ron Sigal

    Invalid error logging

    Scott Stark Master

      I'm seeing errors like the following from the remoting layer since the latest version updates in trunk:


      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)