Error in switching from one database location  to another database location in Crystal Reports using JSP

Hi,
Please help me in resolving the issue while changing the database dynamically in crystal reports using JSP. I followed the below link to change DB connection dynamically.
CRJava Modify DB Location
Please help me on this.
While switching from one database to another i found the issue.
dbController.replaceConnection(oldConnectionInfo, newConnectionInfo,pFields,replaceParams);
The Error is:
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Subreport does not exist.---- Error code:-2147467259 Error code name:failed
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:2284)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:732)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:166)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:528)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:526)
    at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:524)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:423)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:480)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:421)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:351)
    at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)
    at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)
    at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)
    at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)
    at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)
    at com.crystaldecisions.proxy.remoteagent.RemoteAgent.char(SourceFile:220)
    at com.crystaldecisions.proxy.remoteagent.RemoteAgent.new(SourceFile:240)
    at com.crystaldecisions.proxy.remoteagent.RemoteAgent.do(SourceFile:452)
    at com.crystaldecisions.proxy.remoteagent.RemoteAgent.if(SourceFile:429)
    at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.performDo(SourceFile:156)
    at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.a(SourceFile:106)
    at com.crystaldecisions.sdk.occa.report.application.an.a(SourceFile:65)
    at com.crystaldecisions.sdk.occa.report.application.ParameterFieldController.a(SourceFile:1921)
    at com.crystaldecisions.sdk.occa.report.application.ParameterFieldController.setCurrentValues(SourceFile:2237)
    at com.crystaldecisions.sdk.occa.report.application.ParameterFieldController.setCurrentValue(SourceFile:2328)
    at org.apache.jsp.DynamicDB_jsp._jspService(DynamicDB_jsp.java:255)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: com.crystaldecisions.reports.reportdefinition.ReportModificationException: Subreport does not exist.
    at com.businessobjects.reports.sdk.requesthandler.ParameterRequestHandler.a(SourceFile:229)
    at com.businessobjects.reports.sdk.requesthandler.ParameterRequestHandler.for(SourceFile:214)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1492)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:660)
    ... 47 more
Any help Appreciated.
Thanks
Penchal

Do you have subreports in your reports?
If yes, set the connection info for the subreports as well.
Additionaly refer to the below discussion
http://scn.sap.com/thread/3153289
As you are using Crystal reports for ecllipse runtime libraries to build your jsp, you would need to post your dicussions in the below forum to get better response.
http://scn.sap.com/community/crystal-reports-for-eclipse
The above space is dedicated for the issues with crystal reports for ecllipse.
Thanks,
Prithvi

Similar Messages

  • How do you switch from one iTunes account to another on your apple tv?

    How do you switch from one iTunes account to another on your apple tv?

    Welcome to the Apple community.
    I assume you do mean a different account and not simply a different iTunes library. Unfortunately, in order to switch accounts, you would need to log out and log in to the second account.

  • HT201320 How can I switch from one email user to another?

    How can I switch from one email account to another?

    You have to select between the two accounts in the mail app.
    Say for instance that you are reading an email in your XYZ email account. Tap the button in the upper left corner of the mail app to back out all the way to where you can see all of the email accounts.... Tap InBox, then tap XYZ email Account and that will take you back to the main MailBoxes window.
    Is that what you want to know? There is no way to simply "toggle" between the two accounts.

  • How to keep Itunes playing music when switching from one user account to another?

    On my old pc, that running XP, itunes would continue playing when I was switching from one user account to another.
    Now I have a new PC running win8 and the music stops playing when I switch from one user account to another. I think Itunes is still running on the user that is not active, but the music is not coming out of the speekers.
    Does anyone know how I can get the win8 pc to do as the old XP machine?

    Hello over here,
    The steps below detail how to place an input chooser that will allow for the adjustment of your keyboard layout while on the login screen.
    From the Apple menu, choose System Preferences.
    Click Users & Groups to display the pane (or choose User & Groups from the View menu).
    If the lock icon in the lower-left corner of the window is closed, click it, then enter the name and password of an administrator to unlock it.
    Click Login Options.
    Select the "Show Input menu in login window" checkbox.
    From the Apple menu, choose Log Out.
    At the login window, click the Input menu (shows the name of the currently selected input source next to a keyboard icon) in the upper-right corner of the screen, then select the desired input source or keyboard layout. If you don't see the input source you are looking for, move the pointer over Other Input Sources, then select the input source from the complete list that appears.
    OS X: How to change the keyboard layout at the login window
    http://support.apple.com/kb/HT4099
    Cheers,
    Allen

  • How to switch from  one Data base to another data base

    Hi,
    How to switch from one Data base to another data base if first data base server like in restoring,blocking,network disconnected state.
    Please help out for the same.
    Regards,
    Anilkumar

    Sounds like a problem for forums/support from the DB provider, as this problem is normally solved through some form of HA provided by the DB (or some cluster software, but still not Java) with, normally, a shared (virtual) IP address.

  • Time machine problem. Switching from one external drive to another. Problem started when upgrading to Mavrics, and changing to a WD drive

    I am a long time Mac user, running my business on an apple  platform since 1984. I currently use a 17" MacBook Pro as my primary computer for work. when it is at work it is plugged in via thunderbolt to my monitor and a one tb back up drive. I use time machine to back up the laptop to the one tb drive. When I go home, I take the laptop with me and use another drive at home as a back up. This way I have redundant back ups, in two separate locations. I have been doing this for years, and Time machine has worked flawlessly, automaticity switching from one drive to another.
    I recently switched to Maverics, and got a new drive for home. Now whether I am at home or at work, time machine fails to automatically back up. It will alert me every hour that backups cannot be completed, and I  must go to the time machine control panel and manually select a drive and click, "back up now". I also see an alert that says "waiting to complete first back up" even though each backup has been completed.
    This is quite annoying, and sometimes embarrassing. When giving lectures in large venues, the backup failure alert appears and shuts down my keynote presentation (again, something new since switching to Maverics and the new WD drive.
    I have reformatted the WD drive, and also spent time trying to change parameters in the time machine control panel, but so far no luck.
    Any advice out there?

    Time machine requires a GUID partion scheme, as well as a Mac OS X extended, journaled Volume.
    It needs these to correctly:
    1) copy the files
    2) run a modified spotlight index pass on the files
    Both are required to complete a abckup, and most new drives do not conme this way from the factory.

  • HT5622 How to switch from one apple store to another

    How to switch from one apple store to another

    Follow this procedure:
    1. Go to Settings > iTunes & App Stores > Apple ID.
    2. Tap your Apple ID.
    3. Tap View Apple ID.
    4. Enter your password.
    5. Go to Country/Region in the popup window to change to the desired store.
    See also: http://support.apple.com/kb/HT1311

  • Installed 3.6.8 and now cannot switch from one open tab to another

    my home page automatically opens 4 tabs, I updated to 3.6.8 on my mac laptop. Now when the tabs are open I cannot go from one open tab to another even though the tabs are still up.

    Download iTunes from Apple's web site and install it.  Don't use Software Update.

  • How to switch from one type layer to another?

    Is it possible, without having to use my mouse to manually select a different tool, to move from editing type on one layer to type on a different layer?
    Here's my frustration: when I'm editing type on one layer, I would love to be able to use a keyboard command to "refresh" the Type tool and then be able to click on another text layer and start editing there.
    But of course, whatever key I use to try and do that -- for example, typing M to select the Move tool -- simply types an "m" into the selected text layer.
    If memory serves me well (and it might not), I thought there was a keyboard command to do this in a long ago and far away version of Photoshop. Something that might have been lost in subsequent releases.
    The only way I know how to do this now is: (1) edit text in first layer, then (2) use my mouse to select a different tool from the Tool palette, then (3) reselect the Text tool (or use the T keyboard command for that, and then (4) select the second text layer that I want to edit.
    Simply one too many clicks for my liking.

    can't you just do it this way:
    1. edit the text in your current layer - and don't hit 'enter' when you're finished typing your text, just leave the cursor flashing on your document
    2. click on a different layer (on the layers panel) that you want to edit next
    3. move your cursor back into your document to edit the next bit of text on the layer you just selected - this way, the text tool is still your active tool, you never have to switch tools

  • How to pass parameter from 1 stored procedure to another stored procedure inside crystal report

    Hi
    I have several stored procedure in my Crystal Report. I am wondering if it is possible for me to pass a parameter to one of the stored procedure and to use the result of that stored procedure E.g. CustomerCode. To another 2 stored procedure to generate the report dynamically?
    I have 3 stored procedure
    The 1st one is used to gather information and process the calculation
    another 2 stored procedure is used for generate the graph and both of them required to take 2 parameters. The 1st stored procedure will require 1 parameter (E.G. Reference Code) and will return a set of information including the data that could be use on the other 2 stored procedures.
    After I added these 2 stored procedure, it requires me to pass 3 parameters to the report. I would like to know if I could only pass the Reference Code for stored procedure 1 and use it to retrieve the information for the other 2 parameter?
    Thanks in advance
    Chi

    Hi Chi
    To pass parameter from 1 stored procedure to another stored procedure, you will have to create sub report. In your case you will have to create 2 sub reports for 2nd and 3rd stored procedure and link those sub reports with the main report using Reference Code field in order to pass the values.
    After creating the report when you will refresh the report, it will ask 4 parameters, one parameter for main report, one for the first subreport and two for second subreport to fetch the data correctly.
    Regards
    Poonam Thorat.

  • Switching from one ASM installation to another ASM installation

    Hi,
    We've a server Red Hat Enterprise Linux Server release 5.3 (Tikanga) with installed two 11.1.0.7.0 installation: one for ASM and the other for rdmbs.
    Now, we want to install the 11.1.0.7.4 PSU.
    For reducing downtime we'd like to create two new 11.1.0.7.0 installation; then patching them with the 11.1.0.7.4 PSU.
    Then we'd like to stop ASM and all database running and switching the two old installation with the new one.
    For the rdbms installation it's easy: just to modify the oratab and then starting the databases with the new patched installation and then follow the post installation steps (atbundle.sql, etc.)
    For ASM instead, how can I do it ? How can I reconfigure the ocssd for using the new ASM installation ? And do I need to do some other steps ?
    Thanks
    massi

    Hi,
    Probably my post was not clear enough. Sorry.
    Here our scenario:
    - we have one linux server with two Oracle11g installations. We use one installation for ASM and the other one for the rdbms. We planned to install the PSU 4 on both the installations.
    We could simply shutdown all databases and ASM. Then install PSU4 on both ASM and rdmbs installation. Then startup AMS and databases and proceed with post PSU installation tasks.
    There is another possibility. To install in advance two new Oracle11g: one for ASM and the other one for the rdbms. Then apply PSU4 on these two new Oracle11g installations. Then shutdown the databases and the ASM. Then execute:
    $ORACLE_HOME/bin/localconfig reset <new_ASM_oracle_home>
    stop cssd (/etc/init.d/init.cssd stop)
    start cssd (/etc/init.d/init.cssd start)
    Then change in /etc/oratab so that databases will point to the new installation (the new one installed for rdbms)
    Then copy spfile and password files to the new oracle_home/dbs (the new one installed for rdbms)
    Then change in /etc/oratab so that ASM is using the new installation (the new one installed forASM)
    Then copy spfile and password file to the new oracle_home/dbs used by ASM (the new one installed forASM)
    Finally restart ASM and databases
    This way, the ASM will point to the new installation - and the databases will use the other new installation. This way the downtime will be shorter. It will be only necessary to apply the post PSU installation tasks
    I've already did it last weekend. It worked
    Thanks
    massi
    Thanks
    massi

  • Application launches fail after wake up from sleep when switching from one open directory to another

    I take my MacBook Pro back and forth from home to work.  Open Directory is set up at both locations running on Snow Leopard server.  These two locations are entirely separate domains and IP networks.  The only thing that is the same is my username and password, which is the same in both locations.
    If I put my machine to sleep in one location and move to the other location and wake it up, I can usually launch one application, then no other applications launch and the machine is pretty much frozen up except for mouse cursor movement.  Using command-shift-escape and relaunching the finder doesn't help.
    It is as if the launch daemon has been made inoperative.  Apps just sit and bounce.
    Should one be able to log in one one network with open directory. Close all applications, move to an entirely different network, and wake up from sleep and continue working?  The login/password is identical on both open directory setups.
    Both home and work are set up so the users can "travel" and the machines are not "bound" to the open directory server.
    I've started using the "other" login box to login in which I think keeps the machine more independent of open directory and that seems to work better for moving between networks.
    Any ideas and/or comment welcome.
    (my DNS seems fine in both environments.  running changeip gets "success" in both places)

    After reading another post that popped up under "More Like This" after I posted this I may have found at least a temporary fix.  Unplugging and reseating the MDP adapter in the MacPro didn't accomplish anything but unplugging/reseating the HDMI plug in the Viewsonic brought it back to life.
    I guess I can live with this but it would be nice knowing that there's a more permanent fix for this.

  • The iOS stores switch from one country store to another on their own, why?

    i have an iPhone and an iPad, and i face the same problem on both devices. When i try to purchase apps, music, podcasts, and books, the responsible store tells me that my account is not valid for purchase in the (country name) store, the country name changes most of the time. So i then go to my account and tap on "view account", or sign out and sign back in. After doing that i get the following: your account is valid in the U.S store. click OK to transfer you from the (country name) store to the U.S store. When i press OK the devices loads for a while, then most of the time i would get the following message "Can't connect to the iTunes store" and i would end up at the home screen. Other times it would just load normally and i would buy what i want.
    So then, why do i have to go through the whole refreseshing my regional setting process most of the time?
    Thank you

    Welcome to the Apple Community.
    Click on your account name in the top right corner of the iTunes store in the iTunes application on your computer, enter your password and click the "view account" button. Navigate to the Apple ID summary where you have the option to "change country or region".
    In order to change your location, you will need a credit card registered to an address in the location you are trying to change to.
    You cannot change your location if you have credit on your account, if you are unable to spend your credit and leave a balance of zero, contact Apple, which you can do through iTunes Store Support.

  • Why does Labview hang when switching from one TestStand application to another?

    I have several 2013 TestStand applications that use a number of LabView 2013 VIs on a test computer.  When the operator closes one TestStand program and opens another often Labview does not close properly and so when TestStand tries to load the LabView VIs it hangs or just runs and every test that is affected by LabView fails.  The only potential issues that I know about are that two of the applications were created in LabView 2009 and then updated to 2013.  Then two other TestStand applications that were created in 2013 use the function "UnloadAllModules". 
    Are there any known issues with LabView 2013 that cause this or any ideas of what I might be doing wrong?
    Solved!
    Go to Solution.

    Hello Michael,
    I did find my issue.  In my case a VI was not getting closed properly in cleanup due to the previous command not passing the handler out correctly.  Thus this VI would remain open and when I ran another TestStand Sequence, when it tried to load that LabView VI it would just hang.  But the result of this error could be seen when I closed TestStand and LabView stayed open (since it was frozen) or when done running the sequence and closing it.  Then if you tried to pop-up LabView it would not show the starting splash screen because it had froze.
    I found the problem by turning on the show VI front panel option in TestStand for all of the VI calls.  The VI that stayed open was the problem VI.
    Thanks everyone who responded for your help!
    Kurtus

  • Switching From One Apple ID To Another HELP!!

    (Really Didn't Know Where To Put This, Sorry)
    Hi There,
    I Have Been Using My Fathers Apple ID Account For About 3 Years, In That Time I Have Downloaded Many Apps. My Problem Is That Now I Am Leaving Home I Think It Is Only Right That I Set Up My Own Apple ID.
    My Question Is This, Will I Have To ReDownload All My Apps Again With The New Account To Obtain Any Future Updates? This Will Obviously Result In A Cost :/
    If There Is Anyway To Get My App Updates On My New Account Please Let Me Know, If Not Please Let Me Know So I Can Just Go Ahead And Buy Them All Again
    Also My Game Centre Achievements Will, Obviously Be Lost Aswell Correct?
    (Sorry For The Box - Did This In Text Edit)
    Thanks
    Goody

    Apps are always tied to the account from which they were purchased.  You will either have to authorize you computer for your fathers account and use his account to update your apps, or you will have to get your own apps from your own account.
    Sorry

Maybe you are looking for

  • SORT ITAB BY VARIABLE_NAME

    hi, i want to sort the int table with variable parameters, like VKBUR, BUDAT, VKORG, MATNR, etc. for that ive created a char variable of 5 length (say CRIT) and assigned value based on selection criteria by the user. Then, im using SORT ITAB BY CRIT.

  • What is the correct Patch for Oracle 11gR1 to be at Oracle 11.1.0.7 Solaris

    What is the difference between the following types of patches for Solaris 10.0.9 64 bit? to be at 11.1.0.7 on Solaris 64bit OS version 10/9 ? * RDBMS Server * Oracle Database Family

  • Reimport model

    Hi, I was wondering how ABAP WebDynpro handles model changes? In Java WD, you can do something called "Reimport model", which will then regenerate the context nodes for import and export and the java representing classes of ABAP objects/ddic structur

  • Time machine - ext USB drive - failure

    After reformatting & partitioning an external USB drive, I can't get Time Machine to do a back up on it (I've been using TM on several macs, including this one, and this drive, for years). The backup begins and after copying a few GBs of data, I get

  • Z movement types for subcontracting

    Hi Experts I am creating zmovement types for my subcontracting process,941,942,943.i am successfulyy send the material with subcontracting vendor with 941 movement.when i am doing GR for with 101movement type for subcontracting material.the 543 movem