aspose file tools*
The moose likes Spring and the fly likes Does Spring framework supported by godaddy shared linux hosting Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Does Spring framework supported by godaddy shared linux hosting" Watch "Does Spring framework supported by godaddy shared linux hosting" New topic
Author

Does Spring framework supported by godaddy shared linux hosting

kumareshan ethiraju
Greenhorn

Joined: Jan 29, 2010
Posts: 8
Hi everybody,

We have an account in godaddy shared linux hosting. When we tried simple application of java, the application was coming up. But when we used spring application, the application is not coming up. The error got is



We had used jdk 1.5, libraries of spring framework 2.5 to create the application. We tried contacting Godaddy customer support but they couldnt help us. If anybody had faced the same issue and solved it, please guide.
Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

I don't see a reason why your Spring-powered application won't work.
Spring after all isn't a runtime environment that needs to be installed in order to work.
If you Java application was working, it should works when you powered is with Spring.
Do you mind to post the log file?
kumareshan ethiraju
Greenhorn

Joined: Jan 29, 2010
Posts: 8
John Todd wrote:I don't see a reason why your Spring-powered application won't work.
Spring after all isn't a runtime environment that needs to be installed in order to work.
If you Java application was working, it should works when you powered is with Spring.
Do you mind to post the log file?



Thanks for your immediate response. We actually tried the "springapp" sample application which is given in "spring-framework-2.5.6\docs\MVC-step-by-step\html_single". We followed all the procedure mentioned in it to create the "springapp" sample application. The sample application works well on local machine. But when we upload the war file of application to "godaddy" server we get Resource not found error. We used jstl tags for redirecting index page to home page


Since we are having shared hosting, the godaddy is not allowing access to log files. Can you please suggest how to access log files?

Sorry for bothering you..

1) So you are telling that the spring framework and JSTL tags will not affect the working of application on godaddy server?

2) Upon googling we saw that the spring framework is supported by JDK version greater than 1.3 . Is that true?

3) When we had called upon godaddy customer support, they mentioned that our application is not working only because we are using the JSTL tags. The customer support guys do not know what are the versions of software they are using on godaddy. In the godaddy help page http://help.godaddy.com/article/896 they have mentioned about the tomcat version i.e Tomcat 5.0.27 but dint mention JDK version. So we assumed that they are using jdk 1.5 . But since customer support guys tell that they dont support JSTL tags i suspect that they are using JDK version 1.3 or still lower than 1.3 . Please correct if i am wrong.


Thank You..

Larry Chung
Ranch Hand

Joined: Feb 02, 2010
Posts: 247
On the face of it, I doubt very much that GoDaddy is running with anything older than JDK 1.4. After all, JDK 1.3 is almost 10 years old for crying out loud. The cause of your deployed application problem is in the deployment. Configuration files and descriptor files (i.e., the myriad of xml files) have to be just right for the DispatcherServlet to find index.jsp. Did you say you ran and tested the application on Tomcat on a local machine?


SCJP 6
kumareshan ethiraju
Greenhorn

Joined: Jan 29, 2010
Posts: 8
Yes, i tested the same code on my local machine and its working fine. Can you please suggest how to access log files on godaddy?
kumareshan ethiraju
Greenhorn

Joined: Jan 29, 2010
Posts: 8
Hi,

I have tried with the following code

index.jsp

hello.jsp


web.xml



springapp-servlet.xml

HelloController.java


In the above code i am using JSTL core tags to display a string in index.jsp and giving a link to hello.jsp . After trying this code, the index.jsp is displayed, but upon clicking the link, blank page is displayed. Can you please point me where i am going wrong.

kumareshan ethiraju
Greenhorn

Joined: Jan 29, 2010
Posts: 8
I had tested the above code in local machine and its working fine. But the same code is not working on godaddy shared web hosting.
Rod Hoover
Greenhorn

Joined: Jun 28, 2010
Posts: 1
I've been banging my head against GoDaddy's terrible Java hosting (and even worse tech support) for a few weeks now and I'm gathering that the security restrictions are so tight, you can't use any library that would use runtime byte code manipulation. Which means no Spring or Hibernate or CGLIB. So much for "you can use any library." Also worth noting is that you can't read to or write from files. GoDaddy's java hosting isn't good for much more than simple JSPs.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Does Spring framework supported by godaddy shared linux hosting