How to change the jasperserver URL?

0

Hi Guys,

How can we change the default jasperserver URL? I'm using Jasper server 4.1.0. I want to change the url address from http://localhost:8080/jasperserver-pro to http://localhost:8080/biserver.

Simply changing the folder name will help ?

Any help in this regard will be higly appreciated...

 

Thanks in advance

Regards,

Nitin Sahu

nitinsahu's picture
Joined: Nov 30 2011 - 2:36am
Last seen: 5 years 9 months ago

6 Answers:

0
You could just not worry about that name and set up a proxy (e.g. apache, nginx) in front of it which you can call what you like and not have to worry about the port 8080 part either. I run it at a URL like http://jasper.example.com/ which is a proxy to http://localhost:8080/jasperserver
synchro's picture
71
Joined: Nov 23 2011 - 3:45pm
Last seen: 6 years 3 weeks ago
0
During installation, change default name of webAppNamePro of default_master.properties.
# web app name
# (set one of these to deploy to a non-default war file name)
# webAppNameCE = jasperserver
# webAppNamePro = jasperserver-pro

Ching Ice-creaming's picture
Joined: Oct 22 2011 - 7:32pm
Last seen: 6 years 1 month ago
0
Thanks for the response... I was just wondering what if I have already installed the server?

Proxy we don't want to setup as it has some security issues. is there any other way of solving the issue.
nitinsahu's picture
Joined: Nov 30 2011 - 2:36am
Last seen: 5 years 9 months ago
2

If you use Tomcat, I think you need to do this:

Code:
1. Change the directory name of the <tomcat>/webapps/jasperserver to <tomcat>/webapps/mynewname.
 
2. Open <tomcat>/webapps/mynewname/WEB-INF/web.xml and change this element:
FROM: <param-value>jasperserver.root</param-value>
TO: <param-value>mynewname.root</param-value>
 
3. Delete <tomcat>\\conf\\Catalina\\localhost\\jasperserver.xml.
 
4. Delete <tomcat>\\work directory.
 
5. Restart Tomcat.</td></tr></tbody></table>
khahn's picture
158
Joined: Apr 4 2011 - 3:29pm
Last seen: 8 years 8 months ago
0
Thanks for the reply... I'm actually using jasperserver's professional edition 4.1.0. So in my case it is jasperserver-pro.root but don't you think this will impact jasper server. As I found in many places jasper is using jasperserver-pro.root as variable. For example <tomcat>/webapps/mynewname/WEB-INF/log4j.properties.
nitinsahu's picture
Joined: Nov 30 2011 - 2:36am
Last seen: 5 years 9 months ago
0
I just changed the folder name and deleted work directory and temp directory. It worked like champ. Thanks guys!

I tested reports, dashboard and also exported and imported reports working fine for me.

Thanks All!
nitinsahu's picture
Joined: Nov 30 2011 - 2:36am
Last seen: 5 years 9 months ago
Feedback
randomness