Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Does Spring framework supported by godaddy shared linux hosting

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
clojure forum advocate
Posts: 3479
Mac Objective C Clojure
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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..

 
Ranch Hand
Posts: 247
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
kumareshan ethiraju
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
If you send is by car it's a shipment, but if by ship it's cargo. This tiny ad told me:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic