Hi,
I am new to PTC and I was following the customization guide for creating a new class called 'Pet' on page 53.
I did not complete the entire process and then stopped the winchill and the machine was shut down.
Now, I am not able to start my Method Server..
I get the below error log:
Mon 7/8/13 15:53:57: main: wt.services.ManagerException: wt.util.WTException: (wt.pom.pomResource/0) wt.pom.PersistenceException: A persistence error occurred. System message follows:
Mon 7/8/13 15:53:57: main: Nested exception is: (wt.introspection.introspectionResource/6) wt.introspection.WTIntrospectionException: An introspection error has occured. System message follows:
Mon 7/8/13 15:53:57: main: Nested exception is: java.lang.ClassNotFoundException: com.acme.Pet
Mon 7/8/13 15:53:57: main: Nested exception is: (wt.pom.pomResource/0) wt.pom.PersistenceException: A persistence error occurred. System message follows:
Mon 7/8/13 15:53:57: main: Nested exception is: (wt.introspection.introspectionResource/6) wt.introspection.WTIntrospectionException: An introspection error has occured. System message follows:
Mon 7/8/13 15:53:57: main: Nested exception is: java.lang.ClassNotFoundException: com.acme.Pet
Mon 7/8/13 15:53:57: main: Nested exception is: wt.util.WTException: (wt.pom.pomResource/0) wt.pom.PersistenceException: A persistence error occurred. System message follows:
Mon 7/8/13 15:53:57: main: Nested exception is: (wt.introspection.introspectionResource/6) wt.introspection.WTIntrospectionException: An introspection error has occured. System message follows:
Mon 7/8/13 15:53:57: main: Nested exception is: java.lang. com.acme.Pet
Mon 7/8/13 15:53:57: main: Nested exception is: (wt.pom.pomResource/0) wt.pom.PersistenceException: A persistence error occurred. System message follows:
Mon 7/8/13 15:53:57: main: Nested exception is: (wt.introspection.introspectionResource/6) wt.introspection.WTIntrospectionException: An introspection error has occured. System message follows:
Mon 7/8/13 15:53:57: main: Nested exception is: java.lang.ClassNotFoundException: com.acme.Pet
Mon 7/8/13 15:53:57: main: at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
Mon 7/8/13 15:53:57: main: at java.security.AccessController.doPrivileged(Native Method)
Mon 7/8/13 15:53:57: main: at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
Mon 7/8/13 15:53:57: main: at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
Mon 7/8/13 15:53:57: main: at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
Mon 7/8/13 15:53:57: main: at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Mon 7/8/13 15:53:57: main: at java.lang.Class.forName0(Native Method)
Mon 7/8/13 15:53:57: main: at java.lang.Class.forName(Class.java:169)
Mon 7/8/13 15:53:57: main: at wt.introspection.ClassInfo.loadClass(ClassInfo.java:1835)
Mon 7/8/13 15:53:57: main: at wt.introspection.ClassInfo.getConcreteClass(ClassInfo.java:1003)
Mon 7/8/13 15:53:57: main: at wt.pom.EmptyTableManager.queryTables(EmptyTableManager.java:517)
Mon 7/8/13 15:53:57: main: at wt.pom.EmptyTableManager.queryTables(EmptyTableManager.java:489)
Mon 7/8/13 15:53:57: main: at wt.pom.EmptyTableManager.findEmptyTables(EmptyTableManager.java:557)
Mon 7/8/13 15:53:57: main: at wt.pom.EmptyTableManager.populateCache(EmptyTableManager.java:131)
Mon 7/8/13 15:53:57: main: at wt.pom.EmptyTableManager.access$100(EmptyTableManager.java:83)
Mon 7/8/13 15:53:57: main: at wt.pom.EmptyTableManager$AllManagersStartedEventListener.notifyVetoableEvent(EmptyTableManager.java:658)
Mon 7/8/13 15:53:57: main: at wt.events.StandardKeyedEventBranch.intDispatchEvent(StandardKeyedEventBranch.java:320)
Mon 7/8/13 15:53:57: main: at wt.events.StandardKeyedEventBranch.dispatchVetoableEvent(StandardKeyedEventBranch.java:229)
Mon 7/8/13 15:53:57: main: at wt.events.StandardKeyedEventDispatcher.intDispatchEvent(StandardKeyedEventDispatcher.java:286)
Mon 7/8/13 15:53:57: main: at wt.events.StandardKeyedEventDispatcher.dispatchVetoableEvent(StandardKeyedEventDispatcher.java:215)
Mon 7/8/13 15:53:57: main: at wt.services.StandardManagerService.intDispatchVetoableEvent(StandardManagerService.java:406)
Mon 7/8/13 15:53:57: main: at wt.services.StandardManagerService.dispatchVetoableEvent(StandardManagerService.java:302)
Mon 7/8/13 15:53:57: main: at wt.services.StandardManagerService.performStartupProcess(StandardManagerService.java:184)
Mon 7/8/13 15:53:57: main: at wt.services.StandardManager.startup(StandardManager.java:459)
Mon 7/8/13 15:53:57: main: at wt.services.StandardServicesHandler.start(StandardServicesHandler.java:44)
Mon 7/8/13 15:53:57: main: at wt.method.MethodServerMain.run(MethodServerMain.java:423)
Mon 7/8/13 15:53:57: main: at wt.method.MethodServerMain.main(MethodServerMain.java:274)
Mon 7/8/13 15:53:57: main: FATAL : wt.method.server.shutdown - Stopping services...
Mon 7/8/13 15:53:57: main: INFO : wt.method.server.shutdown.services - All managers shut down.
Mon 7/8/13 15:53:57: main: FATAL : wt.method.server.shutdown - MethodServer stopped
I did some research on the internet and it shows that if we do not "Compile all Java sources created by system generation" then the system will be "missing the class files to match the registry properties". (http://xiaogyiy.iteye.com/blog/787300)
I do not know if this is true, and if it is then how to correct this mistake.
Please help me to start the method server (or is re installation my final option?).
Kazi