Skip to main content
1-Visitor
December 20, 2012
Question

Need to restart Windchill services to apply Java class changes ?

  • December 20, 2012
  • 2 replies
  • 677 views

Hi,


I am working ona java class that I can insert in the workflow using NetBeans.Do you really need to restart the Windchill services to apply yourclass file changes or is there a shortcut ?
Windchill seems to cash the .class files somehow.


Tips or suggestions are welcome.
Best regards,


Bernard

2 replies

avillanueva
23-Emerald I
December 20, 2012
Yes, I believe so. The class gets loaded into the perm heap. It's nothin' but a Java thang.
12-Amethyst
December 20, 2012
Well, there are classloader things to avoid this.

That said, this is a very common source of perm-gen memory leaks, so
Windchill doesn't really support this.

One other note: there's no need to restart the server for a brand new
.class file in codebase.

Changing an existing class or jar is another matter entirely.