gautier
Members-
Posts
28 -
Joined
-
Last visited
gautier's Achievements
-
Hi Got similar issue. It's not a bug on the installer. I was using SSH to install JasperReportsServer remotely. SSH does transmit your computer locale : so the installer won't use the server locale. Tying to setup server's local won't help. You need to change SSH configuration to not transmit your locale. Edit /etc/ssh/ssh_config and comment out SendEnv LANG LC_* (for Mac OS X) : The file to change is here /etc/ssh_config If the problem persists : (it depends on your OS installation)on your remote server Edit /etc/bash.bashrcetc/bash.bashrc and add these line at the bottom of the file # Helping postgres install export LANGUAGE=en_US.UTF-8 export LANG=en_US.UTF-8 export LC_ALL=en_US.UTF-8 All those settings will be applied once you will login again. Run the JasperReprotServer installer again and you should be fineHope this helps
-
Hi Got similar issue. It's not a bug on the installer. I was using SSH to install JasperReportsServer remotely. SSH does transmit your computer locale : so the installer won't use the server locale. Tying to setup server's local won't help. You need to change SSH configuration to not transmit your locale. Edit /etc/ssh/ssh_config and comment out SendEnv LANG LC_* (for Mac OS X) : The file to change is here /etc/ssh_config If the problem persists : (it depends on your OS installation)on your remote server Edit /etc/bash.bashrcetc/bash.bashrc and add these line at the bottom of the file # Helping postgres install export LANGUAGE=en_US.UTF-8 export LANG=en_US.UTF-8 export LC_ALL=en_US.UTF-8 All those settings will be applied once you will login again. Run the JasperReprotServer installer again and you should be fineHope this helps
-
Talend is Eclipse based and uses plugins to extend its capabilities. This means we can build a plugin to contain all of our components to make them easily installable. Benefits of building a plugin for Talend: Keep all your components togetherEasier to share and deliverSelf-containedEasier to centralize common resources (jar,images,..)Advanced customizations (javajet)Understand Plugins through Reverse EngineeringProbably the best way to understand how plugins work in Talend’s context is to open one of the existing plugins. You can find all the plugins in the folder: [JETL_INSTALL_DIR]/plugins One good example of a plugin for providing components is org.talend.designer.esb.components.rs.consumer_5.5.1.r118616 (name may change depending on your JETLversion). This plugin contains the tRestClient component. If you are curious you can also have a look to this folder: org.talend.designer.components.localprovider_5.5.1.r118616. It contains all the basic components of JETL. Talend Designer ESB Tooling REST Service consumer plug-in Browse the folder : You should see this structure: additional: contains javajet filescomponents: contains the components to be added to TOSMETA-INF: contains the MANIFEST.MForg: is the root package of java classes used to extend Talendplugin.properties: is a property file defining vendor and plugin nameplugin.xml: tells Eclipse what how to handle the plugin, what are the points of extension and which classes provide the extensionCreate a Plugin projectAs Talend doesn't expose Eclipse feature to build plugins so we’ll need to use a proper Eclipse instance to build one. Open an Eclipse instance (not JETL) Click on the menu File > New.. > Other Select Plug-in Project Configure the new project name and setting Configure Advanced plugin properties Id: Make sure to use a relevant Id, this will be used to reference your plugin from component’s xml configuration (as example to import a common jar stored in the plugin)Execution Environment: This should match the design Environment, so where TOS is installed. Anyway is always best to use the minimum java version needed for your custom code to run, especially if you will share the plugin (of course you will J)Activator Class: this class is very important, so choose a meaningful package name. We’ll need to work on it later on. You can also call this “MyOwnPlugin”.Uncheck “Create a plug-in using one of the templates Click Finish Import the Talend core pluginIn order to build a talend plugin we need to define some dependencies with talend plugins in our brand new one. To do so we need to have these plugins in our Eclipse. In Eclipse select from menu File > Import… In the Import From section select Directory and browse the plugins folder of TOS Click Next In the plugin selection you can use the field to filter for strings like “talend.core” Select the plugin: org.talend.core from the left area and click “Add” Click on Finish Create Java classes for Talend extension pointsActivator classThe Activator class was automatically generated from the wizard. We just need to add another method: Activator.getStatus(String message, Throwable e)public static IStatus getStatus(String message, Throwable e) { String msg = e.getMessage() != null ? e.getMessage() : message != null ? message : e.getClass().getName(); return new Status(4, getDefault().getBundle().getSymbolicName(), msg, e); }[/code]So at the end your class should look something like this: MyCustomPlugin.javapackage org.mycompany.talend.component;import org.eclipse.core.runtime.IStatus;import org.eclipse.core.runtime.Status;import org.eclipse.ui.plugin.AbstractUIPlugin;import org.osgi.framework.BundleContext;public class MyCustomPlugin extends AbstractUIPlugin { public static MyCustomPlugin getDefault() { return plugin; } // The plug-in ID public static final String PLUGIN_ID = "MyPluginProjectId"; //$NON-NLS-1$ // The shared instance private static MyCustomPlugin plugin; /** * The constructor */ public MyCustomPlugin() { } /* * (non-Javadoc) * * @see * org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext * ) */ public void start(BundleContext context) throws Exception { super.start(context); plugin = this; } /* * (non-Javadoc) * * @see * org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext * ) */ public void stop(BundleContext context) throws Exception { plugin = null; super.stop(context); } public static IStatus getStatus(String message, Throwable e) { String msg = e.getMessage() != null ? e.getMessage() : message != null ? message : e.getClass().getName(); return new Status(4, getDefault().getBundle().getSymbolicName(), msg, e); }}[/code]Component ProviderThe main purpose of this class is to point eclipse platform to the location of our custom components within the plugin. It extends org.talend.core.model.components.AbstractComponentsProvider. This abstract class is part of the talend core plugin. In order to have your project build in eclipse you’ll need to add the jar [JETL_INSTALL_DIR]/plugins/org.talend.core_5.4.1.r111943.jar to the project’s BuildPath Below a simple implementation: MyCustomComponentsProvider.javapackage org.mycompany.talend.component;import java.io.File;import java.net.URL;import org.eclipse.core.runtime.FileLocator;import org.eclipse.core.runtime.Path;import org.talend.core.model.components.AbstractComponentsProvider;public class MyCustomComponentsProvider extends AbstractComponentsProvider{ private File providedLocation = null; protected File getExternalComponentsLocation() { if (this.providedLocation == null) { MyCustomPlugin plugin = MyCustomPlugin.getDefault(); try { URL url = FileLocator.find(plugin.getBundle(), new Path("components"), null); url = FileLocator.toFileURL(url); this.providedLocation = new File(url.getPath()); } catch (Exception e) { plugin.getLog().log(MyCustomPlugin.getStatus(null, e)); } } return this.providedLocation; } public String getFamilyTranslation(String paramString) { return null; }}[/code]Referencehttp://www.powerupbi.com/talend/componentCreation_1.html
-
Both problems are linked. It is due to windows 2008 and the installer. Try to do the install in a folder like c:\jasper (with all permissions needed) Hope this helps, Guillaume
-
You can use MDX queries on the top of XML-A Datasources in JasperReports. About your other requirements i suggest you to have a look at the pro edition. Here is a demo of this features : http://www.jaspersoft.com/user/register?destination=node%2F603 Hope this helps, Guillaume
-
Jasper usage in commercial netbeans based RCP appl
gautier replied to chinni_nani's topic in Products
Post Edited by gautier at 02/22/2010 18:45 -
Hi, I wrote the tutorial mentionned by regw prior to this release and this tutorial is now outdated. The jasperserver 3.7 release fully support cascading input controls.(In all editions including Community, Pro and Enterprise) If you installed the samples you will find in /reports/samples a sample for cascading parameters. More infos could be found here : http://jasperforge.org/plugins/mwiki/index.php/Jasperserver/Cascading_input_controls Hope this helps, Guillaume Post Edited by gautier at 02/22/2010 18:40
-
Here is a zip file with install instruction on it witch fixes the problem. Hope this helps, Guillaume
-
Hello, The class com.jaspersoft.jasperserver.api.metadata.user.domain.User exists only on the server so if you try to compile your report only with iReport this will not work. Try to upload your report in the server and then run it from the server. Hope this helps, Guillaume Post Edited by gautier at 01/10/2010 05:45
-
Well, that the port you specify on the connexion string : ie 8181 if your connexion is as follow : http://MyServer:8181/jasperserver/services/repository Hope this helps, Guillaume
-
Hi, You can use the REPORT_LOCALE parameter in your reports and sets it to the language you wish to use Guillaume
-
This feature is not supported by static text as they do not understand expresion. You must use text fields Guillaume Post Edited by gautier at 12/08/2009 14:55
-
Hello Have you add the ressource on the repository as well ? (see step 4,5,6 from internationalize report) Guillaume
-
Hi I can recommand you to use JNDI connexion as they close unused session better and then specify the character set In META-INF directory edit context.xml Qdd the folowing ressource : <Resource name="jdbc/yourbase" auth="Container" type="javax.sql.DataSource" maxActive="100" maxIdle="30" maxWait="10000" username="youruser" password="yourpassword" driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://127.0.0.1:3306/yourbase?useUnicode=true&characterEncoding=Latin-1"/> On the jasperserver repository create a JNDI with jdbc/yourbase as a reference Hope this helps, Guillaume Post Edited by gautier at 12/08/2009 09:53
-
Hello, Here is a complete tutorial about localization. http://www.jaspersoft.com/jasperserver-and-ireport-internationalization The last part talk specifically about localizing reports Hope this helps Guillaume