aspose file tools*
The moose likes Other Open Source Projects and the fly likes Metro-iBATIS Problem while deploying web service using iBatis as mapping techonlogy. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Metro-iBATIS Problem while deploying web service using iBatis as mapping techonlogy." Watch "Metro-iBATIS Problem while deploying web service using iBatis as mapping techonlogy." New topic
Author

Metro-iBATIS Problem while deploying web service using iBatis as mapping techonlogy.

Rizwan Patel
Ranch Hand

Joined: Jan 03, 2008
Posts: 59

Hi Ranchers,

I am currently stuck with a unique problem.

I need to deploy the MetroWebService on JBoss container, with iBATIS as object relational mapping tool on a remote server.

This is working perfectly fine with my local environment, but when I deployed the same on the remote server iBatis SQLMapClient object is not getting created its throwing the Initialization error.

Please have a look at the below stack trace.


Below is the code file written for reading the sqlmapconfig file and creating the sqlmapclient



Please help me to understand where the actual problem is involved.


scjp 1.5, OCPJWSD 5
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Are you sure you're deploying all the required jars?
Rizwan Patel
Ranch Hand

Joined: Jan 03, 2008
Posts: 59

Dear David,

I have deployed below jars related to iBATIS .

Is there any other jar is missing? or my config xml are wrong? I am attaching config file as well.



And my sqlMap file is as below:


Please help me.

Rizwan Patel
Ranch Hand

Joined: Jan 03, 2008
Posts: 59

Hello,

Is there any updates on my problem. I had try again by putting both the config and sqlmap files in the classpath, but still not resolve.

Please help me to resolve.

Rizwan Patel
Ranch Hand

Joined: Jan 03, 2008
Posts: 59

Solved.

Actually the problem is having with the version of the log4j.jar and I need to take the higher version and use the iBATIS API method for setting the logging mechanism to log4j.

Thank you very much for your valueable inputs.

 
Consider Paul's rocket mass heater.
 
subject: Metro-iBATIS Problem while deploying web service using iBatis as mapping techonlogy.