• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java Web Application in Shared Hosting Account

 
Susan Smith
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm learning to create web application using Java.
I just signed up for a hosting account. It's a shared hosting account and I learned that I cannot restart Tomcat.

My question is: does it mean I cannot do things like connection pooling or / Tomcat authentication using database?
Since based on my understanding I need to access server.xml in Tomcat configuration file.

Can someone please advise if they have experience in this?

Thanks in advance. I really appreciate all the help.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65120
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To me, an account in which you have no control of Tomcat is completely useless.

But if you have access to Tomcat's Manager application you can at least start and stop your application.

Personally, I'd be looking for a better host.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Connection pooling will probably work; Tomcat should be set up with a pool you can use - you just need to declare it in your web.xml file. Check the provider's documentation for the pool's name.
 
Susan Smith
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just checked with the provider: No Tomcat Manager, No Connection Pooling and Tomcat DB authentication.
They offered "Dedicated Server" that can do all these, which is far more expensive.

Do most of the providers that offer Java support have similar situation (need to purchase dedicated server to be able to use connection pooling and tomcat db auth., etc)? Can someone please advise?

Thanks again for all the help.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I pay USD 17 per month for a hosted Tomcat that I can configure as I like, but I think you can get that for around USD 10 if you look around. That's not a dedicated server, though - some Tomcats instances belonging to other people also run on that machine. But it's a beefy server, so it's fine.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic