• 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

Axis Web Service not catching 0RA-28001 DB Password Expired exception

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everybody,

I am attempting to insert one row at a time to an Oracle DB, through an Axis Web Service. The DB connection is configured in the Tomcat server.xml. I am using preparedStatement.executeUpdate to run the insert query. It was working fine until the DB Password expired. The executeUpdate is returning 1 (ie. one row updated) but the data does not reach the DB. In the catalina.out, I am not seeing any exception either. I understand that since password has expired, data will not reach the DB. But my question is: Why is there no exception shown in catalina.out? How is executeUpdate returning 1? After resetting the password, I deliberately gave a wrong password and ran the client. This time, the ORA-01017: invalid username/password; logon denied exception came in catalina.out. Could someone explain what is happening? javascript:emoticon(''); Thanks in advance..
 
reply
    Bookmark Topic Watch Topic
  • New Topic