ClassCastException AgentWorkgroups with Fastpath

Hi,

Was able to compile the Spark’s FastPath plugin, but now I’m having a problem trying to run it.

First, I noticed that from the original Fastpath.jar the plugin package starts with com. instead of org. as the source code, and that it has a workgroup.jar in the lib path. So I replace the fastpath plugin and modified plugin.xml accordingly to use the .org package instead of the .com

However, when I run it, I get the following error in the logs:

java.lang.reflect.InvocationTargetException

Exception in thread “Thread-19” java.lang.ClassCastException: com.jivesoftware.smack.workgroup.packet.AgentWorkgroups cannot be cast to org.jivesoftware.smackx.workgroup.packet.AgentWorkgroups

at org.jivesoftware.smackx.workgroup.agent.Agent.getWorkgroups(Agent.java:49)

at org.jivesoftware.fastpath.FastpathPlugin$1.construct(FastpathPlugin.java:94)

at org.jivesoftware.spark.util.SwingWorker$2.run(SwingWorker.java:129)

at java.lang.Thread.run(Unknown Source)

And I see that the source code is making reference to:

import org.jivesoftware.smackx.workgroup.agent.Agent;

import org.jivesoftware.smackx.workgroup.agent.AgentSession;

import org.jivesoftware.smackx.workgroup.ext.macros.Macros;

import org.jivesoftware.smackx.workgroup.user.Workgroup;

So, should I compile everything with a com package, or do I need to compile workgroup.jar, if so, where can I find the source for it?

Thank you.

Figured it out. Need to compile the entire client and not the fastpath only.

Is there a working fastpath.jar and a fastpath webchat.war working both with the or. domain?