XRPCC Server Fails to Generate

Hi,
I have new java web service developer pack and tried to run the "Hello" program.I am getting exception
compile-server:
[echo] Compiling the server-side source code....
[javac] Compiling 2 source files to D:\jwsdp-1_0\docs\tutorial\examples\jaxr
pc\hello\build\shared
set-xrpcc:
xrpcc-server:
[echo] Running xrpcc for the server....
BUILD FAILED
D:\jwsdp-1_0\docs\tutorial\examples\jaxrpc\hello\build.xml:46: Execute failed: j
ava.io.IOException: CreateProcess: d:jwsdp-1_0\bin\xrpcc.bat -classpath build/sh
ared -server -d build/server config.xml error=3
Total time: 3 seconds
D:\jwsdp-1_0\docs\tutorial\examples\jaxrpc\hello>
Details:
OS : Windows 2000 Server
Can anyone of you guys solve this problem asap..
/Bala

Hi
Let me know whether the Java Web Service developer Pack does not support on Win 2000 Server.
Any one of you throw some tips on solving this problem
/Bala

Similar Messages

  • The Internet Transaction Server failed to generate the response for current

    Hi all,
    With reference to the thread Re: Interpreter failed error message while raising Shopping Cart. posted by Askhay kumar, we are facing the same issue but not yet resolved.
    Checked points:
    1) We republished all the templates
    2) TCP/IP RFCs are all working fine
    But the ABAP dumps says:
    UNCAUGHT_EXCEPTION
    Error analysis                                                             
    An exception occurred. This exception is dealt with in more detail below   
    . The exception, which is assinged to the class 'CX_BBP_PD_ABORT', was not 
    caught,                                                                   
    which led to a runtime error.                                              
    The reason for this exception is:                                          
    Incorrect status in pricing                                                
    The termination occurred in the ABAP program "SAPLBBP_PDH" in "BBP_PD_ABORT".   
    The main program was "SAPLBBP_SC ".                                                                               
    The termination occurred in line 67 of the source code of the (Include)         
    program "LBBP_PDHU08"                                                          
    of the source code of program "LBBP_PDHU08" (when calling the editor 670).      
    Can anybody provide some suggestions ASAP please?
    Thanks
    Mani

    Please check this
    CX_BBP_PD_ABORT error selection itens in SC

  • Xrpcc fails to generate wsdl

    I followed the example to generate the HelloWorld jaxrpc example. xrpcc failed to generate a wsdl document. No clues were given as to why.
    I am also trying to invoke the HelloWorld service from Microsoft .Net. Is there any sample code available?
    Any help would be appreciated.

    in generating a .net client your life becomes a lot easier, just point the wsdl executable at the .wsdl file and you're done. all you have to do is plug the generated class into your application. it's so much easier than the recent java implementations - it's embarrasing

  • Ovmapi_4004e server failed error while creating a PVM from  FTP network pat

    Hi,
    I'm trying to create a PVM on OVM 3.0.3 using an ftp server to use an ISO for a Linux 5 installation.
    In the create virtual machine wizard for the network path (in boot options) I am specifying:
    ftp://oracle:[email protected]/home/oracle/iso/OEL56/
    The above link opens up in a browser and I can see the mounted iso.
    I mounted the iso as:
    cd /home/oracle
    mkdir /iso/OEL56/
    mount -o ro,loop /ovm_iso/linux/Enterprise-R5-U6-Server-x86_64-dvd.iso /home/oracle/iso/OEL56/
    But Starting the VM fails with "ovmapi_4004e server failed" and "Boot loader didn't return any data". I'm assuming it can't read from the iso during boot.
    Is there anything wrong with the ftp path . Are non-anonymous ftp users (oracle in this case) allowed or do I need to use anonymous logon.
    Regards,
    Shahab.

    Hi ,
    I went a step further by using anyonymous ftp in the network path . (rather than user : password) and the VM started .
    The VM boots OK from the staged iso (also tried full DVD contents) and brings up linux installation in text mode only , but for ftp installation mode after asking for the ftp server and directory (which it doesn't take on first attempt) it gives an error "Unable to read package metadata . This may be due to a missing repository directory. Please ensure your install tree has been correctly generated" . It seems its not finding the ftp directory path , although initially it was able to boot from the same ftp path specified in the Network path of the VM configuration wizard.
    Regards,
    Shahab.

  • Weblogic server failing to start

    Hi All,
    Need help in starting up the weblogic server with the below error:
    starting weblogic with Java version:
    Starting WLS with line:
    java version "1.6.0_24"
    Java(TM) SE Runtime Environment (build 1.6.0_24-b50)
    Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode)
    C:\Oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -Djavax.net.ssl.trustStore=C:\Oracle\Middleware\wlserver_10.3\server\lib\DemoTrust.jks -Dweblogic.nodemanager.ServiceEnabled=true -Xverify:none -da -Dplatform.home=C:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Djps.app.credential.overwrite.allowed=true -Dcommon.components.home=C:\Oracle\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=C:\JDEVEL~1\jdevhome\jdev\SYSTEM~1.29\DEFAUL~1 -Djrockit.optfile=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.server.config.dir=C:\JDEVEL~1\jdevhome\jdev\SYSTEM~1.29\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.domain.config.dir=C:\JDEVEL~1\jdevhome\jdev\SYSTEM~1.29\DEFAUL~1\config\FMWCON~1 -Digf.arisidbeans.carmlloc=C:\JDEVEL~1\jdevhome\jdev\SYSTEM~1.29\DEFAUL~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\JDEVEL~1\jdevhome\jdev\SYSTEM~1.29\DEFAUL~1\config\FMWCON~1\arisidprovider -Doracle.security.jps.config=C:\JDEVEL~1\jdevhome\jdev\SYSTEM~1.29\DEFAUL~1\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=C:\JDEVEL~1\jdevhome\jdev\SYSTEM~1.29\DEFAUL~1\servers\DefaultServer\tmp\_WL_user -Doracle.deployed.app.ext=\- -Dweblogic.alternateTypesDirectory=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=C:\JDEVEL~1\jdevhome\jdev\SYSTEM~1.29\DEFAUL~1\oracle\store\gmds -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\Oracle\MIDDLE~1\patch_wls1035\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1\patch_oepe1050\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1\patch_ocp360\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath weblogic.Server
    <30 Jan, 2013 11:31:17 AM IST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
    <30 Jan, 2013 11:31:17 AM IST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
    <30 Jan, 2013 11:31:18 AM IST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 19.1-b02 from Sun Microsystems Inc.>
    <30 Jan, 2013 11:31:19 AM IST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.5.0 Fri Apr 1 20:20:06 PDT 2011 1398638 >
    <30 Jan, 2013 11:31:20 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <30 Jan, 2013 11:31:20 AM IST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <30 Jan, 2013 11:31:20 AM IST> <Notice> <LoggingService> <BEA-320400> <The log file C:\JDeveloper\jdevhome\jdev\system11.1.1.6.38.62.29\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <30 Jan, 2013 11:31:20 AM IST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\JDeveloper\jdevhome\jdev\system11.1.1.6.38.62.29\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log00020. Log messages will continue to be logged in C:\JDeveloper\jdevhome\jdev\system11.1.1.6.38.62.29\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log.>
    <30 Jan, 2013 11:31:20 AM IST> <Notice> <Log Management> <BEA-170019> <The server log file C:\JDeveloper\jdevhome\jdev\system11.1.1.6.38.62.29\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log is opened. All server side log events will be written to this file.>
    <30 Jan, 2013 11:31:21 AM IST> <Error> <EmbeddedLDAP> <BEA-000000> <Error Instantiating 'dc=DefaultDomain': null>
    <30 Jan, 2013 11:31:21 AM IST> <Critical> <EmbeddedLDAP> <BEA-171522> <An error occurred while initializing the Embedded LDAP Server. The exception thrown is java.lang.ClassCastException: com.octetstring.vde.backend.BackendRoot cannot be cast to com.octetstring.vde.backend.standard.BackendStandard. This may indicate a problem with the data files for the Embedded LDAP Server. If the problem is with the data files and it can not be corrected, backups of previous versions of the data files exist in C:\JDeveloper\jdevhome\jdev\system11.1.1.6.38.62.29\DefaultDomain\servers\DefaultServer\data\ldap\backup.>
    <30 Jan, 2013 11:31:21 AM IST> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:
    There are 1 nested errors:
    java.lang.ClassCastException: com.octetstring.vde.backend.BackendRoot cannot be cast to com.octetstring.vde.backend.standard.BackendStandard
         at weblogic.ldap.EmbeddedLDAP.start(EmbeddedLDAP.java:303)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    >
    <30 Jan, 2013 11:31:21 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
    <30 Jan, 2013 11:31:21 AM IST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
    <30 Jan, 2013 11:31:21 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
    Process exited.

    Hi,
    With data folder, You can also delete or rename tmp and cache folder in same location (${DOMAIN_HOME}/servers/${SERVER_NAME}/).
    Just rename/delete all three folders and restart JVM again.

  • Weblogic server failed to start errors BEA-000362 & BEA-000365

    Hi Friends,
    I'm trying to start weblogic server after starting admin server.I'm getting the below error after
    running the command:
    $ ./startManagedWebLogic.sh
    <Jul 29, 2011 10:09:54 AM IST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
    <Jul 29, 2011 10:09:55 AM IST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
    <Jul 29, 2011 10:09:57 AM IST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Oracle JRockit(R) Version R28.1.3-11-141760-1.6.0_24-20110301-1430-linux-ia32 from Oracle Corporation>
    <Jul 29, 2011 10:09:58 AM IST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.5.0 Fri Apr 1 20:20:06 PDT 2011 1398638 >
    <Jul 29, 2011 10:09:58 AM IST> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:
    There are 1 nested errors:
    weblogic.management.ManagementException: [Management:141247]The configuration directory /Middleware/SOASuite11gR1/wlserver_10.3/common/bin/config does not exist and the admin server is not available.
    at weblogic.management.provider.internal.RuntimeAccessImpl.parseNewStyleConfig(RuntimeAccessImpl.java:200)
    at weblogic.management.provider.internal.RuntimeAccessImpl.<init>(RuntimeAccessImpl.java:115)
    at weblogic.management.provider.internal.RuntimeAccessService.start(RuntimeAccessService.java:42)
    at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesManager.java:461)
    at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServicesManager.java:166)
    at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:882)
    at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:572)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:469)
    at weblogic.Server.main(Server.java:71)
    >
    <Jul 29, 2011 10:09:58 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
    <Jul 29, 2011 10:09:58 AM IST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
    <Jul 29, 2011 10:09:58 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
    Do you have any idea how to resolve this error and start weblogic server succesfuly.
    Best regards,
    Edited by: user13311731 on Jul 28, 2011 10:45 PM

    Hi,
    Try starting the managed server with parameters:
    ./startManagedWebLogic.sh myManagedServerName http://serverName:7001
    Does that make a difference?
    Regards Peter

  • Custom tool error for COMexception: The report application server failed.

    hi there,
    i am using crystal reports for the last one year onwards, i don't get any errors till know. Yesterday when i modified some information in 40 reports. out of these reports 34 reports are successfully build, but for the remaining six reports the code is not generating.
    Custom tool error: "Code generator 'ReportCodeGenerator' failed.  Exception stack = CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException: The Report Application Server failed
       at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       --- End of inner exception stack trace ---
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
       at CrystalDecisions.VSDesigner.CodeGen.ReportClassWriter..ctor(String filePath)
       at CrystalDecisions.VSDesigner.CodeGen.ReportClassWriter..ctor(String filePath, String resourceNamespace)
       at CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator.GenerateCode(String inputFileName, String inputFileContent)"
    i am not understanding why it is getting for me, Please help me

    Hello,
    Whoever wrote the CustomCodeGenerator will have to help you with this one. We know nothing about the underlying code they are using and therefore can't determine the cause.
    Appears the error is it can't even load the report so there is something wrong with the workings. Open the report again in CR Designer and Verify Database and then check the changes you did. Something is not right or the DB driver their application is using does not match with what you are using.
    Don

  • Problems with bursting that fail to generate PDF, but still sends email!

    per subject. Essentially I have built a test where the bursting engine is emailing recipients, however the bursting engine is somehow failing to generate a PDF output. The bursting engine essentially fails and I can capture the error, but emails are still sent and without attachments!
    Captured exception:
    [050106_095850822][oracle.apps.xdo.batch.DeliveryHelper][EXCEPTION] java.io.FileNotFoundException: /tmp/050106_095850733/63.pdf (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java(Compiled Code))
    at java.io.FileInputStream.<init>(FileInputStream.java(Inlined Compiled Code))
    at Oracle.apps.xdo.batch.DeliveryHelper.getEmailDeliveryRequest(DeliveryHelper.java(Compiled Code))
    at oracle.apps.xdo.batch.DeliveryHelper.addRequest(DeliveryHelper.java(Compiled Code))
    at oracle.apps.xdo.batch.BurstingProcessorEngine.deliverDocumentOutput(BurstingProcessorEngine.java(Compiled Code))
    at oracle.apps.xdo.batch.BurstingProcessorEngine.processDocument(BurstingProcessorEngine.java(Compiled Code))
    at oracle.apps.xdo.batch.BurstingProcessorEngine.burstDocument(BurstingProcessorEngine.java(Compiled Code))
    at oracle.apps.xdo.batch.BurstingProcessorEngine.globalDataEndElement(BurstingProcessorEngine.java(Inlined Compiled Code))
    at oracle.apps.xdo.batch.BurstingProcessorEngine.endElement(BurstingProcessorEngine.java(Compiled Code)
    at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java(Compiled Code))
    at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java(Compiled Code))
    at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java(Compiled Code))
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java(Compiled Code))
    at oracle.apps.xdo.batch.BurstingProcessorEngine.burstingRequest(BurstingProcessorEngine.java(Compiled Code))
    at oracle.apps.xdo.batch.BurstingProcessorEngine.burstingEndElement(BurstingProcessorEngine.java(Compiled Code))
    at oracle.apps.xdo.batch.BurstingProcessorEngine.endElement(BurstingProcessorEngine.java(Compiled Code))
    at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java(CompiledCode))
    at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java(Compiled Code))
    at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java(CompiledCode))
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java(Compiled Code))
    at oracle.apps.xdo.batch.BurstingProcessorEngine.process(BurstingProcessorEngine.java:1191)
    at oracle.apps.xdo.batch.DocumentProcessor.process(DocumentProcessor.java:213)
    at xxsyk.oracle.apps.xxsyk.xdo.server.BurstingEngine.process(BurstingEngine.java:410)
    at xxsyk.oracle.apps.xxsyk.xdo.servlet.BurstingEngineServlet.doGet(BurstingEngineServlet.java:56)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:499)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
    at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
    at org.apache.jserv.JServConnection.run(JServConnection.java:294)
    at java.lang.Thread.run(Thread.java:570)

    To prevent emails from being sent, I implemented the BurstingListener and would check for the existance of document files. If they don't exist, I throw a NullPointerException which kills the bursting process without causing an email to be sent. My implmentation is as follows:
    public void afterProcessDocument(int requestIndex,int documentIndex, Vector documentOutputs) {
    // Fetch the attachments file locations.
    Object[] arr = documentOutputs.toArray();
    // We will flag if any files could not be found.
    boolean fileNotFound = false;
    // Loop for each temp document file...
    for (int i = 0; i < arr.length; i++) {
    // Report on this file's existance and raise a flag if not.
    File file = new File((String)arr);
    if (!file.exists()) {
    fileNotFound = true;
    // OK, there was a problem so force the bursting engine to abort.
    if (fileNotFound)
    throw new NullPointerException("Bursting Engine did not process some or all documents.");

  • Constantly "Cluster resource 'Virtual Machine' in clustered service or application 'SERVER' failed

    Hi...
    I have an IBM BladeCenter S with 3 blades and an IBM System Storage DS3300 (ISCSI).
    In each blade is running Windows Server 2008 R2 with
    HYPER-V,
    Failover Clustering with Cluster Shared Volumes.
    I have observed that many errors occur constantly in "Failover Cluster Manager" and some VM´s are relocated to another blade automatically, however thoses VM´s sometimes no longer responds to network activity.
    The errors I have observed in the "Failover Cluster Manager" are:
    Source: Microsoft-Windows-FailoverClusting
    Event ID: 1069
    Description:
    Cluster resource 'Virtual Machine' in clustered service or application 'SERVER' failed.
    Source: Microsoft-Windows-FailoverClusting
    Event ID: 1205
    Description:
    The Cluster service failed to bring clustered service or application 'SV-DBURAS' completely online or offline. One or more resources may be in a failed state. This may impact the availability of the clustered service or application.
    Another error (warning type) that is constantly generated in the SYSTEM events (Mirage is the storage name):
    Source:        ds4dsm
    Event ID:      769
    Description:
    IO error being retried via alternate controller Mirage:1
    Source:        ds4dsm
    Event ID:      10
    Description:
    Mirage:0 Failover command issued.
    Source:        ds4dsm
    Event ID:      801
    Description:
    Failover succeeded to Mirage:0.
    Thank you in advance any help! 

    Hi,
    I suggest referring to the following articles:
    http://technet.microsoft.com/en-us/library/cc756225(WS.10).aspx
    http://technet.microsoft.com/en-us/library/cc773525(WS.10).aspx
    Tim Quan - MSFT

  • Event ID 207 Failed to generate publishing metadata

    Hello All,
    On the publishing server, I see this error (Event ID 207) - Failed to generate publishing metadata.  Reason: The underlying provider failed to Open.  Not sure what to look for and how to fix the issue.
    I am able to add packages within the Management Server and when, I refresh publishing server the package ID shows up.  On the client side the package is available. 
    I just want to fix the error, if it is possible and get rid of this event ID 207 from the event viewer.
    Thanks
    RL

    Are the publishing and management service on the same machine? Sounds like a WCF-related error.
    Steve Thomas, Senior Consultant, Microsoft
    App-V/MED-V/SCVMM/Server App-V/MDOP/AppCompat
    http://blogs.technet.com/gladiatormsft/
    The App-V Team blog: http://blogs.technet.com/appv/
    The MED-V Team Blog: http://blogs.technet.com/medv
    The SCVMM Team blog: http://blogs.technet.com/scvmm/
    “This posting is provided "AS IS" with no warranties, and confers no rights. User assumes all risks.”

  • OIM 11g Installation : Configure OIM server failed

    Hi,
    I'm facing problem in configuring the OIM server and Design console.
    Configure OIM Server
    Error
    Exception occured while encrypting the configuration and database
    Step Configure OIM Server failed
    Here is the description of the error from the log file.
    [2012-06-27T07:46:07.015-07:00] [as] [TRACE:16] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWiPympFs1WFLz7U8A1Fuljj000003,0] [SRC_CLASS: EncryptDataBase] [SRC_METHOD: encryptDBContent] ENTRY
    [2012-06-27T07:46:07.015-07:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWiPympFs1WFLz7U8A1Fuljj000003,0] [[
    [OIM_CONFIG] Crypto Provider set to SUNJCE
    [2012-06-27T07:46:07.015-07:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWiPympFs1WFLz7U8A1Fuljj000003,0] Load the provider class
    [2012-06-27T07:46:07.015-07:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWiPympFs1WFLz7U8A1Fuljj000003,0] Get the instance of KeyStore
    [2012-06-27T07:46:07.015-07:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWiPympFs1WFLz7U8A1Fuljj000003,0] Generate the key
    [2012-06-27T07:46:07.046-07:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWiPympFs1WFLz7U8A1Fuljj000003,0] Store the keystore to .xlDatabasekey
    [2012-06-27T07:46:07.046-07:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWiPympFs1WFLz7U8A1Fuljj000003,0] Create the Database connection
    [2012-06-27T07:46:07.046-07:00] [as] [TRACE:16] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWiPympFs1WFLz7U8A1Fuljj000003,0] [SRC_CLASS: EncryptDataBase] [SRC_METHOD: setDBEncrypted] ENTRY
    [2012-06-27T07:46:07.078-07:00] [as] [ERROR] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWiPympFs1WFLz7U8A1Fuljj000003,0] ORA-00001: unique constraint (DEV_OIM.UK_MLS_LOCALE_MLS_LOCALE_CODE) violated[[
    java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (DEV_OIM.UK_MLS_LOCALE_MLS_LOCALE_CODE) violated
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:89)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:135)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:210)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:473)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:423)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1094)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:205)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1040)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1352)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3566)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3692)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1508)
         at oracle.as.install.oim.config.util.EncryptDataBase.updateMLSLocale(EncryptDataBase.java:289)
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDBContent(EncryptDataBase.java:124)
         at oracle.as.install.oim.config.util.EncryptConfigurationAndDB.encryptConfigurationAndDatbase(EncryptConfigurationAndDB.java:208)
         at oracle.as.install.oim.config.OIMConfigManager.configureOIM(OIMConfigManager.java:966)
         at oracle.as.install.oim.config.OIMConfigManager.doExecute(OIMConfigManager.java:538)
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
         at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
         at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
         at java.lang.Thread.run(Thread.java:662)
    [2012-06-27T07:46:07.078-07:00] [as] [ERROR] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWiPympFs1WFLz7U8A1Fuljj000003,0] Exception occured in updateMLSLocale method while updating Locale to OIM DB [[
    java.lang.Exception: Exception occured in updateMLSLocale method while updating Locale to OIM DB
         at oracle.as.install.oim.config.util.EncryptDataBase.updateMLSLocale(EncryptDataBase.java:297)
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDBContent(EncryptDataBase.java:124)
         at oracle.as.install.oim.config.util.EncryptConfigurationAndDB.encryptConfigurationAndDatbase(EncryptConfigurationAndDB.java:208)
         at oracle.as.install.oim.config.OIMConfigManager.configureOIM(OIMConfigManager.java:966)
         at oracle.as.install.oim.config.OIMConfigManager.doExecute(OIMConfigManager.java:538)
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
         at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
         at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (DEV_OIM.UK_MLS_LOCALE_MLS_LOCALE_CODE) violated
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:89)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:135)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:210)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:473)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:423)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1094)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:205)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1040)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1352)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3566)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3692)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1508)
         at oracle.as.install.oim.config.util.EncryptDataBase.updateMLSLocale(EncryptDataBase.java:289)
         ... 13 more
    [2012-06-27T07:46:07.078-07:00] [as] [ERROR] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWiPympFs1WFLz7U8A1Fuljj000003,0] Exception occured while encrypting the database [[
    java.lang.Exception: Exception occured while encrypting the database
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDBContent(EncryptDataBase.java:138)
         at oracle.as.install.oim.config.util.EncryptConfigurationAndDB.encryptConfigurationAndDatbase(EncryptConfigurationAndDB.java:208)
         at oracle.as.install.oim.config.OIMConfigManager.configureOIM(OIMConfigManager.java:966)
         at oracle.as.install.oim.config.OIMConfigManager.doExecute(OIMConfigManager.java:538)
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
         at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
         at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: java.lang.Exception: Exception occured in updateMLSLocale method while updating Locale to OIM DB
         at oracle.as.install.oim.config.util.EncryptDataBase.updateMLSLocale(EncryptDataBase.java:297)
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDBContent(EncryptDataBase.java:124)
         ... 12 more
    Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (DEV_OIM.UK_MLS_LOCALE_MLS_LOCALE_CODE) violated
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:89)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:135)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:210)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:473)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:423)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1094)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:205)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1040)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1352)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3566)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3692)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1508)
         at oracle.as.install.oim.config.util.EncryptDataBase.updateMLSLocale(EncryptDataBase.java:289)
         ... 13 more
    [2012-06-27T07:46:07.078-07:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWiPympFs1WFLz7U8A1Fuljj000003,0] [[
    [OIM_CONFIG] Database Encrytion failed.
    [2012-06-27T07:46:07.078-07:00] [as] [ERROR] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWiPympFs1WFLz7U8A1Fuljj000003,0] Exception[[
    java.lang.Exception: Exception occured while encrypting the configuration and database
         at oracle.as.install.oim.config.util.EncryptConfigurationAndDB.encryptConfigurationAndDatbase(EncryptConfigurationAndDB.java:213)
         at oracle.as.install.oim.config.OIMConfigManager.configureOIM(OIMConfigManager.java:966)
         at oracle.as.install.oim.config.OIMConfigManager.doExecute(OIMConfigManager.java:538)
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
         at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
         at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: java.lang.Exception: Exception occured while encrypting the database
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDBContent(EncryptDataBase.java:138)
         at oracle.as.install.oim.config.util.EncryptConfigurationAndDB.encryptConfigurationAndDatbase(EncryptConfigurationAndDB.java:208)
         ... 11 more
    Caused by: java.lang.Exception: Exception occured in updateMLSLocale method while updating Locale to OIM DB
         at oracle.as.install.oim.config.util.EncryptDataBase.updateMLSLocale(EncryptDataBase.java:297)
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDBContent(EncryptDataBase.java:124)
         ... 12 more
    Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (DEV_OIM.UK_MLS_LOCALE_MLS_LOCALE_CODE) violated
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:89)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:135)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:210)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:473)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:423)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1094)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:205)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1040)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1352)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3566)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3692)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1508)
         at oracle.as.install.oim.config.util.EncryptDataBase.updateMLSLocale(EncryptDataBase.java:289)
         ... 13 more
    Thanks in advance for help.
    Regards,
    Prasad

    Hi Thiago Leoncio and Kerry,
    Thanks guys for the quick reply. I tried it out but it didnt work. The error repeats itself and the configuration fails. I tried both of your methods. This is what i have from the log file.
    Here is the description of the exception :
    [2012-06-29T04:26:23.609-07:00] [as] [TRACE:16] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWrzSA8Fs1WFLz7U8A1FvOzU000003,0] [SRC_CLASS: EncryptDataBase] [SRC_METHOD: encryptTableColumn] ENTRY
    [2012-06-29T04:26:23.609-07:00] [as] [TRACE:16] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWrzSA8Fs1WFLz7U8A1FvOzU000003,0] [SRC_CLASS: EncryptDataBase] [SRC_METHOD: encryptTableColumn] ENTRY
    [2012-06-29T04:26:23.625-07:00] [as] [TRACE:16] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWrzSA8Fs1WFLz7U8A1FvOzU000003,0] [SRC_CLASS: EncryptDataBase] [SRC_METHOD: encryptTableColumn] ENTRY
    [2012-06-29T04:26:24.218-07:00] [as] [ERROR] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWrzSA8Fs1WFLz7U8A1FvOzU000003,0] KeyStore File : C:\Oracle\Middleware\user_projects\domains\oimdomain\config\fmwconfig\.xldatabasekey missing.[[
    com.thortech.xl.crypto.tcCryptoException: KeyStore File : C:\Oracle\Middleware\user_projects\domains\oimdomain\config\fmwconfig\.xldatabasekey missing.
         at com.thortech.xl.crypto.tcCryptoHelper.loadKeyStore(tcCryptoHelper.java:96)
         at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.initKeyStore(tcDefaultDBEncryptionImpl.java:67)
         at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.getCipher(tcDefaultDBEncryptionImpl.java:96)
         at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.encrypt(tcDefaultDBEncryptionImpl.java:193)
         at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:118)
         at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:184)
         at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:172)
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptTableColumn(EncryptDataBase.java:499)
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDB(EncryptDataBase.java:345)
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDBContent(EncryptDataBase.java:132)
         at oracle.as.install.oim.config.util.EncryptConfigurationAndDB.encryptConfigurationAndDatbase(EncryptConfigurationAndDB.java:208)
         at oracle.as.install.oim.config.OIMConfigManager.configureOIM(OIMConfigManager.java:966)
         at oracle.as.install.oim.config.OIMConfigManager.doExecute(OIMConfigManager.java:538)
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
         at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
         at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
         at java.lang.Thread.run(Thread.java:662)
    [2012-06-29T04:26:24.218-07:00] [as] [TRACE:16] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWrzSA8Fs1WFLz7U8A1FvOzU000003,0] [SRC_CLASS: EncryptDataBase] [SRC_METHOD: encryptTableColumn] ENTRY
    [2012-06-29T04:26:24.218-07:00] [as] [TRACE:16] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWrzSA8Fs1WFLz7U8A1FvOzU000003,0] [SRC_CLASS: EncryptDataBase] [SRC_METHOD: encryptTableColumn] ENTRY
    [2012-06-29T04:26:24.234-07:00] [as] [ERROR] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWrzSA8Fs1WFLz7U8A1FvOzU000003,0] KeyStore File : C:\Oracle\Middleware\user_projects\domains\oimdomain\config\fmwconfig\.xldatabasekey missing.[[
    com.thortech.xl.crypto.tcCryptoException: KeyStore File : C:\Oracle\Middleware\user_projects\domains\oimdomain\config\fmwconfig\.xldatabasekey missing.
         at com.thortech.xl.crypto.tcCryptoHelper.loadKeyStore(tcCryptoHelper.java:96)
         at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.initKeyStore(tcDefaultDBEncryptionImpl.java:67)
         at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.getCipher(tcDefaultDBEncryptionImpl.java:96)
         at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.encrypt(tcDefaultDBEncryptionImpl.java:193)
         at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:118)
         at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:184)
         at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:172)
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptTableColumn(EncryptDataBase.java:499)
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDB(EncryptDataBase.java:345)
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDBContent(EncryptDataBase.java:132)
         at oracle.as.install.oim.config.util.EncryptConfigurationAndDB.encryptConfigurationAndDatbase(EncryptConfigurationAndDB.java:208)
         at oracle.as.install.oim.config.OIMConfigManager.configureOIM(OIMConfigManager.java:966)
         at oracle.as.install.oim.config.OIMConfigManager.doExecute(OIMConfigManager.java:538)
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
         at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
         at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
         at java.lang.Thread.run(Thread.java:662)
    [2012-06-29T04:26:24.234-07:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWrzSA8Fs1WFLz7U8A1FvOzU000003,0] [[
    [OIM_CONFIG] *** Field OSI.OSI_CHILD_OLD_VALUE is being skipped because it is not a Varchar or Char column.
    [2012-06-29T04:26:24.359-07:00] [as] [TRACE:16] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWrzSA8Fs1WFLz7U8A1FvOzU000003,0] [SRC_CLASS: EncryptDataBase] [SRC_METHOD: encryptTableColumn] ENTRY
    [2012-06-29T04:26:24.359-07:00] [as] [ERROR] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWrzSA8Fs1WFLz7U8A1FvOzU000003,0] KeyStore File : C:\Oracle\Middleware\user_projects\domains\oimdomain\config\fmwconfig\.xldatabasekey missing.[[
    com.thortech.xl.crypto.tcCryptoException: KeyStore File : C:\Oracle\Middleware\user_projects\domains\oimdomain\config\fmwconfig\.xldatabasekey missing.
         at com.thortech.xl.crypto.tcCryptoHelper.loadKeyStore(tcCryptoHelper.java:96)
         at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.initKeyStore(tcDefaultDBEncryptionImpl.java:67)
         at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.getCipher(tcDefaultDBEncryptionImpl.java:96)
         at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.encrypt(tcDefaultDBEncryptionImpl.java:193)
         at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:118)
         at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:184)
         at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:172)
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptTableColumn(EncryptDataBase.java:499)
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDB(EncryptDataBase.java:345)
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDBContent(EncryptDataBase.java:132)
         at oracle.as.install.oim.config.util.EncryptConfigurationAndDB.encryptConfigurationAndDatbase(EncryptConfigurationAndDB.java:208)
         at oracle.as.install.oim.config.OIMConfigManager.configureOIM(OIMConfigManager.java:966)
         at oracle.as.install.oim.config.OIMConfigManager.doExecute(OIMConfigManager.java:538)
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
         at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
         at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
         at java.lang.Thread.run(Thread.java:662)
    [2012-06-29T04:26:24.359-07:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWrzSA8Fs1WFLz7U8A1FvOzU000003,0] [[
    [OIM_CONFIG] Get all the columns to encrypt from the SDC table
    [2012-06-29T04:26:24.359-07:00] [as] [ERROR] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWrzSA8Fs1WFLz7U8A1FvOzU000003,0] KeyStore File : C:\Oracle\Middleware\user_projects\domains\oimdomain\config\fmwconfig\.xldatabasekey missing.[[
    com.thortech.xl.crypto.tcCryptoException: KeyStore File : C:\Oracle\Middleware\user_projects\domains\oimdomain\config\fmwconfig\.xldatabasekey missing.
         at com.thortech.xl.crypto.tcCryptoHelper.loadKeyStore(tcCryptoHelper.java:96)
         at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.initKeyStore(tcDefaultDBEncryptionImpl.java:67)
         at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.getCipher(tcDefaultDBEncryptionImpl.java:96)
         at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.encrypt(tcDefaultDBEncryptionImpl.java:193)
         at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:118)
         at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:184)
         at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:172)
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDB(EncryptDataBase.java:390)
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDBContent(EncryptDataBase.java:132)
         at oracle.as.install.oim.config.util.EncryptConfigurationAndDB.encryptConfigurationAndDatbase(EncryptConfigurationAndDB.java:208)
         at oracle.as.install.oim.config.OIMConfigManager.configureOIM(OIMConfigManager.java:966)
         at oracle.as.install.oim.config.OIMConfigManager.doExecute(OIMConfigManager.java:538)
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
         at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
         at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
         at java.lang.Thread.run(Thread.java:662)
    [2012-06-29T04:26:24.359-07:00] [as] [ERROR] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWrzSA8Fs1WFLz7U8A1FvOzU000003,0] Exception occured in encryptDB method while encrypting the database [[
    java.lang.Exception: Exception occured in encryptDB method while encrypting the database
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDB(EncryptDataBase.java:411)
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDBContent(EncryptDataBase.java:132)
         at oracle.as.install.oim.config.util.EncryptConfigurationAndDB.encryptConfigurationAndDatbase(EncryptConfigurationAndDB.java:208)
         at oracle.as.install.oim.config.OIMConfigManager.configureOIM(OIMConfigManager.java:966)
         at oracle.as.install.oim.config.OIMConfigManager.doExecute(OIMConfigManager.java:538)
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
         at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
         at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: com.thortech.xl.crypto.tcCryptoException: KeyStore File : C:\Oracle\Middleware\user_projects\domains\oimdomain\config\fmwconfig\.xldatabasekey missing.
         at com.thortech.xl.crypto.tcCryptoHelper.loadKeyStore(tcCryptoHelper.java:96)
         at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.initKeyStore(tcDefaultDBEncryptionImpl.java:67)
         at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.getCipher(tcDefaultDBEncryptionImpl.java:96)
         at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.encrypt(tcDefaultDBEncryptionImpl.java:193)
         at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:118)
         at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:184)
         at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:172)
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDB(EncryptDataBase.java:390)
         ... 13 more
    [2012-06-29T04:26:24.359-07:00] [as] [ERROR] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWrzSA8Fs1WFLz7U8A1FvOzU000003,0] Exception occured while encrypting the database [[
    java.lang.Exception: Exception occured while encrypting the database
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDBContent(EncryptDataBase.java:138)
         at oracle.as.install.oim.config.util.EncryptConfigurationAndDB.encryptConfigurationAndDatbase(EncryptConfigurationAndDB.java:208)
         at oracle.as.install.oim.config.OIMConfigManager.configureOIM(OIMConfigManager.java:966)
         at oracle.as.install.oim.config.OIMConfigManager.doExecute(OIMConfigManager.java:538)
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
         at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
         at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: java.lang.Exception: Exception occured in encryptDB method while encrypting the database
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDB(EncryptDataBase.java:411)
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDBContent(EncryptDataBase.java:132)
         ... 12 more
    Caused by: com.thortech.xl.crypto.tcCryptoException: KeyStore File : C:\Oracle\Middleware\user_projects\domains\oimdomain\config\fmwconfig\.xldatabasekey missing.
         at com.thortech.xl.crypto.tcCryptoHelper.loadKeyStore(tcCryptoHelper.java:96)
         at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.initKeyStore(tcDefaultDBEncryptionImpl.java:67)
         at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.getCipher(tcDefaultDBEncryptionImpl.java:96)
         at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.encrypt(tcDefaultDBEncryptionImpl.java:193)
         at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:118)
         at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:184)
         at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:172)
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDB(EncryptDataBase.java:390)
         ... 13 more
    [2012-06-29T04:26:24.359-07:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWrzSA8Fs1WFLz7U8A1FvOzU000003,0] [[
    [OIM_CONFIG] Database Encrytion failed.
    [2012-06-29T04:26:24.359-07:00] [as] [ERROR] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWrzSA8Fs1WFLz7U8A1FvOzU000003,0] Exception[[
    java.lang.Exception: Exception occured while encrypting the configuration and database
         at oracle.as.install.oim.config.util.EncryptConfigurationAndDB.encryptConfigurationAndDatbase(EncryptConfigurationAndDB.java:213)
         at oracle.as.install.oim.config.OIMConfigManager.configureOIM(OIMConfigManager.java:966)
         at oracle.as.install.oim.config.OIMConfigManager.doExecute(OIMConfigManager.java:538)
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
         at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
         at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: java.lang.Exception: Exception occured while encrypting the database
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDBContent(EncryptDataBase.java:138)
         at oracle.as.install.oim.config.util.EncryptConfigurationAndDB.encryptConfigurationAndDatbase(EncryptConfigurationAndDB.java:208)
         ... 11 more
    Caused by: java.lang.Exception: Exception occured in encryptDB method while encrypting the database
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDB(EncryptDataBase.java:411)
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDBContent(EncryptDataBase.java:132)
         ... 12 more
    Caused by: com.thortech.xl.crypto.tcCryptoException: KeyStore File : C:\Oracle\Middleware\user_projects\domains\oimdomain\config\fmwconfig\.xldatabasekey missing.
         at com.thortech.xl.crypto.tcCryptoHelper.loadKeyStore(tcCryptoHelper.java:96)
         at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.initKeyStore(tcDefaultDBEncryptionImpl.java:67)
         at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.getCipher(tcDefaultDBEncryptionImpl.java:96)
         at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.encrypt(tcDefaultDBEncryptionImpl.java:193)
         at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:118)
         at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:184)
         at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:172)
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDB(EncryptDataBase.java:390)
         ... 13 more
    ]]

  • RH7 Error: Failed to read from log... Failed to generate WebHelp Pro

    Installed RH9 trial on Windows XP PC. Then, generated an existing project using RH7 to a new C: drive directory location on the PC using the same name. Renamed the project files in that C:drive directory to a test name and opened the project's .xpj file in RH9.  It converted cleanly. 
    Now, when I go to generate the RH7 original project from the original server directory, I receive:  
    Error: Failed to read from log (file name) .log.... Internal error encountered,  Failed to generate WebHelp Pro.
    Does the log file keep track of the previous generation (time stamp,etc), since this RH7 generation has a skip in it for the one generated to the C:drive?  I've compared the log files from each run (.txt files) and don't see a difference. I even copied the log file from the C:drive run to the Server directory. No luck.  Any ideas?

    Hi John,
    Thanks for the prompt response.  I am trying to evaluate RH9 / RH Server 9.
    When I generate RH7 projects, I’ve always put the server (RH7 Server) directory reference in the ‘Output Folder and Start Page’ field.  This directory reference is where the compiled output ends up right? In my case, it’s in that field as:
    PBSrobohelp\D$\RoboHelp <file:///
    PBSrobohelp\D$\RoboHelp>  Web Files\PBS Unit Processes Manual.  I’m not aware of a C:Drive local copy of the files. Doesn’t it go out to the server output for the .log file in question?
    For the test, I took an existing project in RH7 and replaced this server reference with a C:Drive local hard drive directory reference and ran the output to it.  Then I went to the C:Drive directory and changed the project name, because there doesn’t appear to be a way to do a ‘save as’ on a project – RH7 wants to keep that name badly.  I then, shutdown RH7 and started RH9.  I opened the .xpj file from the new test project copy. It recognized that it was from an older release and it converted the test copy to RH9.  It converted cleanly with about 2 inconsequential document warnings but did not create a TOC.  I looked it over and saved it in RH9 – it was already my test name.  
    The original RH7 project opens fine in RH7 and the Test RH9 project opens fine in RH9. So I think I have a good test copy.  It’s just that when I point the RH7 original to the Server Output folder (which has its files) it gets the error on generation.  
    We are evaluating RH Server 9 but I haven’t attempted to publish anything to it yet. I’ve stayed  purely on my desktop.  
    Hope this clears it up.
    Jim
    Jim Dages
    Business Professional Technician III
    University of Colorado, Payroll & Benefit Services
    1800 Grant St, Suite 400
    Denver, CO  80203
    t. 303-860-4230
    f. 303-860-4299
       Please consider the environment before printing this e-mail.
    CONFIDENTIALITY NOTICE - This e-mail transmission, and any documents, files or previous e-mail messages attached to it may contain information that is confidential or legally privileged. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that you must not read this transmission and that any disclosure, copying, printing, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. If you have received this transmission in error, please immediately notify the sender by telephone or return e-mail and delete the original transmission and its attachments without reading or saving in any manner. Thank you.

  • What causes The Report Application Server failed exception?

    My environment:
    Windows Server 2008 R2  8 cores 6 gig of ram.
    A Windows Service running:
    Oracle 11g
    Oracle 11.2 64 bit client
    C# 4.0 Framwork
    Crystal Reports Visual Studio 2010 13.0.2000
    This window service needs to create 1100 pdf documents generated by crystal reports per hour for a minimum of 8 hours straight.
    These pdf files are written on the local file system.
    The Windows Service runs 3 threads per core.  Each thread can run up to 5 individual CR .rpt files in a sequential order.
    After 4000 pdf documents created, I get the following errors.
    1) The Report Application Server failed
    2) Server is out of memory.
    3)  Not enough memory for operation.
    4) Invalid report file path.
    Using Windows Task Manager Resource Monitor I noticed the following:
    After running 3000 pdf report requests, I stopped the processing pdf reports and noticed hundreds of
    \BaseNamedObjects\CrystalReportXalanInitizeMutex(Pid of my process)
    Why are they there after a close and dispose of the ReportDocument object?
    I ran Reggate ANTS Memory Profiler 7.2 to check for memory leaks in my code and my code that I have control over is clean.
    Why am I getting the exceptions above?
    My code calls ExportReportToSream.  After persisting the stream to disk, I call Close and Dispose on the stream.
    My Code
    ==========================================================================================        public MemoryStream ExportReportToStream(String reportName, LogOnInfo logOnInfo, string reportParams, CrystalExportFormatType formatType)
                ReportDocument reportDoc = new ReportDocument();
                if (!System.IO.File.Exists(reportName))
                    throw new InvalidArgumentException("reportName '" + reportName + "' does not exist", EngineExceptionErrorID.InvalidArgument);
                try
                    lock (lockThis)
                        reportDoc.Load(reportName, OpenReportMethod.OpenReportByTempCopy);
                    ApplyLogOnInfo(reportDoc, logOnInfo);
                    //apply params if any
                    if (!String.IsNullOrEmpty(reportParams))
                        ApplyStringParams(reportDoc, reportParams);
                    return (MemoryStream)reportDoc.ExportToStream((ExportFormatType)formatType);
                //we need to use the try catch, finally so the report can be disposed properly
                catch (Exception)
                    throw;
                finally
                    DistroyReportDocument(reportDoc);
                    reportDoc = null;
            private void ApplyStringParams(ReportDocument reportDoc, string reportParams)
                if (reportDoc == null)
                    return;
                if (String.IsNullOrEmpty(reportParams))
                    return;
                string[] paramsArray = reportParams.Split('|');
                string[] subParamsArray = null;
                //apply report params
                ParameterValueKind type;
                string paramValue = string.Empty;
                ParameterField paramField = null;
                ParameterDiscreteValue discreteValue;
                int x = 0;
                int paramCount = 0;
                for (x = 0; x < reportDoc.ParameterFields.Count; x++)
                    // The ParameterFields object contains all parameters including the subreports.
                    // Subreport params have the name of the subreport.
                    if (reportDoc.Name.Trim().ToUpper() == reportDoc.ParameterFields[x].ReportName.Trim().ToUpper())
                        paramCount++;
    Edited by: Ludek Uher on Dec 15, 2011 7:57 AM
    Edited by: Ludek Uher on Dec 15, 2011 7:58 AM

    if (paramsArray.Length < paramCount)
                    throw new InvalidArgumentException("invalid number of arguments passed to report '" + reportDoc.Name + "' expected " + reportDoc.ParameterFields.Count + " received " + paramsArray.Length, EngineExceptionErrorID.InvalidArgument);
                for (x = 0; x < reportDoc.ParameterFields.Count; x++)
                    if (reportDoc.Name.Trim().ToUpper() != reportDoc.ParameterFields[x].ReportName.Trim().ToUpper())
                        continue;
                    paramValue = paramsArray[x];
                    paramField = reportDoc.ParameterFields[x];
                    type = paramField.ParameterValueType;
                    if (paramField.EnableAllowMultipleValue && paramValue.IndexOf(',') > -1)
                        subParamsArray = paramValue.Split(',');
                        ParameterValues currentParameterValues = new ParameterValues();
                        foreach (string subParamValue in subParamsArray)
                            discreteValue = new ParameterDiscreteValue();
                            discreteValue.Value = subParamValue;
                            currentParameterValues.Add(discreteValue);
                        paramField.CurrentValues = currentParameterValues;
                    else
                        discreteValue = new ParameterDiscreteValue();
                        discreteValue.Value = paramValue;
                        paramField.CurrentValues.Add(discreteValue);
            private bool ApplyLogOnInfo(ReportDocument document, LogOnInfo logOnInfo)
                TableLogOnInfo info = null;
                // Define credentials
                info = new TableLogOnInfo();
                info.ConnectionInfo.AllowCustomConnection = true;
                info.ConnectionInfo.ServerName = logOnInfo.ServerName;
                info.ConnectionInfo.DatabaseName = logOnInfo.DatabaseName;
                // Set the userid/password for the report if we are not using integrated security
                if (logOnInfo.IntegratedSecurity)
                    info.ConnectionInfo.IntegratedSecurity = true;
                else
                    info.ConnectionInfo.Password = logOnInfo.Password;
                    info.ConnectionInfo.UserID = logOnInfo.UserID;
      // Main connection?
                document.SetDatabaseLogon(info.ConnectionInfo.UserID,
                                            info.ConnectionInfo.Password,
                                            info.ConnectionInfo.ServerName,
                                            info.ConnectionInfo.DatabaseName,
                                            true);
                // Other connections?
                foreach (CrystalDecisions.Shared.IConnectionInfo connection in document.DataSourceConnections)
                    connection.SetConnection(logOnInfo.ServerName, logOnInfo.DatabaseName, logOnInfo.IntegratedSecurity);
                    connection.SetLogon(logOnInfo.UserID, logOnInfo.Password);
                    connection.LogonProperties.Set("Data Source", logOnInfo.ServerName);
                    connection.LogonProperties.Set("Initial Catalog", logOnInfo.DatabaseName);
                // Only do this to the main report (can't do it to sub reports)
                if (!document.IsSubreport)
                    // Apply to subreports
                    foreach (ReportDocument rd in document.Subreports)
                        ApplyLogOnInfo(rd, logOnInfo);
                // Apply to tables
                foreach (CrystalDecisions.CrystalReports.Engine.Table table in document.Database.Tables)
                    TableLogOnInfo tableLogOnInfo = table.LogOnInfo;
                    tableLogOnInfo.ConnectionInfo = info.ConnectionInfo;
                    table.ApplyLogOnInfo(tableLogOnInfo);
                    if (!table.TestConnectivity())
                        string strMsg = "ApplyLoginInfo failed to apply log in info for table " + table.Name + ",  Crystal Report: " + document.FileName + " DB: " + logOnInfo.DatabaseName + " UserID: " + logOnInfo.UserID;
                        throw new InvalidOperationException(strMsg);
                //verify logon info
                document.VerifyDatabase();
                return true;
            private void DistroyReportDocument(ReportDocument document)
                if (document == null)
                    return;
                 document.Close();
    Edited by: Ludek Uher on Dec 15, 2011 7:59 AM

  • CrystalReport - Getting "The Report Application Server failed" while export

    Hi Experts,
    I am using Crystal Reports 2008 in my ASP.NET application to generate reports. Everythings works fine in the development environment. When I deploy it on my Windows Server 2003 system, I get an error "The Report Application Server failed" while exporting the report from the report control. But, the report assuch is working fine even in the production environement. I experience this issue only while exporting to excel or anyother format.
    Do I need to configure anything or any settings needs to be turned on in the .rpt files!!
    Appreciate any help to get this issue resolved.
    TIA,
    Prem

    First a confirmation. When you say; "...exporting the report from the report control...", you mean the printer button on the viewer?
    Questions;
    What version of .NET?
    What Crystal Reports Service Pack are you on?
    How was the CR runtime installed on the server?\
    Can you print the report OK?
    Are you using sessions?
    Ludek

  • 9ias v2 - reports server failed, all else worked, how to fix?

    My install went fine with the one exception of the reports server. It generated an error but all else kept on working.
    A couple of answers if anybody knows though would be great.
    1. How do you install ONLY the reports server.
    2. I can't find the Discoverer Plus or Viewer html start files.
    Could this have been caused by the reports server not installing?
    3. I've installed 9i database v2, 9ias v2, 9ids, etc. Where is the documentation
    to now get Portals up?
    Thx. for the help.

    It looks like the error indeed has to do with the rwaddpag.sql problem.
    Here's the message below:
    ====================================================
    Oracle Home : c:\oracle\ora9ias2
    Deploying Reports for OC4J
    Reports deployment was successful
    Starting file instantiation
    File instantiation succeeded
    Registering Reports as a database provider
    Queue null
    Number of actions : 1
    Done
    Starting Action : SQLPlus
    Command c:\oracle\ora9ias2/bin/sqlplus.exe -s "PORTAL/XXXX@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=bigbang.workgroup)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=iasdb.bigbang.workgroup)))" @"c:\oracle\ora9ias2/portal/admin/plsql/wwd/rwaddpag.sql"
    Process destroyed
    Process err
    Process out
    Action queue failedoracle.ifs.utils.common.ProcessDestroyedException
    Error executing : rwaddpag.sql
    Reports registration failed
    Starting EM integration
    EM integration was successful
    Reports Configuration failed
    =====================================================
    The answer is as you suggested in the Reports release notes. However,
    the notes say to "Log on to the Oracle Internet Directory and obtain
    the Oracle9iAS Portal user database password".
    1. What the heck is that and how do I log on to it?
    2. If I 'log on' to it, it'll show the Portal user database password?
    Inquiring minds (mine) want to know!
    Thanks for any assistance.
    Russ I recieved this advice :
    Start up the Oracle Internet Directory administration tool:
    Start > Programs > (9iAS Instance) > Oracle Internet Directory > Oracle Directory Manager
    Log into the oidadmin tool using the OID administrator account
    (cn=orcladmin) for the Infrastructure installation.
    Username: cn=orcladmin
    Password: administrator_password (note this is the one you set during install)
    Server : host running Oracle Internet Directory and port number where
    Oracle Internet Directory is listening (this may be 4032)
    Navigate the administration tool.
    => Entry Management
    => cn=OracleContext
    => cn=Products
    => cn=IAS
    => cn=Infrastructure Databases
    => orclReferenceName=Single Sign-On database SID:Single Sign-On Server
    hostname
    (for example: orclReferenceName=iasdb:infra.acme.com)
    => orclResourceName=PORTAL
    Click the above entry and look for the orclpasswordattribute attribute
    value on the right panel. This value is the Oracle9iAS Portal user
    database password

Maybe you are looking for

  • Change Background on 3d Widget in full screen mode

    Hey, I am trying to have a custom background to my 3d widget that will be seamless from the regular size to full screen. So far if I want a photo in my bg I choose none for the Inspector > fill and then place it ontop of my photo in my book, however

  • ICloud on iPhone 5 has wrong email-deleting account doesn't work

    I've been searching the boards all day - I just updated to iOS 6.1.4 to try and fix this, but nothing happened. I try to log into iCloud onto my phone, and a pop up asks me to enter my password for an old apple id/email address (my old college email.

  • How to access the Custom Data type variable given in Expression edit control To and From LabVIEW

    Hello, I would like to know how to access the custom data type variable given in the Espression Edit Control from LabVIEW and vice-versa Say, the FileGlobals.Reference_Handle (Custom Data Type Variable) contains the VISA I/O session (Which in turn co

  • Computation using plsql function body

    Apex 4.2 linux 11gR2 I am trying to compute a value based on existing data in DB Using apex functionality, pl/sql function body to compute AFTER SUBMIT declare     c    number(4);     temp NUMBER(11,2);     temp1 NUMBER(11,2);     --P11_CURRENT_MONTH

  • What counts as "exercise" for the green ring??

    Does anyone know what counts as "exercise"? i.e. what does it take to advance the green ring??  All the apple watch info I've seen says "brisk walk". I went for an "outside walk" using the workout app today. I walked for 56 minutes, and did 3.18 mile