And another question:
We use flash to display the number of currently logged chat users by picking up the number from log file. Is it possible to get this number somehow outside of OpenCHAT?
Janusz
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Untill now it's great! but....
I cant' use nationall characters in rooms naming and send button value because they are converted into "?" (question mark) sign.
Regards
janusz
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
And more, I noticed I have the same problems with all language translations although I have CHAT_DEFAULT_CHARSET=ISO-8859-2.
Instead nationall letters question marks are displayed.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2004-04-12
I am running under Win32 (Windows XP) and when I try to type in http://your.server/Staus it tells me Internal Server Error OpenChat File server not enabled. Although I can log in and chat just fine.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When starting server got errors below. WHat is wrong?
Loaded ./OpenCHAT.conf conf file.
Loaded ./OpenCHAT.lang conf file.
Loading Domains from /home/janusz.kreft/openchat/OpenCHAT.Domains.conf and current working directory.
-> Loading Domain SISTEMICA.INFO.
Loading preOpened CHAT rooms for this Domain.
Loaded /home/janusz.kreft/openchat/OpenCHAT.rooms conf file.
Loaded ./OpenCHAT.rooms conf file.
Loaded /home/janusz.kreft/openchat/SISTEMICA.INFO.rooms conf file.
Loaded ./SISTEMICA.INFO.rooms conf file.
-> Loading room: Main Room 2.
-> Loading room: Demo Room.
-> Loading room: Main Room 1.
-> Default Room set to Demo Room.
Loaded /home/janusz.kreft/openchat/OpenCHAT.tpls conf file.
Loaded ./OpenCHAT.tpls conf file.
Loaded /home/janusz.kreft/openchat/OpenCHAT.tpls conf file.
Loaded ./OpenCHAT.tpls conf file.
Loaded /home/janusz.kreft/openchat/SISTEMICA.INFO.tpls conf file.
Loaded ./SISTEMICA.INFO.tpls conf file.
Loaded /home/janusz.kreft/openchat/SISTEMICA.INFO.lang conf file.
Loaded ./SISTEMICA.INFO.lang conf file.
-> Loading Domain TETRA.PL.
Loading preOpened CHAT rooms for this Domain.
Loaded /home/janusz.kreft/openchat/OpenCHAT.rooms conf file.
Loaded ./OpenCHAT.rooms conf file.
-> Loading room: Main Room 2.
-> Loading room: Main Room 1.
No domain config file could be read at /home/janusz.kreft/openchat/TETRA.PL.rooms or in the working directory!
-> Default Room set to Main Room 1.
Loaded /home/janusz.kreft/openchat/OpenCHAT.tpls conf file.
Loaded ./OpenCHAT.tpls conf file.
Loaded /home/janusz.kreft/openchat/OpenCHAT.tpls conf file.
Loaded ./OpenCHAT.tpls conf file.
Exception in thread "main" java.lang.NullPointerException
at OpenCHAT.readConfString(OpenCHAT.java:853)
at Domain.<init>(OpenCHAT.java:280)
at Root.loadDomains(OpenCHAT.java:67)
at Root.<init>(OpenCHAT.java:43)
at OpenCHAT.loadProps(OpenCHAT.java:768)
at OpenCHAT.main(OpenCHAT.java:789)
The "." of "TETRA.PL" can be the problem. You may have to use "TETRA_PL" or "TETRA%2EPL".
If it doens work, please include your JRE version and vendor and send me also the conf files you have edited or added (like TETRA.PL.rooms).
Thanks!
The problem was lack of TETRA.PL configuration files (rooms, lang and tpls)
Thanks by the moment
Regards
Janusz
And another question:
We use flash to display the number of currently logged chat users by picking up the number from log file. Is it possible to get this number somehow outside of OpenCHAT?
Janusz
Yes there is a page where you can see some information. But it is HTML formated, not web services. You can access it by http://your.server/Staus
Untill now it's great! but....
I cant' use nationall characters in rooms naming and send button value because they are converted into "?" (question mark) sign.
Regards
janusz
And more, I noticed I have the same problems with all language translations although I have CHAT_DEFAULT_CHARSET=ISO-8859-2.
Instead nationall letters question marks are displayed.
I am running under Win32 (Windows XP) and when I try to type in http://your.server/Staus it tells me Internal Server Error OpenChat File server not enabled. Although I can log in and chat just fine.
Proper syntax is not http://your.server/Staus but
http://your.server/Status
About the "?" character, Ive noticed other VM than JRE doesnt work fine. Which one are you using?
This is JRE 1.4.2_01-b06
Are you using Linux? Please send me the output of the "set" command.
It's RedHat
[root@sage /root]# set
BASH=/bin/bash
BASH_ENV=/root/.bashrc
BASH_VERSINFO=([0]="2" [1]="04" [2]="11" [3]="1" [4]="release" [5]="i386-redhat-linux-gnu")
BASH_VERSION='2.04.11(1)-release'
COLORS=/etc/DIR_COLORS
COLUMNS=80
DIRSTACK=()
EUID=0
GROUPS=()
HISTFILE=/root/.bash_history
HISTFILESIZE=1000
HISTSIZE=1000
HOME=/root
HOSTNAME=sage.tetra.pl
HOSTTYPE=i386
IFS='
'
INPUTRC=/etc/inputrc
KDEDIR=/usr
LANG=en_US
LESSOPEN='|/usr/bin/lesspipe.sh %s'
LINES=24
LOGNAME=root
LS_COLORS='no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:'
MACHTYPE=i386-redhat-linux-gnu
MAIL=/var/spool/mail/root
MAILCHECK=60
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/root/bin
PIPESTATUS=([0]="0")
PPID=10393
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
PS1='[\u@\h \W]\$ '
PS2='> '
PS4='+ '
PVM_ROOT=/usr/share/pvm3
PVM_RSH=/usr/bin/rsh
PWD=/root
QTDIR=/usr/lib/qt-2.2.0
SHELL=/bin/bash
SHELLOPTS=braceexpand:hashall:histexpand:monitor:history:interactive-comments:emacs
SHLVL=1
SSH_CLIENT='217.153.14.225 63565 22'
SSH_TTY=/dev/pts/0
TERM=xterm
UID=0
USER=root
USERNAME=root
XPVM_ROOT=/usr/share/pvm3/xpvm
_=PATH
kdepath=/usr/bin
langfile=/root/.i18n
sourced=1
mc=()
{
mkdir -p ~/.mc/tmp 2>/dev/null;
chmod 700 ~/.mc/tmp;
MC=~/.mc/tmp/mc-$$;
/usr/bin/mc -P "$@" >"$MC";
cd "`cat $MC`";
/bin/rm "$MC";
unset MC
}
Try using "CHAT_DEFAULT_CHARSET=utf-8" in the OpenCHAT.conf file, instead of "ISO-8859-2". I had better compatibility this way.