stall read() Socket

Hello

Latelely I've been working with the class connector, use it for raw TCP socket connections.

I do turn my dose of reading in a different thread and have some problems with blocking read(). Normally, that's fine when no data is available, but for some reason it blocks when there are data in the buffer.

It gets only unlocked when there is an exception or (I think) the buffer fills. I read about similar problems that other people are seen, but have not found a solution. The strange thing is, it works very well in my sim card, but on my 8520 camera it seems not to work. I build to 4.6.1, someone can give me hints on how to solve this problem? Some kind of stall detection?

Here is the code I use for reading at the moment:

while (true) {

                  int ch = input.read();
                  buffer.append((char)ch);

                  if (((char)ch) == '\n') {
                      System.out.print(buffer.toString());
                      buffer = new StringBuffer();
                  }

                     if (ch == -1) {
                         break;
                     }
}

Thank you

Jonathan

Figured it out: looks like I was using an InputStreamReader to read my outlet, it works well with some servers. I just use an InputStream now (DataInputStream) and it seems to work so far.

Tags: BlackBerry Developers

Similar Questions

  • Error starting of Complutense University of MADRID.

    Hello

    Today I faced a boring problen when tried to start UCM managed server. After a few volleys with many exceptions he loading (below is a tail of the log) but always print "server started in OPERATION. However, I can not open localhost:16200 / cs message

    Message from the server

    The server is unavailable.

    Please contact the site administrator to report the problem.

    Click here for administration of server process.

    If I click on "here", I got error 404.

    The interesting part is that a few days ago started normally Server (the only exception indexing abandoned, but all have worked however) and I could connect to UCM of JDeveloper.

    I googled and found this blog http://vedranstanic.wordpress.com/2012/04/05/cs-11g-the-server-is-unavailable/ , I followed the instructions but when the author got the 'Impossible' message while testing the CSDS, I got the message 'Success', also its solution (reboot OS) does not help.

    Hope for assistance.

    Thank you.

    Here is a the DOMAIN_HOME\servers\UCM_server1\logs\UCM_server1.log stack trace.


    # < 15 October 2013 10:47:28 PM PDT > < WARNING > < JDBC > < xp-en-vm > < UCM_server1 > < ExecuteThread [ASSET]: '0' for the queue: '(self-adjusting) weblogic.kernel.Default' > < < anonymous > > <>< 0000K6zn9JjFg4WFLzvH8A1INYV5000002 > < 1381902448944 > < BEA-001129 > < receipt exception creating connection to pool 'SDR': IO error : reading Socket timed out. >

    # < 15 October 2013 10:47:29 PM PDT > < Info > < JDBC > < xp-en-vm > < UCM_server1 > < ExecuteThread [ASSET]: '0' for the queue: '(self-adjusting) weblogic.kernel.Default' > < < anonymous > > <>< 0000K6zn9JjFg4WFLzvH8A1INYV5000002 > < 1381902449114 > < BEA-001156 > < associated to 001129 following message from stack trace:

    java.sql.SQLRecoverableException: i/o error: socket read timed out

    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:489)

    to oracle.jdbc.driver.PhysicalConnection. < init > (PhysicalConnection.java:678)

    to oracle.jdbc.driver.T4CConnection. < init > (T4CConnection.java:234)

    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)

    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:567)

    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(ConnectionEnvFactory.java:357)

    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:239)

    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1310)

    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1227)

    at weblogic.common.resourcepool.ResourcePoolImpl.reserveResourceInternal(ResourcePoolImpl.java:451)

    at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:343)

    at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:330)

    at weblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.java:469)

    at weblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.java:363)

    at weblogic.jdbc.common.internal.ConnectionPoolManager.reserve(ConnectionPoolManager.java:125)

    at weblogic.jdbc.common.internal.RmiDataSource.getPoolConnection(RmiDataSource.java:454)

    at weblogic.jdbc.common.internal.RmiDataSource.getConnectionInternal(RmiDataSource.java:538)

    at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:498)

    at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:491)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)

    at intradoc.common.ClassHelperUtils.executeIdcMethodConvertToStandardExceptions(ClassHelperUtils.java:406)

    at intradoc.provider.ProviderPoolManager.getExternalRawConnection(ProviderPoolManager.java:945)

    at intradoc.provider.ProviderPoolManager.computeExternalConnectionObject(ProviderPoolManager.java:243)

    at intradoc.provider.ProviderPoolManager.init(ProviderPoolManager.java:130)

    at intradoc.jdbc.JdbcManager.init(JdbcManager.java:79)

    at intradoc.jdbc.JdbcWorkspace.init(JdbcWorkspace.java:78)

    at intradoc.provider.Provider.init(Provider.java:71)

    at intradoc.server.IdcSystemLoader.loadProviders(IdcSystemLoader.java:2361)

    at intradoc.server.IdcSystemLoader.initProviders(IdcSystemLoader.java:2124)

    at intradoc.server.IdcSystemLoader.finishInit(IdcSystemLoader.java:400)

    at intradoc.server.IdcSystemLoader.init(IdcSystemLoader.java:335)

    at intradoc.server.IdcServerManager.init(IdcServerManager.java:120)

    at intradoc.idcwls.IdcServletRequestUtils.initializeServer(IdcServletRequestUtils.java:625)

    at intradoc.idcwls.IdcServletRequestUtils.initializeServer(IdcServletRequestUtils.java:456)

    at intradoc.idcwls.IdcIntegrateWrapper.initializeServer(IdcIntegrateWrapper.java:103)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at idcservlet.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:87)

    at idcservlet.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:305)

    at idcservlet.common.ClassHelperUtils.executeMethodWithArgs(ClassHelperUtils.java:278)

    to idcservlet. ServletUtils.initializeContentServer (ServletUtils.java:1273)

    to idcservlet. ServletUtils.startAndConfigureServer (ServletUtils.java:547)

    to idcservlet. ServletUtils.initializeAllServers (ServletUtils.java:460)

    to idcservlet. IdcFilter.initContentServer (IdcFilter.java:181)

    to idcservlet. IdcFilter.init (IdcFilter.java:156)

    to weblogic.servlet.internal.FilterManager$ FilterInitAction.run (FilterManager.java:343)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.internal.FilterManager.loadFilter(FilterManager.java:96)

    at weblogic.servlet.internal.FilterManager.preloadFilters(FilterManager.java:57)

    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)

    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)

    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)

    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)

    to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:425)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)

    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)

    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)

    to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:425)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)

    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)

    to weblogic.application.internal.BaseDeployment$ 2.next(BaseDeployment.java:671)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)

    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)

    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)

    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)

    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)

    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)

    to weblogic.management.deploy.internal.DeploymentAdapter$ 1.doActivate(DeploymentAdapter.java:51)

    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)

    to weblogic.management.deploy.internal.AppTransition$ 2.transitionApp(AppTransition.java:30)

    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)

    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)

    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)

    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)

    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)

    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    Caused by: oracle.net.ns.NetException: Socket read timed out

    at oracle.net.ns.Packet.receive(Packet.java:341)

    at oracle.net.ns.NSProtocol.connect(NSProtocol.java:308)

    at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1229)

    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:326)

    to oracle.jdbc.driver.PhysicalConnection. < init > (PhysicalConnection.java:678)

    to oracle.jdbc.driver.T4CConnection. < init > (T4CConnection.java:234)

    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)

    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:567)

    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(ConnectionEnvFactory.java:357)

    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:239)

    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1310)

    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1227)

    at weblogic.common.resourcepool.ResourcePoolImpl.reserveResourceInternal(ResourcePoolImpl.java:451)

    at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:343)

    at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:330)

    at weblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.java:469)

    at weblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.java:363)

    at weblogic.jdbc.common.internal.ConnectionPoolManager.reserve(ConnectionPoolManager.java:125)

    at weblogic.jdbc.common.internal.RmiDataSource.getPoolConnection(RmiDataSource.java:454)

    at weblogic.jdbc.common.internal.RmiDataSource.getConnectionInternal(RmiDataSource.java:538)

    at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:498)

    at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:491)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)

    at intradoc.common.ClassHelperUtils.executeIdcMethodConvertToStandardExceptions(ClassHelperUtils.java:406)

    at intradoc.provider.ProviderPoolManager.getExternalRawConnection(ProviderPoolManager.java:945)

    at intradoc.provider.ProviderPoolManager.computeExternalConnectionObject(ProviderPoolManager.java:243)

    at intradoc.provider.ProviderPoolManager.init(ProviderPoolManager.java:130)

    at intradoc.jdbc.JdbcManager.init(JdbcManager.java:79)

    at intradoc.jdbc.JdbcWorkspace.init(JdbcWorkspace.java:78)

    at intradoc.provider.Provider.init(Provider.java:71)

    at intradoc.server.IdcSystemLoader.loadProviders(IdcSystemLoader.java:2361)

    at intradoc.server.IdcSystemLoader.initProviders(IdcSystemLoader.java:2124)

    at intradoc.server.IdcSystemLoader.finishInit(IdcSystemLoader.java:400)

    at intradoc.server.IdcSystemLoader.init(IdcSystemLoader.java:335)

    at intradoc.server.IdcServerManager.init(IdcServerManager.java:120)

    at intradoc.idcwls.IdcServletRequestUtils.initializeServer(IdcServletRequestUtils.java:625)

    at intradoc.idcwls.IdcServletRequestUtils.initializeServer(IdcServletRequestUtils.java:456)

    at intradoc.idcwls.IdcIntegrateWrapper.initializeServer(IdcIntegrateWrapper.java:103)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at idcservlet.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:87)

    at idcservlet.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:305)

    at idcservlet.common.ClassHelperUtils.executeMethodWithArgs(ClassHelperUtils.java:278)

    to idcservlet. ServletUtils.initializeContentServer (ServletUtils.java:1273)

    to idcservlet. ServletUtils.startAndConfigureServer (ServletUtils.java:547)

    to idcservlet. ServletUtils.initializeAllServers (ServletUtils.java:460)

    to idcservlet. IdcFilter.initContentServer (IdcFilter.java:181)

    to idcservlet. IdcFilter.init (IdcFilter.java:156)

    to weblogic.servlet.internal.FilterManager$ FilterInitAction.run (FilterManager.java:343)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.internal.FilterManager.loadFilter(FilterManager.java:96)

    at weblogic.servlet.internal.FilterManager.preloadFilters(FilterManager.java:57)

    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)

    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)

    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)

    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)

    to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:425)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)

    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)

    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)

    to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:425)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)

    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)

    to weblogic.application.internal.BaseDeployment$ 2.next(BaseDeployment.java:671)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)

    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)

    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)

    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)

    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)

    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)

    to weblogic.management.deploy.internal.DeploymentAdapter$ 1.doActivate(DeploymentAdapter.java:51)

    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)

    to weblogic.management.deploy.internal.AppTransition$ 2.transitionApp(AppTransition.java:30)

    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)

    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)

    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)

    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)

    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)

    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    >

    # < 15 October 2013 10:47:40 PM PDT > < error ServletContext-> < xp-en-vm > < UCM_server1 > <>< ExecuteThread [ASSET]: '0' for the queue: '(self-adjusting) weblogic.kernel.Default' > < < anonymous > > <>< 0000K6zn9JjFg4WFLzvH8A1INYV5000002 > < 1381902460390 > < BEA-000000 > < there is a failed to initialize at the start of the AAU. >

    # < 15 October 2013 10:47:40 PM PDT > < error ServletContext-> < xp-en-vm > < UCM_server1 > <>< ExecuteThread [ASSET]: '0' for the queue: '(self-adjusting) weblogic.kernel.Default' > < < anonymous > > <>< 0000K6zn9JjFg4WFLzvH8A1INYV5000002 > < 1381902460400 > < BEA-000000 > < could not start server "server" to the URL default web relative root "cs".

    javax.servlet.ServletException: could not start a deployment of servers of IDC.

    to idcservlet. ServletUtils.initializeContentServer (ServletUtils.java:1284)

    to idcservlet. ServletUtils.startAndConfigureServer (ServletUtils.java:547)

    to idcservlet. ServletUtils.initializeAllServers (ServletUtils.java:460)

    to idcservlet. IdcFilter.initContentServer (IdcFilter.java:181)

    to idcservlet. IdcFilter.init (IdcFilter.java:156)

    to weblogic.servlet.internal.FilterManager$ FilterInitAction.run (FilterManager.java:343)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.internal.FilterManager.loadFilter(FilterManager.java:96)

    at weblogic.servlet.internal.FilterManager.preloadFilters(FilterManager.java:57)

    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)

    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)

    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)

    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)

    to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:425)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)

    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)

    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)

    to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:425)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)

    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)

    to weblogic.application.internal.BaseDeployment$ 2.next(BaseDeployment.java:671)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)

    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)

    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)

    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)

    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)

    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)

    to weblogic.management.deploy.internal.DeploymentAdapter$ 1.doActivate(DeploymentAdapter.java:51)

    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)

    to weblogic.management.deploy.internal.AppTransition$ 2.transitionApp(AppTransition.java:30)

    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)

    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)

    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)

    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)

    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)

    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    Caused by: java.io.IOException: Oracle WebCenter content could not initialize inside the servlet environment.

    at intradoc.idcwls.IdcIntegrateWrapper.initializeServer(IdcIntegrateWrapper.java:139)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at idcservlet.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:87)

    at idcservlet.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:305)

    at idcservlet.common.ClassHelperUtils.executeMethodWithArgs(ClassHelperUtils.java:278)

    to idcservlet. ServletUtils.initializeContentServer (ServletUtils.java:1273)

    to idcservlet. ServletUtils.startAndConfigureServer (ServletUtils.java:547)

    to idcservlet. ServletUtils.initializeAllServers (ServletUtils.java:460)

    to idcservlet. IdcFilter.initContentServer (IdcFilter.java:181)

    to idcservlet. IdcFilter.init (IdcFilter.java:156)

    to weblogic.servlet.internal.FilterManager$ FilterInitAction.run (FilterManager.java:343)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.internal.FilterManager.loadFilter(FilterManager.java:96)

    at weblogic.servlet.internal.FilterManager.preloadFilters(FilterManager.java:57)

    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)

    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)

    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)

    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)

    to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:425)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)

    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)

    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)

    to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:425)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)

    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)

    to weblogic.application.internal.BaseDeployment$ 2.next(BaseDeployment.java:671)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)

    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)

    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)

    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)

    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)

    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)

    to weblogic.management.deploy.internal.DeploymentAdapter$ 1.doActivate(DeploymentAdapter.java:51)

    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)

    to weblogic.management.deploy.internal.AppTransition$ 2.transitionApp(AppTransition.java:30)

    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)

    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)

    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)

    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)

    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)

    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    Caused by: intradoc.common.ServiceException:! csProviderUnableToInitialize, SystemDatabase

    at intradoc.server.IdcSystemLoader.loadProviders(IdcSystemLoader.java:2371)

    at intradoc.server.IdcSystemLoader.initProviders(IdcSystemLoader.java:2124)

    at intradoc.server.IdcSystemLoader.finishInit(IdcSystemLoader.java:400)

    at intradoc.server.IdcSystemLoader.init(IdcSystemLoader.java:335)

    at intradoc.server.IdcServerManager.init(IdcServerManager.java:120)

    at intradoc.idcwls.IdcServletRequestUtils.initializeServer(IdcServletRequestUtils.java:625)

    at intradoc.idcwls.IdcServletRequestUtils.initializeServer(IdcServletRequestUtils.java:456)

    at intradoc.idcwls.IdcIntegrateWrapper.initializeServer(IdcIntegrateWrapper.java:103)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at idcservlet.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:87)

    at idcservlet.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:305)

    at idcservlet.common.ClassHelperUtils.executeMethodWithArgs(ClassHelperUtils.java:278)

    to idcservlet. ServletUtils.initializeContentServer (ServletUtils.java:1273)

    to idcservlet. ServletUtils.startAndConfigureServer (ServletUtils.java:547)

    to idcservlet. ServletUtils.initializeAllServers (ServletUtils.java:460)

    to idcservlet. IdcFilter.initContentServer (IdcFilter.java:181)

    to idcservlet. IdcFilter.init (IdcFilter.java:156)

    to weblogic.servlet.internal.FilterManager$ FilterInitAction.run (FilterManager.java:343)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.internal.FilterManager.loadFilter(FilterManager.java:96)

    at weblogic.servlet.internal.FilterManager.preloadFilters(FilterManager.java:57)

    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)

    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)

    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)

    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)

    to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:425)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)

    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)

    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)

    to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:425)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)

    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)

    to weblogic.application.internal.BaseDeployment$ 2.next(BaseDeployment.java:671)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)

    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)

    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)

    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)

    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)

    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)

    to weblogic.management.deploy.internal.DeploymentAdapter$ 1.doActivate(DeploymentAdapter.java:51)

    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)

    to weblogic.management.deploy.internal.AppTransition$ 2.transitionApp(AppTransition.java:30)

    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)

    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)

    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)

    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)

    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)

    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    Caused by: intradoc.data.DataException:! csDbUnableToInitalize, SystemDatabase! csProviderFailedToExtractAndUseDataSource, SDR

    at intradoc.jdbc.JdbcManager.init(JdbcManager.java:92)

    at intradoc.jdbc.JdbcWorkspace.init(JdbcWorkspace.java:78)

    at intradoc.provider.Provider.init(Provider.java:71)

    at intradoc.server.IdcSystemLoader.loadProviders(IdcSystemLoader.java:2361)

    at intradoc.server.IdcSystemLoader.initProviders(IdcSystemLoader.java:2124)

    at intradoc.server.IdcSystemLoader.finishInit(IdcSystemLoader.java:400)

    at intradoc.server.IdcSystemLoader.init(IdcSystemLoader.java:335)

    at intradoc.server.IdcServerManager.init(IdcServerManager.java:120)

    at intradoc.idcwls.IdcServletRequestUtils.initializeServer(IdcServletRequestUtils.java:625)

    at intradoc.idcwls.IdcServletRequestUtils.initializeServer(IdcServletRequestUtils.java:456)

    at intradoc.idcwls.IdcIntegrateWrapper.initializeServer(IdcIntegrateWrapper.java:103)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at idcservlet.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:87)

    at idcservlet.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:305)

    at idcservlet.common.ClassHelperUtils.executeMethodWithArgs(ClassHelperUtils.java:278)

    to idcservlet. ServletUtils.initializeContentServer (ServletUtils.java:1273)

    to idcservlet. ServletUtils.startAndConfigureServer (ServletUtils.java:547)

    to idcservlet. ServletUtils.initializeAllServers (ServletUtils.java:460)

    to idcservlet. IdcFilter.initContentServer (IdcFilter.java:181)

    to idcservlet. IdcFilter.init (IdcFilter.java:156)

    to weblogic.servlet.internal.FilterManager$ FilterInitAction.run (FilterManager.java:343)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.internal.FilterManager.loadFilter(FilterManager.java:96)

    at weblogic.servlet.internal.FilterManager.preloadFilters(FilterManager.java:57)

    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)

    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)

    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)

    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)

    to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:425)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)

    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)

    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)

    to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:425)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)

    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)

    to weblogic.application.internal.BaseDeployment$ 2.next(BaseDeployment.java:671)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)

    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)

    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)

    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)

    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)

    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)

    to weblogic.management.deploy.internal.DeploymentAdapter$ 1.doActivate(DeploymentAdapter.java:51)

    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)

    to weblogic.management.deploy.internal.AppTransition$ 2.transitionApp(AppTransition.java:30)

    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)

    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)

    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)

    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)

    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)

    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    Caused by: intradoc.data.DataException:! csProviderFailedToExtractAndUseDataSource, SDR

    at intradoc.provider.ProviderPoolManager.init(ProviderPoolManager.java:134)

    at intradoc.jdbc.JdbcManager.init(JdbcManager.java:79)

    at intradoc.jdbc.JdbcWorkspace.init(JdbcWorkspace.java:78)

    at intradoc.provider.Provider.init(Provider.java:71)

    at intradoc.server.IdcSystemLoader.loadProviders(IdcSystemLoader.java:2361)

    at intradoc.server.IdcSystemLoader.initProviders(IdcSystemLoader.java:2124)

    at intradoc.server.IdcSystemLoader.finishInit(IdcSystemLoader.java:400)

    at intradoc.server.IdcSystemLoader.init(IdcSystemLoader.java:335)

    at intradoc.server.IdcServerManager.init(IdcServerManager.java:120)

    at intradoc.idcwls.IdcServletRequestUtils.initializeServer(IdcServletRequestUtils.java:625)

    at intradoc.idcwls.IdcServletRequestUtils.initializeServer(IdcServletRequestUtils.java:456)

    at intradoc.idcwls.IdcIntegrateWrapper.initializeServer(IdcIntegrateWrapper.java:103)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at idcservlet.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:87)

    at idcservlet.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:305)

    at idcservlet.common.ClassHelperUtils.executeMethodWithArgs(ClassHelperUtils.java:278)

    to idcservlet. ServletUtils.initializeContentServer (ServletUtils.java:1273)

    to idcservlet. ServletUtils.startAndConfigureServer (ServletUtils.java:547)

    to idcservlet. ServletUtils.initializeAllServers (ServletUtils.java:460)

    to idcservlet. IdcFilter.initContentServer (IdcFilter.java:181)

    to idcservlet. IdcFilter.init (IdcFilter.java:156)

    to weblogic.servlet.internal.FilterManager$ FilterInitAction.run (FilterManager.java:343)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.internal.FilterManager.loadFilter(FilterManager.java:96)

    at weblogic.servlet.internal.FilterManager.preloadFilters(FilterManager.java:57)

    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)

    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)

    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)

    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)

    to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:425)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)

    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)

    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)

    to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:425)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)

    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)

    to weblogic.application.internal.BaseDeployment$ 2.next(BaseDeployment.java:671)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)

    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)

    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)

    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)

    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)

    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)

    to weblogic.management.deploy.internal.DeploymentAdapter$ 1.doActivate(DeploymentAdapter.java:51)

    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)

    to weblogic.management.deploy.internal.AppTransition$ 2.transitionApp(AppTransition.java:30)

    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)

    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)

    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)

    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)

    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)

    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    Caused by: intradoc.common.ServiceException:! csProviderFailedToAccessDataSource

    at intradoc.provider.ProviderPoolManager.computeExternalConnectionObject(ProviderPoolManager.java:263)

    at intradoc.provider.ProviderPoolManager.init(ProviderPoolManager.java:130)

    at intradoc.jdbc.JdbcManager.init(JdbcManager.java:79)

    at intradoc.jdbc.JdbcWorkspace.init(JdbcWorkspace.java:78)

    at intradoc.provider.Provider.init(Provider.java:71)

    at intradoc.server.IdcSystemLoader.loadProviders(IdcSystemLoader.java:2361)

    at intradoc.server.IdcSystemLoader.initProviders(IdcSystemLoader.java:2124)

    at intradoc.server.IdcSystemLoader.finishInit(IdcSystemLoader.java:400)

    at intradoc.server.IdcSystemLoader.init(IdcSystemLoader.java:335)

    at intradoc.server.IdcServerManager.init(IdcServerManager.java:120)

    at intradoc.idcwls.IdcServletRequestUtils.initializeServer(IdcServletRequestUtils.java:625)

    at intradoc.idcwls.IdcServletRequestUtils.initializeServer(IdcServletRequestUtils.java:456)

    at intradoc.idcwls.IdcIntegrateWrapper.initializeServer(IdcIntegrateWrapper.java:103)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at idcservlet.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:87)

    at idcservlet.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:305)

    at idcservlet.common.ClassHelperUtils.executeMethodWithArgs(ClassHelperUtils.java:278)

    to idcservlet. ServletUtils.initializeContentServer (ServletUtils.java:1273)

    to idcservlet. ServletUtils.startAndConfigureServer (ServletUtils.java:547)

    to idcservlet. ServletUtils.initializeAllServers (ServletUtils.java:460)

    to idcservlet. IdcFilter.initContentServer (IdcFilter.java:181)

    to idcservlet. IdcFilter.init (IdcFilter.java:156)

    to weblogic.servlet.internal.FilterManager$ FilterInitAction.run (FilterManager.java:343)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.internal.FilterManager.loadFilter(FilterManager.java:96)

    at weblogic.servlet.internal.FilterManager.preloadFilters(FilterManager.java:57)

    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)

    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)

    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)

    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)

    to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:425)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)

    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)

    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)

    to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:425)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)

    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)

    to weblogic.application.internal.BaseDeployment$ 2.next(BaseDeployment.java:671)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)

    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)

    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)

    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)

    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)

    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)

    to weblogic.management.deploy.internal.DeploymentAdapter$ 1.doActivate(DeploymentAdapter.java:51)

    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)

    to weblogic.management.deploy.internal.AppTransition$ 2.transitionApp(AppTransition.java:30)

    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)

    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)

    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)

    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)

    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)

    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    Caused by: intradoc.common.ServiceException:! csUnableToExecMethod, getConnection

    at intradoc.common.ClassHelperUtils.convertToStandardException(ClassHelperUtils.java:202)

    at intradoc.common.ClassHelperUtils.convertToStandardExceptionAndThrow(ClassHelperUtils.java:179)

    at intradoc.common.ClassHelperUtils.executeIdcMethodConvertToStandardExceptions(ClassHelperUtils.java:410)

    at intradoc.provider.ProviderPoolManager.getExternalRawConnection(ProviderPoolManager.java:945)

    at intradoc.provider.ProviderPoolManager.computeExternalConnectionObject(ProviderPoolManager.java:243)

    at intradoc.provider.ProviderPoolManager.init(ProviderPoolManager.java:130)

    at intradoc.jdbc.JdbcManager.init(JdbcManager.java:79)

    at intradoc.jdbc.JdbcWorkspace.init(JdbcWorkspace.java:78)

    at intradoc.provider.Provider.init(Provider.java:71)

    at intradoc.server.IdcSystemLoader.loadProviders(IdcSystemLoader.java:2361)

    at intradoc.server.IdcSystemLoader.initProviders(IdcSystemLoader.java:2124)

    at intradoc.server.IdcSystemLoader.finishInit(IdcSystemLoader.java:400)

    at intradoc.server.IdcSystemLoader.init(IdcSystemLoader.java:335)

    at intradoc.server.IdcServerManager.init(IdcServerManager.java:120)

    at intradoc.idcwls.IdcServletRequestUtils.initializeServer(IdcServletRequestUtils.java:625)

    at intradoc.idcwls.IdcServletRequestUtils.initializeServer(IdcServletRequestUtils.java:456)

    at intradoc.idcwls.IdcIntegrateWrapper.initializeServer(IdcIntegrateWrapper.java:103)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at idcservlet.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:87)

    at idcservlet.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:305)

    at idcservlet.common.ClassHelperUtils.executeMethodWithArgs(ClassHelperUtils.java:278)

    to idcservlet. ServletUtils.initializeContentServer (ServletUtils.java:1273)

    to idcservlet. ServletUtils.startAndConfigureServer (ServletUtils.java:547)

    to idcservlet. ServletUtils.initializeAllServers (ServletUtils.java:460)

    to idcservlet. IdcFilter.initContentServer (IdcFilter.java:181)

    to idcservlet. IdcFilter.init (IdcFilter.java:156)

    to weblogic.servlet.internal.FilterManager$ FilterInitAction.run (FilterManager.java:343)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.internal.FilterManager.loadFilter(FilterManager.java:96)

    at weblogic.servlet.internal.FilterManager.preloadFilters(FilterManager.java:57)

    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)

    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)

    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)

    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)

    to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:425)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)

    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)

    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)

    to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:425)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)

    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)

    to weblogic.application.internal.BaseDeployment$ 2.next(BaseDeployment.java:671)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)

    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)

    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)

    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)

    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)

    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)

    to weblogic.management.deploy.internal.DeploymentAdapter$ 1.doActivate(DeploymentAdapter.java:51)

    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)

    to weblogic.management.deploy.internal.AppTransition$ 2.transitionApp(AppTransition.java:30)

    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)

    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)

    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)

    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)

    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)

    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    Caused by: weblogic.jdbc.extensions.ConnectionDeadSQLException: weblogic.common.resourcepool.ResourceDeadException: 0:weblogic.common.ResourceException: could not create a connection from the pool. With the exception of the DBMS driver: IO error: socket read timed out

    at weblogic.jdbc.common.internal.JDBCUtil.wrapAndThrowResourceException(JDBCUtil.java:250)

    at weblogic.jdbc.common.internal.RmiDataSource.getPoolConnection(RmiDataSource.java:456)

    at weblogic.jdbc.common.internal.RmiDataSource.getConnectionInternal(RmiDataSource.java:538)

    at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:498)

    at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:491)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)

    at intradoc.common.ClassHelperUtils.executeIdcMethodConvertToStandardExceptions(ClassHelperUtils.java:406)

    at intradoc.provider.ProviderPoolManager.getExternalRawConnection(ProviderPoolManager.java:945)

    at intradoc.provider.ProviderPoolManager.computeExternalConnectionObject(ProviderPoolManager.java:243)

    at intradoc.provider.ProviderPoolManager.init(ProviderPoolManager.java:130)

    at intradoc.jdbc.JdbcManager.init(JdbcManager.java:79)

    at intradoc.jdbc.JdbcWorkspace.init(JdbcWorkspace.java:78)

    at intradoc.provider.Provider.init(Provider.java:71)

    at intradoc.server.IdcSystemLoader.loadProviders(IdcSystemLoader.java:2361)

    at intradoc.server.IdcSystemLoader.initProviders(IdcSystemLoader.java:2124)

    at intradoc.server.IdcSystemLoader.finishInit(IdcSystemLoader.java:400)

    at intradoc.server.IdcSystemLoader.init(IdcSystemLoader.java:335)

    at intradoc.server.IdcServerManager.init(IdcServerManager.java:120)

    at intradoc.idcwls.IdcServletRequestUtils.initializeServer(IdcServletRequestUtils.java:625)

    at intradoc.idcwls.IdcServletRequestUtils.initializeServer(IdcServletRequestUtils.java:456)

    at intradoc.idcwls.IdcIntegrateWrapper.initializeServer(IdcIntegrateWrapper.java:103)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at idcservlet.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:87)

    at idcservlet.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:305)

    at idcservlet.common.ClassHelperUtils.executeMethodWithArgs(ClassHelperUtils.java:278)

    to idcservlet. ServletUtils.initializeContentServer (ServletUtils.java:1273)

    to idcservlet. ServletUtils.startAndConfigureServer (ServletUtils.java:547)

    to idcservlet. ServletUtils.initializeAllServers (ServletUtils.java:460)

    to idcservlet. IdcFilter.initContentServer (IdcFilter.java:181)

    to idcservlet. IdcFilter.init (IdcFilter.java:156)

    to weblogic.servlet.internal.FilterManager$ FilterInitAction.run (FilterManager.java:343)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.internal.FilterManager.loadFilter(FilterManager.java:96)

    at weblogic.servlet.internal.FilterManager.preloadFilters(FilterManager.java:57)

    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)

    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)

    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)

    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)

    to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:425)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)

    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)

    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)

    to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:425)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)

    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)

    to weblogic.application.internal.BaseDeployment$ 2.next(BaseDeployment.java:671)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)

    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)

    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)

    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)

    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)

    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)

    to weblogic.management.deploy.internal.DeploymentAdapter$ 1.doActivate(DeploymentAdapter.java:51)

    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)

    to weblogic.management.deploy.internal.AppTransition$ 2.transitionApp(AppTransition.java:30)

    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)

    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)

    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)

    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)

    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)

    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    How many times have you tried to restart the WCC managed server?

    Looks like it's a problem of database connection (timeout), but if your data source monitor test showed "success", then he was able to connect at this time.

    You can try this configuration option of WLS data on your CSD data source source:

    (1) connect to the WLS console.

    (2) indicator services section and select data sources.

    (3) select the CSD data source.

    4) click the connection pool.

    (5) expand the section advanced downstairs.

    (6) check the box "Test connections on the reserve".

    (7) in the Test Section of the Table, add the Config table.

    8) click Save

    (9) restart UCM and WLS.

    This should enable the AAU correct data broken source pool connections according to the doc-id 1333317.1.

    I would like to know if this helps!

    -ryan

  • DRAC5 "Error when reading the SSL socket connection"?

    Hello

    I have a BIOS of PowerEdge 1950 2.7.0 with DRAC 5 Firmware Version 1.65 (12.08.16).

    When you try to connect to 'Console' I get the error "Error when reading the SSL socket connection".

    I spoke the line "# jdk.tls.disabledAlgorithms = SSLv3, RC4, MD5withRSA, DH keySize.< 768"="" at java.security="" file="" but="" still="" the="">

    I use WIndows 10 with the latest FireFox.

    Thanks in advance,

    Asaf

    I found that these changes were necessary to connect to the DRAC 5 using Chrome and Java 8, rev card. 91:

    In Control Panel > Java > Security:

    1. check "Enable content of java in the browser.

    2. set the security level to "High".

    3. Add each DRAC IP to the list of exceptions

    In C:\Program Files (x86)\Java\jre1.8.0_91\lib\security\java.security):

    Remove MD5:

    jdk.certpath.disabledAlgorithms=MD2, RSA keySize < 1024
    

    Remove SSLv3, RC4 and MD5withRSA:

    jdk.tls.disabledAlgorithms=DH keySize < 768
    
  • Problem of Windows vs Mac OS with socket read/write and LabView

    Hello

    I inherited, multithreaded code, with a singleton that communicates with LabView via few ports/sockets. I don't know (but don't think) mention it in this case multithreading issues, but in case you think there could be a problem. All communications to the LabView through LabView class (instance) singleton.

    When we run the code on the same box of MS Windows XP as the LabView so, it works properly; This means that LabView receives orders and the java receives the results. When we run it on a Windows XP box in another room with another subnet it works fine as well. When we run a Mac OS in the same room/network reader.ready () is not true in the time-out period. (see the line of reader.ready () in the original code).

    Does anyone know why it would work for Windows but not Mac OS?

    A current "guess" what is bad on my part, is that code below (taken out of context, otherwise the position would be really long) needs of some rethinking. Any help/comments/advice on how it is encoded is greatly appreciated.

    Here are the existing code.
    // some declarations.
        long t0, t1;
        long waittime = 5000;
        BufferedReader reader;
    
        public synchronized void connectCommPort() {
            if (commportconnected != true) {
                try {
                    sock = new Socket();
                    InetSocketAddress endpoint = new InetSocketAddress(IPaddress, commPort);
                    sock.connect(endpoint, 4000); // try to connect with a timeout of 4 seconds.
                    reader = new BufferedReader(new InputStreamReader(sock.getInputStream()));
                    writer = new PrintWriter(sock.getOutputStream());
                    System.out.println("mec: LabV: SUCCESS - network connection to Labview command port succeeded");
                    commportconnected = true;
                    errorstatus = false;
    
                } catch (IOException ex) {
                    logwriter("LabV: WARNING - network connection to Labview command port failed."+ex.toString());
                    System.out.println("mec: LabV: WARNING - network connection to Labview command port failed."+ex.toString());
                    commportconnected = false;
                    errorstatus = true;
                }
            }
        }
    
    
        public synchronized float readpot(int potnumber) {
    
            String smotor = Integer.toString(potnumber);
    
            if (potnumber >= 0 && potnumber <= 5) {
                String message = "pot " + smotor;
    
                connectCommPort();
    
                if (commportconnected) {
                    try {
                        writer.print(message + "\r\n");
                        writer.flush();
                        logwriter("LabV: [sent] " + message);
                        potvalue = potlistener();
                    } catch (Exception ex) {
                        System.out.println("mec: Exception while sending command "+ex.getLocalizedMessage());
                    }
                    disconnectCommPort();
                }
            } else {
                if (potnumber == 7 || potnumber == 6) {
                    potvalue = 5.f;
                    logwriter("Faked pot reading for potnumber " + potnumber);
                } else {
                    logwriter("WARNING: " + potnumber + " is not a valid pot number (must be 0 to 6)");
                }
            }
            return potvalue;
        }
    
        public synchronized float potlistener() {
    
            String message = null;
            t0 = System.currentTimeMillis();
            t1 = System.currentTimeMillis();
            boolean donereading = false;
            while ((t1 - t0) < (waittime) & donereading != true) {
                t1 = System.currentTimeMillis();
                try {
    
                    while (reader.ready()) {
                        message = reader.readLine();
                        logwriter("LabV: [received] " + message);
                        if (message.contains(".")) {
                            potvalue = Float.parseFloat(message);
                        }
                        donereading = true;
                    }  // close reader-ready-while
                } catch (Exception ex) {
                    System.err.println("Exeption in potlistener() "+ex.getLocalizedMessage());
                }
            } // close timeout while loop
    
            return potvalue;
        }
    In particular, I have readLine() in a loop where I catch the exception if it is not read and just keep trying? What is the "best way" to do?

    Here's what I thought, something like:
            while ( ((t1 - t0) < waittime) && !donereading ) {
                t1 = System.currentTimeMillis();
                try {
                    message = reader.readLine();
                    logwriter("LabV: [received] " + message);
                    if (message.contains(".")) {
                        potvalue = Float.parseFloat(message);
                        donereading = true;
                    }
                } catch (Exception ex) {
                    System.err.println("Exeption in potlistener() "+ex.getLocalizedMessage());
                }
            } // close timeout while loop

    (a) No, but I would look into the configuration of the network itself rather than the Java code.

    (b) the correct way to enforce a timeout of read is through Socket.setSoTimeout ().

  • Read byte/char from socket inputstream

    Hey fellow coders.
    I ran into a bit of coding of a http client drive problem for my assignment. I created a simple program that opens a connection with a server and the request for a file to download. The socket inputstream is encapsulated in a bufferedreader and I can successfully retrieve the response of the full text of the server via the player. Unfortunately, every time I download an mp3 file, the data is corrupted. The problem lies in the fact that bufferedreader decodes the stream of bytes into a string with the utf8. I can't use the underlying socket inputstream as bufferedreader has already read before in and perhaps spent the beginning of the content area. Analysis of the chain with getBytes ("UTF 8") does not work that the audio file is damaged.
    My question is, is there any player that can send me data from a stream unique both as char or byte? Everyone fell on this problem and found a solution for it?

    Thank you.

    The socket inputstream is encapsulated in a bufferedreader

    Why?

    and I can successfully retrieve the response of the full text of the server via the player.

    Why is the server sends a response text followed by binary data?

    In this circumstance, I would use DataInputStream.readLine (), despite his disapproval, followed to call read() to get binary bytes.

  • ORA 17410 - cannot read data from socket

    Hey guys!

    I am faced with a query and would like to ask your advice. During the execution of the statement, I always get an error 17410. No data is transferred that data cannot be read from the socket.

    In my application, I am trying to join the two results. When you run queries individually fine and no error occurs.

    Ever tried to convert the output columns for the same types of data to apply compatibiliy. However, in vain.

    Here's the query! You have an idea?
    with w as
    ((select b.ba_lang, x.lng_baumart, to_char(x.ba_kat) ba_kat,
     x.flag, 0 disable_status
    from 
    vt_tbl_qb_zu_bestand v,
    vt_qb_join q,
    vt_tbl_baumart b,
    vt_tbl_matrix x
    where 
    (q.cnt_gebiet = :p2024_cnt_gebiet)
    and (v.lng_baumart = b.cnt_baumart) 
    and (v.lng_qb_sub = q.lng_qb_sub)
    and (q.str_lrt_main = :p2024_str_lrt)
    and (q.int_wg = :p2024_wg)
    and (q.str_be_main = :p2024_be)
    and (q.int_status_sub = 3)
    and (x.lrt_class = :p2024_str_lrt_mx)
    and (x.lng_baumart = b.cnt_baumart)
    group by b.ba_lang, x.lng_baumart, x.ba_kat, b.ba_gruppe, x.flag
    ) 
    union
    (select b.ba_lang, x.lng_baumart,
        x.ba_kat,
       x.flag, 0 disable_status
      from vt_tbl_qb_verjuengung v,
        vt_qb_join q,
        vt_tbl_baumart b,
        vt_tbl_matrix x
      where (q.cnt_gebiet   = :p2024_cnt_gebiet)
      and (v.lng_baumart    = b.cnt_baumart)
      and (v.lng_qb_sub     = q.lng_qb_sub)
      and (q.str_lrt_main   = :p2024_str_lrt)
      and (q.int_status_sub = 3)
      and (q.int_wg         = :p2024_wg)
      and (q.str_be_main    = :p2024_be)
      and (x.lrt_class      = :p2024_str_lrt_mx)
      and (x.lng_baumart    = b.cnt_baumart)
      group by b.ba_lang, x.lng_baumart, x.ba_kat, b.ba_gruppe, x.flag))
      
     (
      (select ba_lang, lng_baumart,
        to_char(ba_kat) ba_kat,
        decode(ba_kat,'H',1,'N',2,'B',3,'S',4,'P',5,'hG',6,'nG',7) as cs,
        flag, 
        disable_status,
        null str_comment
      from w
      ) 
    union all
      (select distinct r.ba_lang, d.lng_baumart, to_char(d.ba_kat) ba_kat, decode(d.ba_kat,'H',1,'N',2,'B',3,'S',4,'P',5,'hG',6,'nG',7) as cs,
        d.flag, 
    case when d.lng_baumart in (78, 74, 72,71, 54, 53) then 1
    else null end as disable_statusx, 'not valid' str_comment
      from vt_tbl_baumart r,
        vt_tbl_matrix d
      where r.cnt_baumart    = d.lng_baumart
      and d.lrt_class        = :p2024_str_lrt_mx
      and d.ba_kat in ('S','B','H','P','N')
      and r.cnt_baumart not in (select lng_baumart from w)))
    Thanks a lot for your help!

    I appreciate it!

    Edited by: skahlert the 01.06.2010 09:02

    Hello

    You are right. They fixed in the 11.2.0.2.0 JDBC driver and have a patch for 11.1.0.7. They won't patch 10.2. You can find information about this in the notes 1082926.1.

    Success

    Herald tiomela
    htendam.WordPress.com

  • read data from server socket

    Hello gurus
    I want to read oracle data possible through socket server.is form in the suggestion to give forms.kindly oracle

    Just check your Email. I send form taken at your e-mail address.

    Better compliance
    Skyniazi

  • 15-in-1 reader (USB 2.0 with 1 USB port) 2 USB 1 1394 Audio (headphone Sockets and microphone)

    I have a pavilion d4996t on which the 15-in-1 card reader is a failure.  (USB 2.0 is no longer detected by the system and cannot write on cards SD.)  I want to buy a replacement but can't find documents in saying what the product number is for the 15-1card Reader / USB 2.0 unit is.  Anyone happen to know?  I've been looking at different websites hoping that I could find a match with a picture, but the few who have photos aren't mine.

    Thank you.

    Real components are separated.   http://PartSurfer.HP.com/search.aspx?SearchText=KC787AV

    The 15 in 1 player's 5070-2040, USB/Audio Unit depends on the connectors, IE 5070-2055 or 5070-4708.

  • No more data to read from socket error

    Hello

    I have a "PUNCH" table to store the employee punches

    There is a "FORMATTEDPUNCH" view to display inpunch and outpunch in different columns

    An another discovers "PUNCHANOMALY" to select the details where punch is missing.

    I'm trying to update the column punchanomaly in 'ATTENDANCETABLE' with column display PUNCHANOMALY anomaly

    But I don't have ' no data more than read the decision-making "error in the merge statement.

    Help, please

    I use oracle 10g

    ===============================================

    Examples of data

    ===============================================

    I'm updating anomaly and other somany given punch. But I shot the code for readability

    create the table ATTENDANCESHEET

    (

    NUMBER (10) EMPID.

    DATE OF PRDATE,

    PUNCHANOMALY NUMBER (1)

    );

    CREATE () AS PUNCH TABLE
    SELECT 1 EMPID, TO_DATE (JANUARY 21, 2014 08:00 ',' DD/MM/YYYY HH24 ') PUNCHTIME, 1 PUNCHTYPE OF THE DOUBLE

    UNION ALL

    SELECT 1 EMPID, TO_DATE (JANUARY 21, 2014 16:00 ',' DD/MM/YYYY HH24 ') PUNCHTIME, 0 PUNCHTYPE OF DOUBLE

    UNION ALL

    SELECT 2 EMPID, TO_DATE (JANUARY 21, 2014 08:00 ',' DD/MM/YYYY HH24 ') PUNCHTIME, 0 PUNCHTYPE OF DOUBLE

    UNION ALL

    SELECT 2 EMPID, TO_DATE (JANUARY 22, 2014 08:00 ',' DD/MM/YYYY HH24 ') PUNCHTIME, 1 PUNCHTYPE OF THE DOUBLE

    UNION ALL

    SELECT 2 EMPID, TO_DATE (JANUARY 22, 2014 16:00 ',' DD/MM/YYYY HH24 ') PUNCHTIME, 0 PUNCHTYPE OF DOUBLE

    );

    CREATE OR REPLACE STRENGTH SEEN IN THE FORMATTEDPUNCH

    WITH GOT_R_NUM AS

    (

    SELECT P

    ROW_NUMBER () OVER (PARTITION OF EMPID

    ORDER BY PUNCHTIME

    ) AS R_NUM

    PUNCH P

    )

    SELECT NVL (TRUNC (I.PUNCHTIME), TRUNC (O.PUNCHTIME)) AS PUNCHDATE, NVL (I.EMPID, O.EMPID) AS EMPID

    I.PUNCHTIME AS INPUNCH

    O.PUNCHTIME AS OUTPUNCH

    OF GOT_R_NUM I

    GOT_R_NUM FULL OUTER JOIN O ON O.EMPID = I.EMPID

    AND O.R_NUM = I.R_NUM + 1

    AND O.PUNCHTYPE <>I.PUNCHTYPE

    WHERE NVL (I.PUNCHTYPE, 1) = 1

    AND NVL (O.PUNCHTYPE, 0) = 0

    ORDER BY EMPID

    NVL (INPUNCH, OUTPUNCH);

    CREATE OR REPLACE STRENGTH SEEN IN THE PUNCHANOMALY

    SELECT PUNCHDATE AS PRDATE, EMPID, 1 ANOMALY OF FORMATTEDPUNCH WHERE INPUNCH IS NULL OR OUTPUNCH IS NULL;

    MERGE INTO ATTENDANCESHEET one

    PUNCHANOMALY with the HELP of p

    WE (a.empid = p.empid and a.prdate = p.prdate)

    WHEN NOT MATCHED THEN INSERT

    (

    a.EMPID,

    a.prdate,

    a.PUNCHANOMALY

    )

    VALUES

    (

    p.EMPID,

    p.prdate,

    p.ANOMALY

    )

    WHEN MATCHED THEN UPDATE

    SET

    a.PUNCHANOMALY = p.ANOMALY;

    Got the error...

    There are multiple records in the table of punch for a day.

    I should have used distinct keyword in the following view

    CREATE OR REPLACE STRENGTH SEEN IN THE PUNCHANOMALY

    SELECT DISTINCT PUNCHDATE AS PRDATE, EMPID, 1 ANOMALY OF FORMATTEDPUNCH WHERE INPUNCH IS NULL OR OUTPUNCH IS NULL;

    The error was caused by duplicate lines

  • The last update for Adobe Acrobat Reader will not install on my iPad 2. It downloaded, but I do not stall.

    The last update for Adobe Acrobat Reader will not install on my iPad 2. He has downloaded, but fails to install. Have used the drive without problems so far. I have the latest update installed on my iPad ios. How can I solve this?

    Hi joannaw84630025,

    Restart your iPad, make sure that iOS id updated to version 8 or higher. Once rebooted try to update Acrobat Reader Adobe Acrobat Reader from the App Store again

    Kind regards

    Meenakshi

  • No more data to read from socket

    Hello
    I am trying to run this query which keep away causing the error no additional read decision-making data
    SELECT distinct SOR_COMPLIANCE_ADMIN.get_Completed_Letter_Id(o.offender_id, 'OFFENDER'), 'Mailed', sysdate, null, o.offender_id, 
                l.location_id, o.first_name, o.middle_name, o.last_name, o.sir_name, l.address1, l.address2, l.city, REPLACE(sor_data_admin.getCode(l.state),'0','O'), l.zip, l.county, 
                sor_data_admin.getOffenderType(o.offender_id), 
                null, l.JURISDICTION, decode(sor_data_admin.getCode(o.sex),'M','Mr.', 'F','Ms.','') 
                from sor_compliance_com_v t, registration_offender_xref x, sor_location l, sor_offender o
                where x.status='Active'
                and x.offender_id=o.offender_id
                and o.offender_id=l.offender_id
                and t.offender_id=o.offender_id
                and t.location_id=l.location_id ;
    definition of get_Completed_Letter_Id
     function get_Completed_Letter_Id(p_offender_id number,  p_destination varchar2) return number
            IS
       
       
                    /*cursor C is used to get letter template ID for offenders whose tier are 1, 2*/
                    CURSOR c IS 
                    SELECT  sle.letter_id
                    FROM sor_letter sle
                    WHERE sle.destination=p_destination
                    and upper(sle.letter_type)='COM';
        
                    tLetterId number;
                    error_message varchar2(500);
                    
            BEGIN
            
            
    
                        OPEN c;
                        FETCH c INTO tLetterId;
                        CLOSE c;
                      
                        RETURN tLetterId;
    
      
            EXCEPTION
                when others then
                    error_message:=substr(SQLERRM, 1, 400);
                    raise_application_error(SOR_ERROR_CONSTANTS_PKG.errnum_GENERAL, 'SOR_COMPLIANCE_ADMIN.getLetterId '||SOR_ERROR_CONSTANTS_PKG.errmsg_GENERAL||error_message);
                    
            END get_Completed_Letter_Id;
    definition of sor_data_admin.getOffenderType
      function getOffenderType(p_offender_id number) return varchar2 AS
          
                error_message varchar2(500);
          
                CURSOR c IS 
                SELECT decode(MAX(habitual)||MAX(aggravated),'NN','STANDARD','LIFETIME')
                FROM registration_offender_xref
                WHERE offender_id = p_offender_id
                AND status = 'Active';
                -- doc/hkt 111407 New Law: calculate offender type by tier (level)     
                
                cursor tierNum is
                select max(c.tier) from sor_offense o, sor_offense_code c
                where o.offender_id = p_offender_id
                and o.offense_code = c.CODE_ID
                and upper(o.status) = 'ACTIVE';
              
                tier number;
                vOffenderType varchar2(30);
                
          BEGIN
          
                OPEN c;
                FETCH c INTO vOffenderType;
                
                IF c%NOTFOUND THEN
                  vOffenderType := 'INACTIVE';
                END IF;
                CLOSE c;
            
                open tierNum;
                Fetch tierNum into tier;
                if tierNum%NotFound then
                  tier := Null;
                end if;
                Close tierNum;
          
                if vOffenderType <> 'INACTIVE' then
                      if tier = 3 then 
                        vOffenderType := 'LIFETIME';
                      end if;
                end if;
            
                RETURN vOffenderType;
                
          EXCEPTION
          
              WHEN OTHERS THEN
                    error_message:=substr(SQLERRM, 1, 400);
                    raise_application_error(SOR_ERROR_CONSTANTS_PKG.errnum_GENERAL, 'SOR_COMPLIANCE_ADMIN.getOffenderType '||SOR_ERROR_CONSTANTS_PKG.errmsg_GENERAL||error_message);
          
          END getOffenderType;
    Definition of getcode
     FUNCTION getCode(codeID IN NUMBER) RETURN VARCHAR2 AS
              code sor_code.code%TYPE;
              
          BEGIN
                  SELECT code INTO code FROM sor_code WHERE code_id = codeID;
                  return(code);
          
          END getCode;
    Thanks for your help

    ORA-00600/ORA-07445/ORA-03113 = Oracle bug-online research on Metalink or contact Oracle support

  • TCP Socket connection outbound monitor reading 1

    Hey people, does anyone know if or not the Agent HQ followed a TCP Socket has its own connection as a metric? I am tracking not a port of the remote database. When the first set of data was posted hyperic has reported that there is an outgoing connection.  I tried d@#$ about everything trying to figure out what might be this connection. Before you go further and lose more sleep is - anyone know if Hyperic reports its own ping as a connection?

    Either way, I did check netstat -, lsof and various records / proc and impossible to find a process bound to that port. Unfortunately I can't use a sniffer of packets due to limitations in the solaris containers.

    Thank you

    Deeboh

    Hi Deeboh,

    I think you're right, the connection you see is the verification of socket raw is the agent for the port of database.  Given that the life expectancy of this link is so short you probably won't see it netstat or/proc.

    -Ryan

  • Flash Player Beta 11,8,800,115 can not use socket read Chinese characters

    Flash Player Beta 11,8,800,115 cannot use socket readUTFBytes characters Chinese will messy. This problem also in flash 11.9.900.93.on Windows7

    So we cannot use Chinese chat in Flash Player.

    Please fix.

    We believe that it is resolved.  Please try with the beta version of tomorrow (11.9.900.100) and if you continue to experience problems, please provide a link to an example.

  • message to the subject of the defective hosts SMTP and HTTP, with regard to the two reading: 'No. Socket Error 11001 error number Ox800CCCOD. »

    To set up my Outlook Express, questioned, by sending an e-mail with the download, to provide the above hosts "addresses", I have inserted the wrong information ignorance.  Now cannot send and open downloads, I try to access the page in question again and RE-ENTER the RIGHT "addresses", but all in vain.  Can someone help me to access this critical page, I could revisit the functional plan online?  PLEASE?

    Open Outlook Express, click the Tools menu, click accounts, click Mail, click Properties, verify each tab and enter the correct information. If you don't know, your ISP will give you the correct information.

  • Stall network detection

    Currently, I'm trying to understand how to implement a network dropout detector in my application.  I use HTTP and so often keep a socket opened for a long time and do a lot of things on it.  Therefore, a random network dropping out really hurts to ease of use and I need to address without delay as the BONE to cause a timeout.  I was wondering if anyone could share any advice or code on how best implemented it.  I know that Peter has mentioned something himself, of course anything either would be useful.

    I thought a lot lately about the different ways that I could approach this problem:

    The simplest way possible, in theory, would be a kind of timer.  I would like to start it at the beginning of any sequence of operations of e/s, and "kick after (possibly before) each successful socket read or write."  The problem is that there is no effective obvious way to do it with the BlackBerry API.  (at least not without coarse abuse TimerTask.)

    Another option would be to have a TimerTask that runs whenever the is open, controls a set of variables on regular intervals.  I would update these variables around every success in reading/writing, and it could make its conclusions on this basis.  Of course, this raises a lot of questions on what the TimerTask interval should be, when start/stop, etc..

    Any thoughts/ideas?

    For a general watchdog, I use RealtimeClockListener.  But he gets only a kick every minute which is probably too long for the detection of dropping out of your network.  But you can use it to make sure that your stall network Detection still works.

    Personally, I have a dislike of timers because they seem to be just the threads with time management, handling I can do myself.

    And that's what I would do in this case.  I understand that you don't need that level of detail, but I'll put it in other players who are maybe not as clever as you are.

    I would like to have a watchdog thread, in a shared storage (probably RuntimeStore), all the time.  It has two States, while waiting for a timeout and idle.  In both States, she waits on the synchronized object StallDetection (I just made that name, it's just an object).  He uses wait/notify on this object to tell the Thread to do some work.

    This thread has two special methods, startTimeout() and cancelTimeout().

    Use Thread will startTimeout on this thread, through Assembly and time-out interval.  This startTimeout method will set the timeout and save the connection object, and then notify the StallDetection object.  This will give the wire in life, ii will find that it has a connection, but the timeout did not, then he will change his timeout so that he wakes up in the time limit.

    Now, there are only two possible situations:

    (a) the network Thread called cancelTimeout to cancel the timeout, because it has a good answer.  cancelTimeout clears the connection just waiting for the Thread.  When the thread wakes up, he'll find the elapsed wait time, but there is no connection to cancel, so it will be simply define another timeout, in the distant future and wait again.

    (b) the network Thread is suspended and does not cancel the timeout.  Then the Thread will wake up and see there is a link to cancel and cancel.

    It is essentially an implementation of a timer, without start-up costs and stop all the time.  I think it's better in your situation where you have a network of Red wire all the time.  But perhaps not an ad hoc http connection.

    Rather than use the two methods on the Thread, it should probably put up a model of the observer and so could be useful for a number of other situations.

    I would use the RealtimeClockListener to just check this thread is alive (isAlive()), then start it again if not.

    I would be interested in other options if people have other ideas and of course improvements on this!

    And I hope this helps.

Maybe you are looking for