Announcement Announcement Module
Collapse
No announcement yet.
Possible HTTP Invoker Timout on Long Transaction? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Possible HTTP Invoker Timout on Long Transaction?

    Hello,

    I am running a long transaction from client gui to server using an HTTP Invoker, configuration below:

    Code:
    Client:
    <bean id="dimServiceProxy" class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">
        <property name="serviceUrl">            
            <value>http&#58;//localhost&#58;8080/SysManager/remoting/SysRemoteInterface</value>
        </property>
        <property name="serviceInterface">
            <value>service.SysManagerFacade</value>
        </property>
    </bean>
    
    Server&#58;
    <bean name="/SysRemoteInterface" class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
        <property name="service"><ref bean="sysManagerFacade"/></property>
        <property name="serviceInterface">
            <value>service.SysManagerFacade</value>
        </property>
    </bean>
    After about 15 minutes of running, it just hangs. No error messages or log entries are being generated. I've
    checked the database (SQL Server) to make sure the logs where not full. Could the problem be a servlet
    timeout? And if so, how can I extend the timeout?

    Thanks!
    Jose.

  • #2
    The problem turned out to be an issue with that database and my lack of experience with MS SQL Server. I commited every 1000 rows and it worked fine.

    Comment

    Working...
    X