Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Glassfish

Posted on 2014-07-21
2
Medium Priority
?
193 Views
Last Modified: 2014-08-12
Hi,

What files do I need to edit to reset the database connection password?

Thanks
0
Comment
Question by:Jack_son_
2 Comments
 
LVL 8

Accepted Solution

by:
Pepe2323 earned 2000 total points
ID: 40209257
Hi

Look at your Glassfish installation path

${glassfish}/glassfish/domains

domain.xml shall be the file and you will see something like this:


<datasources>
<local-tx-datasource>
    <jndi-name>FizioDS</jndi-name>
    <connection-url>jdbc:postgresql://localhost:5432/fizio</connection-url>
    <driver-class>org.postgresql.Driver</driver-class>
    <user-name>fizio</user-name>
    <password>password</password> -----------------update your password
    </local-tx-datasource>
</datasources>

i hope this help
0
 

Author Comment

by:Jack_son_
ID: 40218420
thanks; i did try in this one spot but the service does not seem to start.  Is there any other place or something else I am missing?

Thanks
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show you step-by-step instructions to build your own NTP CentOS server.  The network diagram shows the best practice to setup the NTP server farm for redundancy.  This article also serves as your NTP server documentation.
Among the most obnoxious of Exchange errors is error 1216 – Attached Database Mismatch error of the Jet Database Engine. When faced with this error, users may have to suffer from mailbox inaccessibility and in worst situations, permanent data loss.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

571 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question