Menu

Welcome to Help

Help
2007-10-30
2013-05-28
  • Nobody/Anonymous

    Welcome to Help

     
    • Jay Panchal

      Jay Panchal - 2009-01-13

      Dear Developer

         I have use internal chat server and client and aslo configure database and services

      but im not able to login thure chat client.

      please guied me how can i add a user and also access administrative tasks

       
      • Andrew Orlov

        Andrew Orlov - 2009-01-13

        Can you give me some more details?

        1. Does your server start successfully? Examine server log in logs subfolder of server folder. Log must be started from the text like following:

        "Internal Chat Server v.5.6.2; build date: 2008-12-30
        Copyright (C) 2002 - 2009 Andrew Orlov

        2009-01-01 12:55:52.594: starting main Internal Chat thread
        2009-01-01 12:55:52.609: database connection pool creation is started
        2009-01-01 12:55:53.313: database connection pool is created
        2009-01-01 12:55:53.313: database connection pool creation is started
        2009-01-01 12:55:53.954: database connection pool is created
        2009-01-01 12:55:54.016: creating connectors
        2009-01-01 12:55:54.032::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
        2009-01-01 12:55:54.563: creating session handler and contexts
        2009-01-01 12:55:54.673: starting server
        2009-01-01 12:55:54.673::INFO:  jetty-6.1.14
        2009-01-01 12:55:55.079::INFO:  Started SslSelectChannelConnector@0.0.0.0:6556"

        2. If question 1 has answer YES, you can connect your client to server using preconfigured administrator credentials: login "admin" and password "admin" (without quotes). Then go to Chat Tools -> Admin Tasks and choose New User or New Group there.

        3. If question 1 has answer NO, it would be great if you send me your server log - suppose some exceptions there and I could find out the root of your problems reading it.

        4. Question 1 has answer YES, but client refuses to connect. So, you can examine client log written to Console and send it to me - I'll try to explain possible client problems.

        But I'd like to emphasize that common cause of problems usually quite simple - it is needed to be some more careful during setup. Setup is REALLY simple.

         
  • Zen Chan

    Zen Chan - 2011-05-18

    Dear Developer,

    I try to setup the IntChat,

    My server with OS (Linux CentOS) installed with Jdk 1.6  update 25 (Newest), security off, and PostgreSQL 8.

    I follow the instruction to create database with utf8 encoding, and user icuser. I also load the init_sql and 20 tables is created and 22 record is added.

    Then I edited the Server.xml, change the the dbuser, and db password to the one i create table, and I run the run.sh:

    In the log , I get this :

    Internal Chat Server v.5.7.276; build date: 2011-03-24
    Copyright (C) 2002 - 2011 Andrew Orlov

    2011-05-18 15:14:35.616: starting main Internal Chat thread
    2011-05-18 15:14:35.636: database connection pool creation is started
    2011-05-18 15:14:35.672: error prefilling database connection pool, trying again in 10 seconds…
    2011-05-18 15:14:45.677: error prefilling database connection pool, trying again in 10 seconds…
    2011-05-18 15:14:55.683: error prefilling database connection pool, trying again in 10 seconds…
    2011-05-18 15:15:05.689: error prefilling database connection pool, trying again in 10 seconds…
    2011-05-18 15:15:15.693: error prefilling database connection pool, trying again in 10 seconds…
    2011-05-18 15:15:25.697: error prefilling database connection pool, trying again in 10 seconds…
    2011-05-18 15:15:35.702: error prefilling database connection pool, trying again in 10 seconds…
    2011-05-18 15:15:45.709: error prefilling database connection pool, trying again in 10 seconds…

    Appreciate if you can help me troubleshoot this, for your information, my postgresql server is starting, and I do tried with mysql, facing the same problem. Is it I need to install jetty http server?

     
  • Andrew Orlov

    Andrew Orlov - 2011-05-18

    zen1988, hello!

    The problem you described means that Internal Chat server can't connect to database server. Possible reasons are the following:

    1. Wrong database settings in Server.xml. Hope, that first of all you checked them. Host, port, database name, user and password to connect to database - all parameters are of absolute importance.

    2. If you do sure that database setting are correct, make sure, that database listening port is not blocked by any firewall, either on database host or Internal Chat server host (BTW, are database and IC-server located on the same host or not?). If you use Linux, make sure that you database server is configured to accept TCP-connections (not only UNIX sockets), in particular from Internal Chat Server host. And check you database security settings - how it approve client passwords.

    Try to connect to database using something like pgAdmin and credentials you set. If it connects, Internal Chat server must connect too.

    And that is all. Everithing is very simple.

    You do not need to install or setup any additional components. Jetty is embedded in Internal Chat server, no specific configuration is needed except described in manual.

    P.S. BTW, didn't you setup your Postgres to use SSL connections only? It could be the problem too because by now Internal Chat server can't connect to database over encrypted channel.

     
  • Zen Chan

    Zen Chan - 2011-05-19

    Thanks, solve it, because I set the postgres listen on ssl

     

Log in to post a comment.