Questions tagged [servlets]

13 questions
8
votes
1 answer

Tomcat: possible to exclude jars during app deployment?

By default, Tomcat prevents webapps from loading several .jars which are part of the Tomcat distribution (eg the servlet and JSP APIs) - is it possible to configure others to also be excluded? If it can't be done with configuration alone, does…
Dmitri
  • 181
  • 1
  • 3
3
votes
4 answers

What is a Servlet Container and how to install one?

I am about to order a VPS (virtual private server) from a provider, and I guess I have to install some Servlet Container right? I am about to use SOLR and my website is PHP MYSQL JAVASCRIPT based. How does an installation of a servlet container…
Anonymous12345
  • 1,012
  • 1
  • 12
  • 17
2
votes
0 answers

ColdFusion 10 Servlet Issues

I'm currently experiencing problems with ColdFusion finding my servlet. In ColdFusion 9, I would simply put it under the wwwroot/WEB-INF/classes/ directory and ColdFusion would serve when requested. In ColdFusion 10 I've added the same Servlet in…
Wrae
  • 21
  • 1
2
votes
1 answer

Configuring Tomcat to not load web-app automatically at start up

I have a Java web app which I'm deploying using Tomcat but I'm having some trouble with this. The problem is that my web app has to talk to some native libraries (via JNI) and those libraries do not handle errors that gracefully so if I try to start…
RobV
  • 141
  • 1
  • 1
  • 6
1
vote
2 answers

Where should I put tomcat external libraries?

I'm trying to run scala applications under tomcat, and whenever I use standard java stuff, I seem okay. However, when I do things like string concatenation or sequence generation, I get weird errors for NoClassDefFound... My first thoughts are that…
Stefan Kendall
  • 1,069
  • 3
  • 17
  • 33
1
vote
1 answer

Lotus Domino Server 6.5 crashes frequently

We are running lotus domino server 6.5 in one our VM machine. The web applications hosted in this server are running for past 10 year with no issue. But suddenly for past few months the server is crashing frequently. I have used LND to analyze the…
Saravanan
  • 125
  • 5
1
vote
2 answers

Memory-consuming servlet crashes Tomcat

I have a Tomcat server that serves many webapps, each with many servlets. Sometimes, a single servlet of a single webapp runs out of memory, and then the entire Tomcat crashes with a Java "Out of Memory" error, and I have to restart it. Is there a…
1
vote
1 answer

Apache Tomcat Servlet 404 Troubleshooting

I maintain a GWT web application that uses 3 java servlets for file download/upload and data transfer. I had my servlet mapping sin place and have not touched them in months, just a few days ago I started receiving 404 errors when trying to access…
snctln
  • 113
  • 5
1
vote
2 answers

Error running any Java web project on my notebook

when I try to run any java web project I get this error. BUT this only happens on my notebook. I've tried on other desktop and other notebook on the same order and everything works well there but to work I only have my notebook so can only see what…
Braulio
0
votes
1 answer

Java servlet 404 error tomcat 8 but not tomcat 6

I have a server which I flip back and forth between tomcat 6 and tomcat 8. When I do an HTTP post using the command curl -v -X POST -d @webOpenCnsRealCheatsheet.xml -H Referrer:mobileWMS,LLC -H Content-Type:text/xml…
Tony B
  • 254
  • 2
  • 12
0
votes
1 answer

Need advise on linking apache and tomcat

I have been searching this for hours with no luck. I have a web server that uses https on Apache2. I also have installed tomcat7 on the same server to run some Java webapp on it. I need to keep my https port 443 on Apache but forward the requests to…
hsnm
  • 163
  • 7
0
votes
1 answer

Teamcity - package javax.servlet does not exist

How do I import javax.servlet in Teamcity? I have the below error message when I try to build the java project through teamcity IntelliJ IDEA runner. This is my first time with teamcity and I'm using this…
user630702
  • 465
  • 6
  • 25
-1
votes
1 answer

Apache Tomcat standalone or with nginx or apache?

I will be rolling out a fairly big project that will be running on Tomcat. I will have a linux VPS for it (Debian). i wanted to know if it is recommended to run it by itself or behind a httpserver such as apache or nginx.