Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
_AnonymousUser
Specialist III
Specialist III

Talend monitoring service configuration probleme (SAM)

Hi
I have a configuration problem with the impementation of the monitoring service talend (SAM), in my setup I use two CentOs servers a tomcat server and a server containing the runtime talend ,
the architecture:
-)I deployed the service that i want to condume on the runtime instance talend
-)I deployed a job consumer.war in the tomcat server (this job will consume the service deployed)
-)the monitoring service sam_monitoring_service.war on the tomcat server
-)an agent instance talend in osgi container talend(the talend runtime instance)
-)Mysql data source on the tomcat server to store data on a pre-configured MySQL database
according to the log of the tomcat the service is consumed and the sam_monitoring_service.war runs well but at the database tables are empty.

thank you.
Labels (3)
6 Replies
Anonymous
Not applicable

Hi,
did you make changes to the sam-server-war.war/WEB-INF/logserver.properties?
#for Mysql
#db.datasource=java:comp/env/jdbc/datasource
#db.dialect=mysqlDialect
By default SAM server will use Derby as backend DB, you need to switch to Mysql.
HTH
Xilai
_AnonymousUser
Specialist III
Specialist III
Author

yes i did it like this:

db.datasource=java:comp/env/jdbc/datasource
db.dialect=mysqlDialect
db.recreate=false
db.createsql=create_mysql.sql
Anonymous
Not applicable

ok, and if the datasource name which you configued in the Tomcat is "jdbc/datasource"?
<Resource name="jdbc/datasource" auth="Container"
type="javax.sql.DataSource" username="test" password="test"
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3306/test"
maxActive="8" maxIdle="30" maxWait="10000"/>
which version of ESB product you're using? 5.3 release?
Regards.
Xilai
_AnonymousUser
Specialist III
Specialist III
Author

thanks for your help
yes thats already added to $TOMCAT_HOME/conf/context.xml just with different username and password
and i'm using the 5.3 realease like you said

Regards
Fedi
Anonymous
Not applicable

Ok then please check one more configuration in your agent.properties (for consumer.war) and Runtime/etc/org.talend.esb.sam.agent.cfg.
service.url=http://localhost:8040/services/MonitoringServiceSOAP
make sure the correct url is set according to your Tomcat configuration.
if it's no problem then please post the detailed logs in Tomcat and Talend Runtime (log/tesb.log).
Thanks.
_AnonymousUser
Specialist III
Specialist III
Author

About the consumer.war i just deployed the talend job on the tomcat ,i dont know what the agent.properties configuration is about
Is there a required configuration of the consumer service ?
Regards .
Fedi