Skip to Content
author's profile photo Former Member
Former Member

Logging | Stack trace gets truncated

I'm trying to diagnose a deployment issue I have with an EJB, and am examining the default trace log. I'm seeing a log entry related to my problem, but the stack trace is truncated:

...
 at com.sap.engine.services.ejb.EJBAdmin.deploy(EJBAdmin.java:2161)
at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:606)
... 16 more

Is there any way I can configure the application server to not truncate stack traces and log them in their entirety? Or is there a better method of getting a look at what's going on when I'm trying to deploy my EAR file?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Mar 20, 2008 at 10:09 AM

    Hello Kar,

    You can configure the size and the storage location for trace files, using the Log Manager in Visual admin.

    By default, logs are written to five files, each file with a maximum size of 10 MB. If archiving is enabled, when the fifth file is completed, the set of five files is backed up into a ZIP file. Then, the new logs start overwriting the old log files.

    check the following link for an overview of [monitoring and tracing|http://help.sap.com/saphelp_nw70/helpdata/EN/ac/e9d8a51c732e42bd0e7de54b9ff4e2/frameset.htm]

    Use the [Log Manager|http://help.sap.com/saphelp_nw70/helpdata/EN/2b/09343e32ff1033e10000000a114084/frameset.htm] to set the following parameters:

    DefaultTraceFile_Count

    DefaultTraceFile_Limit

    DefaultTraceFile_Pattern

    etc.

    Hope that helps.

    Regards,

    Siddhesh

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Ok, the server's restarted (both server0 and SDM), but to no avail. I've repeated it several times, with server0 running at trace level 3 and the SDM running at trace level 2, but I still don't get a full stack trace.

      I did, however, find the cause of the deployment problem I was having. So unless there are other suggestions, I'll regard this topic as: question unanswered, problem solved.

      In any case, thanks for helping, Siddhesh and Shantanu!

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.