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.
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.
Joined: Oct 13, 2007
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.
Joined: Mar 22, 2005
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.