Example com.bea.wlevs.configuration.Rollback

Oracle CEP IDE for Eclipse Tutorial J-5 Figure J–7 Project Explorer J.4 Step 3: Start the Oracle CEP Server and Deploy the Project Now that the project is created and includes example content, its time to start the server and deploy the project. To start the server, click the Debug button on the Servers view as shown in Figure J–8 . The debug icon looks like a bug on the view toolbar. Figure J–8 Starting the Oracle CEP Server In the Console view, some Oracle CEP server log messages will scroll by, followed by the server indicating that it has started, such as: Jan 22, 2009 4:59:41 PM EST Notice Server BEA-2046000 Server STARTED Next, deploy the project to the server. In the Servers view, right-click the server and select AddRemove Projects. The Add and Remove Projects dialog appears as shown in Figure J–9 . J-6 Oracle Complex Event Processing Developers Guide Figure J–9 Add and Remove Projects Dialog Select the Hello project from the Available projects list on the left and click Add to move the project to the Configured projects list on the right. Click Finish. The Oracle CEP IDE for Eclipse deploys the project to the server. In the Console view, the Oracle CEP server indicates that the application is deployed, such as lines are broken for readability: Jan 23, 2009 9:24:13 AM EST Notice Spring BEA-2047000 The application context for com.bea.wlevs.monitor was deployed successfully Jan 23, 2009 9:24:17 AM EST Notice Spring BEA-2047000 The application context for com.bea.wlevs.dataservices was deployed successfully Jan 23, 2009 9:26:06 AM EST Notice Server BEA-2045000 The application bundle Hello was deployed successfully to file:C:OracleCEPuser_projectsdomainsocep_ domaindefaultserverapplicationsHelloHello.jar with version 1232720766696 Jan 23, 2009 9:26:06 AM EST Notice Server BEA-2045000 The application bundle Hello was deployed successfully to file [C:\OracleCEP\user_projects\domains\ocep_ domain\defaultserver\applications\Hello\Hello.jar] with version 1232720766696 Jan 23, 2009 9:26:22 AM EST Notice Spring BEA-2047000 The application context for Hello was deployed successfully Because the application is now deployed and running, you should see messages from your application being logged to the Console view Message: HelloWorld - the current time is:9:26:22 AM Message: HelloWorld - the current time is:9:26:23 AM Message: HelloWorld - the current time is:9:26:23 AM ... J.5 Step 4: Change Code and Redeploy Next, we will change some code and redeploy the project to demonstrate the iterative development cycle.