I am using the cometd implementation that comes with the jetty server. I'd like to use the callback-polling transport, but when I try to connect to the comet server from javascript (note that the html page is in another web-server), jetty complains that the servlet does not supports the GET method. Is this an error/bug/whatever of the je...
I 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 a modified package ? Software is a proprietary based.
...
Hi all,
We're running a JRuby on Rails application on Jetty, and having reached the staging server prior to launch have suddenly hit a problem with our JDBC connections being abandoned. Here's a lovely stacktrace to illustrate:
Last packet sent to the server was 12 ms ago.
STACKTRACE:
com.mysql.jdbc.CommunicationsException: Communica...
Hi,
Can the Jetty server run on windows based environments. If there is a windows installable, can someone please point me to it.
Thanks,
Amit
...
How do I programmatically configure Jetty's logger? I'm using Jetty in a standalone application and want to change the log level of some of Jetty's internally generated warnings. Ideally I could do this programmatically (ie, in code) without having to specify an XML file.
I'm using Jetty 6.1.20.
...
Hi, i have an spring web application (on glassfish server) that use JDBC connection pool. It defined in XML file like this:
<resources>
<jdbc-connection-pool allow-non-component-callers="true" associate-with-thread="true"
connection-creation-retry-attempts="2" connection-creation-retry-interval-in-seconds=...
I have created a very simple webservice using C# in VS2008. I would like to publish this to a server using Jetty-6 as its web server. Is this possible, or is IIS the only way I can go.
...
I use solr in my application, there is just hundreds of documents.
the memory usage is about 80M, how to reduce it?
...
Just looking at examples of connection pooling on the web, they all implement connection pooling on a per servlet basis. So each servlet has its own pool of database connections. My question is, why is that preferable to something like a global pool of db connections? Since a global pool is seems more efficient than a per servlet poo...
For automated functional testing purposes, I would like to run a servlet container from my test driver without actually issuing HTTP requests over the network. The main goal is to test fairly elaborate conditions of servlet filtering, forwarding, and includes.
I would like a system that embeds the servlet container in a way that:
does...
We currently have an application that runs an embedded jetty 6.1.14 server to which we need to add authentication via Kerberos. I'm new to Kerberos, which makes the task about 100x harder that maybe it should be. I've scoured the internet and have found conflicting reports as to whether or not it is even possible but nothing much to pr...
I am exploring the use of Comet for a project I am working on.
I tried creating a test application first using Tomcat6 and CometProcessor API and then with Jetty7 Continuations.
The application is kind of working on both but I am having some issues with the actual display of messages.
I used the technique of creating an XMLHttpRequest Co...
Hi folks,
we 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 params -Xms1500m -Xmx1500m, so in yourkit we can also see the allocated memory is about 1,5gb. But Jetty does not use it all, all time al...
I'm trying to run Jettys ServletTester in my JUnit test. I created a simple HelloServlet first to test the setup, but I get an IllegalAccessException when I try to request the servlet. Here is what I have so far:
My unit test
@Before
public void setUp() throws Exception {
tester = new ServletTester();
tester.setContextPath("/co...
What bundles do I need to install? At least, this would have to be a servlet container / web server such as Jetty, but will the basic org.apache.felix.http.jetty bundle do, or is there anything else needed to discover the web.xml in other bundles?
Do I put the webapp in a standard WAR, add OSGi headers and am done? Or are there any weba...
I'm running Eclipse with the run-jetty-run plugin to launch my J2EE web apps. My project uses Spring, and the spring configuration uses things like HttpInvokerProxy and properties placeholder.
When the spring jars are on the classpath (I mean configured in the "classpath" tab of the "run configuration") and external (not in WEB-INF/lib...
when started, jetty per default loads all directories and war-files in its webapps directory, that i can access via context path (e.g. http:// hostname/app/ to access the project in webapps/app.war).
Now when i open http:// hostname/ i get an 404 error and a list of the available contexts. To avoid that, i placed an index.html in the w...
Hi!
I have a groovy project running under jetty for development and under tomcat for production.
I wrote a filter called URLFilter
I've added the following lines in web.xml
(actually I've added to myProj/src/templates/war/web.xml)
<filter>
<filter-name>URLAbarajeitor</filter-name>
<filter-class>filters.URLFilter</filter-class>...
How do I get jetty to turn down the level of logging from the default of INFO?
I'm actually trying to run the default Apache Solr installation, which ships with jetty, but dumps a lot of information to the console, and I'd only like to see warnings.
I don't want to go hack up the code, I just would like to be able to drop a config file...
I followed the instructions here, and it worked but only if it was mapped to a directory other than the default.
Here's a sample that I tried:
<configuration>
<webResources>
<resource>
<directory>${basedir}/src/main/webapp/WEB-INF</directory>
<!-- the below works when uncommented and does exclude...