Page 1 of 1

GoDaddy Shared Hosting

PostPosted: Wed Jan 27, 2010 9:12 pm
by niazx
Has anybody installed Subsonic at godaddy with shared hosting? Is it possible? If so, would you mind sharing your knowledge? I know you can do it with dedicated or virtual dedicated hosting -- but I don't have that.

Great product BTW.

Thanks to all in advance.

PostPosted: Mon Feb 01, 2010 5:22 pm
by niazx
I am assuming nobody has tried this or successfully done this at godaddy. Has anybody successfully been running subsonic at any shared hosting?

PostPosted: Sat Feb 06, 2010 3:03 pm
by BrianDelShasta
Shared hosting should as long as the shared web server supports java servlets. I think you'll need to change the conf file though to specify a new location of the database and such. It will need to be located in your chrooted dir.

godaddy

PostPosted: Tue Feb 09, 2010 6:54 pm
by meekatron
i am trying to get this up and going as well if anyone knows how its done please help..

mydomain.com:8080 = 404 not found

mydomain.com/subsonic:8080 = page not found

mydomain.com/subsonic/:8080 = this

HTTP Status 404 - /subsonic/:8080

type Status report

message /subsonic/:8080

description The requested resource (/subsonic/:8080) is not available.

Apache Tomcat/5.0.27

and.. mydomain.com/subsonic = this

HTTP Status 404 - /subsonic/index.view

type Status report

message /subsonic/index.view

description The requested resource (/subsonic/index.view) is not available.

Apache Tomcat/5.0.27

PostPosted: Tue Feb 09, 2010 10:13 pm
by barretta
Try port 8180? I think that's the default tomcat port...

PostPosted: Wed Feb 10, 2010 10:11 pm
by meekatron
things dont seem to be very good. Can anyone tell me is this what is happening with the subsonic app
http://goo.gl/duHG

done a bit of digging so if anyone knows if there is any info in here which would allow us to fix this problem please let us know..

Adding a Java Servlet to Your Web Site
To deploy a servlet, you first need to compile it at your local box. Next, you can upload the class file to WEB-INF/classes directory. You should then be able to run it by entering the URL http://www.coolexample.com/servlet/yourservletname, where "www.coolexample.com" is the URL for your website.

Alternatively, you may package the servlet into a jar file and upload the jar file to the WEB-INF/lib directory. However, if you choose to use a jar file, you must wait for Tomcat to restart at its scheduled time before you see the servlet.

You can place the main configuration file, web.xml, in the WEB-INF/ folder. The web.xml file tells Tomcat how to handle servlet requests and where to direct URLs. Tomcat reads the file when it restarts.

The war file automatically explodes to the subfolder of the same name under your home directory and will deploy overnight.


Installing a Java Package
To install a Java package, simply place the jar file in the following directory on your hosting account:

Code: Select all
/WEB-INF/lib/

You must wait for Tomcat to restart for the jar file to expand. Tomcat is restarted automatically at 1:00 a.m., Arizona time.


Configuring a JSP Handler to Use with JSP and Web.xml
If you are using JSP and a custom web.xml file, you need to configure a JSP handler in the web.xml file. You can configure it using the following information:

Code: Select all
<web-app>
    <servlet-mapping>
         <servlet-name>jsp</servlet-name>
         <url-pattern>*.jspx</url-pattern>
    </servlet-mapping>

    <welcome-file-list>
         <welcome-file>index.html</welcome-file>
         <welcome-file>index.htm</welcome-file>
         <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>

    <servlet-mapping>
         <servlet-name>jsp</servlet-name>
         <url-pattern>*.jsp</url-pattern>
    </servlet-mapping>
</web-app>



Can I use third-party Java packages?
Yes. You can install any version of any Java package.

The following are installed on all Java-enabled accounts:

jdom.jar
dom.jar
mysql-connector-j.jar
mailapi.jar
smtp.jar
activation.jar
You can add extra jar files in the /WEB-INF/lib/ folder, or you can package .jar files into a .war file.


Adding a Java Servlet to Your Web Site
To deploy a servlet, you first need to compile it at your local box. Next, you can upload the class file to WEB-INF/classes directory. You should then be able to run it by entering the URL http://www.coolexample.com/servlet/yourservletname, where "www.coolexample.com" is the URL for your website.

Alternatively, you may package the servlet into a jar file and upload the jar file to the WEB-INF/lib directory. However, if you choose to use a jar file, you must wait for Tomcat to restart at its scheduled time before you see the servlet.

You can place the main configuration file, web.xml, in the WEB-INF/ folder. The web.xml file tells Tomcat how to handle servlet requests and where to direct URLs. Tomcat reads the file when it restarts.

The war file automatically explodes to the subfolder of the same name under your home directory and will deploy overnight.

NOTE: If your code is invalid or you attempt to violate security policies, your server will be disabled. For example, writing or reading to a directory other than /tmp, attempting to connect to a host that is not defined as an allowed host/port, and using the log4j module would be considered a violation. For directories Tomcat, Java, or Java Servlet pages disable, the pages will not load until the server is restarted the next morning.

PostPosted: Fri Feb 12, 2010 8:33 pm
by niazx
BrianDelShasta wrote:Shared hosting should as long as the shared web server supports java servlets. I think you'll need to change the conf file though to specify a new location of the database and such. It will need to be located in your chrooted dir.


It appears that tomcat does not have access rights to write in chrooted dir.

PostPosted: Fri Feb 12, 2010 8:35 pm
by niazx
barretta wrote:Try port 8180? I think that's the default tomcat port...


Tomcat uses 8080 as default. At godaddy (and I would assume at other hosting facilities) apache is configured on top of tomcat which listens on port 80.

PostPosted: Fri Feb 12, 2010 8:37 pm
by niazx
Has anybody actually successfully installed subsonic at GoDaddy shared hosting?

Re: GoDaddy Shared Hosting

PostPosted: Wed Sep 28, 2011 12:00 am
by sjamie
Is there any way to have subsonic running on a GoDaddy server? I'm sure someone has accomplished this by now, right? (crossing fingers)

Re: GoDaddy Shared Hosting

PostPosted: Sat Oct 22, 2011 2:11 am
by Robandcathy
Go Daddy does support Java script, but guess we need a programer to figure it out, as of now I have subsonic redirect directly to my server, from which it is run. Have not figured out how to actually run subsonic from go daddy.

Re: GoDaddy Shared Hosting

PostPosted: Thu Feb 18, 2016 10:33 pm
by lbvagrant
reviving this old post to see if anyone has overcome this issue...
....
so....?
any one have any luck with go daddy and subsonic