Question
Capgemini
US
Last activity: 28 Apr 2017 14:36 EDT
/PRWEB Requested resource not available
I am new to pegaworld and installed the recent version of pega. Installation was successful but when i click the login shortcut 404 message(PRWEB requested resource is not available) is displayed . i have tried different options but unable to resolve the issue.Can anyone please help me out on this.
***Moderator Edit: Vidyaranjan | Updated Categories***
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
US
Hi KrishnaPrasad,
Is it a personal Edition ?
What do you mean by Login shortcut? Post installation, one must ensure that app server is running successfully with an active connection to Pega rulebase DB.
Have you tried logging in using http://YourHost:Port/prweb URL?
Can you share us the error screenshot and logs if any? We can help!
Capgemini
US
Sorry for not being clear.
Yes, it is a personal edition. Let me explain the events
i had personal edition 7.2.1 version and was working fine. I used it for a month .
I recently downloaded the 7.2.2 version and installed it.After install i tried starting up the server using the startup icon that is created on the desktop.It says server starting but with error message of cmd is not recognized as internal or external command.
So i started the tomcat server by going in to \bin folder and started the server successfully.
Once i click the login icon on the desktop it routes to http://localhost:8086/prweb and gives 404 error . I have attached screenshot of it.
thanks for the reply
Pegasystems Inc.
US
Hi Krishna,
Hope the older PE 7.2.1 instance is not interfering with 7.2.2 setup on your machine.
Just to confirm, removing the prweb from http://localhost:8086 URL shows a tomcat home page?
I think we will have to look into the logs when you bring up your tomcat server. Can you scan your tomcat folder for Catalina.out n PegaRULES logs and share it here?
Thanks!
Capgemini
US
yep, i am able to see the tomcat home page with http://localhost:8086 URL.
i have scanned the tomcat folder and found catalina.log file . I have attached the screenprint. I am a backend developer and very much new to this nuances. Please have patience if i am doing wrong.
Pegasystems Inc.
IN
Capgemini
US
on the Apache home page, the prweb app has not started. i tried restarting it but it fails with the message
FAIL - Application at context path /prweb could not be started.
redeploying through console also did not work.
-
Aditya Boggarapu
Pegasystems Inc.
US
Hi Krishnaprasad,
Please attach the latest Catalina.out log which is a complete one. The screenshot didn't really provide any useful info on failure deployment.
Capgemini
US
I have attached the log and highlighted the errors in red.
Pegasystems Inc.
US
Hi KrishnaPrasad,
From the server logs, it is clear that DB connection failure occurred.
Caused by: org.postgresql.util.PSQLException: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:239)
at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66)
at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:127)
Please ensure to check the following. The JDBC URL and connections properties specified in context.xml should be validated.
-
PostgreSQL isn't running on your machine
Hi KrishnaPrasad,
From the server logs, it is clear that DB connection failure occurred.
Caused by: org.postgresql.util.PSQLException: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:239)
at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66)
at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:127)
Please ensure to check the following. The JDBC URL and connections properties specified in context.xml should be validated.
-
PostgreSQL isn't running on your machine
-
PostgreSQL isn't listening for TCP/IP connections on 5432 - To check this run
netstat -a
& check if Postgres is waiting for connections on 5432 port. -
Any other firewall services are blocking the connection from Tomcat to Postgres may be.
-
In some cases, editing pg_hba.conf file under postgresql directory did help to allow all connections. (The cause is that the PostgreSQL
pga_hba.conf
file is not set to TRUST versus IDENT)
If you face any difficulties in validating/trying the above things, maybe you can raise one SR and get quick assistance on a screen share. I am sure support engineers can resolve this much quicker.
-
Aidan Perry
Capgemini
US
I have validated the above listed things and looks like postgres is waiting for connection. Everything else looks good.
I have installed pega in my company's laptop and think this should have something to do with the firewall services. I have given it up and waiting to see if I can connect to pega on my companies cloud network. I do not have access to raise the SR.
Appreciate your help in providing me the inputs