cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Workflow History Viewer

rleir
17-Peridot

Workflow History Viewer

Hi team

The help page linked below says there is a Workflow History Viewer utility :

$  windchill wt.workflow.engine.WfMonitor

 

We have WC 12.0.2, and I get 'ClassNotFoundException'

 

Is there a typo in the class name? Do I need to add to the classpath?

Thanks

Rick

 

https://support.ptc.com/help/wnc/r12.0.0.0/en/index.html#page/Windchill_Help_Center%2FWFChp_WFHistoryViewerUse.html%23

1 ACCEPTED SOLUTION

Accepted Solutions
HelesicPetr
21-Topaz II
(To:rleir)

Hi @rleir 

 

I guess that PTC remove this utility from the Windchill.

 

I can't find the class and any similar utility in the Windchill 12.0.2.1

 

PetrH

View solution in original post

4 REPLIES 4
HelesicPetr
21-Topaz II
(To:rleir)

Hi @rleir 

 

I guess that PTC remove this utility from the Windchill.

 

I can't find the class and any similar utility in the Windchill 12.0.2.1

 

PetrH

rhart
14-Alexandrite
(To:rleir)

I gave it a try on PDMLink 11.1 M020 and got a null pointer exception

 

E:\ptc\Windchill_11.1\Windchill>windchill wt.workflow.engine.WfMonitor

                Workflow Monitor - Main Menu
                ----------------------------

        Existing Workflow Processes
        ---------------------------

        >> WARNING: The ManagerService is not initialized!  This can be caused by:
1) Attempting to invoke a server only method from a remote client
2) Attempting to invoke a method on a service from the constructor or static initializer of another service
Exception in thread "main" java.lang.ExceptionInInitializerError
        at wt.workflow.engine.WfProcess.getName(WfProcess.java:1431)
        at wt.workflow.engine.WfMonitor.processToString(WfMonitor.java:505)
        at wt.workflow.engine.WfMonitor.main(WfMonitor.java:100)
Caused by: java.lang.NullPointerException
        at wt.access.AccessControlServerHelper.<clinit>(AccessControlServerHelper.java:85)
        ... 3 more

E:\ptc\Windchill_11.1\Windchill>

 

 

HelesicPetr
21-Topaz II
(To:rhart)

Hi @rhart 

Windchill has to be stopped before you start the utility

PetrH

rleir
17-Peridot
(To:HelesicPetr)

Hi Petr

I stopped WC, but that did not help.

$ windchill wt.workflow.engine.WfMonitor
Error: Could not find or load main class wt.workflow.engine.WfMonitor
Caused by: java.lang.ClassNotFoundException: wt.workflow.engine.WfMonitor

Thanks

Rick

Top Tags