powered by Jive Software

Chat client attempted to access unimplemented feature

I have few clients installed and connected to a local Wildfire server for testing purposes. Have just noticed my neos got offline suddenly. And only this in warn.log

2006.03.07 10:49:12 Chat client attempted to access unimplemented feature

Probably this is something about neos itself?

UPD:

neos error:

There was an error with the jabber connection

Server: wroot

Error receiving from socket.

Today i have experienced this again. It happens after a long idle time i think. Now i have found something in error.log. Though this could be not related.

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at java.lang.Class.newInstance0(Unknown Source)

at java.lang.Class.newInstance(Unknown Source)

at org.jivesoftware.wildfire.starter.ServerStarter.start(ServerStarter.java:88)

at org.jivesoftware.wildfire.starter.ServerStarter.main(ServerStarter.java:49)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)

at com.exe4j.runtime.WinLauncher.main(Unknown Source)

2006.03.13 13:15:37 [org.jivesoftware.database.ConnectionPool.(ConnectionPool.java:108)

] Failed to create new connections on startup. Attempt 0 of 3

java.sql.SQLException: The database is already in use by another process: org.hsqldb.persist.NIOLockFile@c798e4a6[file =C:\Program Files\Wildfire\embedded-db\wildfire.lck, exists=true, locked=false, valid=false, fl =null]: java.lang.Exception: checkHeartbeat(): lock file is presumably locked by another process.

at org.hsqldb.jdbc.Util.sqlException(Unknown Source)

at org.hsqldb.jdbc.jdbcConnection.(XMPPServer.java:135)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at java.lang.Class.newInstance0(Unknown Source)

at java.lang.Class.newInstance(Unknown Source)

at org.jivesoftware.wildfire.starter.ServerStarter.start(ServerStarter.java:88)

at org.jivesoftware.wildfire.starter.ServerStarter.main(ServerStarter.java:49)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)

at com.exe4j.runtime.WinLauncher.main(Unknown Source)[/code]

And maybe this is happening because i’'m running 8 clients on the same machine simultaneosly.

Hey wroot,

The number of users should not be any problem. While generating load on the server I had more than 150 users connected from the same PC where the server was running.

The “Chat client attempted to access unimplemented feature” message is logged when the client sent a Message packet to the MUC service itself instead of sending it to a room. Next to the logged info you should see the sent packet. Feel free to post it but IMHO you may consider contacting Neos’'s developers to fix this issue.

Regarding the “lock file is presumably locked by another process” error message you got I would say that the server when stopped didn’'t delete that file so the next time you tried to start the server the new server process was not able to open that file. Try removing that file and restart the server.

Regards,

– Gato

Hi Gato,

Wifi was running for a while, and what I see in the thread dump makes me wonder what did happen. <init> should be called only one time.

LG

at org.jivesoftware.database.ConnectionPool.createCon(ConnectionPool.java:437)

at org.jivesoftware.database.ConnectionPool.(XMPPServer.java:135)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at java.lang.Class.newInstance0(Unknown Source)

at java.lang.Class.newInstance(Unknown Source)

at org.jivesoftware.wildfire.starter.ServerStarter.start(ServerStarter.java:88)

at org.jivesoftware.wildfire.starter.ServerStarter.main(ServerStarter.java:49)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)

at com.exe4j.runtime.WinLauncher.main(Unknown Source)

/code

Ok, thanks.

One more question. I have disabled File Transfer Proxy, but it’'s still appearing in Services. Socks 5 Bytestreams Proxy. I recall some JIRA issue about it. Is it ok?

Ok. this wildfire.lck is locking when i stop and start server after a few seconds. With Launcher. And after such error File Trasfer Proxy is working, though it’'s disabled in options. It seems that Launcher is activating Start button too fast. Wildfire is not closed before that and wildfire.lck is still in use. I have too wait longer and only then press Start.

Hi Oleg,

did you restart Wifi to get the error above or is it generated after some time?

LG

I stop the server (via Launcher) and then press Start only after a few seconds. But if Start button is active, i assume it’'s safe to start server. But it looks that server is starting too fast and not releasing this file. So, after starting server i go to logs and see that error.

related:

http://www.jivesoftware.org/community/thread.jspa?messageID=115670&#115670

Again, same problems. Wildfire is not saving changes to a DB after server stop/start. I wait long enough before i hit Start (though this Start button shouldnt be active if i cant start server right now, maybe you should add some n secs counter if you cant determine if server is down). I try to delete or create groups and no go after server restart. This happened once with older JM version. Error log is the same from 2006.03.13.

If i edit wildfire.script directly it show changes. If i launch and stop server via wildfired.exe in cmd it saves changes. But if i stop server via Launcher it doesnt save anything.

Regarding the File Proxy error, have a look at JM-571 and/or this thread:

http://www.jivesoftware.org/community/thread.jspa?messageID=114064&#114064

The error seemed to persist at first, but I haven’‘t had any since march 13th. I haven’‘t had the time to properly test though, so I’‘m interested if you’'re still experiencing the problems.

On a side-note: a quick how-to on how to add disco-support into plugins would be very helpful. I’'m running into the same problems with plugins I write myself.