#1
  1. No Profile Picture
    rubbish in javascript
    Devshed Novice (500 - 999 posts)

    Join Date
    Feb 2001
    Location
    London
    Posts
    706
    Rep Power
    14

    chatroom help for beginer


    hello

    trying to figure out how to install a java chatroom on our server and have 0 java experience so its proving to be a little difficult. I found a java chatroom here....

    http://coldjava.hypermart.net/servlets/chat.htm

    and followed its instructions on how to install but no joy, bascially can anyone recommend a tutorial for complete beginers on this, not on how to learn java but just enough to be able to install a chatroom, or a site that has a free chatroom and help on how to install it, or could someone help me out with installing the chatroom i have mentioned above?

    thanks in advance
    gar
  2. #2
  3. Modding: Oracle MsSQL Firebird
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2001
    Location
    Outside US
    Posts
    8,527
    Rep Power
    539
  4. #3
  5. No Profile Picture
    rubbish in javascript
    Devshed Novice (500 - 999 posts)

    Join Date
    Feb 2001
    Location
    London
    Posts
    706
    Rep Power
    14
    >Ok, it shouldn't be difficult,

    ha i like your sense of humour!!


    >but you should tell us what server do you use

    thats easy Sun Cobalt Serve


    >where did you put the files

    i put them in a personal folder i.e.
    http://www.mysite.com/~garrett/
    i was'nt sure if they were to go in the cgi-bin or something like that?


    >and what errors did you get.

    this is what i get straight away....

    >Method Not Allowed
    >The requested method POST is not allowed for the URL >/~garrett/chat/chatconf.txt.

    if you want to look at the files go to...
    http://www.zendco.com/~garrett/chat/


    >You can also check a short but interesting article at >http://www.linuxjournal.com/article.php?sid=4819

    reading it now!!

    thanks
    gar



    Sun Cobalt Serve
  6. #4
  7. Modding: Oracle MsSQL Firebird
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2001
    Location
    Outside US
    Posts
    8,527
    Rep Power
    539
    I was a bit optimistic, as usual
    I meant what http server/servlet engine you use, I assume it's Apache+Tomcat on Linux, so you have to put the servlets in a specific directory /webapps/root/web-inf/classes, it's something like the cgi directory, only for servlets instead of cgi scripts,
    and the config file should be in the root directory.
    You should check with the hosting company about the settings.

    Edit:
    After looking at zendco from netcraft, I'm not shure it you have servlet/jsp support:
    Apache/1.3.20 Sun Cobalt (Unix) mod_ssl/2.8.4 OpenSSL/0.9.6b PHP/4.1.2 mod_auth_pam_external/0.1 FrontPage/4.0.4.3 mod_perl/1.25
    But, having php and perl you can find good chat systems for them.
  8. #5
  9. No Profile Picture
    rubbish in javascript
    Devshed Novice (500 - 999 posts)

    Join Date
    Feb 2001
    Location
    London
    Posts
    706
    Rep Power
    14
    >After looking at zendco from netcraft, I'm not shure it you have servlet/jsp >support:

    yep its confusing on their site it says that servlet/jsp support can only be for administrators and then written below it, it says the name of our subscription as if that means other subscriptions can't have it but ours can, anyway this is all in french (www.amen.fr) so it could be my weird translation but i think we dont have java capability as well.


    >But, having php and perl you can find good chat systems for them.

    well i have one in php and i could code one myself in php as its a strong point so no problem there, but they dont tend to be as reliable what with the page refreshing every say 30 secs and sometimes it just goes weird and does'nt render, anyway i think i'll end up doing it in php

    out of curiousity if we did have java capability where would the folder be? is there a usual place like the cgi-bin has at the root ie http://www.zendco.com/cgi/

    thanks for your advice!

    a+
    gar
  10. #6
  11. Modding: Oracle MsSQL Firebird
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2001
    Location
    Outside US
    Posts
    8,527
    Rep Power
    539

    Thumbs down


    >where would the folder be?
    I've already answered, in a general way, since I don't know the directory layout of your server.
    directory /webapps/root/web-inf/classes, it's something like the cgi directory, only for servlets instead of cgi scripts,
    and the config file should be in the root directory.
  12. #7
  13. No Profile Picture
    rubbish in javascript
    Devshed Novice (500 - 999 posts)

    Join Date
    Feb 2001
    Location
    London
    Posts
    706
    Rep Power
    14
    ah sorry my fault for speed reading!!

    thanks for your help!
    a+
    gar

IMN logo majestic logo threadwatch logo seochat tools logo