hi again,
:o sorry for the inconveniences
i have another inexplicable problem. this is the scenario:
i create a master push page with a nonvisualtable (something like the examples show, nothing special).
then, i create an java adapter. in the constructor i create the connection to the DB, i use this connection in the infinite loop ( while(go){ ... } ) to check the status of some tables, if the state is true send a message to the client and change the state to false. i put this into the loop Thread.sleep(5000 + rand.nextInt(5000))
then i restart the LS server and load the master push page in the browser. i change the state of the table to true to see the result and everything works fine.
the problem occurs when i refresh the browser, i try to simulate the operation (changing the state of the table to true) but i don't get any result :confused:
please, can you helpme?? why this happends??
this is a summary of my log
#when i start LS server
[TRACE] .<init>(64) => CLASS-Load global variables from file
[TRACE] .<init>(111) => CLASS-Variables loaded
[TRACE] .openConn(131) => CLASS-creating the conecction to the DB
[TRACE] .openConn(136) => CLASS-BD connection created
#when a new user try to subscribe
[TRACE] .validateUser(231) => CLASS-Validate user
[TRACE] .subscribe(313) => CLASS-Begin the subscription: itemName --> ITEM
[TRACE] $GreetingsThread.<init>(348) => CLASS-Constructor de clase Thread
[TRACE] $GreetingsThread.run(355) => CLASS-Run the Thread
[TRACE] $GreetingsThread.run(369) => CLASS-Begin the infinite loop: ITEM
#when i refresh the browser
[TRACE] .validateUser(231) => CLASS-Validate user
[TRACE] .subscribe(313) => CLASS-Begin the subscription: itemName --> ITEM2
[TRACE] $GreetingsThread.<init>(348) => CLASS-Constructor de clase Thread
[TRACE] $GreetingsThread.run(355) => CLASS-Run the Thread
[TRACE] $GreetingsThread.run(369) => CLASS-Begin the infinite loop: ITEM2
[TRACE] .unsubscribe(333) => CLASS-End the subscription: ITEM
[TRACE] $GreetingsThread.run(419) => CLASS-End the infinite loop: ITEM
on this log i see that the user create a new item to subscribe and then unsubscribe the previous item.
do you have any idea??
regards.