Need sample ALSB project migration to OSB 11g environment

Hi
I'm looking for sample ALSB project migration to OSB 11g environment and as well as steps to automate deployment of OSB 11g projects by using WLST
Can some one please help me out in regards to the same
Thanks
Ram.S

Please find the build.xml
<?xml version="1.0" encoding="windows-1252" ?>
<project name="ConfigExport">
<property file="./build.properties"/>
<property name="metadata.dir" value="${workspace.dir}/.metadata"/>
<property name="domain.export.script" value="export.py" />
<property name="domain.import.script" value="import.py" />
<path id="library.osb">
<fileset dir="${osb.home}/modules">
<include name="com.bea.common.configfwk_1.6.0.0.jar"/>
<include name="com.bea.core.xml.xmlbeans_2.2.0.0_2-5-1.jar"/>
</fileset>
<fileset dir="${weblogic.home}/server/lib">
<include name="weblogic.jar"/>
</fileset>
<fileset dir="${osb.home}/lib">
<include name="alsb.jar"/>
</fileset>
</path>
<taskdef name="wlst"
classpathref="library.osb"
classname="weblogic.ant.taskdefs.management.WLSTTask"/>
<target name="exportFromOSB">
<wlst fileName="${domain.export.script}" debug="true" failOnError="false" classpathref="library.osb"
arguments="${wls.username} ${wls.password} ${wls.server} ${export.project} ${export.jar} ${export.customFile}">
<script>
adminUser=sys.argv[1]
adminPassword=sys.argv[2]
adminUrl=sys.argv[3]
exportJar = sys.argv[5]
customFile = sys.argv[6]
passphrase = "osb"
project = sys.argv[4]
connect(adminUser,adminPassword,adminUrl)
domainRuntime()
</script>
</wlst>
</target>
<target name="importToOSB">
<wlst fileName="${domain.import.script}" debug="true" failOnError="false" classpathref="library.osb"
arguments="${wls.username} ${wls.password} ${wls.server} ${import.project} ${import.jar} ${import.customFile}">
<script>
adminUser=sys.argv[1]
adminPassword=sys.argv[2]
adminUrl=sys.argv[3]
passphrase = "osb"
project=sys.argv[4]
importJar=sys.argv[5]
customFile=sys.argv[6]
connect(adminUser,adminPassword,adminUrl)
domainRuntime()
</script>
</wlst>
</target>
<target name="exportFromWorkspace">
<!--delete failonerror="false" includeemptydirs="true"
dir="${metadata.dir}"/-->
<java dir="${osb.home}/lib" classpathref="library.osb"
jar="${eclipse.home}/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar"
fork="true" failonerror="true" maxmemory="768m">
<jvmarg line="-XX:MaxPermSize=256m"/>
<arg line="-data ${workspace.dir}"/>
<arg line="-application com.bea.alsb.core.ConfigExport"/>
<arg line="-configProject ${config.project}"/>
<arg line="-configJar ${config.jar}"/>
<arg line="-configSubProjects ${config.subprojects}"/>
<arg line="-includeDependencies ${config.includeDependencies}"/>
<sysproperty key="weblogic.home" value="${weblogic.home}"/>
<sysproperty key="osb.home" value="${osb.home}"/>
<sysproperty key="osgi.bundlefile.limit" value="500"/>
<sysproperty key="harvester.home" value="${osb.home}/harvester"/>
<sysproperty key="osgi.nl" value="en_US"/>
<sysproperty key="sun.lang.ClassLoader.allowArraySyntax" value="true"/>
<sysproperty key="osgi.bundlefile.limit" value="750"/>
<sysproperty key="middleware.home" value="${fmw.home}"/>
</java>
</target>
</project>
With the target:importToOSB,I was able to successfully import into OSB11g environment
but with target:exportFromOSB or exportFromWorkspace I'm unable to export from OSB11g environment
to my local directory
So my intention is to get the OSB11g exported into my local directory
Can you please help me out in getting this resolved
Thanks
RS

Similar Messages

  • Deployment issue with SOA - OSB 11g  environment

    Hi,
    We have Dev Environment configured with SOA 11g (11.1.1.4) and OSB 11g (11.1.1.4) on a single weblogic domain. Developed SOA composite app and deployed to the SOA Server. We are exposing our SOA Composite thru OSB ( created osb proxy and business services and accessed soa composite from the client. It s working fine ) layer for the client to access it. The issue here is while deploying it to the production environment (configured OSB and SOA in two separate WL domain) located offshore.
    What i saw from the soa doc is that we need to deploy SOA composite to the SOA Server and OSB Configuration to the OSB Server.
    but the offshore person is asking us to deploy both SOA composite & osb to the same OSB Server as an .ear file.
    Is it possible to deploy both SOA composite & osb to the same osb server ? is there any document on project that involve both soa and osb.
    please guide me how to do the deployment
    I appreciate all your help.
    thanks
    sumesh.j

    I am wondering if could able to solve the problem of deploying both SOA composite & osb to the same osb server. Even I am facing the same problem....
    If you could able to solve the problem then please let us know the steps that you have followed to solve the same.

  • OSB 11g import sbconfig.jar error

    Hello everybody,
    I'm trying to import OSB config jar to newly created OSB 11g environment. The following error occurs in Oracle Service Bus console during import:
    The import failed with exception: com.bea.wli.config.component.NotFoundException: Failed to create temporary jar file
    Operation System is RHEL 5.5, JVM is JRockit 1.6.017
    OSB is installed to /u01/bea and oracle is the owner of this directory. Oracle user has write permissions to /tmp directory too.
    Any idea, why this can happen? What directory does OSB use to create temporary jar file ?
    Regards,
    Dmitry

    Re: OSB - configuration project deploy error
    Regards,
    Anuj

  • OSB 11g How to import existing project to Configuration project ?

    Environment: latest OSB 11g + WLS + OOPE , Win 7
    When an exiisting OSB Eclipse project is imported to Configuration project comes a message
    "Path for project must have only one segment"
    What is the solutiion to this problem ?

    One solution
    Exit Eclipse
    Edit manually file <Configuration project> \.settings\com.bea.alsb.core.prefs\container.referenced.projects
    Start Eclipse

  • Need help : Installing the standalone OEPE for OSB 11g for development

    Hi All,
    It would be greatly appreciated if any one could share the details of installing the standalone OEPE (Eclipse along with the OSB plugin for 11g) for development purpose.
    If possible kindly share the download link for the same.
    Thanks in advance.
    Regards,
    Balaji R

    Hi,
    To have OEPE with the plugins for OSB you actually have to install Weblogic with OEPE and OSB. OEPE will need the libraries in Weblogic and OSB installation...
    The latest version for Weblogic+OEPE (Indigo) for Windows
    http://download.oracle.com/otn/nt/middleware/11g/wls/1211/oepe-indigo-installer-12.1.1.0.1.201203120349-12.1.1-win32.exe
    The latest version for OSB for Windows
    http://download.oracle.com/otn/nt/middleware/11g/111160/ofm_osb_generic_11.1.1.6.0_disk1_1of1.zip
    Weblogic download page...
    http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-main-097127.html
    OSB download page...
    http://www.oracle.com/technetwork/middleware/service-bus/downloads/index.html
    Cheers,
    Vlad
    It is considered good etiquette to reward answerers with points (as "helpful" - 5 pts - or "correct" - 10pts)
    https://forums.oracle.com/forums/ann.jspa?annID=893

  • Sample  Xi Project  needed

    Hi Experts,
       Please provide me a sample xi project with description and possibly code.I am badly looking for any kind project in XI as currently i got one good oppurtunity in XI.
    Your help is highly appreciable and many many thanks in advance. I will be greatfull to you if you could send to my mail id : <u><b>[email protected]</b></u>
    once again thanks a lot in advace
    cheers
    Tarun

    Hi Tarun
    You can find lots of scenarios in the weblogs section. There are some fantastic contribution made by our SDN member folks on the weblogs.
    Few links for you,
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
    similarly there many many more. Just do a search and you will find loads of info.
    cheers
    Sameer

  • Error while running export.py in OSB 11g

    Hi all,
    I am trying to write wlst in osb 11g. I am getting the following error
    export:
    [echo] exportscript: export.py
    [java] Initializing WebLogic Scripting Tool (WLST) ...
    [java] Welcome to WebLogic Server Administration Scripting Shell
    [java] Type help() for help on available commands
    *[java] Problem invoking WLST - Traceback (innermost last):*
    *[java] File "C:\Documents and Settings\Desktop\WLST\test\export.py", line 7, in ?*
    *[java] ImportError: cannot import name EnvValueQuery*
    [java] Java Result: 1
    BUILD SUCCESSFUL
    Total time: 6 seconds
    Below is my build.xml should I make any more changes to run it in 11g I have changed the com.bea.common.configfwk_1.3.0.0.jar file name and directory names.
    Should I set any class path before running this build.xml ?
    <project default="export">
         <!-- ALSB domain creation project -->
         <property environment="env" />
         <!-- set global properties for this build -->
         <!-- The bea.home property hold that name of the directory where you installed ALSB 3.0.
              you need to change this value so that it matches your installation directory.
         -->
         <property name="bea.home" value="C:\Oracle\Middleware" />
         <!-- The workspace.dir is the directory of the workspace that you created to contain the sample
              projects from this book. By default, the namespace is "alsb30_book"
         -->
         <property name="workspace.dir" value="C:\Documents and Settings\workspace\Test OSB Project" />
         <property name="weblogic.home" value="${bea.home}\wlserver_10.3" />
         <property name="domain.export.script" value="export.py" />
         <property name="domain.import.script" value="import.py" />
         <property name="export.config.file" value="export.properties" />
         <property name="import.config.file" value="import.properties" />
         <property name="build" value="build" />
         <property name="dist" value="dist" />
         <path id="wlst.class.path">
              <fileset dir="${bea.home}\Oracle_OSB1\lib">
                   <include name="sb-kernel-api.jar" />
              </fileset>
              <fileset dir="${bea.home}\modules">
                   <include name="com.bea.common.configfwk_1.3.0.0.jar" />
              </fileset>
              <fileset dir="${weblogic.home}\server\lib">
                   <include name="weblogic.jar" />
                   <include name="webserviceclient.jar" />
              </fileset>
         </path>
         <taskdef name="wlst" classname="weblogic.ant.taskdefs.management.WLSTTask" classpathref="wlst.class.path" />
         <target name="export">
              <echo message="exportscript: ${domain.export.script}" />
              <java classname="weblogic.WLST" fork="true" classpathref="wlst.class.path">
                   <arg line="${domain.export.script} ${export.config.file}" />
              </java>
         </target>
         <target name="clean">
              <delete dir="${dist}" />
              <delete dir="${build}" />
              <mkdir dir="${dist}" />
              <mkdir dir="${build}" />
         </target>
    </project>

    Perhaps you are using old WLST code (used for OSB 10g), with OSB 11g.
    The ALSBConfigurationMBean (com.bea.wli.sb.management.configuration.ALSBConfigurationMBean) Interface in the com.bea.wli.sb.management.configuration package in the Oracle Fusion Middleware Java API Reference for Oracle Service Bus includes example code illustrating how to import and export Oracle Service Bus 11g configurations, how to change environment values, how to query resources, and so on. Please find it here -
    http://download.oracle.com/docs/cd/E14571_01/apirefs.1111/e15033/toc.htm
    Regards,
    Anuj

  • Dynamic endpoints in SOA and OSB 11g

    Hi,
    In AIA we have aiaconfiguration properties.xml from where end points of wsdls will be accessible.
    This enables ease in migrations so that if endpoint changes it is only need to be changed in aiaconfiguration properties.xml.
    Can the same be acheived in SOA and OSB 11g projects?
    Thanks,
    Sowmya

    Hi Sowmya,
    Yes, it is very much possible in OSB 11g using customization (you may use it manually or programmitically). Please refer -
    http://download.oracle.com/docs/cd/E14571_01/doc.1111/e15867/customization.htm#CACJCAGD
    http://download.oracle.com/docs/cd/E14571_01/doc.1111/e15022/toc.htm
    Regards,
    Anuj

  • How to increase JVM memory for Web Logic 10.3.3 - OSB 11g

    Hello folks,
    I am running OSB 11g on WebLogic 10.3.3 to call some services passing large XMLs requests. These XMLs are something around 10mb each. Unfortunately, I got errors regarding memory.
    I am using Eclipse with OSB plugin to develop, and I have configured the weblogic server to start up it from the eclipse, thus I don't need to start up through command line.
    I would like to know where I can change the memory arguments to start up the JVM which runs the WebLogic server. As I am starting up the server from eclipse, I can't change the memory size args from command line.
    Is there a file where those arguments are stored? or some configuration on WebLogic console which I can increase the Xms and Xmx ?
    The JVM is jrockit_160_17_R28.0.0-679
    This is the eclipse console output when the server is starting up:
    JAVA Memory arguments: -Xms256m -Xmx512m
    WLS Start Mode=Development
    CLASSPATH=C:\Davi\osb\mw_1033\WLSERV~1.3\server\ext\jdbc\oracle\11g\ojdbc6dms.jar;;C:\Davi\osb\mw_1033\OSB_OR~1\modules\features\osb.server.modules_11.1.1.3.jar;C:\Davi\osb\mw_1033\patch_wls1033\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Davi\osb\mw_1033\patch_oepe1033\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Davi\osb\mw_1033\JROCKI~1.0-6\lib\tools.jar;C:\Davi\osb\mw_1033\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\Davi\osb\mw_1033\WLSERV~1.3\server\lib\weblogic.jar;C:\Davi\osb\mw_1033\modules\features\weblogic.server.modules_10.3.3.0.jar;C:\Davi\osb\mw_1033\WLSERV~1.3\server\lib\webservices.jar;C:\Davi\osb\mw_1033\modules\ORGAPA~1.1/lib/ant-all.jar;C:\Davi\osb\mw_1033\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Davi\osb\mw_1033\osb_ora11g\soa\modules\oracle.soa.common.adapters_11.1.1\oracle.soa.common.adapters.jar;C:\Davi\osb\mw_1033\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;C:\Davi\osb\mw_1033\OSB_OR~1\lib\version.jar;C:\Davi\osb\mw_1033\OSB_OR~1\lib\alsb.jar;C:\Davi\osb\mw_1033\OSB_OR~1\3rdparty\lib\j2ssh-ant.jar;C:\Davi\osb\mw_1033\OSB_OR~1\3rdparty\lib\j2ssh-common.jar;C:\Davi\osb\mw_1033\OSB_OR~1\3rdparty\lib\j2ssh-core.jar;C:\Davi\osb\mw_1033\OSB_OR~1\3rdparty\lib\j2ssh-dameon.jar;C:\Davi\osb\mw_1033\OSB_OR~1\3rdparty\classes;C:\Davi\osb\mw_1033\OSB_OR~1\lib\external\log4j_1.2.8.jar;C:\Davi\osb\domains\INFOLE~1\config\osb;C:\Davi\osb\mw_1033\WLSERV~1.3\common\derby\lib\derbynet.jar;C:\Davi\osb\mw_1033\WLSERV~1.3\common\derby\lib\derbyclient.jar;C:\Davi\osb\mw_1033\WLSERV~1.3\server\lib\xqrl.jar
    PATH=C:\Davi\osb\mw_1033\patch_wls1033\profiles\default\native;C:\Davi\osb\mw_1033\patch_oepe1033\profiles\default\native;C:\Davi\osb\mw_1033\WLSERV~1.3\server\native\win\32;C:\Davi\osb\mw_1033\WLSERV~1.3\server\bin;C:\Davi\osb\mw_1033\modules\ORGAPA~1.1\bin;C:\Davi\osb\mw_1033\JROCKI~1.0-6\jre\bin;C:\Davi\osb\mw_1033\JROCKI~1.0-6\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft Application Virtualization Client;C:\Program Files\Attachmate\Reflection\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Davi\osb\mw_1033\WLSERV~1.3\server\native\win\32\oci920_8
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    java version "1.6.0_17"
    Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
    Oracle JRockit(R) (build R28.0.0-679-130297-1.6.0_17-20100312-2123-windows-ia32, compiled mode)
    Starting WLS with line:
    C:\Davi\osb\mw_1033\JROCKI~1.0-6\bin\java -jrockit -Xms256m -Xmx512m -Dweblogic.Name=AdminServer -Djava.security.policy=C:\Davi\osb\mw_1033\WLSERV~1.3\server\lib\weblogic.policy -Xverify:none -da -Dplatform.home=C:\Davi\osb\mw_1033\WLSERV~1.3 -Dwls.home=C:\Davi\osb\mw_1033\WLSERV~1.3\server -Dweblogic.home=C:\Davi\osb\mw_1033\WLSERV~1.3\server -Ddomain.home=C:\Davi\osb\domains\INFOLE~1 -Dcommon.components.home=C:\Davi\osb\mw_1033\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=C:\Davi\osb\mw_1033\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.domain.config.dir=C:\Davi\osb\domains\INFOLE~1\config\FMWCON~1 -Doracle.server.config.dir=C:\Davi\osb\domains\INFOLE~1\config\FMWCON~1\servers\AdminServer -Doracle.security.jps.config=C:\Davi\osb\domains\INFOLE~1\config\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.arisidbeans.carmlloc=C:\Davi\osb\domains\INFOLE~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\Davi\osb\domains\INFOLE~1\config\FMWCON~1\arisidprovider -Dweblogic.alternateTypesDirectory=C:\Davi\osb\mw_1033\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:\Davi\osb\mw_1033\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Dweblogic.jdbc.remoteEnabled=false -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\Davi\osb\mw_1033\patch_wls1033\profiles\default\sysext_manifest_classpath;C:\Davi\osb\mw_1033\patch_oepe1033\profiles\default\sysext_manifest_classpath weblogic.Server
    Thanks in advance,
    Davinod
    Edited by: user13631313 on Jan 10, 2011 10:07 AM

    Hi Davinod,
    Yes, the correct place is to change the memory arguments in the "setDomainEnv.cmd", however can you confirm if the changed memory arguments were reflected in the logs or not.
    If yes then you need to try to increase the memory arguments again and test which is the best working memory argument suitable for your environment, this would take some trials.
    However if the memory arguments are still not reflected then try to set it properly as shown below:
    set MEM_ARGS=-Xms1024m -Xmx1024m
    Regards,
    Ravish Mody
    http://middlewaremagic.com/weblogic/
    Come, Join Us and Experience The Magic…

  • OSB 11g help

    hello evey one,
    i have the following question which is very very important to continue my work with OSB 11g.
    i have developed two web services the first takes data from table X and the other one is insert that data to Table Y, and i created a OSB configuration project and OSB project and for now every thing is fine since i can call both web Services useing proxy service from web service client tool.
    what i need is how can i set the OSB to call web service 1 automatically every 1 hour, 1 minute its does matter, and send the data to web service two to be inserted???????
    please help!!!!!

    I suppose you are after a timer transport in OSB here..Please take a look at this article which explains a reference implementation using the weblogic timer service:
    http://blogs.oracle.com/jamesbayer/2007/11/weblogic_scheduling_a_polling.html
    There are some concrete viewpoints that a service bus is not the right place to put in timer facility.. See the discussion at this thread within this forum:
    Re: How to implement in OSB: Scheduling, Timers and Custom properties

  • AQMP protocol support for OSB 11g

    Hi all,
       We are using OSB as our middleware tool in our project.we got a new requirement for integration.The requirement is that OSB need to communicate with an application which supports AQMP protocol.I heard that aqmp is JMS based protocol.
    My query is that can we access the AQMP based queue via OSB using foreign jms server.
    Regards,
    Ganesh

    Hello Jay,
    OSB 11g supports SAML V1.1
    http://download.oracle.com/docs/cd/E14571_01/doc.1111/e15866/saml.htm#i1062321
    Regards,
    Anuj

  • OSB 11G development Tool

    Hello,
    I've a very basic question. I would like to know which tool to use for developing projects in OSB. I know we can use OSB console, but wondering if their is any other tool. For instance we use JDeveloper for creating BPEL project. Is their a similar tool that I can use for OSB.
    I was looking at Oracle Enterprise Pack for Eclipse (oepe-helios-all-in-one-11.1.1.6.1.201010012100-win32) tool, but wasn't clear if we can use this. If I can use this tool, please let me know how I can create a simple OSB project.
    Thanks
    NC

    If you have already installed WLS 11g and OEPE and then you have installed OSB 11G then you need not install anything else.
    Check the Oracle home directory and find the folder for OEPE (by default it should be c:\Oracle\Middleware\OEPE_<version>\). There will be eclipse.exe which you can use to launch Eclipse console.
    Once inside eclipse console do the following to open OSB perspective:
    Window Menu>Open Perspectives>Other
    Select Oracle Service Bus in the popup window.
    Once in the OSB perspective you can create new OSB Configuration project and OSB Projects. OSB configuration project will help eclipse connect to OSB domain and OSB Project is similar to the Project created from OSB web console(sbconsole)
    Edited by: AbhishekJ on Nov 8, 2010 4:14 AM

  • Oracle OSB 11G. Unable to find Oracle Service Bus Configuration Page.

    Hi All,
    Sorry for the apparent silly question but I am studying and learning the product.
    I have the OSB 11G installed and running with a proxy service working and routing requests. The Oracle ESB documentation http://download.oracle.com/docs/cd/E21764_01/doc.1111/e15866/ui_ref.htm#i1327746 at chapter 4.4.2 New Oracle Service Bus Configuration Project Wizard
    Use this wizard to create an Oracle Service Bus configuration project. For configuration options, see Section 4.4.3, "Oracle Service Bus Configuration Page."
    4.4.3 Oracle Service Bus Configuration Page.
    I don't see the configuration page in anywhere in the left pane of the console. Am I missing something? The project creation works fine but I just don't see the configuration Wizard.
    Thanks.
    Regards
    Salvatore Ilardo

    The link which you are referring is for user interface objects in the Oracle Service Bus plug-ins and OSB plug-ins are used with OEPE (Oracle Enterprise Pack for Ecplise) for OSB development. OEPE is the only supported IDE for OSB development as of now.
    Remember, at a time, one and only one Oracle Service Bus Configuration project can be deployed in a OSB domain which may contain desired number of Oracle Service Bus Projects and that's why there is no provision of creating Oracle Service Bus Configuration Project in sbconsole GUI. In IDE, you may create many Oracle Service Bus Configuration Project and that's why it has a Oracle Service Bus Configuration Project Wizard.
    Regards,
    Anuj

  • OSB 11g Installation in production environment

    I am trying to install OSB 11g in production mode. But, the problem is its always pointing to the evaluation database, even though I don't require any DB (not using the reporting feature or OWSM). I saw the following workaround and it worked fine, but is it the only way?
    This error you will normally see if you use the built in pointbase db with production domains only.
    I would recommend you use different database in pointbase or better an oracle database. Work around would be to delete WL_LLR* from you point base and the domain will start with out problem.
    If you are not aware of how to delete the table in Pointbase/Derby, then other workaround (I normally use when using production domain with Derby/Poinbase) option would be to open config .xml and delete <jdbc-system-resource>
    <name>wlsbjmsrpDataSource</name>
    <target>AdminServer</target>
    <descriptor-file-name>jdbc/wlsbjmsrpDataSource-jdbc.xml</descriptor-file-name>
    </jdbc-system-resource>
    Even if i configure a different DB, but it still pointing me to Derby?
    Is this a bug with OSB 11g installation in a production env?
    Thanks,
    Bijoy

    Hello Bijoy,
    The evaluation database is provided for use by the sample applications and code examples. If you do not want to use evaluation DB then don't install it.
    To not install evaluation DB, while installing weblogic, select custom installation type, uncheck the "Evaluation Database" checkbox ("Server Examples" will automatically get unchecked) and proceed. Now your weblogic will be installed without an evaluation DB.
    Regards,
    Anuj

  • How to do service callout with the incoming JMS message in OSB 11g

    Hello All,
    I have a specific requirement for which I am creating a kind of POC where I need some help in OSB, however am new to OSB.
    My Environment:
    1> I have a request queue (deployed on a WLS domain) - WFReq_WS
    2> I have a response queue (deployed on a WLS domain) - WFRes_WS
    3> I have created a ProxyService (request/response type) in OSB 11g which is simply mapping the incoming message in WFReq_WS to WFRes_WS
    4> I have a WebService (it is currently a simple hello WebService for testing) which takes a string and returns the same string with an added 'Hi' in front of it (e.g. If you send Jack, it will return 'Hi Jack')
    My Requirement:
    1> I have to do some mechanism in OSB, by which while mapping the message from WFReq_WS to WFRes_WS (through the proxy service I have), it will pick the JMS message (which will be a string/text) and will make a service callout to the Webservice I mentioned using the message as the input parameter of the WebService.
    2>Now when the response of the WebService will come, OSB should send this response as the message in the response queue (WFRes_WS) I mentioned above.
    To simplify the requirement using an example:
    A> I will send a text/String message (say Jack) to the request queue (WFReq_WS)
    B> OSB should pick the message (Jack) and make a service callout to the webservice
    C> webservice will return 'Hi Jack'
    D> OSB should send this to the response queue (WFRes_WS)
    I know the above might look very basic question to the PROs, but please elaborate (step by step) what need to be done, since I do not know OSB.
    Thanks a lot for your help !

    Your example points A and D are easily done by having a "Proxy Service" which has the following details:
    Service Type = Messaging Service
    Request and Response type = Text
    Protocol = jms
    Endpoint URI = your request queue (format like 'jms://localhost:7013/weblogic.jms.XAConnectionFactory/QueueJNDIName')
    Checkmark "response" so that the proxy service automatically delivers the response to another queue - your response queue
    Response URI = jms://localhost:7013/weblogic.jms.XAConnectionFactory/QueueResponse
    Now since your "Hello" webservice is (probably) a SOAP xml service you need to "convert" your text based JMS message to xml before sending it on to the "Hello" service.
    Your JMS proxy can do that by just doing a "Assign <whom>{$body/text()}</whom>" to a variable (lets call it 'reqHello')
    Now your JMS proxy should actually call the Hello service and since your JMS proxy is text and the Hello service is SOAP you cannot just "pass" on to the Hello service in a "Route to". Instead you can do a Service Callout where you can specify your "reqHello" variable as payload and a "respHello" as response variable.
    Now you have the "<whom>Hi jack</whom>" in the response variable and since the JMS response needs to be text format you can "extract" the text value into the body variable of the JMS proxy (use "replace /* in body with $respHello/text()" - replace node contents)
    The actual Hello service is a simple "SOAP" based Proxy Service. Add a pipeline and add a stage in the reponse pipeline. Do a ...
    Assign fn:concat("Hi ",$body/whom/text()) to $whomVar
    Replace whom in body with $whomVar (replace node contents)

Maybe you are looking for