[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
ActviceX problems  XML
Forum Index -> Development
Author Message
kretzler

Power User

Joined: 21/11/2007 13:00:57
Messages: 73
Location: Karlsruhe
Offline

Hello,

on our startpage we call an activeX component and just wait for response from this activeX. See 'test if an activeX is installed' ... http://www.casabacdemo.com/forum/posts/list/228.page

We implemented this feature in june and it worked fine. Since a few weeks we have problems. The most of the time we got a response from the activeX but sometimes not. We tested it with a startdelay from 100 to 500. With a delay from 100 it works seldom with a delay from 300 or 500 it works mostly.

Maybe there is a relation because the Enterprise client update from the September 21.

I used the clientlogfile option. First with a startdelay from 100 and it failed and then with 500 and it worked.

====================================================

---------- XML finished .......... org.eclnt.client.comm.http.DataTransfer>transferXML
2008:10:27 14:07:54:06 | 11 | INFO | [...40] - >>>> processing response, build screen .......... org.eclnt.client.page.Page>processInitResponse
2008:10:27 14:07:54:50 | 13 | INFO | ActiveX SYNCHRONIZED: begin .......... org.eclnt.client.elements.impl.ACTIVEXElement>createAndRunSWT
2008:10:27 14:07:54:50 | 13 | INFO | ActiveX component: IDEDITX.IDEditXCtrl.1, start loading .......... org.eclnt.client.elements.impl.ACTIVEXElement>createAndRunSWT
2008:10:27 14:07:54:80 | 13 | WARNING | Exception when opening activex component: java.lang.IllegalArgumentException: Argument not valid [peer not created] .......... org.eclnt.client.elements.impl.ACTIVEXElement$1>run
2008:10:27 14:07:54:89 | 11 | INFO | Loading image http://localhost:8080/smartact/eclntjsfserver/images/statusbar_empty.png .......... org.eclnt.client.page.ImageLoader>loadImageIcon
2008:10:27 14:07:54:90 | 11 | INFO | Reading remote file http://localhost:8080/smartact/eclntjsfserver/images/statusbar_empty.png .......... org.eclnt.client.comm.http.DataTransfer>readBytesFromURL
2008:10:27 14:07:54:92 | 11 | INFO | remote file's length ==== 750 .......... org.eclnt.client.comm.http.DataTransfer>readBytesFromURL
2008:10:27 14:07:54:92 | 11 | FINE |

====================================================

---------- XML finished .......... org.eclnt.client.comm.http.DataTransfer>transferXML
2008:10:27 13:58:48:74 | 11 | INFO | [...44] - >>>> processing response, build screen .......... org.eclnt.client.page.Page>processInitResponse
2008:10:27 13:58:48:17 | 13 | INFO | ActiveX SYNCHRONIZED: begin .......... org.eclnt.client.elements.impl.ACTIVEXElement>createAndRunSWT
2008:10:27 13:58:48:18 | 13 | INFO | ActiveX component: IDEDITX.IDEditXCtrl.1, start loading .......... org.eclnt.client.elements.impl.ACTIVEXElement>createAndRunSWT
2008:10:27 13:58:48:72 | 12 | FINE | Sending message: eclntHeartbeatSeccond .......... org.eclnt.client.asynch.MessageBusImpl>sendMessage
2008:10:27 13:58:48:01 | 11 | INFO | Loading image http://localhost:8080/smartact/eclntjsfserver/images/statusbar_empty.png .......... org.eclnt.client.page.ImageLoader>loadImageIcon
2008:10:27 13:58:48:01 | 11 | INFO | Reading remote file http://localhost:8080/smartact/eclntjsfserver/images/statusbar_empty.png .......... org.eclnt.client.comm.http.DataTransfer>readBytesFromURL
2008:10:27 13:58:48:07 | 11 | INFO | remote file's length ==== 750 .......... org.eclnt.client.comm.http.DataTransfer>readBytesFromURL
2008:10:27 13:58:48:08 | 11 | FINE |



Thanks,
Ralph
[WWW]
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5520
Offline

...in order to officially follow up + after some phonce calls:

The problem seems to occur due to "long" build-up and initialization times of teh ActiveX component. We did provide an updated version in which the client waits for the ActiveX component to finish, prior to sending data to the server.

Please feed back if this helped you... THANKS!

Björn

Björn Müller, CaptainCasa GmbH
kretzler

Power User

Joined: 21/11/2007 13:00:57
Messages: 73
Location: Karlsruhe
Offline

Hello,

I installed the update but the problem is still there.

Yesterday and today after starting my computer and starting the application the first time the data from the activeX was empty.

It is difficult to reproduce. If I shut down the server, close all windows and then restart the application it is not reproducable.

Any ideas?


Thanks,
Ralph
[WWW]
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5520
Offline

There were several timing issues involved in the concrete scenario. We did update the start up behaviour in the meantime, so that the collecting of properties from the ActiveX does wait for the control to be completely available.

...should work with 20081110.

Björn

Björn Müller, CaptainCasa GmbH
kretzler

Power User

Joined: 21/11/2007 13:00:57
Messages: 73
Location: Karlsruhe
Offline

it works fine ...

Thanks a lot,
Ralph
[WWW]
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team