Download it now! JBoss Plug-in for NetBeans IDE!

Comments:

Nice little plugin, except that it does not work. I keep getting the following everytime I try and start the server: Annotation: Exception occurred in Request Processor javax.xml.parsers.FactoryConfigurationError: Provider org.apache.crimson.jaxp.DocumentBuilderFactoryImpl not found at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:99) at org.netbeans.modules.j2ee.jboss4.ide.ui.JBPluginUtils.getJnpPort(JBPluginUtils.java:152) at org.netbeans.modules.j2ee.jboss4.ide.JBStartServer.isReallyRunning(JBStartServer.java:137) at org.netbeans.modules.j2ee.jboss4.ide.JBStartServer.isRunning(JBStartServer.java:177) at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.isRunningWithinMillis(ServerInstance.java:336) at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.isRunning(ServerInstance.java:329) at org.netbeans.modules.j2ee.deployment.impl.ui.ServerStatusBar.setCommandControlButtons(ServerStatusBar.java:265) at org.netbeans.modules.j2ee.deployment.impl.ui.ServerStatusBar.startProgressUI(ServerStatusBar.java:98) at org.netbeans.modules.j2ee.deployment.impl.ui.actions.ServerStatusAction$1.run(ServerStatusAction.java:58) at org.openide.util.Task.run(Task.java:189) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:721) ==> java.lang.ClassNotFoundException: org.apache.crimson.jaxp.DocumentBuilderFactoryImpl at java.net.URLClassLoader$1.run(URLClassLoader.java:199) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:187) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:93) at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:187) at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:93) at org.netbeans.modules.j2ee.jboss4.ide.ui.JBPluginUtils.getJnpPort(JBPluginUtils.java:152) at org.netbeans.modules.j2ee.jboss4.ide.JBStartServer.isReallyRunning(JBStartServer.java:137) at org.netbeans.modules.j2ee.jboss4.ide.JBStartServer.isRunning(JBStartServer.java:177) at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.isRunningWithinMillis(ServerInstance.java:336) at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.isRunning(ServerInstance.java:329) at org.netbeans.modules.j2ee.deployment.impl.ui.ServerStatusBar.setCommandControlButtons(ServerStatusBar.java:265) at org.netbeans.modules.j2ee.deployment.impl.ui.ServerStatusBar.startProgressUI(ServerStatusBar.java:98) at org.netbeans.modules.j2ee.deployment.impl.ui.actions.ServerStatusAction$1.run(ServerStatusAction.java:58) at org.openide.util.Task.run(Task.java:189) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:721)

Posted by Chris Johnston on July 20, 2005 at 01:22 AM PDT #

Odd. I don't get that error at all. What's your OS, JDK version etc.? Anything special installed? Does the same thing occur after deleting the user directory? If you can't find a related issue in Issuezilla, please add it.

Posted by Geertjan on July 20, 2005 at 01:28 AM PDT #

Two problems I have, one is an easy fix, not sure about the other. Using Red Hat WS, the Jboss start-up tries to use the GCJ based Java instead of the JDK 5 that I have installed. Easy fix since it looks like the plug-in is just calling the run.sh script to start JBoss, so just adding the correct VM path should fix it. The other issue is that after defining a Jboss server, the Sun App server is no longer listed under the server tree and Tomcat is listed twice. I added the server via the "add server" context menu on the server tree node under the runtime tab. The Sun server is still defined, removing the JBoss server brings the Sun one back. If I go to the server dialog from the tools menu and add the server via there I don't seem to have an issue. This may not be a plug-in issue so much as an issue with how servers are added. It is great to see support for more than the Sun App Server in Netbeans.

Posted by VHF on July 20, 2005 at 04:35 AM PDT #

Are you sure that the "Tomcat is listed twice" isn't just because there are two VERSIONS of Tomcat? Tomcat 5.0 and Tomcat 5.5 are bundled by default. The other issues I don't know about, but will look into. Please also look at Issuezilla and see if your issues are reported there (if not, it would be good to add them).

And, yes, it's really cool to have JBoss included in the IDE. I've liked JBoss a lot for quite a while now -- ever since I started this blog I've been blogging a lot about JBoss -- initially from the perspective of using Ant scripts, but now it's a plug-in. Yay!

Posted by Geertjan on July 20, 2005 at 04:51 AM PDT #

OS: Windows XP JDK: J2SE 1.4.2_08 NetBeans: 4.1 JBoss: 4.0.2 As for anything special installed, I have a custom classpath setup in my environment variables and jdk added to my path, but that is about it. I can start JBoss without any problems from the command line, so the problem must be with the NetBeans module.

Posted by Chris Johnston on July 20, 2005 at 10:02 AM PDT #

Hi Chris, are you still experiencing the same problem? Or is it resolved? Have you got any further in working out what the reason is?

Posted by Geertjan on July 22, 2005 at 11:53 PM PDT #

Hi Geertjan, I am also facing the same problem, this issue has been reported in quite a no of places, but no solution yet. Is there a workaround for this. My configuration is same as that of Chris Johnston

Posted by suresh kr on August 31, 2005 at 03:47 PM PDT #

Hi Suresh, Very recently there was a new update in the Update Center for JBoss, and several things were fixed. If you have a NetBeans installation of 4.1, and have a fresh JBoss plug-in downloaded from the Update Center, and are still encountering this problem, you should create an issue in Issuezilla (and make it a P2). Hope this helps, if not, please leave another question.

Posted by Geertjan on August 31, 2005 at 03:53 PM PDT #

PS: Note that in the IDE Dev build for the next release (5.0), which you can download from NetBeans.org, JBoss support is much better -- it's even integrated right into the IDE, so that you don't have to install a plug-in, for example.

Posted by Geertjan on August 31, 2005 at 03:55 PM PDT #

Hi Geertjan, Thanks for your reply. I downloaded netbeans 4.1 and JBoss plugin today only [5-6 hours back].So i assume i do have the latest version. For raising issue in IssueZilla i did saw already one issue raised for this [dont remember the ID though], Maybe i will try with IDE DEV build 5.0 and update this blog.

Posted by suresh kr on August 31, 2005 at 05:23 PM PDT #

Yes, that would be great. Thanks Suresh.

Posted by Geertjan on August 31, 2005 at 05:36 PM PDT #

Cool, I tried in IDE Dev build (5.0)[netbeans-javaee5-daily-bin-200508312200], i am able to start stop JBoss from Netbeans without any issues. Thats great. Thanks a lot. Will try to develop new application now.

Posted by suresh kr on August 31, 2005 at 05:58 PM PDT #

Excellent, please leave comments here on how things are going! One thing I'm going to look into is web services in relation to JBoss -- you need to have the Sun Java System Application Server to build them (because you need the wscompile tool which comes with the Sun Java System Application Server) but after that you should be able to deploy them to JBoss (but there are a few workarounds you need to do first). So, I'll be blogging about this soon!

Posted by Geertjan on August 31, 2005 at 06:03 PM PDT #

I just made a post. But it disappeared. Anyway i am currently doing a struts based web application to be deployed in JBoss. I will be looking forward to your Webservice blog related to JBoss as we need that one too. Thanks

Posted by suresh kr on August 31, 2005 at 07:08 PM PDT #

Hi Suresh, here it is!

Posted by Geertjan on September 05, 2005 at 06:11 PM PDT #

Me encant Netbeans

Posted by heveral on September 27, 2005 at 07:22 AM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Geertjan Wielenga (@geertjanw) is a Principal Product Manager in the Oracle Developer Tools group living & working in Amsterdam. He is a Java technology enthusiast, evangelist, trainer, speaker, and writer. He blogs here daily.

The focus of this blog is mostly on NetBeans (a development tool primarily for Java programmers), with an occasional reference to NetBeans, and sometimes diverging to topics relating to NetBeans. And then there are days when NetBeans is mentioned, just for a change.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
12
13
14
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today