SOA 12c MDS Deployment using Maven

Hi,
I am stuck deploying  mds to soa 12c server using maven. Would be appreciate if someone please help me.
Regards,
Mustaque

You could try Edwins comment.
"You can use the normal soa deploy plugin, just zip the mds artifacts and deploy it just like a SOA Composite sar."
You need to create the zip first.
Content of zip schould look like:
/apps
  /your-mds-files

Similar Messages

  • 12c SOA multiple composite deployment using maven

    Hi,
    I am facing issue with 12c SOA composite deployment using maven. I execute the below command for deploying any composite.
    mvn pre-integration-test –f soa-pom.xml –Dcomposite.name=TestMVNProj –Dcomposite.version=1.1
    Issues:
    As seen above by using above command m able to deploy single composte.But i want to deploy multiple composite belongs to  same application or Different something like below.
    AIM- mvn pre-integration-test –f soa-pom.xml –Dcomposite.name=TestSOAProj1,Project2
    Is there any way to achive this please guide me far same
    In any senerio not only is soa composite.can any one guide me how to deploy multiple projects using maven scripts.
    Thanks in Advance
    Prabhat

    Hi Markus,
    I have tried it with profiling its works . thanks!!!! but some how still i was not able to achieve what i want.
    But thanks for you kind references i have done it by using and maven cmd line switch -pl .Now i can exclude.include modules  dynamically.
    For example;-
    <modules>
        <module>Mvntest1</module>
        <module>MvnDeploymentTest</module>
         <module>MvnDeploymentTest2</module>
        </modules>
    I have multiple module  in my parent pom.xml and if i want to deploy only top 2 of  them.
    # mvn pre-integration-test -pl +Mvntest1,+MvnDeploymentTest   (This only support maven version 3.2.1 and above)
    its working fine :-
    Note:- when we using -pl  if we want to include modules we can give module name with "+"sign and for exclude "- or !" we can give multiple module name separated with "," delimiters .
    THANKS MARKUS!!!!!
    **********************************Happy Deployments*************************************
    Regards
    Prabhat

  • SOA 12c Composite Build using Maven

    Hi,
    I'm trying to build SOA 12c Composites using Maven 3.
    using command mvn install , so that i can build my composites and place jars in local maven repository. But it is doing the following things:
    1. Compile 2. Build 3. Deploy to application server 4. Run Tests .
    Which is not expected.
    I Just wanted to build my composites and place the Jar's in Maven Repo.
    Can anyone comment on this.
    Thanks,
    Chandra_

    You could try Edwins comment.
    "You can use the normal soa deploy plugin, just zip the mds artifacts and deploy it just like a SOA Composite sar."
    You need to create the zip first.
    Content of zip schould look like:
    /apps
      /your-mds-files

  • SOA 12C Enterprise Deployment - Clustered

    We are currently implementing 12c with OSB(Oracle Service Bus), OTD (Oracle Traffic Director) and SOA
    AS you can imagine the build has a number of SOA composites.
    IN our Test and Production environments, we have 2 nodes per cluster, and we have separate OSB and SOA clusters. We also make use of MDS
    Now to set the scene, a number of our SOA composites call other down stream composites.
    As an example a payment composite may call a create customer composite as part of its process.
    The way we have configured this all is the SOA Composites point to MDS, and the WSDL (Endpoint URL) contains the URL for the second service.
    We currently have a situation where if a service is called on Node1, it will always call the downstream services on Node1 due to the fact that the MDS wsdl has the NODE1 endpoint Url Hard coded.
    Obviously this does not make sense in a clustered environment, as such i am seeking assistance from the community on what the best practice is in this situation.
    Our current thoughts are
         1) Have the MDS wsdls point at a load balacer (potentially OTD or some other LBR) which will then distribute the traffic down stream
         2) Have the SOA composites point at an OSB proxy, which does load balancing to the downstream SOA composites
         3) Somehow configure the MDS wsdls to have the end points generate dynamically at run time (hopefully this will then automatigically distribute the load)
    Any advice is welcome

    I think what you're looking for is "callback url"(in enterprise manager) and "frontend host/port" (in weblogic console -> cluster -> http tab).
    hope it helps

  • 12c SOA composite deployment issue using maven

    I am facing issue with 12c SOA composite deployment using maven. I execute the below command for deploying any composite. (Note: Update and run init.cmd file before running the below maven command)
    mvn pre-integration-test –f soa-pom.xml –Dcomposite.name=TestSOAProj –Dcomposite.version=1.1
    Issues:
    As seen above, I specified composite version to be deployed as 1.1 in pom.xml file, but maven deploys the composite with version that is present in composite.xml. It does build the jar file with the version specified in the pom i.e. TestSOAProj_rev1.1.jar, but when it deploys I see the composite with version as 1.0 (this version is in composite.xml). The out of the box maven script is not overwriting the revision in the composite.xml with the value specified in the pom file.
    Also, is there a way to pass the partition name as an user input parameter in the pom file. I tried this with the out of the box pom file by giving the partition name as something other than ‘default’, but the maven script ignores this and always deploys to ‘default’.
    I am not sure if I am missing anything here. Please suggest.
    inti.cmd:
    SET JAVA_HOME=D:\12c-Installation-Path\Java\jdk1.7.0_60
    SET ANT_HOME=D:\12c-Installation-Path\Oracle\Middleware\Oracle_Home\oracle_common\modules\org.apache.ant_1.9.2
    SET M2_HOME=D:\12c-Installation-Path\Oracle\Middleware\Oracle_Home\oracle_common\modules\org.apache.maven_3.0.5
    SET PATH=%PATH%;%JAVA_HOME%\bin;%M2_HOME%\bin;%ANT_HOME%\bin
    soa-pom.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
             <!--
               This POM was automatically generated during SOA project creation.          
               This POM relates to this SOA Composite, i.e. the one in this same directory.
               There is another POM in the SOA Application directory which handles
               the whole SOA Application, which may contain additional projects.
            -->
        <modelVersion>4.0.0</modelVersion>
        <groupId>TestSOAApp</groupId>
        <artifactId>${composite.name}</artifactId>   
      <version>${composite.version}</version>
        <packaging>sar</packaging>
        <!--
               The parent points to the common SOA parent POM.  That is a special POM that is
               shipped by Oracle as a point of customization (only). You can add default values
               for properties like serverUrl, etc. to the SOA common parent POM, so that you
               do not have to specify them over and over in every project POM.
        -->
        <!--<parent>
            <groupId>com.oracle.soa</groupId>
            <artifactId>sar-common</artifactId>
            <version>12.1.3-0-0</version>
        </parent>-->
        <properties>
      <!-- These parameters are used by the compile goal -->
      <code.basedir>${soa.app.source}/${project.artifactId}</code.basedir>
            <scac.input.dir>${code.basedir}/SOA</scac.input.dir>
            <scac.output.dir>${project.basedir}/target</scac.output.dir>
            <scac.input>${scac.input.dir}/composite.xml</scac.input>
            <scac.output>${scac.output.dir}/out.xml</scac.output>
            <scac.error>${scac.output.dir}/error.txt</scac.error>
            <scac.displayLevel>1</scac.displayLevel>
      <!-- if you are using a config plan, uncomment the following line and update to point
                 to your config plan -->
            <configplan>${code.basedir}/${project.artifactId}_cfgplan.xml</configplan>
      <!-- These parameters are used by the deploy and undeploy goals -->
      <composite.name>${project.artifactId}</composite.name>
      <composite.revision>${project.version}</composite.revision>       
      <composite.partition>default</composite.partition>
            <serverUrl>http://${target.hostname}:${target.port}</serverUrl>       
            <!--user>weblogic</user>
            <password>${pwd}</password-->       
      <overwrite>true</overwrite>
            <forceDefault>true</forceDefault>
            <regenerateRulebase>false</regenerateRulebase>
            <keepInstancesOnRedeploy>false</keepInstancesOnRedeploy>
            <!--<jndi.properties.input>UNDEFINED</jndi.properties.input>-->
            <scatest.result>${scac.output.dir}/testResult</scatest.result>
            <!--  input is the name of the composite to run test suties against -->
            <input>${project.artifactId}</input>       
            <!--<scac.ant.buildfile>${env.MW_HOME}/soa/bin/ant-sca-compile.xml</scac.ant.buildfile>
            <sca.ant.testfile>${env.MW_HOME}/soa/bin/ant-sca-test.xml</sca.ant.testfile>
            -->
        </properties>
      <build>
           <plugins>
       <plugin>
      <groupId>org.codehaus.mojo</groupId>
      <artifactId>properties-maven-plugin</artifactId>
      <version>1.0-alpha-2</version>
      <executions>
       <execution>
      <phase>initialize</phase>
      <goals>
       <goal>read-project-properties</goal>
      </goals>
      <configuration>
       <files>
      <file>build-${env}.properties</file>
       </files>
      </configuration>
       </execution>
      </executions>
       </plugin>
      <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-antrun-plugin</artifactId>
      <version>1.6</version>
      <executions>
      <execution>
      <id>read-input</id>
      <phase>prepare-package</phase>
      <inherited>false</inherited>
      <goals>
      <goal>run</goal>
      </goals>
      <configuration>
      <target>
      <property name="fmw.app.basedir" value="${soa.app.source}" />
      <property name="fmw.composite.name" value="${project.artifactId}" />
      <property name="configplan.target.path" value="${scac.output.dir}" />
      <ant antfile="${project.basedir}/replace-tokens.xml" target="replaceConfig" />
      </target>
      </configuration>
      </execution>
      </executions>
      </plugin>
                <plugin>
                    <groupId>com.oracle.soa.plugin</groupId>
                    <artifactId>oracle-soa-plugin</artifactId>
                    <version>12.1.3-0-0</version>
                    <configuration>
                        <compositeName>${project.artifactId}</compositeName>
                        <composite>${scac.input}</composite>
                        <sarLocation>${scac.output.dir}/sca_${project.artifactId}_rev${composite.revision}.jar</sarLocation>
                        <serverUrl>${serverUrl}</serverUrl>
      <user>{}</user>            
      <password>{}</password>
                        <!-- Note: compositeRevision is needed to package, revision is needed to undeploy -->
                        <compositeRevision>${composite.revision}</compositeRevision>
                        <revision>${composite.revision}</revision>
                        <scacInputDir>${scac.input.dir}</scacInputDir>                   
      <input>${input}</input>
      <!--<appHome>${soa.app.source}</appHome>
      <oracleHome>${oracle.home}/soa</oracleHome>                   
      <configplan>${scac.output.dir}/${project.artifactId}_cfgplan_generated.xml</configplan>-->
                    </configuration>
                     <!-- extensions=true is needed to use the custom sar packaging type -->
                    <extensions>true</extensions>
                </plugin>
            </plugins>
        </build>
    </project>
    replace-tokens.xml:
    <?xml version="1.0" encoding="UTF-8" ?>
    <project name="EA_SOA_Build"  default="replaceConfig">
      <target name="replaceConfig">
      <echo>Replacing tokens in configuration file</echo>
      <!-- Following logic copies the dev deployment plan and generates one to meet the target environment. -->
      <delete failonerror="true" file="${fmw.app.basedir}/${fmw.composite.name}/${fmw.composite.name}_cfgplan_generated.xml"/>
      <copy overwrite="true" failonerror="true"
      file  ="${fmw.app.basedir}/${fmw.composite.name}/${fmw.composite.name}_cfgplan.xml"
      tofile="${configplan.target.path}/${fmw.composite.name}_cfgplan_generated.xml"/>
      <replace file="${configplan.target.path}/${fmw.composite.name}_cfgplan_generated.xml">   
       <!-- replace filter for soa source and target endpoints. -->
       <replacefilter token="dmnh1i.manheim.com" value="dmnh2i.manheim.com" />  
      </replace>
      </target>
    </project>
    build-local.properties:
    soa.app.source=D:/Oracle_SOA12c13/Jdev_mywork/OVCApp
    mds.outer.dir=D:/Oracle_SOA12c13/Jdev_mywork/OVCApp/MDS
    target.hostname=localhost
    target.port=7001
    oracle.home=D:/Oracle_SOA12c13/Middleware/Oracle_Home

    hi,
    Can i pass multiple composite name like
    mvn pre-integration-test –f soa-pom.xml –Dcomposite.name=TestSOAProj –Dcomposite.name2="xxx"
    can you please suggest me for same.
    Hint- passing project1,project2.....

  • Issue in deploying Service Bus projects using maven

    Hi,
    I am following the following documentation for deploying service bus projects to my OSB server.
    http://docs.oracle.com/middleware/1213/core/MAVEN/osb_maven_project.htm#MAVEN8973
    I was able to issue mvn package as described in documentation and also able to see sbar files in .data/Maven directory of each project.
    But i am seeing following error when i issue mvn pre-integration-test. Am i missing any steps.
    [INFO] --- oracle-servicebus-plugin:12.1.3-0-0:deploy (default-deploy) @ System ---
    [INFO] Service Bus Archive deployed using session Service_Bus_Maven-System-1424718369010.
    java.io.IOException: Unable to resolve 'weblogic.management.mbeanservers.domainruntime'. Resolved 'w
    eblogic.management.mbeanservers'
            at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.ja
    va:237)
            at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(ClientProviderBase.j
    ava:120)
            at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnectorFactory.java:369)
            at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:267)
            at oracle.sb.maven.plugin.deploy.MBeanHelper$MBeanInvocationHandler.getJMXConnector(MBeanHel
    per.java:228)
            at oracle.sb.maven.plugin.deploy.MBeanHelper$MBeanInvocationHandler.invoke(MBeanHelper.java:
    131)
            at com.sun.proxy.$Proxy16.createSession(Unknown Source)
            at oracle.sb.maven.plugin.DeployMojo.createSession(DeployMojo.java:141)
            at oracle.sb.maven.plugin.DeployMojo.execute(DeployMojo.java:89)
            at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.j
    ava:101)
            at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
            at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
            at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
            at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBu
    ilder.java:84)
            at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBu
    ilder.java:59)
            at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter
    .java:183)
            at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
            at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
            at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
            at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
            at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
            at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
            at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
            at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:606)
            at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
            at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
            at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
            at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
    Caused by: javax.naming.NameNotFoundException: Unable to resolve 'weblogic.management.mbeanservers.d
    omainruntime'. Resolved 'weblogic.management.mbeanservers' [Root exception is javax.naming.NameNotFo
    undException: Unable to resolve 'weblogic.management.mbeanservers.domainruntime'. Resolved 'weblogic
    .management.mbeanservers']; remaining name 'domainruntime'
            at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1180
            at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:270)
            at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:187)
            at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:210)
            at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:224)
            at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:224)
            at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:224)
            at weblogic.jndi.internal.RootNamingNode_WLSkel.invoke(Unknown Source)
            at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:701)
            at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:231)
            at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:527)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
            at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:523)

    Hi Siva,
    I am facing same issue I am bale to create package but while deployment goal I am facing problem.I am following same document as you do.
    I can see my mvn-pre-integration ..show me sucees in result
    [DEBUG]   Excluded: org.apache.maven:maven-artifact:jar:3.0.3
    [DEBUG] Configuring mojo com.oracle.servicebus.plugin:oracle-servicebus-plugin:12.1.3-0-0:package from plugin realm ClassRealm[plugin>com.oracle.servicebus.plugin:oracl
    -servicebus-plugin:12.1.3-0-0, parent: sun.misc.Launcher$AppClassLoader@65450f1f]
    [DEBUG] Configuring mojo 'com.oracle.servicebus.plugin:oracle-servicebus-plugin:12.1.3-0-0:package' with basic configurator -->
    [DEBUG]   (f) oracleHome = C:\Oracle\Middleware\Oracle_Home
    [DEBUG]   (f) project = MavenProject: LinuxMachine:TestOSBLinux:1.0-SNAPSHOT @ C:\JDeveloper\mywork\OSB-DEPLOY\LinuxMachine\TestOSBLinux\pom.xml
    [DEBUG]   (f) system = false
    [DEBUG] -- end configuration --
    [INFO]
    [INFO] --- oracle-servicebus-plugin:12.1.3-0-0:deploy (default-deploy) @ TestOSBLinux ---
    [DEBUG] Configuring mojo com.oracle.servicebus.plugin:oracle-servicebus-plugin:12.1.3-0-0:deploy from plugin realm ClassRealm[plugin>com.oracle.servicebus.plugin:oracle
    servicebus-plugin:12.1.3-0-0, parent: sun.misc.Launcher$AppClassLoader@65450f1f]
    [DEBUG] Configuring mojo 'com.oracle.servicebus.plugin:oracle-servicebus-plugin:12.1.3-0-0:deploy' with basic configurator -->
    [DEBUG]   (f) oraclePassword = Oracle123
    [DEBUG]   (f) oracleServerUrl = http://192.168.137.150:7001
    [DEBUG]   (f) oracleUsername = weblogic
    [DEBUG]   (f) project = MavenProject: LinuxMachine:TestOSBLinux:1.0-SNAPSHOT @ C:\JDeveloper\mywork\OSB-DEPLOY\LinuxMachine\TestOSBLinux\pom.xml
    [DEBUG] -- end configuration --
    [INFO] Service Bus Archive deployed using session Service_Bus_Maven-TestOSBLinux-1429888616161.
    [INFO]
    [INFO] --- oracle-servicebus-plugin:12.1.3-0-0:deploy (deploy) @ TestOSBLinux ---
    [DEBUG] Configuring mojo com.oracle.servicebus.plugin:oracle-servicebus-plugin:12.1.3-0-0:deploy from plugin realm ClassRealm[plugin>com.oracle.servicebus.plugin:oracle
    servicebus-plugin:12.1.3-0-0, parent: sun.misc.Launcher$AppClassLoader@65450f1f]
    [DEBUG] Configuring mojo 'com.oracle.servicebus.plugin:oracle-servicebus-plugin:12.1.3-0-0:deploy' with basic configurator -->
    [DEBUG]   (f) oraclePassword = Oracle123
    [DEBUG]   (f) oracleServerUrl = http://192.168.137.150:7001
    [DEBUG]   (f) oracleUsername = weblogic
    [DEBUG]   (f) project = MavenProject: LinuxMachine:TestOSBLinux:1.0-SNAPSHOT @ C:\JDeveloper\mywork\OSB-DEPLOY\LinuxMachine\TestOSBLinux\pom.xml
    [DEBUG] -- end configuration --
    [INFO] Service Bus Archive deployed using session Service_Bus_Maven-TestOSBLinux-1429888623126.
    [INFO]
    [INFO] ------------------------------------------------------------------------
    [INFO] Building LinuxMachine 1.0-SNAPSHOT
    [INFO] ------------------------------------------------------------------------
    [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-so
    rces, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, i
    tegration-test, post-integration-test, verify, install, deploy]
    [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
    [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
    [DEBUG] === PROJECT BUILD PLAN ================================================
    [DEBUG] Project:       LinuxMachine:LinuxMachine:1.0-SNAPSHOT
    [DEBUG] Dependencies (collect): []
    [DEBUG] Dependencies (resolve): []
    [DEBUG] Repositories (dependencies): [central (https://repo.maven.apache.org/maven2, default, releases)]
    [DEBUG] Repositories (plugins)     : [central (https://repo.maven.apache.org/maven2, default, releases)]
    [DEBUG] =======================================================================
    [INFO] ------------------------------------------------------------------------
    [INFO] Reactor Summary:
    [INFO]
    [INFO] TestOSBLinux ....................................... SUCCESS [ 20.752 s]
    [INFO] LinuxMachine ....................................... SUCCESS [  0.009 s]
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD SUCCESS
    [INFO] ------------------------------------------------------------------------
    But not get deployed .....
    When i  run mvn com.oracle.servicebus.plugin:oracle-servicebus-plugin:deploy**  to invoke deployment goal it fails which below logs
    org.apache.maven.plugin.MojoNotFoundException: Could not find goal 'deploy*.*' in plugin com.oracle.servicebus.plugin:oracle-servicebus-plugin:12.1.3-0-0 amon
    goals deploy, package
            at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getMojoDescriptor(DefaultMavenPluginManager.java:275)
            at org.apache.maven.plugin.DefaultBuildPluginManager.getMojoDescriptor(DefaultBuildPluginManager.java:239)
            at org.apache.maven.lifecycle.internal.MojoDescriptorCreator.getMojoDescriptor(MojoDescriptorCreator.java:233)
            at org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:103)
            at org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:83)
            at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:85)
            at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)
            at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
            at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
            at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
            at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:606)
            at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
            at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
            at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
            at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
    [ERROR]
    [ERROR]
    Thanks&Regards
    Prabhat

  • Deploying applications to glassfish using Maven.

    Hello,
    I am both a glassfish and maven newbie.
    I want to know if there's away to automatically deploy my .war in glassfish via the .pom file.
    (My current solution: an ant script to copy my target .war to glassfish/domains/domain1/autodeploy is not the best;)
    Thanks,

    oceannetau wrote:
    You aren't forced to use Maven's project structure actually.
    When I first tried Maven (after years of using Ant) I was annoyed by the perception that I must conform to Maven. However, the default location for such things as the ${project.build.outputDirectory} are just that - defaults for those who favour convention over configuration. You can of course override them (as I still do for the artifact output directory) and even do so in a super pom for al your projects so they can be automatically inherited.
    Maven is more than just a dependency management tool though - it is a build sequencer. This perhaps more powerful if a more subtle aspect to appreciate. Once you devote a small amount of time to learn how to get the best out of Maven (read Better Builds With Maven as a good starting point) you will not want to go back to Ant - I haven't yet.
    As far as finding JARs is concerned this is just as time consuming with Maven as with any other means of meeting library dependencies. I find two things useful here: one is iGoogle and a plugin for it called "javacio.us search"; the other is using a local proxy such as Nexus which also indexes the repository. Combined with an IDE such as IDEA or Eclipse which have good Maven support including artifact autocompletion this makes locating the right versions of artifacts quite easy.Apache Archiva is another very good Maven proxy. As for finding libraries, I just bang "<dependency name> maven ibiblio" into Google, and let it do the heavy lifting. Never failed me yet. What is annoying is when groupIds change between versions. Yes, Hibernate, I'm looking at you.....

  • Error while deploying using ant in 11g

    Hi all,
    I am trying to deploy order demo application using ant from command line in SOA 11g. I just ran the ant script to package the composite and it is giving me below mentioned error.It is referring to 1 file in all the wsdls and creating problem. Actualy, JMS_FedEx.wsdl is partner link to JMS Adapter that writes to a queue. I am confused because I have 2 more adapter created on similiar lines like this but while compiling no error references are made to those wsdls. I am not sure What's wrong with this wsdl. However, Composite gets complied and deployed using Jdeveloper. Please provide your Inputs.
    Nov 29, 2011 3:10:38 PM oracle.adf.share.ADFContext getCurrent
    WARNING: Automatically initializing a DefaultContext for getCurrent.
    Caller should ensure that a DefaultContext is proper for this use.
    Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly.
    This message may be avoided by performing initADFContext before using getCurrent().
    To see the stack trace for thread that is initializing this, set the logging level of oracle.adf.share.ADFContext to FINEST
    Load of wsdl "oramds:/soa/shared/workflow/TaskServiceInterface.wsdl" failed
    oracle.fabric.common.FabricException: Error in getting XML input stream: oramds:/soa/shared/workflow/TaskServiceInterface.wsdl: oracle.mds.exception.MDSException: MDS-00054: The file to be loaded oramds:/soa/shared/workflow/TaskServiceInterface.wsdl does not exist.
         at oracle.fabric.common.metadata.MetadataManagerImpl.getInputStreamFromAbsoluteURL(MetadataManagerImpl.java:280)
         at oracle.integration.platform.common.MDSMetadataManagerImpl.getInputStreamFromAbsoluteURL(MDSMetadataManagerImpl.java:557)
         at oracle.fabric.common.metadata.MetadataManagerImpl.getDocumentAsInputStream(MetadataManagerImpl.java:159)
         at oracle.integration.platform.common.MDSMetadataManagerImpl.getDocumentAsInputStream(MDSMetadataManagerImpl.java:419)
         at oracle.fabric.common.wsdl.WSDLManager.loadWSDL(WSDLManager.java:244)
         at oracle.fabric.common.wsdl.WSDLManager.loadWSDL(WSDLManager.java:308)
         at oracle.soa.scac.ValidateComposite.loadWSDLs(ValidateComposite.java:934)
         at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:491)
         at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
         at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
    Caused by: java.io.IOException: oracle.mds.exception.MDSException: MDS-00054: The file to be loaded oramds:/soa/shared/workflow/TaskServiceInterface.wsdl does not exist.
         at oracle.mds.internal.net.AbstractOraMDSURLConnection.getPDocStream(AbstractOraMDSURLConnection.java:429)
         at oracle.mds.internal.net.AbstractOraMDSURLConnection.getPDocStreamWithRetry(AbstractOraMDSURLConnection.java:262)
         at oracle.mds.internal.net.AbstractOraMDSURLConnection.getInputStream(AbstractOraMDSURLConnection.java:183)
         at oracle.mds.internal.net.OraMDSURLConnection.getInputStream(OraMDSURLConnection.java:67)
         at java.net.URL.openStream(URL.java:1010)
         at oracle.fabric.common.metadata.MetadataManagerImpl.getInputStreamFromAbsoluteURL(MetadataManagerImpl.java:276)
         ... 9 more
    Caused by: oracle.mds.exception.MDSException: MDS-00054: The file to be loaded oramds:/soa/shared/workflow/TaskServiceInterface.wsdl does not exist.
         ... 15 more
    Load of wsdl "JMS_FedEx.wsdl with Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/receivePO.wsdl] part name = part1     type = {http://xmlns.oracle.com/ns/order}PurchaseOrder" failed
    java.lang.Exception: Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/receivePO.wsdl] part name = part1     type = {http://xmlns.oracle.com/ns/order}PurchaseOrder
         at oracle.soa.scac.WSDLValidator.validateMessageParts(WSDLValidator.java:121)
         at oracle.soa.scac.WSDLValidator.validateMessages(WSDLValidator.java:88)
         at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:47)
         at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:40)
         at oracle.soa.scac.ValidateComposite.loadWSDLs(ValidateComposite.java:964)
         at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:491)
         at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
         at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
    Load of wsdl "JMS_FedEx.wsdl with Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/JMS_USPS.wsdl] part name = body     type = {http://xmlns.oracle.com/ns/fulfillment}Fulfillment" failed
    java.lang.Exception: Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/JMS_USPS.wsdl] part name = body     type = {http://xmlns.oracle.com/ns/fulfillment}Fulfillment
         at oracle.soa.scac.WSDLValidator.validateMessageParts(WSDLValidator.java:121)
         at oracle.soa.scac.WSDLValidator.validateMessages(WSDLValidator.java:88)
         at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:47)
         at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:40)
         at oracle.soa.scac.ValidateComposite.loadWSDLs(ValidateComposite.java:964)
         at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:491)
         at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
         at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
    Load of wsdl "JMS_FedEx.wsdl with Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/OracleRulesFulfillment.wsdl] part name = payload     type = {http://xmlns.oracle.com/FullfillmentRules/OracleRulesFulfillment}callFunctionStateful" failed
    java.lang.Exception: Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/OracleRulesFulfillment.wsdl] part name = payload     type = {http://xmlns.oracle.com/FullfillmentRules/OracleRulesFulfillment}callFunctionStateful
         at oracle.soa.scac.WSDLValidator.validateMessageParts(WSDLValidator.java:121)
         at oracle.soa.scac.WSDLValidator.validateMessages(WSDLValidator.java:88)
         at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:47)
         at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:40)
         at oracle.soa.scac.ValidateComposite.loadWSDLs(ValidateComposite.java:964)
         at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:491)
         at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
         at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
    Load of wsdl "JMS_FedEx.wsdl with Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/OracleRulesFulfillment.wsdl] part name = payload     type = {http://xmlns.oracle.com/FullfillmentRules/OracleRulesFulfillment}callFunctionStateful" failed
    java.lang.Exception: Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/OracleRulesFulfillment.wsdl] part name = payload     type = {http://xmlns.oracle.com/FullfillmentRules/OracleRulesFulfillment}callFunctionStateful
         at oracle.soa.scac.WSDLValidator.validateMessageParts(WSDLValidator.java:121)
         at oracle.soa.scac.WSDLValidator.validateMessages(WSDLValidator.java:88)
         at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:47)
         at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:58)
         at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:40)
         at oracle.soa.scac.ValidateComposite.loadWSDLs(ValidateComposite.java:964)
         at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:491)
         at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
         at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
    Load of wsdl "JMS_FedEx.wsdl with Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/OracleRulesFulfillment.wsdl] part name = payload     type = {http://xmlns.oracle.com/FullfillmentRules/OracleRulesFulfillment}callFunctionStateful" failed
    java.lang.Exception: Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/OracleRulesFulfillment.wsdl] part name = payload     type = {http://xmlns.oracle.com/FullfillmentRules/OracleRulesFulfillment}callFunctionStateful
         at oracle.soa.scac.WSDLValidator.validateMessageParts(WSDLValidator.java:121)
         at oracle.soa.scac.WSDLValidator.validateMessages(WSDLValidator.java:88)
         at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:47)
         at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:40)
         at oracle.soa.scac.ValidateComposite.loadWSDLs(ValidateComposite.java:964)
         at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:491)
         at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
         at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
    Load of wsdl "JMS_FedEx.wsdl with Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/JMS_UPS.wsdl] part name = body     type = {http://xmlns.oracle.com/ns/fulfillment}Fulfillment" failed
    java.lang.Exception: Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/JMS_UPS.wsdl] part name = body     type = {http://xmlns.oracle.com/ns/fulfillment}Fulfillment
         at oracle.soa.scac.WSDLValidator.validateMessageParts(WSDLValidator.java:121)
         at oracle.soa.scac.WSDLValidator.validateMessages(WSDLValidator.java:88)
         at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:47)
         at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:40)
         at oracle.soa.scac.ValidateComposite.loadWSDLs(ValidateComposite.java:964)
         at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:491)
         at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
         at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
    Load of wsdl "JMS_FedEx.wsdl with Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/approveLargeOrder.wsdl] part name = payload     type = {http://xmlns.oracle.com/ns/order}Order" failed
    java.lang.Exception: Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/approveLargeOrder.wsdl] part name = payload     type = {http://xmlns.oracle.com/ns/order}Order
         at oracle.soa.scac.WSDLValidator.validateMessageParts(WSDLValidator.java:121)
         at oracle.soa.scac.WSDLValidator.validateMessages(WSDLValidator.java:88)
         at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:47)
         at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:40)
         at oracle.soa.scac.ValidateComposite.loadWSDLs(ValidateComposite.java:964)
         at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:491)
         at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
         at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
    Load of wsdl "JMS_FedEx.wsdl with Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/ManualApproval_DecisionService_1.wsdl] part name = payload     type = {http://xmlns.oracle.com/ManualApproval/ManualApproval_DecisionService_1}errorInfo" failed
    java.lang.Exception: Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/ManualApproval_DecisionService_1.wsdl] part name = payload     type = {http://xmlns.oracle.com/ManualApproval/ManualApproval_DecisionService_1}errorInfo
         at oracle.soa.scac.WSDLValidator.validateMessageParts(WSDLValidator.java:121)
         at oracle.soa.scac.WSDLValidator.validateMessages(WSDLValidator.java:88)
         at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:47)
         at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:40)
         at oracle.soa.scac.ValidateComposite.loadWSDLs(ValidateComposite.java:964)
         at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:491)
         at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
         at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
    Load of wsdl "JMS_FedEx.wsdl with Message part element undefined in wsdl [http://gdiora001.in.ibm.com:8015/soa-infra/services/default/validationForCC!1.0/getStatusbyCC.wsdl] part name = part1     type = {http://www.globalcompany.com/ns/CCAuthorizationService}creditcardStatusRequest" failed
    java.lang.Exception: Message part element undefined in wsdl [http://gdiora001.in.ibm.com:8015/soa-infra/services/default/validationForCC!1.0/getStatusbyCC.wsdl] part name = part1     type = {http://www.globalcompany.com/ns/CCAuthorizationService}creditcardStatusRequest
         at oracle.soa.scac.WSDLValidator.validateMessageParts(WSDLValidator.java:121)
         at oracle.soa.scac.WSDLValidator.validateMessages(WSDLValidator.java:88)
         at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:47)
         at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:58)
         at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:40)
         at oracle.soa.scac.ValidateComposite.loadWSDLs(ValidateComposite.java:964)
         at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:491)
         at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
         at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
    Load of wsdl "JMS_FedEx.wsdl with Message part element undefined in wsdl [http://gdiora001.in.ibm.com:8015/soa-infra/services/default/validationForCC!1.0/getStatusbyCC.wsdl] part name = part1     type = {http://www.globalcompany.com/ns/CCAuthorizationService}creditcardStatusRequest" failed
    java.lang.Exception: Message part element undefined in wsdl [http://gdiora001.in.ibm.com:8015/soa-infra/services/default/validationForCC!1.0/getStatusbyCC.wsdl] part name = part1     type = {http://www.globalcompany.com/ns/CCAuthorizationService}creditcardStatusRequest
         at oracle.soa.scac.WSDLValidator.validateMessageParts(WSDLValidator.java:121)
         at oracle.soa.scac.WSDLValidator.validateMessages(WSDLValidator.java:88)
         at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:47)
         at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:40)
         at oracle.soa.scac.ValidateComposite.loadWSDLs(ValidateComposite.java:964)
         at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:491)
         at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
         at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
    Load of wsdl "JMS_FedEx.wsdl with Message part element undefined in wsdl [http://gdiora001.in.ibm.com:8015/soa-infra/services/default/validationForCC!1.0/getStatusbyCC.wsdl] part name = part1     type = {http://www.globalcompany.com/ns/CCAuthorizationService}creditcardStatusRequest" failed
    java.lang.Exception: Message part element undefined in wsdl [http://gdiora001.in.ibm.com:8015/soa-infra/services/default/validationForCC!1.0/getStatusbyCC.wsdl] part name = part1     type = {http://www.globalcompany.com/ns/CCAuthorizationService}creditcardStatusRequest
         at oracle.soa.scac.WSDLValidator.validateMessageParts(WSDLValidator.java:121)
         at oracle.soa.scac.WSDLValidator.validateMessages(WSDLValidator.java:88)
         at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:47)
         at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:40)
         at oracle.soa.scac.ValidateComposite.loadWSDLs(ValidateComposite.java:964)
         at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:491)
         at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
         at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
    Load of wsdl "JMS_FedEx.wsdl with Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/FulfillmentProcess.wsdl] part name = payload     type = {http://xmlns.oracle.com/ns/fulfillment}Fulfillment" failed
    java.lang.Exception: Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/FulfillmentProcess.wsdl] part name = payload     type = {http://xmlns.oracle.com/ns/fulfillment}Fulfillment
         at oracle.soa.scac.WSDLValidator.validateMessageParts(WSDLValidator.java:121)
         at oracle.soa.scac.WSDLValidator.validateMessages(WSDLValidator.java:88)
         at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:47)
         at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:40)
         at oracle.soa.scac.ValidateComposite.loadWSDLs(ValidateComposite.java:964)
         at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:491)
         at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
         at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
    Load of wsdl "JMS_FedEx.wsdl with Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/JMS_FedEx.wsdl] part name = body     type = {http://xmlns.oracle.com/ns/fulfillment}Fulfillment" failed
    java.lang.Exception: Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/JMS_FedEx.wsdl] part name = body     type = {http://xmlns.oracle.com/ns/fulfillment}Fulfillment
         at oracle.soa.scac.WSDLValidator.validateMessageParts(WSDLValidator.java:121)
         at oracle.soa.scac.WSDLValidator.validateMessages(WSDLValidator.java:88)
         at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:47)
         at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:40)
         at oracle.soa.scac.ValidateComposite.loadWSDLs(ValidateComposite.java:964)
         at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:491)
         at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
         at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
    Load of wsdl "JMS_FedEx.wsdl with Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/WriteApprovalResults.wsdl] part name = body     type = {http://xmlns.oracle.com/ns/order}Order" failed
    java.lang.Exception: Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/WriteApprovalResults.wsdl] part name = body     type = {http://xmlns.oracle.com/ns/order}Order
         at oracle.soa.scac.WSDLValidator.validateMessageParts(WSDLValidator.java:121)
         at oracle.soa.scac.WSDLValidator.validateMessages(WSDLValidator.java:88)
         at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:47)
         at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:40)
         at oracle.soa.scac.ValidateComposite.loadWSDLs(ValidateComposite.java:964)
         at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:491)
         at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
         at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
    Load of wsdl "JMS_FedEx.wsdl with Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/WriteApprovalResults_Remote.wsdl] part name = body     type = {http://xmlns.oracle.com/pcbpel/adapter/ftp/}OutboundFTPHeaderType" failed
    java.lang.Exception: Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/WriteApprovalResults_Remote.wsdl] part name = body     type = {http://xmlns.oracle.com/pcbpel/adapter/ftp/}OutboundFTPHeaderType
         at oracle.soa.scac.WSDLValidator.validateMessageParts(WSDLValidator.java:121)
         at oracle.soa.scac.WSDLValidator.validateMessages(WSDLValidator.java:88)
         at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:47)
         at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:40)
         at oracle.soa.scac.ValidateComposite.loadWSDLs(ValidateComposite.java:964)
         at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:491)
         at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
         at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
    Thanks,
    Vikas Manchanda

    Read the last post please -
    Unable to Compile-All in Weblogic Fusion Demo
    Regards,
    Anuj

  • Not able to integrate SOA Suite with EBS using Oracle APPS Adapter

    Hi,
    We need to listen to outbound business events of Oracle EBS using BES via Oracle APPS Adapter.
    We have created a composite containing Oracle Application Adapter and BPEL Process.
    In Apps adapter when configured Outbound Business events "oracle.apps.bom.component.modified" using Dequeue Operation,a corresponding subscriber is created in WF_BPEL_Q for respective event selected.
    In Oracle EBS
    for "oracle.apps.bom.component.modified" status is enabled and in subscription WF_BPEL_QAGENT is there.
    When we are changing any BOM component in Oracle EBS Designer and saving it, a record is being created in "WF_BPEL_QTAB".
    BPEL Process( Oracle Apps Adapter Partner Link---> Recieve Actvity ) instances are not being created when any BOM component is being changed.
    Oracle Apps Adapter is not able to dequeue the data from WF_BPEL_QTAB.
    There is not any error/exception in oracle soa suite server logs for Oracle APPS adapter.
    SOA Diagnostics Logs are :
    [2012-07-04T08:55:51.304+05:30] [AdminServer] [NOTIFICATION] [] [oracle.soa.bpel.engine] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1ae79e0a6c47b292:-ec3eb:1384ffb303d:-8000-0000000000000312,0] [APP: soa-infra] CubeServiceEngine=> initing default/Testr!4.0*soa_f1fe3bbc-1269-437c-a75f-1239da743fea/BPELProcess1
    [2012-07-04T08:55:51.304+05:30] [AdminServer] [NOTIFICATION] [] [oracle.integration.platform.blocks.deploy] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1ae79e0a6c47b292:-ec3eb:1384ffb303d:-8000-0000000000000312,0] [APP: soa-infra] Publishing deploy event for default/Testr!4.0*soa_f1fe3bbc-1269-437c-a75f-1239da743fea
    [2012-07-04T08:55:51.382+05:30] [AdminServer] [NOTIFICATION] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1ae79e0a6c47b292:-ec3eb:1384ffb303d:-8000-0000000000000312,0] [APP: soa-infra] JCABinding=> [Testr.bom_cm/4.0] :load Loading bom_cm_apps.jca ..
    [2012-07-04T08:55:51.390+05:30] [AdminServer] [NOTIFICATION] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1ae79e0a6c47b292:-ec3eb:1384ffb303d:-8000-0000000000000312,0] [APP: soa-infra] JCABinding=> bom_cm Performing JCAEndpointActivation::prepareActivation for {AppsEventSchema=ANY_SCHEMA, MessageSelectorRule=tab.user_data.event_name = 'oracle.apps.bom.component.modified', Consumer=ORA_8cpkad9l88sj0c9n8kq42ghm85, QueueName=WF_BPEL_Q, DatabaseSchema=APPS}
    [2012-07-04T08:55:51.391+05:30] [AdminServer] [NOTIFICATION] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1ae79e0a6c47b292:-ec3eb:1384ffb303d:-8000-0000000000000312,0] [APP: soa-infra] JCABinding=> bom_cm JCAEndpointActivation::prepareActivation - Locating JCA Binding Component instance: SCA_AS11R1
    [2012-07-04T08:55:51.397+05:30] [AdminServer] [NOTIFICATION] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1ae79e0a6c47b292:-ec3eb:1384ffb303d:-8000-0000000000000312,0] [APP: soa-infra] JCABinding=> JCABinding=> Instantiating inbound part of JCA Binding Component instance: SCA_AS11R1
    [2012-07-04T08:55:51.397+05:30] [AdminServer] [NOTIFICATION] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1ae79e0a6c47b292:-ec3eb:1384ffb303d:-8000-0000000000000312,0] [APP: soa-infra] JCABinding=> bom_cm JCAEndpointActivation::initiateInboundJcaEndpoint - Creating and initializing inbound JCA endpoint for:[[
    endpoint='bom_cm'
    WSDL location='oramds:/deployed-composites/default/Testr_rev4.0/bom_cm.wsdl'
    portType='DEQUEUE_ptt'
    operation='DEQUEUE'
    *activation properties={AppsEventSchema=ANY_SCHEMA, MessageSelectorRule=tab.user_data.event_name = 'oracle.apps.bom.component.modified', Consumer=ORA_8cpkad9l88sj0c9n8kq42ghm85, QueueName=WF_BPEL_Q, DatabaseSchema=APPS}*
    [2012-07-04T08:55:51.398+05:30] [AdminServer] [NOTIFICATION] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1ae79e0a6c47b292:-ec3eb:1384ffb303d:-8000-0000000000000312,0] [APP: soa-infra] JCABinding=> bom_cm JCAEndpointActivation::initiateInboundJcaEndpoint - Creating endpoint (0) for bom_cm
    [2012-07-04T08:55:51.407+05:30] [AdminServer] [NOTIFICATION] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1ae79e0a6c47b292:-ec3eb:1384ffb303d:-8000-0000000000000312,0] [APP: soa-infra] JCABinding=> bom_cm JCAEndpointActivation::prepareActivation - Done preparing JCAEndpointActivation for Service 'bom_cm'
    [2012-07-04T08:55:51.409+05:30] [AdminServer] [NOTIFICATION] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1ae79e0a6c47b292:-ec3eb:1384ffb303d:-8000-0000000000000312,0] [APP: soa-infra] JCABinding=> [Testr.bom_cm/4.0] :load Successfully loaded bom_cm_apps.jca
    [2012-07-04T08:55:51.410+05:30] [AdminServer] [NOTIFICATION] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1ae79e0a6c47b292:-ec3eb:1384ffb303d:-8000-0000000000000312,0] [APP: soa-infra] JCABinding=> [Testr.bom_cm/4.0] :init Initializing bom_cm_apps.jca
    [2012-07-04T08:55:51.410+05:30] [AdminServer] [NOTIFICATION] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1ae79e0a6c47b292:-ec3eb:1384ffb303d:-8000-0000000000000312,0] [APP: soa-infra] JCABinding=> bom_cm JCAEndpointActivation::performActivation - Performing JCA Endpoint Activation, Endpoint Id='bom_cm'
    [2012-07-04T08:55:51.410+05:30] [AdminServer] [NOTIFICATION] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1ae79e0a6c47b292:-ec3eb:1384ffb303d:-8000-0000000000000312,0] [APP: soa-infra] JCABinding=> bom_cm Performing endpoint activation (1) for bom_cm
    [2012-07-04T08:55:51.411+05:30] [AdminServer] [NOTIFICATION] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1ae79e0a6c47b292:-ec3eb:1384ffb303d:-8000-0000000000000312,0] [APP: soa-infra] JCABinding=> Testr JCA Binding Component instance: SCA_AS11R1 - endpointActivation for portType=DEQUEUE_ptt, operation=DEQUEUE
    [2012-07-04T08:55:51.416+05:30] [AdminServer] [NOTIFICATION] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1ae79e0a6c47b292:-ec3eb:1384ffb303d:-8000-0000000000000312,0] [APP: soa-infra] JCABinding=> Testr Creating new instance of Resource Adapter oracle.tip.adapter.apps.AppsResourceAdapter
    [2012-07-04T08:55:51.417+05:30] [AdminServer] [NOTIFICATION] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1ae79e0a6c47b292:-ec3eb:1384ffb303d:-8000-0000000000000312,0] [APP: soa-infra] JCABinding=> Testr JCA Binding Component instance: SCA_AS11R1 - starting Resource Adapter oracle.tip.adapter.apps.AppsResourceAdapter
    [2012-07-04T08:55:51.471+05:30] [AdminServer] [NOTIFICATION] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1ae79e0a6c47b292:-ec3eb:1384ffb303d:-8000-0000000000000312,0] [APP: soa-infra] Oracle Applications Adapter Starting...AQResourceAdapter
    [2012-07-04T08:55:51.474+05:30] [AdminServer] [NOTIFICATION] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1ae79e0a6c47b292:-ec3eb:1384ffb303d:-8000-0000000000000312,0] [APP: soa-infra] Oracle Applications Adapter Creating Endpoint...
    *[2012-07-04T08:55:51.482+05:30] [AdminServer] [NOTIFICATION] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1ae79e0a6c47b292:-ec3eb:1384ffb303d:-8000-0000000000000312,0] [APP: soa-infra] Oracle Applications Adapter Activating Endpoint...*
    *[2012-07-04T08:55:53.782+05:30] [AdminServer] [NOTIFICATION] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1ae79e0a6c47b292:-ec3eb:1384ffb303d:-8000-0000000000000312,0] [APP: soa-infra] JCABinding=> Testr JCA Binding Component instance: SCA_AS11R1 - successfully completed endpointActivation for portType=DEQUEUE_ptt, operation=DEQUEUE*
    *[2012-07-04T08:55:53.783+05:30] [AdminServer] [NOTIFICATION] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1ae79e0a6c47b292:-ec3eb:1384ffb303d:-8000-0000000000000312,0] [APP: soa-infra] JCABinding=> [Testr.bom_cm/4.0] :init Successfully initialized bom_cm_apps.jca*
    *[2012-07-04T08:55:53.783+05:30] [AdminServer] [NOTIFICATION] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@c8ccf1] [userId: weblogic] [ecid: 1ae79e0a6c47b292:-ec3eb:1384ffb303d:-8000-0000000000000312,1:30342] [APP: soa-infra] Dequeue Agent activated....*
    Regards,
    Abhinav Gupta
    Edited by: Abhinav on Jul 5, 2012 9:56 AM

    We would like to capture a few business events in oracle BOM and PO that are of interest to us. In order to do this,
    we deploy oracle SOA composite with BEPL in the Oracle Fusion Middleware Control. The oracle SOA composite is configured for a particular outbound business event. It should listens on a specific queue WF_BPEL_Q or WF_BPEL_QTAB and de-queues the messages from that Oracle Queue or Oracle AQ Table. In jDeveloper 11g we created a SOA project with oracle applications adapter partner link and a receive.
    Specifically we are trying to capture the business outbound event oracle.apps.bom.component.modified just to get the event data in this receive.
    Partner link configuration: We added the database connection to the oracle EBS instance. Tested it and we
    succeded. Chose ANY_SCHEMA in partner link configuration.
    We ensured that the JNDI Name here( eis/Apps/Apps ) match the JNDI name provided in the weblogic-->Deployments--
    OracleAppsAdapter -->Configuration --> Outbound Connection Pools. For this outbound resource pool, Connection factory interface was javax.resource.cci.ConnectionFactory. Property name xADataSourceName was mapped to JNDI name of the configured JDBC datasource in the weblogic. When we created the connection pool. We tested and it worked fine. This data source had the connection pool configured to the oracle applications schema with APPS user.
    After adding the partner link with the above configuration, we added a receive. We deployed this configuration to the middleware. We went to the oracle EBS modified a BOM component and we expected to having running BPEL instances against the deloyed composite. However, the problem is we are not having any running instance for the composite.
    We found that there are entries in the view AQ$WF_BPEL_QTAB with an ENQ_TIME and ENQ_TIMESTAMP but with no DEQ_TIME or DEQ_TIMESTAMP. The ENQ_TIMESTAMP corresponds to the time we modified BOM in oracle BOM forms/Designer
    The data is being written in WF_BPEL_QTAB for the BOM changes but not being dequeued by oracle applications adapter/composites deployed in soa server.
    Please help me it quite urgent.
    Is there anything we are missing on EBS side to be activited. for the events to be dequeued
    Any Help is appreciated.
    Abhinav

  • Run the Repository Creation Utility (RCU) to install the SOA and MDS schema

    Hi
    I am new to SOA Suit and RCU installation.
    Can any one help me to provide a link to download RCU for linux OS 64-bit.
    how to Run the Repository Creation Utility (RCU) 11gR1PS3 to install the SOA and MDS schemas (Please provide the doc file are installation steps)
    I have installed following softwares
    1. Install Linux OS 64-bit
    2. Install the Oracle 11gR2 (11.2.0.1.0) 32-bit or 64-bit Database.
    3. Install WebLogic 11gR1PS3 (10.3.4.0) 64-bit.
    4. Install SOA Suite 11gR1PS3 (11.1.1.4.0) 64-bit
    Thanks in advance......
    Bye
    Phani

    Hi Dasari,
    Thanks for your reply.
    I have downloaded RCU from
    Prerequisites & Recommended Install Process
    Repository Creation Utility 11.1.1.4.0 Size: 308 MB, Check Sum: 2446020112
    http://www.oracle.com/technetwork/middleware/soasuite/downloads/index.html
    but I didn't saw rcu.sh but I saw RCU_HOME/BIN/rcu.bat file, which is support windows environment.
    I am looking RCU for linux OS 64-bit.
    if the same will use for both windows and linux that to 64-bit. please help me the RCU runing steps
    Thanks
    Phani

  • How to use Maven Java EE projects in NB?

    Hi,
    I probably just missing something than it is an error. Our company uses Maven, and JBoss. Most programmers unfortunatelly uses Eclipse so I do not have anyone to ask. I've checkouted project from SVN, it was correctly recognised by NB as Maven project, I can build it (with some warning, but build is successful). But I cannot run or debug it. Maybe it's because those actions aren't defined by someone who created this project I don't know. Actually I do not know nothing about maven, yet. Question is, how to run or debug this project on my local JBoss server. I did not find way how to do it ...
    thanks in advance
    martin.

    Ok, I say it in this way. I do not know anything about maven, and never used it before. What I DO know, that Eclipse IS NOT Netbeans. In this situation it means that on our project, which I do not know whether it is proper EE maven project or not, I can in Netbeans set ONLY VM options AND some maven action which, as I already said, do not know anything at all, so I cannot even tell whether or not they can be used to solve my problem.
    As I already said what I get from svn IS NOT EE project BUT maven project, this is where netbeans and eclipse differs, since there are no maven projects in eclipse(or at least nobody here heard about them). I do know how to work with EE projects in NB, but I'm talking about maven projects here.
    How others do it. Start JBoss from their eclipse in debug mode, COMPILE EVERYTHING LIKE NORMAL - MAVEN_FREE PROJECT (which I cannot do in NB) deploy all .jars manually in their OS to appropriate JBoss directory, then set breakpoints, do some action in browser and then miracously somehow they get into debug mode in eclipse. I cannot build maven project like simple EE project in NB, when I try to work with what I find in private repository like it's result of normal build, then it does not work since dependencies aren't set correctly so I have to fix them manually and do not know how to do it.
    Look, I know that you can stop pain of person suffering from cancer by shooting his head off, but that's not the cure we're looking for. I've heard that maven was originally intended for simplifying development process and I cannot afford 90minutes procedure in my RunBuilds&TestAsOftenAsPossible work style.
    Actually, there is JUST ONE person in whole firm(not in our city), who know something about maven, others are just lost. That's the reason why I'm asking here to find out what's wrong. I'm looking FOR PROPER WAY how to do it.No for screwing screws with hammer.

  • JCA Adapter for MSMQ in SOA 12c

    Where can I find a good tutorial on how to use JCA Adapter for MSMQ in SOA 12c?

    Actual documentation does include a brief step by step sample, see this:
    http://docs.oracle.com/middleware/1213/adapters/develop-soa-adapters/adptr_msmq.htm#TKADP8788
    Regards
    Juan

  • SetCompositeInstanceTitle in soa 12c

    In soa 12c ora:setCompositeInstanceTitle('dummy name') is not setting title in weblogic server as it did in soa 11g.
    Any pointers are appreciated.
    Checked the documentation too
    these are mentioned at 14.2.6 How to Use bpelx:exec Built-in Methods
    void
    setCompositeInstanceTitle(String
    title)
    Sets the composite instance title
    String setTitle( String title ) /
    String getTitle()
    Title of this instance
    They exist in 12c, but somehow when i used them in bpel file it is not getting reflected in weblogic server "name field"

    You can use setFlowInstanceTitle(String title) instead which can be used to track multiple composites.

  • How to Upload XSD into MDS by using WLST/ANT only

    Hi,
    Can anyone help me out how to upload an XSD into MDS using WLST/ANT only (Not JDEV)
    Please help me out its urgent
    Edited by: 943121 on Dec 28, 2012 8:11 AM

    If you are using AIA, then you will have MDS deployment scripts. Check this link for details - http://docs.oracle.com/cd/E23549_01/doc.1111/e17361/ch18.htm#BABGHIGG
    If not AIA, then you need to build custom ant scripts which will use the api "com.soamds.util.MdsImportTask" for mds deploy and "com.soamds.util.MdsDeleteTask" for mds undeploy.
    Hope this helps.
    -Sriharish.

  • How do I activate Office 2013 that I have deployed using ODT and App-V onto a Remote Desktop Server?

    I am setting up a demo Server 2012 R2 environment (1 DC server, 2 RDSH servers, 1 App-V server).
    I have created an Office 2013 volume license App-V package using the latest Office Deployment Toolkit. I have deployed the App-V package to an RDS server and it all works fine. However, I am unable to activate Office 2013 using the MSDN Office 2013 retail
    key because it tells me the product key is invalid for this version of Office. I've looked at the alternative of using the App-V Sequencer to create the Office 2013 package, but from what I've read this is not a Microsoft supported method.
    Is there any way that I can activate Office 2013 (volume license on RDS) using the method I've outlined above, or is there any way of using the Office2013 download from MSDN such that it can be packaged by the ODT (or App-V Sequencer) for successful deployment
    using App-V and activation using the retail Office 2013 product key on MSDN?

    True, VL channel media can't be activated with MSDN Retail pkeys (that's what I was trying to get you to understand, I figured you would be attempting that, as so many people do :(
    I've not attempted your scenario myself.
    It sounds like you aren't following the supported scenarios as (poorly) described by MS;
    The way I read their guide, for an RDS scenario, you must use a VL key [either MAK or KMS] (since a subscription product+key can't be used on RDS):
    i.e.: <Product ID="ProPlusVolume">
    http://support.microsoft.com/kb/2772509
    http://support.microsoft.com/kb/2915745
    http://technet.microsoft.com/library/dn481351.aspxhttp://blogs.technet.com/b/office_resource_kit/archive/2013/12/02/announcing-app-v-5-0-sp2-support-for-office-2013-volume-licensing-editions.aspx
    So, that all means that for RDS, you can't use anything other than VL "product" (in
    the form of an ODT-generated output) with a VL pkey. So, for your RDS demo setup, you need to use real product and real pkeys.
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

Maybe you are looking for

  • HTTP 500 Internel server error in Custom tag program on Weblogic 8.1

    Dear sir, Please attend my problem... I face the Error 500 Internel server error when I rum the custom tag program on weblogic 8.1. My program Structure is: Program>Home.jsp >WEB-INF>classes>mypack>MyTag.java, MyTag.class >tlds>taglib.tld >web.xml Ho

  • File Security and Encryption - any information?

    I'm impressed with the file sharing (free version) but if its used for business information and documents how secure are they from prying eyes / unauthorised download / hacking etc. ?

  • Bposting document not created(acccount determination error)

    Dear All when i am creating invoice in vf01, the system is unable to create accounting document i have checked acc assignment of customer and material its their, but still its giveing erro error in acc determination this is the message iam geting  Bp

  • Row-Wise Variable not populating in Filter

    Hi, I have a row-wise variable that gets a list of units that an employee belongs to (parent/child units). In answers, I want a prompt with a drop down that shows all of the units the user should be able to access. This works if the user only belongs

  • JTree - Position & Size

    I would like to display a JTree within a JScrollPane in JFrame. My problem is: I can't set the position and size of the scrollPane.      public void SimpleTree() {          WindowUtilities.setNativeLookAndFeel();          addWindowListener(new ExitLi