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

  • SEARCH
  • Home
  • 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 8680299
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T21:12:44+00:00 2026-06-12T21:12:44+00:00

I am a python developer by day, but I have some java experience as

  • 0

I am a python developer by day, but I have some java experience as well (mostly with struts). At work I was handed a grails app to install, which was ok, but the owners of the app didn’t supply any credentials, and the app loads to a login page.

I unpacked the war, but I think the DB config has been packaged into a jar somewhere, because I can’t seem to find any connection URL. There’s an h2 db file that’s been created after I deployed the App, so I’m wondering:

how can I connect to the db like you normally would with SQLite or mysql client, browse tables, and create an admin user so I can login?

  • 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-06-12T21:12:46+00:00Added an answer on June 12, 2026 at 9:12 pm

    Go with decompilation. You need not only a user and password, but at least a database JDBC URL. That may include DBMS name, host, port, database name – depending on Java driver specifics. Then connect as you would normally in Python or whatever, or with DBVisualizer.

    But if the database is in H2/hsql (URL is like jdbc:h2:mem:XXX), you’ve got a problem: it is a Java in-process DBMS. In order to gain external access to it, you’ll need to change the decompiled code, compile and pack it back with some additions. Hope it’s not your case.

    Another way in hsql/H2 case is to find and decompile database bootstrap code – as it’s an in-process DB, it should be filled at every application startup, so there should be a code creating that superuser.

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

Sidebar

Related Questions

I have some python code that was written by a developer before me. It
I'm a Java web developer that knows a bit of Python (but haven't done
I'm a PHP developer and don't have any experience with Python. Since GAE seems
First, some context: I'm a Python developer who has written a medium-sized application using
I'm a .NET developer who knows very little about Python, but want to give
I'm mainly a C# developer, but I'm currently working on a project in Python.
I have developed a python C-extension that receives data from python and compute some
I have a project idea, but unsure if using Python would be a good
I am porting a legacy Python system to Java. I'm a python developer primarily
I'm a java developer/python beginner, and I'm missing my maven features, particularly dependency management

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.