Apache Tomcat is an open source software implementation of the Java Servlet and JavaServer Pages technologies.

learn more… | top users | synonyms

3
votes
1answer
5k views

How to run an Apache Tomcat Webserver on my PC and access it from a real Android Device?

What I have I have a Tomcat 7.0 server running on my Windows 7 PC and I have a dial up internet connection. IP I get on whatismyip is 117.xxx.xxx.xxx. I want to use this machine to test my Android ...
0
votes
1answer
659 views

How do I set up my home server to go directly to a port other than 80

I'm using dyndns, a lynksis wt54g router, and tomcat 7 with spring to set up a web server. This is my first time to attempt this. I'm sure this is a very common question, but I don't know enough to ...
1
vote
1answer
2k views

Tomcat 7 FreeBSD HeapSize

I'm running Tomcat 7 on FreeBSD. I manually start it from /usr/local/etc/rc.d by executing ./tomcat7 onestart I need to increase the heap size for one application which runs in Tomcat. I added ...
0
votes
0answers
874 views

how to install Mysql & tomcat on mac os x 10.5.8

Hi can some one provide me how to install both om my mac osx 10.5.8 Hi can some one provide me how to install both om my mac osx 10.5.8 Ok this what I have done Downloaded MySQL version 5.5.22.dmg ...
2
votes
3answers
668 views

Running Webapp on Mac in UTC (either changing MacBook timezone or tomcat timezone)

To run my web app, I need to set my timezone to UTC on my MacBook. I can do this temporarily by opening a Konsole and entering sudo ln -sf /usr/share/zoneinfo/UTC /etc/localtime However, my ...
2
votes
1answer
6k views

If I export an environment variable in startup scripts does it persist?

When I create a startup script in /etc/init.d and do an export of a variable does this variable persist and is "viewable" to the started process? To be specific I have the following script to start ...
1
vote
2answers
972 views

Weird access from RIPE servers and other IP addresses

Looking at my server logs, I see a lot of activity from various IP addresses. Something like this: 69.65.10.86 - - [22/Feb/2012:11:14:40 -0200] "GET http://amate urangelz.com/ HTTP/1.1" 200 69869 ...
1
vote
0answers
382 views

Apache Tomcat 6.0.29 startup causing Win XP SP3 reboot

Some of our Windows XP Developer machines die (black screen - no ping) when starting up Tomcat from a console. This only happens if the Tomcat debug console window is displayed (not minimised). When ...
0
votes
1answer
337 views

tail -f makes tomcat die

We have a build file that does a git checkout, compiles a war, deploys to tomcat and then tail -f 's the catalina.log. If the ssh session over which this is done somehow dies, even though we are only ...
0
votes
3answers
2k views

Apache Tomcat Error

See the following error to access the localhost:8080: HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this ...
0
votes
1answer
336 views

How do I setup Java OpenID Server (JOIDS)?

I'm stuck on this step: Then you should modify the file in $CATALINA_BASE/conf/[enginename]/[hostname]/, especially the database and mail configurations, and the password for domain configurator(the ...
0
votes
1answer
717 views

Why's my Tomcat failing to start on FreeBSD?

Tomcat 7 on FreeBSD 8.2 is throwing the following error in catalina.log. SEVERE: StandardServer.await: create[localhost:8005]: java.net.BindException: Can't assign requested address at ...
3
votes
1answer
3k views

Why is my “catalina.out” 500MB big?

I noticed that my catalina.out in /var/log/tomcat is this big... why? How do I avoid this?
0
votes
1answer
2k views

Https connection in java

I have successfully generated a keystore using keytool -genkeypair -alias SomeAlias -keyalg RSA -validity 365 -keystore NAME.keystore -storetype JKS placed it in tomcat config dir and updated ...
0
votes
0answers
1k views

(111) Connection refused - Apache Tomcat on port 8080 - External

I just got my webpage running yesterday, but some how when i tried to connect external i get a (111) Connection refused. I have port forwarding on 8080, and it is working perfectly internally. I ...
0
votes
2answers
684 views

Public webserver with Apache Tomcat (OS X Lion)

I just find out that it is possible to create public webserver through "preference". Is it possible to make this "webserver" to a Apache Tomcat server? I develop in Java/Jsp/Servlet.. I use Lion and ...
0
votes
1answer
2k views

How do I get the Apache Tomcat System Icons on another account?

I installed 2 separate instances of Apache Tomcat 7 under my user profile account. This gives me the apache status as a system icon. If I log off and log in as the local administrator account, ...
0
votes
1answer
58 views

Under Windows7, why it prompts TomCat?

Under Windows 7, it prompts to say "failed to start the Tomcat service" when I restart the computer. However Tomcat is started up. Any reason?
1
vote
2answers
164 views

Why don't I have to set JAVA_HOME when installing Tomcat? [closed]

Looks like I do not need to set the JAVA_HOME environment variable when installing Tomcat, anyone can confirm?
0
votes
1answer
207 views

I have a server under Linux OS, I delete the tomcat folder, how to restore it?

I have a server under Linux OS, I delete the tomcat folder, how to restore it? this folder contain all my project under webapps and my tomcat configuration please help me to restore this folder ...
4
votes
1answer
1k views

SSL - how to trust localhost in Chrome?

In this previous question, SSL in Tomcat 7, I worked out how to get IE to trust a localhost certificate from my local Tomcat. That's ok for IE, but Chrome still doesn't trust it: I understand that ...
2
votes
2answers
13k views

Command shortcut to ./startup.sh Tomcat

Every time I need to start or stop Tomcat, I am navigating to: /Tomcat_Dir/bin and once I am in the folder I enter: ./Startup.sh And to stop the server, I navigate to the same directory and ...
0
votes
2answers
1k views

intranet tomcat accessing issue

I have a wireless router at my home. I hosted apache tomcat server on my laptop running on windows 7. then i tried to put another laptop on to the same wireless network. I am not able to access the ...
0
votes
1answer
2k views

Tomcat stops running when I exit the Terminal

I am trying to run Tomcat on Ubuntu System from a remote host. However, when I exit the terminal, Tomcat process shuts down. The command I am using to run it is nohup ./startup.sh &
0
votes
0answers
267 views

production server with php and jsp on a mac

I have a working development server with Apache, MySQL, PHP and Tomcat. I use virtual hosts for PHP websites (like admin.local and test.local) and I only have one .jsp webapp which runs on ...
0
votes
1answer
2k views

Understanding RAM usage on Linux

I'm completely new to Linux and I'm just trying to understand where all my RAM is going. I've got a pretty fresh install of Xubuntu running as a VMWare guest, and I've given it 1.5GB RAM to play with. ...
0
votes
1answer
437 views

How do I host multiple websites on a Mac?

I work on several PHP and JSP websites on my MacBook (running development Apache server and Tomcat) and they all are hosted on shared servers. What I want to do is to clone my MacBook to a Mac mini ...
1
vote
2answers
144 views

linux compatible rack server [closed]

My boss wants to buy a rack server. I'll have to move there couple of .jsp and .php websites that are now hosted on shared linux servers. I would guess all modern servers are compatible with linux, ...
3
votes
1answer
5k views

/manager/html in tomcat installation not accessible

I just installed tomcat 6 in Debian 6 with the apt-get: apt-get install tomcat6 tomcat6-common tomcat6-docs tomcat6-admin tomcat6-user After that, http://localhost:8080 is accessible without any ...
1
vote
2answers
814 views

How to set Environmental Variable?

Please tell me how to set environment variables JAVA_HOME MAVEN_HOME TOMCAT_HOME PATH I installed Java via terminal apt-get command, Tomcat and Eclipse by downloading tar.gz files and extracting ...
6
votes
6answers
53k views

Tomcat7 Service Cannot Start on Windows 7 Even When It Is Set to Log In as Administrator

I cannot automatically start the Tomcat7 service at startup on my Windows 7 laptop. On restarting Windows, I get the message "Access is Denied. Unable to Open the Service Tomcat7" even though I have ...
1
vote
2answers
2k views

Tomcat 5.5 installed as service but not visible in services?

I have installed tomcat 5.5 as a service in my system, but when i open the services using services.msc from the run in window, the Tomcat 5.5 is not available there!! What may be the problem, Any ...
0
votes
1answer
1k views

How to change user and execute commands remotely via SSH?

I want to log through SSH as user@remote and then change the user to tomcat, move files to $CATALINA_HOME/webapps and re-start the tomcat server in the same script.
0
votes
0answers
252 views

NetBeans window on mac keeps crashing when run project

NetBeans window on mac keeps crashing (grey color all over it) every time I run my project (Tomcat/Glassfish) so I need to "reset windows", is there any way to solve this problem
2
votes
3answers
5k views

Windows 7 port 80 problem

I want to run Tomcat on port 80. I changed its port on 80, it fail to bind. I check IIS, it use 8080(I configured) Then people said winrm share 80 with iis, I configured that, it used HTTP = 5985 ...
1
vote
2answers
599 views

Why does 'ls' command in linux return some results in [squarebrackets].jar?

Below is an example output of what I see when I run the 'ls' command on some directories in linux (this is from a tomcat/common/lib directory). However I'm not clear on why some of the filenames are ...
0
votes
1answer
840 views

eclipse tomcat: how can i deploy a java tomcat project to a directory without having tomcat installed?

I'm writing a tomcat project to be executed by red5 so I don't have any tomcat servers available. how can I deploy the project to a specific directory that I choose so it will copy the classes to the ...
3
votes
1answer
7k views

eclipse adding java ant based project: Specified buildfile does not contain a javac task

I have a project that i wrote for apache tomcat. I started working with eclipse i want to import the project to eclipse ide. using eclipse 3.6.1. when i create a new project using : File -> New -> ...
1
vote
2answers
316 views

What are good resources for getting started with Apache Tomcat 7?

We need to set up an Apache Tomcat 7 installation and get a third party software up and running. We have never used Apache Tomcat at all, although we are experienced Java developers, for what that's ...
0
votes
2answers
608 views

Tomcat: how to set short expiry for javascript files

I've got an application in which the Javascript is changing relatively rapidly; our testers have run repeatedly into the prroblem that a refresh of the page in IE and Firefox doesn't cause the new ...
1
vote
1answer
1k views

What is FarmWarDeployer? [closed]

What is FarmWarDeployer in the I have used that in the session Replication I onl know that webapplication is deployed in one place and I couldnot get that how to use it ? I am using tomcat6 in ...
1
vote
1answer
500 views

eclipse: start a tomcat project

How can I start a tomcat project with eclipse? I don't want a plugin that starts and stop my tomcat server, I just want to properly start a tomcat project and compile it. any ideas? I tried Eclipse ...
7
votes
4answers
12k views

Linux services: is there a GUI for services?

I am looking for a GUI program, that shows running services from /etc/init.d (and /etc/init), and allows to manage (start / stop / runlevel) them. What can you recommend? Background: even though I ...
0
votes
1answer
261 views

RHEL 4 reboot causes Tomcat process to not be started by non-root account

I have a startup script placed in /etc/init.d wherein I make the following call: nohup sudo -u myuser $CATALINA_HOME/bin/startup.sh 2>&1 This causes Tomcat to be run as myuser, which is ...
7
votes
3answers
7k views

How to install several Tomcat instances on Ubuntu?

I need to have two instances of Tomcat 6 running on Ubuntu 10.04. I know it should be doable pretty simply by something like: copy /var/lib/tomcat6 to /var/lib/tomcat6-2 modify ports in ...
1
vote
1answer
741 views

how to configure tomcat6 for ubuntu

i have installed Apache Tomcat6 for Ubuntu 9.04 recenty. But it seems that some API's like servelet and http are not included although I have installed OpenJDK 1.6. Somebody advised me to set ...
0
votes
2answers
1k views

Cannot install tomcat6 on CentOS

I am completely new to CentOS and want to install Tomcat6 however I cannot find it via yum. Am I missing a repo?