1. Best way of restarting a jetty instance stackoverflow.comI'm using start.jar and stop.jar to stop and start my jetty instance. I restart by calling stop.jar, then start.jar. The problem is, if I don't sleep long enough between stop.jar and start.jar I ... |
2. How to use a ThrottlingFilter for Jetty in Restlet stackoverflow.comI would like to configure a webservice so that once the accept queue is full the service returns 503. Currently, these requests seem to just time out. I did set paramters ... |
3. Use spnego credentials to access different page stackoverflow.comI have an application that is served using jetty 6.1.12 from serverA. serverA is kerberized using the spnego filter and runs fine when I run it from the browser. I am ... |
4. Application server - to use or not use? stackoverflow.comTypically we use WebLogic or JBoss to deploy our apps. I understand that when using open source solutions like Spring you can develop your app and run it on a ... |
5. Has anyone successfully deployed Sonar on Jetty 7? stackoverflow.comI am trying to deploy Sonar (automatic code monitoring tool) on a Jetty 7 servlet container. I would like to use the default config first (embedded Derby DB) as a POC and ... |
6. Running resource filters when using jetty:run stackoverflow.comI'm using resource filtering on jsps, based on profiles. I'm also developing locally using |
7. What are "Jetty 6 Continuations" and how do they compare to the continuations found in programming languages? stackoverflow.comI'm looking for an answer that describes a "continuataion' mechanism in a web server vs. a programming language. My understanding is that using continuations, it is trivial to have a "digits of ... |
8. Jetty Hosting Providers stackoverflow.comI am looking for a good Hosting provider for Java either running Jetty or Tomcat. I currently use PairOne/OddHost and my monthly rate is 5.99 which isn't bad, but I ... |
9. Mule/Jetty Setup stackoverflow.comI have a working Mule application that I want to setup Jetty on to respond to http requests. The following config:
|
10. Redistributing jetty stackoverflow.comI need to redistribute my software with jetty-6.1.19.zip from Jetty site. Am I allowed to remove from this zip all unnecessary cruft (docs, samples, etc.) and than redistribute such ... |
11. why does Jetty not use all allocated memory? stackoverflow.comwe develop the webapp with Grails. In productio the webapp runs on Jetty. We used JMeter to run performance-test and yourkit to analyse the memory consumtion of jetty. We started Jetty with ... |
12. How to setup a self contained project running jetty+sinatra+jruby? stackoverflow.comI already installed jruby and gems seems to be installed nicely under jruby's directory so I don't have to worry about that. Now I would like to be able create a ... |
13. jetty - noSuchMethodError stackoverflow.comI get the following error when running
(Not including the whole stacktrace)
I know that there is ... |
14. VisualVM breaks jetty stackoverflow.comI'm trying to profile application that is run by "mvn jetty:run", when I connect VisualVM to it and click on Profile jetty crashes with:
|
15. Does jetty 6.1.8 supports jdk 1.5? stackoverflow.comHello i install jetty 6.1.8 on windows for development, I configure it in eclipse to run with jdk 1.5, and my project is configured to build using the same jdk. my problem is ... |
16. Is Jetty guarenteed to be up after start() returns? stackoverflow.comI am seeing a phenomenon where sometimes, connections to the port Jetty is configured on fail with connection refused, shortly after the server starts (after Server.start() returns). Is there some asynch behaviour ... |
17. How scalable is Jetty? stackoverflow.comGreetings! I wrote a highly scalable HTTP event (long-polling) server in C/C++ using libevent. However, it's messy, hardly portable, and lets face it: it's C. Let alone that I've been having ... |
18. Synchronization help in Java stackoverflow.comlooking at http://download.eclipse.org/jetty/stable-7/xref/com/acme/ChatServlet.html, I don't seem to understand why there needs to be a synchronization block in a synchronized method, like so:
|
19. How can i deliver jetty with many webapps via jnlp? stackoverflow.comi have a webapp (http://sourceforge.net/projects/sf-mvn-plugins/files/m2-repo/net/sf/maven/plugins/example-captaincasa-jnlp/0.1-SNAPSHOT/example-captaincasa-jnlp-0.1-SNAPSHOT.war/download) wich use jsf in a servlet container. This works fine with jetty-maven-plugin run-war target at my local pc. In the future i would like make more ... |
20. Detect client has disconnected from jetty server (using continuations) stackoverflow.comI am using jetty continuations and I was wondering if I can detect that the client has disconnected(closed connection to jetty server) from the server. Thanks, Alfred |
21. Multiple webroot folders with Jetty stackoverflow.comI'm using Jetty (version 6.1.22) to service a Java web application. I would like to make Jetty look in two different folders for web resources. Take this layout: +- project1 | ... |
22. Jetty 6 - VirtualHosting stackoverflow.comI am using Jetty 6 to host multiple web applications for various domains. I am doing the exploded WAR route, so how would I configure that in Jetty? Would ... |
23. Jetty 7 Continuations: How to *not* redispatch the request? stackoverflow.comI'm using Jetty 7 continuations to implement some asynchronous processing. What I'm trying to do is start off the continuation (via .suspend()), and then hand the continuation off to some ... |
24. Jetty RewriteHandler and RewriteRegexRule stackoverflow.comI'm trying to rewrite a URL for a servlet. The URL gets rewritten correctly, but the context doesn't match after that. Any idea how to get this to work?
|
25. Jetty offline documentation stackoverflow.comIs there any more-or-less comprehensive documentation for Jetty (e.g., similar to Tomcat or, really, in any form)? Theirs online wikis seems to be quite informative, but servers seem to be slow. ... |
26. Restrict access of web application other than localhost stackoverflow.comI hv 3 java web-apps running in jetty and i want one of them to be accessed only through localhost. I dont want to write filter. Can it be done by ... |
27. Problem with cometd and jetty 6 / 7 stackoverflow.comI'm trying to get started with cometd (http://cometd.org/) and jetty 6 or 7, but I seem to be having problems. I've got an ant script that packages my code up into ... |
28. Cross site scripting help? stackoverflow.comI have a piece of javascript executing on a jetty server which is sending a XMLHTTPRequest to a scoket on another server(wamp server). The request gets sent to the socket, however the ... |
29. Jetty server handling 1 request at a time stackoverflow.comI'm very new to Jetty and have a simple server following their HelloWorld example using a SessionHandler. My class is called OrbVend and it extends SessionHandler. I have overridden ... |
30. while running mvn jetty:run showing the following error stackoverflow.comC:\source\myproject>mvn jetty:run [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building AppFuse Spring MVC Application [INFO] task-segment: [jetty:run] [INFO] ------------------------------------------------------------------------ [INFO] Preparing jetty:run [WARNING] POM for 'xfire:xfire-jsr181-api:pom:1.0-M1:compile' is invalid. Its dependencies (if any) will NOT be available ... |
31. Confusion about maven-war-plugin and jetty-maven-plugin stackoverflow.comI am trying to get the |
32. Can't reach wicket quickstart from outside firewall stackoverflow.comI have a project which, for purposes of server configuration, is just a wicket quickstart archetype. I've added some application code, but haven't really done anything to change the default jetty ... |
33. Jetty Maxidletime stackoverflow.comWhen does maxidletime in jetty get triggered? |
34. How can I pass java system property to jetty? stackoverflow.comHow can I pass a system property to jetty startup something like -DSERVER="localhost" if it is in start.config what is the exact syntax ? and will it be available to my deployed war ... |
35. Jetty JDBCSessionManager not serializable stackoverflow.comI have a bit of a problem using the JDBCSessionManager in Jetty 7. For some reason the it tries to persist the SessionManager when persisting the SessionAuthentication : ... 16:46:02,455 WARN org.eclipse.jetty.util.log ... |
36. How would node.js stack up vs jetty for an etherpad-like application? stackoverflow.comI noticed that etherpad, when it was alive ( and living clones of it ) used Jetty. I'm considering writing a similar program but I want to use node.js instead. Could anyone ... |
37. How To Start Jetty Properly stackoverflow.comthis really silly question probably, as no one else seems to be having this problem. In the Jetty documentation it says |
38. Redirect non www version of domain to www in Jetty stackoverflow.comI cannot redirect my non www domain version to www with MovedContextHandler, it does not have host to redirect to. Both www.myhost.com and myhost.com point to my web server IP. When someone ... |
39. What does $1 mean in JAVA? stackoverflow.comHere is a shell script:
|
40. How does one set a custom WebAppClassLoader in Jetty through config? stackoverflow.comI am trying to configure a Jetty (6.x) WebAppContext with a custom subclass of WebAppClassLoader. In code (Scala), it's simply this:
|
41. Add resources to Jetty programmatically stackoverflow.comI have a main class that configures and fires up Jetty. (That's standard practice from Wicket for testing a webapp, but it's really not wicket-specific.)
|
42. mysterious console output to stderr from jetty? stackoverflow.comWhen running my embedded jetty web app launcher, I see the following output to stderr. I just started seeing this after moving my build to maven-2. Has anyone seen ... |
43. best way for Jetty to serve multiple wars hot stackoverflow.comI have a new 64-bit Ubuntu server with 4G of memory. I need to serve several (6 now, maybe 50 later) war files as their own context roots. (Similar ... |
44. Jetty - set system property stackoverflow.comI run webapp on Jetty. The configuration for the app come from file that lives on the same server where Jetty is running. Inside the app I rely on the system ... |
45. Jetty nonblocking by default? stackoverflow.comPlease tell me, Is Jetty non-blocking web server by default or not? For example, this code below runs Jetty as non-blocking web server?
|
46. Webapp startup fails but Jetty LifeCycle claims "started" stackoverflow.comI'm using embedded Jetty to launch a standard Java webapp. My launcher is something like this:
This ... |
47. ricfaces xhtml edit problem for jetty stackoverflow.comI am using Richfaces with facelets (xhtml). I use maven jetty plugin for development. When jetty is running, I modify a xhtml file but the change does not work until I restart ... |
48. maven-jetty-plugin question stackoverflow.comI need to start jetty before module tests. Example:
|
49. maximum bufferHeaderSize for Jetty stackoverflow.comIs there a limit for bufferHeaderSize for Jetty? Thanks... |
50. How do I configuration to use "rewrite" by jetty-maven-plugin stackoverflow.comWhen I use jetty7 by command line, do "$ java -jar start.jar OPTIONS=default,rewrite etc/jetty-rewrite.xml" to use "rewrite"(org.eclipse.jetty.rewrite.handler.RewriteHandler). But jetty-maven-plugin and eclipse and m2eclipse can't use "OPTIONS=default,rewrite" by "jetty:run" And "ClassNotFoundException : org.eclipse.jetty.rewrite.handler.RewriteHandler" occurs ... |
51. how can i find the temporary folder that Jetty host the web app? stackoverflow.comI deployed gwt app to Jetty using maven-jetty-plugin, with 'mvn jetty:run' i have access my app, but it kept telling one file is not found, i need to know where Jetty ... |
52. jetty start problem stackoverflow.comwhen i start jetty server in eclipse (jetty-wtp plugin) the console output the problem? Caused by: java.lang.NoClassDefFoundError: javax/transaction/UserTransaction my installed environment is under
|
53. Behaviour explanation stackoverflow.comCan someone explain why this code halts at startFileHTTP()? The jetty server starts but the rest of the program doesn't work. Do i need to look into multi-threaded programming? ... |
54. Scheduled tasks in Jetty stackoverflow.comI would like to write a simple Groovlet which runs a task periodically and am using a Jetty container. What's the easiest way to accomplish this task? I'm thinking that Quartz ... |
55. RFC 1123 date representation with Jetty stackoverflow.comWe're using jetty as front end http server, with cache policies. I would like to be clear on the requirements:
|
56. CruiseControl: Does not start - how to determine reason? stackoverflow.comCruiseControl does not start any more (only known change was adding new memory to the machine.) Ok, it seems to start: Calling the web gui brings:
|
57. Jetty + intellij idea :: add library stackoverflow.comI get |
58. How to use jetty continuations with a Filter and FORWARD dispatching? stackoverflow.comI have a servlet Filter that acts as the basis of my web stack. In my web.xml I have specified that I want the filter to also act as a FORWARD ... |
59. Problem with publishing using Jetty stackoverflow.comI am having trouble publishing to the channel subscribed by two users. It seems that whenever I am publishing a msg, it is sending it 3 times (sometimes twice) to both ... |
60. How to set authorization when using cruise control stackoverflow.comI am setting cruise control properties in the Ubuntu Linux environment. I have tested by using this address 'http://localhost:8080/dashboard/' This address works fine. However, this can be accessed by anyone if localhost is ... |
61. Trouble in starting my jetty server on a remote server stackoverflow.comI have started a jetty server in my remote server. But I got problem accessing the default page. I followed the getting started steps and used the command |
62. Jetty server stops running after closing terminal window stackoverflow.comI am a newbie when it comes to Java and Jetty app deployment. I use the default settings for setting up my jetty serve and ran |
63. Jetty UserRealm redirect on 3th failed login stackoverflow.comIf I have a custom Jetty UserRealm implementation and its configured for basic authentication (with SSL), is there any way to get it to go to an specific page after the ... |
64. Jetty config to redirect all 404s to home page stackoverflow.comGoogle has cached some old URLs to pages that no longer exist on a site. I'd like to redirect any 404 pages to the home page. I have a jetty installation with ... |
65. how to set connection/request timeout for jetty sever? stackoverflow.comI'm running an embedded jetty sever (jetty 6.1.24) inside my application like this:
|
66. Autologin during development with Jetty stackoverflow.comI have the usual setup: A webapp with a login screen and a small Java class which sets up Jetty to launch the app. During development, we all waste a couple of ... |
67. Jetty does not recognize internationalized (IDN) SUB domain names stackoverflow.comThe international form of my sub domain name is like this: XN--80AHAIUUGL4G It is properly setup in my provider and resolves. That is tested. My top-level domain name is citadelait.com so I wrote ... |
68. Programmatic Jetty shutdown stackoverflow.comHow to programmatically shutdown embedded jetty server? I start jetty server like this:
Now, I want to shut it down from a request, such as http://127.0.0.1:8090/shutdown
How ... |
69. -XX:OnOutOfMemoryError="kill -9 %p" Problem stackoverflow.comI have an issue with trying to pass the |
70. How do you run CruiseControl on MacOSX stackoverflow.comWhat am I doing wrong?
|
71. Cleaning up Jetty - Removing 'unnecessaries' things stackoverflow.comI'm used to use Jetty as my web container. What I did on my install steps is get the original tar ball and cleanup some directories and files from ... |
72. jetty 7 continuations stackoverflow.comi'm using jetty-7.4.1.v20110513 and servlet-api-2.5 i tried to use continations in the following servlet.
|
73. How do you scale an application server that has daemon tasks? stackoverflow.comI have a web application that runs on one server right now. I'd like to switch to a cluster of application servers (jetty), to handle increased load and failover. However, the ... |
74. How to run Jetty on IKVM? stackoverflow.comI am new in jetty. I am trying to run Jetty with IKVM. However, it throws exception. I am not sure what should I do.
|
75. Trouble with running JSFUnit 2.0Beta1 & Jetty stackoverflow.com
|
76. why won't jetty 6.1.x run with java 1.4.2? stackoverflow.comDcoumentation everywhere I can find suggests that jetty 6.1.x should still run with java 1.4.2. Yet, if I download a jetty binary, and "java -jar start.jar", I get variations of: "Exception in ... |
77. Jetty QueuedThreadPool property tutorial stackoverflow.comI can't find a page that explain how QueuedThreadPool works and what are the meaning of it's set-methods ( like setLowThreads() ). Can you post a link, or answer with a ... |
78. doGet called twice jetty server stackoverflow.comi am using an embedded jetty server within the java application. But the doGet() method is being called twice. Also it is being called as a result of this (method.equals(METHOD_GET)) condition ... |
79. Jetty's DispatcherType (and 1000 other undocumented things) stackoverflow.comCan someone tell me, what DispatcherType is doing? Seems to be an important configuration. Class usage didn't helped me as well by pointing to things such as ServletContextHandler#addFilter, which ... |
80. Error while starting the application using jetty stackoverflow.comI used the maven plugin "wagon-maven-plugin" to create a single jar which contains the war file and jar files.
When i try to do |
81. How can I get the NCSARequestLog to roll over hourly? stackoverflow.comJetty provides the NCSARequestLog (http://docs.codehaus.org/display/JETTY/Logging+Requests) to log the requests. But this seems to rollover on a daily basis by default. Is there an option to have this rollover on an hourly ... |
82. Jetty distribution vs hightide stackoverflow.comWhat exactly is the difference? I've been using Jetty 8.0.0 lately and when I try the distribution download I cannot get neither WebSockets nor Servlet 3.0 @WebServlet annotation to work. If ... |
83. Jetty 7: OutOfMemoryError: PermGen space on application redeploy stackoverflow.comFirst time app starts correctly. Then I delete webapp/*.war file and paste new version of *.war. Jetty start deploying new war but error |
84. Bind Jetty to IPv6 address stackoverflow.comI am trying to bind Jetty to listen only to IPv6 address. I am using Jetty 7.4.2.v20110526. my jetty.xml:
|
85. Can I respond to POST requests using Jetty's ResourceHandler? stackoverflow.comCan I respond to POST requests using Jetty's
|
86. My Jetty server will dead after a long time, why? stackoverflow.comRecently, I host a website in Amazon EC2, and I use Jetty 7.4 as my server. I test it in my machine and EC2, and it works properly. But after a ... |
87. The behavior of Jetty DefaultHandlers stackoverflow.comI've obverved for some time that our RequestLogHandler has been called out of order -- requests are written to the log before they are executed, so information like bytes returned or ... |
88. Jetty RESTful with multiple data formats stackoverflow.comI am a newbie in this area, I am using embedded jetty to create web services and I have few existing methods/pojos which I need to make as RESTful API's and ... |
89. How to use setThreadPool() in Jetty stackoverflow.comI wanted to see how to use the
|
90. Jetty 8 does not pick up non standard taglibs stackoverflow.comWorking with Jetty is supposed to be dead simple, but somehow I managed to screw it up. When deploying PetClinic (springs official sample app) on Jetty 8 (jetty-8.0.1.v20110908 "hightide") I ... |
91. Passing java options to jetty.sh stackoverflow.comNormally, I'll start jetty (version 8) using this:
But now I'm using jetty.sh to run jetty on startup.Does anyone know how can I pass the ... |
92. Auto run Jetty on boot stackoverflow.comI'm trying to get Jetty to auto start on my Ubuntu. I've done these commands:
but when I run it I got a "Not starting jetty - ... |
93. How Jetty 7 handles SSO? stackoverflow.comHi Geeks, I am working on ... |
94. JProfiler startup error of Jetty application can't find libjprofilerti.so stackoverflow.comI am trying to perform a remote profile session of Jetty. I have downloaded, untar'd jprofiler_linux_7_0.tar.gz I ran jpintegrate and produced the start_jetty_jprofiler.sh Looked into that and snipped out the: -agentpath:/RAID10/home/mbl/profiler/jprofiler7/bin/linux-x86/libjprofilerti.so=port=8849,nowait and added that to my ... |
95. Run JavaExec task in background and then terminate when build completes stackoverflow.comI'm trying to figure out how to launch a JavaExec task that spawns a Jetty server without blocking subsequent tasks. Also, I will need to terminate this server after the ... |
96. How to configure jetty bundle on virgo stackoverflow.comMy rap projects runs on an equinox jetty server. The bundles are started and I'm able to connect to it by going to localhost. Now I want to configure the equinox ... |
97. Performance: com.sun.net.httpserver.HttpServer vs. jetty stackoverflow.com
|
98. Get jetty realm credentials in application stackoverflow.comIt might be a stupid question but we are using jetty basic authentication on our server. Now we want to use the usercredentials in our application. Is it possible to get ... |
99. Forcing Jetty to load classes in the parent ClassLoader stackoverflow.comI launch a JVM from native code, then launch Jetty. A webapp then loads a library called JPeripheral. Both the native launcher and JPeripheral depend a native library called Jace. When ... |
100. Cobertura report has 100% coverage anywhere stackoverflow.comI'm running my webApp using Jetty with my instrumented classes. After the shutdown of Jetty i'm taking the generated .set file and creating a cobertura report using the command line tool. I always ... |