You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We started the plugin, see POM, via mvn verify.
We also added a proxy to settings.xml.
We are not able to connect to the port 5432 via telnet localhost 5432 on Windows.
On Linux Ubuntu 16 we are able to connect via telnet and PgAdmin too.
We think that the command line is not constructed so well on Windows.
After we found the ZIP in user home, we extracted and started the database on command line with our commands, the database was bound to the port 5432 and telnet connected to it on Windows.
We used these native commands:
set PGDATA=e:\tmp\zmaz\xx\x\target\data\ pg_ctl initdb pg_ctl start -D e:\tmp\zmaz\xx\x\target\data\ -l logfile
now telnet: telnet localhost 5432
Stop the database after successful connection pg_ctl stop -D e:\tmp\zmaz\xx\x\target\data\ -l logfile
Thx @slavaz , I think it is my case. I tried to change the owner on Windows folder but no luck.
I did this in plugin config: <pgDatabaseDir>${project.build.directory}/data</pgDatabaseDir>
I launched this command to change owner to postgres: icacls data /grant:rw postgres:F /T
and then I run the build with mvn verify
Would this make sense and should this solve the issue?
We started the plugin, see POM, via
mvn verify
.We also added a proxy to
settings.xml
.We are not able to connect to the port
5432
viatelnet localhost 5432
on Windows.On Linux Ubuntu 16 we are able to connect via
telnet
and PgAdmin too.We think that the command line is not constructed so well on Windows.
After we found the ZIP in user home, we extracted and started the database on command line with our commands, the database was bound to the port 5432 and telnet connected to it on Windows.
We used these native commands:
set PGDATA=e:\tmp\zmaz\xx\x\target\data\
pg_ctl initdb
pg_ctl start -D e:\tmp\zmaz\xx\x\target\data\ -l logfile
now telnet:
telnet localhost 5432
Stop the database after successful connection
pg_ctl stop -D e:\tmp\zmaz\xx\x\target\data\ -l logfile
Here is our POM:
Here are Maven Debug logs of plugin configuration:
The text was updated successfully, but these errors were encountered: