Help with an Oracle aplication

Hello everyone,
It is the first time when I go deep into Oracle, and I'm sorry if I didn't post this message at the correct section.
This is my problem: a friend of mine reinstalled his operating system, copied everything from desktop(short-cuts and other stuff) to another folder and installed Windows. Suddenly, he remembered that he had an application ( which he told me was created in Oracle) and now he needs it. He showed me that the shortcut to that application made reference to a .FMX file. All he could told me was that he had something "like 8i"..and I believe it is about Oracle 8i. Please, give me and my friend a hand..how can we reopen this application?
Thank you very much.

Hi. This probably isn't the best place for your query, but I will attempt to help some. An .fmx file is a compiled Oracle form, not APEX. To run a form, you need an Oracle application server (forms server) installed somewhere.... somewhere that has a forms configuration file that points to the first form, and a corresponding entry (ie: config=PROD and the form form.fmx
HTH some. I am rebooting my app server right now or I would be more specific. I have to hunt around a bit for the EXACT location of the config, but I am at Oracle 10g, what version are you on? I usually go in via the Enterprise Manager (EM) control to make changes.

Similar Messages

  • Help with the Oracle Fusion Order Demo deployment to Weblogic Server

    Hello all,
    I am new to SOA and am in the process of understanding SOA concepts. I am trying to deploy the Fusion Order Demo sample application to the Weblogic server. I am following the instructions given at : [http://www.oracle.com/technology/obe/obe11jdev/bulldog/deploysoaapp/deployment.htm|http://www.oracle.com/technology/obe/obe11jdev/bulldog/deploysoaapp/deployment.htm] .
    I am getting error when running the ant task "server-setup-seed-deploy-test" which deploys the Composite applications to the Weblogic Server. The ant log is pasted at the end of the post. The only difference i found from the instructions is that i do not have a AS11gR1SOA directory in my MW_HOME. Instead i have Oracle_SOA1 and i gave that directory's path for the parameter "soa.server.oracle.home".
    I tried running the sub tasks in the "server-setup-seed-deploy-test" individually and only the last task "test-fod-composite-end2end" failed. Since the other tasks like "compile-deploy-all" were successfull, I tried to see the deployed applications in the soa domain. When i checked the soa domain in the Weblogic server console, I see only the "B2BX12OrderGateway" under the soa-infra. The OrderBookingComposite and others are not deployed.
    Please help me in fixing this. Hope I have explained the problem correctly.
    Thanks in advance
    Nishan
    -------------------------------------Apache ant log for "server-setup-seed-deploy-test"-----------------------------------------
    Buildfile: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\bin\build.xml
    [echo] Ant: Apache Ant version 1.7.0 compiled on December 13 2006 Java: 1.6
    [echo] Using mds-type : db
    [input] skipping input as property server.password has already been set.
    init:
    [echo] SOA Suite 11g version:
    [java]
    [java] *****************************************************************************
    [java] Oracle SOA Server version 11.1.1.2.0
    [java] Build: 0
    [java] Build time: Tue Nov 03 13:48:58 PST 2009
    [java] Build type: release
    [java] Source tag: PCBPEL_11.1.1.2.0_GENERIC_091103.1205.1216
    [java]
    [echo] soa infra mgmt home: C:\Oracle\Middleware\jdeveloper\/../oracle_common
    server-setup-seed-deploy-test:
    [echo] Setting up mds store, deploying shared artifacts,
    seeding jms info, deploying to server, and running tests
    [echo] Ant: Apache Ant version 1.7.0 compiled on December 13 2006 Java: 1.6
    [echo] Using mds-type : db
    [input] skipping input as property server.password has already been set.
    init:
    [echo] SOA Suite 11g version:
    [java]
    [java] *****************************************************************************
    [java] Oracle SOA Server version 11.1.1.2.0
    [java] Build: 0
    [java] Build time: Tue Nov 03 13:48:58 PST 2009
    [java] Build type: release
    [java] Source tag: PCBPEL_11.1.1.2.0_GENERIC_091103.1205.1216
    [java]
    [echo] soa infra mgmt home: C:\Oracle\Middleware\jdeveloper\/../oracle_common
    createMDSConnections:
    [echo] Ant: Apache Ant version 1.7.0 compiled on December 13 2006 Java: 1.6
    [echo] Using mds-type : db
    [input] skipping input as property server.password has already been set.
    createMDSConnectionForDB:
    [echo] Creating ../.adf/META-INF/adf-config.xml for database backed MDS
    [input] skipping input as property mds.db.password has already been set.
    [copy] Copying 1 file to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\.adf\META-INF
    [echo] Using jdbc:oracle:thin:@localhost:1521:xe for db-based backing, with user dev_mds
    [echo] Ant: Apache Ant version 1.7.0 compiled on December 13 2006 Java: 1.6
    [echo] Using mds-type : db
    [input] skipping input as property server.password has already been set.
    createMDSConnectionForFileStore:
    [echo] Ant: Apache Ant version 1.7.0 compiled on December 13 2006 Java: 1.6
    [echo] Using mds-type : db
    [input] skipping input as property server.password has already been set.
    createMDSConnectionForServerFileStore:
    importCommonServiceArtifactsIntoMds:
    [java] Starting local filesystem import into mds ..
    [java] Got target mds-instance: mstore-usage_1 from C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\bin\..\.adf\META-INF\adf-config.xml
    [java] Creating mds connection to ./soa-seed/apps
    [java] --> C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\bin\.\soa-seed
    [java] Local item: /apps/FusionOrderDemoShared/services/partnersupplier/Warehouse.xsd
    [java] Local item: /apps/FusionOrderDemoShared/services/orderbooking/OrderBookingProcessor.wsdl
    [java] Local item: /apps/FusionOrderDemoShared/services/creditAuthorization/CreditAuthorizationService.wsdl
    [java] Local item: /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/service/common/serviceinterface/StoreFrontService.xsd
    [java] Local item: /apps/FusionOrderDemoShared/policy/fault-bindings.xml
    [java] Local item: /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/queries/common/CustomerInfoVOSDO.xsd
    [java] Local item: /apps/FusionOrderDemoShared/services/partnersupplier/PartnerSupplierComposite.wsdl
    [java] Local item: /apps/FusionOrderDemoShared/policy/fault-policies.xml
    [java] Local item: /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/service/common/serviceinterface/StoreFrontService.wsdl
    [java] Local item: /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/queries/common/OrderInfoVOSDO.xsd
    [java] Local item: /apps/FusionOrderDemoShared/services/orderbooking/OrderProcessor.xsd
    [java] Local item: /apps/FusionOrderDemoShared/services/creditAuthorization/creditauthorization.xsd
    [java] Local item: /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/entities/events/OrderEO.xsd
    [java] Local item: /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/entities/events/OrderEO.edl
    [java] Local item: /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/queries/common/OrderItemsInfoVOSDO.xsd
    [java] Now transferring ..
    [java] 4 Apr, 2010 3:39:18 PM oracle.mds
    [java] NOTIFICATION: import operation started.
    [java] 4 Apr, 2010 3:39:22 PM oracle.mds
    [java] Transferred size = 15
    [java] Transferred - /apps/FusionOrderDemoShared/policy/fault-bindings.xml
    [java] Transferred - /apps/FusionOrderDemoShared/policy/fault-policies.xml
    [java] Transferred - /apps/FusionOrderDemoShared/services/partnersupplier/Warehouse.xsd
    [java] Transferred - /apps/FusionOrderDemoShared/services/orderbooking/OrderProcessor.xsd
    [java] Transferred - /apps/FusionOrderDemoShared/services/orderbooking/OrderBookingProcessor.wsdl
    [java] NOTIFICATION: import is completed. Total number of documents successfully processed : 15, total number of documents failed : 0.
    [java] Transferred - /apps/FusionOrderDemoShared/services/creditAuthorization/creditauthorization.xsd
    [java] Transferred - /apps/FusionOrderDemoShared/services/partnersupplier/PartnerSupplierComposite.wsdl
    [java] Transferred - /apps/FusionOrderDemoShared/services/creditAuthorization/CreditAuthorizationService.wsdl
    [java] Transferred - /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/entities/events/OrderEO.xsd
    [java] Transferred - /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/entities/events/OrderEO.edl
    [java] Transferred - /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/queries/common/OrderInfoVOSDO.xsd
    [java] Transferred - /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/queries/common/CustomerInfoVOSDO.xsd
    [java] Transferred - /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/queries/common/OrderItemsInfoVOSDO.xsd
    [java] Transferred - /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/service/common/serviceinterface/StoreFrontService.xsd
    [java] Transferred - /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/service/common/serviceinterface/StoreFrontService.wsdl
    [echo] Ant: Apache Ant version 1.7.0 compiled on December 13 2006 Java: 1.6
    [echo] Using mds-type : db
    [input] skipping input as property server.password has already been set.
    init:
    [echo] SOA Suite 11g version:
    [java]
    [java] *****************************************************************************
    [java] Oracle SOA Server version 11.1.1.2.0
    [java] Build: 0
    [java] Build time: Tue Nov 03 13:48:58 PST 2009
    [java] Build type: release
    [java] Source tag: PCBPEL_11.1.1.2.0_GENERIC_091103.1205.1216
    [java]
    [echo] soa infra mgmt home: C:\Oracle\Middleware\jdeveloper\/../oracle_common
    compile-build-all:
    [echo] Building and compiling SOA Fusion Order Demo ..
    clean:
    [echo] Cleanup of OrderApprovalHumanTask
    [delete] Deleting: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\OrderApprovalHumanTask.war
    [delete] Deleting: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\OrderApprovalHumanTask.ear
    init:
    compile:
    [javac] Compiling 6 source files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\public_html\WEB-INF\classes
    copy:
    [copy] Copying 191 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\public_html\WEB-INF\classes
    create-ear:
    [copy] Copying 5 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\public_html\WEB-INF\lib
    [war] Building war: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\OrderApprovalHumanTask.war
    [delete] Deleting directory C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\public_html\WEB-INF\lib
    setupDeploymentEnvironment:
    [echo] Step1: copy template ./templates/connections.xml.seed to ../../.adf/META-INF/connections.xml
    [copy] Copying 1 file to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\.adf\META-INF
    [echo] Step2: setup descriptor, soa-only? false, modifying ../../.adf/META-INF/connections.xml
    [echo] replacing ws-endpoint with localhost:8001/StoreFrontServiceHooks/StoreFrontService
    [echo] replacing ws-binding with {www.globalcompany.example.com}StoreFrontServiceSoapHttp
    [mkdir] Created dir: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\adf\META-INF
    [copy] Copying 2 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\adf\META-INF
    [mkdir] Created dir: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\lib
    [copy] Copying 1 file to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\lib
    [ear] Building ear: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\OrderApprovalHumanTask.ear
    [delete] Deleting directory C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\adf
    [delete] Deleting directory C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\lib
    create-deployable-composite:
    [echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
    clean:
    [echo] deleting C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\bin/..//deploy/sca_OrderBookingComposite_rev1.0.jar
    [delete] Deleting: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\deploy\sca_OrderBookingComposite_rev1.0.jar
    init:
    scac-validate:
    [echo] Running scac-validate in C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\bin/..//composite.xml
    [echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
    scac:
    [scac] Validating composite : 'C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\bin/..//composite.xml'
    [scac] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    [scac] >> modified xmlbean locale class in use
    [scac] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    [scac] WARNING: location {ns:composite/ns:reference[@name='CreditCardAuthorizationService']}(170,128): Failed to Find Binding "CreditCardAuthorizationService":"{http://www.globalcompany.example.com/ns/CreditAuthorizationService}CreditAuthorizationPort" in WSDL Manager
    [scac] WARNING: location {ns:composite/ns:reference[@name='PartnerSupplierService']}(163,122): Failed to Find Binding "PartnerSupplierService":"{http://www.partnersupplier.example.com/ns/warehouse}ExternalPartnerSupplier_pt" in WSDL Manager
    [scac] WARNING: location {ns:composite/ns:reference[@name='StoreFrontService']}(176,162): Failed to Find Binding "StoreFrontService":"{www.globalcompany.example.com}StoreFrontServiceSoapHttpPort" in WSDL Manager
    [scac] WARNING: in OrderProcessor.bpel(218): Trying to assign incompatible types
    [scac] <from> value type "{http://www.w3.org/2001/XMLSchema}long" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string"
    [scac] Make sure that the return value of from-spec query is compatible with the to-spec query
    [scac] WARNING: in OrderProcessor.bpel(305): Trying to assign incompatible types
    [scac] <from> value type "{http://www.w3.org/2001/XMLSchema}decimal" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string"
    [scac] Make sure that the return value of from-spec query is compatible with the to-spec query
    [scac] WARNING: in OrderProcessor.bpel(305): Trying to assign incompatible types
    [scac] <from> value type "{http://www.w3.org/2001/XMLSchema}integer" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string"
    [scac] Make sure that the return value of from-spec query is compatible with the to-spec query
    [scac] WARNING: in OrderProcessor.bpel(368): Trying to assign incompatible types
    [scac] <from> value type "{http://www.w3.org/2001/XMLSchema}decimal" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}double"
    [scac] Make sure that the return value of from-spec query is compatible with the to-spec query
    [scac] WARNING: in OrderProcessor.bpel(368): Trying to assign incompatible types
    [scac] <from> value type "{http://www.w3.org/2001/XMLSchema}string" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}boolean"
    [scac] Make sure that the return value of from-spec query is compatible with the to-spec query
    [scac] WARNING: in OrderProcessor.bpel(407): Trying to assign incompatible types
    [scac] <from> value type "{http://www.w3.org/2001/XMLSchema}boolean" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string"
    [scac] Make sure that the return value of from-spec query is compatible with the to-spec query
    [scac] WARNING: in OrderProcessor.bpel(533): Trying to assign incompatible types
    [scac] <from> value type "{http://www.w3.org/2001/XMLSchema}integer" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string"
    [scac] Make sure that the return value of from-spec query is compatible with the to-spec query

    package:
    [input] skipping input as property compositeDir has already been set.
    [input] skipping input as property compositeName has already been set.
    [input] skipping input as property revision has already been set.
    [echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
    compile-source:
    [mkdir] Created dir: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\dist
    [copy] Copying 133 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\dist
    [copy] Copying 6 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\dist\SCA-INF\classes
    [jar] Building jar: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\deploy\sca_OrderBookingComposite_rev1.0.jar
    [delete] Deleting directory C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\dist
    setupDeploymentEnvironment:
    [copy] Copying 1 file to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\bin
    [echo] Setting up deployment plan, modifying orderbooking_deployment_plan.xml
    [echo] Replacing ws-endpoint with localhost:8001/StoreFrontServiceHooks/StoreFrontService
    [echo] Replacing soa server and wls server information
    [echo] -SOA: localhost 8001
    [echo] Replacing file adapter endpoint with /tmp
    [echo] Replacing values for bam connection in connections.xml
    [echo] Bam server host: sta00057.us.oracle.com
    [echo] Bam server host: 9001
    [echo] Bam server user: weblogic
    create-deployable-composite:
    [echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
    clean:
    [echo] deleting C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\bin/..//deploy/sca_PartnerSupplierComposite_rev1.0.jar
    [delete] Deleting: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\deploy\sca_PartnerSupplierComposite_rev1.0.jar
    init:
    scac-validate:
    [echo] Running scac-validate in C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\bin/..//composite.xml
    [echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
    scac:
    [scac] Validating composite : 'C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\bin/..//composite.xml'
    [scac] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    [scac] >> modified xmlbean locale class in use
    [scac] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    [scac] WARNING: in PartnerSupplierMediator.mplan: Case "ExternalPartnerSupplier.externalpartnersupplier_client.process" doesnt have any payload transformation Please make sure source and target message part name are same and of same type. Otherwise, target reference may fail to execute with error message like "Input sourcelike Null" or "Part not found"
    package:
    [input] skipping input as property compositeDir has already been set.
    [input] skipping input as property compositeName has already been set.
    [input] skipping input as property revision has already been set.
    [echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
    compile-source:
    [mkdir] Created dir: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\dist
    [copy] Copying 17 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\dist
    [copy] Copying 6 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\dist\SCA-INF\classes
    [jar] Building jar: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\deploy\sca_PartnerSupplierComposite_rev1.0.jar
    [delete] Deleting directory C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\dist
    create-deployable-composite:
    [echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
    clean:
    [echo] deleting C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\bin/..//deploy/sca_OrderSDOComposite_rev1.0.jar
    [delete] Deleting: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\deploy\sca_OrderSDOComposite_rev1.0.jar
    init:
    scac-validate:
    [echo] Running scac-validate in C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\bin/..//composite.xml
    [echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
    scac:
    [scac] Validating composite : 'C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\bin/..//composite.xml'
    [scac] WARNING: in CustomerAndOrderService.bpel(254): Trying to assign incompatible types
    [scac] <from> value type "{http://www.w3.org/2001/XMLSchema}anySimpleType" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}integer"
    [scac] Make sure that the return value of from-spec query is compatible with the to-spec query
    [scac] WARNING: in CustomerAndOrderService.bpel(359): Trying to assign incompatible types
    [scac] <from> value type "{http://www.w3.org/2001/XMLSchema}integer" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}long"
    [scac] Make sure that the return value of from-spec query is compatible with the to-spec query
    [scac] WARNING: in CustomerAndOrderService.bpel(493): Trying to assign incompatible types
    [scac] <from> value type "{http://www.w3.org/2001/XMLSchema}integer" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}long"
    [scac] Make sure that the return value of from-spec query is compatible with the to-spec query
    package:
    [input] skipping input as property compositeDir has already been set.
    [input] skipping input as property compositeName has already been set.
    [input] skipping input as property revision has already been set.
    [echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
    compile-source:
    [mkdir] Created dir: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\dist
    [copy] Copying 11 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\dist
    [copy] Copying 6 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\dist\SCA-INF\classes
    [jar] Building jar: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\deploy\sca_OrderSDOComposite_rev1.0.jar
    [delete] Deleting directory C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\dist
    create-deployable-composite:
    [echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
    clean:
    [echo] deleting C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\bin/..//deploy/sca_B2BX12OrderGateway_rev1.0.jar
    [delete] Deleting: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\deploy\sca_B2BX12OrderGateway_rev1.0.jar
    init:
    scac-validate:
    [echo] Running scac-validate in C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\bin/..//composite.xml
    [echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
    scac:
    [scac] Validating composite : 'C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\bin/..//composite.xml'
    [scac] WARNING: location {ns:composite/ns:reference[@name='StoreFrontService']}(48,162): Failed to Find Binding "StoreFrontService":"{www.globalcompany.example.com}StoreFrontServiceSoapHttpPort" in WSDL Manager
    [scac] WARNING: location {ns:composite/ns:reference[@name='OrderBookingService']}(59,116): Failed to Find Binding "OrderBookingService":"{http://www.globalcompany.example.com/ns/OrderBookingService}OrderProcessor_pt" in WSDL Manager
    [scac] WARNING: in B2BOrderProcessingEngine.componentType: property "bpel.config.use.events" may not be understood by BPEL component B2BOrderProcessingEngine - it will likely be ignored.
    [scac] WARNING: in B2BOrderProcessingEngine.bpel(188): Trying to assign incompatible types
    [scac] <from> value type "{http://www.w3.org/2001/XMLSchema}integer" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string"
    [scac] Make sure that the return value of from-spec query is compatible with the to-spec query
    package:
    [input] skipping input as property compositeDir has already been set.
    [input] skipping input as property compositeName has already been set.
    [input] skipping input as property revision has already been set.
    [echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
    compile-source:
    [mkdir] Created dir: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\dist
    [copy] Copying 24 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\dist
    [copy] Copying 6 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\dist\SCA-INF\classes
    [jar] Building jar: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\deploy\sca_B2BX12OrderGateway_rev1.0.jar
    [delete] Deleting directory C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\dist
    setupDeploymentEnvironment:
    [copy] Copying 1 file to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\bin
    [echo] Setting up deployment plan, modifying B2BX12OrderGateway_deployment_plan.xml
    [echo] Replacing ws-endpoint with localhost:8001/StoreFrontServiceHooks/StoreFrontService
    [echo] Replacing soa server and wls server information
    [echo] -SOA: localhost 8001
    [echo] Replacing communication style, eventbased? true
    [echo] Wls home: C:\Oracle\Middleware\jdeveloper\/../wlserver_10.3
    [echo] Oracle home: C:\Oracle\Middleware\jdeveloper\
    init:
    compile:
    create-war:
    [echo] Deploying jsca shared lib? true
    [echo] Wls home: C:\Oracle\Middleware\jdeveloper\/../wlserver_10.3
    [echo] Oracle home: C:\Oracle\Middleware\jdeveloper\
    create-ear:
    [echo] global: true > ejb: ${use.ejb} jsca: true
    [echo] Deploying jsca shared lib? true
    [echo] Wls home: C:\Oracle\Middleware\jdeveloper\/../wlserver_10.3
    [echo] Oracle home: C:\Oracle\Middleware\jdeveloper\
    clean:
    [echo] Cleaning up external partner supplier ejb project ../classes/../deploy
    [delete] Deleting: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\ExternalPartnerSupplierEjb.ear
    [echo] Deploying jsca shared lib? true
    [echo] Wls home: C:\Oracle\Middleware\jdeveloper\/../wlserver_10.3
    [echo] Oracle home: C:\Oracle\Middleware\jdeveloper\
    init:
    copy:
    [copy] Copying 5 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\classes
    compile:
    [javac] Compiling 6 source files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\classes
    [javac] Note: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\src\com\otn\sample\fod\soa\externalps\test\EpsSessionEJBClient.java uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    create-ejb-ear:
    [echo] Deploying jsca shared lib? true
    [echo] Wls home: C:\Oracle\Middleware\jdeveloper\/../wlserver_10.3
    [echo] Oracle home: C:\Oracle\Middleware\jdeveloper\
    init:
    copy:
    compile:
    create-jsca-ear:
    [mkdir] Created dir: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\APP-INF\lib
    [copy] Copying 2 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\APP-INF\lib
    [echo] ../classes/meta-inf/
    [jar] Building jar: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\APP-INF\lib\ExternalPartnerSupplierScaModule.jar
    [jar] Warning: skipping jar archive C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\empty.jar because no files were included.
    [jar] Building MANIFEST-only jar: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\empty.jar
    [ear] Building ear: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\ExternalPartnerSupplierEjb.ear
    compile-deploy-all:
    [echo] Deploying SOA Fusion Order Demo ..
    [echo] Deploying jsca shared lib? true
    [echo] Wls home: C:\Oracle\Middleware\jdeveloper\/../wlserver_10.3
    [echo] Oracle home: C:\Oracle\Middleware\jdeveloper\
    deploy-application:
    [echo] Deploying jsca shared lib? true
    [echo] Wls home: C:\Oracle\Middleware\jdeveloper\/../wlserver_10.3
    [echo] Oracle home: C:\Oracle\Middleware\jdeveloper\
    deploy-jsca-library:
    [wldeploy] weblogic.Deployer -remote -noexit -name weblogic-sca -source C:\Oracle\Middleware\wlserver_10.3\common\deployable-libraries\weblogic-sca-1.0.war -targets soa_server1 -adminurl t3://localhost:7001 -user weblogic1 -password ******** -deploy -library
    [wldeploy] weblogic.Deployer invoked with options: -remote -noexit -name weblogic-sca -source C:\Oracle\Middleware\wlserver_10.3\common\deployable-libraries\weblogic-sca-1.0.war -targets soa_server1 -adminurl t3://localhost:7001 -user weblogic1 -deploy -library
    [wldeploy] <4 Apr, 2010 3:40:55 PM IST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, weblogic-sca [archive: C:\Oracle\Middleware\wlserver_10.3\common\deployable-libraries\weblogic-sca-1.0.war], to soa_server1 .>
    [wldeploy] weblogic.Deployer -remote -upload -noexit -name ExternalPartnerSupplierEjb -source C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\ExternalPartnerSupplierEjb.ear -targets soa_server1 -adminurl t3://localhost:7001 -user weblogic1 -password ******** -deploy
    [wldeploy] weblogic.Deployer invoked with options: -remote -upload -noexit -name ExternalPartnerSupplierEjb -source C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\ExternalPartnerSupplierEjb.ear -targets soa_server1 -adminurl t3://localhost:7001 -user weblogic1 -deploy
    [wldeploy] <4 Apr, 2010 3:41:11 PM IST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, ExternalPartnerSupplierEjb [archive: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\ExternalPartnerSupplierEjb.ear], to soa_server1 .>
    BUILD FAILED
    C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\bin\build.xml:295: The following error occurred while executing this line:
    C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\bin\build.xml:156: The following error occurred while executing this line:
    C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\bin\build.xml:169: weblogic.management.ManagementException: [Deployer:149163]The domain edit lock is owned by another session in non-exclusive mode - this deployment operation requires exclusive access to the edit lock and hence cannot proceed. If you are using "Automatically Aquire Lock and Activate Changes" in the console, then the lock will expire shortly so retry this operation.
    Total time: 2 minutes 1 second

  • Looking for some help with using Oracle stored procedures in vb2010

    First off thank you to whoever lends me a hand with my problem. A little background first I am in a software development class and we are currently building our program using VB (I have no experience in this), and Oracle(currently in a Oracle class so I know how to use Oracle itself just not with VB).
    I am using vb2010 express edition if that helps. Currently I have a stored procedure that takes a 4char "ID" that returns a position (ie, salesperson,manager ect). I want to use the position returned to determine what vb form is displayed (this is acting as a login as you dont want a salesperson accessing the accountants page for payroll ect).
    Here is the code I have currently on the login page of my VB form
    Imports Oracle.DataAccess.Client
    Imports Oracle.DataAccess.Types
    Public Class Login
    Dim conn As New OracleConnection
    Private Sub empID_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles empID.Click
    End Sub
    Private Sub LoginBtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles LoginBtn.Click
    conn.ConnectionString = "User ID = Auto" & _
    ";Password = ********" & _
    ";Data Source = XE"
    conn.Open()
    Dim sq1 As String = "Return_Position" 'name of procedure
    Dim cmd As New OracleCommand(sq1, conn)
    cmd.CommandType = CommandType.StoredProcedure
    cmd.Parameters.Add(New OracleParameter("I_EmpID", OracleDbType.Char, 4)).Value = Emp_ID.Text
    Dim dataReader As OracleDataReader = cmd.ExecuteReader
    dataReader.Read()
    Dim position As New ListBox
    position.Items.Add(dataReader.GetString(0)) 'were I am getting an error, I also tried using the dataReader.getstring(0) to store its value in a string but its a no go
    If position.FindStringExact("MANAGER") = "MANAGER" Then
    Me.Hide()
    Dim CallMenu As New Menu()
    CallMenu.ShowDialog()
    End If
    LoginBtn.Enabled = False
    End Sub
    I have read the oracle.net developer guide for using oracle in vb2010 and have successfully gotten through the document however they never use a stored procedure, since the teacher wants this program to user a layered architecture I cannot directly store sql queries like the document does, thus the reason I want to use stored procedures.
    This is getting frustrating getting stuck with this having no background in VB, I could easily do this in c++ using file i/o even through it would be a pain in the rear....

    Hello,
    I am calling Oracle 11g stored procedures from VB.Net 2010. Here is a code sample (based on your code) you should be able to successfully implement in your application.
    Please note that you may have to modify your stored procedure to include an OUT parameter (the employee position) if it doesn't have it yet.
    Private Sub LoginBtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles LoginBtn.Click
    Dim sProcedureName As String = "Return_Position" 'name of stored procedure
    Dim ORConn as OracleConnection, sConn as String
    Dim sPosition as String, sDataSource as String, sSchema as String, sPWD as String
    Dim cmd As OracleCommand
    'please provide below sDataSource, sSchema and sPWD in order to connect to your Oracle DB
    sConn = "Data Source=" & sDataSource & ";User Id=" & sSchema & ";Password=" & sPWD & ";"
    ORConn = New OracleConnection(sConn)
    ORConn.Open()
    cmd = New OracleCommand(sProcedureName, ORConn)
    With cmd
    .CommandType = Data.CommandType.StoredProcedure
    'input parameter in your stored procedure is EmpId
    .Parameters.Add("EmpID", OracleDbType.Varchar2).Value = Emp_ID.Text
    .Parameters.Item("EmpID").Direction = ParameterDirection.Input
    'output parameter in your stored procedure is Emp_Position
    .Parameters.Add("Emp_Position", OracleDbType.Varchar2).Direction = ParameterDirection.Output
    .Parameters.Item("Emp_Position").Size = 50 'max number of characters for employee position
    Try
    .ExecuteNonQuery()
    Catch ex As Exception
    MsgBox(ex.Message)
    Exit sub
    End Try
    End With
    sPosition = cmd.Parameters.Item("Emp_Position").Value.ToString
    'close Oracle command
    If Not Cmd Is Nothing Then Cmd.Dispose()
    Cmd = Nothing
    'close Oracle connection
    If Not ORConn Is Nothing Then
    If not ORConn.State = 0 Then
    ORConn.Close()
    End If
    ORConn.Dispose()
    End If
    ORConn = Nothing
    If UCase(sPosition) = "MANAGER" Then
    Me.Hide()
    Dim CallMenu As New Menu()
    CallMenu.ShowDialog()
    End If
    LoginBtn.Enabled = False
    End Sub
    If you need further assistance with the code, please let me know.
    Regards,
    M. R.

  • Help with installation ORACLE 11g  SES

    hi, i'm new at this, i was almost done with the configuring of a new instance of Oracle 11g, however i'm running into this error, when one of the assistants is executing. can any of you point out what should i try or what could be the cause of this problem. any help would be really appreciated.
    the error is this:
    oracle.search.config.wls.OESException: Error while executing actiong: "setup_all"
    Caused by: oracle.search.config.wlsOESException: The SES Backend is not up! Backend must be up to configure midtier
    at oracle.search.config.wls.SearchCtl.run(SearchCtl.java:1340)
    at oracle.search.config.wls.SearchCtl.main(SearchCtl.java:1384)
    caused by: oracle.search.config.wlsOESException: The SES Backend is not up! Backend must be up to configure midtier
    at oracle.search.config.wls.SearchCtl.setup.Midtier(SearchCtl.java:609)
    at oracle.search.config.wls.SearchCtl.setupAll(SearchCtl.java:1095)
    at oracle.search.config.wls.SearchCtl.run(SearchCtl.java:1266)
    ..... 1 more
    Error while executing action: "setup_all"

    ok, the version is 11.1.2.0.0 , OS CentOS 5.0(kernel 2.6.18-308.11.1.el5PAE) = , all system requirements were met prior to installation.

  • Help with Downloading Oracle 9i

    Hello:
    This is kind of new to me and I am not a computer expert. I am installing Oracle 9i from the CD and here is the message I am getting:
    "Error in writing to directory c:\Document and Settings\Locals~1\Temp\OraInstall1024. Oracle Universal Installer needs you to have permission in this area to install. Installation cannot continue. Please make sure TEMP is set to a valid wriable directory."
    Any help would be greatlt appreciated.
    Thanks

    You might try posting this question in the Database discussion forum at: General Database Discussions
    Regards,
    OTN

  • Help with calling Oracle Procedure

    First, let me state that I'm new to Oracle and using it with
    ColdFusion, but I've used CF on and off for the past 6 years. So
    this might be a simple "newbie" problem with Oracle and CF.
    My boss wrote the following simple Oracle procedure to
    concatenate three variables together (I know I could do this in CF
    directly, but I need to be able to use his existing procedures in
    Oracle)
    SPEC:
    function ShowCaption(inprecaption in long,
    incaption in long,
    inpostcaption in long,
    method in varchar2,
    xcoord in number,
    ycoord in number)
    return long;
    BODY:
    function ShowCaption(
    inprecaption in long,
    incaption in long,
    inpostcaption in long,
    method in varchar2,
    xcoord in number,
    ycoord in number)
    return long
    is
    begin
    return inprecaption || incaption || inpostcaption;
    end ShowCaption;
    I'm trying to call that procedure using the attached code but
    when I run this code I receive the error "ORA-01008: not all
    variables bound" and I'm not sure why. Searching Google hasn't come
    up with anything and I've used other procedures, but can't seem to
    make this one work. I know the procedure works within Oracle as I'm
    able to run it.
    I would really appreciate any ideas.

    Since he wrote his PL/SQL as a FUNCTION instead of a
    PROCEDURE, it complicates returning the result to ColdFusion. You
    haven't provided any means of capturing the return value of your
    function call in your CFSTOREDPROC call. If he had declared this a
    procedure, then you probably would have added an OUT parameter to
    the PL/SQL and an OUT CFPROCRESULT tag, but since it is a function,
    you are going to have to capture the result differently.
    Try adding a returncode="yes" parameter to your CFSTOREDPROC
    tag, then check the cfstoredproc.statusCode variable for your
    returned result value:
    <cfoutput>#cfstoredproc.statusCode#</cfoutput>
    Normally, I avoid calling Oracle
    functions from ColdFusion because in older versions of CF,
    there was no way of capturing the return value, so I rarely ever do
    it this way. In other words, I strictly write PL/SQL
    procedures for use with ColdFusion. However, if you are
    required to work with an existing function, then the method
    mentioned above may work for you.
    Phil

  • Help with accessing Oracle JDBC DLL file

    Hi
    I'm writing a test client for Oracle.
    I'm using a PC running Win XPPro, installed Oracle 9.2 client and try to access the server that is running on a Sun server.
    Even though the code compiles, I always throws an exception when started in Studio 4U1:
    java.lang.UnsatisfiedLinkError: no ocijdbc9 in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403)
    at java.lang.Runtime.loadLibrary0(Runtime.java:788)
    at java.lang.System.loadLibrary(System.java:832)
    at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:262)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:346)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:468)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:314)
    at java.sql.DriverManager.getConnection(DriverManager.java:512)
    at java.sql.DriverManager.getConnection(DriverManager.java:171)
    at org.eun.celebrate.dummy.TestORA.main(TestORA.java:32)
    Exception in thread "main"
    However, if I run it on the command line, it works perfectly.
    It seems that the problem is that Studio does not find the ocijdbc9.dll that is on my system.
    Thanks for your help
    Jean-Noel Colin

    Learn JDBC - that's how you do it.
    http://www.jdbc-tutorial.com/
    %

  • Help with creating oracle text index on 2 columns with partial html data

    Hi,
    I need to create an oracle text index on 2 columns.
    TITLE - varchar(255) = contains plain text data
    DESCRIPTION - CLOB = contains partial HTML data
    This is what I created.
    begin
    ctx_ddl.create_preference ('Title_Description_Pref', 'MULTI_COLUMN_DATASTORE');
    ctx_ddl.set_attribute('Title_Description_Pref', 'columns', 'TITLE, DESCRIPTION');
    end;
    begin
    ctx_ddl.create_preference ('bid_lexer', 'BASIC_LEXER');
    ctx_ddl.set_attribute('bid_lexer', 'index_stems', 'ENGLISH');
    ctx_ddl.create_section_group('htmgroup', 'HTML_SECTION_GROUP');
    end;
    create index Bid_Title_Index on Bid(title) indextype is ctxsys.context parameters ('LEXER bid_lexer sync (every "sysdate+(1/24)")');
    create index Bid_Title_Desc_Index on Bid(description) indextype is ctxsys.context parameters ('LEXER bid_lexer DATASTORE Title_Description_Pref sync (every "sysdate+(1/24)") filter ctxsys.null_filter section group htmgroup');
    The problem is when I do a CONTAINS(description, '$(auction)')>0. I get results where the descriptions have the "auction" word (which is correct). But, the results also returned rows where the search word is inside an IMG tag. e.g. <img src="http://auction.de/120483" alt="Auction Logo"/>.
    What I would like is to exclude rows where the search word is inside HTML tag attributes, results expected are rows having <a>Auction</a> or <p>For Auction</p> ... etc. Basically stripping the html tags and leave the text contents.
    I'd appreciate some input.
    Thanks,
    Amiel

    Hi,
    I need to create an oracle text index on 2 columns.
    TITLE - varchar(255) = contains plain text data
    DESCRIPTION - CLOB = contains partial HTML data
    This is what I created.
    begin
    ctx_ddl.create_preference ('Title_Description_Pref', 'MULTI_COLUMN_DATASTORE');
    ctx_ddl.set_attribute('Title_Description_Pref', 'columns', 'TITLE, DESCRIPTION');
    end;
    begin
    ctx_ddl.create_preference ('bid_lexer', 'BASIC_LEXER');
    ctx_ddl.set_attribute('bid_lexer', 'index_stems', 'ENGLISH');
    ctx_ddl.create_section_group('htmgroup', 'HTML_SECTION_GROUP');
    end;
    create index Bid_Title_Index on Bid(title) indextype is ctxsys.context parameters ('LEXER bid_lexer sync (every "sysdate+(1/24)")');
    create index Bid_Title_Desc_Index on Bid(description) indextype is ctxsys.context parameters ('LEXER bid_lexer DATASTORE Title_Description_Pref sync (every "sysdate+(1/24)") filter ctxsys.null_filter section group htmgroup');
    The problem is when I do a CONTAINS(description, '$(auction)')>0. I get results where the descriptions have the "auction" word (which is correct). But, the results also returned rows where the search word is inside an IMG tag. e.g. <img src="http://auction.de/120483" alt="Auction Logo"/>.
    What I would like is to exclude rows where the search word is inside HTML tag attributes, results expected are rows having <a>Auction</a> or <p>For Auction</p> ... etc. Basically stripping the html tags and leave the text contents.
    I'd appreciate some input.
    Thanks,
    Amiel

  • Help with Oracle SQL to strip unwanted characters

    Hello,
    I have 2 columns (Weight and Height)  where I need to strip the alpha characters and convert them to numbers (I am required to derive additional columns where I need to present
    these values in inches, cm, KG, LB, etc. (and thus the need to convert them to numbers). I am too much a novice to understand the best way to convert these columns into numbers (same precision as you see here).
    See the image below for a sample of what these columns currently contain. I simply need help with the Oracle SQL code to parse/convert these vales into number. Thanks in advance for your assistance!
    Dave

    Hi,
    In addition to
    Erland Sommarskog's comment which is of course correct and this i not the forum to ask question about Oracle, I dont want to leave you without a lead :-)
    The solution both in SQL Server and Oracle should based on Regular Expressions. I highly recommended NOT to use T-SQL solutions in this case, as mentioned above, unless this is a very small table and the need is very simple and include finding one point
    in the string as in
    SaravanaC solution (when he assume thge string format is based on 2 parts (1) Number + (2) unit type).
    In Oracle there is a build in Regular Expressions option as mentioned here: http://docs.oracle.com/cd/B12037_01/appdev.101/b10795/adfns_re.htm
    In SQL Server the PATINDEX is used for simple cases and there is no built in Regular Expressions, but you can add it using CLR as shown in this link http://msdn.microsoft.com/en-us/magazine/cc163473.aspx
    [Personal Site] [Blog] [Facebook]

  • Entrps Manger confg with new Oracle Instanc

    hi,
    how to configure Oracle EM with newly created Oracle Instance on Oracle 10g DB,which is Single Instance DB but not RAC ,when I start the Oracle EM it is starting the default DB which created during Oracle Server Installation
    thanks

    generally im specfiying it in c:\documents and settings\Program, but im installing it from c:\documents and settings\my documents\software.
    I got another verson of Orcle, ive downladed the developer sute 10g, in this case the college where i go to use, it to connect. so i expect i will have to really uninstll that and the instll in Oracle Enterprise 10g.
    ive got screen shots of the process i am going through, in order to get a sucessfull installation.
    If anyone has msn please come online so i can send you the screen shots of what is happening when i try and install in Orcale enterprise 10g on my pc
    my email address is
    [email protected]
    or send me an email wid the subject: Help with installing Oracle enterprise manager 10g or a hello so i know its from a forum reply

  • ! Help - I need to connect my asp page with my oracle XE

    Hello friends
    I use the sqldeveloper to convert my database from sql server to oracle. Now I got the problem. How to connect my pages (asp) with the oracle database.
    Can someone help me?

    Hello,
    Oracle Object for OLE (OO4O) may help yopu in that case.
    Please refer to http://www.oracle.com/technology/tech/windows/ole/index.html
    I hope this will help
    Kind regards,
    Jean-Patrick

  • Help with oracle 11g pivot operator

    i need some help with oracle 11g pivot operator. is it possible to use multiple columns in the FOR clause and then compare it against multiple set of values.
    here is the sql to create some sample data
    create table pivot_data ( country_code number , dept number, job varchar2(20), sal number );
    insert into pivot_data values (1,30 , 'SALESMAN', 5000);
    insert into pivot_data values (1,301, 'SALESMAN', 5500);
    insert into pivot_data values (1,30 , 'MANAGER', 10000);     
    insert into pivot_data values (1,301, 'MANAGER', 10500);
    insert into pivot_data values (1,30 , 'CLERK', 4000);
    insert into pivot_data values (1,302, 'CLERK',4500);
    insert into pivot_data values (2,30 , 'SALESMAN', 6000);
    insert into pivot_data values (2,301, 'SALESMAN', 6500);
    insert into pivot_data values (2,30 , 'MANAGER', 11000);     
    insert into pivot_data values (2,301, 'MANAGER', 11500);
    insert into pivot_data values (2,30 , 'CLERK', 3000);
    insert into pivot_data values (2,302, 'CLERK',3500);
    using case when I can write something like this and get the output i want
    select country_code
    ,avg(case when (( dept = 30 and job = 'SALESMAN' ) or ( dept = 301 and job = 'SALESMAN' ) ) then sal end ) as d30_sls
    ,avg(case when (( dept = 30 and job = 'MANAGER' ) or ( dept = 301 and job = 'MANAGER' ) ) then sal end ) as d30_mgr
    ,avg(case when (( dept = 30 and job = 'CLERK' ) or ( dept = 302 and job = 'CLERK' ) ) then sal end ) as d30_clrk
    from pivot_data group by country_code;
    output
    country_code          D30_SLS               D30_MGR               D30_CLRK
    1      5250      10250      4250
    2      6250      11250      3250
    what I tried with pivot is like this I get what I want if I have only one ( dept,job) for one alias name. I want to call (30 , 'SALESMAN') or (301 , 'SALESMAN') AS d30_sls. any help how can I do this
    SELECT *
    FROM pivot_data
    PIVOT (SUM(sal) AS sum
    FOR (dept,job) IN ( (30 , 'SALESMAN') AS d30_sls,
              (30 , 'MANAGER') AS d30_mgr,               
    (30 , 'CLERK') AS d30_clk
    this is a simple example .... my real life scenario is compliated with more fields and more combinations .... So something like using substr(dept,1,2) won't work in my real case .
    any suggestions get the result similar to what i get in the case when example is really appreciated.

    Hi,
    Sorry, I don't think there's any way to get exactly what you requested. The values you give in the PIVOT ... IN clause are exact values, not alternatives.
    You could do something like this to map all alternatives to a common value:
    WITH     got_dept_grp     AS
         SELECT     country_code, job, sal
         ,     CASE
                  WHEN  job IN ('SALESMAN', 'MANAGER') AND dept = 301 THEN 30
                  WHEN  job IN ('CLERK')               AND dept = 302 THEN 30
                                                                     ELSE dept
              END     AS dept_grp
         FROM     pivot_data
    SELECT     *
    FROM     got_dept_grp
    PIVOT     (     AVG (sal)
         FOR     (job, dept_grp)
         IN     ( ('SALESMAN', 30)
              , ('MANAGER' , 30)
              , ('CLERK'   , 30)
    ;In your sample data (and perhaps in your real data), it's about as easy to explicitly define the pivoted groups individually, like this:
    WITH     got_pivot_key     AS
         SELECT     country_code, sal
         ,     CASE
                  WHEN  job = 'SALESMAN' AND dept IN (30, 301) THEN 'd30_sls'
                  WHEN  job = 'MANAGER'  AND dept IN (30, 301) THEN 'd30_mgr'
                  WHEN  job = 'CLERK'    AND dept IN (30, 302) THEN 'd30_clrk'
              END     AS pivot_key
         FROM    pivot_data
    SELECT     *
    FROM     got_pivot_key
    PIVOT     (     AVG (sal)
         FOR     pivot_key
         IN     ( 'd30_sls'
              , 'd30_mgr'
              , 'd30_clrk'
    ;Thanks for posting the CREATE TABLE and INSERT statements; that really helps!

  • I need help with oracle

    Hi,
    I need some help... if someone can help its great.
    I need to make a statement in Oracle SQL that read data from a file and insert in a Oracle Database ... if someone can show me the syntax of it i appreciate..
    Thanks

    Okay, I see you followed the advice in that other thread and started a new post for you question. Congratulations. Your next lesson in forum etiquette is to give your posts a more relevant subject. Pretty much everybody who posts here needs help with oracle; if they need help with cooking catfish they've come to the wrong place.
    It that other thread I suggested using SQL*Loader or External Tables might be a more suitable solution. Find out more.
    Cheers, APC

  • Help with: oracle.toplink.essentials.exceptions.ValidationException

    hi guys,
    I really need ur help with this.
    I have a remote session bean that retrieves a list of books from the database using entity class and I call the session bean from a web service. The problem is that when i display the books in a jsp directly from the session bean everything works ok but the problem comes when I call the session bean via the web service than it throws this:
    Exception Description: An attempt was made to traverse a relationship using indirection that had a null Session. This often occurs when an entity with an uninstantiated LAZY relationship is serialized and that lazy relationship is traversed after serialization. To avoid this issue, instantiate the LAZY relationship prior to serialization.
    at oracle.toplink.essentials.exceptions.ValidationException.instantiatingValueholderWithNullSession(ValidationException.java:887)
    at oracle.toplink.essentials.internal.indirection.UnitOfWorkValueHolder.instantiate(UnitOfWorkValueHolder.java:233)
    at oracle.toplink.essentials.internal.indirection.DatabaseValueHolder.getValue(DatabaseValueHolder.java:105)
    at oracle.toplink.essentials.indirection.IndirectList.buildDelegate(IndirectList.java:208)
    at oracle.toplink.essentials.indirection.IndirectList.getDelegate(IndirectList.java:330)
    at oracle.toplink.essentials.indirection.IndirectList$1.<init>(IndirectList.java:425)
    at oracle.toplink.essentials.indirection.IndirectList.iterator(IndirectList.java:424)
    at com.sun.xml.bind.v2.runtime.reflect.Lister$CollectionLister.iterator(Lister.java:278)
    at com.sun.xml.bind.v2.runtime.reflect.Lister$CollectionLister.iterator(Lister.java:265)
    at com.sun.xml.bind.v2.runtime.property.ArrayElementProperty.serializeListBody(ArrayElementProperty.java:129)
    at com.sun.xml.bind.v2.runtime.property.ArrayERProperty.serializeBody(ArrayERProperty.java:152)
    at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.serializeBody(ClassBeanInfoImpl.java:322)
    at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsXsiType(XMLSerializer.java:681)
    at com.sun.xml.bind.v2.runtime.property.ArrayElementNodeProperty.serializeItem(ArrayElementNodeProperty.java:65)
    at com.sun.xml.bind.v2.runtime.property.ArrayElementProperty.serializeListBody(ArrayElementProperty.java:168)
    at com.sun.xml.bind.v2.runtime.property.ArrayERProperty.serializeBody(ArrayERProperty.java:152)
    at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.serializeBody(ClassBeanInfoImpl.java:322)
    at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsXsiType(XMLSerializer.java:681)
    at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:277)
    at com.sun.xml.bind.v2.runtime.BridgeImpl.marshal(BridgeImpl.java:100)
    at com.sun.xml.bind.api.Bridge.marshal(Bridge.java:141)
    at com.sun.xml.ws.message.jaxb.JAXBMessage.writePayloadTo(JAXBMessage.java:315)
    at com.sun.xml.ws.message.AbstractMessageImpl.writeTo(AbstractMessageImpl.java:142)
    at com.sun.xml.ws.encoding.StreamSOAPCodec.encode(StreamSOAPCodec.java:108)
    at com.sun.xml.ws.encoding.SOAPBindingCodec.encode(SOAPBindingCodec.java:258)
    at com.sun.xml.ws.transport.http.HttpAdapter.encodePacket(HttpAdapter.java:320)
    at com.sun.xml.ws.transport.http.HttpAdapter.access$100(HttpAdapter.java:93)
    at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:454)
    at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:244)
    at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:135)
    at com.sun.enterprise.webservice.JAXWSServlet.doPost(JAXWSServlet.java:176)
    ... 29 more
    This happens when I test the web service using netbeans 6.5.
    here's my code:
    session bean:
    ArrayList bookList = null;
    public ArrayList retrieveBooks()
    try
    List list = em.createNamedQuery("Book.findAll").getResultList();
    bookList = new ArrayList(list);
    catch (Exception e)
    e.getCause();
    return bookList;
    web service:
    @WebMethod(operationName = "retrieveBooks")
    public Book[] retrieveBooks()
    ArrayList list = ejbUB.retrieveBooks();
    int size = list.size();
    Book[] bookList = new Book[size];
    Iterator it = list.iterator();
    int i = 0;
    while (it.hasNext())
    Book book = (Book) it.next();
    bookList[i] = book;
    i++;
    return bookList;
    Please help guys, it's very urgent

    Yes i have a relationship but i didnt want it to be directly. Maybe this is a design problem but in my case I dont expect any criminals to be involved in lawsuit. My tables are like that:
    CREATE TABLE IF NOT EXISTS Criminal(
         criminal_id INTEGER NOT NULL AUTO_INCREMENT,
         gender varchar(1),
         name varchar(25) NOT NULL,
         last_address varchar(100),
         birth_date date,
         hair_color varchar(10),
         eye_color varchar(10),
         weight INTEGER,
         height INTEGER,
         PRIMARY KEY (criminal_id)
    ENGINE=INNODB;
    CREATE TABLE IF NOT EXISTS Lawsuit(
         lawsuit_id INTEGER NOT NULL AUTO_INCREMENT,
         courtName varchar(25),
         PRIMARY KEY (lawsuit_id),
         FOREIGN KEY (courtName) REFERENCES Court_of_Law(courtName) ON DELETE NO ACTION
    ENGINE=INNODB;
    CREATE TABLE IF NOT EXISTS Rstands_trial(
         criminal_id INTEGER,
         lawsuit_id INTEGER,
         PRIMARY KEY (criminal_id, lawsuit_id),
         FOREIGN KEY (criminal_id) REFERENCES Criminal(criminal_id) ON DELETE NO ACTION,
         FOREIGN KEY (lawsuit_id) REFERENCES Lawsuit(lawsuit_id) ON DELETE CASCADE
    ENGINE=INNODB;So I couldnt get it.

  • I need help with paginating my Oracle database records in JSP

    Please can someone help with a script that allows me to split my resultsets from an Oracle database in JSP...really urgent..any help would be really appreciated. I'm using the Oracle Apache http server and JSP environment that comes with the database...thanks

    First thing you have to do is decide on a platform and
    database. Check to see what your server supports. Whether it is ASP
    and MSSQL, PHP and MySQL or less likely Cold Fusion.

Maybe you are looking for

  • How do I change the iTunes account affiliated with my device?

    When I unpackaged my iPhone 4 at home, I put music on it with my sister's iTunes account, I did not have one. Now that I have my own, I can't add music to my device, because I can only have one iTunes account registered to my phone. How do I change i

  • Proximity Sensor Issue. Just Reporting mine as well

    I love my iPhone 4 but I do have to at least report it has a proximity issue. I keep muting and disconnecting calls while holding it to my ear. I'm not mad, I know it will be fixed. Hopefully soon!

  • What is the best way to run two process in one VI

    Hi all... I'm trying to run two process in the same VI at the same time, which do different operations. One loop collect data from COM port, the other loop collect data from sound card. And two process should work independently. So can I simply put t

  • Upload table definition to file

    Hi Is it possible to upload the table definition (not contents) in SAP to a file or preferably a XML structure? Regards Deepa

  • Mail Services keeps shutting down

    I have been plaque with this problem for about two months. I have 5 static ips and I use one of the ips to host a webserver and very small mail server. I am on DSL. My problem is my mail server always shuts down after a couple hours. The error is 127