Hi Martin, You are saying that ULC Client is able to connect to the ULC App but ULCLoad is not.
Is your ULC client able to start with JWS? What is the url of ULC app in the .jnlp file? You say that you are running ULC Client through a batch file. That means you are running ULC Client as a standalone Java program outside of browser and JWS. What is the URL of ULC App that you provide to the ULC Client in your batch file as part of program arguments? Just make sure the app URL you specify in jnlp file or as arg in batch file to ULC client is the same URL you specify in ULC Load recorder. For instance if url in jnlp is http://localhost:45165/teammembers.ulc then the same should be used for ULCLoad recorder. This is the same URL that maps to ULC Servlet in your web.xml file on the server. If your ULC client works then the ULCLoad recorder should work because it is just like a ULC client. Also make sure that the version of ULC client side jars is the same as that of the ULC server side jars, else you will get version conflict. Make sure that ulc load uses the same client side jars as the ones used by your ULC client which is running successfully. These jars are in "ULCLoad Install dir/UI/lib" dir. Names of these jars are: ulc-base-client.jar, ulc-base-trusted.jar, ulc-servlet-client.jar and ulc-applet-client.jar. Your application which you run in batch mode will not be using the last named jar but would be using ulc-standalone-client.jar instead. You can open all thrse jars and check the manifest to ensure that they are of the same version and the version matches that of the ULC's server side jars. Try one more thing: Start the ULC sample apps that are part of the release. There is a built in app server in Sample dir of ULC Install dir. You can point ULC Load to one of the sample apps (TeamMembers) as described in ULC Load User Guide. See if ULC Load is able to record and play a scenario with the sample application. Thanks and regards, Janak ----------------------------------------- Janak Mulani email: [email protected] url: http://www.canoo.com <http://www.canoo.com/> Beyond AJAX - Java Rich Internet Applications http://www.canoo.com/ulc ----------------------------------------- ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of [email protected] Sent: Monday, May 17, 2010 6:18 PM To: [email protected] Subject: RE: [ULC-developer] AW: custom client coder registry provider hi janak, it's been some time in which i unfortunately i did not have the time to venture any further in this matter. first I'd like to express my gratitude for you trying to help me overcome the problems I had with the custom client coder registry provider. but then i got stuck again this time when trying to run the recorder which said (and still says)that the Configured url-string may be wrong Caused by: com.ulcjava.container.servlet.client.UnsupportedHttpStatusCodeException: Unable to send request. Configured url-string may be wrong: http://myserver:8080/capitastra/capgb. HTTP response is: HTTP/1.1 500 Internal Server Error at com.ulcjava.container.servlet.client.ConnectorCommand.handleResponse(Conne ctorCommand.java:51) at com.ulcjava.container.servlet.client.ConnectorCommand.execute(ConnectorCom mand.java:60) at com.ulcjava.container.servlet.client.ServletConnector.executeCommand(Servl etConnector.java:36) at com.ulcjava.container.servlet.client.ServletConnector.a(ServletConnector.j ava:52) at com.ulcjava.container.servlet.client.ServletConnector.start(ServletConnect or.java:26) at com.ulcload.base.recorder.UIExtendedSession$a_.start(UIExtendedSession$a_. java:7) at com.ulcjava.base.client.UISession.startConnector(UISession.java:8) at com.ulcjava.base.client.launcher.DefaultSessionStateListener.sessionStarte d(DefaultSessionStateListener.java:11) at com.ulcjava.base.client.UISession.a(UISession.java:161) at com.ulcjava.base.client.UISession.access$500(UISession.java:108) at com.ulcjava.base.client.UISession$0.run(UISession$0.java:6) please have a look at my answers below. hopfully you have an idea how to overcome that obstacle. many thanx in advance martin Janak Mulani <[email protected]> hat am 12. Februar 2010 um 21:09 geschrieben: > Hi Martin, > > You say that the recorder is unable to connect to the ULC App. > > 1. Make sure that the server and ULC App are running and not crashed. both are up and running > > 2. try running the uLC client (jnlp or applet) from the machine on which > you are trying to run ULCLoad. If this runs ULC Load should run and the > URL should be the same you would have provided in the jnlp file. the ulc client is running from the same machine on which i try to run ulcload. the ulc client is started using a batch-file on windows xp. the urls are identical. > > 3. Make sure that the ULCLoad is using the same version of ULC (client > side jars in ui/lib dir) as that used by the ULC App on the server. are you referring to ulc-applet-client.jar, ulc-base-client.jar, ulc-base-trusted.jar, ulc-jnlp-client.jar, ulc-servlet-client.jar,ulc-standalone-client.jar ? I use the same ones as I use for the ulc client. except ulc-servlet-client.jar and ulc-base-client.jar. with the 'new' ulc-servlet-client.jar starting the recorder it says com.ulcjava.base.shared.internal.IllegalStateException: Version conflict between different ULC classes. Expected version: 12892. Inconsistent classes: com.ulcjava.container.servlet.client.ServletConnector [build.2301.84] with the 'new' ulc-base-client.jar the recorder throws a ClassNotfoundException (com.ulcjava.base.shared.internal.AsserUtilities) > > 4. Also make sure that all the client side jars are present on th path of > the recorder. These will be same client side jars which you would have > specified in archive in applet tag or in resource in jnlp file. they are. I checked them several times. > > 5. Make sure that you have specified the same Carrier and Data stream > provider that you are using in the server side app (see servlet tag in > web.xml). E.g. if server is using ZipCarrierStreamProvider then so should > the ULCclient and ULCLoad Recorder. they are not stated in the web.xml, so I leave them blanc > > Thanks and regards, > > Janak > > ----------------------------------------- > Janak Mulani > > email: [email protected] > url: http://www.canoo.com > > Beyond AJAX - Java Rich Internet Applications > > http://www.canoo.com/ulc > ----------------------------------------- > > > -----Original Message----- > > From: [email protected] > > [mailto:[email protected]] On Behalf Of > > Sturzenegger Martin DFR IT AG > > Sent: Friday, February 12, 2010 5:14 PM > > To: [email protected]; [email protected] > > Subject: AW: [ULC-developer] AW: custom client coder registry provider > > > > Hi Janak, > > heureka, I can see the light aka the custom registryprovider! > > I put in the jar that I've sent you by itself. and by miracle > > the provider showed. Then i put in all the rest... > > > > I did a little step-dancing on my desk. > > But it did not last long: trying to record i get an > > com.ulcjava.base.client.ConnectorException: Unable to send > > request. Configured url-string may be wrong: > > http://test01.ktag.ch/app/grunag-schulung/capgb. HTTP > > response is: HTTP/1.1 500 Internal Server Error > > > > even if I'm totally sure the url is correct (browser confirms) > > I thought of proxy settings but for another project I use > > jmeter facing the same proxy settings and there there ain't > > no problem. > > > > Any hints? > > > > > > Best regards > > martin > > > _______________________________________________ > ULC-developer mailing list > [email protected] > http://lists.canoo.com/mailman/listinfo/ulc-developer _______________________________________________ ULC-developer mailing list [email protected] http://lists.canoo.com/mailman/listinfo/ulc-developer
