Error while deploying composite in EM console

Error while deploying jar files directly from EM console.Please find the below error message and let us know how to deploy the composite.
Deploying on partition "mooa_businessservices" of "/Farm_SOADomain/SOADomain/SOAServer" ...
Deploying on "/Farm_SOADomain/SOADomain/SOAServer" failed!
Error during deployment: Deployment Failed: Unable to find a WSDL that has a definition for service {http://xmlns.oracle.com/xxxxxxx}xxxxxxx and port xxxxxxx. Please make sure that the port attribute for the binding defined in the composite file is correct by checking the namespace service name and port name. In addition check that the WSDL associated with the binding namespace is imported and currently reachable (check the import nodes at the top of the composite file). Finally validate the HTTP proxy settings for the server..

Thanks for the input.
We Tried to set ListenAddress to hostname,ipaddress and localhost, still composites are not accessible with localhost for any of the three options. It seems like some network or weblogic configuration which is blocking local host 9711 port but same is accessible with hostname and ip address.
Do you have any idea on this ?
1.     Host Name hostname.com
Managed Server HelloSOAServer Set the "Listen Address" to the hostname hostname.com
a.     http://hostname.com:9711/soa-infra/services/default/HelloWorld/helloworldprocess_client_ep?WSDL    (Accessible) - Working Fine
b.     http://10.10.x.x:9711/soa-infra/services/default/HelloWorld/helloworldprocess_client_ep?WSDL                        (Accessible) - Working Fine
c.     http://localhost:9711/soa-infra/services/default/HelloWorld/helloworldprocess_client_ep?WSDL                                  (Not Accessible)
Either the WSDL URL is invalid or the WSDL file is not valid or incorrect. - WSDLException: faultCode=PARSER_ERROR: Failed to read wsdl file at: "http://localhost:9711/soa-infra/services/default/HelloWorld/helloworldprocess_client_ep?WSDL", caused by: java.net.ConnectException. : java.net.ConnectException: Connection refused
d.     http://hostname.com:8011/soa-infra/services/default/HelloWorld/helloworldprocess_client_ep?WSDL (Not Accessible)
Error 500--Internal Server Error
java.net.ConnectException: Tried all: '1' addresses, but could not connect over HTTP to server: '127.0.0.1', port: '9711'
        at weblogic.net.http.HttpClient.openServer(HttpClient.java:327)
        at weblogic.net.http.HttpClient.openServer(HttpClient.java:419)
        at weblogic.net.http.HttpClient.New(HttpClient.java:246)
        at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:176)
        at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:361)
        at weblogic.net.http.SOAPHttpURLConnection.getInputStream(SOAPHttpURLConnection.java:37)
Pasted from <http://hostname.com:8011/soa-infra/services/default/HelloWorld/helloworldprocess_client_ep?WSDL>
2.     IP Address 10.10.x.x
Managed Server HelloSOAServer Set the "Listen Address" to the ipaddress 10.10.x.x
a.     http://hostname.com:9711/soa-infra/services/default/HelloWorld/helloworldprocess_client_ep?WSDL    (Accessible) - Working Fine
b.     http://10.10.x.x:9711/soa-infra/services/default/HelloWorld/helloworldprocess_client_ep?WSDL                        (Accessible) - Working Fine
c.     http://localhost:9711/soa-infra/services/default/HelloWorld/helloworldprocess_client_ep?WSDL                                    (Not Accessible)
Either the WSDL URL is invalid or the WSDL file is not valid or incorrect. - WSDLException: faultCode=PARSER_ERROR: Failed to read wsdl file at: "http://localhost:9711/soa-infra/services/default/HelloWorld/helloworldprocess_client_ep?WSDL", caused by: java.net.ConnectException. : java.net.ConnectException: Connection refused
3.     Local Address localhost
Managed Server HelloSOAServer Set the "Listen Address" to the localhost  127.0.0.1
a.     http://hostname.com:9711/soa-infra/services/default/HelloWorld/helloworldprocess_client_ep?WSDL    (Not Accessible)
b.     http://10.10.x.x:9711/soa-infra/services/default/HelloWorld/helloworldprocess_client_ep?WSDL                        (Not Accessible)
c.     http://localhost:9711/soa-infra/services/default/HelloWorld/helloworldprocess_client_ep?WSDL                                   (Not Accessible)
Unable to retrieve composite details.
The composite HelloWorld (1.0) is not available. This could happen because either the composite has been undeployed or soa-infra has not yet loaded this

Similar Messages

  • Error while deploying composite to weblogic

    Getting following error while deploying composite to weblogic; As I got some reason from google that, its because of jdk8. If it is a known issue, does oracle released any patch for this?
    8:16:43 AM] Server is most likely down. Please check the server status and make sure it is up.
    [08:16:43 AM] Error deploying archive sca_ValidatePayment_rev1.0.jar to partition "default" on server AdminServer [http://192.168.2.1:7001]
    [08:16:43 AM] HTTP error code returned [-1]
    [08:16:43 AM] Error message from server:
    Server is most likely down. Please check the server status and make sure it is up.
    [08:16:43 AM] Check server log for more details.
    [08:16:43 AM] Error deploying archive sca_ValidatePayment_rev1.0.jar to partition "default" on server AdminServer [http://192.168.2.1:7001]
    [08:16:43 AM] Deployment cancelled.
    [08:16:43 AM] ----  Deployment incomplete  ----.
    [08:16:43 AM] Error deploying archive file:/C:/JDeveloper/mywork/e2e-1201-composites/ValidatePayment/deploy/sca_ValidatePayment_rev1.0.jar
    (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)

    Hi Priya,
    Can you check the server status.It clearly says that the server is down.Check the status of the server and also the disk space .
    [08:16:43 AM] Error message from server:
    Server is most likely down. Please check the server status and make sure it is up.

  • Bpm 11g error while deploying composite. BPM_CUBE_PROCESS_INDX1

    Hello,
    Got the following error while deploying the very first composite to a newly installed bpm 11.1.1.5.0 server on windows 2003 server with Oracle 10g Express Data base:
    Deploying on partition "default" from "/Farm_BPM_11g_Domain/BPM_11g_Domain/soa_server1"...
    Deployment failed on "/Farm_BPM_11g_Domain/BPM_11g_Domain/soa_server1".
    Internal Exception: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (DEV_SOAINFRA.BPM_CUBE_PROCESS_INDX1) violated
    Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (DEV_SOAINFRA.BPM_CUBE_PROCESS_INDX1) violated
    ; nested exception is:
    Internal Exception: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (DEV_SOAINFRA.BPM_CUBE_PROCESS_INDX1) violated
    Internal Exception: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (DEV_SOAINFRA.BPM_CUBE_PROCESS_INDX1) violated
    Internal Exception: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (DEV_SOAINFRA.BPM_CUBE_PROCESS_INDX1) violated
    Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (DEV_SOAINFRA.BPM_CUBE_PROCESS_INDX1) violated
    ; nested exception is:
    Internal Exception: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (DEV_SOAINFRA.BPM_CUBE_PROCESS_INDX1) violated
    Internal Exception: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (DEV_SOAINFRA.BPM_CUBE_PROCESS_INDX1) violated
    Query: InsertObjectQuery(CubeProcess(domain:default composite:ComunicacionesOficiales revision:1.01 name:CorrespondenciaExternaEnviada hasNametab:false)).
    BPM_CUBE_PROCESS_INDX1 is an index from the SOAINFRA schema... should I change it to be not unique?
    Thanks in advance,
    Josue

    I'm getting the same issue deploying my first application on to a fresh 11.1.1.4 install.
    Also win2003 server, also XE.
    install is going into partition "default"
    On further review, this table is empty before the deploy. Does the deployment try to create the Process twice? Or perhaps I have two different Processes with the same name (but in different Folders?) don't think that jdev will allow this....)
    Edited by: wylderbeast on Jun 21, 2011 12:55 PM

  • Error while Deploying Composite using Process Composer

    We are using 11g and have a BPM project which has been successfully deployed using BPM Studio. We have now published the same project to the MDS and using Process composer, we try to deploy the same composite with a different version to the BPM run time. Validation is successful but encountering deployment error.
    "Deployment Failed : Error occured during deployment of composite: <humantaskname> to service engine:implementation workflow for composite:<compositename>. ORABPEL - 30124."
    Can anyone suggest what could be wrong here.

    You may have deployed QuoteProcessLab from JDeveloper before while you had followed the instructions in the previous chapter.
    You should publish its template only for Composer.
    Log onto EM console and unploy it.
    Then, do publish on Composer and it will work.
    That's how I made it.
    Edited by: user6152942 on Dec 19, 2011 1:48 PM

  • Error while deploying Composite to SOA 11.1.1.3.0 cluster

    This is the error we are getting while deploying the composite to a cluster from the em console. We deploy from the em console .
    We choose node1 and then deploy it to the partition default .For node 2 also we do the same.
    Deploying on partition "default" of "/Farm_soadomain/soadomain/SOA_Cluster" ...
    Deploying on "/Farm_soadomain/soadomain/SOA_Cluster" failed!
    Error during deployment: Operation failed on node Member(Id=1 Timestamp=2010-11-26 17:56:11.585 Address=10.6.4.183:8089 MachineId=2141 Location=process:[email protected]). Please see local log for details..
    Deploying on partition "default" of "/Farm_soadomain/soadomain/SOA_Cluster" ...
    Deploying on "/Farm_soadomain/soadomain/SOA_Cluster" failed!
    Error during deployment: Operation failed on node Member(Id=1 Timestamp=2010-11-26 17:56:11.585 A
    However if we reboot the nodes then the error disappears and process gets deployed successfully..
    Can anyone suggest why this error happens and what could be the solution?
    Thanks

    Anyone has any clue for this issue. We got the same issue too.
    Thanks.

  • Error while deploying composite from JDeveloper11g

    Hi ,
    Has anyone cme across this error while trying to deploy a composite form JDev11g PS1 ?
    3:41:24 PM] Error deploying archive sca_FileConverter_rev1.1.jar to soa_server1 [LSPLMGMTCH:8001]
    [03:41:24 PM] HTTP error code returned [500]
    [03:41:24 PM] Error message from server:
    Error during deployment: java.lang.RuntimeException: Failed to delete C:\Oracle\Middleware\user_projects\domains\base_domain\deployed-composites\FileConverter_rev1.1\sca_FileConverter_rev1.1\0be2abc9-14d4-42c6-9020-f1dc0bc423f2\SCA-INF\lib\batik.jar: Failed to delete C:\Oracle\Middleware\user_projects\domains\base_domain\deployed-composites\FileConverter_rev1.1\sca_FileConverter_rev1.1\0be2abc9-14d4-42c6-9020-f1dc0bc423f2\SCA-INF\lib\batik.jar.
    [03:41:24 PM] Check server log for more details.
    [03:41:24 PM] Error deploying archive sca_FileConverter_rev1.1.jar to soa_server1 [LSPLMGMTCH:8001]
    [03:41:24 PM] #### Deployment incomplete. ####
    [03:41:24 PM] Error deploying archive file:/C:/JDeveloper/mywork/ApacheFOP/FileConverter/deploy/sca_FileConverter_rev1.1.jar
    (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)
    thanks,

    Make sure that it is not already deployed and when you undeployed it last time, it was properly done. You may try after restarting the server as well. Check the server logs for more detail about this error.
    Regards,
    Anuj

  • Error while deploying composite using AID

    Hi All,
    We are getting the following error while trying to 'ant' deploy a composite in our TEST instance which was recently upgraded to 11.1.1.5:
    [echo] === Executing Deployments of /oracle/product/Middleware/AIA/Infrastructure/LifeCycle/DP/WBSExtractDP.xml===
    [echo]
    [echo]
    [xslt] Processing /oracle/product/Middleware/AIA/Infrastructure/LifeCycle/DP/WBSExtractDP.xml to /oracle/product/Middleware/AIA/aia_instances/AIA_TEST/tmp/AIDExecuteDP_temp_1311740019.xml
    [xslt] Loading stylesheet /oracle/product/Middleware/AIA/aia_instances/AIA_TEST/tmp/AIDExtractxsl_temp_373744571.xsl
    [UpdateDeployedComposites] Connecting to: service:jmx:t3://edpsvtwl001.baea.com.au:8001/jndi/weblogic.management.mbeanservers.runtime
    BUILD FAILED
    /oracle/product/Middleware/AIA/Infrastructure/Install/AID/AIAExecuteDriver.xml:117: The following error occurred while executing this line:
    /oracle/product/Middleware/AIA/Infrastructure/Install/AID/AIAExecuteDriver.xml:61: java.lang.NoClassDefFoundError: oracle/fabric/management/deployedcomposites/mbean/Status
    Total time: 5 minutes 49 seconds
    The same deployment works fine in DEV instance which is also in the same version but may be upgraded few months prior to TEST being upgraded. Henece I did a diff between the two instances' AIAInstallDriver.xml which to my suspicion is different. Is this difference expected or should both instance have exact same AIAInstallDriver but for any hard coded server values, etc.
    Any suggestion to solve this issue will be appreciated.
    Thanks in advance,
    Babs

    I just found out from our DBA that DEV instance got direct 11.1.1.5 install and TEST instance got upgraded (RUP) from 11.1.1.3 to 11.1.1.5. This may explain the differences in the InstallDriver.xml file, but still does not solve the issue of deploy error in TEST instance.

  • Error while deploying composite - no partitions found

    Hi -
    I am trying to deploy a composite using the right click , deploy option. ( SOA Suite 11g R1 )
    After selecting the application server, I am getting the error - no partitions found .
    Any clues how we can create the partitions or what is the workaround ?
    Thanks
    Tushar

    Can you provide the version of SOA suite you are using 11.1.1.1.0, 11.1.1.2.0 (Patchset1) or 11.1.1.3.0 (Patchset2).
    Partitions concept was introduced only in PS2. Make sure you are using the correct version of JDeveloper & SOA Suite.
    For time being, as a workaround,
    deploy the composite to a jar using JDeveloper and deploy the composite to the server using EM.

  • Error while Deploying composite using Jdeveloper

    Hi ,
    I made app server connection and tested the configuration.
    All the tests ran succesfully. However when I try to deploy my SOA project on server , I am not able to look up soa server .
    Server is on different machine and connected using wifi-router.
    I get following error code :
    java.lang.RuntimeException: javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://[2001:0:4137:9e76:10f6:922:c56d:8255]:7001: Destination unreachable; nested exception is:
         java.net.ConnectException: Connection timed out: connect; No available router to destination]
         at oracle.tip.tools.ide.fabric.asbrowser.WeblogicSOAServer.initPartitions(WeblogicSOAServer.java:89)
         at oracle.tip.tools.ide.fabric.asbrowser.WeblogicSOAServer.<init>(WeblogicSOAServer.java:68)
         at oracle.tip.tools.ide.fabric.asbrowser.ASBrowserHelper.listWeblogicSOAServers(ASBrowserHelper.java:275)
         at oracle.tip.tools.ide.fabric.asbrowser.ASBrowserHelper.listSOAServers(ASBrowserHelper.java:201)
         at oracle.tip.tools.ide.fabric.asbrowser.ASBrowserHelper$RunnableListSOAServers.run(ASBrowserHelper.java:333)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://[2001:0:4137:9e76:10f6:922:c56d:8255]:7001: Destination unreachable; nested exception is:
         java.net.ConnectException: Connection timed out: connect; No available router to destination]
         at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)
         at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:788)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:368)
         at weblogic.jndi.Environment.getContext(Environment.java:315)
         at weblogic.jndi.Environment.getContext(Environment.java:285)
         at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
         at javax.naming.InitialContext.init(InitialContext.java:223)
         at javax.naming.InitialContext.<init>(InitialContext.java:197)
         at oracle.soa.management.internal.facade.ServerManagerImpl.<init>(ServerManagerImpl.java:76)
         at oracle.soa.management.internal.facade.ServerManagerFactoryImpl.createServerManager(ServerManagerFactoryImpl.java:28)
         at oracle.tip.tools.ide.fabric.asbrowser.WeblogicSOAServer.initPartitions(WeblogicSOAServer.java:85)
         ... 6 more
    Caused by: java.net.ConnectException: t3://[2001:0:4137:9e76:10f6:922:c56d:8255]:7001: Destination unreachable; nested exception is:
         java.net.ConnectException: Connection timed out: connect; No available router to destination
         at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:216)
         at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)
         at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:353)
         ... 16 more
    Caused by: java.rmi.ConnectException: Destination unreachable; nested exception is:
         java.net.ConnectException: Connection timed out: connect; No available router to destination
         at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:470)
         at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:321)
         at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:254)
         at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:197)
         at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:238)
         at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:200)
         ... 19 more
    Thanks and Regards,
    Sasmit
    Edited by: Sasmit on 9 Mar, 2012 2:44 AM
    Edited by: Sasmit on 9 Mar, 2012 2:44 AM

    Hope this helps.
    SOA Deployment fails with "connect; No available router to destination"
    Thanks,
    Vijay

  • Error while deploying a composite application

    Hi
    I have an error while deploying my composite application.
    It says
    java.lang.NoClassDefFoundError: com/sap/caf/ui/utils/cool/CoolConnectionProperties
    The versions of my NWDS and WAS are 7.0.Please help.
    Thanks,
    ms.

    Hi
    I have added references to libraries with hard reference type.I also added the dc
    tc/conn/connectorframework.
    I still have errors
    => deployment aborted : file:/C:/DOCUME1/pr46715/Local Settings/Temp/temp28823sap.comcarpool~permissions.sda
    Aborted: development component 'carpool/permissions'/'sap.com'/'local'/'20070702161445':
    Caught exception during access of archive "E:\usr\sap\NWS\DVEBMGS01\SDM\root\origin\sap.com\carpool\permissions\local\20070702161445\temp28823sap.comcarpoolpermissions.sda":
    java.lang.RuntimeException: ERROR: Cannot initialize EARReader: Error while initializing Extended Ear Reader using file: E:\usr\sap\NWS\DVEBMGS01\SDM\root\origin\sap.com\carpool\permissions\local\20070702161445\temp28823sap.comcarpoolpermissions.sda. Reason: Exception occurred while reading ear descriptor xml. Reason: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: </ expected(META-INF/application-j2ee-engine.xml, row:10, col:25)Exception is:
    => deployment aborted : file:/C:/DOCUME1/pr46715/Local Settings/Temp/temp28822sap.comcarpool.ear
    Aborted: development component 'carpool'/'sap.com'/'local'/'20070702165134':
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application sap.com/carpool.. Reason: Exception during generation of components of application sap.com/carpool in container EJBContainer.; nested exception is:      com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application sap.com/carpool in container EJBContainer.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Regards
    ms.

  • Error While Deploying SOA composite 11g

    Hi All,
    i am getting the following error while deploying a soa composite. I dont have any JAVA embedding in my code.Also I tried with a simple hello world bpel
    even its throwing the same error.My soa version version is 11.1.1.3 Kindy help me.
    Deploying on partition "default" of "/Farm_base_domain/base_domain/soa_server1" ...
    Deploying on "/Farm_base_domain/base_domain/soa_server1" failed!
    Error during deployment: Deployment Failed: Error occurred during deployment of component: GetCustomerAccountHierarchyDetailsBGNProvCS to service engine: implementation.bpel for composite: ManageCustomerAccountHierarchy: ORABPEL-01005
    Failed to compile bpel generated classes.
    failure to compile the generated BPEL classes for BPEL process "GetCustomerAccountHierarchyDetailsBGNProvCS" of composite "default/ManageCustomerAccountHierarchy!1.0*soa_54ac82bd-c0e4-4431-b0f2-51a316a38b96"
    The class path setting is incorrect.
    Ensure that the class path is set correctly. If this happens on the server side verify that the custom classes or jars which this BPEL process is depending on are deployed correctly. Also verify that the run time is using the same release/version.
    Thanks and regards,
    Arun

    Deploying BPEL process
    Regards,
    Anuj

  • Error while deploying SOA composite

    Hi,
    I am getting the below error while deploying the SOA composite.
    Error(45,34): Failed to compile bpel generated classes.
    failure to compile the generated BPEL classes for BPEL process "ApprovalProcess" of composite "default/ResourceSerialApproval!1.0"
    The class path setting is incorrect.
    Ensure that the class path is set correctly. If this happens on the server side, verify that the custom classes or jars which this BPEL process is depending on are deployed correctly. Also verify that the run time is using the same release/version.
    I have copied "oimclient.jar" to SCA-INF/lib directory and placed "jps-manifest.jar" in the class path of the project. Also updated the BpelcClasspath with the path of both these jars on the server.
    Please suggest me how to resolve this.
    Thanks in Advance.
    -Hrushi

    This is resolved by placing all the jar files from "OIM_HOME/oracle_common/modules/oracle.jps_11.1.1" directory to the classpath of the project.

  • Error while deploying SOA composite via ant

    I am getting following error while deploying SOA composite through ant from SOA server (UNIX).It is unable to get mds configuration.
    Jdeveloper is not installed in SOA server.
    I am trying to copy the SOA project from local machine to SOA server and trying to deploy from SOA server.
    Error
    Parse of component type files failed, check the adf-config.xml file : "oracle.fabric.common.FabricException: oracle.mds.config.MDSConfigurationException: MDS-01330: unable to load MDS configuration document
    MDS-01329: unable to load element "persistence-config"
    MDS-01370: MetadataStore configuration for metadata-store-usage "mstore-usage_1" is invalid.
    MDS-00503: The metadata path "/u01/orasoa/Oracle/Middleware/Oracle_SOA1/integration" does not contain any valid directories.
    I checked /u01/orasoa/Oracle/Middleware/Oracle_SOA1 directory. Integretion directory is not available.
    Am I missing anything?
    *Please advise.*
    build.propeties
    ============
    # build file for HelloWorldComposite
    composite.name=AntScriptDeployPOCService
    # revision of the composite
    composite.revision=1.0
    # Set oracle.home to <JDEV_HOME>/jdeveloper, where <JDEV_HOME> is JDEV # installation directory
    #oracle.home=C:/Oracle/Middleware/jdeveloper
    oracle.home=/u01/orasoa/Oracle/Middleware/Oracle_SOA1
    # soa-server side oracle home directory - needed for deployment plan
    # and the weblogic sca library deployment
    soa.server.oracle.home=/u01/orasoa/Oracle/Middleware/Oracle_SOA1
    ###### Deployment server connection information
    # the admin server connection information
    admin.server.host=10.40.237.106
    admin.server.port=7001
    # the domain where soa infra is installed
    server.domain.name=soa_domain
    # connection information for the managed server, used for soa-deployment
    managed.server.host=10.40.237.106
    managed.server.port=8001
    # User and credentials for the servers
    server.user=weblogic
    server.password=<password>
    # wls server where soa is targeted.
    server.targets=soa_server1
    #local.java.home=C:/Oracle/Middleware/jdk160_14_R27.6.5-32
    local.java.home=/u01/orasoa/Oracle/Middleware/jdk160_14_R27.6.5-32
    Build.xml
    <?xml version="1.0" encoding="UTF-8" ?>
    <project name="AntScriptDeployPOCService" default="all">
    <!-- build.properties -->
    <property file="build.properties"/>
    <property name="deploy.dir" value="../deploy"/>
    <!-- Add targets here -->
    <target name="compile-package">
    <property name="sca-inf.classes.dir" value="../SCA-INF/classes"/>
    <mkdir dir="${sca-inf.classes.dir}"/>
    <ant antfile="${oracle.home}/bin/ant-sca-package.xml" target="package" inheritall="false">
    <property name="oracle.home" value="${oracle.home}"/>
    <property name="compositeDir" value="${basedir}/../"/>
    <!-- needed for adf config -->
    <property name="scac.application.home" value="${basedir}/../.."/>
    <!-- name of the composite -->
    <property name="compositeName" value="${composite.name}"/>
    <!-- revision of the composite -->
    <property name="revision" value="${composite.revision}"/>
    <!-- java.passed.home passed to scac, this property will be
    overwritten to the env.JAVA_HOME if such env variable is defined in OS level-->
    <property name="java.passed.home" value="${local.java.home}"/>
              <!--property name="java.passed.home" value="C:/Oracle/Middleware/jdk160_14_R27.6.5-32"-->
    </ant>
    </target>
    <target name="deploy">
    <condition property="deploymentplan.name" value="null">
    <not>
    <isset property="${deploymentplan.name}"/>
    </not>
    </condition>
    <echo>Deploying to http://${managed.server.host}:${managed.server.port}/soa-infra/deployer</echo>
    <ant antfile="${oracle.home}/bin/ant-sca-deploy.xml" target="deploy" inheritall="false">
    <!-- reformat of prop names -->
    <property name="user" value="${server.user}"/>
    <property name="password" value="${server.password}"/>
    <!-- create the url for deployment -->
    <property name="serverURL" value="http://${managed.server.host}:${managed.server.port}/soa-infra/deployer"/>
    <!-- location of the sar -->
    <property name="sarLocation" value="${deploy.dir}/sca_${composite.name}_rev${composite.revision}.jar"/>
    <!-- force overwrite if already there -->
    <property name="overwrite" value="true"/>
    <!-- configplan-->
    <property name="configplan" value="${deploymentplan.name}"/>
    </ant>
    </target>
    <target name="all" depends="compile-package,deploy"/>
    </project>

    Check whether the adf-config.xml file in your app is having proper mds path similar to this:
    <adf-mds-config xmlns="http://xmlns.oracle.com/adf/mds/config">
    <mds-config xmlns="http://xmlns.oracle.com/mds/config">
    <persistence-config>
    <metadata-namespaces>
    <namespace metadata-store-usage="mstore-usage_1" path="/soa/shared"/>
    </metadata-namespaces>
    <metadata-store-usages>
    <metadata-store-usage id="mstore-usage_1">
    <metadata-store class-name="oracle.mds.persistence.stores.file.FileMetadataStore">
    <property value="${oracle.home}/integration"
    name="metadata-path"/>
    <property value="seed" name="partition-name"/>
    </metadata-store>
    </metadata-store-usage>
    </metadata-store-usages>
    </persistence-config>
    </mds-config>
    </adf-mds-config>
    "

  • Error while deploying war file

    I am getting this error while deploying a war file.
    (Also I am attaching error.txt containing the full exception stacktrace)
    ####<Apr 17, 2002 4:04:28 PM EDT> <Debug> <HTTP> <urkel> <myserver> <ExecuteThread:
    '1' for queue: '__weblogic
    adminhtml_queue'> <system> <> <101158> <Exception thrown while loading buying4p:
    java.lang.StringIndexOutOfB
    oundsException: String index out of range: -1>
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(String.java:1525)
    at weblogic.servlet.internal.WebAppHelper.resolveManifestName(WebAppHelper.java:469)
    at weblogic.servlet.internal.WebAppHelper.extractClassFiles(WebAppHelper.java:177)
    at weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebAppServletContext.java:3405)
    at weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServletContext.java:3376)
    at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContext.java:862)
    at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:815)
    at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:428)
    at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
    at weblogic.j2ee.Application.addComponent(Application.java:163)
    at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
    at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:76)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy34.addWebDeployment(Unknown Source)
    at weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployment(WebServerMBean_Cachin
    gStub.java:1121)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:315)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:
    491)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:361)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy12.addDeployment(Unknown Source)
    at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1516)
    at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:895)
    at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
    at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:295)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
    at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
    at $Proxy9.setTargets(Unknown Source)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
    at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135)
    at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
    at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    [error.txt]

    Hi,
    Please post this to the servlet newsgroup.
    - Matt
    saM wrote:
    I am getting this error while deploying a war file.
    (Also I am attaching error.txt containing the full exception stacktrace)
    ####<Apr 17, 2002 4:04:28 PM EDT> <Debug> <HTTP> <urkel> <myserver> <ExecuteThread:
    '1' for queue: '__weblogic
    adminhtml_queue'> <system> <> <101158> <Exception thrown while loading buying4p:
    java.lang.StringIndexOutOfB
    oundsException: String index out of range: -1>
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(String.java:1525)
    at weblogic.servlet.internal.WebAppHelper.resolveManifestName(WebAppHelper.java:469)
    at weblogic.servlet.internal.WebAppHelper.extractClassFiles(WebAppHelper.java:177)
    at weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebAppServletContext.java:3405)
    at weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServletContext.java:3376)
    at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContext.java:862)
    at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:815)
    at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:428)
    at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
    at weblogic.j2ee.Application.addComponent(Application.java:163)
    at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
    at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:76)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy34.addWebDeployment(Unknown Source)
    at weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployment(WebServerMBean_Cachin
    gStub.java:1121)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:315)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:
    491)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:361)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy12.addDeployment(Unknown Source)
    at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1516)
    at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:895)
    at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
    at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:295)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
    at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
    at $Proxy9.setTargets(Unknown Source)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
    at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135)
    at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
    at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Name: error.txt
    error.txt Type: Plain Text (text/plain)
    Encoding: base64

  • Error while deploying ear in weblogic 9.1

    im getting the following error while deploying my ear created using ant script in weblogic 9.1.
    pls help me
    <May 2, 2006 8:14:42 PM IST> <Error> <J2EE Deployment SPI> <BEA-260101> <Parameter may not be null.
    java.lang.NullPointerException
         at weblogic.deploy.api.internal.utils.ConfigHelper.checkParam(ConfigHelper.java:142)
         at weblogic.deploy.api.tools.ModuleInfo.createModuleInfo(ModuleInfo.java:82)
         at weblogic.deploy.api.tools.SessionHelper.getModuleInfo(SessionHelper.java:607)
         at com.bea.console.actions.app.install.Flow.appSelected(Flow.java:453)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         Truncated. see log file for complete stacktrace
    >
    **********************

    Hi Binu,
    Was the ear file built using WLS 9.1 ant scripts ?
    Thanks
    Raj

Maybe you are looking for