[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [xmlblaster] Applet problems - help needed



Hi,

 

            Please disregard the last email. A file was not correct updated and was causing the error.

 

Best regards to all,

Eduardo Catarino

 


From: owner-xmlblaster at server.xmlBlaster.org [mailto:owner-xmlblaster at server.xmlBlaster.org] On Behalf Of Eduardo Catarino
Sent: quarta-feira, 19 de Outubro de 2005 11:37
To: xmlblaster at server.xmlBlaster.org
Subject: [xmlblaster] Applet problems - help needed

 

Hi,

 

            I’m testing an applet using a tomcat server that is started from Eclipse. When I do this the applet is not able to establish a connection. The error messages are the following.

            However hen I run the applet running the tomcat outside the Eclipse, and using a configuration similar to the example HelloWorld3 the application has no problems

 

In the Eclipse console (beside other messages).

 

[19/Out/2005 11:31:34 INFO  XmlBlaster.PingTimer SocketConnection] SOCKET client connected to 'socket://192.168.10.79:7607', your configured local parameters are localHostname=192.168.10.79 on localPort=2532 useUdpForOneway=false

[19/Out/2005 11:31:34 INFO  XmlBlaster.SOCKET SocketCallbackImpl-dummyLoginName] Started callback receiver plugin on 'socket://192.168.10.79:2532'

 

           

And in  the java console:

 

XmlBlasterAccess [ERROR]: Can't login to xmlBlaster, timed out.

java.lang.Exception: Can't login to xmlBlaster, timed out.

            at org.xmlBlaster.client.protocol.http.common.XmlBlasterAccessRawBase.startPersistentHttpConnection(XmlBlasterAccessRawBase.java:128)

            at org.xmlBlaster.client.protocol.http.common.XmlBlasterAccessRawBase.connect(XmlBlasterAccessRawBase.java:157)

            at RCC.XmlBlaster.xmlBlasterConnectionApplet.connect(xmlBlasterConnectionApplet.java:114)

            at RCC.XmlBlaster.xmlBlasterConnectionApplet.<init>(xmlBlasterConnectionApplet.java:53)

            at RCC.XmlBlaster.xmlBlasterConnectionApplet.getxmlBlasterConnectionApplet(xmlBlasterConnectionApplet.java:90)

            at RCC.XmlBlaster.xmlBlasterSubscriberApplet.<init>(xmlBlasterSubscriberApplet.java:44)

            at RCC.XmlBlaster.XMLBlasterAlertSubscriber.init(XMLBlasterAlertSubscriber.java:52)

            at sun.applet.AppletPanel.run(Unknown Source)

            at java.lang.Thread.run(Unknown Source)

XmlBlasterAccess [INFO]: Caught XmlBlasterException: XmlBlasterException errorCode=[user.security.authentication.accessDenied] serverSideException=false location=[No servlet session available] message=[#1.0.6 Login to xmlBlaster failed due to missing privileges. -> http://www.xmlblaster.org/xmlBlaster/doc/requirements/admin.errorcodes.listing.html#user.security.authentication.accessDenied : ] [See URL http://www.xmlblaster.org/xmlBlaster/doc/requirements/admin.errorcodes.listing.html#user.security.authentication.accessDenied]

java.lang.Exception: XmlBlasterException errorCode=[user.security.authentication.accessDenied] serverSideException=false location=[No servlet session available] message=[#1.0.6 Login to xmlBlaster failed due to missing privileges. -> http://www.xmlblaster.org/xmlBlaster/doc/requirements/admin.errorcodes.listing.html#user.security.authentication.accessDenied : ] [See URL http://www.xmlblaster.org/xmlBlaster/doc/requirements/admin.errorcodes.listing.html#user.security.authentication.accessDenied]

            at org.xmlBlaster.client.protocol.http.common.XmlBlasterAccessRawBase.postRequest(XmlBlasterAccessRawBase.java:438)

            at org.xmlBlaster.client.protocol.http.common.XmlBlasterAccessRawBase.subscribe(XmlBlasterAccessRawBase.java:175)

            at RCC.XmlBlaster.xmlBlasterConnectionApplet.subscribe(xmlBlasterConnectionApplet.java:201)

            at RCC.XmlBlaster.xmlBlasterSubscriberApplet.subscribe(xmlBlasterSubscriberApplet.java:66)

            at RCC.XmlBlaster.XMLBlasterAlertSubscriber.init(XMLBlasterAlertSubscriber.java:53)

            at sun.applet.AppletPanel.run(Unknown Source)

            at java.lang.Thread.run(Unknown Source)

java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8080/Liaison/XMLBlaster/AppletServlet

            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 sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)

            at java.security.AccessController.doPrivileged(Native Method)

            at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)

            at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

            at org.xmlBlaster.client.protocol.http.applet.UrlConnection.getInputStream(UrlConnection.java:34)

            at org.xmlBlaster.client.protocol.http.common.PersistentRequest.run(PersistentRequest.java:120)

Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8080/Liaison/XMLBlaster/AppletServlet

            at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

            at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown Source)

            at org.xmlBlaster.client.protocol.http.applet.UrlConnection.getHeaderField(UrlConnection.java:42)

            at org.xmlBlaster.client.protocol.http.common.XmlBlasterAccessRawBase.readCookie(XmlBlasterAccessRawBase.java:522)

            at org.xmlBlaster.client.protocol.http.common.PersistentRequest.run(PersistentRequest.java:119)

PersistentRequest [ERROR]: Can't handle exception: java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8080/Liaison/XMLBlaster/AppletServlet

XmlBlasterAccess [INFO]: isConnected(false)

XmlBlasterAccess [INFO]: Caught XmlBlasterException: XmlBlasterException errorCode=[user.security.authentication.accessDenied] serverSideException=false location=[No servlet session available] message=[#1.0.6 Login to xmlBlaster failed due to missing privileges. -> http://www.xmlblaster.org/xmlBlaster/doc/requirements/admin.errorcodes.listing.html#user.security.authentication.accessDenied : ] [See URL http://www.xmlblaster.org/xmlBlaster/doc/requirements/admin.errorcodes.listing.html#user.security.authentication.accessDenied]

java.lang.Exception: XmlBlasterException errorCode=[user.security.authentication.accessDenied] serverSideException=false location=[No servlet session available] message=[#1.0.6 Login to xmlBlaster failed due to missing privileges. -> http://www.xmlblaster.org/xmlBlaster/doc/requirements/admin.errorcodes.listing.html#user.security.authentication.accessDenied : ] [See URL http://www.xmlblaster.org/xmlBlaster/doc/requirements/admin.errorcodes.listing.html#user.security.authentication.accessDenied]

            at org.xmlBlaster.client.protocol.http.common.XmlBlasterAccessRawBase.postRequest(XmlBlasterAccessRawBase.java:438)

            at org.xmlBlaster.client.protocol.http.common.XmlBlasterAccessRawBase.ping(XmlBlasterAccessRawBase.java:170)

            at RCC.XmlBlaster.xmlBlasterConnectionApplet.checkConnectionAlive(xmlBlasterConnectionApplet.java:163)

            at RCC.XmlBlaster.xmlBlasterConnectionApplet.run(xmlBlasterConnectionApplet.java:146)

            at java.util.TimerThread.mainLoop(Unknown Source)

            at java.util.TimerThread.run(Unknown Source)

 

 

Best regards to all,

Eduardo Catarino.