Calling JasperReports Server web service from a web app - Logs blocked - System OutputStream

0

I am calling the list operation of JR Server web service from my web application and it is executing fine. But after a connection is made with JR Server, there is a print

"[AuthChallengeProcessor] basic authentication scheme selected

displayed on my screen and further System.out prints of my web application get blocked. I have tried using put operation also, it worked fine too. But, same prints disappearing problem repeats.When i debugged this, i observed that this problem occurs when com.jaspersoft.ireport.jasperserver.ws.WSClient calls list or put operations

Here is my log :

22:51:06,208 ERROR [STDERR] inside list() 4.2.1org.jboss.logging.util.LoggerStream@438593
22:51:06,453 WARNING [NbPreferences] NetBeans implementation of Preferences not found: java.lang.Exception
at org.openide.util.NbPreferences.getPreferencesProvider(NbPreferences.java:110)
at org.openide.util.NbPreferences.forModule(NbPreferences.java:75)
at com.jaspersoft.ireport.designer.IReportManager.getPreferences(IReportManager.java:1267)
at com.jaspersoft.ireport.jasperserver.ws.WSClient.getManagementService(WSClient.java:649)
at com.jaspersoft.ireport.jasperserver.ws.WSClient.list(WSClient.java:188)
at com.jaspersoft.ireport.jasperserver.ws.WSClient.list(WSClient.java:136)
at com.classes.WSClient.list(WSClient.java:84)
at org.apache.jsp.Reports.putResource_jsp._jspService(putResource_jsp.java:75)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at org.jboss.web.tomcat.service.session.ClusteredSessionValve.handleRequest(ClusteredSessionValve.java:135)
at org.jboss.web.tomcat.service.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:94)
at org.jboss.web.tomcat.service.session.JvmRouteValve.invoke(JvmRouteValve.java:88)
at org.jboss.web.tomcat.service.session.LockingValve.invoke(LockingValve.java:62)
at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285)
at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.jboss.web.tomcat.service.sso.ClusteredSingleSignOn.invoke(ClusteredSingleSignOn.java:711)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:636)

22:51:06,943 INFO  [AuthChallengeProcessor] basic authentication scheme selected

 

 

After this whatever action occurs, there appears no print on my console.
Why is it happening? any clue?

I am running JR Server on different JBoss and different port that from my client application. Is there something like Jboss logging is getting suppressed when it calls a web-service? Am I missing out on any Jboss configuration especially for web-services in case of logs?

 
kahini's picture
12
Joined: May 27 2012 - 9:41pm
Last seen: 5 years 10 months ago

0 Answers:

No answers yet
Feedback
randomness