UML modeling for class diagrams, could not generate code for modified diagr

Hi,
I'm using Java studio Enterprise for creating class diagrams and generating code from the UML using round trip engineering. I'm able to create class diagrams and generate code from the diagram. I tried modifying java code for classes and saved it. Now if I try and modify the diagram its not updating the java code associated with it.
Please suggest the workaround or so.
Thanks
Sunita

Maybe the linkage between the source and model class element is broken. Try to expand the class element from the project tree to see if a source file artifact node (under the class that displays the pathname as the name of the node). If not, that's why. Then, the workaround is to manually add the pathname to the java source file. Here are the steps:
- expand the class in question
- select the source file artifact node
- from the properties window on the right side of the ide, enter the exact pathname to the java source file and press the Enter
It should work now.

Similar Messages

  • LabVIEW could not generate code for the shared variable.You must open the VI in the project that contains the library where the shared variable resides

    HI
    When I put a network shared variable with fifo RT activated on my diagram, the arrow is broken.and I' ve got this message:
    ""LabVIEW could not generate code for the shared variable.You must open the VI in the project that contains the library where the shared variable resides""
    If I uncheck FIFO RT option for this variable the arrow isn't broken anymore.
    I 've no idea how to correct this weird error?
    Autodeploy is on, and I've check copy / delete in diagram in tool/options\diagram
    regards,
    james

    Hello,
    I don't reproduce this error.
    Could you send your VI?
    Regards
    VéroniqueD
    NI France

  • AU133 - Expense Account for Ord Depreciation could not be found for Area 58

    Hi
    I am working on ECC 6.0 Version. While running Depreciation AFAB in one our company codes, I am facing the Error No. AU133, Expense Account for Ord Depreciation could not be found for Area 58.
    Whereas there is no this error for our Book Depreciation Area 01.
    I have checked all the Accounting Assignments settings in AO90 and AO93. They are correctly maintained. I have no clues how to go about it.
    I have also checked whether the Depreciation and Acc. Dep GLs are maintained as recon account. But they are correct only.
    Please suggest any solution as we have to close the period.
    Gemini

    Same problem after upgrade from 4.6c.
    The solution was to create the depreciation accounts in the company code - kind of strange, since all depreciation postings must be made as cross-company postings to a cc that (obviously) has the account and since it worked in the old "RABUCH"- version. It seems to be ok to just create the accounts and then block them for posting (to avoid posting to them by mistake).

  • INSERT for 1 PHONES could not be processed for BAT

    Hi All,
    I am trying to upload the file .csv to CUCM for configuring phones in a bulk but ending with a error as "INSERT for 1 PHONES could not be processed'.
    Could some one guide me how will be the csv file format for inserting phones in CUCM without using the .xlt file
    Thanks in advance!!
    Regards,
    Saif

    Hi,
    Traditionally I have used a phone template and phone format along with the CSV most new deployments have single model phones or minimal meeting room phones so easier to configure manually. But this should get you started.
    Go to Bulk Admin -> Phone File Format -> Create File Format
    Add a new file format based upon add the fields you want to populate, make sure the maximum number of lines is at least one,  save it
    Some Example Fields: DEVICE NAME,DESCRIPTION,DEVICE POOL,LOCATION,OWNER USER ID,DIRECTORY NUMBER 1,ASCII ALERTING NAME 1,ASCII DISPLAY 1,ASCII LINE TEXT LABEL 1,ALERTING NAME 1,DISPLAY 1,LINE TEXT LABEL 1
    Go to Bulk Admin -> Phone File Format -> Add File Format
    Drop Down Box Format File Name select the file format you just created, then click the hyper link View File Format to the right, there will then be a pop up which will have all the headings.
    Copy and paste this into a notepad, save as CSV then open in excel add users as needed
    Re-import CSV to UCM and add the file format to the CSV
    Import the phones against the phone button template.
    There are other items you would want to do now is owner ID, assign to user for CTI control, etc with other BAT utilities.
    Hope this helps

  • Could not create JCOClientConnection for logical System: WD_MODELDATA_DEST

    Hi ,
    I am getting the below error:
    Could not create JCOClientConnection for logical System: WD_MODELDATA_DEST - Model: class com.eligibilitymodel1.EligibilityModel1. The SSO ticket needed for authentication to WD_MODELDATA_DEST has expired. Close all applications and logon anew!
    Regards
    Anumit

    Anumit,
    when will you get this error?
    if you are getting this while using adaptive rfc model follow this link Could not create JCOClientConnection for logical System:
    if it doesnot work
    try to reimport the certificate or restart the server
    Thanks
    Bala Duvvuri

  • Account 'Acc.dep. accnt.for ordinary depreciation' could not be found

    Dear Team
    I am carrying out asset configuration for a company code ( Chart of depreciation  ABJP - Japan  )
    For dep area 01 - GL posting set as 1  Area Posts in Realtime
    other dep area GL posint indicator set as 3 - Area Posts Depreciation Only
    in Tcode : AO90 , i configured GL mapping only to dep area 01. Not to other dep area.
    When i run depreciation AFAB , system gives me error as  "  Account 'Acc.dep. accnt.for ordinary depreciation' could not be found for area 10 "
    I am sure that  this error because of missing account determination at Tcode AO90  , but i wonder because just i copied parent company code chart of depreciation ( ABUS- US ) settings to this ABCD - Japan , where in no GL mapping done for chart of depreciation level of ABUS .
    No error depreication run at AFAB to company code of US. System posting Dep entries only to 01 dep area in case of ABUS
    But in my com code system tells GL could not be found at dep area 10
    I dont know what is missing at my company code  / chart of depreciation
    Thanks in advance for your clarification
    Regards
    ILAN

    Hi,
    change the Posting Indicator to 0 for the other Dep. area and also check all the configurations of your company code and your parent company code.
    Thanks
    Goutam

  • 'Acc.dep. accnt.for ordinary depreciation' could not found for are 15

    Hi Sap Gurus,
    I am trying to Run Depreciation for the month of March 2010 with group asset.
    I have created group asset and normal asset and in the normal asset, i have maintained group asset and for both assets i maintained values in AS92&as82.
    But when i am running depreciation, i am getting the below Error.
    Account 'Acc.dep. accnt.for ordinary depreciation' could not be found for area 15
    Message no. AU133
    Diagnosis
    When creating the accounting document, the system could not find account 'Acc.dep. accnt.for ordinary depreciation' in depreciation area 15 for company code GO01.
    Procedure
    Enter this account in the account determination for Asset Accounting.
    Please tell me how resolve the above Issue.
    Thanks&Regards,
    Dude

    Hi,
    could you please check if the following threat is helpful:
    Error AU133 Account 'Contra account: Acquisition value' could not be found
    regards Bernhard

  • Could not generate Codec class

    I am new to webservices.
    My build file looks as follows:
    <project name="buildWebservice" default="ear" basedir="..">
    <target name="ear">
    <servicegen
    destEar="${staging.application.dir}/${project.name}.ear"
    contextURI="IEC"
    warName="${project.name}.war">
    <classpath>
    <pathelement path="${staging.application.dir}/${project.name}.jar"/>
    <fileset dir="${lib.dir}">
    <include name="**/*.jar"/>
    <include name="**/*.zip"/>
    </fileset>
    <pathelement path="${weblogic.jar}"/>
    </classpath>
    <service
    ejbJar="${staging.application.dir}/ejb_${project.name}.jar"
    targetNamespace="http://www.bridgebuild.com/webservices/basic/statelesSession"
    serviceName="Controller"
    serviceURI="/Controller"
    generateTypes="True"
    expandMethods="True"
    style="rpc" >
    </service>
    </servicegen>
    </target>
    </project>
    I could not generate the ControllerCode class. I mean Seralizer and Deserializer
    factory.
    I keep getting following error:
    WARNINIG: Unable to find a javaType for the xmlType:['http://www.bridgebuild.com/webservices/basic/statelesSession']:Controller.
    Make sure that you have registered this xml type in the type mapping
    Using SOAPElement instead
    WARNINIG: Unable to find a javaType for the xmlType:['http://www.bridgebuild.com/webservices/basic/statelesSession']:Controller.
    Make sure that you have registered this xml type in the type mapping
    Using SOAPElement instead
    javax.xml.rpc.JAXRPCException: failed to invoke operation. Error in the soap layer
    (jaxm); nested exception is: Message[ failed to serialize xml:weblogic.xml.schema.binding.SerializationException:
    mapping lookup failure. class=interface javax.xml.soap.SOAPElement class context=TypedClassContext{schemaType=['http://www.brdigebuild.com/webservices/basic/statelesSession']:Controller}]StackTrace[
    javax.xml.soap.SOAPException: failed to serialize xml:weblogic.xml.schema.binding.SerializationException:
    mapping lookup failure. class=interface javax.xml.soap.SOAPElement class context=TypedClassContext{schemaType=['http://www.bridgebuild.com/webservices/basic/statelesSession']:Controller}
    Any help will be appreciated.
    Thanks
    ---Radhe

    Hi
    Looks like you are using a Dynamic client to invike the service. You have to
    register the codecs in the TypeMappingRegistry.
    Look at the example at http://manojc.com sample25
    Ajay
    "Radhe" <[email protected]> wrote in message
    news:[email protected]...
    >
    I am new to webservices.
    My build file looks as follows:
    <project name="buildWebservice" default="ear" basedir="..">
    <target name="ear">
    <servicegen
    destEar="${staging.application.dir}/${project.name}.ear"
    contextURI="IEC"
    warName="${project.name}.war">
    <classpath>
    <pathelementpath="${staging.application.dir}/${project.name}.jar"/>
    <fileset dir="${lib.dir}">
    <include name="**/*.jar"/>
    <include name="**/*.zip"/>
    </fileset>
    <pathelement path="${weblogic.jar}"/>
    </classpath>
    <service
    ejbJar="${staging.application.dir}/ejb_${project.name}.jar"
    targetNamespace="http://www.bridgebuild.com/webservices/basic/statelesSessio
    n"
    serviceName="Controller"
    serviceURI="/Controller"
    generateTypes="True"
    expandMethods="True"
    style="rpc" >
    </service>
    </servicegen>
    </target>
    </project>
    I could not generate the ControllerCode class. I mean Seralizer andDeserializer
    factory.
    I keep getting following error:
    WARNINIG: Unable to find a javaType for thexmlType:['http://www.bridgebuild.com/webservices/basic/statelesSession']:Con
    troller.
    Make sure that you have registered this xml type in the type mapping
    Using SOAPElement instead
    WARNINIG: Unable to find a javaType for thexmlType:['http://www.bridgebuild.com/webservices/basic/statelesSession']:Con
    troller.
    Make sure that you have registered this xml type in the type mapping
    Using SOAPElement instead
    javax.xml.rpc.JAXRPCException: failed to invoke operation. Error in thesoap layer
    (jaxm); nested exception is: Message[ failed to serializexml:weblogic.xml.schema.binding.SerializationException:
    mapping lookup failure. class=interface javax.xml.soap.SOAPElement classcontext=TypedClassContext{schemaType=['http://www.brdigebuild.com/webservice
    s/basic/statelesSession']:Controller}]StackTrace[
    >
    javax.xml.soap.SOAPException: failed to serializexml:weblogic.xml.schema.binding.SerializationException:
    mapping lookup failure. class=interface javax.xml.soap.SOAPElement classcontext=TypedClassContext{schemaType=['http://www.bridgebuild.com/webservice
    s/basic/statelesSession']:Controller}
    >
    >
    Any help will be appreciated.
    Thanks
    ---Radhe

  • OpenJPA - ArgumentException: Could not locate metadata for the class usi...

    I'm getting the following exception when executing logic/queries around JPA entity classes:
    {color:#333399}nested exception is: &lt;1.0.0 fatal user error&gt; org.apache.openjpa.persistence.ArgumentException: Could not locate metadata for the class using alias "MyClass". This could mean that the OpenJPA enhancer or load-time weaver was not run on the type whose alias is "MyClass". Registered alias mappings: "{MyClass=null}"{color}
    I get this exception on occassion. It is intermitent and i can't seem to reproduce it consistently.
    I'm using the following:
    WebLogic: 10
    KODO: 4.1.3.1 bundled with WL10 which in turn uses OpenJPA 1.0.0
    In other forums on the net they have suggested explicitly adding the classes to the persistence.xml file ( i've done this )
    They have also stated to run the openjpa enhancer on the code before deployment to WL ( done this too!)
    One last step that i have yet to attempt is to load the class within the code before use ( haven't tried this as it seems so hackish)
    Any other thoughts? ANyone else experience this?
    Thanks

    We are having the same issue.. Anybody knows how to deal with this problem?

  • Posting rule for assembly order for item 000000 could not be generated

    Hi all,
        While creating production order from sales order system giving an error message 'Posting rule for assembly order for item 000000 could not be generated.'
        Kindly help to resolve the issue.
    SmanS

    Dear SAP PP Consultant ,
    What is the strategy group you are maintained in the material master ?

  • Could not generate stub objects for web service invocation in ColdFusion

    I was able to call the services on the development box - windows server without any problem at all, everything was working fine but the moment i uploaded to a linux box production server I get this error. "Could not generate stub objects for web service invocation in ColdFusion"
    What could be the cause of this problem, i have googled a lot but no solution yet any ideas.

    Let me make it simple:
    1. Server A is our development server.- hosted inhouse with coldfusion installed.
    2. Server B is our production server - a linux server with coldfusion installed hosted on the internet
    3. Server C is a third party server containing the webservice - this is a windows server with .net
    coldfusion is installed on Server A, the code works here and can connect to server C without any problem. It gets the required respone
    but when the code was uploaded to server c it gives the error when we run it.
    now i tried just a simple code which works fine on server A below:
    <cfinvoke webservice="http://www.webservicex.net/CurrencyConvertor.asmx?WSDL" method="ConversionRate" returnvariable="ConversionRateResult">
        <cfinvokeargument name="FromCurrency" value="EUR" />
        <cfinvokeargument name="ToCurrency" value="USD" />
    </cfinvoke>
    <cfdump var="#ConversionRateResult#" />
    But when i uploaded it to server C: it returns the error
    Cannot generate stub objects for web service invocation.
    Name: http://www.webservicex.net/CurrencyConvertor.asmx?WSDL. WSDL: http://www.webservicex.net/CurrencyConvertor.asmx?WSDL. java.io.FileNotFoundException: /opt/coldfusion8/stubs/WS728929035/NET/webserviceX/www/Currency.java (No such file or directory) It is recommended that you use a web browser to retrieve and examine the requested WSDL document to ensure it is correct. If the requested WSDL document cannot be retrieved or is dynamically generated, it is likely that the target web service has programming errors.
    The error occurred in /home/works/public_html/currency.cfm: line 7
    5 :     <cfinvokeargument name="FromCurrency" value="EUR" />
    6 :
    7 :     <cfinvokeargument name="ToCurrency" value="USD" />
    8 :
    9 : </cfinvoke>
    Now if you try the preceeding code on a windows environment  it works fine but the moment you put in the in the linux environment it generates this error
    I feel that the error may actually be :
    java.io.FileNotFoundException: /opt/coldfusion8/stubs/WS728929035/NET/webserviceX/www/Currency.java (No such file or directory)
    but i am clueless as to what to do next
    Ok so I tried the wget command on the linux
    this is what i got
    -bash-3.2# wget http://www.webservicesx.net/CurrencyConvertor.asmx?WDSL
    --2011-07-02 23:23:42--  http://www.webservicesx.net/CurrencyConvertor.asmx?WDSL
    Resolving www.webservicesx.net... 216.8.179.25
    Connecting to www.webservicesx.net|216.8.179.25|:80... connected.
    HTTP request sent, awaiting response... 403 Forbidden
    2011-07-02 23:23:43 ERROR 403: Forbidden.

  • Could not create JCOClientConnection for logical System:

    Hi,
    I am facing a wierd problem in using the JCO destinations.
    I created a page where it is using some JCO destinations say SAP_R3_HumanResources.
    when i open the page it is working for the first time .without closing the page if i open the same page again it is giving the following error
    Error connecting using JCO.Client: null
    Error connecting using JCO.Client: null
    Pernr:Could not create JCOClientConnection for logical System: SAP_R3_HumanResources - Model: class com.swissre.CustomData. Please assure that you have configured the RFC connections and/or logical system name properly for this model!
    Please let me know how to solve this issue
    Thanks
    Bala Duvvuri

    Hi Bala,
    It seems that this is a custom webdynpro application which when executed causes such problem.  This might be due to JCO connection not released back to the pool.
    Please refer to the following threads and that might be helpful. 
    Re: JCO Connection close
    How to close a model object connection for Adaptive RFC?
    You might have to call disconnectIfAlive method on your model.
    Regards,
    Jigar

  • Could not create JCOClientConnection for logical System: MUSA_MODEL_DATA

    Hi,
    I am facing a big problem...I have created WebDynpro Application & when I am running that application from WebDynpro, it's showing the page but giving me the error message as:-
    Could not create JCOClientConnection for logical System: MUSA_MODEL_DATA - Model: class com.bcone.bcool.musa.model.MUSABAPI. Please assure that you have configured the RFC connections and/or logical system name properly for this model!
    What do I do? what connections I have to check?
    pls help.

    Hey if you are connecting to SAP system making use of adaptive RFC model you hav to create logical systems(JCOs).So while creating the model you have to specify 2 logical system names(one for model data or on for the meta data).If you have not created the JCOs or if the JCOs are not active  then you are going to get this type of error.To activate those JCOs ask your administrator to activate the JCO for metadata of your application.If you are having proper credentials then log on to portal
    System administration>webdynpro>expand the local directory>select your project>click on maintain JCOs and activate the JCO for the metadata.
    Or else change the logical system in your application.

  • Could not create JCOClientConnection for logical System: SAP_R3_HumanResour

    Hi,
    For all the standard ESS (sap.com) the JCo connection used is SAP_R3_HumanResources .
    All the applications are working fine.
    I am trying to add a test Component in one of the (sap.com~eepro) for testing a standard BAPI call for getting user details.
    I have used the same Model and the same SAP_R3_HumanResources destination name.
    But i get the following error when i try to execute the standard BAPI_USER_GETDetails (non - HR).The other applications for standard components (Vc ) work when i run the application.
    My question here is why a custom , local webdynpro when try to make a RFC call using the running already existing JCO connection throws such error.
    How could this be solved.Note the connection is running and working fine for all the ESS webdynpros!!
    Error:
    Could not create JCOClientConnection for logical System: SAP_R3_HumanResources - Model: class com.test.hr.model.Test. Please assure that you have configured the RFC connections and/or logical system name properly for this model!
    Your experience would be worthy enough.
    Regards,
    Swathi

    Hi Swathi,
    Here are some suggestions to trace down to the actual problem.
    1) First check if all users are having this issue. (All other applications working and only one application giving problem)
    2) If no, then take list of users having this problem and check their portal and SAP accounts
    3) If yes, then concentrate on testing the JCo connections and the user account mapped in JCo settings
    Possible things u can check is user's portal account (locked or not), SAP account (lock or validity), pernr mapped (validity), JCo user (check for lock), ping and test JCo connections
    If none of them are issue, check the logs if there are any trace for this issue. I believe there must be certainly one. That can help u going further.
    Regards,
    Harini S

  • Could not deploy policy for resource: type= url , application=MySecurex,

    Hi
    My situation :
    I have 2 managed weblogic portal 10.3.0 managed servers in a cluster and 1 admin server. All are running as a service.
    Deployments of new versions of applications are submitted by an automated script.
    The steps in the script are :
    - stop the services of the managed servers
    - undeploy the previous version by using ant task
    <target name="undeploy_old" description="undeploy old application" depends="downloadFiles">
                   <java classname="weblogic.Deployer" output="./temp/${buildProject}_${deployEnv}/${buildVersion}/undeploy.txt" fork="yes">
                        <arg value="-adminurl" /> <arg value="${adminurl}" />
                        <arg value="-username" /> <arg value="${weblogic_user}" />
                        <arg value="-password" /> <arg value="${weblogic_pwd}" />
                        <arg value="-undeploy" />
                        <arg value="-name" />
                        <arg value="${buildProject}" />
                        <arg value="-verbose" />
                        <classpath refid="project.class.path"/>
                   </java>     - deploy the new version by using ant task
         <java classname="weblogic.Deployer"
                   output="./temp/${buildProject}_${deployEnv}/${buildVersion}/deploy.txt"
                   fork="yes"
                   maxmemory="512m"
                   inputstring="" >
             <arg value="-adminurl" /> <arg value="${adminurl}" />
             <arg value="-username" /> <arg value="${weblogic_user}" />
             <arg value="-password" /> <arg value="${weblogic_pwd}" />
             <arg value="-stage" />
             <arg value="-verbose" />
              <arg value="-upload" />
             <arg value="-deploy" />
             <arg value="-name" /> <arg value="${buildProject}" />
             <arg value="-source" /> <arg value="./temp/${buildProject}_${deployEnv}/${buildVersion}/${buildProject}.ear" />
             <arg value="-targets" /> <arg value="${deploytargetinstances}" />
              <classpath refid="project.class.path"/>
         </java>- start the services of the managed servers
    Problem:
    When the managed servers are restarting and the new version is going to prepared status, an error occurs for the new version of the application :
    ####<27-dec-2011 13.42 u. CET> <Info> <Deployer> <S40BEAPORTACC1> <s40beaportacc1p9106> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1324989758076> <BEA-149059> <Module MySecurexEarAdmin of application MySecurex is transitioning from STATE_NEW to STATE_PREPARED on server s40beaportacc1p9106.>
    ####<27-dec-2011 13.42 u. CET> <Error> <Security> <S40BEAPORTACC1> <s40beaportacc1p9106> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1324989758779> <BEA-090064> <The DeployableAuthorizer "myrealm_weblogic.security.providers.xacml.authorization.XACMLAuthorizationProviderImpl" returned an error: weblogic.security.spi.ResourceCreationException: [Security:090310]Failed to create resource.>
    ####<27-dec-2011 13.42 u. CET> <Error> <HTTP> <S40BEAPORTACC1> <s40beaportacc1p9106> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1324989758779> <BEA-101199> <Could not deploy policy for resource: type=<url>, application=MySecurex, contextPath=/MySecurexEarAdmin, uri=/campaigns/emails/*.
    weblogic.security.service.ResourceCreationException: weblogic.security.spi.ResourceCreationException: [Security:090310]Failed to create resource
         at com.bea.common.security.internal.service.PolicyDeploymentServiceImpl$DeploymentHandlerImpl.deployPolicy(PolicyDeploymentServiceImpl.java:173)
         at weblogic.security.service.WLSPolicyDeploymentServiceWrapper$DeploymentHandlerImpl.deployPolicy(Unknown Source)
         at weblogic.security.service.AuthorizationManager$HandlerAdaptor.deployPolicy(Unknown Source)
         at weblogic.security.service.AuthorizationManager.deployPolicy(Unknown Source)
         at weblogic.servlet.security.internal.ResourceConstraint.deploy(ResourceConstraint.java:108)
         at weblogic.servlet.security.internal.WebAppSecurityWLS.deployPolicies(WebAppSecurityWLS.java:253)
         at weblogic.servlet.security.internal.WebAppSecurity.registerSecurityConstraints(WebAppSecurity.java:140)
         at weblogic.servlet.internal.WebAppServletContext.prepareFromDescriptors(WebAppServletContext.java:1189)
         at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1121)
         at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:449)
         at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:424)
         at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:910)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:364)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:42)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:16)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:155)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:141)
         at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:39)
         at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:187)
         at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
         at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
         at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
         at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
         at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    weblogic.security.spi.ResourceCreationException: [Security:090310]Failed to create resource
         at weblogic.security.providers.xacml.DeployableAuthorizationProviderV2Helper.deployPolicy(DeployableAuthorizationProviderV2Helper.java:119)
         at weblogic.security.providers.xacml.DeployableAuthorizationProviderV2Helper.deployPolicy(DeployableAuthorizationProviderV2Helper.java:162)
         at weblogic.security.providers.xacml.authorization.XACMLAuthorizationProviderImpl.deployPolicy(XACMLAuthorizationProviderImpl.java:281)
    weblogic.management.utils.CreateException:
         at com.bea.security.providers.xacml.entitlement.PolicyManager.setPolicy(PolicyManager.java:241)
         at com.bea.security.providers.xacml.entitlement.PolicyManager.setPolicy(PolicyManager.java:165)
         at weblogic.security.providers.xacml.DeployableAuthorizationProviderV2Helper.deployPolicy(DeployableAuthorizationProviderV2Helper.java:112)
    com.bea.security.xacml.PolicyStoreException: <openjpa-1.1.0-r422266:657916 fatal store error> kodo.jdo.FatalDataStoreException: The transaction has been rolled back.  See the nested exceptions for details on the errors that occurred.
         at com.bea.security.providers.xacml.store.BasePolicyStore.setPolicy(BasePolicyStore.java:684)
         at com.bea.security.providers.xacml.store.BasePolicyStore.setPolicy(BasePolicyStore.java:576)
         at com.bea.security.providers.xacml.entitlement.PolicyManager.setPolicy(PolicyManager.java:222)
         at com.bea.security.providers.xacml.entitlement.PolicyManager.setPolicy(PolicyManager.java:165)
    <openjpa-1.1.0-r422266:657916 nonfatal store error> kodo.jdo.ObjectNotFoundException: The instance "netscape.ldap.LDAPException: error result (32)" does not exist in the data store.
    FailedObject: netscape.ldap.LDAPException: error result (32)
         at com.bea.common.ldap.LDAPStoreManager.flush(LDAPStoreManager.java:370)
         at org.apache.openjpa.abstractstore.AbstractStoreManager.flush(AbstractStoreManager.java:277)
         at org.apache.openjpa.kernel.DelegatingStoreManager.flush(DelegatingStoreManager.java:130)
         at org.apache.openjpa.datacache.DataCacheStoreManager.flush(DataCacheStoreManager.java:554)
         at org.apache.openjpa.kernel.DelegatingStoreManager.flush(DelegatingStoreManager.java:130)
         at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:2007)
    ....>
    My workaround:
    Delete the <domain>\servers\s40beaportacc1p9106\data\ldap directory on the managed servers and restart
    Does anyone knows what causes the error and how to solve it?
    The goal is to be able to deploy our application by automation.

    You must use not the original bean that you coded. You must use the bean generated by axis-wsdl2java.
    The bean generated by axis-wsdl2java is:
    - in the first beanMapping: MSPCSService.SMSMO
    - in the second beanMapping: MSPCSService.SMSMOResponse
    As you can see, the bean the axis-wsdl2java will generate is build with the namespace + "." + qname. If you use an domain like java.sun.com in namespace, then the package name you will use is inverted (in the sample, com.sun.java). Look at the code generated.
    You client must use this beans, not the original coded by you.
    This must work, worked for me :)

Maybe you are looking for