This week's book giveaway is in the Reactive Progamming forum.
We're giving away four copies of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams and have Adam Davis on-line!
See this thread for details.
Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming 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
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

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

 
Ranch Hand
Posts: 59
Java
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
  • 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
  • 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.

 
Anderson gave himself the promotion. So I gave myself this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!