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

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 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

  • 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.....

  • Building ADF  application Using Maven

    I have a requirement to build the Adf application using Maven.
    My JDeveloper version is 11.1.1.3 and I imported the Maven plugins.
    When I create the new Fusion application , pom.xml is getting created in model project but not in viewcontroller project. Any reason for that?
    Please help me to point to the right article and example to build Adf application using Maven?

    User,
    While you can build an ADF app using Maven, it's nowhere near easy or automated in terms of getting started. There are a few people who are doing it, but they have invested a lot of effort including:
    * loading the ADF libraries into their corporate repositories
    * re-structuring their ADF projects to match the Maven directory standard (or customizing their POMs)
    * Hand-building POMs for their ADF apps
    Most or all of the people that I know who are doing this are doing all of these things without the benefit of the Maven integration provided in JDeveloper. If you have a search of this forum and the [url https://groups.google.com/forum/?fromgroups#!forum/adf-methodology]ADF EMG, you can find plenty of discussions about this. There's no "step-by-step" guide that I know of, and it will definitely take you quite a bit of effort to get started. The Maven integration in JDeveloper is still in developer preview mode, and in my opinion, isn't ready for prime time - at least not with respect to ADF projects.
    John

  • How to attach security policies to SOA composite References using WLST?

    Hi SOA Experts,
    Can any one send me wlst commands to attach security policies to SOA Composite references ?

    Hi,
    The WLST function for attaching an already available policy to a composite 'endpoint' is documented there :
    http://docs.oracle.com/cd/E25178_01/web.1111/e13813/custom_webservices.htm#autoId53
    You can either target the exposed interface or a reference.
    For exemple, when I want to attach a policy to a SOA Composite I use these parameters :
    attachWebServicePolicy('None',<partitionName>+'/'+<compositeName>+'['+<revisionNumber>+']',"soa",<serviceName>,<portName>,<policyName>)
    regards,
    mathieu

  • Schema for Oracle SOA Suite 11g: Build Composite Applications self study cd

    I purchased the self study CD on subject Oracle SOA Suite 11g: Build Composite Applications. I like the class so far, but I am unsure if the class exercises come with the CD, which seems to contain mostly flash and web material for the course. Does anyone know if the SOADEMO schema comes as a default with the Oracle SOA Suite, or if not, how a person might get those exercise prerequisites/ oracle schema create scripts?
    .

    You may want to check with Oracle University http://bit.ly/14ivVR.
    Regards,
    Brandye Barrington
    Certification Forum Moderator

  • SOA Spring Component- Build failure

    Hi ,
    I have a 12c composite which contains a spring component ,JMS and DB adapters. I am able to compile and deploy this project  from JDeveloper.
    I have requirement to automate the deployment.
    When I try to compile this project using Maven or Ant the build is failing with the below error.
    INFO] [exec] C:\JDeveloper\mywork\CommonServicesFramework\LogHandlerService\SOA//composite.xml:64: error: Source port type for "LogHandler" does not match target port type for "InsertToAuditDB"
    [INFO] [exec] C:\JDeveloper\mywork\CommonServicesFramework\LogHandlerService\SOA//composite.xml:60: error: Source port type for "AuditTopicConsumer" does not match target port type for "LogHandler"
    [INFO] [exec] C:\JDeveloper\mywork\CommonServicesFramework\LogHandlerService\SOA//composite.xml:68: error: Source port type for "LogHandler" does not match target port type for "FetchPreferenceFlag"
    [INFO] compile: [cmd:[C:\Program Files\Java\jdk1.7.0_71\bin\java, -Djava.protocol.handler.pkgs=oracle.mds.net.protocol|oracle.fabric.common.classloaderurl.handler|oracle.fabric.common.uddiurl.handler, oracle.soa.scac.ValidateComposite, C:\JDeveloper\mywork\CommonServicesFramework\LogHandlerService\SOA//composite.xml, -level=1, -appHome=C:\JDeveloper\mywork\CommonServicesFramework]] exit code=1
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 11.162s
    [INFO] Finished at: Thu Apr 16 00:49:50 IST 2015
    [INFO] Final Memory: 12M/226M
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal com.oracle.soa.plugin:oracle-soa-plugin:12.1.3-0-0:compile (default-compile) on project LogHandlerService: SOA COMPILE FAILED with value: 1 -> [Help 1]
    Any feedback is appreciated.
    Thanks,
    Sai.

    Hi Sai,
    Are you using any config plan when  deploying from JDeveloper ? Could you post your composite.xml?
    best regards, Nicolas

  • Automated Composite build/test not work with non-default version

    Hello,
    I have a BPEL composite and I am trying to setup maven and soapUI to build, deploy, test, and upon successful test, set it as the default version. The difficulty I am having is testing the composite before it becomes the default version. I am able to hit the endpoint using the full URL with the randomly generated ID in it using soapUI (see below), but not by using the shortened URL.
    Full URL: http://soabpm-vm:8001/soa-infra/services/default/Project1!0.0.12-SNAPSHOT*soa_13954572-b91f-480d-88d2-037e92083d72/bpelprocess1_client_ep
    Shortened URL: http://soabpm-vm:8001/soa-infra/services/default/Project1!0.0.12-SNAPSHOT/bpelprocess1_client_ep
    I tried hitting the shortened URL outside of the maven build, just using soapUI, and the response is empty. However, if I then mark this new version as default (through EM), and then mark a previous version as default (let's say 0.0.11), then the shortened URL for 0.0.12 can be successfully hit.
    It seems to me then that before the shortened URL above can be used, that specific version must have been set as the default version at some point. This would make an automated maven/soapUI test of new version (but not default) quite difficult, as it would have to somehow retrieve the full URL.
    Is this a bug or can it be fixed with a config setting change?
    Here are the steps in the process, maven build (using the Oracle provided ant sca files):
    1. Compile
    2. Package
    3. Deploy, not as default
    4. Test the new version (using soapUI plugin)
    5. If successful tests, mark new version as default
    The problem is with step 4, can't determine what the full URL is and the shortened URL does not work.
    Thanks
    Ben

    I found a similar issue in Oracle's support site, Patch 13774839 (based on bug 13569816). I will try that out and post the results here.

  • 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.

  • Unsatisfiedlinkerror when building in Maven

    I am able to run examples of SIGAR1.6 in  java Eclipse (for doing this, I have to use sigar.jar,log4j.jar and sigar-amd64-winnt.dll in java build configuration path).
    Now I am trying to do the same using Maven in Eclipse. I am not very familiar with Maven...
    1)what should be the pom entries for adding artificat(sigar) in maven/eclipse. I looked at following website, but search on SIGAR yielded results that looked unfamiliar with what I downloaded from https://support.hyperic.com/display/SIGAR/Home#Home-download
    The Central Repository Search Engine
    2)I used following as starting point to add artificat(SIGAR) into my maven/eclipse project
    http://stackoverflow.com/questions/11731634/problems-using-sigar-with-maven2
    But then I get following error. How would I make sure maven downloads dependencies (like sigar-amd64-winnt.dll), assuming I got the right artifacts from above stackoverlow website (which I doubt, because it is an old thread)
    no sigar-amd64-winnt.dll in java.library.path
    org.hyperic.sigar.SigarException: no sigar-amd64-winnt.dll in java.library.path
      at org.hyperic.sigar.Sigar.loadLibrary(Sigar.java:172)
      at org.hyperic.sigar.Sigar.<clinit>(Sigar.java:100)
      at org.hyperic.sigar.cmd.Shell.<init>(Shell.java:50)
      at org.hyperic.sigar.cmd.SigarCommandBase.<init>(SigarCommandBase.java:75)
      at com.harmonia.cbm.dataacquistion.pal.hello.<init>(hello.java:39)
      at com.harmonia.cbm.dataacquistion.pal.hello.main(hello.java:109)
    Exception in thread "main" java.lang.UnsatisfiedLinkError: org.hyperic.sigar.Sigar.getCpuInfoList()[Lorg/hyperic/sigar/CpuInfo;
      at org.hyperic.sigar.Sigar.getCpuInfoList(Native Method)
      at com.harmonia.cbm.dataacquistion.pal.hello.output(hello.java:62)
      at org.hyperic.sigar.cmd.SigarCommandBase.processCommand(SigarCommandBase.java:186)
      at com.harmonia.cbm.dataacquistion.pal.hello.main(hello.java:109)

    Nope, you're the only one:
    http://www.google.com/search?client=safari&rls=en-us&q=%220xE8000001%22&ie=UTF-8 &oe=UTF-8

  • 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.....

  • Using Maven with OC4J libraries?

    Well its my turn for a return question to the fine folks on this forum.
    Is anyone out there using Maven with OC4J? I've been using it lately, but there's one area that I'd like to see ideas on how to best approach.
    <p>When developing Ant scripts to build projects, I typically create a j2ee.classpath PATH and add to it various jar files from the OC4J distribution.
    </p>
    <p>However in Maven, I'm not sure how to best approach this with the OC4J JAR files since several of them have declared dependencies in their META-INF/MANIFEST.MF Class-Path fields -- so they aren't really standalone JAR files. </p>
    Take a look at the j2ee/home/admin_client.jar file and its manifest.mf:
    <p>
    Class-Path: lib/adminclient.jar oc4jclient.jar ../../webservices/lib/wsserver.jar lib/ejb.jar
    lib/mx4j-jmx.jar lib/jmxri.jar lib/jmx_remote_api.jar lib/jaas.jar ../../lib/xmlparserv2.jar
    ../../oracle/lib/xmlparserv2.jar lib/javax77.jar lib/javax88.jar ../../diagnostics/lib/ojdl.jar
    ../../oracle/lib/dms.jar ../../oracle/jlib/dms.jar ../../lib/dms.jar ../../jlib/dms.jar lib/jta.jar
    lib/jms.jar lib/connector.jar ../../opmn/lib/optic.jar ../../oracle/jlib/oraclepki.jar ../../jlib
    oraclepki.jar ../../oracle/jlib/ojpse.jar ../../oracle/jdbc/lib/ojdbc14dms.jar ../../oracle/jdbc/lib
    ocrs12.jar ../../oracle/rdbms/jlib/aqapi.jar ../../jlib/ojpse.jar</p>
    So if I want to make use admin_client.jar in a maven project, I really need all the other libraries it in turn references -- and they are all specified as relative paths. If I wanted to load admin_client.jar into a local Maven repository, how would it be done? How would these paths be expressed/maintained?
    -steve-

    Kristen:
    You can use iPhoto Library Manager to copy that album to one library so that all of the files will be in one library to use.
    with iPLM you can split libraries up by roll or album or both. Jusgt figure out which library which albums will belong to.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • 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.

  • Need to monitor soa-infra composite application

    In our Prod environment, we had an issue with our database and after resolving the issue, I just happened to go into the FMW console and noticed that the soa-infra composite application was in a "Failed" status even though the soa_server1 managed server was still "running."
    When I re-started the managed server, the deployed apps all came back successful.
    I'm very familiar with using the FMW console and know how to monitor composite applications using the UI.
    However, as I was not actively looking at the FMW Console, this brings up the issue...
    1. What is the best practice to setting up monitoring of the soa-infra composite application in my domain?
    2. If this can be done using WLST... does anyone have a sample of doing this?
    3. If the answer is to use snmp... does anyone have a sample?
    I am new to using WLST and looking for some assistance.
    My environment is SOA Suite 11g PS2 (11.1.1.3) at the moment.
    thanks in advance.

    Thanks for the reply but if you read closely... the EM console implies that I am actively looking at it. And I have no problems with what the EM console provides but.... I am looking for ways to send an alert or Email notification when the soa-infra application changes to "Failed" state. I've found where I can setup watches and notifications from within the WLS console when a certain MSG ID appears in the log, it can trigger an Email notification be sent and I am pursuing that approach at the moment unless you have a better idea?
    thanks in advance, Phil

Maybe you are looking for