nitinsahu Posted November 30, 2011 Share Posted November 30, 2011 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 advanceRegards,Nitin Sahu Link to comment Share on other sites More sharing options...
synchro Posted November 30, 2011 Share Posted November 30, 2011 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 Link to comment Share on other sites More sharing options...
Ching Ice-creaming Posted December 1, 2011 Share Posted December 1, 2011 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 Link to comment Share on other sites More sharing options...
nitinsahu Posted December 1, 2011 Author Share Posted December 1, 2011 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. Link to comment Share on other sites More sharing options...
khahn Posted December 1, 2011 Share Posted December 1, 2011 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. Link to comment Share on other sites More sharing options...
nitinsahu Posted December 2, 2011 Author Share Posted December 2, 2011 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. Link to comment Share on other sites More sharing options...
nitinsahu Posted December 2, 2011 Author Share Posted December 2, 2011 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! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now