lukas.matecki Posted August 20, 2013 Share Posted August 20, 2013 Hello,i am trying to install 2 Jasperserver Instances at one Host. At the installation i chose different Ports for every Server. I can start every Server. But when one is running i cant start the second one. The second one Tomcat cant start. I am getting the following error: ERROR ContextLoader,main:307 - Context initialization failedorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jasperJMXServerConnector' defined in ServletContext resource [/WEB-INF/applicationContext-diagnostic.xml]: Invocation of init method failed; nested exception is java.io.IOException: Cannot bind to URL [rmi://localhost:10991/jasperserver]: javax.naming.NameAlreadyBoundException: jasperserver [Root exception is java.rmi.AlreadyBoundException: jasperserver]Seams like that booth JasperServer trying to open rmi://localhost:10991. Should not be difficult to fix. Iam sure your guys can tell me how to fix this !GreetingsLukas Link to comment Share on other sites More sharing options...
Solution kcollins Posted August 20, 2013 Solution Share Posted August 20, 2013 This is caused by the JMX settings. If you used the bundled installer, it looks like there is a filed called js.diagnostic.properties in /WEB-INF/classes. There is one in WEB-INF also, but i think the one is the classes folder is the one you need to modify. It contains the port number. On a WAR install, you can set the port number, etc. in the default_master.properties file. This is explained in the installation guide.-Kris Link to comment Share on other sites More sharing options...
ilona Posted August 21, 2013 Share Posted August 21, 2013 To save you a minute or two of searching, the Installation Guide is available here: http://community.jaspersoft.com/documentation/jasperreports-server-install-guide-commercial-edition-0Cheers,Ilona 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