Deployment issues with SDO-enabled ADF-BC

Hi,
I've got an application with only a model project, which contains an entity obj, it's default view obj and the application module. The view obj and the application module are SDO-enabled. I've created a deployment profile for the project with Deployment Business Component Interface. Also, I've created an EAR profile at aplication level.
However, on deployment to server, I'm getting the following error from JDeveloper when attempting to deploy to a remote server:
Weblogic Server Exception: weblogic.application.ModuleException:
Caused by: weblogic.common.ResourceException: weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: IO Error: The Network Adapter could not establish the connection
See server logs or server console for more details.
weblogic.application.ModuleException:
#### Deployment incomplete. ####
Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
The DB is fine however, I've run a simple adf application, and it was working fine.
Attempting to deploy the SDO-enabled ADF-BC onto a domain created in my local ssytem resulted in the followinf error:
[04:26:52 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application Model_SDO_BC_Profile1 on AdminServer.: Exception preparing module: EJBModule(SDO_BC_Profile1_MiddleTier.jar)
[EJB:011023]An error occurred while reading the deployment descriptor. The error was:
Error processing annotations: ..
[04:26:52 PM] Weblogic Server Exception: weblogic.application.ModuleException: Exception preparing module: EJBModule(SDO_BC_Profile1_MiddleTier.jar)
[EJB:011023]An error occurred while reading the deployment descriptor. The error was:
Error processing annotations: .
[04:26:52 PM] Caused by: weblogic.utils.ErrorCollectionException:
There are 1 nested errors:
weblogic.j2ee.dd.xml.AnnotationProcessException: [EJB:015001]Unable to link class oracle.model.server.serviceinterface.AppModuleServiceImpl in Jar C:\Oracle\Middleware_353947\user_projects\domains\adf_domain\servers\AdminServer\tmp\_WL_user\Model_SDO_BC_Profile1\xmk9vm\SDO_BC_Profile1_MiddleTier.jar : java.lang.NoClassDefFoundError: oracle/model/common/serviceinterface/AppModuleService
See server logs or server console for more details.
weblogic.application.ModuleException: Exception preparing module: EJBModule(SDO_BC_Profile1_MiddleTier.jar)
[EJB:011023]An error occurred while reading the deployment descriptor. The error was:
Error processing annotations: .
#### Deployment incomplete. ####
Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
Could anyone please help me out?
Thanks,
Sharmistha

Hi Abhijit,
Thanks for reply. The problem is resolved.
Yes, you are right, i had created the datasource in the weblogic server and also mentioned it into this location : application module > configurations > Edit > jdbc Data source
but still it was showing the error . After that i have deployed the same project using different Jdeveloper(11.1.1.3.0)from different machine and it was successfully deployed and i got my desired webservice. I think there may be problem in Jdeveloper(11.1.1.3.0)
Thanks,
Sharmistha

Similar Messages

  • Performance issues with version enable partitioned tables?

    Hi all,
    Are there any known performance issues with version enable partitioned tables?
    I’ve been doing some performance testes with a large version enable partitioned table and it seems that OCB optimiser is choosing very expensive plans during merge operations.
    Tanks in advance,
    Vitor
    Example:
         Object Name     Rows     Bytes     Cost     Object Node     In/Out     PStart     PStop
    UPDATE STATEMENT Optimizer Mode=CHOOSE          1          249                    
    UPDATE     SIG.SIG_QUA_IMG_LT                                   
    NESTED LOOPS SEMI          1     266     249                    
    PARTITION RANGE ALL                                   1     9
    TABLE ACCESS FULL     SIG.SIG_QUA_IMG_LT     1     259     2               1     9
    VIEW     SYS.VW_NSO_1     1     7     247                    
    NESTED LOOPS          1     739     247                    
    NESTED LOOPS          1     677     247                    
    NESTED LOOPS          1     412     246                    
    NESTED LOOPS          1     114     244                    
    INDEX RANGE SCAN     WMSYS.MODIFIED_TABLES_PK     1     62     2                    
    INDEX RANGE SCAN     SIG.QIM_PK     1     52     243                    
    TABLE ACCESS BY GLOBAL INDEX ROWID     SIG.SIG_QUA_IMG_LT     1     298     2               ROWID     ROW L
    INDEX RANGE SCAN     SIG.SIG_QUA_IMG_PKI$     1          1                    
    INDEX RANGE SCAN     WMSYS.WM$NEXTVER_TABLE_NV_INDX     1     265     1                    
    INDEX UNIQUE SCAN     WMSYS.MODIFIED_TABLES_PK     1     62                         
    /* Formatted on 2004/04/19 18:57 (Formatter Plus v4.8.0) */                                        
    UPDATE /*+ USE_NL(Z1) ROWID(Z1) */sig.sig_qua_img_lt z1                                        
    SET z1.nextver =                                        
    SYS.ltutil.subsversion                                        
    (z1.nextver,                                        
    SYS.ltutil.getcontainedverinrange (z1.nextver,                                        
    'SIG.SIG_QUA_IMG',                                        
    'NpCyPCX3dkOAHSuBMjGioQ==',                                        
    4574,                                        
    4575                                        
    4574                                        
    WHERE z1.ROWID IN (
    (SELECT /*+ ORDERED USE_NL(T1) USE_NL(T2) USE_NL(J2) USE_NL(J3)
    INDEX(T1 QIM_PK) INDEX(T2 SIG_QUA_IMG_PKI$)
    INDEX(J2 WM$NEXTVER_TABLE_NV_INDX) INDEX(J3 MODIFIED_TABLES_PK) */
    t2.ROWID
    FROM (SELECT /*+ INDEX(WM$MODIFIED_TABLES MODIFIED_TABLES_PK) */
    UNIQUE VERSION
    FROM wmsys.wm$modified_tables
    WHERE table_name = 'SIG.SIG_QUA_IMG'
    AND workspace = 'NpCyPCX3dkOAHSuBMjGioQ=='
    AND VERSION > 4574
    AND VERSION <= 4575) j1,
    sig.sig_qua_img_lt t1,
    sig.sig_qua_img_lt t2,
    wmsys.wm$nextver_table j2,
    (SELECT /*+ INDEX(WM$MODIFIED_TABLES MODIFIED_TABLES_PK) */
    UNIQUE VERSION
    FROM wmsys.wm$modified_tables
    WHERE table_name = 'SIG.SIG_QUA_IMG'
    AND workspace = 'NpCyPCX3dkOAHSuBMjGioQ=='
    AND VERSION > 4574
    AND VERSION <= 4575) j3
    WHERE t1.VERSION = j1.VERSION
    AND t1.ima_id = t2.ima_id
    AND t1.qim_inf_esq_x_tile = t2.qim_inf_esq_x_tile
    AND t1.qim_inf_esq_y_tile = t2.qim_inf_esq_y_tile
    AND t2.nextver != '-1'
    AND t2.nextver = j2.next_vers
    AND j2.VERSION = j3.VERSION))

    Hello Vitor,
    There are currently no known issues with version enabled tables that are partitioned. The merge operation may need to access all of the partitions of a table depending on the data that needs to be moved/copied from the child to the parent. This is the reason for the 'Partition Range All' step in the plan that you provided. The majority of the remaining steps are due to the hints that have been added, since this plan has provided the best performance for us in the past for this particular statement. If this is not the case for you, and you feel that another plan would yield better performance, then please let me know and I will take a look at it.
    One suggestion would be to make sure that the table was been recently analyzed so that the optimizer has the most current data about the table.
    Performance issues are very hard to fix without a reproducible test case, so it may be advisable to file a TAR if you continue to have significant performance issues with the mergeWorkspace operation.
    Thank You,
    Ben

  • Deployment issue with Planning & EPMA 11.1.2.0

    Hi
    I installed the following applications of Hyperion suite:
    Essbase
    EPMA
    CalcManager
    Planning
    During configuring i configured each product separately since i wanted to configure separate DB for each of them.
    The configuration went with no issues. But now when i log-in into workspace and go to Navigate, i only see administer.
    There is no option for EPMA and Planning applications.
    Did i miss any step?
    I have used IIS as my webserver because Oracle HTTP gave me some error while deploying (unable to initiate OPMN). Is it some issue with IIS
    I ahve installed my applications on Win XP SP3, IIS 5.1 and its a 32bit machine

    Did you reconfigure the web server after you finished configuring all of the products?

  • Deployment issue with EPMA & Planning in 11.1.2

    Hi
    I installed the following applications of Hyperion suite:
    Essbase
    EPMA
    CalcManager
    Planning
    During configuring i configured each product separately since i wanted to configure separate DB for each of them.
    The configuration went with no issues. But now when i log-in into workspace and go to Navigate, i only see administer.
    There is no option for EPMA and Planning applications.
    Did i miss any step?
    I have used IIS as my webserver because Oracle HTTP gave me some error while deploying (unable to initiate OPMN). Is it some issue with IIS
    I have installed my applications on Win XP SP3, IIS 5.1 and its a 32bit machine

    Hi
    Please redeploy only the Web Server under shared service. It has to be redeployed once EPMA and others are configured.
    Thanks
    Rupak
    Mantra to Win | WinMantras.com | http://hyperion.winmantras.com

  • Jdeveloper Deployment issue with OC4J

    I am using JDEVELOPER with Standalone Version of OC4J. I am trying to deploy the application EAR file generated using JDEVELOPER deploymnent wizard in to Standalone instance of OC4J. I am having issue with the Application server connecton wizard.
    I do not know the 'admin' password of the OC4J standalone instance. I am able to start the instance with 'java -jar oc4j.jar'. I am able to access the instacne with
    http://localhost:8888.
    I am having issue with the Application server connecton wizard. It requires 'admin'
    password to create a connection with the app server. The deployment could not succeed without the password.
    I would appreciate feedback and suggestons.
    Thanks.
    Palani

    This will reset the password to welcome for you (I've had this problem too - it happens if OC4J doesn't shutdown properly)
    java -jar oc4j.jar -install
    Enter an admin password to use: welcome
    Confirm admin password: welcome
    Installation done

  • Deployment issue with ADF 11g app.

    Hi,
    I am not able to deploy the ADF 11.1.1.2.0 application on weblogic 10.3.2 (Solaris OS). Initially I got the following exception.
    Caused By: java.lang.ClassNotFoundException: oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener
    I have fixed this by removing the listener from weblogic-application.xml. Now I am getting the below exception.
    Caused By: java.lang.ClassNotFoundException: oracle.mds.lcm.weblogic.WLLifecycleListener.
    Can somebody help me how to resolve this issue.
    Thanks.

    Hi,
    I have fixed the above mentioned issue. Its due to the class path in weblogic server.Deployment is successful and it is showing in Active but when I am trying to launch the page.
    I am getting this error message.
    1266623607244> <BEA-101020> <[ServletContext@13835926[app:ESPSApp module:ESPSApp path:/ESPSApp spec-version:2.5 version:V2.0]] Servlet failed with Exception
    java.security.AccessControlException: access denied (oracle.security.jps.service.policystore.PolicyStoreAccessPermission context=APPLICATION,name=ESPSApp#V2.0 getApplicationPolicy)
    at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
    Can somebody tell me what I suppose to do.
    Thanks.

  • ADF BC 11g, Weblogic 10.3 - Deployment Issue with ADF Security

    Hi all,
    I know there are many many blogs about deployment of an 11g app using ADF Security to a WLS 10.3 server, however, none appear to be working for me.. or I'm not working with them! :P
    I've deployed an .ear file to the WLS 10.3 and this works fine - after following these steps
    http://www.freewebalbum.com/blogs/faces/bjanko/blogs.jsp?blog=bjanko20090127130431
    I then followed Steve's migration technique
    http://www.oracle.com/technology/products/jdev/tips/muench/credmig111100/index.html
    That all built correctly.
    I then tried to access the app via browser, entered in the user cred (created under Security Realms in WLS 10.3 admin console - user and groups).
    I attempted to login, and received an "Error 401--Unauthorized" error.
    I'll that I see in the server log is:
    [JpsWlsFilter.doFilter] setContextID to testApp
    I'm totally stuck, so any ideas would be awesome.
    Cheers,
    chris

    Just gave that a shot.. No dice unfortunately.
    Steve Muench wrote:
    You can omit -DdstApp=DEPLOYAPPNAME if the deployed application name is the same as the source application name you supplied in the -DsrcApp=APPNAME argument.I hate massive code dumping... but this is my jazn-data.xml
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <jazn-data>
       <jazn-realm default="jazn.com">
          <realm>
             <name>jazn.com</name>
             <users>
                <user>
                   <name>system</name>
                   <guid>0300AED0A9A411DD8F304FB2D3E85932</guid>
                   <credentials>{903}G5cbldq4HwMVt/gQpv1lXuNdLYbSu20y</credentials>
                </user>
             </users>
             <roles>
                <role>
                   <name>PlusAdmin</name>
                   <guid>0300AED1A9A411DD8F304FB2D3E85932</guid>
                   <members>
                      <member>
                         <type>user</type>
                         <name>system</name>
                      </member>
                   </members>
                </role>
                <role>
                   <name>PlusUser</name>
                   <guid>0300AED2A9A411DD8F304FB2D3E85932</guid>
                   <members>
                      <member>
                         <type>user</type>
                         <name>system</name>
                      </member>
                   </members>
                </role>
             </roles>
          </realm>
       </jazn-realm>
       <policy-store>
          <applications>
             <application>
                <name>TestApp</name>
                <app-roles>
                   <app-role>
                      <name>PlusAdmin</name>
                      <class>oracle.security.jps.service.policystore.ApplicationRole</class>
                      <members>
                         <member>
                            <class>oracle.security.jps.internal.core.principals.JpsXmlUserImpl</class>
                            <name>system</name>
                         </member>
                      </members>
                   </app-role>
                   <app-role>
                      <name>PlusUser</name>
                      <class>oracle.security.jps.service.policystore.ApplicationRole</class>
                      <members>
                         <member>
                            <class>oracle.security.jps.internal.core.principals.JpsXmlUserImpl</class>
                            <name>system</name>
                         </member>
                      </members>
                   </app-role>
                </app-roles>
                <jazn-policy>
                   <grant>
                      <grantee>
                         <principals>
                            <principal>
                               <class>oracle.security.jps.internal.core.principals.JpsAnonymousRoleImpl</class>
                               <name>anonymous-role</name>
                            </principal>
                         </principals>
                      </grantee>
                      <permissions>
                         <permission>
                            <class>oracle.adf.share.security.authorization.RegionPermission</class>
                            <name>com.delexian.plus.ui.pageDefs.LogonPageDef</name>
                            <actions>view</actions>
                         </permission>
                         <permission>
                            <class>oracle.adf.share.security.authorization.RegionPermission</class>
                            <name>com.delexian.plus.ui.pageDefs.LogonErrorPageDef</name>
                            <actions>view</actions>
                         </permission>
                      </permissions>
                   </grant>
                   <grant>
                      <grantee>
                         <principals>
                            <principal>
                               <class>oracle.security.jps.service.policystore.ApplicationRole</class>
                               <name>PlusAdmin</name>
                            </principal>
                         </principals>
                      </grantee>
                      <permissions>
                         <permission>
                            <class>oracle.adf.share.security.authorization.RegionPermission</class>
                            <name>com.delexian.plus.ui.pageDefs.HomePageDef</name>
                            <actions>customize,edit,grant,personalize,view</actions>
                         </permission>
                      </permissions>
                   </grant>
                   <grant>
                      <grantee>
                         <principals>
                            <principal>
                               <class>oracle.security.jps.service.policystore.ApplicationRole</class>
                               <name>PlusUser</name>
                            </principal>
                         </principals>
                      </grantee>
                      <permissions>
                         <permission>
                            <class>oracle.adf.share.security.authorization.RegionPermission</class>
                            <name>com.delexian.plus.ui.pageDefs.HomePageDef</name>
                            <actions>customize,edit,grant,personalize,view</actions>
                         </permission>
                      </permissions>
                   </grant>
                </jazn-policy>
             </application>
          </applications>
       </policy-store>
       <jazn-policy/>
    </jazn-data>

  • Deployment Issue with Rules file

    Hi,
    We have Rules file issue after the deployment in Development and Re7 environment.
    We have modified/created the rules file and after the deployment if we execute the rules file from the treatment then we got the error message like mentioned below.
    MAXL> Import database PGC_CHE.Pgc_che data from data_file
    "/pgcre701/pgc/subsidiary/che/tfi/pgc_nature_for_data_che.txt" using server rules_file "DO_MX_05" on error
    write to "/pgcre701/pgc/trc/PGC_150310_103739_pgc_nature_for_data_che.err";
       ERROR - 1019006 - Unable to Read
    [/logiciel/epm11/user_projects/epm_inst4/EssbaseServer/app/PGC_CHE/Pgc_che/DO_MX_05.rul], Created Using A
    Previous Version.
       ERROR - 1241101 - Unexpected Essbase error 1019006.
    If the same rules file opened through EAS console from SVN trunk or local and save as this rule file into Essbase server(through EAS console) then the rules file working correctly from the treatment process launch like mentioned below.
    MAXL> Import database PGC_CHE.Pgc_che data from data_file "/pgcre701/pgc/subsidiary/che/tfi/pgc_nature_for_data_che.txt" using server rules_file "DO_MX_05" on error write to "/pgcre701/pgc/trc/PGC_150310_134622_pgc_nature_for_data_che.err";
    OK/INFO - 1019061 - Reading Rule SQL Information For Database [Pgc_che].
    OK/INFO - 1019025 - Reading Rules From Rule Object For Database [Pgc_che].
    OK/INFO - 1003040 - Parallel dataload enabled: [1] block prepare threads, [1] block write threads..
    OK/INFO - 1003037 - Data Load Updated [18800] cells.
    OK/INFO - 1003053 - Data Load Elapsed Time with [DO_MX_05.rul] : [1.16] seconds.
    OK/INFO - 1241113 - Database import completed ['PGC_CHE'.'Pgc_che'].
    Could you please help us on this point ?
    Thanks in advance for your help.
    Essbase server 11.1.2.3.501 server LINUX red hat

    Hi John,
    it's not quite that
    I will provide more detail:
    In fact, we are 3 server Essbase : development, acceptance and operational there are a lot the new version of Essbase 11.1.2.3.501.
    The maxl treatment are launch since a other server : a treatment server that are a client maxl and ESSCMD in the same version.
    Before that, I'm migrate all the application and database from all alder server Essbase to this new architecture Essbase.
    All application and DATABASE (in BSO) was migrated by expot-import process, the all object (csc, rul, rep ...) was transfer by copy in each directories of database.
    The test after migration are very  satisfying.
    Now, we are on process of life on the Essbase server 11.1.2.3.501.
    The back office of India used the usually process to developed the lot.
    They take the source on SVN application (take the rule), deployed the rule on the development server, modify the rule and have this error.
    This error not appear after migration with the same rule ...
    I am skeptical
    Tx to your help on this subject.

  • Cisco security manager deployment issue with invalid command

    Running CSM 3.3.1, to manage an 800 series pre-configured router.
    The router has a number of policy ACL's and class-maps configured. When the config is imported to CSM a number of warnings are seen reporting that some of the interfaces are unprotected by ACL's, which is correct, no serious errors are reported and the device is succesfully imported.
    But, when I look at the configuration within CSM non of the ACL's or the class maps are shown.
    Also, when I configure some feature on the router, during the deployment phase I get an error indicating that there is an invalid protocol under one of the class maps associated with an interface. The protocol in question is bittorrent. This error prevents depolyment of my changes. In fact this causes my client to hang, eventually if I close the application windoes reports that the issue is caused by javaw.exe faiing to respond.
    If I take out the bittorrent protocol under the class map then all seems well.
    So, I though flexconfigs would resolve this, enabling me to import the config with the unsupported command. I created a flexconfig with the class map and the invalid protocol. When I re-imported the device there is still a lot of configuration features that are on the router but are missing in CSM.
    I'm not sure how to resolve this, the router was not configured through CSM in the first place.

    Update to this, the CSM is also altering firewall configurations, if I import a configuration from an ASA running 8.0.4 code, then compare that configuration to that running on the same ASA there are quite a few differencies. Some of these are not items that CSM reports as requiring Flexconfig support, which concerns me.
    This is not the first time I've seen this occur, customer is concerned about the reliability of the way this system handles configurations, and I cannot explain why it exhibits this process.
    Anyone else seen this, and found a work around?

  • Deployment Issues with Custom TS variables set for client

    Good Day folks!
    I have come across an interesting issue that I have not been able to find a quick fix as such I am looking for some ideas where to trouble shoot my issue moving forwards.
    So the Issue:
    I have a TS that deploys a Windows 8.1 SOE image, this is done first by using a PXE boot PE image for an “unknown” systems to load a Custom HTA. This HTA allows me manually add the system to SCCM and add it to a required deployments collection that has the
    8.1 SOE deployed to it.
    The HTA also sets a few custom variables for the system resource things like system location, Machine Domain etc. 
    Once the HTA has run the system then has a delay to allow for the resource to show up tin the 8.1 deployment collection and then closes.
    Now all this appears to work fine, the system is added to the collection, reboots and the deployment runs from start to finish without error.
     I can also check the system resource and the variables are present.
    The problem I have found is that the custom variables for this resource are not being used by the TS after reboot.. upon further investigation I found that these variables are not even being retrieved ( ran a VB script to save all the variables from the
    TS to a txt file to check this )  Because of this the TS is bypassing some needed TS Tasks.
    A few interesting things to note:
    System appears to be added again when AD discovery is run…. So it causes a Duplicate.
    Client Dose connect to SCCM server after deployment but is not receiving deployments ( is getting some policy )
    Worked with SCCM 2012 but not 2012 R2
    So it appears that when the system reboots from the HTA PE step it has identified itself as an unknown system again…. Even though it has been manually added…
     I am interested to know if first of all if others would agree with this and second how SCCM while running a TS matches itself up to a system to retrieve the custom set variables before client install etc... Or a good place to start looking
    to dig up more information!  Or anything else!
    Thanks
    Stuart.

    Have you taken a look at this hotfix?
    http://support.microsoft.com/kb/2907591
    We had to apply it in order for our variables to be seen.
    joeblow

  • Sudden onset issue with eprint & enabling any app or web services

    Hello everyone,
    I have a case in with HP, and have spent 4+ hours on the phone with the eprint support folks and the corporate support folks. Unfortunately they are now gone for the weekend, and I am still stuck here with a nonfunctioning system - and need to leave this weekend on business (need a functioning business printer!)
    I am hoping someone here can help.
    I have a x576dw MFP
    Connected hardwired to a Netgear router
    Worked great with eprint services (configured and printing daily) for 1+ month
    11pm last night I sent several jobs to the printer and noticed today they weren't there. I checked the printers web print server, and found that the IP settings had not changed (of course) from when it worked the day before. The same IP, same DNS, same default gateway etc.
    I ran through all of the scenarios/fixes I could find online, from changing to wireless and testing, changing to wired and testing with DHCP, changing to wired & testing with static but a different IP outside of the DHCP range, changing the router that the printer sits on (I have 3 routers), changing the link config, changing the primary and secondary DNS to only be the two Google addresses (8.8 and 4.4), etc etc etc.
    ePrint ran through (frustratingly) exactly the same steps with me and decided it was a printer issue. They handed me off to the corporate guys who (of course) wanted to do yet exactly those same steps. I did just to get through it.. (note I can print fine on the LAN from all routers), and at the end the support tech told me to try a restore to defaults and start over again.
    Did that (gr) - same error. When I go to even enable eprint or apps it says "Web Services could not be enabled." I get the same error on the web interface for the printer.
    Help! Im at a total loss here and HP wants to blame the eprint team, the eprint team wants to blame corporate solutiosn HP!
    (Other notes.. I did check firmware, it's up to date. I did check web software, also up to date)
    Frustrated tired business chick!
    This question was solved.
    View Solution.

    Hi, Excited that we got it working.
    I'll contact you about getting the failed unit back from you. We are going to have it sent to an R&D Facility.
    HP Product Expert for the Officejet Pro X Series.
    Was your question answered? Mark it as an Accepted Solution!
    See a great post? Give it a Kudos!

  • Deployment Issue with MDM Java API exposed as Webservice using EJBS

    Hi Experts,
    I am implementing MDM Java APIS in Stateless session bean.Exposed that bean as Webservice and using that webservice in
    Webdynpro through Adaptive Webservice Model.
    I am facing following issue:
    Webservice works fine after deployment,after some number of execution webservice stops working and gives exception.After
    Redeployment of the Webservice, it starts working again works fine some number of execution.
    I am Using new MDMJava API.
    MDM Server Details: MDM 5.5 SP06
    I am using following code for connetion
    //////////////*************Getting Connection************///////
              ConnectionPool pool = null;
              String sessionId = null;
              try {
                   pool = ConnectionPoolFactory.getInstance("Server Ip");
              } catch (ConnectionException e1) {
                   System.out.println(e1.getMessage());
    //////////////*************Repository Session************///////
    CreateRepositorySessionCommand repSeession =
                   new CreateRepositorySessionCommand(p_pool);
              repSeession.setRepositoryIdentifier(p_repId);
              try {
                   repSeession.execute();
              } catch (CommandException e2) {
                   System.out.println(e2.getMessage().toString());
              String repIID = repSeession.getRepositorySession();
              //     Authenticate Repository
              AuthenticateRepositorySessionCommand autRepSeesion =
                   new AuthenticateRepositorySessionCommand(p_pool);
              try {
                   autRepSeesion.setSession(repSeession.getRepositorySession());
                   autRepSeesion.setUserName(p_user);
                   autRepSeesion.setUserPassword(p_Password);
                   autRepSeesion.execute();
              } catch (CommandException e3) {
                   System.out.println(
                        "RepSession Seesion" + e3.getMessage().toString());
              return autRepSeesion.getSession();
    //////////////*************user Session************///////
    GetRepositoryRegionListCommand regionListCommand =
                   new GetRepositoryRegionListCommand(p_pool);
              regionListCommand.setRepositoryIdentifier(p_repId);
              try {
                   regionListCommand.execute();
              } catch (CommandException e) {
                   System.out.println(e.getMessage().toString());
              RegionProperties[] regions = regionListCommand.getRegions();
              //                                 create a user session
              CreateUserSessionCommand UsersessionCommand =
                   new CreateUserSessionCommand(p_pool);
              UsersessionCommand.setRepositoryIdentifier(p_repId);
              UsersessionCommand.setDataRegion(regions[0]);
              // use the first region
              try {
                   UsersessionCommand.execute();
              } catch (CommandException e) {
                   System.out.println("UserSession" + e.getMessage().toString());
              String UsersessionId2 = UsersessionCommand.getUserSession();
    AuthenticateUserSessionCommand authUserCommand =
                   new AuthenticateUserSessionCommand(p_pool);
              authUserCommand.setSession(UsersessionCommand.getUserSession());
              authUserCommand.setUserName(p_userId);
              authUserCommand.setUserPassword(p_password);
              try {
                   authUserCommand.execute();
              } catch (CommandException e) {
                   System.out.println("User Seesion" + e.getMessage().toString());
              return authUserCommand.getSession();
    //////////////*************Destroy Session************///////
         DestroySessionCommand destroySessionCommand =
                   new DestroySessionCommand(p_pool);
              destroySessionCommand.setSession(p_repsession);
              try {
                   destroySessionCommand.execute();
              } catch (CommandException e) {
                   e.printStackTrace();
              destroySessionCommand.setSession(p_Uesrsession);
                   try {
                        destroySessionCommand.execute();
                   } catch (CommandException e) {
                        e.printStackTrace();
    Do we need to relase the connection pool object also?
    Can anyone help me with the code how that can be achived?
    Please Reply if anyone has come accross similar issue or know what can be the solution.
    Thanks in Advance.
    Regards Shruti
    Edited by: Shruti Shah on Dec 18, 2008 12:52 PM

    Hi Nitin,
    Thanks for the prompt Response.
    Even I am guessing that its becose of Connection pool.
    I am destroying session as follows
                   DestroySessionCommand destroySessionCommand =
                   new DestroySessionCommand(p_pool);
              destroySessionCommand.setSession(p_repsession);
              try {
                   destroySessionCommand.execute();
              } catch (CommandException e) {
                   e.printStackTrace();
              destroySessionCommand.setSession(p_Uesrsession);
                   try {
                        destroySessionCommand.execute();
                   } catch (CommandException e) {
                        e.printStackTrace();
    But I didnot find any method by which i can close realsse connection from connection pool.
    It would be great if you can help me how close or realese those connection.In MDM Console i am able to see those sessions even after destroying them.
    Regards Shruti.

  • Row locking issue with version enabled tables

    I've been testing the effect of locking in version enabled tables in order to assess workspace manager restrictions when updating records in different workspaces and I have encountered a locking problem where I can't seem to update different records of the same table in different sessions if these same records have been previously updated & committed in another workspace.
    I'm running the tests on 11.2.0.3.  I have ROW_LEVEL_LOCKING set to ON.
    Here's a simple test case (I have many other test cases which fail as well but understanding why this one causes a locking problem will help me understand the results from my other test cases):
    --Change tablespace names as required
    create table t1 (id varchar2(36) not null, name varchar2(50) not null) tablespace XXX;
    alter table t1 add constraint t1_pk primary key (id) using index tablespace XXX;
    exec dbms_wm.gotoworkspace('LIVE');
    insert into t1 values ('1', 'name1');
    insert into t1 values ('2', 'name2');
    insert into t1 values ('3', 'name3');
    commit;
    exec dbms_wm.enableversioning('t1');
    exec dbms_wm.gotoworkspace('LIVE');
    exec dbms_wm.createworkspace('TESTWSM1');
    exec dbms_wm.gotoworkspace('TESTWSM1');
    --update 2 records in a non-LIVE workspace in preparation for updating in different workspaces later
    update t1 set name = name||'changed' where id in ('1', '2');
    commit;
    quit;
    --Now in a separate session (called session 1 for this example) run the following without committing the changes:
    exec dbms_wm.gotoworkspace('LIVE');
    update t1 set name = 'changed' where id = '1';
    --Now in another session (session 2) update a different record from the same table.  The below update will hang waiting on the transaction in session 1 to complete (via commit/rollback):
    exec dbms_wm.gotoworkspace('LIVE');
    update t1 set name = 'changed' where id = '2';
    I'm surprised records of different ids can't be updated in different sessions i.e. why does session 1 lock the update of record 2 which is not being updated anywhere else.  I've tried this using different non-LIVE workspaces with similar results.  I've tried changing table properties e.g. initrans with and still get a lock.  The changes to table properties are successfully propagated to the _LT tables but not all the related workspace manager tables created for table T1 above.  I'm not sure if this is the issue.
    Note an example of the background workspace manager query that may create the lock is something like:
    UPDATE TESTWSM.T1_LT SET LTLOCK = WMSYS.LT_CTX_PKG.CHECKNGETLOCK(:B6 , LTLOCK, NEXTVER, :B3 , 0,'UPDATE', VERSION, DELSTATUS, :B5 ), NEXTVER = WMSYS.LT_CTX_PKG.GETNEXTVER(NEXTVER,:B4 ,VERSION,:B3 ,:B2 ,683) WHERE ROWID = :B1
    Any help with this will be appreciated.  Thanks in advance.

    Hi Ben,
    Thanks for your quick response.
    I've tested your suggestion and it does work with 2 workspaces but the same problem is enountered when additional workspaces are created. 
    It seems if multiple workspaces are used in a multi user environment, locks will be inevitable which will degrade performance especially if a long transaction is used. 
    Deadlocks can also be encountered where eventually one of the sessions is rolled back by the database. 
    Is there a way of avoiding this e.g. by controlling the creation of workspaces and table updates?
    I've updated my test case below to demonstrate the extra workspace locking issue.
    --change tablespace name as required
    create table t1 (id varchar2(36) not null, name varchar2(50) not null) tablespace XXX;
    alter table t1 add constraint t1_pk primary key (id) using index tablespace XXX;
    exec dbms_wm.gotoworkspace('LIVE');
    insert into t1 values ('1', 'name1');
    insert into t1 values ('2', 'name2');
    insert into t1 values ('3', 'name3');
    commit;
    exec dbms_wm.enableversioning('t1');
    exec dbms_wm.gotoworkspace('LIVE');
    exec dbms_wm.createworkspace('TESTWSM1');
    exec dbms_wm.gotoworkspace('TESTWSM1');
    update t1 set name = name||'changed' where id in ('1', '2');
    commit;
    Session 1:
    exec dbms_wm.gotoworkspace('LIVE');
    update t1 set name = 'changed' where id = '1';
    session 2:
    exec dbms_wm.gotoworkspace('LIVE');
    update t1 set name = 'changed' where id = '2';
    --end of original test case, start of additional workspace locking issue:
    Session 1:
    rollback;
    Session 2:
    rollback;
    --update record in both workspaces
    exec dbms_wm.gotoworkspace('LIVE');
    update t1 set name = 'changed' where id = '3';
    commit;
    exec dbms_wm.gotoworkspace('TESTWSM1');
    update t1 set name = 'changed' where id = '3';
    commit;
    Session 1:
    exec dbms_wm.gotoworkspace('LIVE');
    update t1 set name = 'changed' where id = '1';
    session 2:
    exec dbms_wm.gotoworkspace('LIVE');
    update t1 set name = 'changed' where id = '2';
    Session 1:
    rollback;
    Session 2:
    rollback;
    exec dbms_wm.gotoworkspace('LIVE');
    exec dbms_wm.createworkspace('TESTWSM2');
    exec dbms_wm.gotoworkspace('TESTWSM2');
    update t1 set name = name||'changed2' where id in ('1', '2');
    commit;
    Session 1:
    exec dbms_wm.gotoworkspace('LIVE');
    update t1 set name = 'changed' where id = '1';
    --this now gets locked out by session 1
    session 2:
    exec dbms_wm.gotoworkspace('LIVE');
    update t1 set name = 'changed' where id = '2';
    Session 1:
    rollback;
    Session 2:
    rollback;
    --update record 3 in TESTWSM2
    exec dbms_wm.gotoworkspace('TESTWSM2');
    update t1 set name = 'changed' where id = '3';
    commit;
    Session 1:
    exec dbms_wm.gotoworkspace('LIVE');
    update t1 set name = 'changed' where id = '1';
    --this is still locked out by session 1
    session 2:
    exec dbms_wm.gotoworkspace('LIVE');
    update t1 set name = 'changed' where id = '2';
    Session 1:
    rollback;
    Session 2:
    rollback;
    --try updating LIVE
    exec dbms_wm.gotoworkspace('LIVE');
    update t1 set name = 'changed' where id = '3';
    commit;
    Session 1:
    exec dbms_wm.gotoworkspace('LIVE');
    update t1 set name = 'changed' where id = '1';
    --this is still locked out by session 1
    session 2:
    exec dbms_wm.gotoworkspace('LIVE');
    update t1 set name = 'changed' where id = '2';
    Session 1:
    rollback;
    Session 2:
    rollback;
    --try updating TESTWSM1 workspace too - so all have been updated since TESTWSM2 was created
    exec dbms_wm.gotoworkspace('TESTWSM1');
    update t1 set name = 'changed' where id = '3';
    commit;
    Session 1:
    exec dbms_wm.gotoworkspace('LIVE');
    update t1 set name = 'changed' where id = '1';
    --this is still locked out by session 1
    session 2:
    exec dbms_wm.gotoworkspace('LIVE');
    update t1 set name = 'changed' where id = '2';
    Session 1:
    rollback;
    Session 2:
    rollback;
    --try updating every workspace afresh
    exec dbms_wm.gotoworkspace('LIVE');
    update t1 set name = 'changedA' where id = '3';
    commit;
    exec dbms_wm.gotoworkspace('TESTWSM1');
    update t1 set name = 'changedB' where id = '3';
    commit;
    exec dbms_wm.gotoworkspace('TESTWSM2');
    update t1 set name = 'changedC' where id = '3';
    commit;
    Session 1:
    exec dbms_wm.gotoworkspace('LIVE');
    update t1 set name = 'changed' where id = '1';
    --this is still locked out by session 1
    session 2:
    exec dbms_wm.gotoworkspace('LIVE');
    update t1 set name = 'changed' where id = '2';
    Session 1:
    rollback;
    Session 2:
    rollback;

  • Deployment issue with SOA - OSB 11g  environment

    Hi,
    We have Dev Environment configured with SOA 11g (11.1.1.4) and OSB 11g (11.1.1.4) on a single weblogic domain. Developed SOA composite app and deployed to the SOA Server. We are exposing our SOA Composite thru OSB ( created osb proxy and business services and accessed soa composite from the client. It s working fine ) layer for the client to access it. The issue here is while deploying it to the production environment (configured OSB and SOA in two separate WL domain) located offshore.
    What i saw from the soa doc is that we need to deploy SOA composite to the SOA Server and OSB Configuration to the OSB Server.
    but the offshore person is asking us to deploy both SOA composite & osb to the same OSB Server as an .ear file.
    Is it possible to deploy both SOA composite & osb to the same osb server ? is there any document on project that involve both soa and osb.
    please guide me how to do the deployment
    I appreciate all your help.
    thanks
    sumesh.j

    I am wondering if could able to solve the problem of deploying both SOA composite & osb to the same osb server. Even I am facing the same problem....
    If you could able to solve the problem then please let us know the steps that you have followed to solve the same.

  • Urgent JMS issue with SSL-enabled cluster

    Hello, dear All!
    We have deployed a SAP WebAS SP13 SSL-enabled cluster (2 servers) and face the following strange behaviour:
    When both servers are running our queue-based message driven beans (MDB EJBs) never get any messages.
    However, JMS topic subscriber threads (not implemented as MDBs) work fine on both servers and receive JMS broadcasts. As well web-initiated JMS queue browsing works fine.
    Then if only one (central) server is up, queue-based MDBs work fine and start receiving messages...
    If you know or guess what might be an issue it would be greatly appreciated!
    Thank you and best regards,
    -Yuri

    Hi!
    Yes, I solved this problem. You have to set your certificate to the LDAP server and get SSL enabled. You should also add same certificate to your jdk's cacerts file. That should help. :)
    Janne

Maybe you are looking for

  • How can I prevent iPhoto from launching when I insert an SD card

    I recently upgraded to a new iMac retina and am having trouble disabling iPhoto from launching when an SD card is inserted. I have gone to iPhoto setting and disabled iPhoto from launching when a camera is connected. I have also gone into image captu

  • Is there a Version 4 soon or is it OK to buy now?

    I want to buy the unlimited version and am not familiar with the upgrade history. I see in the past you have to pay full price for next version even if you buy within the same month Thanks

  • Cost of +

    how much per minute does it cost to ring +353 ......... the uk number, for creative support? how long will it take to organise a repair over the phone?

  • Compile pll (ONLY not generate the plx )in unix

    hi all, i want to just compile my pll and save it , but don't generate the .plx i use f90genm.sh module=x.pll userid=user/pass@db module_type=library compile_all=yes batch=yes logon=yes build=no output_file=x.pll and this produces x.plx , i want x.pl

  • Awesome's future?

    Hi, I hopped distros until I found Arch and since then I've been hopping DE/WMs until I tried Awesome the other day. Although it may be a little premature to say I've settled, I really like it. One reason I hadn't tried it sooner was because it wasn'