GoDaddy Shared Hosting

General discussions.

Moderator: moderators

GoDaddy Shared Hosting

Postby niazx » Wed Jan 27, 2010 9:12 pm

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.
niazx
 
Posts: 5
Joined: Wed Jan 27, 2010 9:09 pm

Postby niazx » Mon Feb 01, 2010 5:22 pm

I am assuming nobody has tried this or successfully done this at godaddy. Has anybody successfully been running subsonic at any shared hosting?
niazx
 
Posts: 5
Joined: Wed Jan 27, 2010 9:09 pm

Postby BrianDelShasta » Sat Feb 06, 2010 3:03 pm

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.
BrianDelShasta
 
Posts: 116
Joined: Tue Jun 03, 2008 4:45 am
Location: USA

godaddy

Postby meekatron » Tue Feb 09, 2010 6:54 pm

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
meekatron
 
Posts: 5
Joined: Sun Dec 06, 2009 7:16 pm

Postby barretta » Tue Feb 09, 2010 10:13 pm

Try port 8180? I think that's the default tomcat port...
barretta
 
Posts: 21
Joined: Thu Dec 31, 2009 2:02 am

Postby meekatron » Wed Feb 10, 2010 10:11 pm

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.
meekatron
 
Posts: 5
Joined: Sun Dec 06, 2009 7:16 pm

Postby niazx » Fri Feb 12, 2010 8:33 pm

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.
niazx
 
Posts: 5
Joined: Wed Jan 27, 2010 9:09 pm

Postby niazx » Fri Feb 12, 2010 8:35 pm

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.
niazx
 
Posts: 5
Joined: Wed Jan 27, 2010 9:09 pm

Postby niazx » Fri Feb 12, 2010 8:37 pm

Has anybody actually successfully installed subsonic at GoDaddy shared hosting?
niazx
 
Posts: 5
Joined: Wed Jan 27, 2010 9:09 pm

Re: GoDaddy Shared Hosting

Postby sjamie » Wed Sep 28, 2011 12:00 am

Is there any way to have subsonic running on a GoDaddy server? I'm sure someone has accomplished this by now, right? (crossing fingers)
sjamie
 
Posts: 1
Joined: Tue Sep 27, 2011 11:55 pm

Re: GoDaddy Shared Hosting

Postby Robandcathy » Sat Oct 22, 2011 2:11 am

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.
Pain is a state of mind
Weak minded people feel pain
User avatar
Robandcathy
 
Posts: 64
Joined: Mon Sep 12, 2011 12:31 am

Re: GoDaddy Shared Hosting

Postby lbvagrant » Thu Feb 18, 2016 10:33 pm

reviving this old post to see if anyone has overcome this issue...
....
so....?
any one have any luck with go daddy and subsonic
Sent: Thu Apr 25, 2013 12:51 am
From: itzikv
To: lbvagrant

oh boy you are one pathetic egoistic idiot.

wow someone cant deal with a NO
User avatar
lbvagrant
 
Posts: 35
Joined: Fri Jun 08, 2012 9:30 pm


Return to General

Who is online

Users browsing this forum: No registered users and 22 guests