This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes Issues with iBATIS and godaddy shared hosting Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply Bookmark "Issues with iBATIS and godaddy shared hosting" Watch "Issues with iBATIS and godaddy shared hosting" New topic
Author

Issues with iBATIS and godaddy shared hosting

Rory Thomas
Greenhorn

Joined: Apr 17, 2008
Posts: 27
Anyone having trouble, or better yet, success (!), using iBATIS with godaddy shared hosting? I seem to be having an issue.

My setup is working with no problems on my home machine:
Apache Tomcat 5.0
Java 1.5 (compiled as 1.5 to match what is available from GoDaddy)
Struts 1.3.8
ibatis 2.3.4

However, when loaded to my godaddy account, it gets a nullpointer exception when processing the DynaValidatorForm. Through some error checking and testing, I was able to determine that it appears that one of my beans is returning as null. I believe it may have to do with not having the iBATIS jar on the server, even though I have it included in my webapp's build path.

Although the issue could be user error with the database call, I suspect it is because I cannot use iBATIS with godaddy. Has anyone had success with this?

Again, everything works on my home setup, so I'm just trying to figure out if I'm just having trouble getting it up on GoDaddy, or if GoDaddy actually won't allow me to do this (they rarely give straight answers)

In case code helps:



Thanks!


SCJP February 2010, SCJA June 2008
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Issues with iBATIS and godaddy shared hosting
 
Similar Threads
iBATIS Example exception
iBatis 2, Spring 2.5 - FileNotFoundException: http://www.mybatis.org/dtd/sql-map-config-2.dtd
WHAT AM I MISSING? iBatis - sqlMapConfig.xml
iBatis
Metro-iBATIS Problem while deploying web service using iBatis as mapping techonlogy.