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
6 Answers:
Posted on November 30, 2011 at 7:55am
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
Posted on December 1, 2011 at 12:11pm
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> |
Posted on December 1, 2011 at 11:00pm
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.