Mudanca da app para o servidor novo, com a BD no antigo

git-svn-id: https://svn.coded.pt/svn/SIPRP@1990 bb69d46d-e84e-40c8-a05a-06db0d633741
0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
Frederico Palma 11 years ago
parent b55f161a83
commit c570025adc

@ -25,6 +25,11 @@
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.babel.editor.rbeBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
@ -32,5 +37,6 @@
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
<nature>com.jaspersoft.studio.babel.editor.rbeNature</nature>
</natures>
</projectDescription>

@ -423,11 +423,11 @@ public class RecuperarPassword extends AbstractPageBean {
}
private final String SMTP_HOST = "mail2.evolute.pt";
private final String SMTP_HOST = "smtp.siprp.pt";
private final int SMTP_PORT = 587;
private final String mail_username = "acidentes.auchan@siprp.pt";
private final String mail_password = "EghRzS2l";
private final String mail_username = "servico@siprp.pt";
private final String mail_password = "GR33%df5";
private void sendEmail(String emailTo, String login, String password, String admin_email) throws Exception
{
@ -443,7 +443,6 @@ public class RecuperarPassword extends AbstractPageBean {
// try
// {
//Address Email_TO = new InternetAddress("myemail@bol.com.br");
msg.setFrom(new InternetAddress(admin_email));
InternetAddress[] address = {new InternetAddress(emailTo)};
msg.setRecipients(Message.RecipientType.TO, address);

@ -1,12 +1,12 @@
# production
server.siprp = localhost
server.siprp = evo.pt
port.siprp = 5436
database.siprp = siprp
username.siprp = postgres
#password.siprp =
server.siprp_local = localhost
server.siprp_local = evo.pt
port.siprp_local = 5436
database.siprp_local = siprp_local_3
username.siprp_local = postgres

Loading…
Cancel
Save