glassfish
  1. glassfish
  2. GLASSFISH-19667

Stack trace logging gets prepended with line prefix midway

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0_dev
    • Fix Version/s: 4.0_dev
    • Component/s: logging
    • Labels:
      None

      Description

      Here is a partial example:

      [#|2013-02-12T13:21:39.582-0800|SEVERE|glassfish 4.0|javax.enterprise.logging.stderr|_ThreadID=71;_ThreadName=p: thread-pool-1; w: 3;_TimeMillis=1360704099582;_LevelValue=1000;|javax.ejb.NoSuchObjectLocalException: The EJB does not exist. session-key: 290c00600a81f-ffffffffd0487f34-0
      at com.sun.ejb.containers.StatefulSessionContainer._getContext(StatefulSessionContainer.java:1616)
      at com.sun.ejb.containers.BaseContainer.getContext(BaseContainer.java:2497)
      at com.sun.ejb.containers.BaseContainer.preInvoke(BaseContainer.java:1887)
      at com.sun.ejb.containers.StatefulSessionContainer.removeBean(StatefulSessionContainer.java:1175)
      at com.sun.ejb.containers.EJBLocalObjectImpl.remove(EJBLocalObjectImpl.java:185)
      at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invokeEJBLocalObjectMethod(EJBLocalObjectInvocationHandler.java:257)
      at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:177)
      at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:135)
      at $Proxy223.remove(Unknown Source)
      at com.sun.s1asdev.ejb.stubs.proxy.HelloEJB.shutdown(HelloEJB.java:167)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1038)
      at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1110)
      at com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:4099)
      at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:4656)
      at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:4636)
      at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:205)
      at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:123)
      at $Proxy215.shutdown(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie.dispatchToMethod(ReflectiveTie.java:143)
      at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:173)
      at com.sun.corba.ee.impl.protocol.ServerRequestDispatcherImpl.dispatchToServant(ServerRequestDispatcherImpl.java:528)
      at com.sun.corba.ee.impl.protocol.ServerRequestDispatcherImpl.dispatch(ServerRequestDispatcherImpl.java:199)
      at com.sun.corba.ee.impl.protocol.MessageMediatorImpl.handleRequestRequest(MessageMediatorImpl.java:1549)
      at com.sun.corba.ee.impl.protocol.MessageMediatorImpl.handleRequest(MessageMediatorImpl.java:1425)
      at com.sun.corba.ee.impl.protocol.MessageMediatorImpl.handleInput(MessageMediatorImpl.java:930)
      at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:213)
      at com.sun.corba.ee.impl.protocol.MessageMediatorImpl.handleRequest(MessageMediatorImpl.java:694)
      at com.sun.corba.ee.impl.protocol.MessageMediatorImpl.dispatch(MessageMediatorImpl.java:496)
      at com.sun.corba.ee.impl.protocol.MessageMediatorImpl.doWork(MessageMediatorImpl.java:2222)
      at com.sun.corba.ee.impl.threadpool.ThreadPoolImpl$WorkerThread.performWork(ThreadPoolImpl.java:497)
      at com.sun.corba.ee.impl.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:540)

      #]

      [#|2013-02-12T13:21:39.584-0800|SEVERE|glassfish 4.0|javax.enterprise.logging.stderr|_ThreadID=71;_ThreadName=p: thread-pool-1; w: 3;_TimeMillis=1360704099584;_LevelValue=1000;| at com.sun.ejb.containers.StatefulSessionContainer._getContext(StatefulSessionContainer.java:1616)|#]

      [#|2013-02-12T13:21:39.585-0800|SEVERE|glassfish 4.0|javax.enterprise.logging.stderr|_ThreadID=71;_ThreadName=p: thread-pool-1; w: 3;_TimeMillis=1360704099585;_LevelValue=1000;| at com.sun.ejb.containers.BaseContainer.getContext(BaseContainer.java:2497)|#]

      [#|2013-02-12T13:21:39.585-0800|SEVERE|glassfish 4.0|javax.enterprise.logging.stderr|_ThreadID=71;_ThreadName=p: thread-pool-1; w: 3;_TimeMillis=1360704099585;_LevelValue=1000;| at com.sun.ejb.containers.BaseContainer.preInvoke(BaseContainer.java:1887)|#]

        Activity

        Hide
        sandeep.shrivastava added a comment -

        Committed revision 59440 to suppress the printing of individual stack trace elements as separate log records.

        Show
        sandeep.shrivastava added a comment - Committed revision 59440 to suppress the printing of individual stack trace elements as separate log records.

          People

          • Assignee:
            sandeep.shrivastava
            Reporter:
            marina vatkina
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: