Skip to Content

In some projects administrators hesitate to provide OS access to their servers – at least on a permanent basis. Especially in a Duet or Alloy installation it is sometimes helpful to quickly access e.g. the defaultTrace.trc while troubleshooting or monitoring some scenario.

 

One option would be to use the NetWeaver Administrator to display the default-Trace via the local Browser. Another option is to install a standalone log viewer. The standalone log viewer is part of the regular installation of a J2EE engine, but can also be installed on a local computer to remotely access the trace files from the server.

 

You can either copy the standalone log viewer from the J2EE’s file system, or you can download an install it on your own.

 

The latter is described in this Blog. Whenever you want to locally run any of the J2EE tools (e.g. the standalone log viewer) please ensure that you use the same version as the J2EE engine itself. Otherwise you might get a warning popup informing you about the different versions.

 

How to download and setup a standalone J2EE 7.0 log viewer:

 

  1. Download the necessary file from the SAP Service Marketplace (SMP) and store it on your local file system. In this example we are downloading the SP17 log viewer for a 7.0 J2EE engine.
    SMP download

    SMP download

  2. Rename the .SCA File into a .ZIP file
  3. Unpack the ZIP-file:
    Unpack ZIP File
  4. Navigate into folder “DEPLOYARCHIVES”
  5. Rename “logviewer-standalone-fs.sda” into .zip
  6. Unpack the ZIP-File:
    Unpack ZIP File
  7. Navigate into folder “logviewer-standalone” and start logviewer.bat. This launches the standalone log viewer.
  8. From the menu choose “File” –> “Configuration…”
    image
  9. Press “Add…” to add a new J2EE server. In the popup provide the name, hostname and the port number (in this case 50004), set Connection to “J2EE” and also provide User name and Password:
    Edit Log Viewer Server
  10. Press OK on both screens to close the Configuration popup. As the “Connect” flag is set by default, the log viewer automatically tries to connect to the J2EE engine.

If the connection was successful, you can drill down to e.g. the defaultTrace.trc of the server node and open it:
Done

That’s it.

To report this post you need to login first.

6 Comments

You must be Logged on to comment or reply to a post.

    1. Volker Drees Post author
      Hello Heiko,
      I assume not, but I can’t really speak about 7.1 as I have no experience with 7.1 (Duet is not yet supporting 7.1).

      I did a brief search and was not able to find a standalone logviewer in 7.1. Therefore I assume it’s not available.

      But I know for sure that it’s in 6.40 and 7.0 …

      Volker

      (0) 

Leave a Reply