Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6730387
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T10:24:09+00:00 2026-05-26T10:24:09+00:00

I was wondering how one would go about using sqlite3 to validate users in

  • 0

I was wondering how one would go about using sqlite3 to validate users in tomcat6.
I do not have permission to install any sql type services, so I have to depend on sqlite3. My hope was to add this as a wrapper to an already existing deployment to provide better user management.

I have a users.db (tables: users(username,password), roles(username,role)) file sitting right next to tomcat-users.xml in /etc/tomcat6. I tried (unsuccessfully) to edit server.xml with this:

<Resource name="UserDatabase" auth="Container"
    type="javax.sql.DataSource"
    description="User database that can be updated and saved"
    driverClassName="org.sqlite.JDBC"
    pathname="conf/log.db" />

<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
    resourceName="UserDatabase"/>

Additionally, I got a JDBC driver sqlitejdbc-v056.jar for sqlite3 from http://www.zentus.com/sqlitejdbc/ and placed it in CATALINA_HOME (it is specifically at /usr/share/tomcat6/lib/sqlitejdbc-v056.jar).

Any help would be greatly appreciated from this frustrated Tomcat noobie. Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T10:24:10+00:00Added an answer on May 26, 2026 at 10:24 am

    No, you don’t have to depend on sqlite3. You could use HSQLDB which was written in Java and does not require any platform specific binaries. Another candidate is Apache Derby and maybe there are some others.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was wondering if any one could help me out; I have a table
I'm wondering how one would go about redirecting the stdin of a script from
I was just wondering about the efficiency of using a one dimensional hash (i.e.
In Business Intelligence Developer Studio, I'm wondering why one would want to create a
Hey I was just wondering if there is a cool one liner that would
I am wondering how one is supposed to format Objective C code using the
i was wondering if any one can advise me on how i can go
I was just wondering if any one knows of a good script to emulate
Just wondering what little scripts/programs people here have written that helps one with his
I am wondering how you would approach this problem I have two Taxrates that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.