<?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>Question Re: java.sql.SQLException: Io exception: Invalid number format for port number in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/java-sql-sqlexception-io-exception-invalid-number-format-for-port-number/qaa-p/2507630#M1066701</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just restarted the installation and it worked. You could also try changing the port no to 1521 (oracle default) while installing. The SAP inst defaults the port no to 1527.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Aug 2007 16:26:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-22T16:26:17Z</dc:date>
    <item>
      <title>java.sql.SQLException: Io exception: Invalid number format for port number</title>
      <link>https://community.sap.com/t5/technology-q-a/java-sql-sqlexception-io-exception-invalid-number-format-for-port-number/qaq-p/2507628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having problems while installing Solution Manager 4.0 SR2 on HP-UX 11.23 Itanium 2. The installation stops while Java Load. The DB is up and running.I can connect to it through SQL.The details of the jload.log file are as under:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;05.07.07 14:57:03 com.sap.inst.jload.Jload main&lt;/P&gt;&lt;P&gt;SEVERE: couldn't connect to DB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;05.07.07 14:57:03 com.sap.inst.jload.Jload logStackTrace&lt;/P&gt;&lt;P&gt;SEVERE: java.sql.SQLException: Io exception: Invalid number format for port number&lt;/P&gt;&lt;P&gt;	at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)&lt;/P&gt;&lt;P&gt;	at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)&lt;/P&gt;&lt;P&gt;	at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)&lt;/P&gt;&lt;P&gt;	at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)&lt;/P&gt;&lt;P&gt;	at oracle.jdbc.driver.PhysicalConnection.&amp;lt;init&amp;gt;(PhysicalConnection.java:420)&lt;/P&gt;&lt;P&gt;	at oracle.jdbc.driver.T4CConnection.&amp;lt;init&amp;gt;(T4CConnection.java:165)&lt;/P&gt;&lt;P&gt;	at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)&lt;/P&gt;&lt;P&gt;	at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)&lt;/P&gt;&lt;P&gt;	at com.sap.sql.jdbc.NativeConnectionFactory.createNativeConnection(NativeConnectionFactory.java:215)&lt;/P&gt;&lt;P&gt;	at com.sap.sql.connect.OpenSQLDataSourceImpl.createConnection(OpenSQLDataSourceImpl.java:522)&lt;/P&gt;&lt;P&gt;	at com.sap.sql.connect.OpenSQLDataSourceImpl.getConnection(OpenSQLDataSourceImpl.java:276)&lt;/P&gt;&lt;P&gt;	at com.sap.inst.jload.db.DBConnection.connectViaSecureStore(DBConnection.java:105)&lt;/P&gt;&lt;P&gt;	at com.sap.inst.jload.db.DBConnection.connect(DBConnection.java:149)&lt;/P&gt;&lt;P&gt;	at com.sap.inst.jload.Jload.main(Jload.java:580)&lt;/P&gt;&lt;P&gt;	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;/P&gt;&lt;P&gt;	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)&lt;/P&gt;&lt;P&gt;	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&lt;/P&gt;&lt;P&gt;	at java.lang.reflect.Method.invoke(Method.java:324)&lt;/P&gt;&lt;P&gt;	at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked the tnsnames.ora file and the entries are good and the PORT is set to 1521.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2007 15:16:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/java-sql-sqlexception-io-exception-invalid-number-format-for-port-number/qaq-p/2507628</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-06T15:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: java.sql.SQLException: Io exception: Invalid number format for port number</title>
      <link>https://community.sap.com/t5/technology-q-a/java-sql-sqlexception-io-exception-invalid-number-format-for-port-number/qaa-p/2507629#M1066700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Siddarth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm getting same problem (invalid port). Could you pls pass me the solution of this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Amar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 14:58:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/java-sql-sqlexception-io-exception-invalid-number-format-for-port-number/qaa-p/2507629#M1066700</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-22T14:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: java.sql.SQLException: Io exception: Invalid number format for port number</title>
      <link>https://community.sap.com/t5/technology-q-a/java-sql-sqlexception-io-exception-invalid-number-format-for-port-number/qaa-p/2507630#M1066701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just restarted the installation and it worked. You could also try changing the port no to 1521 (oracle default) while installing. The SAP inst defaults the port no to 1527.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 16:26:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/java-sql-sqlexception-io-exception-invalid-number-format-for-port-number/qaa-p/2507630#M1066701</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-22T16:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: java.sql.SQLException: Io exception: Invalid number format for port number</title>
      <link>https://community.sap.com/t5/technology-q-a/java-sql-sqlexception-io-exception-invalid-number-format-for-port-number/qaa-p/2507631#M1066702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some troubles while installating a portal as Add-in (same database as our BI 7).&lt;/P&gt;&lt;P&gt;I have already installed the central service instance (SCS).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when I try to install the Java stack, there is an error during the phase "Java dump importation".&lt;/P&gt;&lt;P&gt;This error is : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"java.sql.SQLException: Io exception: Invalid number format for port number&lt;/P&gt;&lt;P&gt;Io exception: Invalid number format for port number".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In fact, the tns port of my instance is 1531 instead of the standard port 1521 (/etc/tnsname.ora and /etc/listener.ora), but I don't know how to modify this port in the installation files (is it in the control.xml file ?).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder if the url for jdbc access is correct, but I don't how to check this ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to change the port of the listener in 1521 and 1527, I  restarted each time the listener and the installation, but I always obtain the same error ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I need help !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2007 08:41:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/java-sql-sqlexception-io-exception-invalid-number-format-for-port-number/qaa-p/2507631#M1066702</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-10T08:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: java.sql.SQLException: Io exception: Invalid number format for port number</title>
      <link>https://community.sap.com/t5/technology-q-a/java-sql-sqlexception-io-exception-invalid-number-format-for-port-number/qaa-p/2507632#M1066703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have a solution to this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having the same issue with the installation of the java stack as part of an ERP 6.0 installation, on an HP-UX 11.23 Itanium system.  The SCS instance installs fine, but when I run the install for the java database instance, I get the following error messages in the "Import java dump" step:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;07.01.08 11:19:37 com.sap.inst.jload.Jload main&lt;/P&gt;&lt;P&gt;SEVERE: couldn't connect to DB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;07.01.08 11:19:37 com.sap.inst.jload.Jload logStackTrace&lt;/P&gt;&lt;P&gt;SEVERE: java.sql.SQLException: Io exception: Invalid number format for port number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using 1527 for the listener port.  Is this the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Brad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2008 19:17:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/java-sql-sqlexception-io-exception-invalid-number-format-for-port-number/qaa-p/2507632#M1066703</guid>
      <dc:creator>brad_overbeek</dc:creator>
      <dc:date>2008-01-07T19:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: java.sql.SQLException: Io exception: Invalid number format for port number</title>
      <link>https://community.sap.com/t5/technology-q-a/java-sql-sqlexception-io-exception-invalid-number-format-for-port-number/qaa-p/2507633#M1066704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sap fixed my problem.&lt;/P&gt;&lt;P&gt;In fact, there was an error in xml files used for the Java Add-in installation.&lt;/P&gt;&lt;P&gt;During the phase "createSecureStore ", the port was indicated as undefined.&lt;/P&gt;&lt;P&gt;So, I sent the files control.xml and keydb.xml to SAP in order to indicate a port number.&lt;/P&gt;&lt;P&gt;I placed these files in my installation directory and continued with old installation and it worked !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raphael Gauthereau&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2008 08:57:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/java-sql-sqlexception-io-exception-invalid-number-format-for-port-number/qaa-p/2507633#M1066704</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-08T08:57:16Z</dc:date>
    </item>
  </channel>
</rss>

