Chat issue installing WebChatApp on Tomcat

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • wdrew
    Member
    • Feb 2016
    • 4

    Chat issue installing WebChatApp on Tomcat

    I've installed an IPOCC system on an IP500V2 that is currently at R9.1.6. Voice is just fine. I've configured the CHAT per the Chat Services Guide with Openfire running on a separate xmpp server; using a guest account on Openfire we've tested the Chat configuration and task flow into the IPOCC and it's working just fine (just as we did in training). The web developer that works for the customer is having issues trying to get the WebChatApp working (from the examples folder on the distribution). There's a reference elsewhere in this forum of a step-by-step guide for a developer to use in configuring the Chat however it does not exist on the IPOCC ISO distribution for 9.1.x so if it's available elsewhere and someone knows where please let me know.

    The 'help' text in the examples folder(s) is rather sparse and our thought is that we're missing something. The following is from the web developer and is more specific to the problem:

    We're having issues getting the WebChatApp up and running. I've followed all the install instructions, modifying the properties file to match our config and placing the .war file and .properties files in the indicated directories.

    Tomcat detects and installs WebChatApp but it won't start. When I try to manually start the app through Tomcat's web interface I get the following error messages in the Stderr file:

    26-Apr-2016 09:07:07.899 SEVERE [http-apr-8080-exec-47] org.apache.catalina.core.StandardContext.startInte rnal One or more listeners failed to start. Full details will be found in the appropriate container log file

    26-Apr-2016 09:07:07.899 SEVERE [http-apr-8080-exec-47] org.apache.catalina.core.StandardContext.startInte rnal Context [/WebChatApp] startup failed due to previous errors

    26-Apr-2016 09:07:07.899 WARNING [http-apr-8080-exec-47] org.apache.catalina.loader.WebappClassLoaderBase.c learReferencesThreads The web application [WebChatApp] appears to have started a thread named [com.comergo.base.ttrace.client.link.appdriver.Comm andEmitter] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
    java.lang.Object.wait(Native Method)
    java.lang.Object.wait(Object.java:503)
    com.comergo.base.ttrace.client.link.util.MessageQu eue.getNext(Unknown Source)
    com.comergo.base.ttrace.client.link.appdriver.Comm andEmitter.run(Unknown Source)

    Here are the specs for our tomcat installation:

    Tomcat Version: 8.0.33
    Java version: 1.7.0_91-Avaya-b01

    Any help on this issue would be greatly appreciated!
  • marquardt
    Guru
    .
    • May 2014
    • 190

    #2
    Check WebChatApp.properties

    Example: WebChatApp.properties




    You can also use WebChatDialog

    Comment

    • josep79
      Aspiring Member
      • Apr 2016
      • 2

      #3
      Still not working

      I am the web developer working on this project.

      I have confirmed that we have the correct lines in the WebChatApp.properties file, which I have attached. The app will not start at all in Tomcat. We get the same error messages in the log file that are listed in the first post.
      Attached Files

      Comment

      • marquardt
        Guru
        .
        • May 2014
        • 190

        #4
        TopicID must not contain spaces

        see description
        # The listoftopicsthatcanbeconnected
        # theformatofthelistiscommaseparated: <entry>,<entry>,......
        # eonentryhastheformat <TopicID>:<JabberID> whereTopicID must not contain spaces

        Comment

        • josep79
          Aspiring Member
          • Apr 2016
          • 2

          #5
          I changed the topic to:

          Topics=Enrollment:[email protected]

          The app does not start and I still get the same error messages in the log.

          Comment

          • schopdekar
            Whiz
            .
            • Aug 2015
            • 40

            #6
            In TTConsole, under WebChat->WebChatDialog what messages are seen ?

            Please clear up all messages, restart Tomcat WWW, and post the messages.

            Comment

            Loading