Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.4K Intelligent Advisor
- 75 Insurance
- 537.6K On-Premises Infrastructure
- 138.7K Analytics Software
- 38.6K Application Development Software
- 6.1K Cloud Platform
- 109.6K Database Software
- 17.6K Enterprise Manager
- 8.8K Hardware
- 71.3K Infrastructure Software
- 105.4K Integration
- 41.6K Security Software
OCEP Server not working

922144
Member Posts: 17
I am a student and new to CEP. I did all the installations as specified in the installation guide. I have eclipse 3.5, ocep 11.1.I get an option to create OCEP application project in eclipse. I created ocep server according to the instructions but I get the following error
This is the log file
####<6 Mar, 2012 4:48:01 PM GMT> <Warning> <Simple Configuration Provider> <> <> <Timer-1> <> <> <> <1331052481145> <BEA-1005008> <The main configuration file has not been read for 20 seconds due to the failure of a security service to start.>
####<6 Mar, 2012 4:48:01 PM GMT> <Warning> <Simple Configuration Provider> <> <> <Timer-1> <> <> <> <1331052481145> <BEA-1005008> <The main configuration file has not been read for 20 seconds due to the failure of a security service to start.>
####<6 Mar, 2012 4:48:43 PM GMT> <Notice> <evs4j> <> <> <[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1331052523067> <BEA-2049007> <The cluster protocol is disabled>
####<6 Mar, 2012 4:48:52 PM GMT> <Warning> <Jetty> <> <> <[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1331052532395> <BEA-000000> <Failed startup of context [email protected]{ohw,C:\Oracle\Middleware\ocep_11.1\modules\com.bea.wlevs.visualizer.help_11.1.1.1_0.jar}
java.util.zip.ZipException: Could not find End Of Central Directory
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:117)
at java.util.jar.JarFile.<init>(JarFile.java:133)
at java.util.jar.JarFile.<init>(JarFile.java:97)
at org.mortbay.jetty.webapp.TagLibConfiguration.configureWebApp(TagLibConfiguration.java:171)
at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1236)
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:466)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at com.bea.core.jetty.internal.HttpServiceImpl.finishDeployInternal(HttpServiceImpl.java:300)
at com.bea.core.jetty.internal.HttpServiceImpl.deployWebApp(HttpServiceImpl.java:401)
at com.bea.core.jetty.internal.OsgiHttpServiceWrapper.deploy(OsgiHttpServiceWrapper.java:121)
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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58)
at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.osgi.service.importer.support.internal.aop.ServiceProviderTCCLInterceptor.invokeUnprivileged(ServiceProviderTCCLInterceptor.java:97)
at org.springframework.osgi.service.importer.support.internal.aop.ServiceProviderTCCLInterceptor.invoke(ServiceProviderTCCLInterceptor.java:77)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy93.deploy(Unknown Source)
at com.oracle.cep.ohw.OHWDeployer.deployOHWWebapp(OHWDeployer.java:27)
at com.oracle.cep.ohw.OHWDeployer.afterPropertiesSet(OHWDeployer.java:44)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69)
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355)
at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:139)
at org.springframework.scheduling.commonj.DelegatingWork.run(DelegatingWork.java:62)
at weblogic.work.commonj.CommonjWorkManagerImpl$WorkWithListener.run(CommonjWorkManagerImpl.java:196)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
>
Please help me with the error. I am unable to proceed.
Thanks in advance.
This is the log file
####<6 Mar, 2012 4:48:01 PM GMT> <Warning> <Simple Configuration Provider> <> <> <Timer-1> <> <> <> <1331052481145> <BEA-1005008> <The main configuration file has not been read for 20 seconds due to the failure of a security service to start.>
####<6 Mar, 2012 4:48:01 PM GMT> <Warning> <Simple Configuration Provider> <> <> <Timer-1> <> <> <> <1331052481145> <BEA-1005008> <The main configuration file has not been read for 20 seconds due to the failure of a security service to start.>
####<6 Mar, 2012 4:48:43 PM GMT> <Notice> <evs4j> <> <> <[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1331052523067> <BEA-2049007> <The cluster protocol is disabled>
####<6 Mar, 2012 4:48:52 PM GMT> <Warning> <Jetty> <> <> <[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1331052532395> <BEA-000000> <Failed startup of context [email protected]{ohw,C:\Oracle\Middleware\ocep_11.1\modules\com.bea.wlevs.visualizer.help_11.1.1.1_0.jar}
java.util.zip.ZipException: Could not find End Of Central Directory
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:117)
at java.util.jar.JarFile.<init>(JarFile.java:133)
at java.util.jar.JarFile.<init>(JarFile.java:97)
at org.mortbay.jetty.webapp.TagLibConfiguration.configureWebApp(TagLibConfiguration.java:171)
at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1236)
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:466)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at com.bea.core.jetty.internal.HttpServiceImpl.finishDeployInternal(HttpServiceImpl.java:300)
at com.bea.core.jetty.internal.HttpServiceImpl.deployWebApp(HttpServiceImpl.java:401)
at com.bea.core.jetty.internal.OsgiHttpServiceWrapper.deploy(OsgiHttpServiceWrapper.java:121)
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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58)
at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.osgi.service.importer.support.internal.aop.ServiceProviderTCCLInterceptor.invokeUnprivileged(ServiceProviderTCCLInterceptor.java:97)
at org.springframework.osgi.service.importer.support.internal.aop.ServiceProviderTCCLInterceptor.invoke(ServiceProviderTCCLInterceptor.java:77)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy93.deploy(Unknown Source)
at com.oracle.cep.ohw.OHWDeployer.deployOHWWebapp(OHWDeployer.java:27)
at com.oracle.cep.ohw.OHWDeployer.afterPropertiesSet(OHWDeployer.java:44)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69)
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355)
at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:139)
at org.springframework.scheduling.commonj.DelegatingWork.run(DelegatingWork.java:62)
at weblogic.work.commonj.CommonjWorkManagerImpl$WorkWithListener.run(CommonjWorkManagerImpl.java:196)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
>
Please help me with the error. I am unable to proceed.
Thanks in advance.
Answers
-
What version did you install?
You need to use Eclipse 3.6.2 for the OCEP 11.1.1.6 version
andy -
Sorry for the late response. I have eclipse 3.5 and ocep 11.1.1(cep-tools-11.1.1.20091022-1701.zip). Not sure whether it is 11.1.1.6 but I had installed the version specific to eclipse 3.5
Edited by: 919141 on 09-Mar-2012 12:16 -
Thanks Andy for the reply. As suggested, I have tried installing eclipse 3.6.2 and OCEP 11.1.1.6. I tried to run the sample Hello World code again. This is the log file. This is a different trace than the one I asked for in the thread.
Server Oracle CEP v11.1 at localhost (2) was unable to start within 150 seconds. If the server requires more time, try increasing the timeout in the server editor.
This is the server log
####<10 Mar, 2012 8:28:57 PM GMT> <Notice> <evs4j> <> <> <[ACTIVE] ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1331411337375> <BEA-2049007> <The cluster protocol is disabled>
####<10 Mar, 2012 8:29:01 PM GMT> <Notice> <BDBProvider> <> <> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1331411341474> <BEA-2052004> <Created and registered BDBProvider default-provider>
####<10 Mar, 2012 8:29:15 PM GMT> <Notice> <Spring> <> <myServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1331411355459> <BEA-2047000> <The application context for "com.oracle.cep.cartridge.jdbc" was started successfully>
####<10 Mar, 2012 8:29:21 PM GMT> <Notice> <Spring> <> <myServer> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1331411361725> <BEA-2047000> <The application context for "com.bea.wlevs.dataservices" was started successfully>
####<10 Mar, 2012 8:29:23 PM GMT> <Notice> <Server> <> <myServer> <[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> The log seems like everything is running fine. Please help me with this problem.
Thanks in advance -
can you please share what is the timeout you have set in server editor as of now? at the first look the present error should get resolved increasing timeout value to 180 seconds or 210 seconds. if you have many processes running on your machine then this setting is required.
-
Thanks Padmanabh for the answer. In server properties I was using local server when I changed it to Remote server it started working. I am not sure what this change implies but its working fine now.
Thanks Andy and Padmanabh again. -
I am still getting error after the server starts running
-
Hello,
Sorry for opening the thread again. I increased the time out and I am able to run the Hello World sample. It prints Hello World with timestamp on the console but after sometime I get the error message again stating "Server Oracle CEP v11.1 at localhost was unable to start within 500 seconds. If the server requires more time, try increasing the timeout in the server editor."After that it stills continues printing Hello World message and exits after the server shutdown timeout I have specified.
I am unable to understand how it is able to print the message when the server has errored out. Also why the server is having error. -
1] are you using the local server configures as remote server?
2] Can you please share if you double click the Server in the server panel what do you see in Remote Server IP Address and Remote Server port? Is it having proper value of 127.0.0.1 and you current port number?
3] Also if the Remote Server radio button is selected or Local server. I guess it will be Remote Server. -
There was some problem with the server set up. Its working fine now. Thanks a lot for the help.
This discussion has been closed.