Migrating JRC to CRJ with a SERVLET

Hi everyone,
I have transfered the JRC to CRJ without success.
Problem
18:17:03,769 INFO  [[/report-viewer]] ViewerServlet: Displaying report C:\WINDOWS\TEMP\11-report-viewer\tmp\report-5834-
111002-1248711423753 for client with id 5834 offline false
18:17:03,769 INFO  [[/report-viewer]] ViewerServlet: +++++ CRYSTAL REPORT VIEWER ++++ !
18:17:04,035 INFO  [[/report-viewer]] ViewerServlet: +++++ REPORT CLIENT DOCUMENT ++++ !
18:17:04,582 INFO  [[/report-viewer]] ViewerServlet: +++++ FETCHING SOURCE ++++ !
18:17:10,691 ERROR [[/report-viewer]] ViewerServlet: Error during the creation of the report source !
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: rowIndex---- Error code:-2147467259 Error code name:failed
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.<init>(Unknown Source)
        at com.businessobjects.sdk.erom.jrc.a.<init>(Unknown Source)
        at com.businessobjects.sdk.erom.jrc.ReportAgentFactory.createAgent(Unknown Source)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.<init>(Unknown Source)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(Unknown Source)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(Unknown Source)
        at com.crystaldecisions.sdk.occa.report.application.ClientDocument.if(Unknown Source)
        at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(Unknown Source)
        at com.rmgroup.finance.viewer.ViewerServlet.processRequest(ViewerServlet.java:130)
        at com.rmgroup.finance.viewer.ViewerServlet.doPost(ViewerServlet.java:110)
        at com.rmgroup.finance.viewer.ViewerServlet.doGet(ViewerServlet.java:80)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        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:230)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
        at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
        at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
        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:157)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NoSuchFieldError: rowIndex
        at com.crystaldecisions.reports.valuegrid.ValueGridFormulaFunctions.ValueGridObjectFunctionFactory$GridValueAtFu
nction.<clinit>(Unknown Source)
        at com.crystaldecisions.reports.valuegrid.ValueGridFormulaFunctions.ValueGridObjectFunctionFactory.<init>(Unknow
n Source)
        at com.crystaldecisions.reports.valuegrid.ValueGridFormulaFunctions.ValueGridObjectFunctionFactory.<clinit>(Unkn
own Source)
        at com.crystaldecisions.reports.valuegrid.ValueGridFormulaFunctions.ValueGridFormulaFunctionDirectory.<clinit>(U
nknown Source)
        at com.crystaldecisions.reports.dataengine.DataSourceManager.<clinit>(Unknown Source)
        at com.crystaldecisions.reports.dataengine.DataSourceManagerFactory.a(Unknown Source)
        at com.businessobjects.reports.reportconverter.v12.V12SaveLoader.a(Unknown Source)
        at com.businessobjects.reports.loader.ReportLoader.a(Unknown Source)
        at com.businessobjects.reports.sdk.JRCReportLoader.a(Unknown Source)
        at com.businessobjects.reports.sdk.JRCReportLoader.a(Unknown Source)
        at com.businessobjects.reports.sdk.requesthandler.ReportDocumentRequestHandler.a(Unknown Source)
        ... 31 more
*web.xml*
<!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd" >
<web-app>
     <display-name>Report viewer</display-name>
     <!-- Sets the location of the crystalreportsviewers directory in your web application -->
     <context-param>
          <param-name>crystal_image_uri</param-name>
          <param-value>/crystalreportviewers</param-value>
     </context-param>
     <!-- Sets the interpretation of the crystal_image_uri to be relative to the web page, application, or server -->
     <!-- Options:
     webapp      - Sets the uri as relative to the web application directory. 
     server      - Sets the uri as relative to the server root.
     Page      - Sets the uri is relative to the page from which the resources in the crystalreportviewers
                    directory are requested. -->
     <context-param>
          <param-name>crystal_image_use_relative</param-name>
          <param-value>webapp</param-value>
     </context-param>
     <!-- By default, asynchronous requests are permitted within the DHTML viewer.
     If you wish to enable the Back button in the user's browser to work with the DHTML viewer,
     you must disable asynchronous requests by setting this parameter to false. -->
     <context-param>
          <param-name>crystal_use_asynchronous_requests</param-name>
          <param-value>false</param-value>
     </context-param>
     <servlet>
          <servlet-name>ViewerServlet</servlet-name>
          <servlet-class>com.company.finance.viewer.ViewerServlet</servlet-class>
     </servlet>
     <servlet-mapping>
          <servlet-name>ViewerServlet</servlet-name>
          <url-pattern>/view</url-pattern>
     </servlet-mapping>
</web-app>
NEW JAR FILES (.classpath)
<classpath>
  <classpathentry kind="src" path="src/main/java"/>
  <classpathentry kind="src" path="src/main/resources" excluding="*/.java"/>
  <classpathentry kind="output" path="target/classes"/>
  <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
  <classpathentry kind="var" path="M2_REPO/concurrent/concurrent/1.3.4/concurrent-1.3.4.jar" sourcepath="M2_REPO/concurrent/concurrent/1.3.4/concurrent-1.3.4-sources.jar"/>
  <classpathentry kind="var" path="M2_REPO/crystal-reports/barcode/2.0/barcode-2.0.jar"/>
  <classpathentry kind="var" path="M2_REPO/crystal-reports/commons-collections/2.0/commons-collections-2.0.jar"/>
  <classpathentry kind="var" path="M2_REPO/crystal-reports/commons-configuration/2.0/commons-configuration-2.0.jar"/>
  <classpathentry kind="var" path="M2_REPO/crystal-reports/commons-lang/2.0/commons-lang-2.0.jar"/>
  <classpathentry kind="var" path="M2_REPO/crystal-reports/commons-logging/2.0/commons-logging-2.0.jar"/>
  <classpathentry kind="var" path="M2_REPO/crystal-reports/CrystalCommon/2.0/CrystalCommon-2.0.jar"/>
  <classpathentry kind="var" path="M2_REPO/crystal-reports/CrystalReportsRuntime/2.0/CrystalReportsRuntime-2.0.jar"/>
  <classpathentry kind="var" path="M2_REPO/crystal-reports/cvom/2.0/cvom-2.0.jar"/>
  <classpathentry kind="var" path="M2_REPO/crystal-reports/DatabaseConnectors/2.0/DatabaseConnectors-2.0.jar"/>
  <classpathentry kind="var" path="M2_REPO/crystal-reports/icu4j/2.0/icu4j-2.0.jar"/>
  <classpathentry kind="var" path="M2_REPO/crystal-reports/jai_imageio/2.0/jai_imageio-2.0.jar"/>
  <classpathentry kind="var" path="M2_REPO/crystal-reports/JDBInterface/2.0/JDBInterface-2.0.jar"/>
  <classpathentry kind="var" path="M2_REPO/crystal-reports/jrcerom/2.0/jrcerom-2.0.jar"/>
  <classpathentry kind="var" path="M2_REPO/crystal-reports/keycodeDecoder/2.0/keycodeDecoder-2.0.jar"/>
  <classpathentry kind="var" path="M2_REPO/crystal-reports/log4j/2.0/log4j-2.0.jar"/>
  <classpathentry kind="var" path="M2_REPO/crystal-reports/logging/2.0/logging-2.0.jar"/>
  <classpathentry kind="var" path="M2_REPO/crystal-reports/pfjgraphics/2.0/pfjgraphics-2.0.jar"/>
  <classpathentry kind="var" path="M2_REPO/crystal-reports/QueryBuilder/2.0/QueryBuilder-2.0.jar"/>
  <classpathentry kind="var" path="M2_REPO/crystal-reports/webreporting/2.0/webreporting-2.0.jar"/>
  <classpathentry kind="var" path="M2_REPO/crystal-reports/webreporting-jsf/2.0/webreporting-jsf-2.0.jar"/> 
  <classpathentry kind="var" path="M2_REPO/crystal-reports/XMLConnector/2.0/XMLConnector-2.0.jar"/>
  <classpathentry kind="var" path="M2_REPO/crystal-reports/xpp3/2.0/xpp3-2.0.jar"/>   
  <classpathentry kind="var" path="M2_REPO/org/apache/derby/derby/10.4.1.3/derby-10.4.1.3.jar"/>
  <classpathentry kind="var" path="M2_REPO/com/ibm/icu/icu4j/3.8/icu4j-3.8.jar"/>
  <classpathentry kind="var" path="M2_REPO/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar" sourcepath="M2_REPO/javax/servlet/servlet-api/2.3/servlet-api-2.3-sources.jar"/>
  <classpathentry kind="var" path="M2_REPO/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar" sourcepath="M2_REPO/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1-sources.jar"/>
  <classpathentry kind="var" path="M2_REPO/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar" sourcepath="M2_REPO/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2-sources.jar"/>
</classpath>
OLD JAR FILES (.classpath)
<classpath>
  <classpathentry kind="src" path="src/main/java"/>
  <classpathentry kind="src" path="src/main/resources" excluding="*/.java"/>
  <classpathentry kind="output" path="target/classes"/>
  <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
  <classpathentry kind="var" path="M2_REPO/crystal-reports/cecore/11.8.6/cecore-11.8.6.jar"/>
  <classpathentry kind="var" path="M2_REPO/crystal-reports/celib/11.8.6/celib-11.8.6.jar"/>
  <classpathentry kind="var" path="M2_REPO/concurrent/concurrent/1.3.4/concurrent-1.3.4.jar" sourcepath="M2_REPO/concurrent/concurrent/1.3.4/concurrent-1.3.4-sources.jar"/>
  <classpathentry kind="var" path="M2_REPO/crystal-reports/crystal-charting/11.8.6/crystal-charting-11.8.6.jar"/>
  <classpathentry kind="var" path="M2_REPO/crystal-reports/crystal-common/11.8.6/crystal-common-11.8.6.jar"/>
  <classpathentry kind="var" path="M2_REPO/crystal-reports/crystal-dbconnectors/11.8.6/crystal-dbconnectors-11.8.6.jar"/>
  <classpathentry kind="var" path="M2_REPO/crystal-reports/crystal-exporters/11.8.6/crystal-exporters-11.8.6.jar"/>
  <classpathentry kind="var" path="M2_REPO/crystal-reports/crystal-exportingbase/11.8.6/crystal-exportingbase-11.8.6.jar"/>
  <classpathentry kind="var" path="M2_REPO/crystal-reports/crystal-formulas/11.8.6/crystal-formulas-11.8.6.jar"/>
  <classpathentry kind="var" path="M2_REPO/crystal-reports/crystal-models/11.8.6/crystal-models-11.8.6.jar"/>
  <classpathentry kind="var" path="M2_REPO/crystal-reports/crystal-queryengine/11.8.6/crystal-queryengine-11.8.6.jar"/>
  <classpathentry kind="var" path="M2_REPO/crystal-reports/crystal-reportengine/11.8.6/crystal-reportengine-11.8.6.jar"/>
  <classpathentry kind="var" path="M2_REPO/crystal-reports/crystal-reportingcommon/11.8.6/crystal-reportingcommon-11.8.6.jar"/>
  <classpathentry kind="var" path="M2_REPO/org/apache/derby/derby/10.4.1.3/derby-10.4.1.3.jar"/>
  <classpathentry kind="var" path="M2_REPO/com/ibm/icu/icu4j/3.8/icu4j-3.8.jar"/>
  <classpathentry kind="var" path="M2_REPO/businessobjects/jrcadapter/11.8.6/jrcadapter-11.8.6.jar"/>
  <classpathentry kind="var" path="M2_REPO/businessobjects/jrcerom/11.8.6/jrcerom-11.8.6.jar"/>
  <classpathentry kind="var" path="M2_REPO/junit/junit/4.3.1/junit-4.3.1.jar" sourcepath="M2_REPO/junit/junit/4.3.1/junit-4.3.1-sources.jar"/>
  <classpathentry kind="var" path="M2_REPO/crystal-reports/keycode/11.8.6/keycode-11.8.6.jar"/>
  <classpathentry kind="var" path="M2_REPO/crystal-reports/metafile/11.8.6/metafile-11.8.6.jar"/>
  <classpathentry kind="var" path="M2_REPO/crystal-reports/rasapp/11.8.6/rasapp-11.8.6.jar"/>
  <classpathentry kind="var" path="M2_REPO/crystal-reports/rascore/11.8.6/rascore-11.8.6.jar"/>
  <classpathentry kind="var" path="M2_REPO/businessobjects/report-printer/11.8.6/report-printer-11.8.6.jar"/>
  <classpathentry kind="var" path="M2_REPO/businessobjects/report-viewer/11.8.6/report-viewer-11.8.6.jar"/>
  <classpathentry kind="var" path="M2_REPO/crystal-reports/rpoifs/11.8.6/rpoifs-11.8.6.jar"/>
  <classpathentry kind="var" path="M2_REPO/crystal-reports/serialization/11.8.6/serialization-11.8.6.jar"/>
  <classpathentry kind="var" path="M2_REPO/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar" sourcepath="M2_REPO/javax/servlet/servlet-api/2.3/servlet-api-2.3-sources.jar"/>
  <classpathentry kind="var" path="M2_REPO/crystal-reports/uri-util/11.8.6/uri-util-11.8.6.jar"/>
  <classpathentry kind="var" path="M2_REPO/crystal-reports/web-reporting/11.8.6/web-reporting-11.8.6.jar"/>
  <classpathentry kind="var" path="M2_REPO/crystal-reports/web-reporting-jsf/11.8.6/web-reporting-jsf-11.8.6.jar"/>
  <classpathentry kind="var" path="M2_REPO/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar" sourcepath="M2_REPO/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1-sources.jar"/>
  <classpathentry kind="var" path="M2_REPO/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar" sourcepath="M2_REPO/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2-sources.jar"/>
</classpath>
The crystal reports viewer worked with the old JAR files but then ran into problems when I put in the new JAR files. Any ideas? Thank you for your help. Valentine

++NEW JAR FILES (.classpath)++
  kind="src" path="src/main/java"/>
  kind="src" path="src/main/resources" excluding="*/.java"/>
  kind="output" path="target/classes"/>
  kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
  path="M2_REPO/concurrent/concurrent/1.3.4/concurrent-1.3.4.jar" sourcepath="M2_REPO/concurrent/concurrent/1.3.4/concurrent-1.3.4-sources.jar"/>
  path="M2_REPO/crystal-reports/barcode/2.0/barcode-2.0.jar"/>
  path="M2_REPO/crystal-reports/commons-collections/2.0/commons-collections-2.0.jar"/>
  path="M2_REPO/crystal-reports/commons-configuration/2.0/commons-configuration-2.0.jar"/>
  path="M2_REPO/crystal-reports/commons-lang/2.0/commons-lang-2.0.jar"/>
  path="M2_REPO/crystal-reports/commons-logging/2.0/commons-logging-2.0.jar"/>
  path="M2_REPO/crystal-reports/CrystalCommon/2.0/CrystalCommon-2.0.jar"/>
  path="M2_REPO/crystal-reports/CrystalReportsRuntime/2.0/CrystalReportsRuntime-2.0.jar"/>
  path="M2_REPO/crystal-reports/cvom/2.0/cvom-2.0.jar"/>
  path="M2_REPO/crystal-reports/DatabaseConnectors/2.0/DatabaseConnectors-2.0.jar"/>
  path="M2_REPO/crystal-reports/icu4j/2.0/icu4j-2.0.jar"/>
  path="M2_REPO/crystal-reports/jai_imageio/2.0/jai_imageio-2.0.jar"/>
  path="M2_REPO/crystal-reports/JDBInterface/2.0/JDBInterface-2.0.jar"/>
  path="M2_REPO/crystal-reports/jrcerom/2.0/jrcerom-2.0.jar"/>
  path="M2_REPO/crystal-reports/keycodeDecoder/2.0/keycodeDecoder-2.0.jar"/>
  path="M2_REPO/crystal-reports/log4j/2.0/log4j-2.0.jar"/>
  path="M2_REPO/crystal-reports/logging/2.0/logging-2.0.jar"/>
  path="M2_REPO/crystal-reports/pfjgraphics/2.0/pfjgraphics-2.0.jar"/>
  path="M2_REPO/crystal-reports/QueryBuilder/2.0/QueryBuilder-2.0.jar"/>
  path="M2_REPO/crystal-reports/webreporting/2.0/webreporting-2.0.jar"/>
  path="M2_REPO/crystal-reports/webreporting-jsf/2.0/webreporting-jsf-2.0.jar"/> 
  path="M2_REPO/crystal-reports/XMLConnector/2.0/XMLConnector-2.0.jar"/>
  path="M2_REPO/crystal-reports/xpp3/2.0/xpp3-2.0.jar"/>   
  path="M2_REPO/org/apache/derby/derby/10.4.1.3/derby-10.4.1.3.jar"/>
  path="M2_REPO/com/ibm/icu/icu4j/3.8/icu4j-3.8.jar"/>
  path="M2_REPO/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar" sourcepath="M2_REPO/javax/servlet/servlet-api/2.3/servlet-api-2.3-sources.jar"/>
  path="M2_REPO/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar" sourcepath="M2_REPO/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1-sources.jar"/>
  path="M2_REPO/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar" sourcepath="M2_REPO/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2-sources.jar"/>
++OLD JAR FILES (.classpath)++
  kind="src" path="src/main/java"/>
  kind="src" path="src/main/resources" excluding="*/.java"/>
  kind="output" path="target/classes"/>
  kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
  path="M2_REPO/crystal-reports/cecore/11.8.6/cecore-11.8.6.jar"/>
  path="M2_REPO/crystal-reports/celib/11.8.6/celib-11.8.6.jar"/>
  path="M2_REPO/concurrent/concurrent/1.3.4/concurrent-1.3.4.jar" sourcepath="M2_REPO/concurrent/concurrent/1.3.4/concurrent-1.3.4-sources.jar"/>
  path="M2_REPO/crystal-reports/crystal-charting/11.8.6/crystal-charting-11.8.6.jar"/>
  path="M2_REPO/crystal-reports/crystal-common/11.8.6/crystal-common-11.8.6.jar"/>
  path="M2_REPO/crystal-reports/crystal-dbconnectors/11.8.6/crystal-dbconnectors-11.8.6.jar"/>
  path="M2_REPO/crystal-reports/crystal-exporters/11.8.6/crystal-exporters-11.8.6.jar"/>
  path="M2_REPO/crystal-reports/crystal-exportingbase/11.8.6/crystal-exportingbase-11.8.6.jar"/>
  path="M2_REPO/crystal-reports/crystal-formulas/11.8.6/crystal-formulas-11.8.6.jar"/>
  path="M2_REPO/crystal-reports/crystal-models/11.8.6/crystal-models-11.8.6.jar"/>
  path="M2_REPO/crystal-reports/crystal-queryengine/11.8.6/crystal-queryengine-11.8.6.jar"/>
  path="M2_REPO/crystal-reports/crystal-reportengine/11.8.6/crystal-reportengine-11.8.6.jar"/>
  path="M2_REPO/crystal-reports/crystal-reportingcommon/11.8.6/crystal-reportingcommon-11.8.6.jar"/>
  path="M2_REPO/org/apache/derby/derby/10.4.1.3/derby-10.4.1.3.jar"/>
  path="M2_REPO/com/ibm/icu/icu4j/3.8/icu4j-3.8.jar"/>
  path="M2_REPO/businessobjects/jrcadapter/11.8.6/jrcadapter-11.8.6.jar"/>
  path="M2_REPO/businessobjects/jrcerom/11.8.6/jrcerom-11.8.6.jar"/>
  path="M2_REPO/junit/junit/4.3.1/junit-4.3.1.jar" sourcepath="M2_REPO/junit/junit/4.3.1/junit-4.3.1-sources.jar"/>
  path="M2_REPO/crystal-reports/keycode/11.8.6/keycode-11.8.6.jar"/>
  path="M2_REPO/crystal-reports/metafile/11.8.6/metafile-11.8.6.jar"/>
  path="M2_REPO/crystal-reports/rasapp/11.8.6/rasapp-11.8.6.jar"/>
  path="M2_REPO/crystal-reports/rascore/11.8.6/rascore-11.8.6.jar"/>
  path="M2_REPO/businessobjects/report-printer/11.8.6/report-printer-11.8.6.jar"/>
  path="M2_REPO/businessobjects/report-viewer/11.8.6/report-viewer-11.8.6.jar"/>
  path="M2_REPO/crystal-reports/rpoifs/11.8.6/rpoifs-11.8.6.jar"/>
  path="M2_REPO/crystal-reports/serialization/11.8.6/serialization-11.8.6.jar"/>
  path="M2_REPO/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar" sourcepath="M2_REPO/javax/servlet/servlet-api/2.3/servlet-api-2.3-sources.jar"/>
  path="M2_REPO/crystal-reports/uri-util/11.8.6/uri-util-11.8.6.jar"/>
  path="M2_REPO/crystal-reports/web-reporting/11.8.6/web-reporting-11.8.6.jar"/>
  path="M2_REPO/crystal-reports/web-reporting-jsf/11.8.6/web-reporting-jsf-11.8.6.jar"/>
  path="M2_REPO/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar" sourcepath="M2_REPO/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1-sources.jar"/>
  path="M2_REPO/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar" sourcepath="M2_REPO/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2-sources.jar"/>
Edited by: Valentin Gasca on Jul 27, 2009 7:00 PM
Edited by: Valentin Gasca on Jul 27, 2009 7:02 PM

Similar Messages

  • Change file name with oreilly servlet

    I am using oreilly servlet package and I want to change the file name to the file I am uploading, is this possible ?
    How ?
    Thanks.
    here I post the servlet code:
    package com.reducativa.sitio.servlets;
    * DemoParserUploadServlet.java
    * Example servlet to handle file uploads using MultipartParser for
    * decoding the incoming multipart/form-data stream
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import com.oreilly.servlet.multipart.*;
    public class DemoParserUploadServlet extends HttpServlet {
    public void doPost(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    PrintWriter out = response.getWriter();
    response.setContentType("text/plain");
    out.println("Demo Parser Upload Servlet");
    File dir = new File("f:/");
    if (! dir.isDirectory()) {
    throw new ServletException("Supplied uploadDir " + "f:/ " +
    " is invalid");
    try {
    MultipartParser mp = new MultipartParser(request, 10*1024*1024); // 10MB
    Part part;
    while ((part = mp.readNextPart()) != null) {
    String name = part.getName();
    if (part.isParam()) {
    // it's a parameter part
    ParamPart paramPart = (ParamPart) part;
    String value = paramPart.getStringValue();
    out.println("param; name=" + name + ", value=" + value);
    else if (part.isFile()) {
    // it's a file part
    FilePart filePart = (FilePart) part;
    String fileName = filePart.getFileName();
    if (fileName != null) {
    // the part actually contained a file
    long size = filePart.writeTo(dir);
    out.println("file; name=" + name + "; filename=" + fileName +
    ", filePath=" + filePart.getFilePath() +
    ", content type=" + filePart.getContentType() +
    ", size=" + size);
    else {
    // the field did not contain a file
    out.println("file; name=" + name + "; EMPTY");
    out.flush();
    catch (IOException lEx) {
    this.getServletContext().log("error reading or saving file");
    }

    Hi there,
    I am facing the same problem that you have stated in your Feb 26, 2002 10:28 AM message regarding "change file name with oreilly servlet", I would like to change the file name to include a unique identifier upon upload, did you ever find a solution to your problem?
    Thanks!
    Todd
    [email protected]

  • 10.5.1 500 Internal Server Error -  with a Servlet

    My web application is in EAR form with a servlet whick worked only once for me.Although it is geeting deployed properly my successive attempts to utilise the functionality of servlet have failed.Hope I can have a positive reply soon.

    Since your getting a 500 internal error, your weblogic log file should be showing
    some errors. Have you checked the log file?
    pat
    Nagaraj <[email protected]> wrote:
    My web application is in EAR form with a servlet whick worked only once
    for me.Although it is geeting deployed properly my successive attempts
    to utilise the functionality of servlet have failed.Hope I can have
    a positive reply soon.

  • Have photoshop cs6 for windows and am now migrating to a mac with Yosemite installed.  Where can I download the cs6 for mac? And can I use the same serial no that  I received for windows.

    Have photoshop cs6 for windows and am now migrating to a mac with Yosemite installed. 
    Where can I download the cs6 for mac? And can I use the same serial no that  I received for windows.

    You need to run a platform swap:
    Order product | Platform, language swap
    Until it's through, you can use the trial version.
    Download CS6 products
    Mylenium

  • Downloading PDF file with a servlet

    I'm working on a web application that dynamicaly creates a PDF file and then writes each character to the ServletOutputStream. Ideally, the browser is supposed to recognize the "application/pdf" MIME type and force the file to be downloaded (or opened from current location if the user should choose). When I test it on my local system, the file downloads but it uses the servlet as the file name. On my webserver I get the following problems.
    1) On all the browsers I've tested (except Internet Explorer), the output is being printed in ASCII to the display which keeps the file from downloading. Internet Explorer is the only browser that will actually download the file.
    2) When it does attempt to download the file, it is creating a file with the servlet as the name as opposed to the filename that I am assigning during creation.
    I've been reading all the related posts that I could find in these Forums but haven't been able to find a solution. If anybody has any ideas, I would greatly appreciate your knowledge. Please note that I have set up MIME-mapping for the PDF extension in the WEB.XML file on my web server.
    Here is some servlet code that handles the PDF creation and download:
    public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
    InputStream in = null;
    ServletOutputStream out = null;
    String dir = "/www/mydirectory/";
    try {
    // Create the PDF file and retrieve the filename
    String filename = PDFCreator.main();
    //Flush the response stream and then reset it for writing a PDF to the display
    response.reset();
    response.setContentType("application/pdf");
    response.setHeader("Content-Disposition", "attachment; filename="+filename);
    out = response.getOutputStream();
    in = new BufferedInputStream( new FileInputStream(dir+filename));
    int ch;
    while ( (ch = in.read()) != -1 ) {
    out.print( (char)ch );
    } catch (Exception e) {
    e.printStackTrace();
    } finally {
    if( in != null ) {
    in.close();
    if( out != null ) {
    out.flush();
    out.close();

    Your code looks correct.
    Apparently other people too have been having problems with pdf's. These links may help you solve the problem.
    http://forum.java.sun.com/thread.jsp?forum=54&thread=100793
    http://forum.java.sun.com/thread.jsp?forum=33&thread=250668
    http://forum.java.sun.com/thread.jsp?forum=33&thread=63282
    Redirecting may not be a good idea due to url hacking. Streaming the output would be the best way to go.

  • How to replace an MDB with a servlet

    I got a situation to replace an MDB with a servlet,How can I do that,more appreciated if u send me some sample code.

    Hi,
    An MDB can be replaced by a normal java class by doing the following.
    Make a jndi lookup for the queue/topic connection factory and then create a javax.jms.QueueConnection. Then create a javax.jms.QueueSession using this connection. Make a JNDI look up for the Queue. Create a javax.jms.QueueReceiver using the created QueueSession. Call start on the QueueConnection and receive a message by calling the receive method on QueueReceiver.
    Thanks,
    marvlex

  • Applet communication with struts servlet

    Hi
    I�ve seen a lot of examples where a Java applet communicates with a servlet.
    I�ve made a web application using Struts, and i would like to know if it is possible to use an applet (View) and send to Stuts some data, I mean, call an action like http://localhost:8080/ViewRoads.do.
    Is it possible? ,Where can I find some examples about?, could anyone explain how would it work?, any good book to read about?.
    Thank you.

    I'm sorry but don't you have a communication source code example between a servlet and an applet that does work ? I'm looking for one of these since Two days already.
    thanks

  • How to Migrate Business rules along with access privileges

    Hi All,
    I migrated business rules from prod to dev using lcm. The business rules got migrated correctly, but the access privileges did not. I tried exporting from EAS and import. Even then the access privileges were not migrated.How do we migrate business rules along with access privileges? Quick help is much appreciated.
    We are on hyp. planning 11.1.1.3. and we use classic planning applications.
    Thanks
    Lakshmi

    If they are native users/groups then it may be down to the ID for the users/groups being different across environments, this has always been a problem with business rules, with planning applications then there is the updateusers utility to sync up the ID with shared services.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to Migrate 10g sso integrate with EBS 11.5.10.2  to 11g OAM(oracle access manager) with R12.1.3

    How to Migrate 10g sso integrated with EBS 11.5.10.2  to 11g OAM(oracle access manager) with R12.1.3
    Os:Linux 64 bit
    database:11.2.0.3 Rac

    Hi,
    You could try working through the EBS -> APEX integration article on the Apex community site (http://www.oracle.com/technetwork/developer-tools/apex/apex-ebs-wp-cabot-consulting-169064.pdf)
    Rod West

  • Web services with axis & servlets ????

    Hi !
    Iwould like to know if it is possible to reach a tomcat servlet when we are running a service with axis integrated in tomcat : can we use the servetcontext and share it between tomcat & axis ????
    TU a lot...
    PA

    Hi,
    As far as I know if Apache soap used to implemented as a servlet. If axis is implemented the same way ( I am not sure about this), then it should be able the share the context with other servlets within the container. Hope this helps.
    Cheers,
    Arun

  • Problem with Controller Servlet in WAS 4.0

    Hello guys,
              I am working on WPS over WAS 4.0. I have an Enterprise application
              with a servlet which acts as a Traffic Controller. Its job is to
              intercept every http request to the Portal Server and make some
              changes to the URL and redirect/forward the changed URL to the Portal
              server. I plan to map the servlet to "/" so as all the requests are
              handled by this servlet. I hope it will work this way.
              So, the user clicks on a URL like http://server_name/meeting, the
              servlet sees a mapping table for /meetinf, constructs a new URL and
              redirects it. I read the /meeting as "pathInfo" variable from the
              request object. Please note that "/" is mapped to the servlet. This
              works fine. But if I give a JSP file instead
              (http://server_name/meeting/m.jsp), it starts looking for the JSP file
              in the Servlet WAR file. So the question is if there's any any other
              way of achieving this effect or is there any way to make all the .jsp
              file requests to go to this servlet instead of being searched in the
              WAR file?
              I would be grateful if someone can put their thoughts over this
              problem.
              Thanks
              Kapil.
              ([email protected])
              

    Sorry to hear that.
    As far as I know the campus topology is based on CDP info. And since you see all the links in the CDP tables, so should campus.
    I've seen campus getting it wrong a few times, especially when there was some repatching done, but until now, when I delete the devices and re-add these devices, the next data collection gets the links correct.
    Cheers,
    Michel

  • Please help to upload with java servlet

    I want to install a java servlet uploader on my web site and i try to do it many times but i can't beacuse i dont know what are the essentials that should be found on the server to install java servlet in right way ..
    so please help me to do this .. and tell me what i need to upload files correctly with java servlet .
    any help will be appreciated ..
    thank you !

    Hello newton ..
    I only want to know what are the requirments that let me use the java servlet on linux system .. because i want use an uploader using java servlet ..
    thank u newton ..
    any help will be appreciated

  • Reading a file on the server with a servlet

    How do you read a file with a servlet that is located on the server?
    I have tried several methods: here I have one of them:
    begin code
    String temp;
    temp = this.getServletContext().getRealPath(temp);
    in = new BufferedReader(new FileReader(temp));
    while(in.ready())
    bodytext=in.readLine();
    end code
    output: can't find file
    while I am 100% certain that the file is present at the location given in the String temp.
    Can someone help me please?

    I have to make a servlet that makes a menu structure. When I press a link, he asks my servlet to read a html file on the server. Then, he writes a submenu structure combined with the body part of the html code of the html file. For now, I have made it in JavaScript, but that doesn't work like I want it to. An example of what I mean, you can find at http://www.autismevlaanderen.be/vva
    It's in a foreign language(Dutch), but it's the structure that matters.

  • Weblogic 4.5.1 come with which servlet version?

    hello..think i am asking a very outdated question. Please anyone know weblogic 4.5.1 comes with which servlet version?? JSP version? J2EE..??..
              As i am having error using the method getRequestURL
              thanks
              

              Hi Neele,
              4.5.1 supports Servlet 2.1 and JSP 1.0 without Service Packs.
              With Service Pack there is a support for Servlet 2.2 and JSP 1.1.
              Are you using any service packs ??
              Bala
              neele <[email protected]> wrote:
              >hello..think i am asking a very outdated question. Please anyone know
              >weblogic 4.5.1 comes with which servlet version?? JSP version? J2EE..??..
              >
              >As i am having error using the method getRequestURL
              >
              >thanks
              

  • Proxy login with xsql servlet

    Has anyone written a Custom Connection Manager for the xsql servlet? It seems useful to support proxy/lightweight sessions with xsql servlet. Has anyone tried this?

    It won't work because iPlanet 4.1 has a broken implementation of the Servlet API's getRealPath() method, the method that XSQL Servlet uses to resolve virtual paths into absolute paths.
    I just debugged a complaint that it didn't work with iPlanet this week and this was the result I found.
    Their path resolution works for their own JSP implementation, but not for any other servlet.

Maybe you are looking for