views:

332

answers:

2

Dear All,

Could any body please help me ? I called godaddy several time and still no proper answer.

Problem 1) Hosting Plan :- I asked for Java linux unlimited host plan and initially they gave me Linux Web Hosting - Unlimited - 3 years but My simple Hellowrold JSP not worked(showing the full file contents with JSP tags) so I called and asked they said this is not the correct plan and they gave Unlimited Hosting - Linux - 3 years ( this what it says in hosting account details) . Even still this not working . Can any body suggest me what exact plan do you have where java is working.

Problem 2) I am uploading few word documents through my web application , But they say I have to use \tmp folder and should not create any directories or files under my project directory dynamically through the application . Is it true? if How do I use /tmp directory ,what path should I use and how do I check the uploaded documents?

Problem 3) Connection Pooling :- Can we use context.xml file in shared linux hosting to connect to mySQL and to created connection pooling? If not can any body suggest the best approch to connect to Mysql?

Problem 4)Daily email quota they said only 1000 using Java API using their SMTP server. Quite surprising . Is there any work around for this?

Sorry for the bunch of question . But I called support guys several time and not got proper response .

Thanks for your time and Looking into this Regards Kaveri C Vasireddy

A: 
  1. You need to elaborate "not working". Edit your question with more information. Please elaborate the problem in developer's perspective, not in enduser's perspective.

  2. Just File file = new File("/tmp", "filename.ext"); I however doubt the value of this location as permanent storage. Maybe better look for dedicated hosting or colocation or make use of the database.

  3. It is in theory possible. Just try it. Godaddy is the only who can give definitive answer on this. As an alternative you can also just do the pooling at webapp level with help of for example C3P0.

  4. Yes, either upgrade your account or look for another host or go for dedicated hosting or colocation.

BalusC
Thanks Balu for the details and I am working on it
Kaveri
+1  A: 

Dear all, In order to buy Hosting account with GODADDY that support java use below link. Please get correct link from their support team than believing any third person. [http://www.godaddy.com/Hosting/Legacy.aspx?ci=1234%5D%5B1%5D

In my case JSP Servlet were not working because Hosting account did not support JAVA.

When you buy a Hosting account on their Legacy Server that support java you need to enable java support by going into Add on Language.Your Java Support will be activated in 42 hrs.

To connect To mysql you can find JSP code in their help section. You just need to paste your MySQL server Host.

DriverManager.getConnection("jdbc:mysql://YOUR MYSQL HOST NAME:3306/"+DATABASENAME,username, pass);

Hope this will clear things for you.

Chava