Error initializing PAPI with directory.xml

Hi
I am trying to initialize PAPI from my application (Stripes). In order to create the 'ProcessService' I need the directory.xml, which I obtained from the BPMHOME/conf directory.
However, I get the following error when executing:
WARNING: An exception was caught and handled by StripesExceptionHandler
java.lang.IllegalStateException: directory configuration runtime fails to initilize with resource: directory.xml
at fuego.directory.DirectoryConfigurationManager.getDirectoryConfiguration(DirectoryConfigurationManager.java:33
5)
at fuego.directory.DirectoryConfigurationManager.getDirectoryConfigType(DirectoryConfigurationManager.java:313)
at fuego.directory.provider.Factory.getDirectoryFactory(Factory.java:216)
at fuego.directory.Directory.startAnonymousSession(Directory.java:211)
at fuego.papi.impl.ProcessServiceFactoryImpl.obtainSchemaId(ProcessServiceFactoryImpl.java:193)
at fuego.papi.impl.ProcessServiceFactoryImpl.create(ProcessServiceFactoryImpl.java:75)
at fuego.papi.impl.ProcessServiceFactoryImpl.create(ProcessServiceFactoryImpl.java:63)
at fuego.papi.ProcessService.create(ProcessService.java:335)
Any ideas !!
Thanks

+Error initializing server: At least one valid code-source or import-shared-library element is required for shared-library "global.libraries" in /D:/tikona/Jd/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/server.xml
Modify the path to the JDev installation directory in server.xml.
l+[SOLVED] Error instantiating application
Edited by: dvohra16 on Jan 22, 2011 11:51 AM

Similar Messages

  • Security error accessing url with crossdomain.xml in InDesign FlexUI

    I'm evaluating Flex as a UI component in an InDesign script. Part of what it needs to do involves retrieving some data from a web server to be displayed in a datagrid. I've written a server running on localhost that will provide this data. Everything works fine when I run the component from Flash Builder or from the HTML wrapper page that is generated during the release build, but once I copy the .swf to the InDesign scripts folder and load it as part of a ScriptUI component, I get a fault response ("security error accessing url") when connecting to the server. I'm running this bit of code in from my Flex client:
    var h:HTTPService = new HTTPService();
    h.url = "http://localhost:8080/elements";
    h.method = "GET";
    h.addEventListener("result", getElementsResult);
    h.addEventListener("fault", getElementsFault);
    h.send();
    From what I've read, I may need a crossdomain.xml file at the root of my host, so I've added that to the server and can see that it is being accessed whenever the flex component attempts to connect to the service.
    My crossdomain.xml file is:
    <?xml version="1.0" ?>
    <!DOCTYPE cross-domain-policy SYSTEM 'http://www.adobe.com/xml/dtds/cross-domain-policy.dtd'>
    <cross-domain-policy>
        <allow-access-from domain="*"/>
    </cross-domain-policy>
    which seems to be correct, from what I understand. I've also tried quite a few other variations (setting explicit site-control policies, etc.). I'm quite new to Flex/Flash and I'm basically stuck at this point. Where might I be going wrong?

    I think sleeping on this one helped... I found that if I serve the .swf from my web server then everything works out fine. Loading it from the local filesystem seems to have been the problem.

  • When I try to connect LDAP server with Directory certificate installed in Onboard Administrator , I get the below error message. Initiating Directory Settings diagnostic for LDAP server 10.0.0.2 port 636

    10.0.0.2Accepting Directory Server certificate for /CN=qtp-ldap.oaqtp.com signed by /DC=com/DC=oaqtp/CN=qtp-ldap
    Skipping certificate 1 (/CN=qtp-ldap.oaqtp.com): subject issuer mismatch 
    Certificate of Directory Server cannot be verified with the installed LDAP certificate. 
    Unable to establish SSL connection with directory server. 
    You may need to install a certificate for your server to allow SSL connections. 
    It says "Subject Issuer mismatch" .. What could be the reason ?
    -Shibi Keyan

    Well, it sounds like the certificate name is different than what you are trying to connect to. Can you try connecting to the DNS name instead? This sounds like a DNS and Certificate Name issue.
    http://social.technet.microsoft.com/wiki/contents/articles/2980.ldap-over-ssl-ldaps-certificate.aspx
    Kurt Hudson, Sr. Technical Writer AD DS, AD CS, PKI, Azure AD

  • Problem with loading XML file from directory.

    Hello everyone.
    *1)* I have directory defined by DBA. I have read, write privileges. I can read file from this directory using UTL_FILE, I can create file in this directory using UTL_FILE. I tried many times and it does not seem to be any problems.
    *2)* I have very simple XML table (with just one column of xmltype). I can insert into this column using:
    insert into temp_xml values (
    Xmltype ('<something></something>')
    *3)* When executing
    insert into temp_xml values (
    Xmltype (
    bfilename('XML_LOCATION', 'sample.xml'),
    nls_charset_id('AL16UTF8')
    I'm receiving an error:
    Error report:
    SQL Error: ORA-22288: file or LOB operation FILEOPEN failed
    ORA-06512: at "SYS.DBMS_LOB", line 523
    ORA-06512: at "SYS.XMLTYPE", line 287
    ORA-06512: at line 1
    22288. 00000 - "file or LOB operation %s failed\n%s"
    *Cause:    The operation attempted on the file or LOB failed.
    *Action:   See the next error message in the error stack for more detailed
    information. Also, verify that the file or LOB exists and that
    the necessary privileges are set for the specified operation. If
    the error still persists, report the error to the DBA.
    *4)* Previously I was receiving more descriptive errors like permission denied, file not exists etc. This time there is no clear description apart from "file or LOB operation %s failed\n%s". I'm sure I can access this file in this directory (I used UTL_FILE to dbms_output the content).
    Any help would be greatly appreciated.
    Regards
    Marcin Jankowski

    Hi Marcin,
    Welcome to the forums.
    One very important thing with Oracle XML : please always give your database version, all four digits (e.g. 10.2.0.4).
    Does the directory resides on the same machine as the database? Which OS?
    Does any of the following work ?
    DECLARE
       v_lob   CLOB;
       v_file  BFILE;
    BEGIN
       v_file := BFILENAME('XML_LOCATION','sample.xml');
       DBMS_LOB.createtemporary(v_lob, true);
       DBMS_LOB.fileopen(v_file);
       DBMS_LOB.loadfromfile(v_lob, v_file, DBMS_LOB.getlength(v_file));
       INSERT INTO temp_xml VALUES( xmltype(v_lob) );
       DBMS_LOB.fileclose(v_file);
       DBMS_LOB.freetemporary(v_lob);
    END;
    DECLARE
       v_lob   CLOB;
    BEGIN
       v_lob := DBMS_XSLPROCESSOR.read2clob('XML_LOCATION', 'sample.xml', nls_charset_id('AL16UTF8'));
       INSERT INTO temp_xml VALUES( xmltype(v_lob) );
    END;
    /

  • Error Customizing userParameter with XML

    Hello,
    I'm customizing many reports with a XML file (IAS 9.0.4). I need to create a userparameter (DTDVersion="9.0.2.0.10") at runtime, but I get a REP-202 error without any text.
    My customizing XML file work fine without this userparameter definition:
    <report name="huella" DTDVersion="9.0.2.0.10" >
    <data>
    <userParameter name="P_huella" datatype="character"
    initialValue="SMITH"
    defaultWidth="0" defaultHeight="0" />
    </data>
    </report>
    I tried with parameter (DTDVersion="9.0.2.0.0") but same error.
    Any idea.
    Thanks.

    I am not exactly sure what you are trying to do, but it looks like you are saving report definitions as XML files instead of RDF. If that is the case, you have to supply a DTDVersion attribute to the xml as it is required per the reports.dtd found in the $ORACLE_HOME\reports\dtd directory.
    Note 231205.1 on Metalink has some details about validating report definitions in XML against a particular DTD. You may want to try this to get better error messages.
    What do you mean you are trying to cusomize many reports with an XML file?

  • ORA-00942 error on truncating a table with a XML Index

    Oracle Version: 11.2.0.1.0
    When truncate command fails with error "ORA-00942: table or view does not exist" when run against a table with an XML Index defined
    SQL> CREATE TABLE XML_TEST
    2 (
    3 ID INTEGER,
    4 TESTXML SYS.XMLTYPE
    5 );
    Table created.
    SQL> truncate table XML_TEST;
    Table truncated.
    SQL> CREATE INDEX xmlindex ON XML_TEST(TESTXML)
    2 indextype IS xdb.xmlindex
    3 parameters ('PATH TABLE MY_PATH_TABLE');
    Index created.
    SQL> truncate table XML_TEST;
    truncate table XML_TEST
    ERROR at line 1:
    ORA-00942: table or view does not exist
    SQL> Drop Index xmlindex;
    Index dropped.
    SQL> truncate table XML_TEST;
    Table truncated.

    No, I don't think that explanation is correct. I don't think it has to do with user privs. besides, we don't
    adjust rowids on an import -- we recreate the index, just like a b-tree index import would.
    This should be working. It's most likely a bug in our (i.e. Text) import code -- SYS.XMLTYPE is a little
    strange because under the covers it's actually a function-based index.
    I will test it out and file a bug if I can reproduce the behavior on solaris.

  • Error in JMS receiver adapter: "Error creating initial context with environment"

    Hello,
    I have some trouble with a JMS receiver adapter (access to JMS-provider with JNDI).
    The message in adapter monitoring is:
    A channel error occurred. Detailed error (if any) :
    com.sap.aii.adapter.jms.api.connector.ConnectorException: Fatal Error looking up connection factoryJMSQueueConnectionFactory, for profile: ConnectionProfile of channel: CC_JMS_RCV_XLIMI00001on node: 503473150 having object id: 5b424f2f79b6350ca636ab35d528cfdd:
    ConnectorException: Error creating initial context with environment: java.naming.provider.url=wcsefdev.example.com:9064; java.naming.factory.initial=com.ibm.websphere.naming.WsnInitialContextFactory; for profile: ConnectionProfile of channel:
    CC_JMS_RCV_XLIMI00001on node: 503473150 having object id: 5b424f2f79b6350ca636ab35d528cfdd: javax.naming.NoInitialContextException:
    Cannot instantiate class: com.ibm.websphere.naming.WsnInitialContextFactory<br> at com.sap.aii.adapter.jms.core.connector.JndiConnectorImpl.createConnectionFactory
    (JndiConnectorImpl.java:152)<br> ....
    Message processing failed. Cause:
    com.sap.aii.adapter.jms.core.fsm.DFA$InvalidTransitionException: No transition found from state: ERROR, on event: process_commence for DFA: CC_JMS_RCV_XLIMI00001:5b424f2f79b6350ca636ab35d528cfdd
    The third party assured me that the specified JNDI parameters are right and everything is configured on their site, so it should work...
    Might there be a problem with the JMS drivers?
    Regards,
    Marcus

    Hi Marcus,
    Have a look at below thread
    Connecting to PI 7.11 JMS Queue from other PI 7.11 Server

  • Error creating initial context with environment

    Hi,
    Currently we are working on a scenarios, where we need to integrate XI and webmethods using JMS.
    It was working fine. But recently they have restarted the webmethods server. After that we re getting an error message like,
    In Adapter Monitoring:
    Channel error occurred; detailed error description: com.sap.aii.adapter.jms.api.connector.ConnectorException: Error creating initial context with environment: {java.naming.provider.url=server:port, java.naming.factory.initial=com.sap.engine.services.jndi.InitialContextFactoryImpl, java.naming.security.principal=XYZ, java.naming.security.credentials=ABC}for profile: ConnectionProfile of channel: CC_RCV_JMS_INon node: 3010950 having object id: ABCXYZ: NamingException: Error getting the server-side naming service functionality during getInitialContext operation.
    at com.sap.aii.adapter.jms.core.connector.JndiConnectorImpl.createInitialContext(JndiConnectorImpl.java:66)
    In RWB
    MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: No transition found from state: STARTING, on event: process_commence for DFA: C_RCV_JMS_IN:e4413a5265a436459e271d5e0dd4859b
    Can one please tell me what the problem is?
    Thanks in advance.
    Regards,
    Prasad Babu.

    Hi,
    Check this link looks like same problem
    Re: file to JMS(for MQ series)
    Thanks
    Vikranth

  • 403 Error during communication with System Landscape Directory from RWB

    Hi,
    I've got a new install of PI (XI 7.0) SPS 10 and am getting an error whenever I try to access the SLD from RWB or Integration Builder.  The SLD is running on the same server as XI.
    I've been through the various config guides (strangely there doesnt seem to be one specifically for PI/XI 7.0),  to configure RFC destinations, checked users are not locked etc.
    I'm thinking it's probably a VA / Authorisations issue, but could use some ideas!
    Here's a few errors just for reference (and future people searching!)
    <i>
    Error during communication with System Landscape Directory: HTTP response code: 403 (Forbidden)
    Unable to read XI domain from the SLD. Monitoring cannot therefore be configured. Error message: com.sap.aii.rwb.exceptions.BuildLandscapeException: Error during communication with System Landscape Directory: HTTP response code: 403 (Forbidden)
    No System Landscape Directory exists. Unable to generate the landscape
    Unable to read software component versions from System Landscape Directory "my.server:51400" (have tried 8014 also)
    </i>
    Thanks,
    James.

    Hi,
    1) Activated all services
    2)Go to SU01 > type PIISUSER and reset the user's pw
    Check out this might be helpful
    http://help.sap.com/saphelp_nw04/helpdata/en/89/05793c05f0807be10000000a11405a/content.htm
    403 ERROR
    Check this note might help you 961880
    Regards
    Agasthuri Doss

  • Has anyone had a opf parse error with container.xml missing, when it is actually present plz ?

    Has anyone had a opf parse error with container.xml missing, when it is actually present plz ?

    Has anyone had a opf parse error with container.xml missing, when it is actually present plz ?

  • After Effects warning: Error with directory?

    Okay so recently I was having issues with text layers not displaying properly, and I posted here and found that the solution was to recreate my preferences file. However, since then I have been getting an error while starting AE that says "After Effects warning: Error with directory:
    C:\Documents and Settings\Brandon\Application Data\Adobe\After Effects\8.0\MediaIO". Is there a way to fix this without returning to old preferences file that gave me the original problem?

    And what happens, if you simply delete the error? The directory itself is not that important, as it merely holds presets and caches for Adobe Media encoder based formats (MPEG-2,WMF, etc.). AE should re-create it, if needed. Short of that, check the permissions on the folder as a starting point...
    Mylenium

  • Error during communication with System Landscape Directory: HTTP response c

    Dear all,
    I have redirected a SLD to our Q system. Everything in the Repository is working fine. What did I do:
    - Adjusted settings in SLDAPICUST
    - Adjusted SAPSLDAPI
    - Adjusted LCRSAPRFC
    - Adjusted the following values in the Exchange Profile:
    com.sap.aii.connect.cr.httpport
    com.sap.aii.connect.cr.name
    com.sap.aii.connect.landscape.httpport
    com.sap.aii.connect.landscape.name
    So, SLDCHECK works fine.
    The Repository sees the right SLD.
    However, in the Directory I cannot choose an Adapter Engine (leaves blank) in my comm. channel.
    Then I went to the RWB and got the following message:
    <b>Error during communication with System Landscape Directory: HTTP response code: 403 Forbidden</b>
    Where can I change something to make this work? Is this a user verification problem?
    Thanks in advance for your input.

    go through the notes :-
    #764176 Error in XI due to inconsistent SLD contents
    #720717 Reduce the number of System Landscape Directories
    Regards
       Kenny

  • HT4009 What is the problem if there is an error in initiating purchse with iTunes?

    Initializing purchse with iTunes is a frequent dialogue box coming out whenever I make purchase of items/characters or gems from the Skylnders Lost Islands game.

    What does the message say ?
    If you are getting a message to contact iTunes Support then you can do so via this link and ask them for help (we are fellow users here on these forums) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption
    If it's a different message ... ?

  • The BPM Workspace is loading and failing to initialize the directory.xml

    Hi BPM Specialists,
    I installed BPM along with SOA suit in Windows XP box. Now I am getting failing to initialize directory.xml error and the workspace is not getting loaded.I am not able to locate a directory.xml file in my installed directory. Please let me know what needs to be done.Thanks a lot in adavance.
    Initializing PAPI services...
    <May 3, 2011 1:10:23 PM IST> <Error> <oracle.bpm.common> <BEA-000000> <directory configuration runtime fails to initilize with resource: ..\config\directory.xml
    java.lang.IllegalStateException: directory configuration runtime fails to initilize with resource: ..\config\directory.xml
    at fuego.directory.DirectoryConfigurationManager.getDirectoryConfiguration(DirectoryConfigurationManager.java:335)
    at fuego.directory.DirectoryConfigurationManager.getDirectoryConfigType(DirectoryConfigurationManager.java:313)
    at fuego.directory.provider.Factory.getDirectoryFactory(Factory.java:216)
    at fuego.directory.Directory.startAnonymousSession(Directory.java:211)
    at fuego.papi.impl.ProcessServiceFactoryImpl.obtainSchemaId(ProcessServiceFactoryImpl.java:193)
    at fuego.papi.impl.ProcessServiceFactoryImpl.create(ProcessServiceFactoryImpl.java:75)
    at fuego.papi.impl.ProcessServiceFactoryImpl.create(ProcessServiceFactoryImpl.java:63)
    at fuego.papi.ProcessService.create(ProcessService.java:335)
    at oracle.bpm.workspace.adf.model.common.ADFWorkspaceEnvironment.initPAPI(ADFWorkspaceEnvironment.java:66)
    at oracle.bpm.workspace.model.common.WorkspaceEnvironment.initialize(WorkspaceEnvironment.java:113)
    at oracle.bpm.workspace.model.common.WorkspaceEnvironment.<init>(WorkspaceEnvironment.java:85)
    at oracle.bpm.workspace.adf.model.common.ADFWorkspaceEnvironment.<init>(ADFWorkspaceEnvironment.java:37)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at oracle.bpm.web.WebEnvironment.initialize(WebEnvironment.java:80)
    at oracle.bpm.workspace.adf.ADFWorkspaceContextListener.contextInitialized(ADFWorkspaceContextListener.java:51)
    at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
    at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
    at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    >
    java.lang.IllegalStateException: directory configuration runtime fails to initilize with resource: ..\config\directory.xml
    at fuego.directory.DirectoryConfigurationManager.getDirectoryConfiguration(DirectoryConfigurationManager.java:335)
    at fuego.directory.DirectoryConfigurationManager.getDirectoryConfigType(DirectoryConfigurationManager.java:313)
    at fuego.directory.provider.Factory.getDirectoryFactory(Factory.java:216)
    at fuego.directory.Directory.startAnonymousSession(Directory.java:211)
    at fuego.papi.impl.ProcessServiceFactoryImpl.obtainSchemaId(ProcessServiceFactoryImpl.java:193)
    at fuego.papi.impl.ProcessServiceFactoryImpl.create(ProcessServiceFactoryImpl.java:75)
    at fuego.papi.impl.ProcessServiceFactoryImpl.create(ProcessServiceFactoryImpl.java:63)
    at fuego.papi.ProcessService.create(ProcessService.java:335)
    at oracle.bpm.workspace.adf.model.common.ADFWorkspaceEnvironment.initPAPI(ADFWorkspaceEnvironment.java:66)
    at oracle.bpm.workspace.model.common.WorkspaceEnvironment.initialize(WorkspaceEnvironment.java:113)
    at oracle.bpm.workspace.model.common.WorkspaceEnvironment.<init>(WorkspaceEnvironment.java:85)
    at oracle.bpm.workspace.adf.model.common.ADFWorkspaceEnvironment.<init>(ADFWorkspaceEnvironment.java:37)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at oracle.bpm.web.WebEnvironment.initialize(WebEnvironment.java:80)
    at oracle.bpm.workspace.adf.ADFWorkspaceContextListener.contextInitialized(ADFWorkspaceContextListener.java:51)
    at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
    at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
    at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    java.lang.reflect.InvocationTargetException
    <May 3, 2011 1:10:23 PM IST> <Error> <oracle.bpm.common> <BEA-000000> <WorkSpace failed on Startup.>
    <May 3, 2011 1:10:23 PM IST> <Warning> <HTTP> <BEA-101162> <User defined listener oracle.bpm.workspace.adf.ADFWorkspaceContextListener failed: oracle.bpm.lang.exception.ProgramException: WorkSpaceWorkSpace failed on Startup..
    oracle.bpm.lang.exception.ProgramException: WorkSpaceWorkSpace failed on Startup.
    at oracle.bpm.lang.exception.ProgramException.wrap(ProgramException.java:54)
    at oracle.bpm.workspace.adf.ADFWorkspaceContextListener.contextInitialized(ADFWorkspaceContextListener.java:55)
    at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    Truncated. see log file for complete stacktrace
    Caused By: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at oracle.bpm.web.WebEnvironment.initialize(WebEnvironment.java:80)
    Truncated. see log file for complete stacktrace
    Caused By: java.lang.RuntimeException: Critical Error.
    Detail:
    directory configuration runtime fails to initilize with resource: ..\config\directory.xml

    Thanks a lot for you reply.
    I have installed OBPM 11g along with SOA suit.So whenever I am trying to restart the WL server, the log is showing the error where it is not able to initialize the directory.xml.
    Could you please let me know what else can be done?

  • JDev 10.1.3 EA: Error initializing Embedded OC4J

    I have installed the latest EA version of JDeveloper on a Linux machine along with JDK 5.0 and when I try to run anything I get:
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    **** Unable to obtain password from principals.xml. Using default.
    /home/Mark_Rees/jdevhome/system/oracle.j2ee.10.1.3.34.12/embedded-oc4j/config>
    /home/Mark_Rees/jdk1.5.0_04/bin/java -server -classpath /home/Mark_Rees/jdev_1013/j2ee/home/oc4j.jar:/home/Mark_Rees/jdev_1013/jdev/lib/jdev-oc4j-embedded.jar -Xverify:none -DcheckForUpdates=adminClientOnly -Xrs -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config /home/Mark_Rees/jdevhome/system/oracle.j2ee.10.1.3.34.12/embedded-oc4j/config/server.xml
    [waiting for the server to complete its initialization...]
    05/12/29 13:14:24 Application: system is in state FAILED
    05/12/29 13:14:24 Error initializing server: Error initializing ejb-modules: No such file or directory; nested exception is: java.util.zip.ZipException: No such file or directory
    05/12/29 13:14:24 Fatal error: server exiting
    Process exited with exit code 1.
    Anyone got any ideas?

    Check to see if helps
    Unable to start oc4j in Jdeveloper 10.1.3 EA1
    In my case I got that error when trying to connect to MySQL database when using OC4J

Maybe you are looking for