[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xmlblaster] database connectivity
Hi Joanne,
i hope this issue is fixed now, the fix is commited to cvs,
regards
marcel
Joanne wrote:
Joanne wrote:
If xmlblaster should lose its connection to the persistent database
store (like oracle), can it automatically reconnect when the
connection is restored, or does xmlblaster need to be restarted?
Marcel wrote:
Yes it automatically restores, just try it,
Yes, I tried this, and I see that xmlblaster goes into a polling mode
with the database when it loses it network connection. After restoring
xmlblaster's network connection I see it recover based on the output:
[Jun 17, 2004 11:33:24 AM INFO
JdbcConnectionPool-jdbc:oracle:thin: at continuity:1521:alexis]
Successfully reconnected to database
But when it comes to restart a client that was logged on just before
the net connection was severed, connection fails. But if I start my
client with a username that did not log on before the database
reconnection, they can log on ok. I have to restart xmblaster for it
to begin accepting connections from clients that logged on before the
db reconnection. Here's part of the server output that shows the
connection error:
Ok, this is a bug, we'll fix it to the next release.
regards,
Marcel
<snip>
[Jun 17, 2004 11:33:33 AM WARN Authenticate] Connection for
/node/mymom/client/mrmoose failed: XmlBlasterException
serverSideException=true node=[mymom]
location=[SubjectInfo-5-/node/mymom/client/mrmoose.setSubjectQueueProperty()]
stackTrace=errorCode=internal.unknown message=Existing subject queue
properties are null
at
org.xmlBlaster.authentication.SubjectInfo.setSubjectQueueProperty(SubjectInfo.java:407)
at
org.xmlBlaster.authentication.Authenticate.connect(Authenticate.java:358)
at
org.xmlBlaster.authentication.AuthenticateProtector.connect(AuthenticateProtector.java:75)
at
org.xmlBlaster.authentication.AuthenticateProtector.connect(AuthenticateProtector.java:63)
at
org.xmlBlaster.protocol.socket.HandleClient.run(HandleClient.java:242)
at java.lang.Thread.run(Unknown Source)
versionInfo=version=0.903,os.name=Windows
2000,os.version=5.0,java.vm.vendor=Sun Microsystems
Inc.,java.vm.version=1.4.2_01-b06,os.arch=x86,build.timestamp=06/16/2004
04:55 PM,build.java.vendor=Sun Microsystems
Inc.,build.java.version=1.4.2_04
errorCode
description=http://www.xmlblaster.org/xmlBlaster/doc/requirements/admin.errorcodes.listing.html#internal.unknown
[Jun 17, 2004 11:33:33 AM WARN Authenticate.AccessDenied] SessionId
'sessionId:192.168.1.100-null-1087497213478-1327462189-5' is invalid,
no access to xmlBlaster.
[Jun 17, 2004 11:33:33 AM WARN Authenticate] Ignoring problems during
cleanup of exception 'XmlBlasterException serverSideException=true
node=[mymom]
location=[SubjectInfo-5-/node/mymom/client/mrmoose.setSubjectQueueProperty()]
stackTrace=errorCode=internal.unknown message=Existing subject queue
properties are null
at
org.xmlBlaster.authentication.SubjectInfo.setSubjectQueueProperty(SubjectInfo.java:407)
at
org.xmlBlaster.authentication.Authenticate.connect(Authenticate.java:358)
at
org.xmlBlaster.authentication.AuthenticateProtector.connect(AuthenticateProtector.java:75)
at
org.xmlBlaster.authentication.AuthenticateProtector.connect(AuthenticateProtector.java:63)
at
org.xmlBlaster.protocol.socket.HandleClient.run(HandleClient.java:242)
at java.lang.Thread.run(Unknown Source)
versionInfo=version=0.903,os.name=Windows
2000,os.version=5.0,java.vm.vendor=Sun Microsystems
Inc.,java.vm.version=1.4.2_01-b06,os.arch=x86,build.timestamp=06/16/2004
04:55 PM,build.java.vendor=Sun Microsystems
Inc.,build.java.version=1.4.2_04
errorCode
description=http://www.xmlblaster.org/xmlBlaster/doc/requirements/admin.errorcodes.listing.html#internal.unknown
':XmlBlasterException
errorCode=[user.security.authentication.accessDenied]
serverSideException=true
location=[Authenticate] message=[Your secretSessionId is invalid, no
access to mymom. : ] [See URL
http://www.xmlblaster.org/xmlBlaster/doc/requirements/admin.errorcodes.listing.html#user.security.authentication.accessDenied]
[Jun 17, 2004 11:33:33 AM ERROR AvailabilityChecker] connect() failed:
XmlBlasterException serverSideException=true node=[mymom]
location=[SubjectInfo-5-/node/mymom/client/mrmoose.setSubjectQueueProperty()]
stackTrace=errorCode=internal.unknown message=Existing subject queue
properties are null
at
org.xmlBlaster.authentication.SubjectInfo.setSubjectQueueProperty(SubjectInfo.java:407)
at
org.xmlBlaster.authentication.Authenticate.connect(Authenticate.java:358)
at
org.xmlBlaster.authentication.AuthenticateProtector.connect(AuthenticateProtector.java:75)
at
org.xmlBlaster.authentication.AuthenticateProtector.connect(AuthenticateProtector.java:63)
at
org.xmlBlaster.protocol.socket.HandleClient.run(HandleClient.java:242)
at java.lang.Thread.run(Unknown Source)
versionInfo=version=0.903,os.name=Windows
2000,os.version=5.0,java.vm.vendor=Sun Microsystems
Inc.,java.vm.version=1.4.2_01-b06,os.arch=x86,build.timestamp=06/16/2004
04:55 PM,build.java.vendor=Sun Microsystems
Inc.,build.java.version=1.4.2_04
errorCode
description=http://www.xmlblaster.org/xmlBlaster/doc/requirements/admin.errorcodes.listing.html#internal.unknown
[Jun 17, 2004 11:33:33 AM TRACE SOCKET-HandleClientRequest-mrmoose]
Can't handle message, throwing exception back to client:
errorCode=internal.unknown message=Existing subject queue properties
are null
[Jun 17, 2004 11:33:33 AM TRACE SocketExecutor] Successfully sent
exception for connect(2)
--
http://www.xmlBlaster.org