[ 
http://mifosforge.jira.com/browse/MIFOSADMIN-24?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=57132#action_57132
 ] 

Udai Gupta commented on MIFOSADMIN-24:
--------------------------------------

Jeff, me and Ryan were troubleshooting the MIFOSADMIN-24 issue at SECDEP Jasper 
server. These were the steps we followed -

1) The log provided by Ryan indicated that JaperServer wasn't able to connect 
to the Production MySQL server.

2) "telnet <host> 3306" to see if the port is available, it was available.

3) "mysql -h <host> -u <user> -p<pwd>" to check if mysql client is able to 
connect to the server. (It was able to connect)

4) Replaced the password in dataSource to make sure the settings are correct.

5) Restarted the JasperServer, saw this error message restart "[x...@zzzzz 
init.d]$ connect /tmp/.X11-unix/X0: No such file or directory"

6) Reports parameters were appearing, which means we were able to get connected 
to database after restart (or password change).

7) But then we saw no reports after parameter submit, checking logs showed this 
error.

java.lang.InternalError: Can't connect to X11 window server using 
'localhost:10.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.access$000(X11GraphicsEnvironment.java:53)
at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:142)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:131)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at 
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:68)
at 
net.sf.jasperreports.engine.util.JRStyledTextParser.<clinit>(JRStyledTextParser.java:83)
at net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:174)
at 
net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:74)
at 
net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:56)

Wasn't sure how the X11 was configured for jasperServer, so left there.


> Jasper Reports for SECDEP Are not working
> -----------------------------------------
>
>                 Key: MIFOSADMIN-24
>                 URL: http://mifosforge.jira.com/browse/MIFOSADMIN-24
>             Project: mifos infrastructure
>          Issue Type: Task
>            Reporter: Ryan Whitney
>            Priority: Blocker
>
> Currently SECDEP cannot run their Jasper Reports.  It appears to be an issue 
> with the database connection.
> Error from Jasper
> com.jaspersoft.jasperserver.api.JSException: 
> jsexception.error.creating.connection
>  
> com.jaspersoft.jasperserver.api.JSException: 
> jsexception.error.creating.connection
>  at 
> com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.JdbcDataSourceService.createConnection(JdbcDataSourceService.java:59)
>  at 
> com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.BaseJdbcDataSource.setReportParameterValues(BaseJdbcDataSource.java:49)
>  at 
> com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.JdbcDataSourceService.setReportParameterValues(JdbcDataSourceService.java:64)
>  at 
> com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.executeQuery(EngineServiceImpl.java:1027)
>  at 
> com.jaspersoft.jasperserver.war.action.ReportParametersAction.executeQuery(ReportParametersAction.java:510)
>  at 
> com.jaspersoft.jasperserver.war.action.ReportParametersAction.createWrappers(ReportParametersAction.java:475)
>  at 
> com.jaspersoft.jasperserver.war.action.ReportParametersAction.createWrappers(ReportParametersAction.java:401)
>  at 
> com.jaspersoft.jasperserver.war.action.ReportParametersAction.createWrappers(ReportParametersAction.java:106)
>  at 
> com.jaspersoft.jasperserver.war.action.ViewReportAction.checkForParams(ViewReportAction.java:171)
>  at sun.reflect.GeneratedMethodAccessor429.invoke(Unknown Source)
>  at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>  at java.lang.reflect.Method.invoke(Method.java:585)
>  at 
> org.springframework.webflow.action.DispatchMethodInvoker.invoke(DispatchMethodInvoker.java:98)
>  at 
> org.springframework.webflow.action.MultiAction.doExecute(MultiAction.java:123)
>  at 
> org.springframework.webflow.action.AbstractAction.execute(AbstractAction.java:188)
>  at 
> org.springframework.webflow.execution.ActionExecutor.execute(ActionExecutor.java:51)
>  at 
> org.springframework.webflow.action.EvaluateAction.doExecute(EvaluateAction.java:79)
>  at 
> org.springframework.webflow.action.AbstractAction.execute(AbstractAction.java:188)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://mifosforge.jira.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to