4 Replies Latest reply: Aug 7, 2012 5:09 AM by 953532 RSS

    how to run fx ,signal generation example project in eclipse

    953532
      Hi,

      i run the helloworld sample project ,it works fine in ecllipse,cmd prompt window and i am try to run FX and signal generation sample program in eclipse ,i can't able to run in eclipse but i can able run in cmd prompt window.i want to know whether ocep projects can be run only through cmd prompt or both (cmd prompt and eclipse). if u have solutions to run in eclipse means help me please.Thanks in advance
        • 1. Re: how to run fx ,signal generation example project in eclipse
          877753
          It should work perfectly fine in both ways. Can you please paste the error you are getting in eclipse ?

          Regards
          Patha
          • 2. Re: how to run fx ,signal generation example project in eclipse
            953532
            Hi,

            I got this below error in startDataFeed.cmd in singal generation ,but server started.

            C:\Oracle\Middleware\ocep_11.1\samples\domains\signalgeneration_domain\defaultse
            rver>startDataFeed.cmd
            'startDataFeed.cmd' is not recognized as an internal or external command,


            I got this below error in FX sample program ,but server is started and program is working fine.can just help what is the error in sample program i want to know.


            <Aug 7, 2012 11:46:03 AM IST> <Warning> <Spring> <BEA-2047006> <Work {0} terminated with exception = commonj.work.WorkException: java.lang.IllegalArgumentException: [Adapter:2041001]fxMarketEuro configured with illegal port [9,013]
            commonj.work.WorkException: java.lang.IllegalArgumentException: [Adapter:2041001]fxMarketEuro configured with illegal port [9,013]
                 at weblogic.work.commonj.CommonjWorkManagerImpl$WorkStatus.setThrowable(CommonjWorkManagerImpl.java:268)
                 at weblogic.work.commonj.CommonjWorkManagerImpl$WorkWithListener.run(CommonjWorkManagerImpl.java:206)
                 at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
                 at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
                 at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
            Caused By: java.lang.IllegalArgumentException: [Adapter:2041001]fxMarketEuro configured with illegal port [9,013]
                 at com.bea.wlevs.adapter.defaultprovider.SocketAdapterImpl.setupServerConnection(SocketAdapterImpl.java:139)
                 at com.bea.wlevs.adapter.defaultprovider.SocketAdapterImpl.run(SocketAdapterImpl.java:114)
                 at com.bea.wlevs.adapter.defaultprovider.SocketAdapterImpl$$FastClassByCGLIB$$6267eec3.invoke(<generated>)
                 at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
                 at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700)
                 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
                 at com.bea.wlevs.ede.impl.EventManagerAccessorProxy.invoke(EventManagerAccessorProxy.java:30)
                 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
                 at com.bea.wlevs.ede.impl.EventBeanProxy.invoke(EventBeanProxy.java:38)
                 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
                 at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)
                 at com.bea.wlevs.adapter.defaultprovider.internal.LoadGenAdapterImpl$$EnhancerByCGLIB$$5d089e06.run(<generated>)
                 at com.bea.wlevs.spring.RunnableBeanPostProcessor$RunnableWrapper.run(RunnableBeanPostProcessor.java:118)
                 at weblogic.work.commonj.CommonjWorkManagerImpl$WorkWithListener.run(CommonjWorkManagerImpl.java:204)
                 at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
                 at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
                 at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
            >
            <Aug 7, 2012 11:46:03 AM IST> <Warning> <Spring> <BEA-2047006> <Work {0} terminated with exception = commonj.work.WorkException: java.lang.IllegalArgumentException: [Adapter:2041001]fxMarketAmer configured with illegal port [9,011]
            commonj.work.WorkException: java.lang.IllegalArgumentException: [Adapter:2041001]fxMarketAmer configured with illegal port [9,011]
                 at weblogic.work.commonj.CommonjWorkManagerImpl$WorkStatus.setThrowable(CommonjWorkManagerImpl.java:268)
                 at weblogic.work.commonj.CommonjWorkManagerImpl$WorkWithListener.run(CommonjWorkManagerImpl.java:206)
                 at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
                 at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
                 at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
            Caused By: java.lang.IllegalArgumentException: [Adapter:2041001]fxMarketAmer configured with illegal port [9,011]
                 at com.bea.wlevs.adapter.defaultprovider.SocketAdapterImpl.setupServerConnection(SocketAdapterImpl.java:139)
                 at com.bea.wlevs.adapter.defaultprovider.SocketAdapterImpl.run(SocketAdapterImpl.java:114)
                 at com.bea.wlevs.adapter.defaultprovider.SocketAdapterImpl$$FastClassByCGLIB$$6267eec3.invoke(<generated>)
                 at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
                 at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700)
                 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
                 at com.bea.wlevs.ede.impl.EventManagerAccessorProxy.invoke(EventManagerAccessorProxy.java:30)
                 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
                 at com.bea.wlevs.ede.impl.EventBeanProxy.invoke(EventBeanProxy.java:38)
                 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
                 at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)
                 at com.bea.wlevs.adapter.defaultprovider.internal.LoadGenAdapterImpl$$EnhancerByCGLIB$$5d089e06.run(<generated>)
                 at com.bea.wlevs.spring.RunnableBeanPostProcessor$RunnableWrapper.run(RunnableBeanPostProcessor.java:118)
                 at weblogic.work.commonj.CommonjWorkManagerImpl$WorkWithListener.run(CommonjWorkManagerImpl.java:204)
                 at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
                 at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
                 at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
            >
            <Aug 7, 2012 11:46:03 AM IST> <Warning> <Spring> <BEA-2047006> <Work {0} terminated with exception = commonj.work.WorkException: java.lang.IllegalArgumentException: [Adapter:2041001]csvTestData configured with illegal port [9,014]
            commonj.work.WorkException: java.lang.IllegalArgumentException: [Adapter:2041001]csvTestData configured with illegal port [9,014]
                 at weblogic.work.commonj.CommonjWorkManagerImpl$WorkStatus.setThrowable(CommonjWorkManagerImpl.java:268)
                 at weblogic.work.commonj.CommonjWorkManagerImpl$WorkWithListener.run(CommonjWorkManagerImpl.java:206)
                 at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
                 at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
                 at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
            Caused By: java.lang.IllegalArgumentException: [Adapter:2041001]csvTestData configured with illegal port [9,014]
                 at com.bea.wlevs.adapter.defaultprovider.SocketAdapterImpl.setupServerConnection(SocketAdapterImpl.java:139)
                 at com.bea.wlevs.adapter.defaultprovider.SocketAdapterImpl.run(SocketAdapterImpl.java:114)
                 at com.bea.wlevs.adapter.defaultprovider.internal.CSVGenAdapterImpl.run(CSVGenAdapterImpl.java:43)
                 at com.bea.wlevs.adapter.defaultprovider.internal.CSVGenAdapterImpl$$FastClassByCGLIB$$1d34d8cd.invoke(<generated>)
                 at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
                 at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700)
                 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
                 at com.bea.wlevs.ede.impl.EventManagerAccessorProxy.invoke(EventManagerAccessorProxy.java:30)
                 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
                 at com.bea.wlevs.ede.impl.EventBeanProxy.invoke(EventBeanProxy.java:38)
                 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
                 at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)
                 at com.bea.wlevs.adapter.defaultprovider.internal.CSVGenAdapterImpl$$EnhancerByCGLIB$$3ec938ea.run(<generated>)
                 at com.bea.wlevs.spring.RunnableBeanPostProcessor$RunnableWrapper.run(RunnableBeanPostProcessor.java:118)
                 at weblogic.work.commonj.CommonjWorkManagerImpl$WorkWithListener.run(CommonjWorkManagerImpl.java:204)
                 at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
                 at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
                 at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
            >
            <Aug 7, 2012 11:46:03 AM IST> <Warning> <Spring> <BEA-2047006> <Work {0} terminated with exception = commonj.work.WorkException: java.lang.IllegalArgumentException: [Adapter:2041001]fxMarketAsia configured with illegal port [9,012]
            commonj.work.WorkException: java.lang.IllegalArgumentException: [Adapter:2041001]fxMarketAsia configured with illegal port [9,012]
                 at weblogic.work.commonj.CommonjWorkManagerImpl$WorkStatus.setThrowable(CommonjWorkManagerImpl.java:268)
                 at weblogic.work.commonj.CommonjWorkManagerImpl$WorkWithListener.run(CommonjWorkManagerImpl.java:206)
                 at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
                 at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
                 at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
            Caused By: java.lang.IllegalArgumentException: [Adapter:2041001]fxMarketAsia configured with illegal port [9,012]
                 at com.bea.wlevs.adapter.defaultprovider.SocketAdapterImpl.setupServerConnection(SocketAdapterImpl.java:139)
                 at com.bea.wlevs.adapter.defaultprovider.SocketAdapterImpl.run(SocketAdapterImpl.java:114)
                 at com.bea.wlevs.adapter.defaultprovider.SocketAdapterImpl$$FastClassByCGLIB$$6267eec3.invoke(<generated>)
                 at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
                 at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700)
                 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
                 at com.bea.wlevs.ede.impl.EventManagerAccessorProxy.invoke(EventManagerAccessorProxy.java:30)
                 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
                 at com.bea.wlevs.ede.impl.EventBeanProxy.invoke(EventBeanProxy.java:38)
                 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
                 at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)
                 at com.bea.wlevs.adapter.defaultprovider.internal.LoadGenAdapterImpl$$EnhancerByCGLIB$$5d089e06.run(<generated>)
                 at com.bea.wlevs.spring.RunnableBeanPostProcessor$RunnableWrapper.run(RunnableBeanPostProcessor.java:118)
                 at weblogic.work.commonj.CommonjWorkManagerImpl$WorkWithListener.run(CommonjWorkManagerImpl.java:204)
                 at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
                 at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
                 at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
            >
            <Aug 7, 2012 11:46:03 AM IST> <Notice> <Server> <BEA-2046000> <Server STARTED>
            • 3. Re: how to run fx ,signal generation example project in eclipse
              877753
              Hi,
              Looks like there is some port conflict, may be your already deployed the app in some different server? not very sure unless you tell the exact scenario. The folder ocep_11.1\samples\domains\signalgeneration_domain\defaultserver is a sample domain folder in which when you rum startwlevs.cmd it will automatically start a cep server with the signalgeneration app deployed on it.
              We generally use a normal domain for configuring with eclipse example: C:\Oracle\Middleware\user_projects\domain\ocep_domain\defaultserver . The server in this doesn't have any apps deployed in it by default, may be that is the reason you have started this thread.
              Try to shutdown all the servers u started in eclipse/ cmd and try to run only one server, it should work fine.
              For making the app work on your eclipse try creating a new application using samples, then deploy it on cep server using (Add or Remove option).
              Regards
              Patha
              • 4. Re: how to run fx ,signal generation example project in eclipse
                953532
                Thank u patha.now it is working fine.