JNDI lookup for Crystal Reports at runtime

How to run a rpt to fetch data from database connection defined in Tomcat's JNDI resources ? We are using JDBC(JNDI) Data source while designing the report in the Crystal Report designer and we want to use 'Connection Name' at runtime for jndi lookup to Tomcats JNDI resources.

Hi,
Thanks, this helped in resolving the JNDI lookup problem. But we are not having an issue in connecting to DS as it fails with error "Unsupported JNDI Object".
Tried suggestions on this link: "http://www.theserverside.com/discussions/thread.tss?thread_id=37430", but no luck.
Here are the configuration files:
context.xml:
<Context>
<Resource name="jdbc/remedy" auth="Container" type="javax.sql.DataSource" driverClassName="oracle.jdbc.OracleDriver" url="jdbc:oracle:thin:@10.76.85.68:1521:dtv" maxActive="20" maxIdle="10" maxWait="-1" />
</Context>
web.xml:
<resource-ref>
          <description>DB Connection</description>
          <res-ref-name>jdbc/remedy</res-ref-name>
          <res-type>javax.sql.DataSource</res-type>
          <res-auth>Container</res-auth>
</resource-ref>
Log:
2009-10-30 06:38:05,804 DEBUG [com.crystaldecisions.reports.formatter.a.c] - Export Supervisor: number of destination exporters:1
2009-10-30 06:38:05,804 DEBUG [com.crystaldecisions.reports.formatter.a.c] - Export Supervisor: number of format exporters:4
2009-10-30 06:38:05,865 INFO [com.businessobjects.reports.sdk.JRCCommunicationAdapter] - JRCAgent1 received request: fetchReportPageRequest
2009-10-30 06:38:05,865 INFO [com.businessobjects.reports.sdk.JRCCommunicationAdapter] - JRCAgent1 attempting to acquire license
2009-10-30 06:38:05,865 INFO [com.businessobjects.reports.sdk.JRCCommunicationAdapter] - JRCAgent1 successfully acquired license
2009-10-30 06:38:05,867 DEBUG [com.businessobjects.reports.sdk.JRCCommunicationAdapter] - Requesting page 1
2009-10-30 06:38:05,879 INFO [com.crystaldecisions.reports.queryengine.driverImpl] - Logon: Connecting to database using local JNDI server ...
2009-10-30 06:38:05,888 DEBUG [com.crystaldecisions.reports.reportdefinition.datainterface] - Failed to open connection (Connection:  databaseType=JDBC (JNDI)  serverName=jdbc:oracle:thin:@10.76.85.68:1521:dtv  state=closed  databaseDriverName=crdb_jdbc.dll).
com.crystaldecisions.reports.queryengine.al: Unsupported JNDI Object (remedy)
     at com.crystaldecisions.reports.queryengine.driverImpl.o.if(Unknown Source)
     at com.crystaldecisions.reports.queryengine.av.new(Unknown Source)
     at com.crystaldecisions.reports.queryengine.av.byte(Unknown Source)
     at com.crystaldecisions.reports.reportdefinition.datainterface.b.a(Unknown Source)
     at com.crystaldecisions.reports.reportdefinition.datainterface.b.a(Unknown Source)
     at com.crystaldecisions.reports.reportdefinition.datainterface.b.a(Unknown Source)
     at com.crystaldecisions.reports.reportdefinition.datainterface.b.if(Unknown Source)
     at com.crystaldecisions.reports.reportdefinition.datainterface.j.a(Unknown Source)
     at com.businessobjects.reports.sdk.b.i.if(Unknown Source)
     at com.businessobjects.reports.sdk.b.i.a(Unknown Source)
     at com.businessobjects.reports.sdk.b.i.byte(Unknown Source)
     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
     at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
     at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
     at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
     at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
     at com.crystaldecisions.sdk.occa.report.application.ReportSource.getPage(Unknown Source)
     at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.getPage(Unknown Source)
     at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.getPage(Unknown Source)
     at com.crystaldecisions.report.web.event.ac.a(Unknown Source)
     at com.crystaldecisions.report.web.event.ac.a(Unknown Source)
     at com.crystaldecisions.report.web.event.b2.a(Unknown Source)
     at com.crystaldecisions.report.web.event.b7.broadcast(Unknown Source)
     at com.crystaldecisions.report.web.event.av.a(Unknown Source)
     at com.crystaldecisions.report.web.WorkflowController.do(Unknown Source)
Edited by: MuralidharS on Oct 30, 2009 8:46 AM

Similar Messages

  • Support for Crystal Report XI runtime on Windows Server 2008 R2

    Hi all,
    I was wondering if Crystal report XI runtime is supported on Windws Server 2008 R2.
    I've found this url http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e06b8953-a62b-2d10-38b9-ca71f747e2b1?QuickLink=index&overridelayout=true&59511066859035
    We are develping with .Net framework 2.0.
    Thanks in advance.
    Regards.
    Roberto.

    Hi Roberto,
    By 'Crystal report XI runtime' if you mean CR 11.0, then it is not supported with Windws Server 2008 R2.
    See the compatibility chart.
    http://wiki.scn.sap.com/wiki/pages/viewpage.action?original_fqdn=wiki.sdn.sap.com&pageId=56787567
    The link you have referred is for Crystal Reprots for VS 2010 / 2012 / 2013 which is the lates version of CR which provides the SDK.
    http://scn.sap.com/docs/DOC-7824
    - Bhushan
    Senior Engineer
    SAP Active Global Support
    Follow us on Twitter
    Got Enhancement ideas? Try the SAP Idea Place
    Getting started and moving ahead with Crystal Reports .NET applications.

  • Error in Crystal Reports 2008 Runtime Version = 12.2.3.467

    Dear Support Team
    <br />
    <br />
    I am making the setup for our application using InstallShield 2010.
    <br />
    <br />
    I recently updated the crystal reports 2008 runtime to version = 12.2.3.467.
    <br />
    <br />
    Based on this article
    <br />
    <br />
    <br />
    <br />
    Topic of the week (October 15, 2009)  
    <br />
    Date time field is blank when using ADO .NET dataset and Crystal Reports 2008, Service Pack 2.0
    <br />
    This is a new issue, very specific to CR 2008 and SP 2. Date time fields are stripped out of a report (or not
    <br />
    visible), if a report is consuming a .NET dataset which contains a date time field. A technical escalation has been
    <br />
    submitted and a work-around is detailed in note number 1392258
    <br />
    <br />
    <br />
    Since DateTime Column was not getting displayed in the deployment machine when running the report.
    <br />
    <br />
    So I downloaded the Crystal Report 2008 FP2.3 and merge module for the same and installed on my development machine
    <br />
    <br />
    where I am making the Setup.
    <br />
    <br />
    I am able to make the setup successfully without errors, but when I try to install the setup on the deployment machine I am getting
    <br />
    the errors as
    <br />
    <br />
    Error 1904.Module C:\Program Files\BusinessObjects\BusinessObjects Enterprise 12.0\win32_x86\CEReportSource.dll
    <br />
    failed to register
    <br />
    Same message pops up for N number of Crystal Dlls with message failed to register.
    <br />
    Even though as per article in your forums I am doing everything right.
    <br />
    I have correct Dll for VC++ 2005
    <br />u2022
    <br />
    Microsoft_VC80_ATL_x86.msm; version 8.0.50727.762
    <br />
    <br />
    u2022 Microsoft_VC80_CRT_x86.msm version 8.0.50727.762
    <br />
    <br />
    u2022 Microsoft_VC80_MFCLOC_x86.msm; version 8.0.50727.762
    <br />
    <br />
    u2022 Microsoft_VC80_MFC_x86.msm; version 8.0.50727.762
    <br />
    <br />
    u2022 Microsoft_VC80_OpenMP_x86.msm; version 8.0.50727.762 
    <br />
    <br />
    With exactly same versions as mentioned in the article.
    <br />
    <br />
    I followed the article in your forum
    <br />
    Building a deployment project with Crystal Reports 2008 (12.1.0.892) SP1
    <br />
    Posted on Mar. 09, 2009 08:22 AM in Business Objects
    <br />
    The same sort of errors is coming but I am doing everything right as per that article.
    <br />
    <br />
    To Inform you further before updating crystal reports 2008 runtime to version = 12.2.3.467.
    <br />
    <br />
    Everything was working fine, only problem was that Date Time column was not displaying at runtime on the deployment
    <br />
    <br />
    machine.
    <br />
    <br />
    With Regards
    <br />
    Arshad
    Edited by: arshhb on Dec 29, 2009 7:11 AM

    Dear Mr. Williams
    I dont think this is the issue related to MS Installer. Still based on your suggestion I downloaded the latest MS Installer from Microsoft Website and Installed on my setup machine and made the new setup with zero errors and warning.
    The deployment machine is having full rights and so there is no security issues  related to installation even though to clear the confusion I installed the setup on three other xp machines the result was same even after installing the latest MS installer on those machines as well.
    I wanrt to remind it again since I was facing the DATE TIME column Issue problem in reports on deployment machines so I updated the Crystal Reports TO CRFP 2.3 EXE AND MSM as mentioned in your forums regarding this known bug that if datetime column is getting from dataset then that column was not getting displayed.
    From that time onwards I am unable to install the setup on the deployment machines and I am getting errors unable to register errors crystal reports dlls.
    Apart from that I downloaded Crystal Reports 2008 Fix Pack 2.3 - Redist Install  (cr2008_fp23_redist.zip)  from the download page but i can't open it I am gettinig the error message doesnt appear to be a valid archive.
    Please help me and provide me some solution regardeing the issue I am stuck with.
    With Regards
    Arshad

  • Dependent Files for Crystal Report missing while making Setup

    Hi Support Team
    I am trying to make a MSI Setup of my windows application by using Install Shield 2010
    Development Environment that is used to develop the application is
    VS 2008 having .Net Framework 3.5 SP1
    Crystal Reports 2008 with Service pack 2
    When I am trying to build the setup for my application using Install Shield 2010 I am getting errors related to crystal reports.
    I am using CrystalDecisions.Windows.Forms.CrystalReportViewer  control to display the reports at runtime.
    Dlls that I included with the setup related to this viewer are
    CrystalDecision.CrystalReports.Engine
    CrystalDecision.CrystalReports.Framework
    CrystalDecision.CrystalReports.InfoStore
    CrystalDecision.CrystalReports.ReportSource
    CrystalDecision.CrystalReports.Shared
    CrystalDecision.Windows.Forms
    The Errors that I am getting upon building the setup are listed below
    Could not find dependent file BussinessObjects.Enterprise.Sdk, or One of its dependencies of component CrystalDecisions.CrystalReports.Engine.dll                   Error Code 6248          
    Could not find dependent file crpe32.dll, or one of its dependencies of component CrystalDecisions.CrystalReports.Engine.dll                                            
    u2dmapi.dll-------
    u2dpost.dll----
    And the same errors for
    CrystalDecision.Enterprise.Framework.dll
    CrystalDecision.Enterprise.InfoStore.dll
    CrystalDecision.windows.forms.dll
    And File not found. An error occurred merging module DMO.9b0u2026u2026u2026          Error Code 4075     
    And File not found. An error occurred merging module DMO1033.6496u2026u2026u2026     Error Code 4075
    I tried your several suggestions from your forums like
    I installed
    Crystal Reports 2008 Runtime
    Crystal Reports Basic Runtime for Visual Studio 2008
    Crystal Reports Basic for Visual Studio 2008 Service pack1
    And
    CRBasicVS2008_redistu2026.
    CRRedist2008_x86.msi
    And by putting the files like Product.xml in the C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages
    And I installed vcredist_x86.exe to install Microsoft Visual C++ 2005 Redistributable on my machine
    But no luck still I am getting the same errors.
    Please let me know which files I need to install on my development machine to get my setup working.
    Waiting eagerly for the response
    With Regards
    Arshad
    u2003

    Looks to me like you're adding just about any runtime to the project to make it work. Look at [this|https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=56787567] wiki and find out what runtime you actually need. Also, look at the CR assemblies referenced in your project. Then make sure that the you are using the correct msm file(s) for the correct version of the assemblies referenced. Do not add any other versions of CR msm files.
    I would also recommend having a look at the developer help file here;
    http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_dg_12_en.chm
    (search for runtime).
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • Crystal Reports XI Runtime .msm Files

    We have a mixed environment (VB6, .NET 2003, .NET 2005) on each of our workstations.  We require a Crystal Reports 11 runtime that will cover all of these platforms.  There are six.msm files available to build the runtime.  One is for .NET 2003, another for .NET 2005, and the remaining four are for the Report Designer Component (RDC), which will cover VB6's ActiveX:
    CrystalReports11_5_NET.msm  (for .NET 2003)
    CrystalReports11_5_NET_2005.msm
    CrystalReports11_5_RDC_Designtime.msm
    CrystalReports11_5_RDC_License.msm
    CrystalReports11_5_RDC_Reportengine.msm
    CrystalReports11_5_RDC_Runtime.msm
    When we try to build a Setup project with all of these msm's included, we get the "Unable to merge data from the merge module because it conflicts with existing data in the package".  Apparently the modules are duplicated in the msm's.  With further examination, it appears that the RDC msm's include most of the runtime files in the other msm's, but not all.
    So we're trying to determine how to be able to include all the required modules in the runtime.
    Maybe we need to build a separate runtime package for each of the three platforms and then run all of them to get everything that we need?

    Building  separate runtime packages will be the way to go. BTW, you do not need to include the CrystalReports11_5_RDC_Designtime.msm, unless your RDC app uses the report creation APIs and craxDDrt.dll.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • How do we create a jndi connection in crystal reports XI

    how do we create a jndi connection in crystal reports XI when the data soiurce is configured on websphere 6.1

    You need to use WLST online. I am not sure what your exact requirements are but one good way of working this is to have a WLST script that deletes all your WL customisations, like connection pools, JMS Servers etc and then creates it. That way you can run the same script repeatedly and it will get everything up to date for you. However you have to remember that everytime you add something new you need to update your delete section. Also your deleting should not fail if the item does not exist. I hope that makes sense!
    As to the specifics of WLST examples to do this then check out the WLST examples in CodeShare.
    If you are still having issues then post another message.
    Geoff

  • Windows Server 2008 R2 Crystal Report XI Runtime hosted on IIS 7 32 bit

    Hi all,
    We have discovered that our software department installed Windows Server 2008 R2 in a production environment.
    The production environment hosts asp .net applications on IIS 7 that enables 32 bit applicatons to run over it.
    We still develope on Windows XP and Visual Studio 2005 using Crystal Report XI runtime.
    Reports are compatible and run properly in production environment having enabled application pool of IIS 7 in 32 bit mode.
    Is Crystal report XI runtime supported on windows server 2008 R2 hosted on IIS7 32 bit mode?
    Regards.
    Roberto.

    Hello,
    Where to start.... first thing to do is search, lots of posts on these exact questions...
    First, CR XI R2 does not support 4.0 framework, although MS does say it's fully backward compatible but it is not supported on Windows 2008 R2 unless you upgrade to CR XI R2A
    https://smpdl.sap-ag.de/~sapidp/012002523100009114712011E/crxir2sp4_fullbuild.exe
    https://smpdl.sap-ag.de/~sapidp/012002523100009114412011E/crxir2sp6_incremental.exe
    Or for a clean PC https://smpdl.sap-ag.de/~sapidp/012002523100009114712011E/crxir2sp4_fullbuild.exe
    Redist is on our download page.
    Second is CR XI R2 is not supported in VS 2010. Only one supported is CR for VS 2010 which you can download from here:
    http://www.sdn.sap.com/irj/boc/crystalreports-dotnet
    Bottom of the page has all of the download links for the 32 and 64 bit runtime for your WEB server.
    App Pool must run in 32 mode, just in case you are using 64 bit OS.
    Lastly, if you are using the SAP Integration Kit to connect to your BEX query then bad news, CR for VS 2010 doesn't have API's available to set the log on on info.
    You may be able to use B1, it uses CR 2008 OEM Build and they may support this. Search that forum to see if they do:
    /community [original link is broken]
    Don

  • Where can I find the latest upgrades for Crystal Reports 2008

    Hello all
    My question is rather simple, I need to know. Where can I find  the latest upgrades for:
    1) Crystal Reports 2008 Merge Modules
    2) Crystal Reports 2008 Runtimes.
    Are they incremental upgrades ????
    Thanks in advance..
    ADrián.-

    Downloads page is here:
    http://service.sap.com/sap/bc/bsp/spn/bobj_download/main.htm
    [This|https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReports2008-VersionandDownloadinformationforSPsand+FPs] wiki tracks latest SPs and FPs with download links.
    [This|https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=56787567] wiki has links to runtime (I believe I have not updated this for FP 2.5 yet, but the downloads page has these)
    And yes, they are incremental.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • Crystal Report 2008 Runtime License

    Hi,
    I have a Crystal Report 2008 designer license.
    I want to design reports and distribute to my clients.
    Clients will just execute the reports through my application with the Crystal Report 2008 Runtime.
    There is runtime available on:
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm
    While installing the runtime it does not ask for any license key.
    my query is do we require any license to use the Crystal Report 2008 Runtime?
    Can we install the same runtime on web servers so that multiple clients can use it.
    Do we require any license for the Runtime on server?
    Thanks,
    Abhijit

    Hi Thanks for the reply.
    Just to make it sure is that means?
    1. Crystal Report 2008 Runtime is free for the client applications.
    2. Crystal Report 2008 Runtime requires the 'SAP Crystal Reports runtime server license' to use the runtime on server applications.
    Is it correct.
    Thanks,
    Abhijit

  • License for Crystal Report for Visual Studion 2005

    Hi All,
    I am developing reports for my application using crystal reports for VS 2005.  I read on microsoft site (http://support.microsoft.com/kb/318102 ) that the free server software supports three active requests to the server.  It further says that developer will need to purchase additional licenses to increase scalability.  I think that our application would need the additional license.  However, i was unable to find a link on business objects site were i can buy the additional license for crystal report for VS 2005.  The link takes me to license for Crystal report 2008.  It would be great if you can answer my following questions:
    - what version of crystal reports do we need to purchase?
    - do we need license for each implementation or do we need license for the developers only.
    Thank you.
    Best regards,
    Abdul

    Great questions! Let's get at em, one at a time:
    How would you define a print job?
    - A print job will essentially be consumed any time the print engine (crpe32.dll) needs to  do work. So, processing one report = a print job. However, say you have one subreport, now the number of print jobs = 2. Now, say the subreport is in the details section and runs once per record. And you have 100 records. You will be running 1 + 100 print jobs. Paging to another page consumes a print job. Zooming consumes a print job, exporting and printing to a printer consumes a print job. So, depending on the report and the number of users, print jobs may be used up quite quickly. You can increase the print job limit by modifying the PrintJobLimit in the registry. For CR 2008, the reg entry is here:
    HKLMsoftware usiness objectssuite 12.0
    eport application serverinprocserver
    (the above is used irrespective of the SDK (CR, RAS, BOE))
    I am not using report viewer to render the report. I use 'ExportToDisk' method to save the report in word or pdf format. Does 'ExportToDisk' make one print job?
    - see above. Again, if the report has a subreport, this will consume at least two print jobs.
    How much time does a typical print job takes to complete?
    - no way to tell in general terms. There are too many variables that will affect this. From how complex the report to database connections to version of runtime
    What care shall I take to reduce the print job time?
    - Best you can do is ensure that you are destroying the report object once you are done with it (report.close, report.dispose)
    Will using Report Application Server (RAS) or Business Objects Enterprise increase the number of concurrent print jobs? If yes then by what amount?
    - no it will not
    To utilize Report Application Server (RAS) or Business Objects Enterprise, do I just need to use a specific SDK or is there some thing more to it?
    - You do need to use the RAS assemblies for RAS, BOE assemblies for BOE. More information is below.
    Sample RAS apps:
    https://boc.sdn.sap.com/samples/84/1194
    An article on RAS:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10b840c0-623f-2b10-03b5-9d1913866b32
    A power point as to which may be the best SDK to use:
    https://boc.sdn.sap.com/node/972
    Differences between all the SDKs (webinar):
    https://www.sdn.sap.com/irj/sdn/crystalreports-dotnet?rid=/webcontent/uuid/106b8996-067e-2b10-2f8a-d8c136b3e330
    BOE samples:
    https://boc.sdn.sap.com/samples/84/1193
    BOE SDK library:
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm
    Ludek

  • How to install SharePoint MOSS 2007 PIK for Crystal Report Server XI R2?

    My configuration is :
    Moss 2007 without any Crystal Report or BO component. on one box with Windows 2003 server
    Cyrstal Report Server XI R2 on another box
    I have downloaded the kit installation: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/webcontent/uuid/503988db-58c5-2b10-f79d-cb96700417f9 [original link is broken]
    I used this one as they said:
    BusinessObjects XI Release 2 SharePoint 2007 Portal Integration Kit
    Download BusinessObjects XI Release 2 SharePoint 2007 Portal Integration Kit - ZIP 5MB
    I do not have BO Enterprise.
    Thanks,

    Answered my own question.  Managed to upgrade to 5.0 following this process, but follow these instructions with care...
    1.  Stop all CMS services in Config Manager.
    2. Go to Add/Remove programs and click "change" for Crystal Reports Server XI.  Click on "Modify" then change the entry for MySQL4.1.13a to "Entire Feature will be unavailable" (from Enterprise -> Server Components -> Servers - > Central Management Server).  This will remove the existing mySQL version and any data/license key information/customisation, so be wary.
    3. Install the desired version of mySQL.
    4. Use the MySql command line to create a new database - "create DATABASE BOE115;"
    5. In the Central Config Manager, select the CMS and display its properties.  Select the Dependencies tab and remove the old version of mySQL and add the new version.  Click on the Config tab, then Select Datasource.  Select mySQL driver, then complete the details for the newly created database.  Once complete it will still produce an error, at which point you need to select the options to Re-create the Current Datasource.
    6. Once the datasource is sucessfully recreated, restart the Crystal service in the Config Manager.
    7. Open the Config tool, and add your license key. Then Re-Enable all the servers within the Servers page.
    8.  Any other customisation or preferences would need to be re-applied.
    This worked for me, but obviously take care as your existing mySQL database will be completely removed during the process.

  • Problem in Jndi lookup for  ITaskService

    HI,
    I am trying to initiate oracle bpm Human task programatically by using Java remotely.
    for this I am using following JNDI lookup for ITaskService.
    Hashtable ht = new
                  Hashtable<IWorkflowServiceClientConstants.CONNECTION_PROPERTY,java.lang.String>();
              ht.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.EJB_INITIAL_CONTEXT_FACTORY, 
                     "weblogic.jndi.WLInitialContextFactory");
              ht.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.EJB_PROVIDER_URL, "t3://localhost:7001");
              ht.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.EJB_SECURITY_PRINCIPAL, "username"); 
              ht.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.EJB_SECURITY_CREDENTIALS, "password");
              Context ctx  = new InitialContext(ht);
    ITaskService taskService = (ITaskQueryService)ctx.lookup("ejb/bpel/services/workflow/TaskServiceBean");
    taskService.initiateTask(task);
    It the right approach or not.
    Please help.

    To access human workflow api remotely try using the following code :
    Map properties = new HashMap();
      properties.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.EJB_PROVIDER_URL, "t3://localhost:8001");
      properties.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.EJB_SECURITY_CREDENTIALS, "welcome1");
      properties.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.EJB_SECURITY_PRINCIPAL, "weblogic");
    IWorkflowServiceClient wfSvcClient =
      WorkflowServiceClientFactory.getWorkflowServiceClient(WorkflowServiceClientFactory.REMOTE_CLIENT, properties, null);
      //Get the task query service
      ITaskQueryService querySvc = wfSvcClient.getTaskQueryService();
      //Login as weblogic
      IWorkflowContext ctx = querySvc.authenticate("weblogic","welcome1".toCharArray(),null);
    after getting the workflow context, you can call any method like query task list. perform actions etc. just see the api doc.
    Regards,
    Anshul

  • Stored Procedure for Crystal Reports

    Hi All,
    I developed this test stored procedure to see wheather we could a stored procedure for crystal reports. It compiled without any problem, but when I run it, it gives me error message. Here is the stored Procedure..
    CREATE OR REPLACE PROCEDURE WOLD1SIM.TEST_PROCEDURE(
    TEST_CURSOR IN OUT TEST_PACKAGE.TEST_TYPE,
    TEST_PARAMETER IN TEST_TABLE.ID%TYPE)
    AS
    BEGIN
    OPEN TEST_CURSOR FOR
    SELECT *
    FROM TEST_TABLE
    WHERE TEST_TABLE.ID = TEST_PARAMETER;
    END TEST_PROCEDURE;
    And
    This is the error message..
    ERROR at line 2:
    ORA-06550: line 2, column 1:
    PLS-00201: identifier 'TEST_PROC' must be declared
    ORA-06550: line 2, column 1:
    PL/SQL: Statement ignored
    I have created the package sucessfully.
    I was wondering If any one of you can advice me where I am making the mistake.
    Thank you

    CREATE OR REPLACE PROCEDURE WOLD1SIM.TEST_PROCEDURE(TEST_CURSOR IN OUT TEST_PACKAGE.TEST_TYPE,
                                                         TEST_PARAMETER IN TEST_TABLE.ID%TYPE)
    ...you have 2 parameters in your procedure WOLD1SIM.TEST_PROCEDURE(). you should also use two parameters when you execute the procedure.

  • JRC Deployment Guide for Crystal Reports 2008

    I just downloaded a trial version of Crystal Reports 2008 & was testing out the integration of this component into our Java web based application.
    I found the "Crystal Reports XI Release 2 - Java Reporting Component Deployment Guide" PDF file, but I was wondering if there was a more recent version of this guide for Crystal Reports 2008.  Maybe I'm a bit confused regarding the versions but this guide currently references JARs in a folder under ...\3.5\java\lib.  However, when I looked in the same section of Crystal 2008, I noticed it was \4.0\java\lib & the JARs are different.
    Is there a new JRC Depolyment Guide for Crystal Reports 2008?...If not, is there any documentation I can use to map between the 3.5 libraries and the 4.0 libraries?
    Thanks

    Hi,
    There is no separate JRC has been launched for the CR 2008.
    But SAP has launched the Crystal Reports 4 Eclipse 2.0 in which CR 2008 has been integraqted with backword compatibility.
    To know more please check following link:
    [Whats new in CR4E 2.0|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/301717ef-3ad3-2b10-5aad-8d9b73a6e365]
    Thanks,
    Tej

  • Do I need a new license for Crystal Reports Release 2?

    Post Author: jerryk
    CA Forum: Upgrading and Licensing
    Hi,
    We have a license for Crystal Report XI.  However we need Crystal Reports Release 2 since we are using .Net 2.0.  I just tried installing the Crystal Reports Server on out test web server and it would not accept the license key we have.  Do we need to get a new key?
    jerry

    Post Author: colin mackenzie
    CA Forum: Upgrading and Licensing
    Hey jerryk.
    Check out this URL.
    It will help.
    http://www.businessobjects.com/products/reporting/crystalreports/xi_release_2.asp

Maybe you are looking for

  • Safari icon with Question Mark

    My 3 year old did something really goofy & now my Safari icon has a large question super-imposed on it. I believe this to be the reason that it won't open. I tried to locate Safari again via Finder & the Applications folder but where the icon should

  • Possible ways to start SAP Web AS services

    I am using J2EE SAP Web AS 7.0 on UNIX platform and herein i use startsap script to start SAP as well as database services. My concern here is that what all are the possible ways to start the SAP services apart from the above mentioned script? One i

  • Dreamweaver Update CS6 failed - Errorcode U44M1I210

    i'm trying to get the latest update for my dreamweaver cs6 i'm getting this errorcode "U44M1I210" (in the log file). any ideas???

  • Cisco MSE CMX feature

    hi all, how can I configure POI (point of interest) in cisco MSE ?? I faced this problem when i configure the CMX feature  thanks in advance appreciation @leoleo 

  • [SOLVED] Please verify: swap partition needed for dm-crypt/LUKS??

    Hi, Can anyone confirm whether or not the following is accurate (from http://wiki.archlinux.org/index.php/Sys - artitions) There are 3 required partitions for any encrypted system: - The root file system: / - The initial boot partition: /boot - The s