Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Password Error
andy.rush
<p>BIRT noob here. Probably asking a stupid question, but here goes.</p>
<p> </p>
<p>I am working on an integrated BIRT app that will run as a standalone on a Tomcat server. I have been prototyping with simple reports created (by myself) as placeholders for the actual reports that are being created by someone with more design skills than i possess. My prototypes work fine in the application, but reports created by the designer throw an authentication error. Thinking it's a simple password issue, i fire up BIRT and change the report to match the the password used in my prototypes. Testing the report with the updated password work fine from BIRT in the Report Viewer, but fails authentication on the standalone Tomcat. Any thoughts on what may be happening to cause the error? <br><br>
The exception's stack trace from Tomcat:</p>
<p> </p>
<div>org.eclipse.birt.report.data.oda.jdbc.JDBCException: There is an error in get connection, FATAL: password authentication failed for user "postgres".</div>
<div>at org.eclipse.birt.report.data.oda.jdbc.JDBCDriverManager.doConnect(JDBCDriverManager.java:336)</div>
<div>at org.eclipse.birt.report.data.oda.jdbc.JDBCDriverManager.getConnection(JDBCDriverManager.java:235)</div>
<div>at org.eclipse.birt.report.data.oda.jdbc.Connection.connectByUrl(Connection.java:252)</div>
<div>at org.eclipse.birt.report.data.oda.jdbc.Connection.open(Connection.java:162)</div>
<div>at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaConnection.open(OdaConnection.java:250)</div>
<div>at org.eclipse.birt.data.engine.odaconsumer.ConnectionManager.openConnection(ConnectionManager.java:165)</div>
<div>at org.eclipse.birt.data.engine.executor.DataSource.newConnection(DataSource.java:224)</div>
<div>at org.eclipse.birt.data.engine.executor.DataSource.open(DataSource.java:212)</div>
<div>at org.eclipse.birt.data.engine.impl.DataSourceRuntime.openOdiDataSource(DataSourceRuntime.java:217)</div>
<div>at org.eclipse.birt.data.engine.impl.QueryExecutor.openDataSource(QueryExecutor.java:435)</div>
<div>at org.eclipse.birt.data.engine.impl.QueryExecutor.prepareExecution(QueryExecutor.java:322)</div>
<div>at org.eclipse.birt.data.engine.impl.PreparedQuery.doPrepare(PreparedQuery.java:463)</div>
<div>at org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.produceQueryResults(PreparedDataSourceQuery.java:190)</div>
<div>at org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.execute(PreparedDataSourceQuery.java:178)</div>
<div>at org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery.execute(PreparedOdaDSQuery.java:178)</div>
<div>at org.eclipse.birt.report.data.adapter.impl.DataRequestSessionImpl.execute(DataRequestSessionImpl.java:637)</div>
<div>at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExecuteQuery(DteDataEngine.java:152)</div>
<div>at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.execute(AbstractDataEngine.java:275)</div>
<div>at org.eclipse.birt.report.engine.executor.ExecutionContext.executeQuery(ExecutionContext.java:1947)</div>
<div>at org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:80)</div>
<div>at org.eclipse.birt.report.engine.executor.TableItemExecutor.execute(TableItemExecutor.java:62)</div>
<div>at org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor.java:43)</div>
<div>at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)</div>
<div>at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportItemExecutor.execute(LocalizedReportItemExecutor.java:34)</div>
<div>at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:65)</div>
<div>at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:92)</div>
<div>at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:100)</div>
<div>at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:181)</div>
<div>at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:77)</div>
<div>at com.scangroup.birt.wrapper.BirtToJson.BirtToJson.renderToJson(BirtToJson.java:51)</div>
<div>at com.scangroup.WrapperServlets.ReportServlet.birtToJson(ReportServlet.java:116)</div>
<div>at com.scangroup.WrapperServlets.ReportServlet.doGet(ReportServlet.java:93)</div>
<div>at javax.servlet.http.HttpServlet.service(HttpServlet.java:618)</div>
<div>at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)</div>
<div>at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:301)</div>
<div>at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)</div>
<div>at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)</div>
<div>at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)</div>
<div>at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)</div>
<div>at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)</div>
<div>at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)</div>
<div>at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)</div>
<div>at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:136)</div>
<div>at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:78)</div>
<div>at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)</div>
<div>at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)</div>
<div>at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:526)</div>
<div>at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1033)</div>
<div>at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:652)</div>
<div>at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:277)</div>
<div>at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2451)</div>
<div>at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2440)</div>
<div>at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)</div>
<div>at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)</div>
<div>at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)</div>
<div>at java.lang.Thread.run(Thread.java:745)</div>
Find more posts tagged with
Comments
There are no comments yet