Registering Instance of Google App Engine Server

  8 posts   Feedicon  
Replies: 7 - Last Post: February 17, 2010 20:03
by: ben_l
showing 1 - 8 of 8
 
Posted: June 22, 2009 14:07 by Jeff Schwartz
I installed the plugins in nb v6.7 rc3. When I attempt to add the google app engine server instance via the Add Server Instance window I am prompted for its location but I cannot find it. As the server was installed when installing the plugin this shouldn't be needed and at a minimum the server's location should be documented.

So my question is, how do I add the server instance and thanks in advance?

--
Jeff


 
Posted: June 22, 2009 15:10 by pblaha
Google App Engine SDK isn't part of the plugin. You need to download it from the link http://code.google.com/intl/cs/appengine/downloads.html#Google_App_Engine_SDK_for_Java Then, you might register it in IDE.
 
Posted: June 24, 2009 18:03 by bgta
Hi,

In the Services window, adding the Google AppEngine SDK, once selected the directory, I get this error:

java.lang.NoClassDefFoundError: javax/swing/GroupLayout
at org.netbeans.modules.j2ee.appengine.wizards.AddServerPropertiesVisualPanel.initComponents(AddServerPropertiesVisualPanel.java:121)
at org.netbeans.modules.j2ee.appengine.wizards.AddServerPropertiesVisualPanel.<init>(AddServerPropertiesVisualPanel.java:39)
at org.netbeans.modules.j2ee.appengine.wizards.AddServerPropertiesPanel.getComponent(AddServerPropertiesPanel.java:57)
at org.netbeans.modules.j2ee.appengine.wizards.AppEngineInstantiatingIterator.current(AppEngineInstantiatingIterator.java:175)
at org.netbeans.modules.j2ee.deployment.impl.bridge.BridgingServerWizardProvider$InstantiatingIteratorBridge.current(BridgingServerWizardProvider.java:147)
at org.netbeans.modules.server.ui.wizard.AddServerInstanceWizard$AddServerInstanceWizardIterator.current(AddServerInstanceWizard.java:299)
at org.openide.WizardDescriptor.updateStateOpen(WizardDescriptor.java:863)
at org.openide.WizardDescriptor.updateState(WizardDescriptor.java:837)
at org.netbeans.modules.server.ui.wizard.AddServerInstanceWizard.updateState(AddServerInstanceWizard.java:207)
at org.openide.WizardDescriptor.goToNextStep(WizardDescriptor.java:1041)
at org.openide.WizardDescriptor.access$1200(WizardDescriptor.java:127)
at org.openide.WizardDescriptor$Listener$1.run(WizardDescriptor.java:2005)
at org.openide.WizardDescriptor.lazyValidate(WizardDescriptor.java:1456)
at org.openide.WizardDescriptor.access$1300(WizardDescriptor.java:127)
at org.openide.WizardDescriptor$Listener.actionPerformed(WizardDescriptor.java:2024)
Caused: java.lang.reflect.InvocationTargetException
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:585)
at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:451)
Caused: java.lang.reflect.UndeclaredThrowableException
at $Proxy21.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:5602)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
at java.awt.Component.processEvent(Component.java:5367)
at java.awt.Container.processEvent(Container.java:2010)
at java.awt.Component.dispatchEventImpl(Component.java:4068)
at java.awt.Container.dispatchEventImpl(Container.java:2068)
at java.awt.Component.dispatchEvent(Component.java:3903)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
at java.awt.Container.dispatchEventImpl(Container.java:2054)
at java.awt.Window.dispatchEventImpl(Window.java:1801)
at java.awt.Component.dispatchEvent(Component.java:3903)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:180)
at java.awt.Dialog$1.run(Dialog.java:535)
at java.awt.Dialog$2.run(Dialog.java:565)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:563)
at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:985)
at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:1019)
at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:1007)
at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:115)
at org.openide.util.Mutex.doEventAccess(Mutex.java:1355)
at org.openide.util.Mutex.readAccess(Mutex.java:268)
at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:992)
at java.awt.Component.show(Component.java:1302)
at java.awt.Component.setVisible(Component.java:1255)
at org.netbeans.modules.server.ui.wizard.AddServerInstanceWizard.showAddServerInstanceWizard(AddServerInstanceWizard.java:180)
at org.netbeans.modules.server.ui.node.AddServerInstanceAction.performAction(AddServerInstanceAction.java:58)
at org.openide.util.actions.NodeAction$DelegateAction$1.run(NodeAction.java:589)
at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:77)
at org.openide.util.actions.NodeAction$DelegateAction.actionPerformed(NodeAction.java:585)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:334)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1051)
at apple.laf.CUIAquaMenuItem.doClick(CUIAquaMenuItem.java:119)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1092)
at java.awt.Component.processMouseEvent(Component.java:5602)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
at java.awt.Component.processEvent(Component.java:5367)
at java.awt.Container.processEvent(Container.java:2010)
at java.awt.Component.dispatchEventImpl(Component.java:4068)
at java.awt.Container.dispatchEventImpl(Container.java:2068)
at java.awt.Component.dispatchEvent(Component.java:3903)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
at java.awt.Container.dispatchEventImpl(Container.java:2054)
at java.awt.Window.dispatchEventImpl(Window.java:1801)
at java.awt.Component.dispatchEvent(Component.java:3903)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)


I use Netbeans 6.7RC3 on a Mac OSX.
Thanks.
 
Posted: June 24, 2009 20:35 by bgta
The solution:

By default, Mac OS has selected Java 1.5. Once I change to 1.6 it works fine.
 
Posted: June 25, 2009 11:20 by Jeff Schwartz
Sorry if that was obvious but it escaped me. Any way, I downloaded and installed the google app engine and guestbook builds and runs with out problems. Thanks.
 
Posted: July 27, 2009 08:44 by shashi
i am using netbean 6.7,with window vista

i got the error message when i tried to add server

A java.lang.reflect.UndeclaredThrowableException exception has occurred.
Please report this at http://www.netbeans.org/community/issues.html,
including a copy of your messages.log file as an attachment.
The messages.log file is located in your C:\Users\shashi\.netbeans\6.7\var\log folder.

i have put my downloaded file (http://code.google.com/intl/cs/appengine/downloads.html#Google_App_Engine_SDK_for_Java)
in my local drive c.


what i did was
i select services-->servers-->addserver-->googleAppEngine-->instalation location=c:appengine-java-sdk-1.2.2-->next
than i got the error message

i have jdk.1.5-0_11 inside my java folder is that a problem? do i need jdk 1.6?
please help me i am tried of working on it
 
Posted: February 17, 2010 20:03 by ben_l
I've just had the same error when trying to register GAE as a server... though I was trying the Python version of App Engine. Should this work ok?

When I try 'Add Server', step 2 'Server Location' doesn't recognise my App Engine directory as a valid 'Google App Engine Location'. Should I be pointing at something other than the root of the appengine directory (currently ~/Desktop/google_appengine/)?

I have a fresh copy of the AppEngine SDK & netbeans 6.8 (both downloaded today), and the plugins installed fine.

Cheers,

Ben
 
Posted: September 11, 2009 16:13 by leonides
Would anyone know what the installation directory of Google App Engine on Macs are located? When I add a server to NetBeans server list, a "Installation Location" is needed. After downloading the app engine for Mac, there are a few folders I tried to enter into this field.

I tried adding the "/Applications/GoogleAppEngineLauncher.app" folder - that didn't work.
I tried adding the "/usr/local/google_appengine" folder - that didn't work.

I've gone into most of the subdirectories of the above to location but NetBeans still would not consider them valid Google App Engine Location.

I am sorry if there is an obvious answer to this that I am just missing - new to netbeans and google app engine.

Thank you so much for help in advance.
showing 1 - 8 of 8
Replies: 7 - Last Post: February 17, 2010 20:03
by: ben_l
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close