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 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] Problem with ulcportletintegration: NullPointerExceptions
Hello, I am currently evaluating the UltraLightClient in conjunction with a portal server for my company. I have deployed the ulcsetportlet.war to two different portal servers (Jetspeed 2.2.0 and Liferay Portal Enterprise Edition 5.2), but the sample application is not displayed (the applet crashes). I get the following stack trace in the Java console: java.lang.NullPointerException at com.ulcjava.environment.applet.client.DefaultAppletLauncher.getKeepAliveInterval(DefaultAppletLauncher.java:85) at com.canoo.ulc.community.portlet.client.UlcPortletLauncher.createPortletConnector(UlcPortletLauncher.java:48) at com.canoo.ulc.community.portlet.client.UlcPortletLauncher.init(UlcPortletLauncher.java:32) at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Ausnahme: java.lang.NullPointerException java.lang.NullPointerException at com.ulcjava.base.client.launcher.LauncherUtilities.setLookAndFeel(LauncherUtilities.java:35) at com.ulcjava.environment.applet.client.DefaultAppletLauncher.start(DefaultAppletLauncher.java:75) at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Ausnahme: java.lang.NullPointerException I have Windows XP and JRE 1.6.0_18 installed. Can you give me a hint how to fix this problem maybe? Freundliche Grüße / Kind regards Meik Behnfeldt Softwareentwickler / Software Developer Gerry Weber International AG IT Projects (ITPR) Neulehenstraße 8 33790 Halle (Westf.) T: +49 5201 185-8831 F: +49 5201 185-627 E: m.behnfe...@gerryweber.de mailto:m.behnfe...@gerryweber.de I: http://www.gerryweber-ag.de/ http://www.gerryweber-ag.de/ Aufsichtsratsvorsitzender: Dr. Ernst F. Schröder Vorstand: Gerhard Weber (Vorsitzender), Dr. David Frink, Doris Strätker Registergericht: Amtsgericht Gütersloh HRB 4779 USt.-IdNr.: DE 126954835
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 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
RE: [ULC-developer] Problem with ulcportletintegration: NullPointerExceptions
Hi Meik, Can you please try the demo from here: https://ulc-community.canoo.com/jetspeed/? Does this work for you? http://ulc-community.canoo.com/snipsnap/space/Portlet+Integration http://ulc-community.canoo.com/snipsnap/space/Portlet+Integration gives more info. In the meantime I will try the war from java.net. 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 Behnfeldt, Meik Sent: Friday, February 12, 2010 10:45 AM To: ulc-developer@lists.canoo.com Subject: [ULC-developer] Problem with ulcportletintegration: NullPointerExceptions Hello, I am currently evaluating the UltraLightClient in conjunction with a portal server for my company. I have deployed the ulcsetportlet.war to two different portal servers (Jetspeed 2.2.0 and Liferay Portal Enterprise Edition 5.2), but the sample application is not displayed (the applet crashes). I get the following stack trace in the Java console: java.lang.NullPointerException at com.ulcjava.environment.applet.client.DefaultAppletLauncher.getKeepAliveIn terval(DefaultAppletLauncher.java:85) at com.canoo.ulc.community.portlet.client.UlcPortletLauncher.createPortletCon nector(UlcPortletLauncher.java:48) at com.canoo.ulc.community.portlet.client.UlcPortletLauncher.init(UlcPortletL auncher.java:32) at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Ausnahme: java.lang.NullPointerException java.lang.NullPointerException at com.ulcjava.base.client.launcher.LauncherUtilities.setLookAndFeel(Launcher Utilities.java:35) at com.ulcjava.environment.applet.client.DefaultAppletLauncher.start(DefaultA ppletLauncher.java:75) at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Ausnahme: java.lang.NullPointerException I have Windows XP and JRE 1.6.0_18 installed. Can you give me a hint how to fix this problem maybe? Freundliche Grüße / Kind regards Meik Behnfeldt Softwareentwickler / Software Developer Gerry Weber International AG IT Projects (ITPR) Neulehenstraße 8 33790 Halle (Westf.) T: +49 5201 185-8831 F: +49 5201 185-627 E: mailto:m.behnfe...@gerryweber.de m.behnfe...@gerryweber.de I: http://www.gerryweber-ag.de/ http://www.gerryweber-ag.de/ Aufsichtsratsvorsitzender: Dr. Ernst F. Schröder Vorstand: Gerhard Weber (Vorsitzender), Dr. David Frink, Doris Strätker Registergericht: Amtsgericht Gütersloh HRB 4779 USt.-IdNr.: DE 126954835
AW: [ULC-developer] AW: custom client coder registry provider
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
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