Search code examples
wso2wso2-integration-studio

How to increase the server startup timeout in WSO2 Integration Studio?


I want to make an oracle database connection by opening a dataservice project with WSO2 Integration studio application. I can connect to the Oracle database. But when I run the dataservice project, the WSO2 Integration Studio application goes into time out and asks us to increase the time out time. How and where should we increase this time?

Integration Studio Dataservice project Xml :

   <data transports="http https" serviceGroup="" serviceNamespace="" name="demoDataService">
  <description />
  <resource method="GET" path="GetGenders">
    <call-query href="GetGenders" />
  </resource>
  <config id="OracleDataSourceIdenfierName" enableOData="true">
    <property name="driverClassName">oracle.jdbc.driver.OracleDriver</property>
    <property name="url">jdbc:oracle:thin:@host:port/schema_name</property>
    <property name="username">username</property>
    <property name="password">password</property>
  </config>
  <query id="GetGenders" useConfig="OracleDataSourceIdenfierName">
    <sql>SELECT column1,column2 FROM schema_name.table_name</sql>
    <result outputType="json">{
"Genders": {
    "Gender": [
      {
        "column1": "$column1",
        "column2": "$column2"
      }
    ]
  }
}</result>
    <properties>
      <property name="fetchDirection">forward</property>
    </properties>
  </query>
</data>

WSO2 Integration Studio Timeout Error:

enter image description here


Solution

  • Go to Window -> Show View -> Other Then search for Servers. Select Servers and click on Open.

    enter image description here

    Then Double Click on the "Micro Integrator Server 4.1" Then look for the timeout settings.

    enter image description here