4 Replies Latest reply on Jul 17, 2005 7:55 AM by David Loeffler

    Error setting up deployer in preferences

    David Loeffler Newbie

      I am running Eclipse 3.1 with JBossIDE 1.5M1 on OS X 10.4.2 and Java 5. I can not configure the system for the location of jboss. When I go to the preferences and try setting up the deployer I get error loading
      org.jboss.ide.eclipse.deployer.ui.preferences.MainPreferencePage

      Is this fixed in a nightly build or can I get the sources and compile/fix myself?

        • 1. Re: Error setting up deployer in preferences
          David Loeffler Newbie

          Also in debug when I create a new configuration and select it the first part of the log file looks like this: (no such method on a class in org.eclipse.jface:

          eclipse.buildId=I20050627-1435
          java.version=1.5.0_02
          java.vendor=Apple Computer, Inc.
          BootLoader constants: OS=macosx, ARCH=ppc, WS=carbon, NL=en_US
          Framework arguments: -keyring /Users/loeffler/.eclipse_keyring -showlocation
          Command-line arguments: -os macosx -ws carbon -arch ppc -keyring /Users/loeffler/.eclipse_keyring -consoleLog -showlocation

          !ENTRY org.eclipse.jface 4 2 2005-07-14 12:33:23.226
          !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
          !STACK 0
          java.lang.NoSuchMethodError: org.eclipse.jdt.internal.debug.ui.launcher.LauncherMessages.getString(Ljava/lang/String;)Ljava/lang/String;
          at org.jboss.ide.eclipse.launcher.ui.configuration.ServerLaunchArgumentsTab.createControl(ServerLaunchArgumentsTab.java:86)
          at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.showTabsFor(LaunchConfigurationTabGroupViewer.java:720)
          at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.showInstanceTabsFor(LaunchConfigurationTabGroupViewer.java:639)

          • 2. Re: Error setting up deployer in preferences
            David Loeffler Newbie

            Okay, I downloaded the code from CVS (btw - you should put in the instructions that the user id is anonymous and there is no password required). I launch as an eclipse application and in "Debug..." I can create a new instance of JBoss 4.0.x and set JBoss home.

            Now to figure out where the change is or better yet - how can I package up the current cvs code and use it . Obviously someone has fixed something :-).

            • 3. Re: Error setting up deployer in preferences
              David Loeffler Newbie

              I have build the new JBoss IDE and installed it in a fresh install of eclipse 3.1 and things seem to be working now. :-)

              • 4. Re: Error setting up deployer in preferences
                David Loeffler Newbie

                Well, they almost work. I can unzip the file into plugins (fresh unpacked eclipse) and I can define the servers (4.0.2 and 4.0.3RC1) and can start them. However, when I would my way through the examples I find I have to load CORE and EJB3 to complete the examples and even though I load these and force them to not over write the existing code they break the launching of the server (both regular and debug). So now I have to see if I can get the EJB3 and any other source code for the IDE.

                Also, 4.0.3RC1 graphical installer only created the "default" deployment directory - not all so the path created by the EJB3 plugin failed. Creating a link with the name "all" to the default directory fixed that. However, after I got a distribution build built I had to deploy by and and guess what - EJB3 support is not on the server even though the instructions say the graphical installer puts it there.

                But we learn best by making mistakes. I just hope I can learn before my new project gets to critical stage ;-). (BTW: MyEclipseIDE does no seems to have good support for Java 5 and EJB3 either).