OSB automated deployment question

Can anyone provide me a working location of import.py file for OSB 11g? The ones on Oracle.com under samples section are not working.
Edited by: 816687 on May 12, 2011 6:42 AM

I used the one's provide @ http://www.insemble.com/oracleservicebus-deployment.html towards the bottom of the page in Sample Download section.
I customized the properties files for the file paths accordingly as per my directory structure.
Hope this helps.
Thanks,
Patrick

Similar Messages

  • OSB configuration deployment

    Hi All,
    We have three environments within our organization Development, Test and Production. For OSB configuration deployment, in the development environment I use the eclipse IDE to connect and deploy configuration onto the OSB server. When it comes to Test and Production, is there a way to just package the OSB configurations for system administrators to deploy, they do not want to use eclipse for deployment. Please suggest.
    Thanks

    you could use a set of scripts like these :
    http://biemond.blogspot.nl/2010/07/osb-11g-ant-deployment-scripts.html
    it's more or less a best practise to automate these kinds of things since doing them manually can be error prone.
    automating all this by scripts and for example a continuous integration like jenkins can help you build better quality artifacts and it will help you or the administratiors to do faster and better deployments to otap

  • Automated Deployment Using admin_client.jar gives 500 error

    Greetings,
    1. standalone OC4J version 10.1.3.3.0
    2. Windows XP platform in a VM
    We have a mature deployment in that the deployment from JDeveloper is routinely successful. During the course of developing continuous integration builds, the automated deployment is now failing. We had succeeded previously using admin_client.jar and the deploy command as follows:
        <target name="deploy_oc4j" depends="assembleEar"
      description="deploy the enterprise archive to a standalone oc4j using admin_client.jar">
        <echo>
          In deploy_oc4j target.
        </echo>
        <java classname="${j2ee.home}/admin_client.jar" fork="true">
            <jvmarg value="-jar"/>
            <arg value="${oc4j.deploy.admin_client}"/>
            <arg value="${oc4j.deploy.username}"/>
            <arg value="${oc4j.deploy.password}"/>
            <arg value="-deploy"/>
            <arg value="-file"/>
            <arg value="${this.application.name}".ear"/>
            <arg value="-deploymentName"/>
            <arg value="${this.application.name}"/>
            <arg value="-bindAllWebApps"/>
            <arg value="${default.application.name}"/>
        </java>
        </target>We now have two issues occurring and they may be related. We have added the capability of creating a connection pool and a data source using admin_client.jar commands:
        <target name="connectionpool" depends="deploy_oc4j"
          description="create a connection pool using admin_client.jar">
        <echo>
        Adding a connection pool.
        </echo>
          <java classname="${j2ee.home}/admin_client.jar" fork="true">
            <jvmarg value="-jar"/>
            <arg value="${oc4j.deploy.admin_client}"/>
            <arg value="${oc4j.deploy.username}"/>
            <arg value="${oc4j.deploy.password}"/>
            <arg value="-addDataSourceConnectionPool"/>
            <arg value="-applicationName"/>
            <arg value="${this.application.name}"/>
            <arg value="-name"/>
            <arg value="jdev-connection-pool-name"/>
            <arg value="-factoryClass"/>
            <arg value="oracle.jdbc.pool.OracleDataSource"/>
            <arg value="-dbUser"/>
            <arg value="username"/>
            <arg value="-dbPassword"/>
            <arg value="password"/>
            <arg value="-url"/>
            <arg value="jdbc:oracle:thin:@dev:1521:ORCL"/>
          </java>
        </target>
        <target name="datasource" depends="connectionpool"
          description="create a datasource using admin_client.jar">
        <echo>
        Adding Managed Data Source.
        </echo>
          <java classname="${j2ee.home}/admin_client.jar" fork="true">
            <jvmarg value="-jar"/>
            <arg value="${oc4j.deploy.admin_client}"/>
            <arg value="${oc4j.deploy.username}"/>
            <arg value="${oc4j.deploy.password}"/>
            <arg value="-addManagedDataSource"/>
            <arg value="-applicationName"/>
            <arg value="${this.application.name}"/>
            <arg value="-name"/>
            <arg value="jdev-connection-managed-name"/>
            <arg value="-jndiLocation"/>
            <arg value="jdbc/name"/>
            <arg value="-connectionPoolName"/>
            <arg value="jdev-connection-pool-name"/>
            <arg value="-dbUser"/>
            <arg value="username"/>
            <arg value="-dbPassword"/>
            <arg value="password"/>
          </java>
        </target>We complete the automated deployment and all ant tasks succeed, including creation of the connection pool and managed data source. During this process, the existing system-jazn-data.xml file is overwritten and our Application's <login module> information has been deleted. Upon editing this file and adding back the login module data and restarting oc4j, we can login to our application. The framework of the site is present along with graphics, yet every page visited yields a 500 error (jspx +and+ HTML). Since the entire deployment is done from ant, we do not have the capability of specifying a the web-app as development configuration. We need advice on how best to debug the deployed application as well as knowledge regarding the mechanism which causes the system-jazn-data.xml file in the oc4j/j2ee/home/config folder to be modified.
    THX
    -Mike
    Edited by: Michael F. Hardy on Sep 11, 2008 5:03 PM
    Edited by: Michael F. Hardy on Sep 11, 2008 5:03 PM
    Edited by: Michael F. Hardy on Sep 11, 2008 5:05 PM

    Found that jar files were missing from autobuild. This continues to be an issue where libraries are added to WEB-INF\lib in JDeveloper and the individual jar files are needed for an automated build process.

  • Automated deployment of OSB artifacts

    Hi,
    I have 4 webservices in OSB I want to automate the deployment of 4 services at a time can anyone suggest me how to write the python script accordingly.
    Thanks in advance :)

    Oops, your post/question is really old and I assume you have got the answers. Nevertheless, for the sake of completion of this thread, here goes -
    Yes you can. All you need to do is to export the changed artifact, be it schema or xquery, as a resource (make sure you uncheck the box meant for "Include dependencies"). And you can import the same where you want the change.

  • OSB Service Deployment

    I am trying to expose web services from EJB as OSB proxy services. Basically, what I have done so far is, import WSDL of web services from URL, create business service and proxy service, and export the project as sbconfig.jar.
    But when I deploy the sbconfig.jar to different environment, I have to change Endpoint URL in the business service and XML schema references in WSDL file. So rather than manually editing from OSB console, is there any way that I can make it configurable or automated? Thanks.
    Regards,
    Kyi Hein

    Hi Atheek,
    That's really helpful. Thanks a lot.
    I have one more question regarding customization file. I have XML schema import in the WSDL file as below.
    <xsd:import namespace="http://....." schemaLocation="http://localhost:7001/TestEJBBean/TestService?xsd=1"/>
    </xsd:schema>
    I couldn't find any place in customization file that I can modify schemaLocation attribute. How could I edit it? Thanks again.
    Regards,
    Kyi Hein

  • Automated Deployment

    I am in the process of automating the deployment of our application ear files to some OC4J 10.1.3 instances. We have a large amount of ear files that get deployed to a bank of application servers. Because of this it can take a large amount of time and be quite painful to do the deployment with the enterprise manager tool. This is the reason we are automating the process.
    My question is about the admin_client.jar file and it's interface. From the documentation I have read I can call the admin_client.jar from the command line and execute deployments. This is great (and works nicely for scripts) but I would like to be able to execute the deployments from java code. Is there an API that I can call the deployment functionality in admin_client.jar?
    Thanks,
    Mark

    Thanks for your response. I don't mind sharing information on the forums, in case someone else might benefit from the discussion.
    The requirements I have for this project were pretty high level. To make the deployment process faster and easier for all environments, with a focus on production. We use Oracle App Server 10.1.3 to host our application. We have 6 machines in production that about 50 ears get deployed to (in peak periods we add additional machines to the mix). The servers are split into two main groups. One set of ears goes to one set of 3 machines and one set of ears goes to the other set of 3 machines. This is similar in the development and QA envirnments, except the number of machines in each set is less. The old deployment process was to manually use the enterprise manager tool to undeploy and deploy each ear to the appropriate container.
    For the last deploy I built ant scripts to do all the deployment. That works well if nothing changes, but the ant scripts are somewhat difficult to maintain. Not all deployments are for everything and it requires quite a bit of script changing each deployment. Each environment is slight different too, so I currently have 6 copies of the ant scripts and it is becoming difficult to maintain. So, the ant scripts were an improvement, but not quite the perfect solution.
    So, what was proposed is to create a gui tool that would solve all the deployment issues. This deployment tool would allow the user to select an environment. The specifics of that environment would then be loaded in to the tool (appropriate urls, ports, OC4J instances, ears per instance, etc). The user could then select a version of ears available from the automated builds and pick and choose which ears to deploy to which machines. Then press a button to begin the process. The screen would update dynamically with the status of each deploy as it is done. The user would be able to drill down in to each deployment and see the deployment log (the log you normally see when deploying each ear). Some deployment rules will also have to be built in to the tool (A has to be deployed before B, C is a child of D).
    Since we are a Java shop, the proposal is to write the deployment tool in Java (probably Swing). The hope was to be able to drive the deployments with some kind of java interface from the tool. The design is to write a wrapper layer above the oracle deploy layer to abstract away the oracle specific code and allow for changes in that layer without affecting too much other code. We will probably be on 10.1.3 for awhile, so I am fine with writing to a 10.1.3 specific interface that is likely to change with the next version. Whatever it takes to let the deploy monkeys do their job quickly and effectively without my intervention.

  • NAM Deployment Question

    Hi,
    I am primarily interested in network performance, behaviour analysis and capacity planning. I am in the process of demo'ing a number of different netflow collector tools such as Flukes netflow collector, Plixers Scrutiniser etc.
    I have heard of the NAM / NAM 2 before but thought this would be priced too high. I have done some more reading on the product and can see benefits in its ability to also analyse traffic in real time from by using SPAN.
    My question is, how many ports can you aggregate into the SPAN session on the NAM 2 6500 card ? My idea is to deploy two NAM modules in our two Core 6500 switches. One "port" on each NAM will be used to collect netflow information from the rest of the network backbone (including remote branch devices), the other "port" will be used as a destination for multiple SPAN source ports, e.g. multiple  Gigabit ethernet backbone links that interconects the entire backbone.
    Can the NAM take this load on the SPAN? I have read that the NAM 2 benefits from supporting the 2 backbone fabric ports, does this therefore mean that it fully supports the 40Gbps connection into the switching fabric backbplane if you have  SUP720 deployed ?
    Thanks in advance.

    I'd suggest you post this in the integration newsgroup.
    -- Rob
    sangita wrote:
    Hallo Everyone,
    I have a question regarding WLI deployment. Could somebody please suggest some
    of the key elements involved in AUTOMATING the WLI8.1 project.
    i know that in WLS8.1 , we can package our application into an .ear file and then
    use either wldeploy ant task or use weblogic.Deployer to automate the deployment
    process.
    I wanted to know how and what are the elements required to be deployed as fas
    as WLI applications are concerned. Like adapters and all .....
    I really appreciate your time on this.
    thank you,
    sangita

  • Automated Deployment of OAF

    Hi Gurus
    We have an automated way of deploying pkgs into database which would pick up the code from a version control system and compile it in the target database.
    But now, we are developing some OAF pages which require unzipping the files on the server (which is fine).... and also requires the pages to be imported into the metadata manually from a client pc....
    Is there a way to avoid this step like just bouncing the web server would help the pages (from the unzipped file) to get loaded into the metadata or someother command which we can use on the server ?
    sorry if this is a newbie question....
    Appreciate any help on this
    Karthik

    I tend to write install scripts for everything, so it can all be automated during a bulk build.
    So, for PG and RN uploads to the database, I wrote the following shell script:
    #!/bin/ksh
    HOST=`tnsping $TWO_TASK | cut -d")" -f2 | cut -d"=" -f2 | tail -2`
    PORT=`tnsping $TWO_TASK | cut -d")" -f3 | cut -d"=" -f2 | tail -2`
    CONN="(description=(address_list=(ADDRESS=(PROTOCOL=TCP)(HOST=$HOST)(PORT=$PORT)))(CONNECT_DATA=(SID=$TWO_TASK)))"
    ROOTDIR="$XX_TOP/java/"
    echo "Connection=$CONN"
    java -cp $CLASSPATH oracle.jrad.tools.xml.importer.XMLImporter DBCONNECTION="$CONN" USERNAME="APPS" PASSWORD="$1" rootdir="$ROOTDIR" $ROOTDIR"$2"
    which i called XMLImport.sh
    I can then call this for all my files as follows:
    XMLImport.sh $PW_APPS "xx/oracle/apps/icx/por/req/webui/XXCheckoutUpdateSinglePG.xml"
    XMLImport.sh $PW_APPS "xx/oracle/apps/ap/holds/wf/webui/XXApInvHoldsRN.xml"
    XMLImport.sh $PW_APPS "xx/oracle/apps/icx/por/req/webui/XXCheckoutDistsPG.xml"
    where $PW_APPS is the "apps" password.
    I also wrote one to upload the JPX substitutions:
    #!/bin/ksh
    HOST=`tnsping $TWO_TASK | cut -d")" -f2 | cut -d"=" -f2 | tail -2`
    PORT=`tnsping $TWO_TASK | cut -d")" -f3 | cut -d"=" -f2 | tail -2`
    CONN="(description=(address_list=(ADDRESS=(PROTOCOL=TCP)(HOST=$HOST)(PORT=$PORT)))(CONNECT_DATA=(SID=$TWO_TASK)))"
    ROOTDIR="$XX_TOP/java/"
    echo "Connection=$CONN"
    java -cp $CLASSPATH oracle.jrad.tools.xml.importer.JPXImporter $ROOTDIR"$2" -dbconnection "$CONN" -username "APPS" -password "$1"
    Which you then call with:
    JPXImport.sh $PW_APPS custom.jpx
    Hope this helps...
    Chris

  • 11.1.2 Deployment question!

    We are using ADF 11.1.1.4 with Webcenter and SOA components but not extensively. We would like to upgrade to 11.1.2 and got little confused after reading note given below.
    "Important Note - This version of JDeveloper doesn't include the SOA and WebCenter pieces - to use these components you'll need to download Oracle JDeveloper 11.1.1.5.0"
    My question is can the code developed using 11.1.2 Jdeveloper be deployed on 11.1.1.4 WLS? If that's the case we are thinking to develop SOA and Webcenter application using 11.1.1.4 and ADF using 11.1.2 and both deployed on 1.1.1.4 WLS!!!!
    Is there any other option for installation like this!!!

    code developed in 11.1.2 will be deployed 10 10.3.5 with sherman patch and adf runtime..
    chk this
    http://tompeez.wordpress.com/2011/06/29/follow-up-upgrading-wls-10-3-5-with-adf-runtime-11-1-2-0-0-sherman-patch/
    you cannot deploy code developer in 11.1.2 to 11.1.1.4 wls.. not possible..

  • [JS][CS3] Script deployment question

    Hi everyone,
    I am currently writing scripts in a corporate environment (~30 users), and I'm contemplating the easiest and most efficient way of deploying the scripts. We have a couple of scripts already with the users that are located locally on their machines. As time goes on we'll be writing more and more scripts and updating the existing ones as necessary.
    My current inclination is to stop saving the files locally on the individual machines and instead put a shortcut to a shared server folder in the scripts folder instead. In my testing it seems to work fine without any significant delay, and it automatically populates all of the files in linked folder. I basically want to be able to make sure that users are always launching the most up-to-date code and that any future scripts can be easily deployed without me walking around to everyone's desk (or worse, e-mailing instructions and hoping for the best).
    Are there any downsides/performance issues to this approach? It's a strictly desktop environment, so I don't have to worry about laptop users who are not connected to the network. Is there an alternate way that would be smoother?
    Thanks!

    We've tried it both ways. On our 12 InCopy machines (OSX), we have a symbolic link from /Applications/Adobe InCopy CS5/Scripts/Scripts Panel/ to a shared folder. This works great as long as our file server doesn't go down, and all sorts of other things would break horribly. And the User scripts folder is still available for any machine-specific customizations.
    For our 4 InDesign machines, we decided that was a little too much risk. So instead we have a script, copyScripts.jsx, that just copies scripts from the file server to the Application scripts folder. So everytime there is a change, we go around to those 4 machines and run copyScripts. This works OK.
    It's a little bit of a pain but it also insulates us a bit from bugs, and it means that whoever is using InDesign can decide to not update the scripts if they are in the middle of something critical. They can choose to defer taking the script updates.
    I think if we had to do it over, we probably wouldn't bother with the copyScripts mechanism. The centralized shared folder works pretty well. But it's not so annoying that we've gotten rid of it. And for 4 machines, it's not a huge burden.
    Also, there are some questions of development. If it's convenient to do development in the ESTK, having the shared folder means you cannot just rightclick in the Scripts panel and choose Edit Script. Or if you do, then any changes you save as you are developing the script are instantly available to everyone, potentially breaking their work if there are problems, or if there is debugging output ,etc., etc. So you need to make sure you do a development in a different place. Just something to keep in mind.

  • OSB project deployment problem with MFL file

    Hi,
    I have created a OSB project to transform a xml message into a text file. For this I have created a mfl and the necessary proxy/business service. I can generate the sbconfig.jar from OEPE tool. But while trying to deploy the sbconfig.jar (generated from OEPE toll) in the OSB server the following error is coming:
    <Sep 30, 2013 3:19:06 PM CEST> <Error> <ALSB Console> <BEA-494002> <Internal error occured in OSBConsole : com/bea/nonxml/util/NonXMLSchemaGenerator.genXsdFromMfl(Ljava/lang/String;Ljava/io/Reader;)Ljava/lang/String;
    java.lang.Exception: com/bea/nonxml/util/NonXMLSchemaGenerator.genXsdFromMfl(Ljava/lang/String;Ljava/io/Reader;)Ljava/lang/String;
            at jsp_servlet._jsp._main.__errorpage._jspService(__errorpage.java:134)
            at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
            at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
            at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
            at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
            Truncated. see log file for complete stacktrace
    Caused By: java.lang.NoSuchMethodError: com/bea/nonxml/util/NonXMLSchemaGenerator.genXsdFromMfl(Ljava/lang/String;Ljava/io/Reader;)Ljava/lang/String;
            at com.bea.wli.common.mfl.MflExecutor.create(MflExecutor.java:76)
            at com.bea.wli.sb.resources.mfl.MflExecutor.create(MflExecutor.java:72)
            at com.bea.wli.sb.resources.mfl.MflEntryHelper.validate(MflEntryHelper.java:90)
            at com.bea.wli.sb.resources.mfl.MflTypeDef.validate(MflTypeDef.java:54)
            at com.bea.wli.config.validation.ResourceValidator.validateContents(ResourceValidator.java:118)
            Truncated. see log file for complete stacktrace
    >
    [INFO ][alloc  ][Mon Sep 30 15:19:11 2013][00464] [YC#33320] Pending requests
    Can someone please help me out regarding this problem and let me know the reason.
    I am using 11.1.1.5.0 version of OSB.
    Please let me know if you need any further details.
    Thanks.
    Rahul

    Hi Ahul,
         It may cause because of the following problem,
    1) Make Sure that your MFL is working perfectly
    2) Make sure that your OSB Server is Running with out any error..
    Let me know still your facing the problem
    Regards,
    Kiran

  • Split Directory Packaging and Deployment Question

    Hello Rob Woollen and All,
    I have a question about packaging and deployment with the "split directory structure"
    in WebLogic Server 8.1.
    Specifically, how does one go about deciding which classes to put in myEnterpriseApp/myWebApp/WEB-INF/classes,
    versus myEnterpriseApp/myEjbModule, versus myEnterpriseApp/APP-INF/classes?
    I think the answer to the first part is easy enough: if there are classes depended
    on by, say, the servlets in a web app, but not depended on anywhere else in the
    enterprise app, then those classes should go in WEB-INF/classes.
    It's the other part of the question that gives me trouble. I use local interfaces
    on my session beans. Let's say I have a domain object class returned from a session
    bean method and depended on by the web app. If I put that domain object class
    under myEnterpriseApp/myEjbModule, then the web app can see it by virtue of the
    classloader arrangement.
    But the wlcompile Ant target supposedly compiles stuff to build/APP-INF/classes.
    What stuff? How does it decide? I haven't experimented and empirically observed
    yet, but I couldn't find the answer in the documentation and tutorials. Is it
    looking for java source files under src/myEnterpriseApp but not under myWebApp
    or myEjbModule? In general, does BEA have any recommendations in this area?
    Thanks,
    Randy

    "Randy Stafford" <[email protected]> wrote in message
    news:[email protected]...
    >
    Hi Mark,
    Thanks for the reply. I don't have 8.1 installed yet, so I can'tempirically
    observe the example's behavior. But I downloaded the example andinspected the
    code. It answers some, but not all, of my questions.Where to start.
    In 8.1 we have made optimizations to J2EE packaging. Mostly this is about
    not having to use manifest classpath's to do sharing of of common classes.
    MF Cp's are a pain to configure. You put your classes in one location in
    the ear and then EVERY module has to have a MF CP entry pointing to that
    location, and then you actually have N number of classes loaded per module.
    The mechanism to share classes across all modules is APP-INF/lib and
    APP-INF/classes. The benefit is that APP-INF is shared across all modules.
    So to your question below you could just put it in the EJB module, BUT if
    you have mutliple EJBs that you split into seperate modules your back tot
    the same issue. So APP-INF is just the simplist solution over-all.
    Split-dir is a specified way to lay out disk your src files
    Split-dir
    From code inspection, it looks like the JSP and EJB (therefore the web appmodule
    and EJB module) both depend on the AppUtils class, which is not inAPP-INF, but
    rather in a directory under the enterprise app directory that does notrepresent
    a web app module or EJB module. In the build file's compile target, is itthe
    wlcompile task invocation that causes compilation of AppUtils.java? Or isit
    the ant task invocation (with "build.appStartup" as the value of thetarget attribute)
    that causes compilation of AppUtils.java due to the dependency ofApplicationStartup
    on AppUtils? And what subdirectory of the build directory doesAppUtils.class
    end up in?
    Why not just put AppUtils.java in the EJB module? Both dependent moduleswould
    still be able to see it by virtue of the classloader arrangement. Doesputting
    it in outside of all dependent modules represent a convention that BEArecommends?
    >
    Finally, why not put applicationresource.properties in the same place asits user
    AppUtils.java?
    Thanks,
    Randy
    "Mark Griffith" <[email protected]> wrote:
    Randy:
    (Rob may post later, but here is my take)
    "Randy Stafford" <[email protected]> wrote in message
    news:[email protected]...
    Hello Rob Woollen and All,
    I have a question about packaging and deployment with the "split
    directory
    structure"
    in WebLogic Server 8.1.
    Specifically, how does one go about deciding which classes to put inmyEnterpriseApp/myWebApp/WEB-INF/classes,
    versus myEnterpriseApp/myEjbModule, versusmyEnterpriseApp/APP-INF/classes?
    I think the answer to the first part is easy enough: if there are
    classes
    depended
    on by, say, the servlets in a web app, but not depended on anywhereelse
    in the
    enterprise app, then those classes should go in WEB-INF/classes.
    It's the other part of the question that gives me trouble. I use localinterfaces
    on my session beans. Let's say I have a domain object class returnedfrom
    a session
    bean method and depended on by the web app. If I put that domain
    object
    class
    under myEnterpriseApp/myEjbModule, then the web app can see it by
    virtue
    of the
    classloader arrangement.
    But the wlcompile Ant target supposedly compiles stuff tobuild/APP-INF/classes.
    What stuff? How does it decide?wlcompile has a module factory. If a directory is claimed by a module
    factory then it is compiled by that specific module compiler. The rules
    for
    module definition follow the same J2EE formatting rules.
    So:
    /myejb/
    would be identified as a ebj module by:
    */myejb/meta-inf/ejb-jar.xml
    */myejb/myejb.ejb (EJBGen file)
    then src files (*.java) will be compiled to
    $BUILD_DIR/myejb/
    /myweb/
    would be identifid as a web module by:
    */myweb/WEB-INF/web.xml
    Also for webapps
    /myweb/WEB-INF/src/*.java
    will be compiled ot
    $BUILD_DIR/myweb/WEB-INF/classes
    We choose WEB-INF/src following the struts precedence.
    So a plain old module that has noting but .java files in it will go to
    $BUILD_DIR/APP-INF/classes
    If you have a jar of classes that you need to share across the entire
    ear,
    you would check it into your src tree at:
    $SRC_DIR/APP-INF/lib/mycommon.jar
    You can check out an example at:
    $BEA_HOME/weblogic81/samples/server/examples/src/examples/splitdir/helloWorl
    dEar
    Hope this helps.
    cheers
    mbg
    I haven't experimented and empirically observed
    yet, but I couldn't find the answer in the documentation and tutorials.Is it
    looking for java source files under src/myEnterpriseApp but not undermyWebApp
    or myEjbModule? In general, does BEA have any recommendations in thisarea?
    Thanks,
    Randy

  • WLC 5508 and LightWeight APs Deployment question

    Hi There,
    Can you please wit the following question in regards to the deployment of a new WLC and new LAPs,
    I have configured and connected a 5508 WLC and 3500 series LAP.
    LAG is enabled in the WLC and successfully connected to the neighboring switch (using etherchannel) and to the network.
    The port-channel port is set to trunk mode obviously and certain vlan ids are currently allowed (3-5)
    The management interface has this IP address 192.168.5.250/24
    I created a WLAN with WLAN ID 3, Interface set to Management and say SSID test1
    I have connected a new LAP to the network, which switchport interface is set to access mode and assigned with vlan id 3. The LAP is able to join the WLC successfully with an IP address, such as, 192.168.3.100 (assigned via DHCP).
    When I try connecting a mobile client to the wireless LAN, it can successfully detect and connect to the WLAN, created in the WLC (test1) however it gets an IP address by DHCP, in the 192.168.5.0/24 network, which is the IP range of the management interface's IP address.
    What can I do to get the clients connecting on network 192.168.3.0/24? I thought this would be the case since I allocated the WLAN Id of 3 in the WLAN test1 configuration and since the LAP switchport is set to access mode with vlan ID 3.
    Cheers,
    egua5261

    Hi,
    The WLAN ID has no effect with the VLAN ID. WLAN ID is just an identifier for the WLAN.
    you said "Interface set to Management and say SSID test1" and here is your issue.
    You set the interface of the WLAN to the management. So, the WLAN will be mapped to the VLAN to which the management interface is mapped to.
    What you need to do is to create a dynamic interface with ip range in 192.168.3.0/24 and provide VLAN ID for that interface and assign your WLAN to this new interface. This way your clients will get an IP from this specified range.
    HTH
    Amjad

  • 10.7 client .dmg creation for deployment questions.

    Please forgive me if this question is in the wrong forum.
    I've been doing searches online and in the 10.7 Peachpit books (client and server) and I can't seem to find the info I am looking for.
    I am trying to create a 10.7 .dmg to use on new Macs my company is going to deploy. We are not using 10.7 Server at the moment, we
    are using 10.6.8 Server. This will not be an image we are going to deploy over the network either. I know this may not be "best practices"
    but at the moment, this is the way we are going to (re)image new Macs.
    Basically, I want to create a 10.7 .dmg that does NOT contain the recovery partition. I can't seem to find a way to do this. If I am correct,
    even a "clean" install, when booted from a USB 10.7 recovery drive, will create the recovery partition, right?
    I am running 10.7 client and i have the 10.7.3 Server Admin tools.
    I apologize in advance if I am missing something glaringly obvious.
    Also, any tips on best practices for creating 10.7 client .dmgs for deployment that's any different than creating 10.6 images?
    thanks in advance.

    Using information from this site and my own scripting experience I present to you a more secure way to do it which supports munki and other deployment tools without having the password to the ODM or client in clear text on the client or on packages easeliy accessable on a http server:
    On server:
    ssh-keygen
    Save the output of ~/.ssh/id_rsa.pub to your clip board
    Then create a launchd or something so that this runs at startup
    nc -kl 1337 | xargs -n 1 -I host ssh -q -o StrictHostKeyChecking=no root@host /usr/local/bin/setupLDAP diradminpassword localadminpassword > /dev/null 2>&1
    On client:
    Create script (to use in a package as postinstall or something):
    #!/bin/bash
    # Turns on ssh
    systemsetup -f -setremotelogin On
    # Sets up passwordless login to root account from server
    echo "ssh-rsa FROM_YOUR_CLIPBOARD_A_VERYLONGOUTPUTOFCHARACTERS [email protected]" >> /var/root/.ssh/authorized_keys
    # installs setupLDAP
    mkdir -p /usr/local/bin
    cat > /usr/local/bin/setupLDAP <<'EOF'
    #!/bin/sh
    PATH=/bin:/sbin:/usr/bin:/usr/sbin
    export PATH
    computerid=`scutil --get ComputerName`; yes | dsconfigldap -vfs  -a 'server.domain.no' -n 'server' -c $computerid -u 'diradmin' -p $1 -l 'l' -q $2
    EOF
    chmod +x /usr/local/bin/setupLDAP
    End note
    That was the code, now you just add the skeleton And to clearify what this does, first we let the server connect to the client as root even though root access is "disabled" (he has no password and therefore you can't log in as root as default). Then we create a small script to setup OD binding (/usr/local/bin/setupLDAP) but this script doesn't contain the passwords. Then the client send a request to the small socket server on the server with it's hostname, then the server connects to that hostname and executes /usr/local/bin/setupLDAP with the needed passwords.

  • JSC deployment question.

    I have a situation where after my JSC created application is deployed, I need to have the ability to access PDF files that I give the user of my application the ability to select in a listbox.
    At development time, the names and locations of these PDF files (which will be stored locally on the Sun App Server) are not known, so I cannot have JSC bundle them up with the WAR. What I do instead is have my JSC app read from a database and populate a listbox with the names of the PDF files and map those to the local URL (as soon as I figure out what that will be).
    My question is this, once I deply the app, where (what directory) do I place the PDF files under assuming that I am using the bundled Sun Application Server that comes with JSC?
    Thanks!

    Actually, it might be better to read the PDF file directly from the database instead of placing it in the path somewhere and redirecting to it (more security if ever needed...no static files to browse to).
    Let me dig around for an exmple of doing this sort of thing and I'll try to apply it to a JSC project context and post my findings here.
    If anyone has done this before please let me know!
    Thanks.

Maybe you are looking for