Wednesday, July 16, 2014

Running Design Console from local machine


Error while executing xlclient.cmd:

Exception in thread “main” java.lang.NoClassDefFoundError: javax/ejb/CreateException
 at java.lang.Class.getDeclaredMethods0(Native Method)
 at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
 at java.lang.Class.getDeclaredMethod(Unknown Source)
 at java.awt.Component.isCoalesceEventsOverriden(Unknown Source)
 at java.awt.Component.access$500(Unknown Source)
 at java.awt.Component$3.run(Unknown Source)
 at java.awt.Component$3.run(Unknown Source)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.awt.Component.checkCoalescing(Unknown Source)
 at java.awt.Component.(Unknown Source)
 at java.awt.Container.(Unknown Source)
 at java.awt.Window.(Unknown Source)
 at java.awt.Frame.(Unknown Source)
 at java.awt.Frame.(Unknown Source)
 at javax.swing.JFrame.(Unknown Source)
 at com.thortech.xl.gui.base.tcFrame.(tcFrame.java:34)
 at com.thortech.xl.client.base.tcAppWindow.(tcAppWindow.java:104)
 at com.thortech.xl.client.base.tcAppWindow.main(tcAppWindow.java:173)
 Caused by: java.lang.ClassNotFoundException: javax.ejb.CreateException


SOLUTION:

See if the jar files have there classes in them. This can be a file transfer issue.

Make sure you have copied jrf-api.jar in designconsole\ext directory and added that path to classpath.bat file.

Make sure you have xlfillclient.sh in designconsole\ext directory.