• Community
  • Products
  • Jira
  • Questions
  • HTTP Status 500 IO Error: The Network Adapter could not establish the connection Jira Debian Squeeze Oracle with Service Name

HTTP Status 500 IO Error: The Network Adapter could not establish the connection Jira Debian Squeeze Oracle with Service Name

Hi,

I'm getting this error:

HTTP Status 500 IO Error: The Network Adapter could not establish the connection

I'm trying to use an Oracle11g using Service database following these steps:

https://confluence.atlassian.com/display/JIRAKB/How+to+Connect+JIRA+to+ORACLE+Using+Service+Name

I add the property:

JVM_SUPPORT_RECOMMENDED_ARGS=" -Doracle.net.tns_admin=/opt/atlassian/jira/conf"

The folder /opt/atlassian/jira/conf contains the file tnsnames.ora which looks like:

ORAPRE13 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = myhost.com)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = XEON)
)
)

I edit the dbconfig.xml as follows:

<?xml version="1.0" encoding="UTF-8" ?>

<jira-database-config>
<name>ORAPRE13</name>
<delegator-name>default</delegator-name>
<database-type>oracle10g</database-type>
<schema-name>jira</schema-name>
- <jdbc-datasource>
<url>jdbc:oracle:thin:@//myhost.com:1521/XEON</url>
<driver-class>oracle.jdbc.OracleDriver</driver-class>
<username>user</username>
<password>pass</password>
<pool-min-size>20</pool-min-size>
<pool-max-size>20</pool-max-size>
<pool-max-wait>30000</pool-max-wait>
<min-evictable-idle-time-millis>4000</min-evictable-idle-time-millis>
<time-between-eviction-runs-millis>5000</time-between-eviction-runs-millis>
<pool-max-idle>20</pool-max-idle>
<pool-remove-abandoned>true</pool-remove-abandoned>
<pool-remove-abandoned-timeout>300</pool-remove-abandoned-timeout>
</jdbc-datasource>
</jira-database-config>
What am I doing wrong?
Thanks in advance

4 answers

1 accepted

I tried to telnet the host and it doesn't connect, so I've asked my network administrator to check if maybe the firewall is blocking the traffic over the 1521 port

Hi,

try to connect to Oracle from the jira server. Try "tnsping ORAPRE13", and if OK, sqlplus.

It's likely a misconfigured listener on the server.

Please I really need help. The firewall seems to be ok. What am I doing wrong with the configuration above?

Thanks

Thank you Alex Perez. The firewall was blocking the traffic over the 1521 port.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,110 views 13 19
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot