Crash within libt2k.so. Jasper Reports is being used in a web application running within Tomcat

# A fatal error has been detected by the Java Runtime Environment:
#  SIGSEGV (0xb) at pc=0x00007faa87704a83, pid=22740, tid=140370523805440
# JRE version: Java(TM) SE Runtime Environment (7.0_51-b13) (build 1.7.0_51-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.51-b03 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libt2k.so+0x32a83]  tsi_EmergencyShutDown+0x13
# Core dump written. Default location: /web/appmanagementscripts/tomcatscripts/core or core.22740
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
---------------  T H R E A D  ---------------
Current thread (0x000000000cf38800):  JavaThread "ajp-bio-41009-exec-89" daemon [_thread_in_native, id=29211, stack(0x00007faa8f255000,0x00007faa8f356000)]
siginfo:si_signo=SIGSEGV: si_errno=0, si_code=128 (), si_addr=0x0000000000000000
Registers:
RAX=0x00007faaa2fd9a7f, RBX=0x00007faa8f350834, RCX=0x0000000000000000, RDX=0x00007faa8f350920
RSP=0x00007faa8f3507d0, RBP=0x00007faa8f3507f0, RSI=0x0000000000002727, RDI=0x8949ff8b49c86d89
R8 =0x00007faa8f350800, R9 =0x00007faa8f350810, R10=0x00007faa8f350cb0, R11=0x0000003b3820e080
R12=0x000000000470ec98, R13=0x000000000470cc38, R14=0x8949ff8b49c86d89, R15=0x0000000004343050
RIP=0x00007faa87704a83, EFLAGS=0x0000000000010282, CSGSFS=0x0000000000000033, ERR=0x0000000000000000
  TRAPNO=0x000000000000000d
Top of Stack: (sp=0x00007faa8f3507d0)
0x00007faa8f3507d0:   00007faa8f350834 000000000470ec98
0x00007faa8f3507e0:   000000000470cc38 000000000cf389e8
0x00007faa8f3507f0:   00007faa8f350810 00007faa87700110
0x00007faa8f350800:   00007faa8f350920 00007faaa2fd9a7f
0x00007faa8f350810:   00007faaa2fc2310 00000006e88a48f8
0x00007faa8f350820:   000000000cf38800 00007faa8f350850
0x00007faa8f350830:   00000006e88a48f8 000000000cf38800
0x00007faa8f350840:   00007faa8f3508a8 00007faaa2fc3058
0x00007faa8f350850:   000000000cf38800 00007faaa2fc3058
0x00007faa8f350860:   00000007bb109fd8 00007faa8f350868
0x00007faa8f350870:   00000006e57f45e9 00007faa8f3508b8
0x00007faa8f350880:   00000006e57f5928 0000000000000000
0x00007faa8f350890:   00000006e57f4608 0000000000000000
0x00007faa8f3508a0:   00007faa8f3508b8 00007faa8f350900
0x00007faa8f3508b0:   00007faaa2fc3058 00000007bb109fd8
0x00007faa8f3508c0:   00007faa8f3508c0 00000006e88a3a79
0x00007faa8f3508d0:   00007faa8f350910 00000006e88a4bb0
0x00007faa8f3508e0:   0000000000000000 00000006e88a3a88
0x00007faa8f3508f0:   0000000000000000 00007faa8f350910
0x00007faa8f350900:   00007faa8f350970 00007faaa2fc3058
0x00007faa8f350910:   00000007bb109fd8 00000007bb109fd8
0x00007faa8f350920:   0000000000002727 0000000000000000
0x00007faa8f350930:   00007faa8f350920 00000006e57f480b
0x00007faa8f350940:   00007faa8f350978 00000006e57f5928
0x00007faa8f350950:   0000000000000000 00000006e57f4818
0x00007faa8f350960:   0000000000000000 00007faa8f350980
0x00007faa8f350970:   00007faa8f3509d8 00000007bb109fd8
0x00007faa8f350980:   000000070a9ede40 0000000000000009
0x00007faa8f350990:   0000000000000000 00007faa8f350988
0x00007faa8f3509a0:   00000006e5427cd9 00007faa8f350a08
0x00007faa8f3509b0:   00000006e542dc98 0000000000000000
0x00007faa8f3509c0:   00000006e5427cf0 0000000000000000
Instructions: (pc=0x00007faa87704a83)
0x00007faa87704a63:   4c 8b 74 24 18 c9 e9 a2 cf ff ff 90 90 55 48 85
0x00007faa87704a73:   ff 48 89 e5 41 56 49 89 fe 41 55 41 54 53 74 4d
0x00007faa87704a83:   44 8b 6f 08 4c 8b 67 10 45 85 ed 7e 1f 31 db 66
0x00007faa87704a93:   0f 1f 44 00 00 49 8b 3c dc 48 85 ff 74 05 e8 8a
Register to memory mapping:
RAX=0x00007faaa2fd9a7f is at code_begin+95 in an Interpreter codelet
getstatic  178 getstatic  [0x00007faaa2fd9a20, 0x00007faaa2fd9be0]  448 bytes
RBX=0x00007faa8f350834 is pointing into the stack for thread: 0x000000000cf38800
RCX=0x0000000000000000 is an unknown value
RDX=0x00007faa8f350920 is pointing into the stack for thread: 0x000000000cf38800
RSP=0x00007faa8f3507d0 is pointing into the stack for thread: 0x000000000cf38800
RBP=0x00007faa8f3507f0 is pointing into the stack for thread: 0x000000000cf38800
RSI=0x0000000000002727 is an unknown value
RDI=0x8949ff8b49c86d89 is an unknown value
R8 =0x00007faa8f350800 is pointing into the stack for thread: 0x000000000cf38800
R9 =0x00007faa8f350810 is pointing into the stack for thread: 0x000000000cf38800
R10=0x00007faa8f350cb0 is pointing into the stack for thread: 0x000000000cf38800
R11=0x0000003b3820e080: siglongjmp+0 in /lib64/libpthread.so.0 at 0x0000003b38200000
R12=0x000000000470ec98 is an unknown value
R13=0x000000000470cc38 is an unknown value
R14=0x8949ff8b49c86d89 is an unknown value
R15=0x0000000004343050 is an unknown value
Stack: [0x00007faa8f255000,0x00007faa8f356000],  sp=0x00007faa8f3507d0,  free space=1005k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libt2k.so+0x32a83]  tsi_EmergencyShutDown+0x13
C  [libt2k.so+0x2e110]  Delete_InputStream+0x70
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  sun.font.T2KFontScaler.getGlyphImageNative(Lsun/font/Font2D;JJI)J+0
j  sun.font.T2KFontScaler.getGlyphImage(JI)J+26
J  sun.font.FileFontStrike.getGlyphImagePtr(I)J
J  sun.font.FileFontStrike.getGlyphMetrics(I)Ljava/awt/geom/Point2D$Float;
v  ~StubRoutines::call_stub
J  sun.font.SunLayoutEngine.nativeLayout(Lsun/font/Font2D;Lsun/font/FontStrike;[FII[CIIIIIIILjava/awt/geom/Point2D$Float;Lsun/font/GlyphLayout$GVData;JJ)V
J  sun.font.SunLayoutEngine.layout(Lsun/font/FontStrikeDesc;[FIILsun/font/TextRecord;ILjava/awt/geom/Point2D$Float;Lsun/font/GlyphLayout$GVData;)V
J  sun.font.GlyphLayout.layout(Ljava/awt/Font;Ljava/awt/font/FontRenderContext;[CIIILsun/font/StandardGlyphVector;)Lsun/font/StandardGlyphVector;
j  sun.font.ExtendedTextSourceLabel.createGV()Lsun/font/StandardGlyphVector;+63
j  sun.font.ExtendedTextSourceLabel.getGV()Lsun/font/StandardGlyphVector;+9
J  sun.font.ExtendedTextSourceLabel.createCharinfo()[F
J  sun.font.ExtendedTextSourceLabel.getLineBreakIndex(IF)I
J  java.awt.font.TextMeasurer.calcLineBreak(IF)I
j  java.awt.font.TextMeasurer.getLineBreakIndex(IF)I+38
j  java.awt.font.LineBreakMeasurer.nextOffset(FIZ)I+44
j  net.sf.jasperreports.engine.fill.SimpleTextLineWrapper.measureExactLineBreakIndex(FIZ)I+110
J  net.sf.jasperreports.engine.fill.TextMeasurer.renderNextLine(Lnet/sf/jasperreports/engine/fill/TextLineWrapper;Ljava/util/List;[I[Lnet/sf/jasperreports/engine/TabStop;[Z)Z
J  net.sf.jasperreports.engine.fill.TextMeasurer.renderParagraph(Lnet/sf/jasperreports/engine/fill/TextLineWrapper;ILjava/lang/String;)Z
J  net.sf.jasperreports.engine.fill.TextMeasurer.measure(Lnet/sf/jasperreports/engine/util/JRStyledText;IIZ)Lnet/sf/jasperreports/engine/fill/JRMeasuredText;
J  net.sf.jasperreports.engine.fill.JRFillTextElement.chopTextElement(I)V
J  net.sf.jasperreports.engine.fill.JRFillTextField.prepare(IZ)Z
J  net.sf.jasperreports.engine.fill.JRFillElementContainer.prepareElements(IZ)V
J  net.sf.jasperreports.engine.fill.JRVerticalFiller.fillDetail()V
J  net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport()V
j  net.sf.jasperreports.engine.fill.JRBaseFiller.fill(Ljava/util/Map;)Lnet/sf/jasperreports/engine/JasperPrint;+303
j  net.sf.jasperreports.engine.fill.JRBaseFiller.fill(Ljava/util/Map;Lnet/sf/jasperreports/engine/JRDataSource;)Lnet/sf/jasperreports/engine/JasperPrint;+20
j  net.sf.jasperreports.engine.fill.JRFiller.fill(Lnet/sf/jasperreports/engine/JasperReportsContext;Lnet/sf/jasperreports/engine/JasperReport;Ljava/util/Map;Lnet/sf/jasperreports/engine/JRDataSource;)Lnet/sf/jasperreports/engine/JasperPrint;+14
j  net.sf.jasperreports.engine.JasperFillManager.fill(Lnet/sf/jasperreports/engine/JasperReport;Ljava/util/Map;Lnet/sf/jasperreports/engine/JRDataSource;)Lnet/sf/jasperreports/engine/JasperPrint;+7
j  net.sf.jasperreports.engine.JasperFillManager.fill(Ljava/lang/String;Ljava/util/Map;Lnet/sf/jasperreports/engine/JRDataSource;)Lnet/sf/jasperreports/engine/JasperPrint;+35
j  net.sf.jasperreports.engine.JasperRunManager.runToPdfFile(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Lnet/sf/jasperreports/engine/JRDataSource;)V+15
j  net.sf.jasperreports.engine.JasperRunManager.runReportToPdfFile(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Lnet/sf/jasperreports/engine/JRDataSource;)V+7

# A fatal error has been detected by the Java Runtime Environment:
#  SIGSEGV (0xb) at pc=0x00007faa87704a83, pid=22740, tid=140370523805440
# JRE version: Java(TM) SE Runtime Environment (7.0_51-b13) (build 1.7.0_51-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.51-b03 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libt2k.so+0x32a83]  tsi_EmergencyShutDown+0x13
# Core dump written. Default location: /web/appmanagementscripts/tomcatscripts/core or core.22740
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
---------------  T H R E A D  ---------------
Current thread (0x000000000cf38800):  JavaThread "ajp-bio-41009-exec-89" daemon [_thread_in_native, id=29211, stack(0x00007faa8f255000,0x00007faa8f356000)]
siginfo:si_signo=SIGSEGV: si_errno=0, si_code=128 (), si_addr=0x0000000000000000
Registers:
RAX=0x00007faaa2fd9a7f, RBX=0x00007faa8f350834, RCX=0x0000000000000000, RDX=0x00007faa8f350920
RSP=0x00007faa8f3507d0, RBP=0x00007faa8f3507f0, RSI=0x0000000000002727, RDI=0x8949ff8b49c86d89
R8 =0x00007faa8f350800, R9 =0x00007faa8f350810, R10=0x00007faa8f350cb0, R11=0x0000003b3820e080
R12=0x000000000470ec98, R13=0x000000000470cc38, R14=0x8949ff8b49c86d89, R15=0x0000000004343050
RIP=0x00007faa87704a83, EFLAGS=0x0000000000010282, CSGSFS=0x0000000000000033, ERR=0x0000000000000000
  TRAPNO=0x000000000000000d
Top of Stack: (sp=0x00007faa8f3507d0)
0x00007faa8f3507d0:   00007faa8f350834 000000000470ec98
0x00007faa8f3507e0:   000000000470cc38 000000000cf389e8
0x00007faa8f3507f0:   00007faa8f350810 00007faa87700110
0x00007faa8f350800:   00007faa8f350920 00007faaa2fd9a7f
0x00007faa8f350810:   00007faaa2fc2310 00000006e88a48f8
0x00007faa8f350820:   000000000cf38800 00007faa8f350850
0x00007faa8f350830:   00000006e88a48f8 000000000cf38800
0x00007faa8f350840:   00007faa8f3508a8 00007faaa2fc3058
0x00007faa8f350850:   000000000cf38800 00007faaa2fc3058
0x00007faa8f350860:   00000007bb109fd8 00007faa8f350868
0x00007faa8f350870:   00000006e57f45e9 00007faa8f3508b8
0x00007faa8f350880:   00000006e57f5928 0000000000000000
0x00007faa8f350890:   00000006e57f4608 0000000000000000
0x00007faa8f3508a0:   00007faa8f3508b8 00007faa8f350900
0x00007faa8f3508b0:   00007faaa2fc3058 00000007bb109fd8
0x00007faa8f3508c0:   00007faa8f3508c0 00000006e88a3a79
0x00007faa8f3508d0:   00007faa8f350910 00000006e88a4bb0
0x00007faa8f3508e0:   0000000000000000 00000006e88a3a88
0x00007faa8f3508f0:   0000000000000000 00007faa8f350910
0x00007faa8f350900:   00007faa8f350970 00007faaa2fc3058
0x00007faa8f350910:   00000007bb109fd8 00000007bb109fd8
0x00007faa8f350920:   0000000000002727 0000000000000000
0x00007faa8f350930:   00007faa8f350920 00000006e57f480b
0x00007faa8f350940:   00007faa8f350978 00000006e57f5928
0x00007faa8f350950:   0000000000000000 00000006e57f4818
0x00007faa8f350960:   0000000000000000 00007faa8f350980
0x00007faa8f350970:   00007faa8f3509d8 00000007bb109fd8
0x00007faa8f350980:   000000070a9ede40 0000000000000009
0x00007faa8f350990:   0000000000000000 00007faa8f350988
0x00007faa8f3509a0:   00000006e5427cd9 00007faa8f350a08
0x00007faa8f3509b0:   00000006e542dc98 0000000000000000
0x00007faa8f3509c0:   00000006e5427cf0 0000000000000000
Instructions: (pc=0x00007faa87704a83)
0x00007faa87704a63:   4c 8b 74 24 18 c9 e9 a2 cf ff ff 90 90 55 48 85
0x00007faa87704a73:   ff 48 89 e5 41 56 49 89 fe 41 55 41 54 53 74 4d
0x00007faa87704a83:   44 8b 6f 08 4c 8b 67 10 45 85 ed 7e 1f 31 db 66
0x00007faa87704a93:   0f 1f 44 00 00 49 8b 3c dc 48 85 ff 74 05 e8 8a
Register to memory mapping:
RAX=0x00007faaa2fd9a7f is at code_begin+95 in an Interpreter codelet
getstatic  178 getstatic  [0x00007faaa2fd9a20, 0x00007faaa2fd9be0]  448 bytes
RBX=0x00007faa8f350834 is pointing into the stack for thread: 0x000000000cf38800
RCX=0x0000000000000000 is an unknown value
RDX=0x00007faa8f350920 is pointing into the stack for thread: 0x000000000cf38800
RSP=0x00007faa8f3507d0 is pointing into the stack for thread: 0x000000000cf38800
RBP=0x00007faa8f3507f0 is pointing into the stack for thread: 0x000000000cf38800
RSI=0x0000000000002727 is an unknown value
RDI=0x8949ff8b49c86d89 is an unknown value
R8 =0x00007faa8f350800 is pointing into the stack for thread: 0x000000000cf38800
R9 =0x00007faa8f350810 is pointing into the stack for thread: 0x000000000cf38800
R10=0x00007faa8f350cb0 is pointing into the stack for thread: 0x000000000cf38800
R11=0x0000003b3820e080: siglongjmp+0 in /lib64/libpthread.so.0 at 0x0000003b38200000
R12=0x000000000470ec98 is an unknown value
R13=0x000000000470cc38 is an unknown value
R14=0x8949ff8b49c86d89 is an unknown value
R15=0x0000000004343050 is an unknown value
Stack: [0x00007faa8f255000,0x00007faa8f356000],  sp=0x00007faa8f3507d0,  free space=1005k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libt2k.so+0x32a83]  tsi_EmergencyShutDown+0x13
C  [libt2k.so+0x2e110]  Delete_InputStream+0x70
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  sun.font.T2KFontScaler.getGlyphImageNative(Lsun/font/Font2D;JJI)J+0
j  sun.font.T2KFontScaler.getGlyphImage(JI)J+26
J  sun.font.FileFontStrike.getGlyphImagePtr(I)J
J  sun.font.FileFontStrike.getGlyphMetrics(I)Ljava/awt/geom/Point2D$Float;
v  ~StubRoutines::call_stub
J  sun.font.SunLayoutEngine.nativeLayout(Lsun/font/Font2D;Lsun/font/FontStrike;[FII[CIIIIIIILjava/awt/geom/Point2D$Float;Lsun/font/GlyphLayout$GVData;JJ)V
J  sun.font.SunLayoutEngine.layout(Lsun/font/FontStrikeDesc;[FIILsun/font/TextRecord;ILjava/awt/geom/Point2D$Float;Lsun/font/GlyphLayout$GVData;)V
J  sun.font.GlyphLayout.layout(Ljava/awt/Font;Ljava/awt/font/FontRenderContext;[CIIILsun/font/StandardGlyphVector;)Lsun/font/StandardGlyphVector;
j  sun.font.ExtendedTextSourceLabel.createGV()Lsun/font/StandardGlyphVector;+63
j  sun.font.ExtendedTextSourceLabel.getGV()Lsun/font/StandardGlyphVector;+9
J  sun.font.ExtendedTextSourceLabel.createCharinfo()[F
J  sun.font.ExtendedTextSourceLabel.getLineBreakIndex(IF)I
J  java.awt.font.TextMeasurer.calcLineBreak(IF)I
j  java.awt.font.TextMeasurer.getLineBreakIndex(IF)I+38
j  java.awt.font.LineBreakMeasurer.nextOffset(FIZ)I+44
j  net.sf.jasperreports.engine.fill.SimpleTextLineWrapper.measureExactLineBreakIndex(FIZ)I+110
J  net.sf.jasperreports.engine.fill.TextMeasurer.renderNextLine(Lnet/sf/jasperreports/engine/fill/TextLineWrapper;Ljava/util/List;[I[Lnet/sf/jasperreports/engine/TabStop;[Z)Z
J  net.sf.jasperreports.engine.fill.TextMeasurer.renderParagraph(Lnet/sf/jasperreports/engine/fill/TextLineWrapper;ILjava/lang/String;)Z
J  net.sf.jasperreports.engine.fill.TextMeasurer.measure(Lnet/sf/jasperreports/engine/util/JRStyledText;IIZ)Lnet/sf/jasperreports/engine/fill/JRMeasuredText;
J  net.sf.jasperreports.engine.fill.JRFillTextElement.chopTextElement(I)V
J  net.sf.jasperreports.engine.fill.JRFillTextField.prepare(IZ)Z
J  net.sf.jasperreports.engine.fill.JRFillElementContainer.prepareElements(IZ)V
J  net.sf.jasperreports.engine.fill.JRVerticalFiller.fillDetail()V
J  net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport()V
j  net.sf.jasperreports.engine.fill.JRBaseFiller.fill(Ljava/util/Map;)Lnet/sf/jasperreports/engine/JasperPrint;+303
j  net.sf.jasperreports.engine.fill.JRBaseFiller.fill(Ljava/util/Map;Lnet/sf/jasperreports/engine/JRDataSource;)Lnet/sf/jasperreports/engine/JasperPrint;+20
j  net.sf.jasperreports.engine.fill.JRFiller.fill(Lnet/sf/jasperreports/engine/JasperReportsContext;Lnet/sf/jasperreports/engine/JasperReport;Ljava/util/Map;Lnet/sf/jasperreports/engine/JRDataSource;)Lnet/sf/jasperreports/engine/JasperPrint;+14
j  net.sf.jasperreports.engine.JasperFillManager.fill(Lnet/sf/jasperreports/engine/JasperReport;Ljava/util/Map;Lnet/sf/jasperreports/engine/JRDataSource;)Lnet/sf/jasperreports/engine/JasperPrint;+7
j  net.sf.jasperreports.engine.JasperFillManager.fill(Ljava/lang/String;Ljava/util/Map;Lnet/sf/jasperreports/engine/JRDataSource;)Lnet/sf/jasperreports/engine/JasperPrint;+35
j  net.sf.jasperreports.engine.JasperRunManager.runToPdfFile(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Lnet/sf/jasperreports/engine/JRDataSource;)V+15
j  net.sf.jasperreports.engine.JasperRunManager.runReportToPdfFile(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Lnet/sf/jasperreports/engine/JRDataSource;)V+7

Similar Messages

  • My iPad continues to crash frequently despite closing app's not being used?

    My iPad continues to crash frequently despite closing app's not being used?

    Have you got a lot of memory that's being taken up or a lot of iCloud services taking place? It might be something to do with the iOS, have you tried a system restore? If you do remember to back up all your files!

  • Is there an easy way to know if a vi within a LLB not being use by a Labview Application

    To All,
    I have developed a Labview application over a year that contains a number of LLBs.  There are significant number of VIs within those LLB files that were written but have not been called  by the application.  I am trying to optimize all LLB files to exclude those unused VIs.  Because there are many of them, the task to find out which Vi is being used and which one is not become very tedious.  First question: Is there a way to automate the process?  Second question: Does a compiled Labview application include all used and unused Vis from the LLBs in the .exe file?  I am very appreciate any inputs from this community.
    A Labview User  

    Ben wrote:
    In pre-LV 8 you could do a "Save with options..." and choose development distribution, single prompt preserve hiarchy and LV will pick-up all of the used VI's and plomp them down in a new location leaving all of the used behind as well as fixing up a of the linkages to point at the new location.
    In LV 8 and beyond you can create a Source Distribution in the project and acoomplish the same thing.
    In LabVIEW 8+, you can get something similar to the first option by selecting "save for previous" and then pick the existing version (yes, it's there!).
    LabVIEW Champion . Do more with less code and in less time .

  • Export Jasper Report Through JSP(using parameters)

    Hi All ;
    Please I need A help ;
    I need to use a Jasper Report in my jsp pages using parameters ;
    can some one tell me how i can do it by steps & with example ;
    note that i use Oracle Data Base;
    Regards;

    I would start off reading a JasperReports tutorial.
    Here is a list of all JasperReports tutorials available on the world wide web:
    http://www.google.com/search?q=jasperreports+tutorial

  • Crystal Reports Viewer Control  - Visual Studio 2008 WEB Application

    My question is this:  Has ANYONE on this planet been able to get the ASP .NET CR Viewer control to actually work?
    Why does this editor NOT recognize End-of-line or CR characters or any whitespace??
    I have developed a Crystal Reports "Viewer" web application in VS2008 using C#.
    It's a simple app, in that it's a single page with a treeview control (containing the grouped names of the reports to which the user has access) and the CR Viewer control.
    The report files live on a network share, and permissions to them is controlled via a SQL Server database, which, for each report, stores the UserID and Logion for the oracle database, as well as any required parameter values.
    The reports themselves are all hititng an Oracle 10g database.
    I managed to do this in a Windows desktop applcation using Visual Studio 2005 and VB .net, but now, upon trying to make this a web application in VS2008, I have completely failed. The application works when run locally, but when deployed to the web server, I experience database login prompts when I should not, (the dreaded "Report requires further information" message) even thought the setdatabaselogin has already been set. I have tried saving the reportdocument in viewstate and re-assigning the viewer Datasource property to it, that also fails. However, it only does it on some reports, and not others. (admittedly, the reports may have been created using different CR versions)
    The viewer also displays data it should not be displaying when I attempt to scroll, when I do manage to get a report to run.
    I am setting parameters dynamically at run time, whose values are stored in the SQL database.
    Code Sample:
    protected void ShowReport(int ReportID)
            SQLDataPortal2005.Common sql = new SQLDataPortal2005.Common();
            Hashtable outParms = new Hashtable();
            string sAccess;
            IDataReader dr;
            CrystalDecisions.CrystalReports.Engine.ReportDocument rptDocument = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
            System.Security.Principal.WindowsPrincipal p = System.Threading.Thread.CurrentPrincipal as System.Security.Principal.WindowsPrincipal;
            sAccess = p.Identity.Name;
            int j = 0;
            int i = -1;
            if (!IsAdmin())
                sql.ExecNonQuery("CrystalReports", outParms, "proc_CRM_Check_Permissions", sAccess, Convert.ToInt32(TreeView1.SelectedNode.Value));
                if (outParms["@Allow"].ToString() != "True")
                   Response.Redirect("ErrorPage.aspx");  // redirect to  error page
            string sPath = System.Configuration.ConfigurationManager.AppSettings["WareHouse"].ToString();
            sPath = sPath + TreeView1.SelectedNode.Text.Trim() + ".rpt";      
            rptDocument.Load(sPath);
            dr = sql.GetDataReader("CrystalReports", "proc_CRM_Get_Report", Convert.ToInt32(TreeView1.SelectedNode.Value));
            while (dr.Read() == true)
                j += 1;
                if (j < 2)
                    rptDocument.SetDatabaseLogon(dr["DB_Login"].ToString(), dr["DB_Pwd"].ToString(), "PLAW", "LAWDB", true);
                    pList = dr["ParmList"].ToString().Split(',');
            dr.Close();
            dr.Dispose();
            if (pList.Length > 0 && pList[0].ToString().Trim() != "")
                foreach (CrystalDecisions.Shared.ParameterField x in rptDocument.ParameterFields)
                    i++;
                    switch (x.ParameterValueType)
                        case CrystalDecisions.Shared.ParameterValueKind.BooleanParameter:
                            rptDocument.SetParameterValue(x.Name, Convert.ToBoolean(pList<i>));
                            break;
                        case CrystalDecisions.Shared.ParameterValueKind.CurrencyParameter:
                            rptDocument.SetParameterValue(x.Name, Convert.ToDouble(pList<i>));
                            break;
                        case CrystalDecisions.Shared.ParameterValueKind.DateParameter:
                            rptDocument.SetParameterValue(x.Name, Convert.ToDateTime(pList<i>));
                            break;
                        case CrystalDecisions.Shared.ParameterValueKind.DateTimeParameter:
                            rptDocument.SetParameterValue(x.Name, Convert.ToDateTime(pList<i>));
                            break;
                        case CrystalDecisions.Shared.ParameterValueKind.NumberParameter:
                            rptDocument.SetParameterValue(x.Name, Convert.ToInt32(pList<i>));
                            break;
                        case CrystalDecisions.Shared.ParameterValueKind.StringParameter:
                            rptDocument.SetParameterValue(x.Name, Convert.ToString(pList<i>));
                            break;
                        case CrystalDecisions.Shared.ParameterValueKind.TimeParameter:
                            rptDocument.SetParameterValue(x.Name, Convert.ToDateTime(pList<i>));
                            break;
            Session["CReport"] = rptDocument;
            CRV1.ReportSource = rptDocument;
            CRV1.DisplayGroupTree = false;
            CRV1.HasRefreshButton = true;
            CRV1.ShowFirstPage();
    Is there a better/different way of accomplishing this very simply process? All I need this application to do is to view a report, while setting it's parmeters (if required) dynamically at run time. I don't EVER want the user to be prompted for DB LOGIN INFO.
    Edited by: RichardK on May 10, 2010 4:14 PM
    Edited by: RichardK on May 10, 2010 4:14 PM
    Edited by: RichardK on May 10, 2010 4:16 PM
    Edited by: RichardK on May 10, 2010 4:18 PM
    Edited by: RichardK on May 10, 2010 4:22 PM
    Edited by: RichardK on May 10, 2010 4:23 PM

    To answer you question; Yes, I suspect that most of the users in this community have managed to successfully create web apps. And this is the tiniest of sampling of the developers out there...
    A few suggestions;
    1) Keep the posts to under 1200 characters. Otherwise, the formatting is lost which makes it difficult to read.
    2) Try out a few sample apps from here:
    https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples
    Suggest; csharp_web_simplelogonengine.zip, csharp_web_simplelogonviewer.zip and csharp_web_subreport_logon.zip.
    3) Start simple; one table, one field, no subreports. Hard code the database logon parameters. Convince your self that this does work. Increase the complexity - add fields, tables, subreports. Do not mix connection methods (e.g.; if ODBC for main, than ODBC for sub is a good idea, though not a requirement).
    4) See the article [Troubleshooting Guide to Database Connectivity Issues with Crystal Reports in Visual Studio .NET Applications|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b0225775-88c4-2c10-bd80-8298769293de].
    5) See  [this|http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/d05b3bb7-0f28-2c10-4ea3-84dbdc4e414e?quicklink=index&overridelayout=true] article.
    6) Consider creating a phone case here:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300
    Ludek
    Follow us on Twitter
    http://twitter.com/SAPCRNetSup

  • How to use Crystal report viewer in a portlet based web application

    I am using JRC to view crystal reports in porlet based web application. Following is the code in JSP
    <%@ page import="com.crystaldecisions.report.web.viewer.CrystalReportViewer,
    com.crystaldecisions.sdk.occa.report.application.OpenReportOptions,
    com.crystaldecisions.sdk.occa.report.application.ReportClientDocument,
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase" %>
    <portlet:defineObjects />
    <%
         // This sample code calls methods from the CRJavaHelper class, which
         // contains examples of how to use the BusinessObjects APIs. You are free to
         // modify and distribute the source code contained in the CRJavaHelper class.
         try {
              String reportName = "ProactiveEventsSummaryData.rpt";
              ReportClientDocument clientDoc = (ReportClientDocument) session.getAttribute(reportName);
              if (clientDoc == null) {
                   // Report can be opened from the relative location specified in the CRConfig.xml, or the report location
                   // tag can be removed to open the reports as Java resources or using an absolute path
                   // (absolute path not recommended for Web applications).
                   clientDoc = new ReportClientDocument();
                   //clientDoc.setReportAppServer(ReportClientDocument.inprocConnectionString);
                                  clientDoc.setReportAppServer("inproc:jrc");
                   // Open report
                   clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);
                   // Store the report document in session
                   session.setAttribute(reportName, clientDoc);
              // ****** BEGIN CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET **************** 
                   // Create the CrystalReportViewer object
                   CrystalReportViewer crystalReportPageViewer = new CrystalReportViewer();
                   String reportSourceSessionKey = reportName+"ReportSource";
                   Object reportSource = session.getAttribute(reportSourceSessionKey);
                   if (reportSource == null)
                        reportSource = clientDoc.getReportSource();
                        session.setAttribute(reportSourceSessionKey, reportSource);
                   //     set the reportsource property of the viewer
                   crystalReportPageViewer.setReportSource(reportSource);
                   // Apply the viewer preference attributes
                   // Process the report
                   crystalReportPageViewer.processHttpRequest(request, response, application, null);
              // ****** END CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET ****************          
         } catch (ReportSDKExceptionBase e) {
             out.println(e);
    %>
    With this code , report gets displayed in the portlet but none of the actions on thre report like next page click , search button , opening subreport , clicking on drill-downs are working . The error in the explorer console is as shown below
    Error: CrystalViewerCrystalEvent is not defined
    javascript:CrystalViewerCrystalEvent('CrystalViewer',%20'tb=next')
    PageSource of the web page shows the CrystalViewerCrystalEvent javascript function defined but for somereason its not recognized by the portlet. Has anyone worked on displaying crystalreports in a portlet ?

    Code attached
    <%@ page import="com.crystaldecisions.report.web.viewer.CrystalReportViewer,
    com.crystaldecisions.sdk.occa.report.application.OpenReportOptions,
    com.crystaldecisions.sdk.occa.report.application.ReportClientDocument,
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase" %>
    <portlet:defineObjects />
    <%
         // This sample code calls methods from the CRJavaHelper class, which
         // contains examples of how to use the BusinessObjects APIs. You are free to
         // modify and distribute the source code contained in the CRJavaHelper class.
         try {
              String reportName = "ProactiveEventsSummaryData.rpt";
              ReportClientDocument clientDoc = (ReportClientDocument) session.getAttribute(reportName);
              if (clientDoc == null) {
                   // Report can be opened from the relative location specified in the CRConfig.xml, or the report location
                   // tag can be removed to open the reports as Java resources or using an absolute path
                   // (absolute path not recommended for Web applications).
                   clientDoc = new ReportClientDocument();
                   //clientDoc.setReportAppServer(ReportClientDocument.inprocConnectionString);
                                  clientDoc.setReportAppServer("inproc:jrc");
                   // Open report
                   clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);
                   // Store the report document in session
                   session.setAttribute(reportName, clientDoc);
              // ****** BEGIN CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET **************** 
                   // Create the CrystalReportViewer object
                   CrystalReportViewer crystalReportPageViewer = new CrystalReportViewer();
                   String reportSourceSessionKey = reportName+"ReportSource";
                   Object reportSource = session.getAttribute(reportSourceSessionKey);
                   if (reportSource == null)
                        reportSource = clientDoc.getReportSource();
                        session.setAttribute(reportSourceSessionKey, reportSource);
                   //     set the reportsource property of the viewer
                   crystalReportPageViewer.setReportSource(reportSource);
                   // Apply the viewer preference attributes
                   // Process the report
                   crystalReportPageViewer.processHttpRequest(request, response, application, null);
              // ****** END CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET ****************          
         } catch (ReportSDKExceptionBase e) {
             out.println(e);
    %>
    Edited by: teethoma on Nov 30, 2009 10:06 AM

  • After recent updates in Garageband 'World Instrument Jampack' in Garageband '11, my mac mini is crashes frequently when Garageband is not even being used. It shows following crash report:

    Interval Since Last Panic Report:  181360 sec
    Panics Since Last Report:          3
    Anonymous UUID:                    532A16E0-BE49-7F62-73C0-8CE73A06FBB7
    Tue Jan 15 00:24:31 2013
    panic(cpu 4 caller 0xffffff80046b7e75): Kernel trap at 0xffffff8004674753, type 14=page fault, registers:
    CR0: 0x0000000080010033, CR2: 0xffffff801f3876d0, CR3: 0x000000002247702b, CR4: 0x00000000001606e0
    RAX: 0xffffff801f3876e0, RBX: 0xffffff801e389510, RCX: 0x0000000103fb9000, RDX: 0xffffff801e7bb070
    RSP: 0xffffff8084143b70, RBP: 0xffffff8084143b70, RSI: 0xffffff801e389530, RDI: 0xffffff800fa7b8b8
    R8:  0x0000000000000000, R9:  0x0000000000000001, R10: 0x0000000000008000, R11: 0x0000000000000206
    R12: 0xffffff800fa7b888, R13: 0xffffff801e389510, R14: 0xffffff801e389510, R15: 0xffffff801183a5d0
    RFL: 0x0000000000010282, RIP: 0xffffff8004674753, CS:  0x0000000000000008, SS:  0x0000000000000010
    Fault CR2: 0xffffff801f3876d0, Error code: 0x0000000000000000, Fault CPU: 0x4
    Backtrace (CPU 4), Frame : Return Address
    0xffffff8084143810 : 0xffffff800461d626
    0xffffff8084143880 : 0xffffff80046b7e75
    0xffffff8084143a50 : 0xffffff80046cd3bd
    0xffffff8084143a70 : 0xffffff8004674753
    0xffffff8084143b70 : 0xffffff8004674a16
    0xffffff8084143b90 : 0xffffff8004673604
    0xffffff8084143bc0 : 0xffffff8004667d26
    0xffffff8084143d10 : 0xffffff800466c9f1
    0xffffff8084143d80 : 0xffffff800466c4e2
    0xffffff8084143e40 : 0xffffff8004611d31
    0xffffff8084143e90 : 0xffffff8004612141
    0xffffff8084143ef0 : 0xffffff8004612251
    0xffffff8084143f20 : 0xffffff80046192b2
    0xffffff8084143f90 : 0xffffff8004619551
    0xffffff8084143fb0 : 0xffffff80046b2957
    BSD process name corresponding to current thread: WindowServer
    Mac OS version:
    12C2034
    Kernel version:
    Darwin Kernel Version 12.2.1: Thu Oct 18 12:13:47 PDT 2012; root:xnu-2050.20.9~1/RELEASE_X86_64
    Kernel UUID: 3F93B852-872F-3DF0-BCF8-46D48024C422
    Kernel slide:     0x0000000004400000
    Kernel text base: 0xffffff8004600000
    System model name: Macmini6,2 (Mac-F65AE981FFA204ED)
    System uptime in nanoseconds: 6010991747879
    last loaded kext at 898852347160: com.apple.filesystems.smbfs          1.8 (addr 0xffffff7f8634d000, size 229376)
    last unloaded kext at 1261626279332: com.apple.driver.AppleUSBAudio          2.9.0f6 (addr 0xffffff7f862ff000, size 262144)
    loaded kexts:
    com.motu.driver.FireWireAudio          1.6 54199
    com.apple.filesystems.smbfs          1.8
    com.apple.driver.AppleBluetoothMultitouch          75.19
    com.apple.iokit.IOBluetoothSerialManager          4.1.2f9
    com.apple.driver.ApplePlatformEnabler          2.0.6d1
    com.apple.driver.AGPM          100.12.81
    com.apple.driver.X86PlatformShim          1.0.0
    com.apple.driver.AppleMikeyHIDDriver          122
    com.apple.driver.AudioAUUC          1.60
    com.apple.filesystems.autofs          3.0
    com.apple.driver.AppleMikeyDriver          2.3.5fc10
    com.apple.driver.AppleHDA          2.3.5fc10
    com.apple.iokit.BroadcomBluetoothHCIControllerUSBTransport          4.1.2f9
    com.apple.driver.AppleUpstreamUserClient          3.5.10
    com.apple.driver.AppleMCCSControl          1.1.11
    com.apple.iokit.IOUserEthernet          1.0.0d1
    com.apple.driver.AppleSMCPDRC          1.0.0
    com.apple.driver.AppleIntelHD4000Graphics          8.0.6
    com.apple.Dont_Steal_Mac_OS_X          7.0.0
    com.apple.driver.ApplePolicyControl          3.2.13
    com.apple.driver.AppleLPC          1.6.0
    com.apple.driver.AppleIntelFramebufferCapri          8.0.6
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless          1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib          1.0.0d1
    com.apple.BootCache          34
    com.apple.driver.AppleIRController          320.15
    com.apple.driver.XsanFilter          404
    com.apple.iokit.IOAHCIBlockStorage          2.3.1
    com.apple.driver.AppleUSBHub          5.5.0
    com.apple.driver.AppleSDXC          1.4.0
    com.apple.iokit.AppleBCM5701Ethernet          3.5.0b9
    com.apple.driver.AppleFWOHCI          4.9.6
    com.apple.driver.AirPort.Brcm4331          612.20.15
    com.apple.driver.AppleAHCIPort          2.5.1
    com.apple.driver.AppleUSBEHCI          5.5.0
    com.apple.driver.AppleUSBXHCI          1.5.1
    com.apple.driver.AppleEFINVRAM          1.7
    com.apple.driver.AppleACPIButtons          1.7
    com.apple.driver.AppleRTC          1.5
    com.apple.driver.AppleHPET          1.8
    com.apple.driver.AppleSMBIOS          1.9
    com.apple.driver.AppleACPIEC          1.7
    com.apple.driver.AppleAPIC          1.6
    com.apple.driver.AppleIntelCPUPowerManagementClient          196.0.0
    com.apple.nke.applicationfirewall          4.0.39
    com.apple.security.quarantine          2
    com.apple.driver.AppleIntelCPUPowerManagement          196.0.0
    com.apple.driver.AppleBluetoothHIDKeyboard          170.2
    com.apple.driver.AppleHIDKeyboard          170.2
    com.apple.driver.IOBluetoothHIDDriver          4.1.2f9
    com.apple.driver.AppleMultitouchDriver          235.29
    com.apple.iokit.IOSerialFamily          10.0.6
    com.apple.kext.triggers          1.0
    com.apple.driver.DspFuncLib          2.3.5fc10
    com.apple.iokit.AppleBluetoothHCIControllerUSBTransport          4.1.2f9
    com.apple.driver.AppleSMBusController          1.0.11d0
    com.apple.iokit.IOAudioFamily          1.8.9fc11
    com.apple.kext.OSvKernDSPLib          1.6
    com.apple.iokit.IOFireWireIP          2.2.5
    com.apple.driver.AppleSMBusPCI          1.0.11d0
    com.apple.iokit.IOSurface          86.0.3
    com.apple.iokit.IOBluetoothFamily          4.1.2f9
    com.apple.driver.AppleGraphicsControl          3.2.13
    com.apple.driver.X86PlatformPlugin          1.0.0
    com.apple.driver.AppleSMC          3.1.4d2
    com.apple.driver.IOPlatformPluginFamily          5.3.0d47
    com.apple.iokit.IONDRVSupport          2.3.6
    com.apple.driver.AppleHDAController          2.3.5fc10
    com.apple.iokit.IOGraphicsFamily          2.3.6
    com.apple.iokit.IOHDAFamily          2.3.5fc10
    com.apple.iokit.IOSCSIArchitectureModelFamily          3.5.5
    com.apple.driver.AppleThunderboltDPInAdapter          1.8.9
    com.apple.driver.AppleThunderboltDPAdapterFamily          1.8.9
    com.apple.driver.AppleThunderboltPCIDownAdapter          1.2.6
    com.apple.iokit.IOUSBHIDDriver          5.2.5
    com.apple.driver.AppleUSBComposite          5.2.5
    com.apple.driver.AppleThunderboltNHI          1.6.3
    com.apple.iokit.IOThunderboltFamily          2.1.8
    com.apple.iokit.IOEthernetAVBController          1.0.2b1
    com.apple.iokit.IOFireWireFamily          4.5.5
    com.apple.iokit.IOUSBUserClient          5.5.0
    com.apple.iokit.IO80211Family          510.4
    com.apple.iokit.IONetworkingFamily          3.0
    com.apple.iokit.IOAHCIFamily          2.3.1
    com.apple.iokit.IOUSBFamily          5.5.0
    com.apple.driver.AppleEFIRuntime          1.7
    com.apple.iokit.IOHIDFamily          1.8.1
    com.apple.iokit.IOSMBusFamily          1.1
    com.apple.security.sandbox          220
    com.apple.kext.AppleMatch          1.0.0d1
    com.apple.security.TMSafetyNet          7
    com.apple.driver.DiskImages          344
    com.apple.iokit.IOStorageFamily          1.8
    com.apple.driver.AppleKeyStore          28.21
    com.apple.driver.AppleACPIPlatform          1.7
    com.apple.iokit.IOPCIFamily          2.7.3
    com.apple.iokit.IOACPIFamily          1.4
    com.apple.kec.corecrypto          1.0
    Model: Macmini6,2, BootROM MM61.0106.B03, 4 processors, Intel Core i7, 2.3 GHz, 4 GB, SMC 2.8f0
    Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In, 512 MB
    Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1600 MHz, 0x02FE, 0x45424A3230554638424455302D474E2D4620
    Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1600 MHz, 0x02FE, 0x45424A3230554638424455302D474E2D4620
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x10E), Broadcom BCM43xx 1.0 (5.106.98.100.15)
    Bluetooth: Version 4.1.2f9 11046, 2 service, 18 devices, 1 incoming serial ports
    Network Service: Wi-Fi, AirPort, en1
    Serial ATA Device: APPLE HDD HTS541010A9E662, 1 TB
    USB Device: hub_device, 0x8087  (Intel Corporation), 0x0024, 0x1a100000 / 2
    USB Device: hub_device, 0x8087  (Intel Corporation), 0x0024, 0x1d100000 / 2
    USB Device: hub_device, 0x0424  (SMSC), 0x2512, 0x1d180000 / 3
    USB Device: IR Receiver, apple_vendor_id, 0x8242, 0x1d182000 / 5
    USB Device: BRCM20702 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0x1d181000 / 4
    USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x828a, 0x1d181300 / 6
    Any help would be sincerely appreciated.

    When you get the freezing, note the exact time: hour, minute, second.  
    These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad and start typing the name.
    The title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen.
    Each message in the log begins with the date and time when it was entered. Scroll back to the time you noted above.
    Select the messages entered from then until the end of the episode, or until they start to repeat, whichever comes first.
    Copy the messages to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    The log contains a vast amount of information, almost all of it useless for solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    Some private information, such as your name, may appear in the log. Anonymize before posting.
    When you post the log extract, you might see an error message on the web page: "You have included content in your post that is not permitted," or "The message contains invalid characters." That's a bug in the forum software. Please post the text on Pastebin, then post a link here to the page you created.

  • Title of a Crystal Report PDF being displayed in a web browser

    I have an application that previews a report in a web browser by saving the report to the web server and then opening a new tab/window pointing at the pdf that was just created. Right now it is displaying the server name(and path to the report on the server I believe) in the title bar instead of the report title. Is it possibel to set the report title somewhere in the code so the user sees whatever I want to show them instead of anythign to do with the server?
    Thanks,
    - Mike

    Hi  Mike,
    This will get the name of the report and all of it's parts and add the .pdf to the file name:
    string MyRptName = rpt.FileName.ToString();
    MyRptName = MyRptName.Substring(MyRptName.LastIndexOf(@"\") + 1, (rpt.FileName.Length - 3) - (MyRptName.LastIndexOf(@"\") + 1)) + "pdf";
    Don

  • How can I use web service call for edit a report with SSRS in Java Struts2 web application

    Hello im new in SSRS technologie and I would like make web service call at my SSRS server. Is sombody can help me ?
    - What API should I import in my project ? I use Maven can I found this API on Maven repository ?
    - I would like have an sample of code which initialize the ReportingService, do the call and process result.
    We use the SQL Server ReportingService 2008 R2 and currently we made HTTP call like this : http://<ssr_server>/ReportServer/Pages/ReportViewer.aspx?%2fSSRS_OMB%2fMyReport&rs:Command=Render&MyParam=<value>
    Regards

    Hi ombinte,
    SQL Server Reporting Services provides access to the full functionality of the report server through the Report Server Web service. Because the Report Server Web service is an XML Web service which uses Simple Object Access Protocol (SOAP) over Hypertext Transfer
    Protocol (HTTP), any SOAP-aware application or development tool can communicate with the SSRS web service.
    There are three primary ways to develop Reporting Services applications based on the Web service, please see:
    Develop applications using Microsoft Visual Studio and the Microsoft .NET Framework SDK.
    Develop applications using the rs utility (RS.exe), the Reporting Services script environment.
    Develop applications using any SOAP-enabled set of development tools.
    For more information about Report Server Web Service, you can refer to the following document:
    http://technet.microsoft.com/en-us/library/ms152787.aspx
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How to print formatted data / report on user's printer in Web Application

    Hi All
    I want to print some formatted data/report ( it might be 1000 pages) on user's printer.
    application is web based and tech. used are Java - jsp - servlets
    now prob. is ...
    how i will transfer all data to client (web browser) from the server and how i can print that data on user's printer ...??
    there is requirement that I can not use applet for this purpose.
    if any one done or have idea then let me know.
    thanks
    Shailesh Koradiya

    Hi
    Its simple, first of all break ur data in terms of pages. Write the logic in one JSP.
    suppose i have jsp PrintReport.jsp , for page 1 url will PrintReport.jsp?page=0 ... so on
    get the page parameter in JSP
    String page="";
    if(request.getParameter("page")!=null)
    page=request.getParameter("page");
    get the rowcount from the Result and assume records per page is 100
    if u have 1000 rows then 10 pages u have to serve
    StartRowNumber=page*recordsPerPage
    EndRowNumber=StartRowNumber+recordsPerPage
    Execute a SQL query , select * from table where rownum between
    StartRowNumber and EndRowNumber
    Provide google like pageNumbers in ur HTML page
    ie 1 2 3 4 5 6 ..10
    Regarding printing , Create HTML button called 'print' and add Javascript ' window.print()' on clicking it.
    Hope it would solve ur problem
    Cheers
    Rajendra Bandi

  • How to identify which commerce server 2007 or 2009 is being used ?

    Hi,
     I am new to
    commerce servers and would like to know about version being used in the web application.
    In my servers Microsoft Commerce Servers 2007 and 2009 are installed. But I would like to know which version is being used properly. 
    IS Version=6.0.1.0 relates to Commerce Server 2007 or 2009 ???
    Below is my Configuration section related Commerce Server.
    <sectionGroup name="CommerceServer">
    <section name="application" type="Microsoft.CommerceServer.Runtime.Configuration.CommerceApplicationSectionHandler, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    <section name="authentication" type="Microsoft.CommerceServer.Runtime.Configuration.CommerceAuthenticationSectionHandler, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    <section name="pipelines" type="Microsoft.CommerceServer.Runtime.Configuration.CommercePipelineSectionHandler, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    <section name="caches" type="Microsoft.CommerceServer.Runtime.Configuration.CommerceCacheSectionHandler, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    <section name="messageManager" type="Microsoft.CommerceServer.Runtime.Configuration.CommerceMessageManagerSectionHandler, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    <section name="catalog" type="Microsoft.CommerceServer.Runtime.Configuration.CommerceCatalogSectionHandler, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    <section name="orders" type="Microsoft.CommerceServer.Runtime.Configuration.CommerceOrdersSectionHandler, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    <section name="profiles" type="Microsoft.CommerceServer.Runtime.Configuration.CommerceProfilesSectionHandler, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    <section name="contentSelection" type="Microsoft.CommerceServer.Runtime.Configuration.CommerceContentSelectionSectionHandler, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    <section name="commerceEvent" type="Microsoft.CommerceServer.Runtime.Configuration.EventLoggerConfigurationHandler, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    <section name="expressions" type="Microsoft.CommerceServer.Runtime.Configuration.CommerceExpressionSectionHandler, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    </sectionGroup>Thanks in Advance.
    Regards,Sriram
    VS

    They would be the same version for both. 
    Look in the GAC for assemblies you'll get the better versions from there.
    Brad Foley | www.blfoley.com |
    www.darklakesoftware.com

  • Problem while incrementing a variable in Jasper Reports

    Hi
    I am using Jasper Reports for designing reports. These reports will be used by my Java application.
    But there is problem while I am trying to increment a variable depending on some condition.
    Requirement: I have to display information about all the residents in a hospital in a single report. Resident information will be fetched from the XML file. When a resident ID is found in the XML, then the variable(resno) shoud be incremented. I have set the initial value to 1.
    Problem: Only for the first resident, resno is showing as 1. For all the remaining residents, its showing as 0 (zero).The variable 'resno' is not incrementing for each resident.
    Even the ResidentID is not null. All the ResidentID's exists in the XML file.
    Please find the code below.
    <variable name="resno" class="java.lang.Integer" incrementType="Group" incrementGroup="residentbrk" calculation="Count">
    <initialValueExpression><![CDATA[new Integer(1)]]></initialValueExpression>
    </variable>
    <group name="residentbrk" isStartNewPage="true">
    <groupExpression><![CDATA[$F{ResidentID}]]></groupExpression>
    <groupHeader>
    <band height="16">
    <textField hyperlinkType="None">
    <reportElement positionType="Float" x="0" y="-1" width="96" height="17"/>
    <textElement>
    <font isBold="true"/>
    </textElement>
    <textFieldExpression class="java.lang.String"><![CDATA[$R{residentno}]]></textFieldExpression>
    </textField>
    <textField hyperlinkType="None">
    <reportElement positionType="Float" x="96" y="-2" width="64" height="18"/>
    <textElement/>
    <textFieldExpression class="java.lang.Integer"><![CDATA[$V{resno}]]></textFieldExpression>
    </textField>
    </band>
    </groupHeader>
    </group>
    Could you please provide a solution for this.

    Not clear at all. May be like this
    declare
    v_temp varchar2(100);
    v_final number;
    begin
    --loop
    v_temp:='sun';
    v_temp:=translate(lower(v_temp), '1abcdefghijklmnopqrstuvwxyz', '1');
    dbms_output.put_line('Temp:'||v_temp);
    v_temp := v_temp || 'Mon5.1';
    v_temp:=translate(lower(v_temp), '1abcdefghijklmnopqrstuvwxyz', '1');
    dbms_output.put_line('Temp:'||v_temp);
    v_temp:= v_temp || 'Tue';
    v_temp:=translate(lower(v_temp), '1abcdefghijklmnopqrstuvwxyz', '1');
    dbms_output.put_line('Temp:'||v_temp);
    v_final:=to_number(v_temp);
    dbms_output.put_line('v_final'||v_final);
    --coalesce
    --end loop;
    end;
    /

  • Help in using  Jasper Report  in JSC !

    Hi,
    I am new to this forum and Studio creator as well.
    I made a Web Application with creator.Now i need to make reports of the data in my web application.
    I have heard of Jasper Report.
    But I am unable to find out ,from where to start with in Creator for incorporating Jasper Reports.
    I have read some posts in this forum regarding Jasper Reports.But i am having difficulty to start with.My web application is using Oracle 8i as datasource.
    Can anybody help in this regard
    Thanks .

    Thanks for ur reply,
    I have already read that thread.But that is a bit complex for me.
    I am finding it difficult ,from where to start with.
    That is ,where to put the code for calling the report creation procedure.
    where to put the xml file for the design of the report.
    Can somebody tell me ?
    Thanks again.

  • How to determine if reports are being run/used

    I have two Crystal report environments.  One being version 7.5 and the other is version 10.  Between them, there is a very large number of reports (1000's) that accumulated over the years. I am looking for a way to be able to tell which reports are being run and actually used. By used I mean actually being pulled from the repository.   I do not know all the specific details of the environments and not a CR expert so it is hard for me to provide too much more details.  Any help or suggestions on how to try to determine which reports are being used is greatly appreciated.

    You mention; "Crystal report environments"
    and
    "pulled from the repository"
    Question is; what is the Crystal report environment in your definition? E.g.; what is the actual product? It could be what used to be called Crystal Info (v 7), Crystal Enterprise (v. 10). Or it could be an app written by someone in your organization. Or it could be an app written by a 3rd party.
    In any case, getting answers for these products will be difficult as you're looking at products that are close to 10 years out of support (v. 10) and well over 10 years out of support (v. 7).
    - Ludek

  • How to use Jasper Report

    i am Raja. i want know more jasper report. i am using first time ok.
    How to download jasperreport and what files include and i need sample program
    Help

    i am Raja. i want know more jasper report.You might want to find a JasperReports forum then.

Maybe you are looking for

  • Additional receipts Information  stored in which database table

    Hi All, I Know addtional receipts can be controled VIA  table V_T706B1_B. But when we have to activae the link under Travel Expense Manager ->Trip receipts ->Additio Receipts Information -> Additional Receipts Information via transaction FITVFELD. I

  • Map SMTP port on multiple Public IPs to single private IP.

    Hello, we have a need to map smtp on multiple external public IPs to a single Internal IP. We need https,www, and pop3 for the external IP to go to one internal, and smtp to go to a different internal. What we'd like to do: static (inside,outside) tc

  • How to enforce HTTP1.0 protocol in WL5.1 httpd?

    Is it possible to enforce HTTP1.0 protocol in WL5.10 httpd?           Thanks,           Simon           

  • Voip call recording

    HI i want to develope an aplication which record a multiple voip conversation i think that the way is to detect a RTP session with JPCAP . but can i record a multiple RTP session in multiple WAV files with JMF ? help me please Edited by: khaled1 on J

  • How do I search for text on a webpage?

    I have found some answers for mobile devices, but how do I search for text on a webpage for my notebook?