I am getting system error?
Asked by gopi:

![Capture.PNG](/t5/image/serverpage/image-id/4152i57285C5AA2C0307B/image-size/large?v=v2&px=999 "Capture.PNG")


Answers:
author: Hariharan_m Jaihindraj
body: An answer is given in the article below for the above issue.

<https://confluence.atlassian.com/confkb/confluence-returns-system-error-due-to-invocation-of-method-isshowsignup-in-class-com-atlassian-confluence-user-actions-loginaction-threw-exception-java-lang-nullpointerexception-at-login-vm-693899125.html>

However the solution provided is for MySQL database, and not for PostgreSQL.

Much appreciate If you could please provide the steps to resolve the same issue in PostgreSQL database.

Thank you,

Hari


author: Shannon S
body: Gopi,

To echo what Daniel let you know, wou can follow [How to find Confluence's database connection parameters](https://confluence.atlassian.com/confkb/how-to-find-confluence-s-database-connection-parameters-779172320.html) for more details on how to enter your PostgreSQL connection information. You will find the properties are listed there so you know where to enter all the details.

Let us know if you're having any trouble!

Kind Regards,  
Shannon

comments: author: gopi
body: Hi Shannon,

Rigth now the confluences is running in the windows machine. And it has right permissions to opent file.

Regards,Gopi.


author: Shannon S
body: Hello Gopi,

You'll want to first stop the Confluence process, edit the confluence.cfg.xml file, enter your database values, and save. Then you will be able to start Confluence.

Let us know if you have trouble!

Kind Regards,  
Shannon


author: gopi
body: Hi Mackie,

I enttered these database values

( \<property name="hibernate.connection.driver_class"\>org.postgresql.Driver\</property\>  
\<property name="hibernate.connection.password"\>confluence\</property\>  
\<property name="hibernate.connection.url"\>jdbc:postgresql://localhost:5432/confluence?autoReconnect=true\</property\>  
\<property name="hibernate.connection.username"\>confluenceuser\</property\>) in the confluence.cfg.xml.

But still same error I am getting.

Regards,

Gopi.


author: Shannon S
body: Hello Gopi,

If it's not reading your changes then they may not have been applied completely. Can you confirm you've restarted Confluence successfully after the changes?

You will also want to review [Database Setup for PostgresSQL](https://confluence.atlassian.com/doc/database-setup-for-postgresql-173244522.html) for the complete required format.

Kind Regards,  
Shannon


author: gopi
body: Hi Shannon,

I restarted confluence service and the service is sucessfully started.

It display the configure database page and when I click on Direct JDBC, it show that Syatem error.

Regards,

Gopi.


author: gopi
body: Hi Shannon,

I restarted confluence service and the service is sucessfully started.

It display the configure database page and when I click on Direct JDBC, it show that Syatem error.

Regards,

Gopi.


author: gopi
body: Any one please help me to set-up confluences in the my system.

Regards,

Gopi.


author: Shannon S
body: Hi Gopi,

In that case, I would recommend you do the following steps, if this is a fresh install:

1. Stop Confluence
2. Remove your [Confluence Home Directory](https://confluence.atlassian.com/doc/confluence-home-and-other-important-directories-590259707.html).

   Note: The \<confluence_home\> directory is the path defined in the following file: \<confluence_install\>/confluence/WEB-INF/classes/confluence-init.properties
3. Start Confluence

The setup wizard will then start again, and it will ask for your license first, then your database details that you entered earlier.

Let us know if you have any trouble!

Kind Regards,  
Shannon


author: Daniel Eads {unmonitored account}
body: Looks like Confluence is having trouble trying to get information about where its database is stored. These values are stored in **confluence.cfg.xml** in Confluence's home directory. Make sure that the database values exist in that file and that the user running the Confluence process has the right permissions to open the file.

comments: author: gopi
body: Is it possible for Web EX sessions to clear this problem?

Because I also have to configure with PostgreSQL database.