I tried turning off the Proxy but that did not work. I added the XMPP_DEBUG=true to my code. The debug info and warnings are listed below. It doesn’'t mean a whole lot to me but I am new to the world jabber and instant messenger development.
Debug Tab
2006.04.12 17:19:17 Logging off rstone@phantom/1144879834259 on org.jivesoftware.wildfire.net.SocketConnection@11402c4 socket: Socket[addr=/192.168.1.100,port=4093,localport=5222] session: org.jivesoftware.wildfire.ClientSession@6765 status: 3 address: rstone@phantom/1144879834259 id: 932f8bd2 presence:
(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:142)
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.04.12 17:03:32 [org.jivesoftware.wildfire.net.SocketReader.run(SocketReader.java:161)
] Connection closed before session established
Socket[addr=/192.168.1.100,port=3619,localport=5269]
2006.04.12 17:04:02 [org.jivesoftware.wildfire.net.SocketReader.run(SocketReader.java:161)
] Connection closed before session established
Socket[addr=/192.168.1.100,port=3651,localport=5269]
Info Tab
2006.04.10 21:00:40 Admin console listening at:
http://phantom:9090
https://phantom:9091
2006.04.12 07:27:00 Publish-Subscribe domain: pubsub.phantom
2006.04.12 07:27:00 Started server (unencrypted) socket on port: 5269
2006.04.12 07:27:00 Started plain (unencrypted) socket on port: 5222
2006.04.12 07:27:01 Started SSL (encrypted) socket on port: 5223
2006.04.12 07:27:01 Multi User Chat domain: conference.phantom
2006.04.12 07:27:01 Wildfire 2.6.0
2006.04.12 07:27:03 Admin console listening at:
http://phantom:9090
https://phantom:9091
2006.04.12 16:22:51 Publish-Subscribe domain: pubsub.phantom
2006.04.12 16:22:51 Started server (unencrypted) socket on port: 5269
2006.04.12 16:22:51 Started plain (unencrypted) socket on port: 5222
2006.04.12 16:22:52 Started SSL (encrypted) socket on port: 5223
2006.04.12 16:22:52 Multi User Chat domain: conference.phantom
2006.04.12 16:22:52 Wildfire 2.6.0
2006.04.12 16:22:54 Admin console listening at:
http://phantom:9090
https://phantom:9091
2006.04.12 16:24:50 Wildfire stopped
2006.04.12 16:24:55 Server halted
2006.04.12 16:25:07 Publish-Subscribe domain: pubsub.phantom
2006.04.12 16:25:07 Started server (unencrypted) socket on port: 5269
2006.04.12 16:25:07 Started plain (unencrypted) socket on port: 5222
2006.04.12 16:25:08 Started SSL (encrypted) socket on port: 5223
2006.04.12 16:25:08 Multi User Chat domain: confrence.phantom
2006.04.12 16:25:08 Wildfire 2.6.0
2006.04.12 16:25:09 Admin console listening at:
http://phantom:9090
https://phantom:9091
2006.04.12 16:57:12 Publish-Subscribe domain: pubsub.phantom
2006.04.12 16:57:12 Started server (unencrypted) socket on port: 5269
2006.04.12 16:57:12 Started plain (unencrypted) socket on port: 5222
2006.04.12 16:57:12 Started SSL (encrypted) socket on port: 5223
2006.04.12 16:57:12 Multi User Chat domain: confrence.phantom
2006.04.12 16:57:12 Wildfire 2.6.0
2006.04.12 16:57:14 Admin console listening at:
http://phantom:9090
https://phantom:9091
2006.04.12 17:01:41 Multi User Chat domain: confrence.phantom
2006.04.12 17:01:41 Started server (unencrypted) socket on port: 5269
2006.04.12 17:01:41 Started plain (unencrypted) socket on port: 5222
2006.04.12 17:01:42 Started SSL (encrypted) socket on port: 5223
2006.04.12 17:01:42 Publish-Subscribe domain: pubsub.phantom
2006.04.12 17:01:42 Wildfire 2.6.0
2006.04.12 17:01:44 Admin console listening at:
http://phantom:9090
https://phantom:9091
I also printed out the status and file progress the results are below
The progress is -1.0
The amount of the file that has been written is => -1
I looped through the whole time I was connected and it is always -1 and -1.0
The other weird thing is that I tried to get the OutputStream, create an array of bites from the OutputStream, and print out the array of bites using a for loop. The result of this is that the OutputStream apears to be null and that does not make sense to me. I am giving it a valid file I can process the file (i.e. copy to another location and the likes) but I cannot seem to send it over the messenger.
I am really at a loss. If any of this means anything to you please enlighten me.
Thank a lot.
Robert