When Running DBMS_STATS inside a Proecure it Fails

Hello.
I need to schedule a job to compute stats.
I decide to create a Procedure GATHERTABLESTATSGTS2 and schedule a job as described below :
CREATE OR REPLACE PROCEDURE GATHERTABLESTATSGTS2
as
BEGIN
FOR i IN
select distinct owner,table_name from dba_tables
where owner in ('GTS2','GTS2_BW')
and table_name not in ('EXTRACT_ALLOCATIONS_TEU','EXTRACT_TARIFFS_IT')
LOOP
BEGIN
dbms_stats.gather_table_stats
( ownname => i.owner      
, tabname => i.table_name
               , degree => 4
     , cascade => TRUE);
EXCEPTION
WHEN OTHERS THEN
NULL;
END;
END LOOP;
END GATHERTABLESTATSGTS2;
VARIABLE jobno number;
BEGIN
DBMS_JOB.SUBMIT(:jobno,'GATHERTABLESTATSGTS2;',SYSDATE+2/24, 'SYSDATE+240/1440');
COMMIT;
END;
The Procedure COMPILES WITHOUR ERRORS.
The job is well scheduled.
But when I run manually the procedure GATHERTABLESTATSGTS2 I get
14:17:59 dodbw01.ctr.globedev.ddc> exec sys.GATHERTABLESTATSGTS2;
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.93 >>>>>>>>>> executed in less the 1 Seconde !!!!!!!!!!!
14:18:06 dodbw01.ctr.globedev.ddc>
And when I check in DBA_TAB_COL_STATISTICS
select * from DBA_TAB_COL_STATISTICS
where owner in ( 'GTS2','GTS2_BW')
order by owner,table_name;
I don't have any stats , I mean statsitics have not been updated.
Does someone alredy face this issue before?

Did you not try what I suggested in your Re: DBMS_STATS Gather_Table_Stats Fails when Called inside a Procedure in the SQL and PL/SQL forum?

Similar Messages

  • Need help with Security when running AS3 inside browser

    Hi,
    I am fairly new to flash, but a fairly experienced
    programmer.
    I have created a game that runs perfectly and communicates to
    a WinSock server over port 4000 to publish its final score to.
    Using simple XMLSocket and Send.
    When I run the game in the standalone flash player everything
    works perfectly as it should
    However when I embed in a HTML page or similar it goes wrong.
    The game works fine, but the final posting to the WinSock socket
    server fails. I have retrieved the error message.
    ioErrorHandler: [SecurityErrorEvent type="securityError"
    bubbles=false cancelable=false eventPhase=2 text="Error #2048"]
    My server is a local server to me running IIS 6. Everything
    runs fine by the standalone flash player so I know ports are clear
    and firewalls are not the problem.
    Searching around google and forums I have found out that in
    9,0,124,0 (the flash I am running) that they made some security
    enhancements, namely you need to post a crossdomain file.
    My file is sat in the wwwroot of my webserver where my flash
    swf is hosted and looks like
    <cross-domain-policy>
    <allow-access-from domain="*" secure="false"/>
    </cross-domain-policy>
    I have also tried adding the following to the 1st section of
    the swf file
    Security.loadPolicyFile("
    http://mydomainname.com/crossdomain.xml");
    I have tried all conbinations, but I cannot get the flash to
    communicate to the socket server when it inside a web browser.
    If i run it in the standalone player, everything works
    perfectly.
    Can someone help me please. I have been googling and ripping
    my hair out for ages. This is the final stage of my project and I
    am failing at the final step.
    Just to add.
    My server and testing computer are on the same domain, the
    web server is a win2003 server and my testing and coding server is
    a XP machine running IE7. They are linked by a ADSL router sharing
    the same external IP address but via DHCP addressing. Everything
    works fine for port forwarding of the winsocket port.
    Just to emphasis, I believe this setup is correct, as it all
    works fine when I run in the flash player.
    Many thanks

    I fixed it eventually.
    In flash 9.0.124.0 they now force you to have a socket XML
    server running on port 843 a server somewhere if you wish to use
    XMLSocket inside a browser.
    Nothing to do with domain or crossdomain.xml files.
    You need to also call
    Security.loadPolicyFile("xmlsocket://x.x.x.x:843") before you
    open the socket.
    to load in the XML that defines what is allowed.
    Search google for AS3 and socket server port 843 and you will
    find examples and even a simple Java based server to use.

  • Poor performance when running DBMS_STATS package

    Hello,
    I thought I would throw this issue out to the general population as I am stumped.
    I have two identical schemas on two different severs. Database in 9.2.0.6 and for QAS and Production reasons the servers and database settings are identical.
    I am running the DBMS_STATS.GATHER_SCHEMA_STATS package on both databases. On the QAS DB it takes roughly 1.5 hours while on the Production database it takes 8.0 hours.
    Looking at the statspack analysis, the biggest thing to jump out at me is that the temporary tablespace is getting 4.6 Million I/O hits (reads) while the QAS is only getting a few thousand.
    So .... this sort of indicates that something is going on in the PGA which could cause Oracle to use the TEMP tablespace. However when I look in the host performance (using Grid Control) the servers memory, file I/O, and CPU while high are not over 80%.
    Has anyone else seen and issue like this? Any ideas where to look?
    Thanks,
    Chris

    To the extent that you are gathering histograms on the data, Oracle potentially has to do a reasonable amount of sorting. If one machine has substantially more physical RAM, that presumably implies that it has more RAM available for the PGA, which would allow more sorts to happen in memory rather than on disk.
    Depending on how you create a "refresh copy of production" and what parameters you are passing in to DBMS_STATS, it is also possible that the quality assurance database is gathering substantially more histograms than the production database (i.e. you refresh lower environments via export and import rather than doing an RMAN clone and tell Oracle to gather histograms on any columns that currently have histograms).
    Justin

  • Error when running dbms_stats.gather_database_stats from dbms_job?

    I had an issue with the default oracle job to analyze the database. I opened a metalink ticket and they said there is a known bug in 10.1.0.3 with the default oracle job and it does not work.
    I am not allowed allowed to update. so the work around was to run this from dba_jobs.
    I have this job created as system and run it manually...
    dbms_stats.gather_database_stats(cascade => TRUE,method_opt => 'FOR ALL COLUMNS SIZE AUTO',
    degree=>8 )
    I can execute this when logged in as system.
    When I try to execute the job I get:
    ORA-12012: error on auto execute of job 26ORA-20000: Insufficient privileges to analyze an object in DatabaseORA-06512: at "SYS.DBMS_STATS", line 12086ORA-06512: at "SYS.DBMS_STATS", line 12425ORA-06512: at "SYS.DBMS_STATS", line 12567ORA-06512: at "SYS.DBMS_STATS", line 12531ORA-06512: at line 1This is running as system?
    The table I don't have access to is located in someones schema.
    log_user,priv_user, and schema_user are all system...
    Why can I run this manually and not through a job?
    Edited by: Guess2 on Jul 21, 2009 9:15 AM
    Edited by: Guess2 on Jul 21, 2009 9:16 AM

    The table I get an error on is not partitioned.
    I also do not get a exception when I run that procedure manually as system, but when I run it from dba_jobs, I get an insufficient privileges issue.

  • When running Junit for AMImplTest, service invocation fails due to security

    We have a Junit to test an AM java method. Part of the logic is to retrieve a cost using a service. We are using the Service Factory to perform the call and have the credential set in the connections, so when it is deployed, the credentials will be used. The issue is when the Junit is run, it does not seem to be getting the credentials. When the service is invoked, an error is thrown: oracle.jbo.service.errors.ServiceException: java.lang.reflect.InvocationTargetException. Within this error, I have found another error wrapped: oracle.fabric.common.PolicyEnforcementException: WSM-00015 : The user name is missing.     WebServiceException.
    How does the Junit get credentials for the service invocation?

    Just need to update the wallet.soo using: ant addCredential -Djws=<relative-path-to-your-jws-file> -Dmap=oracle.wsm.security -Dkey=keystore-csf-key -Duser=owsm -Dpassword=welcome1

  • Error when running DBMS_STATS package

    Hi all.
    Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
    PL/SQL Release 9.2.0.4.0 - Production
    CORE 9.2.0.3.0 Production
    TNS for Solaris: Version 9.2.0.4.0 - Production
    NLSRTL Version 9.2.0.4.0 - Production
    I am trying to gather schema stats using dbms_stats package and I see the following:
    SQL> BEGIN DBMS_STATS.gather_schema_stats('SYSADM');
    2 END;
    3 /
    ERROR at line 1:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-04040: file G534513-1004.txt in EXT_WINDIR not found
    ORA-06512: at "SYS.DBMS_STATS", line 9375
    ORA-06512: at "SYS.DBMS_STATS", line 9857
    ORA-06512: at "SYS.DBMS_STATS", line 10041
    ORA-06512: at "SYS.DBMS_STATS", line 10095
    ORA-06512: at "SYS.DBMS_STATS", line 10072
    ORA-06512: at line 1
    The directory exists but the file is long gone. How can I get around this error?
    Thanks

    See if this helps,
    ERROR WITH EXTERNAL TABLE
    HTH
    Aman....

  • Unmarshaller failed exception when running HcmCompWorkbenchWorkArea.jspx

    Hello,
    When running the page , we get Unmarshaller failed exception. Any idea on how to fix it? here is the complete log:
    <Feb 25, 2013 5:23:44 PM IST> <Warning> <Munger> <BEA-2156203> <A version attribute was not found in element application in the deployment descriptor in C:\Amarnath\Oracle\myWork\system11.1.1.6.39.62.68\DefaultDomain\servers\DefaultServer\tmp\_WL_user\oracle.applcp.model\f7pg9o/META-INF/application.xml. A version attribute is required, but this version of the Weblogic Server will assume that the JEE5 is used. Future versions of the Weblogic Server will reject descriptors that do not specify the JEE version.>
    <Feb 25, 2013 5:23:58 PM IST> <Error> <J2EE> <BEA-160197> <Unable to load descriptor C:\Amarnath\Oracle\myWork\system11.1.1.6.39.62.68\o.j2ee\drs\XXCHRAddFilterAppl\AddFilterProjEJB.war/WEB-INF/web.xml of module AddFilterProjEJB.war. The error is weblogic.descriptor.DescriptorException: Unmarshaller failed
         at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:161)
         at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:409)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:759)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768)
         at weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:141)
         at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:1327)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:372)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: com.bea.xml.XmlException: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.ServletBeanImpl@269fc476(/Servlets[PortletProducerResourceServlet])"
         at com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:54)
         at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.setValue(RuntimeBindingType.java:539)
         at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType$QNameRuntimeProperty.fillCollection(AttributeRuntimeBindingType.java:381)
         at com.bea.staxb.runtime.internal.MultiIntermediary.getFinalValue(MultiIntermediary.java:52)
         at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType.getFinalObjectFromIntermediary(AttributeRuntimeBindingType.java:140)
         at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:200)
         at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:169)
         at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
         at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:150)
         ... 33 more
    Caused by: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.ServletBeanImpl@269fc476(/Servlets[PortletProducerResourceServlet])"
         at weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceManager.java:231)
         at weblogic.j2ee.descriptor.WebAppBeanImpl.setServlets(WebAppBeanImpl.java:1143)
         at sun.reflect.GeneratedMethodAccessor214.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:48)
         ... 41 more
    .>
    <Feb 25, 2013 5:23:58 PM IST> <Error> <HTTP> <BEA-101064> <[WebAppModule(XXCHRAddFilterAppl [Version=V2.0]:hcmCompensation)] Error parsing descriptor in Web appplication "C:\Amarnath\Oracle\myWork\system11.1.1.6.39.62.68\o.j2ee\drs\XXCHRAddFilterAppl\AddFilterProjEJB.war"
    weblogic.application.ModuleException: Unmarshaller failed
         at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:1335)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:372)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.ServletBeanImpl@269fc476(/Servlets[PortletProducerResourceServlet])"
         at weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceManager.java:231)
         at weblogic.j2ee.descriptor.WebAppBeanImpl.setServlets(WebAppBeanImpl.java:1143)
         at sun.reflect.GeneratedMethodAccessor214.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         Truncated. see log file for complete stacktrace
    >
    <Feb 25, 2013 5:23:58 PM IST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1361793222485' for task '0'. Error is: 'weblogic.application.ModuleException: [HTTP:101064][WebAppModule(XXCHRAddFilterAppl [Version=V2.0]:hcmCompensation)] Error parsing descriptor in Web appplication "C:\Amarnath\Oracle\myWork\system11.1.1.6.39.62.68\o.j2ee\drs\XXCHRAddFilterAppl\AddFilterProjEJB.war"
    weblogic.application.ModuleException: Unmarshaller failed
         at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:1335)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:372)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.ServletBeanImpl@269fc476(/Servlets[PortletProducerResourceServlet])"
         at weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceManager.java:231)
         at weblogic.j2ee.descriptor.WebAppBeanImpl.setServlets(WebAppBeanImpl.java:1143)
         at sun.reflect.GeneratedMethodAccessor214.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:48)
         at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.setValue(RuntimeBindingType.java:539)
         at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType$QNameRuntimeProperty.fillCollection(AttributeRuntimeBindingType.java:381)
         at com.bea.staxb.runtime.internal.MultiIntermediary.getFinalValue(MultiIntermediary.java:52)
         at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType.getFinalObjectFromIntermediary(AttributeRuntimeBindingType.java:140)
         at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:200)
         at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:169)
         at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
         at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:150)
         at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:409)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:759)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768)
         at weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:141)
         at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:1327)
         ... 26 more
    weblogic.application.ModuleException: Unmarshaller failed'
    weblogic.application.ModuleException: [HTTP:101064][WebAppModule(XXCHRAddFilterAppl [Version=V2.0]:hcmCompensation)] Error parsing descriptor in Web appplication "C:\Amarnath\Oracle\myWork\system11.1.1.6.39.62.68\o.j2ee\drs\XXCHRAddFilterAppl\AddFilterProjEJB.war"
    weblogic.application.ModuleException: Unmarshaller failed
         at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:1335)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:372)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.ServletBeanImpl@269fc476(/Servlets[PortletProducerResourceServlet])"
         at weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceManager.java:231)
         at weblogic.j2ee.descriptor.WebAppBeanImpl.setServlets(WebAppBeanImpl.java:1143)
         at sun.reflect.GeneratedMethodAccessor214.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:48)
         at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.setValue(RuntimeBindingType.java:539)
         at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType$QNameRuntimeProperty.fillCollection(AttributeRuntimeBindingType.java:381)
         at com.bea.staxb.runtime.internal.MultiIntermediary.getFinalValue(MultiIntermediary.java:52)
         at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType.getFinalObjectFromIntermediary(AttributeRuntimeBindingType.java:140)
         at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:200)
         at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:169)
         at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
         at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:150)
         at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:409)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:759)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768)
         at weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:141)
         at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:1327)
         ... 26 more
    weblogic.application.ModuleException: Unmarshaller failed
         at weblogic.servlet.internal.WebAppModule.createModuleException(WebAppModule.java:1604)
         at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:1358)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:372)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.ServletBeanImpl@269fc476(/Servlets[PortletProducerResourceServlet])"
         at weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceManager.java:231)
         at weblogic.j2ee.descriptor.WebAppBeanImpl.setServlets(WebAppBeanImpl.java:1143)
         at sun.reflect.GeneratedMethodAccessor214.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         Truncated. see log file for complete stacktrace
    >
    <Feb 25, 2013 5:23:59 PM IST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'XXCHRAddFilterAppl [Version=V2.0]'.>
    <Feb 25, 2013 5:23:59 PM IST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: [HTTP:101064][WebAppModule(XXCHRAddFilterAppl [Version=V2.0]:hcmCompensation)] Error parsing descriptor in Web appplication "C:\Amarnath\Oracle\myWork\system11.1.1.6.39.62.68\o.j2ee\drs\XXCHRAddFilterAppl\AddFilterProjEJB.war"
    weblogic.application.ModuleException: Unmarshaller failed
         at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:1335)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:372)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.ServletBeanImpl@269fc476(/Servlets[PortletProducerResourceServlet])"
         at weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceManager.java:231)
         at weblogic.j2ee.descriptor.WebAppBeanImpl.setServlets(WebAppBeanImpl.java:1143)
         at sun.reflect.GeneratedMethodAccessor214.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:48)
         at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.setValue(RuntimeBindingType.java:539)
         at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType$QNameRuntimeProperty.fillCollection(AttributeRuntimeBindingType.java:381)
         at com.bea.staxb.runtime.internal.MultiIntermediary.getFinalValue(MultiIntermediary.java:52)
         at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType.getFinalObjectFromIntermediary(AttributeRuntimeBindingType.java:140)
         at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:200)
         at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:169)
         at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
         at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:150)
         at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:409)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:759)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768)
         at weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:141)
         at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:1327)
         ... 26 more
    weblogic.application.ModuleException: Unmarshaller failed
         at weblogic.servlet.internal.WebAppModule.createModuleException(WebAppModule.java:1604)
         at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:1358)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:372)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.ServletBeanImpl@269fc476(/Servlets[PortletProducerResourceServlet])"
         at weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceManager.java:231)
         at weblogic.j2ee.descriptor.WebAppBeanImpl.setServlets(WebAppBeanImpl.java:1143)
         at sun.reflect.GeneratedMethodAccessor214.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         Truncated. see log file for complete stacktrace
    >
    [05:23:59 PM] #### Deployment incomplete. ####
    [05:23:59 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    #### Cannot run application XXCHRAddFilterAppl due to error deploying to IntegratedWebLogicServer.
    [Application XXCHRAddFilterAppl stopped and undeployed from Server Instance IntegratedWebLogicServer]
    Thanks,
    Amarnath

    Hi Vik,
    I followed your steps in the mail and I'm getting the same error again ( Expected element 'principal-name@http://xmlns.oracle.com/weblogic/weblogic-web-app' instead of 'externally-defined@http://xmlns.oracle.com/weblogic/weblogic-web-app'):
    [06:45:49 PM] Deploying Application...
    <Mar 5, 2013 6:45:52 PM IST> <Warning> <Munger> <BEA-2156203> <A version attribute was not found in element application in the deployment descriptor in C:\Amarnath\Oracle\myWork\system11.1.1.6.39.62.68\DefaultDomain\servers\DefaultServer\tmp\_WL_user\oracle.applcp.model\f7pg9o/META-INF/application.xml. A version attribute is required, but this version of the Weblogic Server will assume that the JEE5 is used. Future versions of the Weblogic Server will reject descriptors that do not specify the JEE version.>
    <Mar 5, 2013 6:46:25 PM IST> <Error> <J2EE> <BEA-160197> <Unable to load descriptor C:\Amarnath\Oracle\myWork\system11.1.1.6.39.62.68\o.j2ee\drs\XXCHRAddFilterAppl\AddFilterProjEJB.war/WEB-INF/weblogic.xml of module AddFilterProjEJB.war. The error is weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND
    problem: cvc-complex-type.2.4a: Expected element 'principal-name@http://xmlns.oracle.com/weblogic/weblogic-web-app' instead of 'externally-defined@http://xmlns.oracle.com/weblogic/weblogic-web-app' here in element security-role-assignment@http://xmlns.oracle.com/weblogic/weblogic-web-app:<null>
         at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:245)
         at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:231)
         at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:155)
         at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
         at weblogic.application.descriptor.AbstractDescriptorLoader2._mergeDescriptors(AbstractDescriptorLoader2.java:579)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.mergeDescriptors(AbstractDescriptorLoader2.java:500)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.mergeDescriptors(AbstractDescriptorLoader2.java:477)
         at weblogic.servlet.internal.WebAppDescriptor.mergeLibaryDescriptors(WebAppDescriptor.java:181)
         at weblogic.servlet.internal.WebAppModule.mergeLibraryDescriptors(WebAppModule.java:1646)
         at weblogic.servlet.internal.WebAppServletContext.mergeLibraryDescriptors(WebAppServletContext.java:2718)
         at weblogic.servlet.internal.WebAppServletContext.mergeLibraryDescriptors(WebAppServletContext.java:2678)
         at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:416)
         at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:493)
         at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:418)
         at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:972)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:382)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    .>
    <Mar 5, 2013 6:46:25 PM IST> <Error> <HTTP> <BEA-101370> <There was a failure when merging library descriptors into the application descriptors for application C:\Amarnath\Oracle\myWork\system11.1.1.6.39.62.68\o.j2ee\drs\XXCHRAddFilterAppl\AddFilterProjEJB.war. Please make sure that the descriptors are valid. The error is VALIDATION PROBLEMS WERE FOUND
    problem: cvc-complex-type.2.4a: Expected element 'principal-name@http://xmlns.oracle.com/weblogic/weblogic-web-app' instead of 'externally-defined@http://xmlns.oracle.com/weblogic/weblogic-web-app' here in element security-role-assignment@http://xmlns.oracle.com/weblogic/weblogic-web-app:<null>>
    <Mar 5, 2013 6:46:28 PM IST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1362489351282' for task '0'. Error is: 'weblogic.application.ModuleException: Failed to load webapp: 'hcmCompensation''
    weblogic.application.ModuleException: Failed to load webapp: 'hcmCompensation'
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:393)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND
    problem: cvc-complex-type.2.4a: Expected element 'principal-name@http://xmlns.oracle.com/weblogic/weblogic-web-app' instead of 'externally-defined@http://xmlns.oracle.com/weblogic/weblogic-web-app' here in element security-role-assignment@http://xmlns.oracle.com/weblogic/weblogic-web-app:<null>
         at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:245)
         at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:231)
         at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:155)
         at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
         Truncated. see log file for complete stacktrace
    >
    <Mar 5, 2013 6:46:28 PM IST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'XXCHRAddFilterAppl [Version=V2.0]'.>
    <Mar 5, 2013 6:46:28 PM IST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: Failed to load webapp: 'hcmCompensation'
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:393)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND
    problem: cvc-complex-type.2.4a: Expected element 'principal-name@http://xmlns.oracle.com/weblogic/weblogic-web-app' instead of 'externally-defined@http://xmlns.oracle.com/weblogic/weblogic-web-app' here in element security-role-assignment@http://xmlns.oracle.com/weblogic/weblogic-web-app:<null>
         at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:245)
         at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:231)
         at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:155)
         at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
         Truncated. see log file for complete stacktrace
    >
    [06:46:28 PM] #### Deployment incomplete. ####
    Thanks,
    Amarnath

  • Logon Failed when running BSP from Portal

    Hello,
    We are getting the following error for users when running BSP Application from Portal :
    Logon Failed
    What has happened ?
    Call of URL http://<hostname>:<Portnumber>/sap/bc/bsp/sap/<BSP Application name> terminated
    Note:
    -Logon performed in system
    What can I do ?
    Check the validity of your SSO ticket for this system.
    HTTP 401 : Unauthorized
    Any help would be highly appreciated.
    Thanks

    Actually when I run the BSP Application in SICF Tcode I get the following error:
    BSP Error :
    Calling the BSP Page was terminated due to an error.
    Which is different from the one I already posted.
    And as mentioned in the earlier error , I checked the Validity of the SSO Ticket on the Portal which is till 2038.
    Thanks
    Edited by: PortalPerson on Aug 24, 2011 10:22 PM

  • HTTP 401 received when running exRCA and authentication fails

    After upgrading Exchange 2013 to CU6 our ActiveSync functionality stopped (along with a few other things). I have been using ExRCA to troubleshoot and have spent several days looking at forums and trying different things out to get it working again but to
    no avail. Essentially when I enter valid account credentials it fails to authenticate and as a result I receive an 401 response.
    I have already checked Inherited permissions are enabled for the user account in AD. I have checked that the authentication for the Virtual directory is set to Basic with SSL required. (Have also tried with windows authentication enabled). I have recycled
    the ApplicationPool especially the MSExchangeSyncAppPool - That appears to be correctly configured and running under LocalSystem Identity. I have recreated the virtual directory using the reset feature in the EPC. Both internal and external URLs are set as
    well as the CAS server being assigned to the External URL.
    The report that I get: -         
    An ActiveSync session is being attempted with the server.
     Errors were encountered while testing the Exchange ActiveSync session.
     Additional Details
    Elapsed Time: 3721 ms.
     Test Steps
     Attempting to send the OPTIONS command to the server.
     Testing of the OPTIONS command failed. For more information, see Additional Details.
      Tell me more about this issue and how to resolve it
     Additional Details
    An HTTP 401 Unauthorized response was received from the server. This may be the result of invalid credentials or a configuration problem on the Exchange Server.
    HTTP Response Headers:
    request-id: 216790d5-03dc-4616-87c6-d196c870a6f0
    X-CalculatedBETarget: ex2013.domain.org
    X-FEServer: EX2013
    Content-Length: 0
    Cache-Control: private
    Date: Wed, 12 Nov 2014 16:13:10 GMT
    Server: Microsoft-IIS/8.5
    WWW-Authenticate: Basic realm="domain.org"
    X-AspNet-Version: 4.0.30319
    X-Powered-By: ASP.NET
    Elapsed Time: 3721 ms.
    I have failed request logging enabled and I am seeing numerous entries for some of the other services including ActiveSync and getting similar errors to the below: -
    ModuleName
    WindowsAuthenticationModule
    Notification
    AUTHENTICATE_REQUEST
    HttpStatus
    401
    HttpReason
    Unauthorized
    HttpSubStatus
    1
    ErrorCode
    No credentials are available in the security package
     (0x8009030e)
    Any thoughts or additional diagnostic steps will be appreciated.
    I tried recreating the backend virtual directory via EMC using the following command: - 
    New-WebApplication  -Site "Exchange Back End" -Name Microsoft-Server-ActiveSync -PhysicalPath "C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\sync" -ApplicationPool MSExchangeSyncAppPool -Force
    (didnt work...)

    Hi Joby 
    Thanks for getting back - tried your suggestion but still the same. 
    Attempting to send the OPTIONS command to the server.
    Additional Details
    An HTTP 401 Unauthorized response was received from the server. This may be the result of invalid credentials or a configuration problem on the Exchange Server.
    HTTP Response Headers:
    request-id: 53f6bea6-4ef2-463e-87a1-f2dfd6a7bcf8
    X-CalculatedBETarget: ex2013.xx.domain.org
    X-FEServer: EX2013
    Content-Length: 0
    Cache-Control: private
    Date: Mon, 24 Nov 2014 13:16:15 GMT
    Server: Microsoft-IIS/8.5
    WWW-Authenticate: Basic realm="xx.domain.org"
    X-AspNet-Version: 4.0.30319
    X-Powered-By: ASP.NET
    Elapsed Time: 681 ms.

  • Opening Excel Workbook Fails when run from Scheduled Task on Windows Server 2008 Rw

    Hi,
    I have a little vbs script that instantiates the Excel.Application object and then opens a work book to perform some tasks on it. The script runs fine when run from the command line. When I attempt to run it as a scheduled task (it is supposed to update
    data that is pulled from a SQL Server at regular intervals), it fails with the following error:
    Microsoft Office Excel cannot access the file 'c:\test\SampleWorkbook.xlsm'. There are several possible reasons: .....
    The file does exist. The path reported in the error is correct. The account under which the task is running is the same account I use to run it from the command line. User Account Control is not enabled, and the task is set up to run with highest privileges.
    When I run the same script through the Task Scheduler from a Windows Server 2003 machine, it works without issue.
    I was just wondering if somebody on this forum has run into a similar issue in connection with Windows Server 2008 R2 and figured out what the magic trick is to make it work. I'm sure it is rights related, but I haven't quite figured out what which rights
    are missing.
    Thanks in advance for any advice you may have.

    This is truly killing me ... trying to get it working on Windows Server 2012 without success.
    I desperately need to automate running Excel macros in a "headless" environment, that is non-interactive, non-GUI, etc.
    I can get it to work using Excel.Application COM, either via VBScript or Powershell, successfully on many other Windows systems  in our environment - Windows Server 2008 R2, Windows 7 (32-bit), etc.,  -BUT-
    The two servers we built out for running our automation process are Windows Server 2012 (SE) - and it just refuses to run on the 2012 servers - it gives the messages below from VBScript and PowerShell, respectively- 
    I have tried uninstalling and re-installing several different versions of Microsoft Excel (2007 Standard, 2010 Standard, 2010 Professional Plus, 32-bit vs. 64-bit, etc.), but it makes no difference.
    Would be extremely grateful if any one out there has had any success in running Excel automation on Server 2012 in a non-interactive environment that they could share.
    ( I have tried adding the "%windir%\syswow64\config\systemprofile\desktop"
    folder, which did fix the issue for me when testing on Windows Server 2008 R2, but sadly did not resolve it on Windows Server 2012 )
    [VBScript error msg]
    Z:\TestExcelMacro.vbs(35, 1) Microsoft Office Excel: Microsoft Office Excel cannot
    access the file 'Z:\TestExcelMacro.xlsm'. There are several possible reasons:
    • The file name or path does not exist.
    • The file is being used by another program.
    • The workbook you are trying to save has the same name as a currently open work
    [Powershell error msg]
    Exception calling "Add" with "0" argument(s): "Microsoft Office Excel cannot open or save any more documents because th
    ere is not enough available memory or disk space.
     To make more memory available, close workbooks or programs you no longer need.
     To free disk space, delete files you no longer need from the disk you are saving to."
        + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
        + FullyQualifiedErrorId : ComMethodTargetInvocation
    You cannot call a method on a null-valued expression.
        + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
        + FullyQualifiedErrorId : InvokeMethodOnNull

  • I have a production mobile Flex app that uses RemoteObject calls for all data access, and it's working well, except for a new remote call I just added that only fails when running with a release build.  The same call works fine when running on the device

    I have a production mobile Flex app that uses RemoteObject calls for all data access, and it's working well, except for a new remote call I just added that only fails when running with a release build. The same call works fine when running on the device (iPhone) using debug build. When running with a release build, the result handler is never called (nor is the fault handler called). Viewing the BlazeDS logs in debug mode, the call is received and send back with data. I've narrowed it down to what seems to be a data size issue.
    I have targeted one specific data call that returns in the String value a string length of 44kb, which fails in the release build (result or fault handler never called), but the result handler is called as expected in debug build. When I do not populate the String value (in server side Java code) on the object (just set it empty string), the result handler is then called, and the object is returned (release build).
    The custom object being returned in the call is a very a simple object, with getters/setters for simple types boolean, int, String, and one org.23c.dom.Document type. This same object type is used on other other RemoteObject calls (different data) and works fine (release and debug builds). I originally was returning as a Document, but, just to make sure this wasn't the problem, changed the value to be returned to a String, just to rule out XML/Dom issues in serialization.
    I don't understand 1) why the release build vs. debug build behavior is different for a RemoteObject call, 2) why the calls work in debug build when sending over a somewhat large (but, not unreasonable) amount of data in a String object, but not in release build.
    I have't tried to find out exactly where the failure point in size is, but, not sure that's even relevant, since 44kb isn't an unreasonable size to expect.
    By turning on the Debug mode in BlazeDS, I can see the object and it's attributes being serialized and everything looks good there. The calls are received and processed appropriately in BlazeDS for both debug and release build testing.
    Anyone have an idea on other things to try to debug/resolve this?
    Platform testing is BlazeDS 4, Flashbuilder 4.7, Websphere 8 server, iPhone (iOS 7.1.2). Tried using multiple Flex SDK's 4.12 to the latest 4.13, with no change in behavior.
    Thanks!

    After a week's worth of debugging, I found the issue.
    The Java type returned from the call was defined as ArrayList.  Changing it to List resolved the problem.
    I'm not sure why ArrayList isn't a valid return type, I've been looking at the Adobe docs, and still can't see why this isn't valid.  And, why it works in Debug mode and not in Release build is even stranger.  Maybe someone can shed some light on the logic here to me.

  • Following error occours when running a BI Publisher report in Siebel: Operation ' ? ' of Web Service ' ? . ? ' at port ' ? ' failed with the following explanation: " ? ".(SBL-EAI-04308)

    I am installing a new reporting server.
    When running a report I get the above error:
    Operation '<?>' of Web Service '<?>.<?>' at port '<?>' failed with the following explanation: "<?>".(SBL-EAI-04308)
    Any ideas?

    Have a look here for Oracle's guidelines on troubleshooting such errors:
    http://download.oracle.com/docs/cd/E14004_01/books/Reports/ReportsTroubleshoot.html

  • 11gR2 RAC install fail when running root.sh script on second node

    I get the errors:
    ORA-15018: diskgroup cannot be created
    ORA-15072: command requires at least 2 regular failure groups, discovered only 0
    ORA-15080: synchronous I/O operation to a disk failed
    [main] [ 2012-04-10 16:44:12.564 EDT ] [UsmcaLogger.logException:175] oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-15018: diskgroup cannot be created
    ORA-15072: command requires at least 2 regular failure groups, discovered only 0
    ORA-15080: synchronous I/O operation to a disk failed
    I have tried the fix solutions from metalink note, but did not fix issue
    11GR2 GRID INFRASTRUCTURE INSTALLATION FAILS WHEN RUNNING ROOT.SH ON NODE 2 OF RAC USING ASMLIB [ID 1059847.1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi,
    it looks like, that your "shared device" you are using is not really shared.
    The second node does "create an ASM diskgroup" and create OCR and Voting disks. If this indeed would be a shared device, he should have recognized, that your disk is shared.
    So as a result your VMware configuration must be wrong, and the disk you presented as shared disk is not really shared.
    Which VMWare version did you use? It will not work correctly with the workstation or player edition, since shared disks are only really working with the server version.
    If you indeed using the server, could you paste your vm configurations?
    Furthermore I recommend using Virtual Box. There is a nice how-to:
    http://www.oracle-base.com/articles/11g/OracleDB11gR2RACInstallationOnOEL5UsingVirtualBox.php
    Sebastian

  • SSIS package fails in sql server agent wirh 'Process exit code "-532459699" runs fine when run independantly

    I have a SSIS package that fails when running via sql server agent.  I can successfully run it from BIDS.    I have created a proxy account that is in the local server administrators group and is sysadmin.  SQL Server Agent and SQL
    Server Integration Services  are running under the same account,
    following the the error message:
    Error: 2014-02-07 10:29:12.59
       Code: 0xC0029151
       Source: Execute De-linking Execute Process Task
       Description: In Executing "d:\cie\files\working\9426\PowerpointConsole.exe" " 60.ppt" at "d:\cie\files\working\9426", The process exit code was "-532459699" while the expected was "0".
    End Error
    This package ran successfully on a different server running windows 2003 and sql server 2008 r2.  The new environment is windows 7 with sql server 2008 r2.

    Hi Gaileg,
    As Abhinav said, to check whether it is a 32-bit/64-bit issue, please check whether the package runs in 32-bit runtime mode or 64-bit runtime mode in BIDS by checking the Run64bitRuntime property of the project. Then, make sure the package runs in the same
    runtime mode in the SQL Server Agent job by checking or unchecking the “Use 32 bit runtime” option for the Execution options of the job step.
    If it is not the issue, please create another job that uses a CmdExec type job step to call the executable “D:\cie\files\working\9426\PowerpointConsole.exe”. If this job also fails, the issue is actually occurs because of the issue between executable and
    SQL Server Agent rather than the SSIS package itself.
    Regards,
    Mike Yin
    TechNet Community Support

  • HP M8300f fails to start, shuts down when running

    I have to frequently use system restore because it fails to start properly.      When running, it frequently shuts down (blue or black screen).    From what I have learned researching on the net, there is a known issue with the motherboard on this computer.   
    I purchased two HP laptops that have also failed before their time.    Apparently a known issue with overheating.    I wish I had known before I bought them.    They both failed a year ago.     Now the desktop is failing.   
    Thank you, HP, for your not-so fine quality control.     
    I will never again purchase an HP computer or device of any kind.     Ever.      Nor will I recommend them to any of the people in my circle of friends or at the Fortune 100 company where I work.    

    The same problem to me. In just over a year, mine started with these freezing problems. After many tries with customer support, none of which provided me with a clue I gave up.Then I found the motherboard's capacitors were kind of bulged. Bad quality boards I guess.

Maybe you are looking for