Solved

Tracing is not creating trace.log file.

Posted on 2008-06-26
5
2,016 Views
Last Modified: 2013-12-10
I'm trying to figure out why my trace.log isn't being created by the Tracing service in WAS.  I have used and gathered traces before and even renamed the file(inside of adminconsole) to reflect the situation and all has worked as expected.  So, I'm somewhat familiar with it.  Also have checked the server.xml file to verify the changes.  All is there.

- <services xmi:type="traceservice:TraceService" xmi:id="TraceService_1173992774921" enable="true" startupTraceSpecification="*=info:com.ibm.websphere.commerce.WC_BUSINESSCONTEXT=all:com.ibm.websphere.commerce.WC_SERVER=all" traceOutputType="SPECIFIED_FILE" traceFormat="ADVANCED">
  <traceLog xmi:id="TraceLog_1173992774921" fileName="${SERVER_LOG_ROOT}/trace.log" rolloverSize="10" maxNumberOfBackupFiles="3" />
  </services>


However, I'm trying to capture some tracing now but my trace.log file is not being created nor any errors being generated.  I know I'm looking in the right profile\dev\logs\server1 directory; dev being the Commerce instance name.  Even if I search the entire hdd, no file exists.  I have also disabled/enabled Trace and restarted the server between actions.  Configuration or Runtime results the same.

Anyone else had this issue?

tia,
mg
0
Comment
Question by:clownbird
  • 3
  • 2
5 Comments
 
LVL 41

Accepted Solution

by:
HonorGod earned 300 total points
Comment Utility
I don't see anything obviously wrong with those settings.

Q: What userid was used to install WebSphere?  (e.g., root?)

Q: What userid is being used to start WebSphere?

Q: Did you change the runAs setting?

I have seen this type of symptom most often when the AppServer no longer has permission to write to the specified directory...
0
 

Author Comment

by:clownbird
Comment Utility
Security isn't enabled.  I'm loggin onto the Windows server with a local admin account.  However, I will save a file into the directory just to dismiss it.

Runas hasn't been modified.

I have a PMR open so I'll share the outcome.

Thanks.
0
 

Author Comment

by:clownbird
Comment Utility
One of IBM's suggestions was to enable TraceService via the wsadmin tool to see if the adminconsole had something broke....

However, trace mysteriously began working this am when the server came back up from nightly backups.

I was able to drop a test.txt file into the dir.

Not really sure what the hangup was with tracing but its working now.

Have a great weekend.
0
 

Author Closing Comment

by:clownbird
Comment Utility
Self-healing issue.  Mystery....  Although your checklist is proficient.  Thanks.
0
 
LVL 41

Expert Comment

by:HonorGod
Comment Utility
Wow, I hate it when that happens.  :-)

I prefer to understand, and resolve the issues.

Thanks for the grade & points.

Good luck & have a great day
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
Upgrading Tomcat – There are a couple of methods to upgrade Tomcat is to use The Apache Installer is to download and unzip and run the services.bat remove|install Tomcat6 Because of the App that we are working with, we can only use Tomcat 6.…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now