powered by Jive Software

Tomcat5 + fc4 + wildfire2.5

ok – i’'ve decided to go from scratch, having had my fill of anomalies in my previous attempts.

i downloaded tomcat5. binary and jre/jdk1.5 – installed them to /opt/ – set alternatives to use the jre1.5 – exported JAVA_HOME=/opt/jdk1.5 – started tomcat – perfect.

dropped the wildfire_2_5_0.war file in webapps – it deploys – but when i goto host:8080/wildfire_2_5_0 i get:

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Error instantiating servlet class org.jivesoftware.wildfire.admin.login_jsp

org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:10 5)

org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)

org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)

org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.process Connection(Http11BaseProtocol.java:667)

org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.ja va:527)

org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerW orkerThread.java:80)

org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.ja va:684)

java.lang.Thread.run(Thread.java:595)

root cause

java.lang.ExceptionInInitializerError

sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcce ssorImpl.java:39)

sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstru ctorAccessorImpl.java:27)

java.lang.reflect.Constructor.newInstance(Constructor.java:494)

java.lang.Class.newInstance0(Class.java:350)

java.lang.Class.newInstance(Class.java:303)

org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:10 5)

org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)

org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)

org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.process Connection(Http11BaseProtocol.java:667)

org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.ja va:527)

org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerW orkerThread.java:80)

org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.ja va:684)

java.lang.Thread.run(Thread.java:595)

note The full stack trace of the root cause is available in the Apache Tomcat/5.5.15 logs.

Apache Tomcat/5.5.15

/code

anyone know what’'s up with this?

^^BUMP!!

It’‘s related to this i’'m sure –

ERROR 11416 ():

java.io.FileNotFoundException: XML properties file does not exist: wildfire.xml

/code

but what is that file supposed to look like?

here’‘s my catalina.out – i’'ve tried creating the wildfire.xml file, i have -DwildfireHome= set in the startup.sh file and it shows up when you ps -ax | grep java – but still no dice…

INFO: Deploying web application archive wildfire_2_5_0.war

java.io.FileNotFoundException

at org.jivesoftware.wildfire.XMPPServer.verifyHome(XMPPServer.java:617)

at org.jivesoftware.wildfire.XMPPServer.locateWildfire(XMPPServer.java:676)

at org.jivesoftware.wildfire.XMPPServer.initialize(XMPPServer.java:253)

at org.jivesoftware.wildfire.XMPPServer.start(XMPPServer.java:336)

at org.jivesoftware.wildfire.XMPPServer.(XMPPServer.java:135)

at org.jivesoftware.wildfire.XMPPContextListener.contextInitialized(XMPPContextLis tener.java:32)

at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:372 7)

at org.apache.catalina.core.StandardContext.start(StandardContext.java:4162)

at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)

at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)

at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)

at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:804)

at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:693)

at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)

at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)

at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)

at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.j ava:119)

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)

at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)

at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)

at org.apache.catalina.core.StandardService.start(StandardService.java:450)

at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)

at org.apache.catalina.startup.Catalina.start(Catalina.java:551)

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

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

Critical Error! The home directory has not been configured,

which will prevent the application from working correctly.

ERROR 11416 ():

java.io.FileNotFoundException: XML properties file does not exist: wildfire.xml

at org.jivesoftware.util.XMLProperties.(XMPPServer.java:135)

at org.jivesoftware.wildfire.XMPPContextListener.contextInitialized(XMPPContextLis tener.java:32)

at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:372 7)

at org.apache.catalina.core.StandardContext.start(StandardContext.java:4162)

at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)

at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)

at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)

at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:804)

at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:693)

at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)

at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)

at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)

at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.j ava:119)

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)

at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)

at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)

at org.apache.catalina.core.StandardService.start(StandardService.java:450)

at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)

at org.apache.catalina.startup.Catalina.start(Catalina.java:551)

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

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

/code

“The wildfire_init.xml should have the following content C:
jive-repo
wildfire
target
war
wildfireHome”

“add at the end of the “Java Options” the following text -DwildfireHome=C:
jive-repo
wildfire
target
war
wildfireHome.”

For unix / instead of
and also for windows c:/ does no harm.

Source: http://www.jivesoftware.org/community/entry.jspa?externalID=431&categoryID=22

Maybe you want to extract wildfire.tgz and copy the needed folders (“wildfire home folder does not contain an admin folder under the plugins folder”) to your wildfireHome.

got it.

i downloaded wildfire_2_5_0.tar.gz – untarred it – and copied the wildfire.xml from there into $CATALINA_HOME/conf/ and WHAM! – fricking werx – hope this helps someone.

word.