954,554 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Running Tomcat on a webserver?

I know how to run tomcat on MY computer, I just click the start button. My question is, how can I upload tomcat to a webserver and make it run forever(or at least until I click stop).

server_crash
Postaholic
2,111 posts since Jun 2004
Reputation Points: 113
Solved Threads: 20
 

You can't. It needs to be installed there for your use by the server administrator.

jwenting
duckman
Team Colleague
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
 
You can't. It needs to be installed there for your use by the server administrator.


That makes me want to scream. Is there another server/container you can put on a webserver yourself?

server_crash
Postaholic
2,111 posts since Jun 2004
Reputation Points: 113
Solved Threads: 20
 

no, of course not.
Any software running on a machine needs to be installed by someone who has a right to do so.

If that weren't the case the security implications would be enormous.
Of course if you have an account on that machine you might install it using an ssh connection, but if the machine is properly configured it should be inaccessible to the outside world as the firewall would block requests to it.

jwenting
duckman
Team Colleague
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
 

no, of course not. Any software running on a machine needs to be installed by someone who has a right to do so.

If that weren't the case the security implications would be enormous. Of course if you have an account on that machine you might install it using an ssh connection, but if the machine is properly configured it should be inaccessible to the outside world as the firewall would block requests to it.

Oh geez, this breaks my heart. Say on my webserver they have a spot for cgi scripts, is it possible they are running something that will run jsps and servlets?

server_crash
Postaholic
2,111 posts since Jun 2004
Reputation Points: 113
Solved Threads: 20
 

it is possible, and it can't hurt to ask.

If they don't, hosting space for servlets and JSPs isn't that expensive if you don't need large amounts of bandwidth.

jwenting
duckman
Team Colleague
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
 

Hello,

In my experience, you need to be the admin/supervisor to install an environment, such as Tomcat, or Apache, or things that interact at the higher level. There are some scripts out there, such as yappa-ng that a user could install, and run from his own area. BUt things that require tweaking of the firewall, or the opening of a port, or various levels of IO are saved for exclusive access to the root/supervisor accounts.

Christian

kc0arf
Posting Virtuoso
Team Colleague
1,937 posts since Mar 2004
Reputation Points: 121
Solved Threads: 57
 

And of course Tomcat would effectively be installed as a plugin to the webserver, requiring changes to the webserver configuration files (and thus a restart of the webserver itself).

jwenting
duckman
Team Colleague
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
 

Thanks guys, but I just said screw it. I don't have the smarts or time to do what I wanted. So, I just turned my site into a "hobby" site, and I'm just as satisfied.

server_crash
Postaholic
2,111 posts since Jun 2004
Reputation Points: 113
Solved Threads: 20
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You