<?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.sql.SQLException: Io exception: Invalid number format for port nu in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/java-sql-SQLException-Io-exception-Invalid-number-format-for/m-p/2357710#M122923</link>
    <description>Hello 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;tContextLoad_1 set key "port" with value ""&lt;BR /&gt;java.sql.SQLException: Io exception: Invalid number format for port number&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;As the exception message shows, the port should not be null or empty here. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
    <pubDate>Tue, 20 Apr 2010 08:29:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-04-20T08:29:57Z</dc:date>
    <item>
      <title>java.sql.SQLException: Io exception: Invalid number format for port nu</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-sql-SQLException-Io-exception-Invalid-number-format-for/m-p/2357709#M122922</link>
      <description>Hi all, 
&lt;BR /&gt;Can anyone help me with the below error while running a job using context load... 
&lt;BR /&gt;Starting job database at 12:39 20/04/2010. 
&lt;BR /&gt; connecting to socket on port 4229 
&lt;BR /&gt; connected 
&lt;BR /&gt; connecting to socket on port 4481 
&lt;BR /&gt; connected 
&lt;BR /&gt;tContextLoad_1 set key "host" with value "" 
&lt;BR /&gt;tContextLoad_1 set key "port" with value "" 
&lt;BR /&gt;tContextLoad_1 set key "schema" with value "" 
&lt;BR /&gt;tContextLoad_1 set key "database" with value "" 
&lt;BR /&gt;tContextLoad_1 set key "username" with value "" 
&lt;BR /&gt;tContextLoad_1 set key "password" with value "" 
&lt;BR /&gt;Info: Parameter "host" is a new parameter of tContextLoad_1 
&lt;BR /&gt;Info: Parameter "port" is a new parameter of tContextLoad_1 
&lt;BR /&gt;Info: Parameter "schema" is a new parameter of tContextLoad_1 
&lt;BR /&gt;Info: Parameter "database" is a new parameter of tContextLoad_1 
&lt;BR /&gt;Info: Parameter "username" is a new parameter of tContextLoad_1 
&lt;BR /&gt;Info: Parameter "password" is a new parameter of tContextLoad_1 
&lt;BR /&gt;Exception in component tOracleInput_1 
&lt;BR /&gt;java.sql.SQLException: Io exception: Invalid number format for port number 
&lt;BR /&gt; at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134) 
&lt;BR /&gt; at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179) 
&lt;BR /&gt; at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:334) 
&lt;BR /&gt; at oracle.jdbc.ttc7.TTC7Protocol.handleIOException(TTC7Protocol.java:3668) 
&lt;BR /&gt; at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:353) 
&lt;BR /&gt; at oracle.jdbc.driver.OracleConnection.&amp;lt;init&amp;gt;(OracleConnection.java:371) 
&lt;BR /&gt; at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:551) 
&lt;BR /&gt; at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:351) 
&lt;BR /&gt; at java.sql.DriverManager.getConnection(Unknown Source) 
&lt;BR /&gt; at java.sql.DriverManager.getConnection(Unknown Source) 
&lt;BR /&gt; at mt_s.database_0_1.database.tOracleInput_1Process(database.java:970) 
&lt;BR /&gt; at mt_s.database_0_1.database.tFileList_1Process(database.java:730) 
&lt;BR /&gt; at mt_s.database_0_1.database.runJobInTOS(database.java:1298) 
&lt;BR /&gt; at mt_s.database_0_1.database.main(database.java:1185) 
&lt;BR /&gt; disconnected 
&lt;BR /&gt; disconnected 
&lt;BR /&gt;Job database ended at 12:39 20/04/2010.</description>
      <pubDate>Sat, 16 Nov 2024 13:27:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-sql-SQLException-Io-exception-Invalid-number-format-for/m-p/2357709#M122922</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: java.sql.SQLException: Io exception: Invalid number format for port nu</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-sql-SQLException-Io-exception-Invalid-number-format-for/m-p/2357710#M122923</link>
      <description>Hello 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;tContextLoad_1 set key "port" with value ""&lt;BR /&gt;java.sql.SQLException: Io exception: Invalid number format for port number&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;As the exception message shows, the port should not be null or empty here. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Tue, 20 Apr 2010 08:29:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-sql-SQLException-Io-exception-Invalid-number-format-for/m-p/2357710#M122923</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-04-20T08:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: java.sql.SQLException: Io exception: Invalid number format for port nu</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-sql-SQLException-Io-exception-Invalid-number-format-for/m-p/2357711#M122924</link>
      <description>That is empty because I removed it for security purpose while posting the query..
&lt;BR /&gt;Here is what I am trying to do
&lt;BR /&gt;1. I have a empty trigger file (created manually in a UNIX server) with year and month as its file name.
&lt;BR /&gt;Example : MAP200911.SND
&lt;BR /&gt;2. I need to extract the data from the database based on the year and month mentioned in the file name. In this case year
&lt;BR /&gt; is 2009 and month is 11
&lt;BR /&gt;As per the belwo solution by you I was able to do it
&lt;BR /&gt;"Using tFileProperties to get the properties of file, include the file name. and then parse and get the 
&lt;BR /&gt;year and month by cut the file name."
&lt;BR /&gt;Now I need to use this year and month (ie 2009 and 11) as variable to my sql query...
&lt;BR /&gt;how can I achive this... by using context load? or any thing else... 
&lt;BR /&gt;Could you please let me know step by step process for achiving this..
&lt;BR /&gt;Thanks in advance
&lt;BR /&gt;Mahir Jain</description>
      <pubDate>Tue, 20 Apr 2010 10:02:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-sql-SQLException-Io-exception-Invalid-number-format-for/m-p/2357711#M122924</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-04-20T10:02:44Z</dc:date>
    </item>
  </channel>
</rss>

