• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 59
Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you sure you're deploying all the required jars?
 
Rizwan Patel
Ranch Hand
Posts: 59
Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 59
Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 59
Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

 
reply
    Bookmark Topic Watch Topic
  • New Topic