Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2101
  • Last Modified:

Tracing is not creating trace.log file.

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
clownbird
Asked:
clownbird
  • 3
  • 2
1 Solution
 
HonorGodCommented:
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
 
clownbirdAuthor Commented:
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
 
clownbirdAuthor Commented:
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
 
clownbirdAuthor Commented:
Self-healing issue.  Mystery....  Although your checklist is proficient.  Thanks.
0
 
HonorGodCommented:
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now