RE: [ULC-developer] AW: custom client coder registry provider

2010-05-27 Thread Janak Mulani
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: janak.mul...@canoo.com
url: http://www.canoo.com http://www.canoo.com/ 

Beyond AJAX - Java Rich Internet Applications

http://www.canoo.com/ulc
- 


From: ulc-developer-ad...@lists.canoo.com
[mailto:ulc-developer-ad...@lists.canoo.com] On Behalf Of
martin.sturzeneg...@pangea.ch
Sent: Monday, May 17, 2010 6:18 PM
To: ulc-developer@lists.canoo.com
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 janak.mul...@canoo.com 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

RE: [ULC-developer] AW: custom client coder registry provider

2010-05-17 Thread martin.sturzeneg...@pangea.ch

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 theConfigured 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(ConnectorCommand.java:51)
    at
com.ulcjava.container.servlet.client.ConnectorCommand.execute(ConnectorCommand.java:60)
    at
com.ulcjava.container.servlet.client.ServletConnector.executeCommand(ServletConnector.java:36)
    at
com.ulcjava.container.servlet.client.ServletConnector.a(ServletConnector.java:52)
    at
com.ulcjava.container.servlet.client.ServletConnector.start(ServletConnector.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.sessionStarted(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 janak.mul...@canoo.com 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: janak.mul...@canoo.com
 url: http://www.canoo.com

 Beyond AJAX - Java Rich Internet Applications

 http://www.canoo.com/ulc
 - 

  -Original Message-
  From: ulc-developer-ad...@lists.canoo.com
  [mailto:ulc-developer-ad...@lists.canoo.com] On Behalf Of
  Sturzenegger Martin DFR IT AG
  Sent: Friday, February 12, 2010 5:14 PM
  To: ulc-developer@lists.canoo.com; ulc-developer@lists.canoo.com
  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

AW: [ULC-developer] AW: custom client coder registry provider

2010-02-12 Thread Sturzenegger Martin DFR IT AG
Hi Janak,
the classes on the serverside are compiled with java 1.6, the ones on the 
client with java 1.6 target 1.5
the ULC version used ist 6.2.3
could you please name the version of ULCLoad that suits?
many thanks in advance
regards
martin



-Ursprüngliche Nachricht-
Von: ulc-developer-ad...@lists.canoo.com 
[mailto:ulc-developer-ad...@lists.canoo.com] Im Auftrag von Janak Mulani
Gesendet: Donnerstag, 11. Februar 2010 09:01
An: ulc-developer@lists.canoo.com
Betreff: RE: [ULC-developer] AW: custom client coder registry provider

Hi John, Martin,

There are 2 dependencies:

1. The ULC version used by ULCLoad (the ULC client side jars that you have
in your ui/lib dir) has to be the same as that used by the ULC App running
on the server. This is a given, otherwise, you will run into version
mismatch while recording and playing. This means the ULC client side
extension classes must be compiled with the same version of ULC.

2. The Java version used for compiling the classes must also be the same
(this has been the observed behavior).

Thanks and regards,

Janak

-
Janak Mulani

email: janak.mul...@canoo.com
url: http://www.canoo.com

Beyond AJAX - Java Rich Internet Applications

http://www.canoo.com/ulc
-

 -Original Message-
 From: ulc-developer-ad...@lists.canoo.com
 [mailto:ulc-developer-ad...@lists.canoo.com] On Behalf Of
 Prince John, Bedag
 Sent: Thursday, February 11, 2010 6:10 AM
 To: ulc-developer@lists.canoo.com; Sturzenegger Martin DFR IT AG
 Subject: RE: [ULC-developer] AW: custom client coder registry provider

 Hi Martin, Janak,

 I don't think this compiler requirement can be right. I ran
 two of our apps the other day under ULC Load with custom
 Coder Registry Providers, both compiled with java 6 (though
 target and source 1.5).

 I could only load the provider when I installed ULC load with
 the same version of ulc as used in the application, though (I
 had to install ulcload twice, once for 2008u4 and once for
 6.2.3). Might that be the problem?

 Best wishes

 John

 -Original Message-
 From: ulc-developer-ad...@lists.canoo.com
 [mailto:ulc-developer-ad...@lists.canoo.com] On Behalf Of
 Sturzenegger Martin DFR IT AG
 Sent: Wednesday, February 10, 2010 5:17 PM
 To: ulc-developer@lists.canoo.com; ulc-developer@lists.canoo.com
 Subject: AW: [ULC-developer] AW: custom client coder registry provider

 Hi Janak,
 thank you so much for answering. Alas I'm puzzled: A collegue
 of mine is testing the same software. He uses ulcload on
 ubuntu where he is able to select the custom coder provider.
 The provider is compiled with java 1.6 target 1.5 and he uses
 ulcload 3.0.1 (I tried the same scenario under windows and it failed).
 Greetings
 Martin





 -Ursprüngliche Nachricht-
 Von: ulc-developer-ad...@lists.canoo.com
 [mailto:ulc-developer-ad...@lists.canoo.com] Im Auftrag von
 Janak Mulani
 Gesendet: Mittwoch, 10. Februar 2010 08:59
 An: ulc-developer@lists.canoo.com
 Betreff: RE: [ULC-developer] AW: custom client coder registry provider

 Hi Martin,

 Not a matter of luck but somehow your mail from 04.02 did not
 get posted
 on the developer list!

 
   As I have to test an third party application that provides a
 custom client coder registry provider I added on the
 ULCRecoder all given
 jars to the classpath including the one jar containing a custom class
 which subclasses DefaultClientCoderRegistryProvider. Unfortunately the
 custom client coder registry provider does not show up in the
 Client Coder
 Registry Provider picklist. With 3.0.1 I tried that on ubuntu
 and there it
 worked but under xp it didn't using identical class-libs. As
 this prevents
 from getting started, I appreaciate any piece of information
 that would
 lead to overcome that frustrating effect.
 

 To be able to select coder provider it must be compiled with the same
 javac as that of ULC i.e. Java 1.4.

 Thanks and regards,

 Janak

 -
 Janak Mulani

 email: janak.mul...@canoo.com
 url: http://www.canoo.com http://www.canoo.com/

 Beyond AJAX - Java Rich Internet Applications

 http://www.canoo.com/ulc
 -

 

   From: ulc-developer-ad...@lists.canoo.com
 [mailto:ulc-developer-ad...@lists.canoo.com] On Behalf Of Sturzenegger
 Martin DFR IT AG
   Sent: Tuesday, February 09, 2010 5:03 PM
   To: ulc-developer@lists.canoo.com
   Subject: [ULC-developer] AW: custom client coder
 registry provider


   Hi,

   unluckily I didn't get any response. Does that mean, that nobody
 ever encountered that problem or does that mean nobody cares?

   I'd just love to know

   best regards

   m.



   

   Von: Sturzenegger Martin DFR IT AG
   Gesendet: Donnerstag, 4. Februar 2010 09:58
   An: 'ulc-developer

AW: [ULC-developer] AW: custom client coder registry provider

2010-02-12 Thread Sturzenegger Martin DFR IT AG
Hi Janak,
thank you so much for helping. 
The jar holding 'MyClientCoderRegistryProvider' is in the Library path.

I looked at the lax - file. There it referes to the jre included in version 
6.2.2 which is of version 1.4.xxx. So i tried to replace that entry refering to 
my jre which is 1.6.0_13, but that did not work either.

In ULC Load 3.0.2 UI.lax I put
lax.nl.current.vm=C:\\Programme\\Java\\jre1.6.0_13\\bin\\java.exe

Everything else you mentioned has been provided.
What else would you suggest?
Best regards
Martin





-Ursprüngliche Nachricht-
Von: ulc-developer-ad...@lists.canoo.com 
[mailto:ulc-developer-ad...@lists.canoo.com] Im Auftrag von Janak Mulani
Gesendet: Freitag, 12. Februar 2010 12:12
An: ulc-developer@lists.canoo.com
Betreff: RE: [ULC-developer] AW: custom client coder registry provider

Hi Martin,

ULCLoad 3.0.2 requires ULC 6.2.2 or higher.

This means that in the ui/lib dir of ULCLoad you should have client side
jars ulc-applet-client.jar, ulc-base-client.jar, ulc-base-trusted.jar and
ulc-servlet-client.jar from ULC 6.2.2 or higher.

You must ensure that version of ULC used by ULCLoad is the same as the
version of ULC used be the ULC Application on the server which is going to
be load tested.

Now the question of choosing the custom client coder registry provider:

To be able to choose a custom client side class (such as
MyClientCoderRegistryProvider extends DefaultClientCoderRegistryProvider)
you need to put the the jar file containing this class in the path of
ULCLoad i.e. choose and include the jar in the Library list on the
Recorder screen.

It has been reported sometimes that even if the required jar is included
in the classpath library list, the combobox for client coder registry
still does not show the custom client coder registry class for selection.

I just tested this with ULCLoad 3.0.2 running with ULC 6.2.2 and ULC 2008
u4. In both the cases I was able to select the custom client side class
that was compiled with combinations of {ULC 6.2.2, ULC 2008, ULC 2008 u3}
and {Java 5, Java 6}.

However as I said earlier this issue has been reported before. So you must
ensure that:

1. the custom client side class is compiled with same version of ULC that
is being used by ULCLoad and the ULCApp.
2. ULCLoad is running with the same Java version (see xxxUI.lax file in
bin dir) as the one with which the custom client class was compiled.

Thanks and regards,

Janak

-
Janak Mulani

email: janak.mul...@canoo.com
url: http://www.canoo.com

Beyond AJAX - Java Rich Internet Applications

http://www.canoo.com/ulc
-

 -Original Message-
 From: ulc-developer-ad...@lists.canoo.com
 [mailto:ulc-developer-ad...@lists.canoo.com] On Behalf Of
 Sturzenegger Martin DFR IT AG
 Sent: Friday, February 12, 2010 8:01 AM
 To: ulc-developer@lists.canoo.com; ulc-developer@lists.canoo.com
 Subject: AW: [ULC-developer] AW: custom client coder registry provider

 Hi Janak,
 the classes on the serverside are compiled with java 1.6, the
 ones on the client with java 1.6 target 1.5
 the ULC version used ist 6.2.3
 could you please name the version of ULCLoad that suits?
 many thanks in advance
 regards
 martin



 -Ursprüngliche Nachricht-
 Von: ulc-developer-ad...@lists.canoo.com
 [mailto:ulc-developer-ad...@lists.canoo.com] Im Auftrag von
 Janak Mulani
 Gesendet: Donnerstag, 11. Februar 2010 09:01
 An: ulc-developer@lists.canoo.com
 Betreff: RE: [ULC-developer] AW: custom client coder registry provider

 Hi John, Martin,

 There are 2 dependencies:

 1. The ULC version used by ULCLoad (the ULC client side jars
 that you have
 in your ui/lib dir) has to be the same as that used by the
 ULC App running
 on the server. This is a given, otherwise, you will run into version
 mismatch while recording and playing. This means the ULC client side
 extension classes must be compiled with the same version of ULC.

 2. The Java version used for compiling the classes must also
 be the same
 (this has been the observed behavior).

 Thanks and regards,

 Janak

 -
 Janak Mulani

 email: janak.mul...@canoo.com
 url: http://www.canoo.com

 Beyond AJAX - Java Rich Internet Applications

 http://www.canoo.com/ulc
 -

  -Original Message-
  From: ulc-developer-ad...@lists.canoo.com
  [mailto:ulc-developer-ad...@lists.canoo.com] On Behalf Of
  Prince John, Bedag
  Sent: Thursday, February 11, 2010 6:10 AM
  To: ulc-developer@lists.canoo.com; Sturzenegger Martin DFR IT AG
  Subject: RE: [ULC-developer] AW: custom client coder
 registry provider
 
  Hi Martin, Janak,
 
  I don't think this compiler requirement can be right. I ran
  two of our apps the other day under ULC Load with custom
  Coder Registry Providers, both compiled with java 6 (though
  target and source 1.5).
 
  I could only load the provider when I installed ULC load

AW: [ULC-developer] AW: custom client coder registry provider

2010-02-12 Thread Sturzenegger Martin DFR IT AG
Hi Janak,
i tried lax.class.path: no success.
Attached you find the jar containing the one class.
Thanks a lot
martin

nb: next week i'll be out of office (skiing)


-Ursprüngliche Nachricht-
Von: ulc-developer-ad...@lists.canoo.com 
[mailto:ulc-developer-ad...@lists.canoo.com] Im Auftrag von Janak Mulani
Gesendet: Freitag, 12. Februar 2010 15:07
An: ulc-developer@lists.canoo.com
Betreff: RE: [ULC-developer] AW: custom client coder registry provider

Hi Martin,

Can you send me your custom client class? If not the whole jar, just a jar
containing the class?

You may try one more thing: add the jar to the classpath in the lax file
i.e. lax.class.path

Thanks and regards,

Janak

-
Janak Mulani

email: janak.mul...@canoo.com
url: http://www.canoo.com

Beyond AJAX - Java Rich Internet Applications

http://www.canoo.com/ulc
-

 -Original Message-
 From: ulc-developer-ad...@lists.canoo.com
 [mailto:ulc-developer-ad...@lists.canoo.com] On Behalf Of
 Sturzenegger Martin DFR IT AG
 Sent: Friday, February 12, 2010 1:47 PM
 To: ulc-developer@lists.canoo.com; ulc-developer@lists.canoo.com
 Subject: AW: [ULC-developer] AW: custom client coder registry provider

 Hi Janak,
 thank you so much for helping.
 The jar holding 'MyClientCoderRegistryProvider' is in the
 Library path.

 I looked at the lax - file. There it referes to the jre
 included in version 6.2.2 which is of version 1.4.xxx. So i
 tried to replace that entry refering to my jre which is
 1.6.0_13, but that did not work either.

 In ULC Load 3.0.2 UI.lax I put
 lax.nl.current.vm=C:\\Programme\\Java\\jre1.6.0_13\\bin\\java.exe

 Everything else you mentioned has been provided.
 What else would you suggest?
 Best regards
 Martin





 -Ursprüngliche Nachricht-
 Von: ulc-developer-ad...@lists.canoo.com
 [mailto:ulc-developer-ad...@lists.canoo.com] Im Auftrag von
 Janak Mulani
 Gesendet: Freitag, 12. Februar 2010 12:12
 An: ulc-developer@lists.canoo.com
 Betreff: RE: [ULC-developer] AW: custom client coder registry provider

 Hi Martin,

 ULCLoad 3.0.2 requires ULC 6.2.2 or higher.

 This means that in the ui/lib dir of ULCLoad you should have
 client side
 jars ulc-applet-client.jar, ulc-base-client.jar,
 ulc-base-trusted.jar and
 ulc-servlet-client.jar from ULC 6.2.2 or higher.

 You must ensure that version of ULC used by ULCLoad is the same as the
 version of ULC used be the ULC Application on the server
 which is going to
 be load tested.

 Now the question of choosing the custom client coder registry
 provider:

 To be able to choose a custom client side class (such as
 MyClientCoderRegistryProvider extends
 DefaultClientCoderRegistryProvider)
 you need to put the the jar file containing this class in the path of
 ULCLoad i.e. choose and include the jar in the Library list on the
 Recorder screen.

 It has been reported sometimes that even if the required jar
 is included
 in the classpath library list, the combobox for client coder registry
 still does not show the custom client coder registry class
 for selection.

 I just tested this with ULCLoad 3.0.2 running with ULC 6.2.2
 and ULC 2008
 u4. In both the cases I was able to select the custom client
 side class
 that was compiled with combinations of {ULC 6.2.2, ULC 2008,
 ULC 2008 u3}
 and {Java 5, Java 6}.

 However as I said earlier this issue has been reported
 before. So you must
 ensure that:

 1. the custom client side class is compiled with same version
 of ULC that
 is being used by ULCLoad and the ULCApp.
 2. ULCLoad is running with the same Java version (see
 xxxUI.lax file in
 bin dir) as the one with which the custom client class was compiled.

 Thanks and regards,

 Janak

 -
 Janak Mulani

 email: janak.mul...@canoo.com
 url: http://www.canoo.com

 Beyond AJAX - Java Rich Internet Applications

 http://www.canoo.com/ulc
 -

  -Original Message-
  From: ulc-developer-ad...@lists.canoo.com
  [mailto:ulc-developer-ad...@lists.canoo.com] On Behalf Of
  Sturzenegger Martin DFR IT AG
  Sent: Friday, February 12, 2010 8:01 AM
  To: ulc-developer@lists.canoo.com; ulc-developer@lists.canoo.com
  Subject: AW: [ULC-developer] AW: custom client coder
 registry provider
 
  Hi Janak,
  the classes on the serverside are compiled with java 1.6, the
  ones on the client with java 1.6 target 1.5
  the ULC version used ist 6.2.3
  could you please name the version of ULCLoad that suits?
  many thanks in advance
  regards
  martin
 
 
 
  -Ursprüngliche Nachricht-
  Von: ulc-developer-ad...@lists.canoo.com
  [mailto:ulc-developer-ad...@lists.canoo.com] Im Auftrag von
  Janak Mulani
  Gesendet: Donnerstag, 11. Februar 2010 09:01
  An: ulc-developer@lists.canoo.com
  Betreff: RE: [ULC-developer] AW: custom client coder
 registry provider
 
  Hi John, Martin,
 
  There are 2 dependencies:
 
  1. The ULC version

RE: [ULC-developer] AW: custom client coder registry provider

2010-02-12 Thread Janak Mulani
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.

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.

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. 

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.

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.

Thanks and regards,

Janak

-
Janak Mulani

email: janak.mul...@canoo.com
url: http://www.canoo.com

Beyond AJAX - Java Rich Internet Applications 

http://www.canoo.com/ulc
-  

 -Original Message-
 From: ulc-developer-ad...@lists.canoo.com 
 [mailto:ulc-developer-ad...@lists.canoo.com] On Behalf Of 
 Sturzenegger Martin DFR IT AG
 Sent: Friday, February 12, 2010 5:14 PM
 To: ulc-developer@lists.canoo.com; ulc-developer@lists.canoo.com
 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
ULC-developer@lists.canoo.com
http://lists.canoo.com/mailman/listinfo/ulc-developer


RE: [ULC-developer] AW: custom client coder registry provider

2010-02-11 Thread Janak Mulani
Hi John, Martin,

There are 2 dependencies:

1. The ULC version used by ULCLoad (the ULC client side jars that you have
in your ui/lib dir) has to be the same as that used by the ULC App running
on the server. This is a given, otherwise, you will run into version
mismatch while recording and playing. This means the ULC client side
extension classes must be compiled with the same version of ULC.

2. The Java version used for compiling the classes must also be the same
(this has been the observed behavior).

Thanks and regards,

Janak

-
Janak Mulani

email: janak.mul...@canoo.com
url: http://www.canoo.com

Beyond AJAX - Java Rich Internet Applications

http://www.canoo.com/ulc
-

 -Original Message-
 From: ulc-developer-ad...@lists.canoo.com
 [mailto:ulc-developer-ad...@lists.canoo.com] On Behalf Of
 Prince John, Bedag
 Sent: Thursday, February 11, 2010 6:10 AM
 To: ulc-developer@lists.canoo.com; Sturzenegger Martin DFR IT AG
 Subject: RE: [ULC-developer] AW: custom client coder registry provider

 Hi Martin, Janak,

 I don't think this compiler requirement can be right. I ran
 two of our apps the other day under ULC Load with custom
 Coder Registry Providers, both compiled with java 6 (though
 target and source 1.5).

 I could only load the provider when I installed ULC load with
 the same version of ulc as used in the application, though (I
 had to install ulcload twice, once for 2008u4 and once for
 6.2.3). Might that be the problem?

 Best wishes

 John

 -Original Message-
 From: ulc-developer-ad...@lists.canoo.com
 [mailto:ulc-developer-ad...@lists.canoo.com] On Behalf Of
 Sturzenegger Martin DFR IT AG
 Sent: Wednesday, February 10, 2010 5:17 PM
 To: ulc-developer@lists.canoo.com; ulc-developer@lists.canoo.com
 Subject: AW: [ULC-developer] AW: custom client coder registry provider

 Hi Janak,
 thank you so much for answering. Alas I'm puzzled: A collegue
 of mine is testing the same software. He uses ulcload on
 ubuntu where he is able to select the custom coder provider.
 The provider is compiled with java 1.6 target 1.5 and he uses
 ulcload 3.0.1 (I tried the same scenario under windows and it failed).
 Greetings
 Martin





 -Ursprüngliche Nachricht-
 Von: ulc-developer-ad...@lists.canoo.com
 [mailto:ulc-developer-ad...@lists.canoo.com] Im Auftrag von
 Janak Mulani
 Gesendet: Mittwoch, 10. Februar 2010 08:59
 An: ulc-developer@lists.canoo.com
 Betreff: RE: [ULC-developer] AW: custom client coder registry provider

 Hi Martin,

 Not a matter of luck but somehow your mail from 04.02 did not
 get posted
 on the developer list!

 
   As I have to test an third party application that provides a
 custom client coder registry provider I added on the
 ULCRecoder all given
 jars to the classpath including the one jar containing a custom class
 which subclasses DefaultClientCoderRegistryProvider. Unfortunately the
 custom client coder registry provider does not show up in the
 Client Coder
 Registry Provider picklist. With 3.0.1 I tried that on ubuntu
 and there it
 worked but under xp it didn't using identical class-libs. As
 this prevents
 from getting started, I appreaciate any piece of information
 that would
 lead to overcome that frustrating effect.
 

 To be able to select coder provider it must be compiled with the same
 javac as that of ULC i.e. Java 1.4.

 Thanks and regards,

 Janak

 -
 Janak Mulani

 email: janak.mul...@canoo.com
 url: http://www.canoo.com http://www.canoo.com/

 Beyond AJAX - Java Rich Internet Applications

 http://www.canoo.com/ulc
 -

 

   From: ulc-developer-ad...@lists.canoo.com
 [mailto:ulc-developer-ad...@lists.canoo.com] On Behalf Of Sturzenegger
 Martin DFR IT AG
   Sent: Tuesday, February 09, 2010 5:03 PM
   To: ulc-developer@lists.canoo.com
   Subject: [ULC-developer] AW: custom client coder
 registry provider


   Hi,

   unluckily I didn't get any response. Does that mean, that nobody
 ever encountered that problem or does that mean nobody cares?

   I'd just love to know

   best regards

   m.



   

   Von: Sturzenegger Martin DFR IT AG
   Gesendet: Donnerstag, 4. Februar 2010 09:58
   An: 'ulc-developer@lists.canoo.com'
   Betreff: custom client coder registry provider



   Hi,

   just downloaded evolution copies of ulc-2008-u4 and
 ulcload-3.0.2
 and installed them on windows xp. It went smoothly and ulcload starts
 without any problems.

   As I have to test an third party application that provides a
 custom client coder registry provider I added on the
 ULCRecoder all given
 jars to the classpath including the one jar containing a custom class
 which subclasses DefaultClientCoderRegistryProvider. Unfortunately the
 custom client

[ULC-developer] AW: custom client coder registry provider

2010-02-09 Thread Sturzenegger Martin DFR IT AG
Hi,
unluckily I didn't get any response. Does that mean, that nobody ever 
encountered that problem or does that mean nobody cares?
I'd just love to know
best regards
m.


Von: Sturzenegger Martin DFR IT AG
Gesendet: Donnerstag, 4. Februar 2010 09:58
An: 'ulc-developer@lists.canoo.com'
Betreff: custom client coder registry provider

Hi,
just downloaded evolution copies of ulc-2008-u4 and ulcload-3.0.2 and installed 
them on windows xp. It went smoothly and ulcload starts without any problems.
As I have to test an third party application that provides a custom client 
coder registry provider I added on the ULCRecoder all given jars to the 
classpath including the one jar containing a custom class which subclasses 
DefaultClientCoderRegistryProvider. Unfortunately the custom client coder 
registry provider does not show up in the Client Coder Registry Provider 
picklist. With 3.0.1 I tried that on ubuntu and there it worked but under xp it 
didn't using identical class-libs. As this prevents from getting started, I 
appreaciate any piece of information that would lead to overcome that 
frustrating effect.
best regards
-
martin sturzenegger
062 835 10 07
079 456 24 94
martin.sturzeneg...@pangea.chmailto:martin.sturzeneg...@pangea.ch




RE: [ULC-developer] AW: custom client coder registry provider

2010-02-09 Thread Janak Mulani
Hi Martin,

Not a matter of luck but somehow your mail from 04.02 did not get posted
on the developer list! 


As I have to test an third party application that provides a
custom client coder registry provider I added on the ULCRecoder all given
jars to the classpath including the one jar containing a custom class
which subclasses DefaultClientCoderRegistryProvider. Unfortunately the
custom client coder registry provider does not show up in the Client Coder
Registry Provider picklist. With 3.0.1 I tried that on ubuntu and there it
worked but under xp it didn't using identical class-libs. As this prevents
from getting started, I appreaciate any piece of information that would
lead to overcome that frustrating effect. 


To be able to select coder provider it must be compiled with the same
javac as that of ULC i.e. Java 1.4.

Thanks and regards,

Janak

-
Janak Mulani

email: janak.mul...@canoo.com
url: http://www.canoo.com http://www.canoo.com/ 

Beyond AJAX - Java Rich Internet Applications

http://www.canoo.com/ulc
- 



From: ulc-developer-ad...@lists.canoo.com
[mailto:ulc-developer-ad...@lists.canoo.com] On Behalf Of Sturzenegger
Martin DFR IT AG
Sent: Tuesday, February 09, 2010 5:03 PM
To: ulc-developer@lists.canoo.com
Subject: [ULC-developer] AW: custom client coder registry provider


Hi,

unluckily I didn't get any response. Does that mean, that nobody
ever encountered that problem or does that mean nobody cares?

I'd just love to know

best regards

m.

 



Von: Sturzenegger Martin DFR IT AG 
Gesendet: Donnerstag, 4. Februar 2010 09:58
An: 'ulc-developer@lists.canoo.com'
Betreff: custom client coder registry provider

 

Hi,

just downloaded evolution copies of ulc-2008-u4 and ulcload-3.0.2
and installed them on windows xp. It went smoothly and ulcload starts
without any problems.

As I have to test an third party application that provides a
custom client coder registry provider I added on the ULCRecoder all given
jars to the classpath including the one jar containing a custom class
which subclasses DefaultClientCoderRegistryProvider. Unfortunately the
custom client coder registry provider does not show up in the Client Coder
Registry Provider picklist. With 3.0.1 I tried that on ubuntu and there it
worked but under xp it didn't using identical class-libs. As this prevents
from getting started, I appreaciate any piece of information that would
lead to overcome that frustrating effect.

best regards

-

martin sturzenegger

062 835 10 07

079 456 24 94

martin.sturzeneg...@pangea.ch

 

 

___
ULC-developer mailing list
ULC-developer@lists.canoo.com
http://lists.canoo.com/mailman/listinfo/ulc-developer