service web and database

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #16
    It looks like you don't have the database drivers installed.
    Please see post #4 of this thread...

    Also, you should know that a NullPointerExce ption means that you are attempting to use an Object before you have instantiated it. You should make sure that every object you are using exists before you try to use it. You can do this by checking if the object is NULL. If an object is Null (not instantiated... by using the keyword new) and you try to call a method that is a member of that object, you will get a NullPointerExce ption.

    See this article about the NullReferenceEx ception for more information.

    -Frinny

    Comment

    • manjava
      New Member
      • Sep 2009
      • 132

      #17
      Hello,
      i learn this tutorial http://www.bobsindia.com/bobyweb/art...axis/part2.jsp
      i have a problem when compile my project alone it's work but with service web not work
      i use eclipse ganymede axis2 and mysql and tomcat and i have mysql-connector-java-5.1.10-bin on lib the my poject but i think i neeed something for change the web.xml or the conf
      so if any one have how can resolve my probleme to connect to mysql with service web please tell me

      Thanks

      Comment

      • Frinavale
        Recognized Expert Expert
        • Oct 2006
        • 9749

        #18
        When you run your standalone project, is it on the same computer as the webservice?

        Comment

        • manjava
          New Member
          • Sep 2009
          • 132

          #19
          Hello,

          a found the probleme it is the driver the jdbc isn't exist on %Axis_Home%/common/lib on tomcat that is my need now i am resolve my probleme am very happy now thank you very much for you
          and the other

          thank you

          Comment

          Working...