3 Replies Latest reply on Feb 24, 2011 3:08 AM by Pankaj.Rastogi

    Error executing RDS command. Status Code : 503 , Reason : Service Unavailable

    lobofa

      Hi,

       

      I am being trying to connect a Flex desktop application with a Java application running in Tomcat (6.0.29), and I get this error message when trying to use the Data wizard to connect with Blaze DS.

       

      I have read all the tutorials and everything looks good from the server side. This is what appears in the server log:

       

      2011-01-27 16:02:33,030 [ INFO] - RemotingDestinationExporter - Created remoting destination with id 'accounts'

      2011-01-27 16:02:33,046 [ INFO] - RemotingDestinationExporter - Remoting destination 'accounts' has been started started successfully.

      2011-01-27 16:02:33,046 [ INFO] - RemotingDestinationExporter - Created remoting destination with id 'customers'

      2011-01-27 16:02:33,046 [ INFO] - RemotingDestinationExporter - Remoting destination 'customers' has been started started successfully.

      2011-01-27 16:02:33,061 [ INFO] - FrameworkServlet - FrameworkServlet 'flex': initialization completed in 3887 ms

      2011-01-27 16:02:50,813 [ INFO] - MessageBrokerHandlerAdapter - Channel endpoint my-amf received request.

      2011-01-27 16:43:42,897 [ INFO] - MessageBrokerHandlerAdapter - Channel endpoint my-amf received request.

       

      (The last two lines appears when I put the AMF channel's URI in a browser).

       

      Below is what appears in the Event log from Eclipse.

       

      java.lang.RuntimeException: java.lang.RuntimeException: RDS server message:

      Error executing RDS command. Status Code : 503 , Reason : Service Unavailable

      at com.adobe.flexbuilder.services.j2eeservice.J2EEServicePage.setVisible(J2EEServicePage.jav a:149)

      at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1171)

      at org.eclipse.jface.wizard.WizardDialog.access$2(WizardDialog.java:1149)

      at org.eclipse.jface.wizard.WizardDialog$5.run(WizardDialog.java:1138)

      at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)

      at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1136)

      at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:830)

      at com.adobe.flexbuilder.DCDService.ui.wizard.ServiceWizardDialog.nextPressed(ServiceWizardD ialog.java:93)

      at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:369)

      at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)

      at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)

      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)

      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)

      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)

      at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)

      at org.eclipse.jface.window.Window.open(Window.java:801)

      at com.adobe.flexbuilder.DCDService.ui.wizard.ServiceWizard.show(ServiceWizard.java:190)

      at com.adobe.flexbuilder.DCDService.ui.wizard.ServiceWizard.createService(ServiceWizard.java :152)

      at com.adobe.flexbuilder.dcrad.views.ServiceExplorerView$1.handleEvent(ServiceExplorerView.j ava:528)

      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)

      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)

      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)

      at org.eclipse.swt.widgets.Link.wmNotifyChild(Link.java:1004)

      at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4877)

      at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:1757)

      at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4507)

      at org.eclipse.swt.widgets.Control.windowProc(Control.java:4000)

      at org.eclipse.swt.widgets.Display.windowProc(Display.java:4632)

      at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)

      at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2314)

      at org.eclipse.swt.widgets.Link.callWindowProc(Link.java:172)

      at org.eclipse.swt.widgets.Widget.wmLButtonUp(Widget.java:1917)

      at org.eclipse.swt.widgets.Control.WM_LBUTTONUP(Control.java:4301)

      at org.eclipse.swt.widgets.Link.WM_LBUTTONUP(Link.java:842)

      at org.eclipse.swt.widgets.Control.windowProc(Control.java:3982)

      at org.eclipse.swt.widgets.Display.windowProc(Display.java:4632)

      at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)

      at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2411)

      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3501)

      at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)

      at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)

      at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)

      at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)

      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)

      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)

      at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)

      at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)

      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)

      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)

      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)

      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)

      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.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)

      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)

      at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

      at org.eclipse.equinox.launcher.Main.main(Main.java:1287)

      Caused by: java.lang.RuntimeException: RDS server message:

      Error executing RDS command. Status Code : 503 , Reason : Service Unavailable

      at com.adobe.flexbuilder.services.j2eeservice.J2EEServicePage.initialize(J2EEServicePage.jav a:187)

      at com.adobe.flexbuilder.services.j2eeservice.J2EEServicePage.setVisible(J2EEServicePage.jav a:136)

      ... 61 more

       

      Any help wolud be appreciated.

       

      Thanks