Questions tagged [jetty]

Jetty is a widely used async java based http server and servlet engine supporting WebSockets and SPDY protocols.

Jetty is a widely used java based http server and servlet engine with additional support for WebSockets and SPDY protocols.

Current versions are:

163 questions
1
vote
1 answer

Is it bad to have two webapps each on different servlet container than both on same, on a production server?

I need to run two webapps on a ubuntu VPS but one(my own webapp) prefers to run in Tomcat & other(Solr webservice) is preferable in Jetty. But I think running a separate server for each webapp would be consuming more resources (like memory…
Rajat Gupta
  • 301
  • 4
  • 17
1
vote
0 answers

Does Jetty have a way to PRE-pend folders to an war's classpath?

I have an app.war which contains app.conf file which I load using ClassLoader.getResource(...) all works well in development, in production I would like to place a different kind of app.conf file which will contain secret database passwords, etc…
Alex Kravets
  • 111
  • 2
1
vote
3 answers

gracefully stopping Apache Solr from command line

I using using jetty to run Solr using the following cmd line: java -jar start.jar & how can I stop this instance of solr gracefully?
Saqib Ali
  • 428
  • 2
  • 7
  • 21
1
vote
2 answers

CLOSE_WAIT sockets burst - perhaps because of iptables settings?

I have an Ubuntu 12.04 server virtual box where basically the installed software and configuration are the default ones, plus the installation of a jetty 6 server which servers a few websites. To keep things simple I didn't install apache httpd and…
1
vote
0 answers

TeamCity sends inadequate responses after Selenium tests

I have a TeamCity 7.0.2 at CentOS 6.2 server without X Server. I've installed x11-fonts*, xvfb, firefox, xauth, extracted env. variable DISPLAY=localhost:1, and started xvfb. After that I could start Selenium tests using maven. Tests are executed,…
Dmitriy Sukharev
  • 233
  • 1
  • 4
  • 9
1
vote
1 answer

Jetty + Nginx + SSL in Debian

I'm going to use SSL with my webapp. If I have nginx as proxy for Jetty, do I have to configure Jetty to use SSL or can I redirect SSL traffic from nginx to Jetty as HTTP traffic?
newbie
  • 355
  • 2
  • 4
  • 16
1
vote
1 answer

Jetty Vs Tomcat for a JSF based social networking & sharing website

I need to host my JavaServerFaces application which is a sort of networking & sharing website. Which amongst Jetty & Tomcat is recommended for my app? Need easy scalability, better performance & low costs.
Rajat Gupta
  • 301
  • 4
  • 17
1
vote
2 answers

WebApp accessible via localhost but not 127.0.0.1

i'm running a webapp on Jetty (Java application server) on my machine (Win7 pro X64) and i'm experiencing some weird problems: when i try to open it on my browser - it's accessible via localhost but not 127.0.0.1 when someone else from my local…
levtatarov
  • 121
  • 5
1
vote
1 answer

What is the --daemon option?

I was installing Solr with Jetty using these instructions. Basically, those instructions made you download the Jetty startup script and copy it to /etc/init.d/jetty. But it was not working. Each time I was starting Jetty, I had a "FAILED" message…
1
vote
0 answers

how to get good logging for solr? and why sometimes it didn't accomplish the indexing process?

I have installed solr (lucidworks-enterprise-installer-1.7.jar) [jetty] on my server (Ubuntu 9.10), and created a cron job to build FULL index everyday morning 30 3 * * * curl…
Alaa Alomari
  • 638
  • 6
  • 19
  • 37
1
vote
1 answer

Server-specific environment variables - /etc/profile or /etc/profile.d

I need to setup some system-wide environment variables for my Jetty server. But where to put them? There seem to be 2 choices /etc/profile or /etc/profile.d? Which are the differences between the two?
Trollhorn
  • 203
  • 3
  • 10
1
vote
1 answer

SSL Configuration Problem

I've generated an SSL certificate with keytool: keytool -keystore keystore -alias mySite -genkey -keyalg RSA -keysize 2048 I got this configured and working fine, but obviously it wasn't signed by a trusted CA, so I generated a CSR: keytool…
dbyrne
  • 198
  • 7
1
vote
1 answer

Creating a configuration based virtual directory in WEB-INF

Within a web application I want to create a "virtual directory" that lives under the WEB-INF directory. In effect what I am trying to accomplish is the same effect as creating a soft link in the filesystem if the application were run exploded. I am…
M. Jessup
  • 121
  • 1
  • 4
1
vote
2 answers

jetty server executing php

I want to configure so that jetty runs PHP files, but have been unsuccessful so far. I have Jetty WTP tools installed in my Eclipse IDE. When I start up the Jetty server. I got the exception: java.lang.ClassNotFoundException org.mortbay.servlet.CGI:…
einstein
  • 119
  • 1
  • 3
1
vote
1 answer

Check pid of GeoServer running with Jetty

I have installed GeoSerer running with Jetty. I use monit to monitor GeoServer is running or not and I need pid in the process. Anyone can tell me how to do that?
Vorleak Chy
  • 2,421
  • 2
  • 15
  • 8