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
lxbfYeaa
Frederico Palma 11 years ago
parent b55f161a83
commit c570025adc

@ -25,6 +25,11 @@
<arguments> <arguments>
</arguments> </arguments>
</buildCommand> </buildCommand>
<buildCommand>
<name>org.eclipse.babel.editor.rbeBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec> </buildSpec>
<natures> <natures>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature> <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
@ -32,5 +37,6 @@
<nature>org.eclipse.wst.common.project.facet.core.nature</nature> <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature> <nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature> <nature>org.eclipse.wst.jsdt.core.jsNature</nature>
<nature>com.jaspersoft.studio.babel.editor.rbeNature</nature>
</natures> </natures>
</projectDescription> </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 int SMTP_PORT = 587;
private final String mail_username = "acidentes.auchan@siprp.pt"; private final String mail_username = "servico@siprp.pt";
private final String mail_password = "EghRzS2l"; private final String mail_password = "GR33%df5";
private void sendEmail(String emailTo, String login, String password, String admin_email) throws Exception private void sendEmail(String emailTo, String login, String password, String admin_email) throws Exception
{ {
@ -443,7 +443,6 @@ public class RecuperarPassword extends AbstractPageBean {
// try // try
// { // {
//Address Email_TO = new InternetAddress("myemail@bol.com.br");
msg.setFrom(new InternetAddress(admin_email)); msg.setFrom(new InternetAddress(admin_email));
InternetAddress[] address = {new InternetAddress(emailTo)}; InternetAddress[] address = {new InternetAddress(emailTo)};
msg.setRecipients(Message.RecipientType.TO, address); msg.setRecipients(Message.RecipientType.TO, address);

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

Loading…
Cancel
Save