felipedamiani 31 de mar. de 2009
lelodois 31 de mar. de 2009
Demora bastante, e depois da Java Heap Space
Java heap space
at java . util . Arrays . copyOf ( Unknown Source )
at java . lang . String .< init > ( Unknown Source )
at java . io . Win32FileSystem . resolve ( Unknown Source )
at java . io . File .< init > ( Unknown Source )
at org . apache . naming . resources . FileDirContext . list ( FileDirContext . java : 909 )
at org . apache . naming . resources . FileDirContext . listBindings ( FileDirContext . java : 337 )
at org . apache . naming . resources . ProxyDirContext . listBindings ( ProxyDirContext . java : 515 )
at org . apache . catalina . loader . WebappClassLoader . modified ( WebappClassLoader . java : 735 )
at org . apache . catalina . loader . WebappLoader . modified ( WebappLoader . java : 477 )
at org . apache . catalina . loader . WebappLoader . backgroundProcess ( WebappLoader . java : 398 )
at org . apache . catalina . core . ContainerBase . backgroundProcess ( ContainerBase . java : 1277 )
at org . apache . catalina . core . ContainerBase $ ContainerBackgroundProcessor . processChildren ( ContainerBase . java : 1569 )
at org . apache . catalina . core . ContainerBase $ ContainerBackgroundProcessor . processChildren ( ContainerBase . java : 1578 )
at org . apache . catalina . core . ContainerBase $ ContainerBackgroundProcessor . processChildren ( ContainerBase . java : 1578 )
at org . apache . catalina . core . ContainerBase $ ContainerBackgroundProcessor . run ( ContainerBase . java : 1558 )
at java . lang . Thread . run ( Unknown Source )
31 / 03 / 2009 | 08 : 45 : 51.406 | ERROR | Servlet . service () for servlet action threw exception
java . lang . OutOfMemoryError : Java heap space
at java . text . RuleBasedBreakIterator . readFile ( Unknown Source )
at java . text . RuleBasedBreakIterator . readTables ( Unknown Source )
at java . text . RuleBasedBreakIterator .< init > ( Unknown Source )
at java . text . BreakIterator . createBreakInstance ( Unknown Source )
at java . text . BreakIterator . getBreakInstance ( Unknown Source )
at java . text . BreakIterator . getLineInstance ( Unknown Source )
at java . text . BreakIterator . getLineInstance ( Unknown Source )
at java . awt . font . LineBreakMeasurer .< init > ( Unknown Source )
at net . sf . jasperreports . engine . fill . TextMeasurer . renderParagraph ( TextMeasurer . java : 288 )
at net . sf . jasperreports . engine . fill . TextMeasurer . measure ( TextMeasurer . java : 249 )
at net . sf . jasperreports . engine . fill . JRFillTextElement . chopTextElement ( JRFillTextElement . java : 535 )
at net . sf . jasperreports . engine . fill . JRFillStaticText . prepare ( JRFillStaticText . java : 194 )
at net . sf . jasperreports . engine . fill . JRFillElementContainer . prepareElements ( JRFillElementContainer . java : 344 )
at net . sf . jasperreports . engine . fill . JRFillBand . fill ( JRFillBand . java : 346 )
at net . sf . jasperreports . engine . fill . JRFillBand . fill ( JRFillBand . java : 305 )
at net . sf . jasperreports . engine . fill . JRVerticalFiller . fillBandNoOverflow ( JRVerticalFiller . java : 425 )
at net . sf . jasperreports . engine . fill . JRVerticalFiller . fillPageHeader ( JRVerticalFiller . java : 388 )
at net . sf . jasperreports . engine . fill . JRVerticalFiller . fillPageBreak ( JRVerticalFiller . java : 1296 )
at net . sf . jasperreports . engine . fill . JRVerticalFiller . fillColumnBreak ( JRVerticalFiller . java : 1319 )
at net . sf . jasperreports . engine . fill . JRVerticalFiller . fillDetail ( JRVerticalFiller . java : 674 )
at net . sf . jasperreports . engine . fill . JRVerticalFiller . fillReportStart ( JRVerticalFiller . java : 255 )
at net . sf . jasperreports . engine . fill . JRVerticalFiller . fillReport ( JRVerticalFiller . java : 113 )
at net . sf . jasperreports . engine . fill . JRBaseFiller . fill ( JRBaseFiller . java : 891 )
at net . sf . jasperreports . engine . fill . JRBaseFiller . fill ( JRBaseFiller . java : 814 )
at net . sf . jasperreports . engine . fill . JRFiller . fillReport ( JRFiller . java : 89 )
at net . sf . jasperreports . engine . JasperFillManager . fillReport ( JasperFillManager . java : 601 )
at net . sf . jasperreports . engine . JasperFillManager . fillReport ( JasperFillManager . java : 582 )
at br . com . house . report . ReportJasper . doReportPdfStream ( ReportJasper . java : 82 )
at br . com . house . action . report . ReportProxyAction . process ( ReportProxyAction . java : 293 )
at br . com . house . action . ActionBase . execute ( ActionBase . java : 18 )
at org . apache . struts . action . RequestProcessor . processActionPerform ( RequestProcessor . java : 431 )
at org . apache . struts . action . RequestProcessor . process ( RequestProcessor . java : 236 )
31 / 03 / 2009 | 08 : 45 : 51.531 | ERROR | Servlet . service () for servlet jsp threw exception
java . lang . IllegalStateException : getOutputStream () has already been called for this response
at org . apache . catalina . connector . Response . getWriter ( Response . java : 599 )
at org . apache . catalina . connector . ResponseFacade . getWriter ( ResponseFacade . java : 195 )
at org . apache . jasper . runtime . JspWriterImpl . initOut ( JspWriterImpl . java : 124 )
at org . apache . jasper . runtime . JspWriterImpl . flushBuffer ( JspWriterImpl . java : 117 )
at org . apache . jasper . runtime . PageContextImpl . release ( PageContextImpl . java : 191 )
at org . apache . jasper . runtime . JspFactoryImpl . internalReleasePageContext ( JspFactoryImpl . java : 115 )
at org . apache . jasper . runtime . JspFactoryImpl . releasePageContext ( JspFactoryImpl . java : 75 )
at org . apache . jsp . axis2_002dweb . Error . error500_jsp . _jspService ( error500_jsp . java : 99 )
at org . apache . jasper . runtime . HttpJspBase . service ( HttpJspBase . java : 97 )
at javax . servlet . http . HttpServlet . service ( HttpServlet . java : 802 )
at org . apache . jasper . servlet . JspServletWrapper . service ( JspServletWrapper . java : 332 )
at org . apache . jasper . servlet . JspServlet . serviceJspFile ( JspServlet . java : 314 )
at org . apache . jasper . servlet . JspServlet . service ( JspServlet . java : 264 )
at javax . servlet . http . HttpServlet . service ( HttpServlet . java : 802 )
at org . apache . catalina . core . ApplicationFilterChain . internalDoFilter ( ApplicationFilterChain . java : 252 )
at org . apache . catalina . core . ApplicationFilterChain . doFilter ( ApplicationFilterChain . java : 173 )
at org . apache . catalina . core . ApplicationDispatcher . invoke ( ApplicationDispatcher . java : 672 )
at org . apache . catalina . core . ApplicationDispatcher . processRequest ( ApplicationDispatcher . java : 465 )
at org . apache . catalina . core . ApplicationDispatcher . doForward ( ApplicationDispatcher . java : 398 )
at org . apache . catalina . core . ApplicationDispatcher . forward ( ApplicationDispatcher . java : 301 )
at org . apache . catalina . core . StandardHostValve . custom ( StandardHostValve . java : 363 )
at org . apache . catalina . core . StandardHostValve . status ( StandardHostValve . java : 284 )
at org . apache . catalina . core . StandardHostValve . throwable ( StandardHostValve . java : 228 )
at org . apache . catalina . core . StandardHostValve . invoke ( StandardHostValve . java : 134 )
at org . apache . catalina . valves . ErrorReportValve . invoke ( ErrorReportValve . java : 105 )
at org . apache . catalina . core . StandardEngineValve . invoke ( StandardEngineValve . java : 107 )
at org . apache . catalina . connector . CoyoteAdapter . service ( CoyoteAdapter . java : 148 )
at org . apache . coyote . http11 . Http11Processor . process ( Http11Processor . java : 869 )
at org . apache . coyote . http11 . Http11BaseProtocol $ Http11ConnectionHandler . processConnection ( Http11BaseProtocol . java : 664 )
at org . apache . tomcat . util . net . PoolTcpEndpoint . processSocket ( PoolTcpEndpoint . java : 527 )
at org . apache . tomcat . util . net . LeaderFollowerWorkerThread . runIt ( LeaderFollowerWorkerThread . java : 80 )
at org . apache . tomcat . util . threads . ThreadPool $ ControlRunnable . run ( ThreadPool . java : 684 )
at java . lang . Thread . run ( Unknown Source )
31 / 03 / 2009 08 : 45 : 51 org . apache . catalina . core . StandardHostValve custom
SEVERE : Exception Processing ErrorPage [ errorCode = 500 , location =/ axis2 - web / Error / error500 . jsp ]
org . apache . jasper . JasperException : getOutputStream () has already been called for this response
at org . apache . jasper . servlet . JspServletWrapper . handleJspException ( JspServletWrapper . java : 510 )
at org . apache . jasper . servlet . JspServletWrapper . service ( JspServletWrapper . java : 387 )
at org . apache . jasper . servlet . JspServlet . serviceJspFile ( JspServlet . java : 314 )
at org . apache . jasper . servlet . JspServlet . service ( JspServlet . java : 264 )
at javax . servlet . http . HttpServlet . service ( HttpServlet . java : 802 )
at org . apache . catalina . core . ApplicationFilterChain . internalDoFilter ( ApplicationFilterChain . java : 252 )
at org . apache . catalina . core . ApplicationFilterChain . doFilter ( ApplicationFilterChain . java : 173 )
at org . apache . catalina . core . ApplicationDispatcher . invoke ( ApplicationDispatcher . java : 672 )
at org . apache . catalina . core . ApplicationDispatcher . processRequest ( ApplicationDispatcher . java : 465 )
at org . apache . catalina . core . ApplicationDispatcher . doForward ( ApplicationDispatcher . java : 398 )
at org . apache . catalina . core . ApplicationDispatcher . forward ( ApplicationDispatcher . java : 301 )
at org . apache . catalina . core . StandardHostValve . custom ( StandardHostValve . java : 363 )
at org . apache . catalina . core . StandardHostValve . status ( StandardHostValve . java : 284 )
at org . apache . catalina . core . StandardHostValve . throwable ( StandardHostValve . java : 228 )
at org . apache . catalina . core . StandardHostValve . invoke ( StandardHostValve . java : 134 )
at org . apache . catalina . valves . ErrorReportValve . invoke ( ErrorReportValve . java : 105 )
at org . apache . catalina . core . StandardEngineValve . invoke ( StandardEngineValve . java : 107 )
at org . apache . catalina . connector . CoyoteAdapter . service ( CoyoteAdapter . java : 148 )
at org . apache . coyote . http11 . Http11Processor . process ( Http11Processor . java : 869 )
at org . apache . coyote . http11 . Http11BaseProtocol $ Http11ConnectionHandler . processConnection ( Http11BaseProtocol . java : 664 )
at org . apache . tomcat . util . net . PoolTcpEndpoint . processSocket ( PoolTcpEndpoint . java : 527 )
at org . apache . tomcat . util . net . LeaderFollowerWorkerThread . runIt ( LeaderFollowerWorkerThread . java : 80 )
at org . apache . tomcat . util . threads . ThreadPool $ ControlRunnable . run ( ThreadPool . java : 684 )
at java . lang . Thread . run ( Unknown Source )
felipedamiani 31 de mar. de 2009
quantos registros esta retornando?
palmadias 31 de mar. de 2009
A memoria da sua JVM é insuficiente. Aumente a memoria passando os parametros -Xms256M -Xmx1024M na linha de comando.
-Xms256M = JVM começa alocando 256Mb
-Xmx1024M = JVM chega até 1gb.
abraços.
lelodois 31 de mar. de 2009
já passei no eclipse…
run configuration > arguments > vm arguments
-Dcatalina.base=“C:\workbench\tomcat”
-Dcatalina.home=“C:\workbench\tomcat”
-Dwtp.deploy=“C:\workbench\tomcat\wtpwebapps”
-Djava.endorsed.dirs=“C:\workbench\tomcat\common\endorsed”
-DXmx=512m
-DXms=512m
Trás somente 4 registros na minha lista, mas acho que esta dando looping infinito no jasper.
lelodois 31 de mar. de 2009
Era o jasper que não tinha compilado perfeitamente…
Agora com o jasper já compilado e com a tipagem dos objetos correta, não mostra nada no relatório, mostra o pdf em branco e não gera nenhuma exceção.
grato