This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 153500 - would you please add jetty server support
Summary: would you please add jetty server support
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Jetty (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 20 votes (vote)
Assignee: issues@serverplugins
URL: http://plugins.netbeans.org/plugin/38...
Keywords:
: 157477 173809 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-11-20 02:06 UTC by qubicllj
Modified: 2012-01-03 08:30 UTC (History)
9 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description qubicllj 2008-11-20 02:06:29 UTC
i think jetty is as good as tomcat,and it can be embeded in web project
Comment 1 Petr Hejl 2008-11-20 09:23:17 UTC
There is experimental support in contrib. You can try it and improve it.
Comment 2 _ gtzabari 2008-11-25 21:33:44 UTC
Is it possible to fold in this plugin? http://www.nabble.com/Netbeans-%2B-Jetty-td16657097.html#a16673679
Comment 3 Vince Kraemer 2009-04-07 18:21:03 UTC
not assigned to an engineer
Comment 4 kartoch 2009-04-30 12:29:17 UTC
*** Issue 157477 has been marked as a duplicate of this issue. ***
Comment 6 psartini 2009-06-29 17:23:49 UTC
any news on this one? 
why isnt it possible to vote on this issue?
Comment 7 johnemmanuel 2009-08-13 08:10:50 UTC
+1 on adding jetty server plugin 
Comment 8 mwildam 2009-08-25 13:46:04 UTC
+1
Comment 9 chennai 2009-09-01 15:07:43 UTC
Please add support for Jetty. Better yet, can we get an option to include a server of our choice?
Comment 10 kdan 2009-09-04 15:06:58 UTC
+1
Comment 11 Jiri Kovalsky 2009-10-12 12:54:28 UTC
*** Issue 173809 has been marked as a duplicate of this issue. ***
Comment 12 z4zz 2009-10-27 08:27:12 UTC
+1
Comment 13 weazle 2009-11-30 04:04:25 UTC
+1 jetty support qould be very useful
Comment 14 claudio4j 2010-01-25 12:59:39 UTC
+1 to implement this server plugin
Comment 15 Petr Jiricka 2010-03-26 11:05:54 UTC
FYI, Jetty plugin is now available on the update center for NetBeans 6.9 development builds. Please try it out, and if you find any problems, report issues under the serverplugins/Jetty category.
Comment 16 ablakey 2010-07-04 18:16:23 UTC
(In reply to comment #15)
> FYI, Jetty plugin is now available on the update center for NetBeans 6.9
> development builds. Please try it out, and if you find any problems, report
> issues under the serverplugins/Jetty category.

Can you provide a link? I have searched hard - but not found it.
Comment 17 Petr Jiricka 2010-07-07 11:08:54 UTC
Here is the link to the result from the continuous builder: http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastSuccessfulBuild/artifact/nbbuild/nbms/extra/org-netbeans-modules-j2ee-jetty.nbm

Note that this plugin was not tested/certified against NetBeans 6.9 - it is snapshot against the latest dev build of the IDE (i.e. post-6.9). That said, it should probably work fine with 6.9 final release - it would be great if someone can test and report on how well it works or does not work.
Comment 18 alexant 2010-07-26 23:55:10 UTC
I'm trying this module with 6.9. I've downloaded and installed the Jetty 6.1.25 distribution and pointed the Jetty module to it in the Services tab. I can start and stop the server from the context menu in the Services tab, but I'm not able to update my project to use the server. In the dialog that comes up when I choose "Resolve Missing Server Problem" in the context menu, I can choose the Jetty server, but my choice doesn't "stick" when I click OK. When I go to the "Run" section of the project properties, no server appears in the "Server" pulldown menu; again I can set it to my Jetty server and click OK, but this doesn't stick.

(In reply to comment #17)
> Here is the link to the result from the continuous builder:
> http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastSuccessfulBuild/artifact/nbbuild/nbms/extra/org-netbeans-modules-j2ee-jetty.nbm
> 
> Note that this plugin was not tested/certified against NetBeans 6.9 - it is
> snapshot against the latest dev build of the IDE (i.e. post-6.9). That said, it
> should probably work fine with 6.9 final release - it would be great if someone
> can test and report on how well it works or does not work.
Comment 19 tssk 2010-11-27 16:59:37 UTC
Hello I tried the Jetty plugin. I can register and control server just fine, but when I try to create Java Web project with the server I receive following exception:

java.lang.ArrayIndexOutOfBoundsException: 0
	at org.netbeans.modules.j2ee.common.project.ui.J2EEProjectProperties.extractPlatformLibrariesRoot(J2EEProjectProperties.java:384)
	at org.netbeans.modules.j2ee.common.project.ui.J2EEProjectProperties.setServerProperties(J2EEProjectProperties.java:163)
	at org.netbeans.modules.web.project.api.WebProjectUtilities.setupProject(WebProjectUtilities.java:749)
	at org.netbeans.modules.web.project.api.WebProjectUtilities.importProjectImpl(WebProjectUtilities.java:481)
	at org.netbeans.modules.web.project.api.WebProjectUtilities.access$200(WebProjectUtilities.java:126)
	at org.netbeans.modules.web.project.api.WebProjectUtilities$3.run(WebProjectUtilities.java:449)
	at org.openide.filesystems.EventControl.runAtomicAction(Unknown Source)
	at org.openide.filesystems.FileSystem.runAtomicAction(Unknown Source)
	at org.netbeans.modules.web.project.api.WebProjectUtilities.importProject(WebProjectUtilities.java:447)
	at org.netbeans.modules.web.project.ui.wizards.ImportWebProjectWizardIterator.instantiate(ImportWebProjectWizardIterator.java:202)
	at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(Unknown Source)
	at org.openide.loaders.TemplateWizard.handleInstantiate(Unknown Source)
	at org.openide.loaders.TemplateWizard.instantiateNewObjects(Unknown Source)
	at org.openide.loaders.TemplateWizardIterImpl.instantiate(Unknown Source)
	at org.openide.loaders.TemplateWizardIteratorWrapper.instantiate(Unknown Source)
	at org.openide.WizardDescriptor.callInstantiateOpen(Unknown Source)
	at org.openide.WizardDescriptor.callInstantiate(Unknown Source)
	at org.openide.WizardDescriptor.access$1700(Unknown Source)
	at org.openide.WizardDescriptor$Listener$2$1.run(Unknown Source)
	at org.openide.util.RequestProcessor$Task.run(Unknown Source)
[catch] at org.openide.util.RequestProcessor$Processor.run(Unknown Source)

I believe it is simillar to this problem - http://forums.netbeans.org/topic32795.html

It would be great if somebody understands what is the problem and could repair the plugin.

Thanks
Comment 20 Petr Jiricka 2010-11-29 10:18:17 UTC
This is a separate subissue of the Jetty support. Would you please create a separate bug report for this problem, so we don't mix everything Jetty-related in one issue? The new bug report should be filed against serverplugins/Infrastructure, I'd say.
Comment 21 tssk 2010-11-29 12:12:33 UTC
(In reply to comment #20)
> This is a separate subissue of the Jetty support. Would you please create a
> separate bug report for this problem, so we don't mix everything Jetty-related
> in one issue? The new bug report should be filed against
> serverplugins/Infrastructure, I'd say.

Hello, so I reported a new bug -> http://netbeans.org/bugzilla/show_bug.cgi?id=192633

Thanks
Comment 22 richtrf 2011-12-31 20:05:33 UTC
I think it will be great to integrate this important feature to complete of web development.
Comment 23 Petr Jiricka 2012-01-02 21:50:18 UTC
Please be more specific, the Jetty plugin is now available here: http://plugins.netbeans.org/plugin/38577/jetty

What exactly are you missing?
I suggest we close this report and new bug reports and enhancement requests should be filed for bugs or missing functionality in this plugin.
Comment 25 Petr Jiricka 2012-01-03 08:30:05 UTC
Ok, sounds like Jetty 7/8 support is the most pressing issue, and that's already reported as bug 194137. So I am closing this enhancement as fixed, and let's continue to use bug 194137 to discuss the Jetty 7 support.