0
votes
1answer
80 views

How do I ensure the Context Path is the same when accessing a web app via Apache (proxy pass - port 80) and tomcat (port 8080)?

I have written a web app in Java/J2EE and am deploying it using apache (ec2 micro instance) to forward requests from port 80 to port 8080 (same machine). My httpd.conf looks like the following: ...
0
votes
0answers
100 views

Load balancing multiple PHP sites and JSP sites using Apache Server

I've been trying for the last couple of days to get this small (i though) scenario working. Small drawing of my architecture.       request ...
1
vote
1answer
126 views

Create tomcat war file from static web dir

I created a simple web application that consists of a dir with html, css, js. No server code. For reasons complicated to explain, my administrator insists on turning it into a .war file, so that it ...
0
votes
1answer
23 views

JSP Content Issue in Tomcat

There is one application where I work where there are still manual builds used i.e manually moving the servlet classes and jsp files from Dev to QA and finally to Prod. This is the method used in ...
0
votes
1answer
116 views

plesk+ tomcat + mod_jk + jsp gives 404

I trying to install myhello-world.war to plesk tomcat5, I doing "install java webapp", but when i go http://domain.com/mytomcat-helloworld/pages/myhelloworld.js I getting: 404 ...
0
votes
1answer
57 views

What percent of time my app server spends rendering html

My employer asked me this and I'm trying to figure out ways to measure this. We have have several applications - some Java with Tomcat and some .NET under IIS. To make things a little easier on ...
2
votes
1answer
593 views

IIS 7.5 and Tomcat Setup: Error 500.19

I am setting up a 64-bit IIS 7.5 / Tomcat 7.0.26 server and I have received the following errors when I navigate to http://localhost - Error Summary HTTP Error 500.19 - Internal Server Error The ...
1
vote
2answers
311 views

Tomcat session managment - independent session in one host

I have simple jsp-site on tomcat. To work with session I use simple jsp session object. But I need some sessions isolation in my web directories e.q. mysite.com/dir1 mysite.com/dir2 I want to ...
0
votes
2answers
766 views

Tomcat thread consumes maximum CPU

We have a Tomcat 7.0.21 server running on OpenJDK Server VM (20.0-b11 mixed mode). The webapp runs well for usually several hours or days after startup - typical CPU load is 1-2%. At some point, the ...
-1
votes
1answer
578 views

tomcat cannot write files into WEB-INF folder

I used cpanel+tomcat .the Project structure is : ROOT ----index.jsp ---- sample.txt ----- /WEB-INF/classes/pack2/sample2.txt tomcat Can write into sample.txt with permission 664 . but cannot ...
0
votes
1answer
440 views

How can I redirect a JSP to use HTTPS

My web app is running, so that access to /admin/login.jsp happens over an unsecure HTTP connection. I do not want to change web.xml file. How can I change access to /admin/login.jsp from HTTP to ...
0
votes
1answer
202 views

how set owner of file cms.war for ftpuser and owner of cms folder for tomcat user?

I'm using Tomcat Server. I woiuld like the owner of the file cms.war to be the ftp user the tomcat user to be the owner of the cms/ folder. When I uploaded cms.war it was automatically deployed in ...
0
votes
1answer
366 views

Tomcat Not Accepting Username/Password for Manager GUI

Tomcat 7 on Arch Linux. Was working before but I screwed it up so this is now a fresh install (removed package, dependencies, cleaned cache, rebooted, reinstalled, restarted). I try to log in to the ...
0
votes
2answers
875 views

Jquery/Javascript not working when accessing webpage through system IP instead of localhost

I don't face this problem while working on localhost only when I access the page using the IP address of my system this happens and it only happens with IE (works on all other browsers). By the way ...
0
votes
2answers
5k views

XAMPP with Tomcat Add-On - how to configure it to serve Java OR PHP contents depending on given domain names

I know there are lots of topics related to Apache HTTP Server + Tomcat, but I didn't find the solution to my problem yet, but it's for sure someone has already met a problem like mine. I installed ...
2
votes
1answer
73 views

Will JSP Modification remain after Tomcat restart?

A war file is deployed in Tomcat 6 on Solaris 10. antiResourceLocking is not set to true. A change is to be made to a JSP in the application folder(exploded from the war file). No restart is made. If ...
1
vote
1answer
154 views

tomcat on windows + pages can not link to CSS

we have tomcat on a windows server that everyone on the devteam can access. on this machine the stylesheet/.js links work fine. i copied the war down to my local machine and installed apache on my ...
0
votes
1answer
184 views

Error with hosting a jsp file in Apache Tomcat 7.0.8

I have little experience with hosting and administering jsp sites in Apache Tomcat 7.0.8. Today I tried to host a site Apache Tomcat 7.0.8 but its giving me error like following: Bad Gateway The ...
0
votes
1answer
331 views

Problem running Apache-Tomcat on every web browser installed in Windows 7

I'm working on a web application in JSP and my web container is Apache Tomcat 7.0.2 (Its portable cross-platform version). As I've made extensive use of HTML5-CSS3 and my target browser is Google ...
1
vote
1answer
414 views

Apache sends 400 instead of 404

I've got an odd problem. Apache is replying with a 400 error code instead of 404 when ever a client requests a non existing jsp page (html request are answered correctly with a 404). The only time ...
0
votes
1answer
143 views

Apache Forward JSP pages to tomcat

I have Apache Server, in which my website running, but there is some jsp pages in my website. I have to forward my jsp pages and servlet to tomcat. Kindly help me so that I can make it possible. ...
0
votes
1answer
282 views

Cache JSP ByteCode with Tomcat?

Is there any way of caching the bytecode for JSP-powered sites with Tomcat? I'm getting really fed up of Tomcat taking up all the CPU for 10 minutes while it compiles 4 different webapps every time I ...
1
vote
1answer
176 views

Why does Tomcat try to use the cache when compilation failed?

For some reason, it appears Tomcat is trying to hit its compilation cache when compilation failed. For example, if I create a JSP containing nothing but Hello, <%=world%>!, predictably, I get ...
2
votes
2answers
2k views

JSP / Tomcat / Apache setup overview on Fedora Core

For someone with so much Java experience, boy do I feel clueless - thanks in advance for your help in my grocking the present (Feb, 2010) JSP environment. Here's what I am hoping to learn: Do I ...