1 2 Previous Next 19 Replies Latest reply: Apr 26, 2007 12:24 PM by 567369 RSS

    Insider plugin (from elephant) will not load

    153588
      Hi,

      Just installed SQL Developer 1.1.2.25 and then installed the Insider plugin for SQL Developer v2.0.1 on Windows XP. I get the following when loading SQL Developer, displayed in a Dos window:

      WARNING: Unknown directive: SetSkipJ2SDKCheck
      Using oracle.home=C:\Data\sqldeveloper
      Using ide.user.dir=null
      Addin: Translator PlSql is trying to register a input type (.plsql) which conflicts with translator PlSql who already using this input
      25-Apr-2007 16:00:52 oracle.ideimpl.extension.AddinManagerImpl createAddin
      SEVERE: No class def found for addin elephant.jdev.InsiderAddin
      25-Apr-2007 16:00:52 oracle.ideimpl.extension.AddinManagerImpl createAddin
      SEVERE: No class def found for addin elephant.jdev.InsiderAddin
      java.lang.NoClassDefFoundError: oracle/ide/controller/Controller
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
      at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
      at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      at oracle.classloader.SearchPolicy$FindMain.getClass(SearchPolicy.java:307)
      at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
      at oracle.classloader.SearchPolicy.loadClass(SearchPolicy.java:648)
      at oracle.classloader.PolicyClassLoader.askParentForClass(PolicyClassLoader.java:1308)
      at oracle.classloader.SearchPolicy$AskParent.getClass(SearchPolicy.java:68)
      at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
      at oracle.classloader.SearchPolicy.loadClass(SearchPolicy.java:648)
      at oracle.classloader.PolicyClassLoader.askParentForClass(PolicyClassLoader.java:1308)
      at oracle.classloader.SearchPolicy$AskParent.getClass(SearchPolicy.java:68)
      at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
      at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1693)
      at oracle.classloader.PolicyClassLoader.access$000(PolicyClassLoader.java:141)
      at oracle.classloader.PolicyClassLoader$LoadClassAction.run(PolicyClassLoader.java:297)
      at java.security.AccessController.doPrivileged(Native Method)
      at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1657)
      at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1639)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:164)
      at oracle.ideimpl.extension.AddinManagerImpl.createAddin(AddinManagerImpl.java:459)
      at oracle.ideimpl.extension.AddinManagerImpl.initializeAddins(AddinManagerImpl.java:242)
      at oracle.ideimpl.extension.AddinManagerImpl.initProductAndUserAddins(AddinManagerImpl.java:157)
      at oracle.ide.IdeCore.initProductAndUserAddins(IdeCore.java:1517)
      at oracle.ide.IdeCore.startupImpl(IdeCore.java:1280)
      at oracle.ide.Ide.startup(Ide.java:642)
      at oracle.ideimpl.DefaultIdeStarter.startIde(DefaultIdeStarter.java:35)
      at oracle.ideimpl.Main.start(Main.java:90)
      at oracle.ideimpl.Main.main(Main.java:51)
      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 oracle.ide.boot.PCLMain.callMain(PCLMain.java:45)
      at oracle.ide.boot.PCLMain.main(PCLMain.java:37)
      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 oracle.classloader.util.MainClass.invoke(MainClass.java:89)
      at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain(IdeLauncher.java:218)
      at oracle.ide.boot.IdeLauncher.launchImpl(IdeLauncher.java:90)
      at oracle.ide.boot.IdeLauncher.launch(IdeLauncher.java:66)
      at oracle.ide.boot.IdeLauncher.main(IdeLauncher.java:55)
      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 oracle.ide.boot.Launcher.invokeMain(Launcher.java:508)
      at oracle.ide.boot.Launcher.launchImpl(Launcher.java:106)
      at oracle.ide.boot.Launcher.launch(Launcher.java:60)
      at oracle.ide.boot.Launcher.main(Launcher.java:49)
      reloadBuffers(): 47 nodes checked in 0.001087568 second(s)

      Followed by: Error: No class def found for addin elephant.jdev.InsiderAddin
      in the Extensions log file within SQL Developer itself.

      Any help much appreciated.

      Thsnka,

      Chris
        • 1. Re: Insider plugin (from elephant) will not load
          558660
          SEVERE: No class def found for addin elephant.jdev.InsiderAddin
          Looks as if it isn't installed properly. Is the insider jar file in <sqldev>\sqldeveloper\extensions ?
          • 2. Re: Insider plugin (from elephant) will not load
            153588
            The insider.jar file is in <sqldev>\jdev\extensions as stated on the download page

            "After downloading an extension unzip it into <SQLDeveloper>/jdev/extensions directory."

            Thanks,

            Chris
            • 3. Re: Insider plugin (from elephant) will not load
              567369
              There should also be a sub-directory...
              <SQLDeveloper>/jdev\extensions\fourthElephant.Insider
              ..which should contain the following files...
              forms-1.0.4.jar
              framework.jar
              jdom.jar
              log4j-1.2.8.jar
              oracle.jar
              picocontainer-1.1.jar
              TableLayout.jar
              xmlrpc-2.0.1.jar

              These are support files to allow the addin to work.

              Hope this helps
              • 4. Re: Insider plugin (from elephant) will not load
                153588
                Yes I have the fourthElephant.insider directory with the 8 .jar files that you listed.

                Thanks,

                Chris
                • 5. Re: Insider plugin (from elephant) will not load
                  Barry Mcgillin-Oracle
                  no, sqldeveloper extensions go in sqldeveloper\sqldeveloper\extensions
                  Barry
                  • 6. Re: Insider plugin (from elephant) will not load
                    -K-
                    As Barry indicated, extensions moved to another directory upgrading from 1.0 to 1.1.
                    Why didn't you just simply install the plugins from the Check for Updates? All is taken care of automagically, and you can be notified of any future updates.

                    K.
                    • 7. Re: Insider plugin (from elephant) will not load
                      567369
                      From the fourthElephant web site....

                      "After downloading an extension unzip it into <SQLDeveloper>/jdev/extensions directory. "

                      This is where I've installed and both the Insider and Error Lookup extensions work fine. Also, if you've already got these extensions installed there's nothing to upgrade so the option to "Check for Updates" won't work.

                      Could this be a configuration problem in that certain directories have been specified and SQL Developer is (perhaps) looking in these to try and locate the require class file. For example, the 2nd line of feedback states "Using oracle.home=C:\Data\sqldeveloper" - is this where SQL Developer has been installed?

                      I would suggest creating a completely new install of SQL Developer. Don't make any changes and then use this as a base for installing the extensions. Set up a couple of connections and see if Insider works. Then you can export/import the required connections, reports, etc., from the other installation as required.
                      • 8. Re: Insider plugin (from elephant) will not load
                        153588
                        I've uninstalled the Insider plugin and re-installed via the check for updates. I now get the following:

                        Using oracle.home=C:\Data\sqldeveloper
                        Using ide.user.dir=null
                        jar:/file:/C:/Data/sqldeveloper/sqldeveloper/extensions/fourthElephant.Insider.jar!/META-INF/extension.xml:84
                        26-Apr-2007 13:16:24 javax.ide.extension.spi.DefaultElementContext getVisitorForStartElement
                        SEVERE: Must import extension 'oracle.ide' to use hook 'jdeveloper-hook' in namespace 'http://xmlns.oracle.com/jdeveloper/1013/extension'.
                        jar:/file:/C:/Data/sqldeveloper/sqldeveloper/extensions/fourthElephant.Insider.jar!/META-INF/extension.xml:84
                        26-Apr-2007 13:16:24 javax.ide.extension.spi.DefaultElementContext getVisitorForStartElement
                        SEVERE: Must import extension 'oracle.ide' to use hook 'jdeveloper-hook' in namespace 'http://xmlns.oracle.com/jdeveloper/1013/extension'.
                        Addin: Translator PlSql is trying to register a input type (.plsql) which conflicts with translator PlSql who already using this input type
                        reloadBuffers(): 47 nodes checked in 4.75759E-4 second(s)

                        and get:
                        Error: Must import extension 'oracle.ide' to use hook 'jdeveloper-hook' in namespace 'http://xmlns.oracle.com/jdeveloper/1013/extension'.

                        in the SQL Developer Extensions log.

                        Thanks for everybodies help so far.

                        Chris
                        • 9. Re: Insider plugin (from elephant) will not load
                          3020
                          Hi,

                          This extension needs to be updated for the SQL Developer 1.1 release. A bug in the IDE's extension framework in the 1.0 release allowed the extension to run even though it contained errors.

                          [Gory details: the extension.xml file inside the META-INF directory of the extension jar needs to be updated so that it includes this chunk of XML inside <extension>:

                          [code]
                          <dependencies>
                          <import>oracle.ide</import>
                          </dependencies>


                          With some jiggery-pokery, it's possible to manually fix it. Better if the vendor provides a fix though.

                          Thanks,
                          Brian
                          • 10. Re: Insider plugin (from elephant) will not load
                            567369
                            Please try a virgin install and follow the instruction from the fourthElephant web site....

                            "After downloading an extension unzip it into <SQLDeveloper>/jdev/extensions directory. "

                            There are a load of oracle.ide.*.jar files in this directory that are probably necessary for the fourthElephant extensions to work. The advice for installing/unzipping to the "sqldeveloper/sqldeveloper/extensions" directory location is not valid for 1.1.2.25
                            • 11. Re: Insider plugin (from elephant) will not load
                              567369
                              Insider for SQL Developer v2.0.1 is the version that should be used and compatible with SQL Developer 1.1.2.25 (as I've said - this combination works fine)

                              If chriswd can open up fourthElephant.Insider.jar in Winzip and view extension.xml to double-check that the version is 2.0.1 (4th line of xml)

                              If in doubt, re-download both SQL Developer and the extension and do a clean install.
                              • 12. Re: Insider plugin (from elephant) will not load
                                558660
                                Andy,

                                Please don't give misleading advice. The correct location for extensions is <sqldev>\sqldeveloper\extensions. The OPs latest problem is I think due the fact that the version you get with Search for Updates is out of date. You need to get the latest from the 4th Elephant web site.

                                The steps necessary are simply

                                1. Download the extension from 4thElephant.
                                2. Unzip it into <sqldev>\sqldeveloper\extensions
                                • 13. Re: Insider plugin (from elephant) will not load
                                  567369
                                  Have a look at the download page...

                                  http://www.fourthelephant.com/downloads_raptor.html

                                  I copied and pasted their instruction directly from this page i.e.

                                  "After downloading an extension unzip it into <SQLDeveloper>/jdev/extensions directory. "

                                  Also, this is how I've installed/unzipped the extensions and they work perfectly.

                                  AFAIK my advice is not misleading and this is why I have suggested a clean install following the explicit instruction provided by fourthElephant for installing the extension.
                                  • 14. Re: Insider plugin (from elephant) will not load
                                    -K-
                                    This got fixed for the 2.0.1 release of the plugin.
                                    Apparently they didn't update the http://www.fourthelephant.com/downloads/sqldeveloper.xml ...

                                    Let's try this again:
                                    1. Exit sqldev
                                    2. Delete all fourthelephant's extensions jars from both the extensions folders inside the JDev and sqldeveloper folders + any "fourthElephant." subdirectories created inside these.
                                    3. Put the verified 2.0.1 jar inside the sqldeveloper\extensions folder
                                    4. Start sqldev - this should install the plugin
                                    5. Check in Tools - Preferences - Extensions you've got the extension and the right version
                                    6. You might need to restart sqldev if it didn't install the plugin due to some error the first time

                                    K.
                                    1 2 Previous Next