VelocityReport on internal server

Questions and answers on developing, deploying and using plugins and JavaBeans

VelocityReport on internal server

Postby rieder » Fri Feb 18, 2022 4:20 pm

Hi

Our Tomcat runs on an internal server. Its IP-Adress is not available from outside. What are possibilities to call VelocityReport from an NG client from outside servers environment to generate a chart? We notice, that within the NG clients Webpage an image is embedded like
Code: Select all
<img src="http://10.x.x.x:8080/eastwood/chart?...;ewr=1" border="0" class="chart" width="860" height="305">


While reading the corresponding Wiki, I feel like others asked this question before. But, I do not understand the solution for this.What we thought so far:
  • Implementing a web service (running on server) to retrieve the image (from eastwood). But the returned chart is of course :( not the image (byte array) itself, but the image tag again with the same resource. So same result.
  • Using Google instead of eastwood. But no experience so far.
  • getByteMedia seems to be implemented for this purpose. But how is it used?

Any help will be appreciated a lot. Thanks and regards
Birgit
Birgit Rieder
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
rieder
 
Posts: 177
Joined: Thu Jan 26, 2012 5:18 pm

Re: VelocityReport on internal server

Postby ptalbot » Sat Feb 19, 2022 12:57 am

See my answer to your other question about using https://domain:port/ in velocityreport.serverURL, if you setup that property to the external url of your server the chart tag will be using that url.
Patrick Talbot
Freelance - Open Source - Servoy Valued Professional
https://www.servoyforge.net
Velocity rules! If you don't use it, you don't know what you're missing!
User avatar
ptalbot
 
Posts: 1654
Joined: Wed Mar 11, 2009 5:13 am
Location: Montreal, QC

Re: VelocityReport on internal server

Postby rieder » Sat Feb 19, 2022 10:52 am

Dear Patrick
Thank you for the answer. I‘ll read the answer in the other thread and hopefully be able to set up the server correctly.
Best regards
Birgit
Birgit Rieder
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
rieder
 
Posts: 177
Joined: Thu Jan 26, 2012 5:18 pm


Return to Plugins and Beans

Who is online

Users browsing this forum: No registered users and 9 guests