<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: java.lang.NoSuchMethodError: routines.Numeric.resetSequence in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/java-lang-NoSuchMethodError-routines-Numeric-resetSequence/m-p/2226305#M18247</link>
    <description>Hi
&lt;BR /&gt;we can say the dependency routine is exported completelly if it works fine when executing the .bat file. There must be something wrong during you package into an .ear file, the path of routine is wrong.
&lt;BR /&gt;Why don't you export the job as a war file from studio and deploy it to Jboss/tomcat?
&lt;BR /&gt;Best regard
&lt;BR /&gt;Shong</description>
    <pubDate>Fri, 04 Mar 2011 14:01:02 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-03-04T14:01:02Z</dc:date>
    <item>
      <title>java.lang.NoSuchMethodError: routines.Numeric.resetSequence</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-NoSuchMethodError-routines-Numeric-resetSequence/m-p/2226302#M18244</link>
      <description>I have a Talend job that uses a sequence to assign row numbers to the records in a file. I need to reset the sequence before I start to read a new file. I can use the function routines.Numeric.resetSequence(seqName, startValue) in a tJava component without an issue when running my job inside Talend. 
&lt;BR /&gt;When I export my job, deploy to my JBoss server, and run the job through JBoss, I receive this exception: 
&lt;BR /&gt;java.lang.Error: java.lang.NoSuchMethodError: routines.Numeric.resetSequence(Ljava/lang/String;I)V 
&lt;BR /&gt;Why would routines.Numeric.resetSequence(seqName, startValue) not export properly with the job? This seems to absolutely be a bug! 
&lt;BR /&gt;The settings I am using to export the job are: 
&lt;BR /&gt;Export type: Autonomous 
&lt;BR /&gt;Shell launcher: checked (All) 
&lt;BR /&gt;System routines: checked 
&lt;BR /&gt;User routines: checked 
&lt;BR /&gt;Required talend modules: checked 
&lt;BR /&gt;Java classes: checked 
&lt;BR /&gt;Source files: checked 
&lt;BR /&gt;Export dependencies: checked 
&lt;BR /&gt;Context scripts: checked (Default) 
&lt;BR /&gt;Apply to children: checked 
&lt;BR /&gt;When I look at the "Setup Routine Dependencies" for my job, the System routines listed are: 
&lt;BR /&gt;DataOperation 
&lt;BR /&gt;Mathematical 
&lt;BR /&gt;Numeric 
&lt;BR /&gt;Relational 
&lt;BR /&gt;SQLike 
&lt;BR /&gt;StringHandling 
&lt;BR /&gt;TalendDataGenerator 
&lt;BR /&gt;TalendDate 
&lt;BR /&gt;TalendString 
&lt;BR /&gt;I am using Talend Integration Suite (4.1.1.r50363).</description>
      <pubDate>Sat, 16 Nov 2024 13:03:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-NoSuchMethodError-routines-Numeric-resetSequence/m-p/2226302#M18244</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NoSuchMethodError: routines.Numeric.resetSequence</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-NoSuchMethodError-routines-Numeric-resetSequence/m-p/2226303#M18245</link>
      <description>Hi 
&lt;BR /&gt;- You are exporting the job with export type: Autonomous, try to execute the job manually by click on .bat file on windows or execute .sh file on linux, and see if you get the same problem. 
&lt;BR /&gt; 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 03 Mar 2011 07:32:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-NoSuchMethodError-routines-Numeric-resetSequence/m-p/2226303#M18245</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-03T07:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NoSuchMethodError: routines.Numeric.resetSequence</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-NoSuchMethodError-routines-Numeric-resetSequence/m-p/2226304#M18246</link>
      <description>Hmm, when I execute the .bat file in the .zip that is created when I export the job, there is no exception and the routines.Numeric.resetSequence() function call works properly.&lt;BR /&gt;I am using an ant script to convert my exported job into .jar and .war files, packaged into an .ear file.  I deploy the .ear file to my JBoss server. When I execute the job on the JBoss server, I get the java.lang.Error: java.lang.NoSuchMethodError: routines.Numeric.resetSequence(Ljava/lang/String;I)V exception.  I have verified that the file systemroutines.jar is present in my .ear file.</description>
      <pubDate>Thu, 03 Mar 2011 15:30:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-NoSuchMethodError-routines-Numeric-resetSequence/m-p/2226304#M18246</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-03T15:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NoSuchMethodError: routines.Numeric.resetSequence</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-NoSuchMethodError-routines-Numeric-resetSequence/m-p/2226305#M18247</link>
      <description>Hi
&lt;BR /&gt;we can say the dependency routine is exported completelly if it works fine when executing the .bat file. There must be something wrong during you package into an .ear file, the path of routine is wrong.
&lt;BR /&gt;Why don't you export the job as a war file from studio and deploy it to Jboss/tomcat?
&lt;BR /&gt;Best regard
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 04 Mar 2011 14:01:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-NoSuchMethodError-routines-Numeric-resetSequence/m-p/2226305#M18247</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-04T14:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NoSuchMethodError: routines.Numeric.resetSequence</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-NoSuchMethodError-routines-Numeric-resetSequence/m-p/2226306#M18248</link>
      <description>It is our standard process to export the job as autonomous, then use an ant script to build the ear file. 
&lt;BR /&gt;I will look into our deployment process to see if I can pinpoint the issue on my end.</description>
      <pubDate>Mon, 07 Mar 2011 19:54:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-NoSuchMethodError-routines-Numeric-resetSequence/m-p/2226306#M18248</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-07T19:54:05Z</dc:date>
    </item>
  </channel>
</rss>

