Sakura Hana Posted November 14, 2013 Share Posted November 14, 2013 Dear everyone!!I got some problems with JasperReport Server.I need to create many organizations. Thus I don't need to get jasperadmin and joeusercome with those organizations. I also don't want to disable one by one.The question is how can I disable jasperadmin and joeuser after create organization?Please help me!! I got stuck and need to hurry solve.Any solutions, I really appreciated. Link to comment Share on other sites More sharing options...
micdaum Posted November 14, 2013 Share Posted November 14, 2013 You can define scripts and use the REST api. Link to comment Share on other sites More sharing options...
Sakura Hana Posted November 15, 2013 Author Share Posted November 15, 2013 I solved my own problems.Here is the solution:1. Go to {js_pro-path}webappsjasperserver-proWEB-INF2. Find the file name: applicationContext-multiTenancy.xml3. In the bean tag that has id="tenantDefaultUsers" and class="java.util.ArrayList", after erase something it look like this:<bean id="tenantDefaultUsers" class="java.util.ArrayList"><constructor-arg><list></list></constructor-arg></bean>4. Restart Tomcat Server. Enjoy it. 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