Runnin Wildfire with Gateway plugin on top of Tomcat 5.5.17

Hi,

A year ago, I have installed Wildfire 2.6.2 on top of Tomcat 5.5 for OW2 consortium and that works fine.

I’‘m trying to do the same with Wildfire 3.2.0. So as there is no War archive provided, I’'ve built mine by reusing admin plugin and adding some librairies (activation.jar, bouncycastle.jar, dwr.jar, jasper-runtime.jar, jtds.jar, mysql.jar, admin-jsp.jar, commons-el.jar, hsqldb.jar, jdic.jar, mail.jar, postgres.jar, wildfire.jar) on Linux.

  • I can reach the web console but I had one error at startup :

Feb 14, 2007 12:01:25 AM javax.jmdns.JmDNS$Prober run

WARNING: run() exception

java.io.IOException: Operation not permitted

at java.net.PlainDatagramSocketImpl.send(Native Method)

at java.net.DatagramSocket.send(DatagramSocket.java:612)

at javax.jmdns.JmDNS.send(JmDNS.java:916)

at javax.jmdns.JmDNS.access$1500(JmDNS.java:32)

at javax.jmdns.JmDNS$Prober.run(JmDNS.java:1110)

at java.util.TimerThread.mainLoop(Timer.java:512)

at java.util.TimerThread.run(Timer.java:462)

  • Then I try to install 3 plugins: presence, broadcast and IM Gateway. Presence and Broadcast ar OK. IM Gateway plugins doesn’‘t work correctly as some buttons don’'t appear.

I have that in the log:

WARNING: Error setting class=org.jivesoftware.wildfire.gateway.web.ConfigManager on uk.ltd.getahead.dwr.create.NewCreator

java.lang.IllegalArgumentException: Class not found: org.jivesoftware.wildfire.gateway.web.ConfigManager

at uk.ltd.getahead.dwr.create.NewCreator.setClass(NewCreator.java:39)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at uk.ltd.getahead.dwr.util.LocalUtil.setProperty(LocalUtil.java:281)

at uk.ltd.getahead.dwr.impl.DefaultCreatorManager.addCreator(DefaultCreatorManager .java:105)

at uk.ltd.getahead.dwr.impl.DefaultConfiguration.loadCreate(DefaultConfiguration.j ava:255)

at uk.ltd.getahead.dwr.impl.DefaultConfiguration.loadAllows(DefaultConfiguration.j ava:196)

at uk.ltd.getahead.dwr.impl.DefaultConfiguration.addConfig(DefaultConfiguration.ja va:90)

at org.jivesoftware.wildfire.gateway.web.GatewayDWR.configure(GatewayDWR.java:55)

at uk.ltd.getahead.dwr.AbstractDWRServlet.init(AbstractDWRServlet.java:119)

at org.jivesoftware.wildfire.container.PluginServlet.registerServlets(PluginServle t.java:164)

at org.jivesoftware.wildfire.container.PluginManager.loadPlugin(PluginManager.java :396)

at org.jivesoftware.wildfire.container.PluginManager.access$200(PluginManager.java :46)

at org.jivesoftware.wildfire.container.PluginManager$PluginMonitor.run(PluginManag er.java:920)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)

at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101 (ScheduledThreadPoolExecutor.java:98)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodi c(ScheduledThreadPoolExecutor.java:181)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Schedu ledThreadPoolExecutor.java:205)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java: 885)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)

at java.lang.Thread.run(Thread.java:619)

Feb 14, 2007 12:01:34 AM uk.ltd.getahead.dwr.util.CommonsLoggingOutput error

SEVERE: Creator: ‘‘NewCreator[ConfigManager]’’ for ConfigManager.js is returning null for type queries.

Feb 14, 2007 12:01:34 AM uk.ltd.getahead.dwr.util.CommonsLoggingOutput warn

WARNING: Error setting class=org.jivesoftware.wildfire.gateway.web.ConnectionTester on uk.ltd.getahead.dwr.create.NewCreator

java.lang.IllegalArgumentException: Class not found: org.jivesoftware.wildfire.gateway.web.ConnectionTester

at uk.ltd.getahead.dwr.create.NewCreator.setClass(NewCreator.java:39)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at uk.ltd.getahead.dwr.util.LocalUtil.setProperty(LocalUtil.java:281)

at uk.ltd.getahead.dwr.impl.DefaultCreatorManager.addCreator(DefaultCreatorManager .java:105)

at uk.ltd.getahead.dwr.impl.DefaultConfiguration.loadCreate(DefaultConfiguration.j ava:255)

at uk.ltd.getahead.dwr.impl.DefaultConfiguration.loadAllows(DefaultConfiguration.j ava:196)

at uk.ltd.getahead.dwr.impl.DefaultConfiguration.addConfig(DefaultConfiguration.ja va:90)

at org.jivesoftware.wildfire.gateway.web.GatewayDWR.configure(GatewayDWR.java:55)

at uk.ltd.getahead.dwr.AbstractDWRServlet.init(AbstractDWRServlet.java:119)

at org.jivesoftware.wildfire.container.PluginServlet.registerServlets(PluginServle t.java:164)

at org.jivesoftware.wildfire.container.PluginManager.loadPlugin(PluginManager.java :396)

at org.jivesoftware.wildfire.container.PluginManager.access$200(PluginManager.java :46)

at org.jivesoftware.wildfire.container.PluginManager$PluginMonitor.run(PluginManag er.java:920)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)

at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101 (ScheduledThreadPoolExecutor.java:98)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodi c(ScheduledThreadPoolExecutor.java:181)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Schedu ledThreadPoolExecutor.java:205)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java: 885)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)

at java.lang.Thread.run(Thread.java:619)

Feb 14, 2007 12:01:34 AM uk.ltd.getahead.dwr.util.CommonsLoggingOutput error

SEVERE: Creator: ‘‘NewCreator[ConnectionTester]’’ for ConnectionTester.js is returning null for type queries.

Feb 14, 2007 12:01:34 AM org.apache.jk.common.ChannelSocket init

Do you have any ideas how can I resolve that ? Is it possible to run wildfire 3.2.0 within Tomcat ?

Best regards

Xavier MOGHRABI

Hey Xavier,

As you noticed war deployment is no longer supported. I haven’'t run Wildfire inside of Tomcat for a while now so hard to know what is going on.

Regards,

– Gato