1 2 Previous Next 15 Replies Latest reply on May 11, 2005 6:01 AM by Max Rydahl Andersen

    JBoss-IDE Deployment

    Muammer YUZUGULDU Newbie

      Hi,

      I installed Eclipse and JBoss-IDE 1.4. I follow the fibonacci tutorial step y step. When I have deployed the war file, I have received the following error

      Starting failed jboss.web.deployment:war=FiboWeb.war,id=-1660364264
      org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NamingException: ejb-ref: ejb/Fibo, no ejb-link in web.xml and no jndi-name in jboss-web.xml)

      What may causes this error?

        • 1. Re: JBoss-IDE Deployment
          Vijay V Newbie

          I just posted a message on this forum to get help for installing JBoss IDE. I saw that you successfully installed Eclipse and JBoss IDE. Please help

          Do I HAVE to install Eclipse to install JBoss IDE? No other way?

          I tried to install Eclipse 3.0.1 on Windows XP and when I try to run eclipse.exe I am getting this error: java.lang.ClassNotFoundException: javax.xml.parsers.SAXParserFactory

          I have a jdk 1.5.0 installed. Am I missing anything here?

          Please help!!!!!!!!!!

          VJ - vvettiya

          • 2. Re: JBoss-IDE Deployment
            rwong Newbie

            I got the similar problem: the exception message - "java.lang.ClassNotFoundException: javax.xml.parsers.SAXParserFactoryImpl" while I open the *.xml file with XMLEditor (Jboss IDE).

            To install the Eclipse, I just extract the eclipse zip file and run the *.exe. For JBossIDE, the "jbosside-aop-1.0.1: and "org.jboss.ide.eclipse_1.4.0.bin.dist" files are unziped and placed in the Eclipse plugin folder..


            But I have no problem on debug and deployment , just unable to open xml file using JBossIDE XMLEditor..

            I am using Eclipse 3.0.1 , JBossIDE 1.3.0 .and J2K 1.4.2

            • 3. Re: JBoss-IDE Deployment
              Gary Palmer Newbie

              I am also running into the problem with the tutorial:

              03:01:48,906 ERROR [WebModule] Starting failed jboss.web.deployment:id=-659357859,war=FiboWeb.war
              org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NamingException: ejb-ref: ejb/Fibo, no ejb-link in web.xml and no jndi-name in jboss-web.xml)

              I've gone through the tutorial twice with no luck. Anyone else seen this and have a solution please?

              Anyone completed the tutorial without errors using Eclipse 3.0.1 and JBOSS 4.0.x with JBOSS IDE 1.4.0?

              Thanks

              • 4. Re: JBoss-IDE Deployment
                Gary Palmer Newbie

                I think I've got it working. It seems I'd missed jboss-web.xml from the FiboWeb.war archive.

                • 5. Re: JBoss-IDE Deployment
                  Klaasjan Brand Newbie

                   

                  "vvettiya" wrote:
                  I just posted a message on this forum to get help for installing JBoss IDE. I saw that you successfully installed Eclipse and JBoss IDE. Please help

                  Do I HAVE to install Eclipse to install JBoss IDE? No other way?

                  I tried to install Eclipse 3.0.1 on Windows XP and when I try to run eclipse.exe I am getting this error: java.lang.ClassNotFoundException: javax.xml.parsers.SAXParserFactory

                  I have a jdk 1.5.0 installed. Am I missing anything here?


                  Yes. Eclipse 3.0 is designed to work with JDK 1.4.x. So either install another JDK or install an Eclipse 3.1 milestone release (M4 works with JBossIDE).


                  • 6. Re: JBoss-IDE Deployment
                    Joel Rives Newbie

                     

                    "rebeccawong33" wrote:
                    I got the similar problem: the exception message - "java.lang.ClassNotFoundException: javax.xml.parsers.SAXParserFactoryImpl" while I open the *.xml file with XMLEditor (Jboss IDE).

                    To install the Eclipse, I just extract the eclipse zip file and run the *.exe. For JBossIDE, the "jbosside-aop-1.0.1: and "org.jboss.ide.eclipse_1.4.0.bin.dist" files are unziped and placed in the Eclipse plugin folder..


                    But I have no problem on debug and deployment , just unable to open xml file using JBossIDE XMLEditor..

                    I am using Eclipse 3.0.1 , JBossIDE 1.3.0 .and J2K 1.4.2



                    I see this exact same problem. I am using Eclipse 3.0.1, JBossIDE 1.3.0 and JDK 1.4.2 as well.

                    • 7. Re: JBoss-IDE Deployment
                      Joel Rives Newbie

                      In addition to the previously mentioned problem that I am experiencing with the JBossIDE XML Editor, I am also seeing a problem with the JBossIDE JSP Editor. When I try to edit a JSP file, I see a popup warning dialog with the following message:

                      Unable to create part:

                      After I select the "Ok" button, the editor pane shows the following message:

                      An error has occurred when creating this editor

                      Any help would be greatly appreciated.

                      As before, I am using Eclipse 3.0.1, JBossIDE 1.3.0 and JDK 1.4.2. Additionally, this is on a Mac -- in case that makes any difference.

                      • 8. Re: JBoss-IDE Deployment
                        Michael Fabianski Newbie

                         

                        "jmrives" wrote:
                        In addition to the previously mentioned problem that I am experiencing with the JBossIDE XML Editor, I am also seeing a problem with the JBossIDE JSP Editor. When I try to edit a JSP file, I see a popup warning dialog with the following message:

                        Unable to create part:

                        After I select the "Ok" button, the editor pane shows the following message:

                        An error has occurred when creating this editor

                        Any help would be greatly appreciated.

                        As before, I am using Eclipse 3.0.1, JBossIDE 1.3.0 and JDK 1.4.2. Additionally, this is on a Mac -- in case that makes any difference.


                        I too am getting this error but with Eclipse 3.1.0, JBossIDE 1.4.1.e31-jre15 and JDK 1.5.0 on Windows/XP. Would also appreciate help.

                        • 9. Re: JBoss-IDE Deployment
                          Max Rydahl Andersen Master

                          you need to use 3.1M5 with the latest jboss ide release.

                          • 10. Re: JBoss-IDE Deployment
                            Joel Rives Newbie

                             

                            "max.andersen@jboss.com" wrote:
                            you need to use 3.1M5 with the latest jboss ide release.


                            Does the Eclipse version have to be exactly 3.1M5? I ask because I have upgraded to 3.1M6 and I am still have problems with the JSP, XML and HTML editors. Basically, the problem is that it can not find certain classes and so the JVM is throwing NoClassDefFoundError.

                            In the case of the JSP Editor, it can not find the following class:
                            org/eclipse/jdt/internal/ui/text/java/ResultCollector

                            In the case of the HTTP and XML editor, it can not find the following class:
                            com/sun/org/apache/xerces/internal/jaxp/SAXParserFactoryImpl

                            Here are the event details from the generated error when I try to open the XML editor:

                            Error 2005-04-12 18:08:23.667 Problems occurred when invoking code from plug-in: "org.eclipse.jface".
                            java.lang.NoClassDefFoundError: com/sun/org/apache/xerces/internal/jaxp/SAXParserFactoryImpl
                            at java.lang.Class.getDeclaredConstructors0(Native Method)
                            at java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
                            at java.lang.Class.getConstructor0(Class.java:1930)
                            at java.lang.Class.newInstance0(Class.java:278)
                            at java.lang.Class.newInstance(Class.java:261)
                            at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:172)
                            at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:152)
                            at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:139)
                            at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:48)
                            at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:225)
                            at org.eclipse.ui.internal.registry.EditorDescriptor.createEditor(EditorDescriptor.java:250)
                            at org.eclipse.ui.internal.EditorManager.createPart(EditorManager.java:922)
                            at org.eclipse.ui.internal.EditorManager.busyRestoreEditorHelper(EditorManager.java:1193)
                            at org.eclipse.ui.internal.EditorManager.busyRestoreEditor(EditorManager.java:1102)
                            at org.eclipse.ui.internal.EditorManager$7.run(EditorManager.java:1064)
                            at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
                            at org.eclipse.ui.internal.EditorManager.restoreEditor(EditorManager.java:1062)
                            at org.eclipse.ui.internal.EditorManager$Editor.getEditor(EditorManager.java:1648)
                            at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2238)
                            at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2165)
                            at org.eclipse.ui.internal.WorkbenchPage.access$7(WorkbenchPage.java:2157)
                            at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2143)
                            at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
                            at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2138)
                            at org.eclipse.ui.ide.IDE.openEditor(IDE.java:371)
                            at org.eclipse.ui.ide.IDE.openEditor(IDE.java:334)
                            at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:231)
                            at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:124)
                            at org.eclipse.jdt.internal.ui.actions.OpenActionUtil.open(OpenActionUtil.java:49)
                            at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:164)
                            at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:150)
                            at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:212)
                            at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:188)
                            at org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:304)
                            at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplorerPart.java:805)
                            at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:658)
                            at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1021)
                            at org.eclipse.core.runtime.Platform.run(Platform.java:757)
                            at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:40)
                            at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)
                            at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:656)
                            at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:875)
                            at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:974)
                            at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:243)
                            at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:238)
                            at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:277)
                            at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
                            at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1237)
                            at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1261)
                            at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1246)
                            at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1094)
                            at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2947)
                            at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2615)
                            at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1570)
                            at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1534)
                            at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:306)
                            at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
                            at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
                            at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:228)
                            at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
                            at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:156)
                            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:324)
                            at org.eclipse.core.launcher.Main.invokeFramework(Main.java:315)
                            at org.eclipse.core.launcher.Main.basicRun(Main.java:268)
                            at org.eclipse.core.launcher.Main.run(Main.java:942)
                            at org.eclipse.core.launcher.Main.main(Main.java:926)



                            • 11. Re: JBoss-IDE Deployment
                              Max Rydahl Andersen Master

                              yes it has to be M5 since they changed stuff in M6.

                              we hope to get a new release out soon which then will *only* work on M6

                              • 12. Re: JBoss-IDE Deployment
                                Ofer Yaniv Newbie

                                 

                                "max.andersen@jboss.com" wrote:
                                you need to use 3.1M5 with the latest jboss ide release.



                                I am trying to build & deploy the JBoss-IDE Tutorial on JBoss 4.0.2RC1 (jboss-4.0.2RC1.tar.gz) on Linux (RedHat ES-3.0. kernel 2.4.21-15.ELsmp). I am using the JBoss-IDE 1.3.0 Tutorial Guide (Date: 2004-07-25).

                                I am using the latest JBossIDE-1.5M1-jre14-linux-gtk.tar.gz with j2sdk 1.4.2_05.

                                I have followed the Fibonacci tutorial step by step. Everything seemed to work fine until the deployment phase of the FiboApp.ear.

                                While trying to deploy the FiboApp.ear on the local JBoss 4.0.2RC1 AS I have got the following error:

                                --------------------------------------------------------------------------------------------------------------------
                                13:35:20,636 ERROR [WebModule] Starting failed jboss.web.deployment:id=1664977777,war=FiboWeb.war
                                org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NamingException: ejb-ref: ejb/Fibo, no ejb-link in web.xml and no jndi-name in jboss-web.xml)
                                at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:383)
                                --------------------------------------------------------------------------------------------------------------------

                                Is there any solution for this problem?

                                I would appreciate your help very much.


                                • 13. Re: JBoss-IDE Deployment
                                  Josh Smith Newbie

                                  Max-

                                  I see that in several posts you have told users to do the same thing when they get a "Unable to create part" error. Not to be mean, but telling them to upgrade is more of a default Microsoft answer. Can you give some background as to what upgrading is supposed to change, or more importantly what is causing the problem. I am seeing the "Unable to create part" in both XML files and JSP files. (But both of which worked fine last Friday when I left work). I haven't run any autoupdates of either Eclipse (3.0.2) or the JBoss IDE since then, but now I get the error. I am just curious as to how the upgrade will solve my problem?

                                  • 14. Re: JBoss-IDE Deployment
                                    Josh Smith Newbie

                                    As a followup. I downloaded and configured 3.1M5. It fixed my JSP editor problem, but now I have a XML file editor problem.

                                    Error message from Screen is attached.

                                    Any ideas?

                                    Unable to instantial editor: org.jboss.ide.eclipse.jdt.xml.ui.editors.XMLEditor
                                    java.lang.VerifyError: (class: org/jboss/ide/jdt/xml/ui/editors/XMLEditor, method:
                                    validateXML signature: ()V) Incompatible object argument for function call.
                                    


                                    1 2 Previous Next