Jump to content
We've recently updated our Privacy Statement, available here ×

smtp configuration for jasper server


tlind

Recommended Posts

I have download and installed the linux installer of jasperserver 2.1.x

 

I used a pre-existing installation of MySQL and the and used the bundled tomcat.

 

during the wizard I configured the smpt for report sending. I made a mistake and it will not login to the smtp account. I found the file that another thread pointed to :

 

/opt/jasperserver-2.1/scripts/config/js.mail.properties

 

That file had no parameters in it. So I populated it with the correct information. However the message log is still showing an error and the original information. So obviously there is another place the smtp for either Tomcat or jasper is located.

 

Can you point me to that place???

 

Thanks!

 

~todd

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Todd,

 

You'll find another copy of the same file underneath tomcat. I don't have the default Linux path handy, but it's something like this:

 

.../apache-tomcat/webapps/jasperserver-pro/WEB-INF

 

The js.mail.properties in there is the one you want to change.

 

Regards,

Matt

Jaspersoft

Link to comment
Share on other sites

Hi Matt,

 

Found it and it worked perfectly (with a server stop and start).

 

For anyone out there the path is to:

 

/opt/jasperserver-2.1/apache-tomcat/webapps/jasperserver/WEB-INF

 

 

(I installed jasper under /opt off of the root.)

 

Thanks so much!

 

Regards,

 

Todd

Link to comment
Share on other sites

I'm not sure if this still happens in 3.0.0, but in versions up to 3.0 RC1 the js.mmail.properties file was not populated correctly.

 

For example, if during the installation you leave the user name and password blank, the installer will place a bogus value in their place. Blank is blank -- so when the user leaves it blank, the js.mail.properties values should also be blank. It took me a while to figure this out, and as soon as I removed the place holders, JasperServer was able to send out e-mails.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...