BTW, maybe I'm a little bit naive, but isn't using an SQL server
not an overkill for such a relatively small application?
Would it not be possible to save the users and their properties
in a simple text file, a line per user, ...?
And the messages could be saved in memory (vector/set/map etc.).
But I admit I don't know the details of such an app, ie. whether
the messages must be kept/stored persistently or not etc...


Ralf M. wrote:
> tntnet.log shows the following error:
>    2010-05-05 00:06:14.50707 [15400.3056552816] INFO component.putchat - new 
> message from test1: "test"
>    2010-05-05 00:06:14.50732 [15400.3056552816] WARN tntnet.worker - 
> http-Error: 500 cannot cast ""
>
> BTW, below I forgot to mention that starting bootstrap.sh
> to create the DB gave an error (unfortunately I've not saved the error 
> message,
> but it was something about DB authentication), so then I did all the
> complicated postgresql steps mentioned on the said web page.
> After that it no longer gave the error and I was able to start
> the app as described below, but the above error indicates that
> something is still not correctly configured, or maybe there is a bug?
>
>
> Ralf M. wrote:
>> I finally somehow managed to start the app,
>> but I'm not sure whether it is possible to have
>> all (server and 2+ players) on the same machine? :-)
>>
>> The signed up and logged in user does somehow not show up
>> in the browser page of the other user.
>> I can somehow send messages but where should it supposed to go?
>> I think one first should select the remote user, but how?
>> And what does "Test" mean, is it a user name? It is static, ie. not 
>> clickable.
>> (I think there all logged in user names should appear, isn't it?)
>>
>> I think I better should start studying the code a little bit
>> to see how it's supposed to work... :-)
>>
>>
>> Mihai Dragan wrote:
>>> ATM it's just an overweight chat application. It's based on the
>>> ajax-chat example, but the current list of messages is stored in server
>>> memory, not on the client, and the users are stored in the database.
>>> To compile and use you also have to install TNTDB. Then bootstrap the
>>> database with bootstrap.sh, then compile the webapp dono.so using the
>>> makefile, then run with run.sh
>>>
>>> I don't remember doing anything special to let my user create the
>>> database, but I may be wrong here. Just try to run bootstrap.sh and let
>>> me know how it goes.
>
>
>
> ------------------------------------------------------------------------------



------------------------------------------------------------------------------
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general

Reply via email to