epineda
-
Posts
5 -
Joined
-
Last visited
Content Type
Profiles
Forum
Events
Featured Visualizations
Knowledge Base
Documentation (PDF Downloads)
Blog
Documentation (Test Area)
Documentation
Dr. Jaspersoft Webinar Series
Downloads
Posts posted by epineda
-
-
Finally I find a way:
Edit WEB-INF/jsp/modules/login/login.jsp and add the following lines at the end of form with id="loginForm" (between "</form>" and "</div>")
<script type="text/javascript"> Event.observe('loginForm', 'submit', function () { new JSCookie("my_cookie_name", $('j_username').value) });</script>
:) That's all
Post Edited by epineda at 05/04/2012 17:32 -
I'm using jasperserver CE 4.1.0 and I'm trying to hack the jasperserver code to put the username in a cookie after the login process. Anyone can help me to find which .java file I have to hack and where exactly?
I'm trying hacking some files in: jasperserver/multi-tenancy/src/main/java/com/jaspersoft/jasperserver/multipleTenancy/*.java but without sucess.
Thank you!!
Edgard.
Post Edited by epineda at 05/03/2012 20:35 -
Hi All,
I'm having problems trying to compile jasperserver-pro.
I'm using ubuntu lucid 10.04, I installed sun-java6-jdk, tomcat6, maven2, ant. And when I try to begin the build processes, specifically "js-ant add-jdbc-driver" command I got:
:/var/tmp/jasperreports-server-4.1.0-src/jasperserver/buildomatic$ ./js-ant add-jdbc-driver
Buildfile: /var/tmp/jasperreports-server-4.1.0-src/jasperserver/buildomatic/build.xml [echo] Filtering properties (cleaning out blank spaces) [echo] WARNING: no directory found for loading dependent jars for import/exportinit-source-paths: [echo] [echo] Property values (in dev.xml: init-source-paths): [echo] js-path = /var/tmp/jasperreports-server-4.1.0-src/jasperserver [echo] js-pro-path = /var/tmp/jasperreports-server-4.1.0-src/jasperserver-pro [echo] repo-path = /var/tmp/jasperreports-server-4.1.0-src/jasperserver-repo [echo] add-jdbc-driver: [echo] maven.home = /usrBUILD FAILED/var/tmp/jasperreports-server-4.1.0-src/jasperserver/buildomatic/bin/dev.xml:157: The following error occurred while executing this line:/var/tmp/jasperreports-server-4.1.0-src/jasperserver/buildomatic/bin/dev.xml:91: /usr/boot does not exist.Total time: 1 second
As you can see the problem is the setting of mave.home that should be /usr/share/maven2 and not /usr. I tried setting MAVEN_HOME AND M2_HOME and I got the same error...Any hints? thank you a lotEdgard.
Post Edited by epineda at 09/27/2011 15:59 -
Hi All,
I'm setting an apache2 server with basic authentication and with a proxypass to a jasperserver-pro installation.
I create a user configuration for this apache2, and create the same user (and same password) in the jasperserver in a specific organization "ORG1".
My problem is I didn't find where I can setup a default organization. The jasperserver validate correctly the user/password (I see the logs), but Jasperserver cannot resolve the organization id, throwing the login page again. (I only need 1 default organization)
I try to edit applicationContext-multiTenancy-web.xml and change:
<bean id="mtBasicProcessingFilter" parent="basicProcessingFilter" class="com.jaspersoft.jasperserver.multipleTenancy.MTBasicProcessingFilter"> <property name="tenantService" ref="${bean.hibernateTenantService}"/> <property name="portletOrganizationId"> <util:property-path path="mtPortletAuthenticationProcessingFilter.portletOrganizationId"/> </property> </bean>
to:
<bean id="mtBasicProcessingFilter" parent="basicProcessingFilter" class="com.jaspersoft.jasperserver.multipleTenancy.MTBasicProcessingFilter"> <property name="tenantService" ref="${bean.hibernateTenantService}"/> <property name="portletOrganizationId" value="ORG1"/> </bean>
without good results.
Any hints?
Thank you a lot.
Edgard.
Post Edited by epineda at 09/27/2011 14:40
Jasperserver 6.4.2 (linux bundle installation) javascript problem: "Error: Load timeout for modules"
in Products
Posted
I did a fresh install of JasperServer 6.4.2 on a Ubuntu 16.04, a default bundle installation.
Then I configure the apache2 with a proxy pass:
But when I enter to the login page, the login button appears disabled, and the javascript console shows errors:
Please, can anyone help me?
I tried to modify js.config.properties to set deploy.base.url, but nothing...