powered by Jive Software

BUGReport:Jive-Messenger not run on Weblogic!

My Jive Messenger run well on Tomcat,but run with error on weblogic.

Help!!!

Hi,

Can you post the log files if they contain any error information (jiveHome/logs/jive.*.log) as well as any relevant error logs from weblogic? We’'ve had reports that Messenger has run under Weblogic so it could be a configuration problem. Thanks

-iain

Hi iain,

I am facing same problem, I am using weblogic Portal Server 8.1 SP2. It seems that Jive Messager web application is unable to find the jiveHome, (Same installation works with Tomcat). I have tried setting all options for setting jiveHome, like System property, Java property -D, context parameter, jive-init.xml etc.

It creates a folder named “null” in portal server home directory and writes following Log.(jive.error.log)

Please guide where I am going wrong.


2004.02.24 17:30 [com.jivesoftware.container.spi.BootstrapContainer.locateJiveHome(BootstrapCont ainer.java:392)

] Error loading jive_init.xml to find jiveHome.

org.xmlpull.v1.XmlPullParserException: unknown feature http://xmlpull.org/v1/doc/features.html#xml-roundtrip

at org.xmlpull.mxp1.MXParser.setFeature(MXParser.java:745)

at org.xmlpull.mxp1.MXParserFactory.newPullParser(MXParserFactory.java:46)

at com.jivesoftware.util.XPPReader.parseDocument(XPPReader.java:50)

at com.jivesoftware.container.spi.BootstrapContainer.locateJiveHome(BootstrapConta iner.java:387)

at com.jivesoftware.container.spi.BootstrapContainer.start(BootstrapContainer.java :118)

at com.jivesoftware.container.spi.BootstrapContainer.(BootstrapContainer.jav a:111)

at com.jivesoftware.container.spi.ServiceLookupFactoryImpl.getLookup(ServiceLookup FactoryImpl.java:42)

at com.jivesoftware.container.ServiceLookupFactory.getLookup(ServiceLookupFactory. java:62)

at jsp_servlet.__index._jspService(__index.java:136)

at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)

at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletSt ubImpl.java:971)

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:40 2)

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:44 6)

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:30 5)

at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebA ppServletContext.java:6350)

at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.j ava:317)

at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)

at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletConte xt.java:3635)

at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:25 85)

at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)

at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)

2004.02.24 17:30 [com.jivesoftware.container.spi.BootstrapContainer.locateJiveHome(BootstrapCont ainer.java:405)

] Could not locate jiveHome. Set the jiveHome property or edit your jive_init.xml file for app server deployments.

2004.02.24 17:40 [com.jivesoftware.container.spi.BootstrapContainer.locateJiveHome(BootstrapCont ainer.java:392)

] Error loading jive_init.xml to find jiveHome.

org.xmlpull.v1.XmlPullParserException: unknown feature http://xmlpull.org/v1/doc/features.html#xml-roundtrip

at org.xmlpull.mxp1.MXParser.setFeature(MXParser.java:745)

at org.xmlpull.mxp1.MXParserFactory.newPullParser(MXParserFactory.java:46)

at com.jivesoftware.util.XPPReader.parseDocument(XPPReader.java:50)

at com.jivesoftware.container.spi.BootstrapContainer.locateJiveHome(BootstrapConta iner.java:387)

at com.jivesoftware.container.spi.BootstrapContainer.start(BootstrapContainer.java :118)

at com.jivesoftware.container.spi.BootstrapContainer.(BootstrapContainer.jav a:111)

at com.jivesoftware.container.spi.ServiceLookupFactoryImpl.getLookup(ServiceLookup FactoryImpl.java:42)

at com.jivesoftware.container.ServiceLookupFactory.getLookup(ServiceLookupFactory. java:62)

at jsp_servlet.__index._jspService(__index.java:136)

at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)

at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletSt ubImpl.java:971)

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:40 2)

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:44 6)

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:30 5)

at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebA ppServletContext.java:6350)

at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.j ava:317)

at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)

at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletConte xt.java:3635)

at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:25 85)

at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)

at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)

2004.02.24 17:40 [com.jivesoftware.container.spi.BootstrapContainer.locateJiveHome(BootstrapCont ainer.java:405)

] Could not locate jiveHome. Set the jiveHome property or edit your jive_init.xml file for app server deployments.

2004.02.24 17:51 [com.jivesoftware.container.spi.BootstrapContainer.locateJiveHome(BootstrapCont ainer.java:392)

] Error loading jive_init.xml to find jiveHome.

org.xmlpull.v1.XmlPullParserException: unknown feature http://xmlpull.org/v1/doc/features.html#xml-roundtrip

at org.xmlpull.mxp1.MXParser.setFeature(MXParser.java:745)

at org.xmlpull.mxp1.MXParserFactory.newPullParser(MXParserFactory.java:46)

at com.jivesoftware.util.XPPReader.parseDocument(XPPReader.java:50)

at com.jivesoftware.container.spi.BootstrapContainer.locateJiveHome(BootstrapConta iner.java:387)

at com.jivesoftware.container.spi.BootstrapContainer.start(BootstrapContainer.java :118)

at com.jivesoftware.container.spi.BootstrapContainer.(BootstrapContainer.jav a:111)

at com.jivesoftware.container.spi.ServiceLookupFactoryImpl.getLookup(ServiceLookup FactoryImpl.java:42)

at com.jivesoftware.container.ServiceLookupFactory.getLookup(ServiceLookupFactory. java:62)

at jsp_servlet.__index._jspService(__index.java:136)

at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)

at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletSt ubImpl.java:971)

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:40 2)

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:44 6)

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:30 5)

at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebA ppServletContext.java:6350)

at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.j ava:317)

at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)

at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletConte xt.java:3635)

at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:25 85)

at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)

at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)

2004.02.24 17:51 [com.jivesoftware.container.spi.BootstrapContainer.locateJiveHome(BootstrapCont ainer.java:405)

] Could not locate jiveHome. Set the jiveHome property or edit your jive_init.xml file for app server deployments.


Regards

Bhushan

Bhushan,

We suspect that BEA has installed an older version of the org.xmlpull API somewhere in it’‘s classpath then the one that is shipped with Jive Messenger. I’‘ll file a bug report on this and suggest as a solution seeing if it’‘s possible with your BEA installation to not load external jars when loading a web application. I’‘m not familiar enough with BEA Portal Server to know if this is possible and if it isn’‘t I can’'t think of a quick solution to the issue.

Regards,

Bruce Ritchie

Hi Bruce,

Can you please suggest an alternative for my problem ?

What I tried to fix the problem is

1.Bea Weblogic uses wlxbean.jar which has the XML pull parser, What I did was, I removed those class files from bean and copied jive-xmpp.jar in the classpath (Lib directory where the wlxbean.jar is located.)

2.After some tries I got the Meseenger server running, but non of admin pages are working. All pages are throwing exceptions ClassCastExceptions.

Bruce Can I make Jive Messenger to use standard JAR files ?

Please guide.

Bhushan

Bushan,

Any chance that a standalone deployment would work for your situation instead of deploying inside Weblogic?

Regards,

Matt

Hi Matt,

Here is what I have tried to get my jivemsn (Jive Messenger) running.(I am using Windows 2000 Pro latest SP)

  1. Installed the jive_messenger_win_1_0_8.exe at C:\jiveim

  2. Using the GUI version (messenger.exe) to Launch the server successfully started the server and able to see the admin console running.

  3. Now the next thing I did was, I configured the jivemsn web application in tomcat (jakarta-tomcat-4.1.24), Configured the web-app directory as the context inside server.xml of tomcat. [Before this I updated jive_init.xml to include the home folder of jive,

C:\JiveIM

The web application jive msn was up and running

  1. Now the very next thing what i did was I took the same webapp and deployed in Weblogic portal server. The server came up and Following errors were thrown

WLS build version: 8.1.2.0.>

<Mar 12, 2004 11:21:16 AM GMT+05:30> <[ServletContext(id=30255134,name=jivemsn,context-path=/jivemsn)] Generated java file: E:\bea\USER_P1\domains\HANPOR1.\portalServer.wlnotdelete\extract\portalServer_jivemsn_jivemsn\jsp_servlet_ _index.java>

ERROR 10790 (): Error loading jive_init.xml to find jiveHome.

org.xmlpull.v1.XmlPullParserException: unknown feature http://xmlpull.org/v1/doc/features.html#xml-roundtrip

at org.xmlpull.mxp1.MXParser.setFeature(MXParser.java:745)

at org.xmlpull.mxp1.MXParserFactory.newPullParser(MXParserFactory.java:46)

at com.jivesoftware.util.XPPReader.parseDocument(XPPReader.java:50)

at com.jivesoftware.xmpp.InitPropLoader.getJiveHome(JiveGlobals.java:429)

at com.jivesoftware.xmpp.JiveGlobals.loadProperties(JiveGlobals.java:354)

at com.jivesoftware.xmpp.JiveGlobals.getJiveHome(JiveGlobals.java:244)

at com.jivesoftware.util.Log.(Log.java:45)

at com.jivesoftware.container.spi.BootstrapContainer.locateJiveHome(BootstrapConta iner.java:392)

at com.jivesoftware.container.spi.BootstrapContainer.start(BootstrapContainer.java :118)

at com.jivesoftware.container.spi.BootstrapContainer.(BootstrapContainer.jav a:111)

at com.jivesoftware.container.spi.ServiceLookupFactoryImpl.getLookup(ServiceLookup FactoryImpl.java:42)

at com.jivesoftware.container.ServiceLookupFactory.getLookup(ServiceLookupFactory. java:62)

at jsp_servlet.__index._jspService(__index.java:136)

at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)

at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletSt ubImpl.java:971)

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:40 2)

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:44 6)

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:30 5)

at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebA ppServletContext.java:6350)

at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.j ava:317)

at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)

at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletConte xt.java:3635)

at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:25 85)

at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)

at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)

ERROR 10790 ():

java.io.FileNotFoundException: XML properties file does not exist: null\config\jive-messenger.xml

at com.jivesoftware.util.XMLProperties.(XMLProperties.java:74)

at com.jivesoftware.xmpp.JiveGlobals.loadProperties(JiveGlobals.java:359)

at com.jivesoftware.xmpp.JiveGlobals.getJiveHome(JiveGlobals.java:244)

at com.jivesoftware.util.Log.(Log.java:45)

at com.jivesoftware.container.spi.BootstrapContainer.locateJiveHome(BootstrapConta iner.java:392)

at com.jivesoftware.container.spi.BootstrapContainer.start(BootstrapContainer.java :118)

at com.jivesoftware.container.spi.BootstrapContainer.(BootstrapContainer.jav a:111)

at com.jivesoftware.container.spi.ServiceLookupFactoryImpl.getLookup(ServiceLookup FactoryImpl.java:42)

at com.jivesoftware.container.ServiceLookupFactory.getLookup(ServiceLookupFactory. java:62)

at jsp_servlet.__index._jspService(__index.java:136)

at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)

at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletSt ubImpl.java:971)

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:40 2)

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:44 6)

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:30 5)

at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebA ppServletContext.java:6350)

at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.j ava:317)

at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)

at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletConte xt.java:3635)

at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:25 85)

at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)

at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)

Could not locate jiveHome. Set the jiveHome property or edit your jive_init.xml file for app server deployments.

<Mar 12, 2004 11:21:25 AM GMT+05:30> <[ServletContext(id=30255134,name=jivemsn,context-path=/jivemsn)] Servlet failed with Exception

java.lang.NullPointerException

at jsp_servlet.__index._jspService(__index.java:137)

at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)

at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletSt ubImpl.java:971)

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:40 2)

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:44 6)

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:30 5)

at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebA ppServletContext.java:6350)

at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.j ava:317)

at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)

at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletConte xt.java:3635)

at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:25 85)

at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)

at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)


After this I tried to fix the problem in various possible means, But There isn’'t any positive sign.

-Regards

Bhushan

I think Bruce’'s assesment is still correct – there is a version conflict with the XMLPull library. BEA must bundle an earlier version of it than we use. However, this problem should be fixed in Messenger 1.1 since we use a different library.

Regards,

Matt

Yeah,

I have also started thinking on Similar lines. Thanks for the help, When Can I expect the 1.1 ?

Regards

Bhushan

Hi,

I am still facing the same problem. It seems Jive is not still stable. The jive messenger is not running and giveing the error unable to load jive_init.xml.

I have tried decompiling the code and see what the problem is but with no success. can somebosy help

regards dinesh