OSB configuration exception

Hello,
I am getting following exception when creating a OSB configurations jar file using ant script.
[java] java.io.FileNotFoundException: alsbdebug.xml (Permission denied)
[java]      at java.io.FileOutputStream.open(Native Method)
[java]      at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
[java]      at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
[java]      at com.bea.wli.sb.debug.ALSBDebug.getDebugFlagsDocument(ALSBDebug.java:487)
[java]      at com.bea.wli.sb.debug.ALSBDebug.flags(ALSBDebug.java:454)
[java]      at com.bea.wli.sb.debug.ALSBDebug.getALSBDebuggerDebugLogger(ALSBDebug.java:393)
[java]      at com.bea.wli.sb.debug.ALSBDebugLoggerService.<init>(ALSBDebugLoggerService.java:41)
[java]      at com.bea.wli.sb.debug.ALSBDebugLoggerService.init(ALSBDebugLoggerService.java:84)
[java]      at com.bea.alsb.core.internal.config.service.EclipseALSBStarter.initConfigService(Unknown Source)
[java]      at com.bea.alsb.core.internal.config.service.AlsbConfigService.start(Unknown Source)
[java]      at com.bea.alsb.core.AlsbCore.start(Unknown Source)
[java]      at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
[java]      at java.security.AccessController.doPrivileged(Native Method)
[java]      at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
[java]      at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
[java]      at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352)
[java]      at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280)
[java]      at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:408)
[java]      at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
[java]      at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:449)
[java]      at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:211)
[java]      at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:381)
[java]      at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:457)
[java]      at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
[java]      at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)
[java]      at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
[java]      at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
[java]      at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:326)
[java]      at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:231)
[java]      at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1193)
[java]      at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:160)
[java]      at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:874)
[java]      at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
[java]      at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
[java]      at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:189)
[java]      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
[java]      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
[java]      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
[java]      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
[java]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java]      at java.lang.reflect.Method.invoke(Method.java:597)
[java]      at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
[java]      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
[java]      at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
[java]      at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
I am unable to find the file called "alsbdebug.xml" , Can someone tell me where is this file located ?
Thanks & Regards,
Prashant,

Hi Prashant,
You may find alsbdebug.xml inside your domain home i.e. $Middleware_Home\user_projects\domains\<Domain_Name> directory.
Regards,
Anuj

Similar Messages

  • Export OSB configuration from eclipse using ant script

    I am trying to export an OSB project from eclipse using ant script
    I followed the link below http://biemond.blogspot.com/2010/07/osb-11g-ant-deployment-scripts.html
    It is using com.bea.alsb.core.ConfigExport to do the export. This export is always set to resource level.
    I see it generates a file ExportInfo setting some properties. It has a property that set the export level as below
    <imp:property name="projectLevelExport" value="false"/>*
    How can I export the project in project level? basically setting projectLevelExport to true?
    So that if a file does not exist in the sbconfig.jar file , then while importing the jar to OSB server it will delete the file from the server instead of skipping it?
    I appreciate any help
    here is the ant script snippet that gets executed to export from eclipse
    <target name="exportFromWorkspace">
         <delete failonerror="false" includeemptydirs="true"
    dir="${metadata.dir}"/>     
                   <!--eclipse.refreshLocal resource="${config.project}" depth="infinite"/-->
    <java dir="${eclipse.home}"
    jar="${eclipse.home}/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.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="-exportLevel true"/>
    <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"/>
    </java>
    </target>

    yes, I specified the project name to export the whole project.
    Here is few lines from my properties file
    # properties for workspace export
    config.project="OSB Configuration-GW"
    config.jar=D:/workspace/osb/scripts/gateway/mycode2/ant_osb/dist/sbconfig.jar
    config.subprojects="GatewaySecurity"
    config.includeDependencies=true
    workspace.dir=D:/workspace/osb/gateway-workspace
    But this property does not make it to export at project level ,it export the specified project at resource level.
    And while importing this jar to OSB server, if a file is missing it skips the file instead of deleting the file from the OSB server
    If I unjar sbconfig.jar file, open ExportInfo file and update the line in bold below to true then it deletes the file from OSB server, if not exist in sbconfig.jar
    <imp:property name="exporttime" value="Thu Dec 29 13:57:44 EST 2011"/>
    <imp:property name="productname" value="Oracle Service Bus"/>
    <imp:property name="productversion" value="11.1.1.4"/>
    *<imp:property name="projectLevelExport" value="false"/>*
    Here is few lines from Oracle API java doc
    http://docs.oracle.com/cd/E13171_01/alsb/docs26/javadoc/com/bea/wli/sb/management/importexport/ALSBImportOperation.Operation.html
    public static final ALSBImportOperation.Operation Delete
    Indicates that the resource is deleted in the importing domain. This is the default operation when the project is exported in its entirety and the resource exists in the target domain but not in the jar file
    public static final ALSBImportOperation.Operation Skip
    Indicates that the resource is skipped meaning the resource is not touched in the importing domain. This is the default operation if the jar file was exported at the resource level, and a resource that exists in the target domain, does not exist in the jar file.

  • Cannot publish OSB Configuration project on windows 7 64 bit OSB 11g1

    I get the following error when I try to publish a OSB configuration project:
    Project Facet Oracle Service Bus Configuration 1.0.100 is not supported by this server.
    I installed OSB 11gr1 the following way:
    1. downloaded + installed 64 bit windows Java JDK (1.6.0_20)
    2. downloaded and installed the generic installer weblogic + coherence ( without OEPE unfortunately) [filename=wls1033_generic.jar].
    3. Seperately downloaded 64 bit OEPE from http://www.oracle.com/technology/software/products/oepe/index.html. Unzipped it in a manually created directory oepe in the weblogic installation directory (C:\bea\oepe) [filename=oepe-galileo-all-in-one-11.1.1.5.0.201003170852-win32-x86_64.zip]
    4. Install the OSB by running the setup.exe from the osb installer (Disk1). During the install I selected the OEPE directory (C:\bea\oepe in my case).
    [filename=ofm_osb_generic_11.1.1.3.0_disk1_1of1]
    5. I Started eclipse.exe. The OSB plugins were put in the installment automatically during startup (dropins).
    I created a test domain and within eclipse I created a server (Oracle WebLogic Server 11gR1 PatchSet 2=10.3.3) so I could deploy projects onto this server. All went well. After this I created an OSB configuration project and an OSB project. When I tried to add this to the server I got the error as I mentioned above. This surprises me. The eclipse OSB plugins that were installed cannot create an OSB Configuration Project for the 10.3.3 version. So I cannot use eclipse to build project for the latest version. What is happening here?!?
    Can somebody enlight /help me.

    Although windows 7 is not officially supported I got something working. No garantees it will break at some point you can have a working 64 bit OSB on windows 7.
    To get oepe also working you have to install the 32 bit version from the 32 bit weblogic installer. When you have supplemented this version with the OSB plugins you can publish projects on Oracle WebLogic Server 11gR1 PatchSet 2.
    So try at your own risk or wait for an official version for windows 7

  • XSLT Mapping, Transformer configuration exception occurred when loading

    Hi,
    My source message is an IDOC HRMD, I need my target message to include exactly
    <EPERSON xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ContextPersonMessage">
    I have therefore suggested to use XSLT mapping.
    Here is the test_mapping.xsl that I Imported as Zip in Imported Archives.
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns0="http://polyright.com/xi/HR">
         <xsl:template match="/">
              <EPERSON xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ContextPersonMessage">
                          <xsl:for-each select="HRMD_A07/IDOC/E1PLOGI">
                <CONTEXTPERSON personid="" id="">
                      <PERSON action="add">
                               <TITLE></TITLE>
                               <FIRSTNAME><xsl:value-of select="E1PITYP/E1P0002/VORNA"/></FIRSTNAME>
                               <SECONDNAME></SECONDNAME>
                               <NAME><xsl:value-of select="E1PITYP/E1P0002/NACHN"/></NAME>
                               <ADDRESS1></ADDRESS1>
                               <ADDRESS2></ADDRESS2>
                               <POSTALCODE></POSTALCODE>
                               <CITY></CITY>
                               <COUNTRY></COUNTRY>
                               <COUNTRYID></COUNTRYID>
                               <PROFESSION></PROFESSION>
                               <LANGUAGE></LANGUAGE>
                               <LANGUAGEID></LANGUAGEID>
                               <PERSONTYPEID></PERSONTYPEID>
                               <CREATIONDATE></CREATIONDATE>
                               <BIRTHDATE></BIRTHDATE>
                               <CATEGORY></CATEGORY>
                             </PERSON>
                      </xsl:for-each>
              </EPERSON>
         </xsl:template>
    </xsl:stylesheet>
    When I test the Interface mapping, I get the following error:
    Transformer configuration exception occurred when loading XSLT test_mapping.xsl (http://polyright.com/xi/HR, 783938d1-4463-11dd-b136-e03ac0a80c15, -1)
    Searching through the forum, it is probably an namespace issue, but I have no idea of what needs to be changed. Any suggestions ?

    Try running end-to-end scenario and check if you could get detailed error message.
    Also check if the problem arises from the "ns0" usage.
    Regards,
    Prateek

  • XI transformer configuration exception

    Hi, I wonder if someone can help. I am struggling with an XSL that has been imported into XI. It is a mapping that has been used in another XI system (that I do not have access to) but I have a screen shot of the XSL. I have 'imported' this as an archive and used it on my mapping as it apparently solves loss of foreign characters when outputting to ISO-8859-1 but when I test I get the message 'Transformer configuration exception occurred when loading XSLT'. The code is as follows: -
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version "1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"  xmlns:fo="http://www.w3.org/1999/XSL/Format">
    <xsl:output encoding="ISO-8859-1"/>
    <xsl:template match="/">
         <xsl:copy-of select="*"/>
         </xsl:template>
    </xsl:stylesheet>
    Can anyone see what is wrong or is there something else I need to do. I added this .xsl into a zip before importing it.
    thanks
    Andy
    Edited by: Andy Jepson on Jan 16, 2008 1:50 PM
    Hi. I think I've solved this. Took the XSL into XMLSpy and saw that the file was badly formed. Even though I had read and re-read the code I seemed to miss an '=' on the version on line 2.
    Andy
    Edited by: Andy Jepson on Jan 16, 2008 4:41 PM
    Sorry guys. I still have a problem with this. The aforementioned XSL simply replaces the whole XML now rather than just amending the file encoding. Anybody help?

    Hi Tapio,
    Pls do check the following points.
    1. Make sure that the xsl file which you have your mapping code is having a 'small letter' extension. i.e., if your file name should be TAPIO.xsl, '.xsl' should not be in capital letters. If not change it and then make a zip file and reimport it as the imported archive.
    2. Check for the well formedness in any of the XML tools like XML spy. If any error is there with the missing tag or syntax you can rectify the same there itself.
    3. Activate the imported archive before using it in Interface Mapping.
    Cheers
    JK

  • How to define the OSB Configuration Project that an OSB Project uses?

    Hello,
    I'm using the Workshop bundled with "Oracle Service Bus 10gR1" (Oracle Workshop for WebLogic, Version: 10.3, Build id: 1137967).
    Where does one define the OSB Configuration Project that an OSB Project should use?
    I deleted an OSB Configuration Project. Now, all the OSB projects that were associated with it are in error stating "This project is not associated with an Oracle Service Bus Configuration". I created a new OSB configuration project so that I may re-associate the "orphan" projects with it. However, I can't seem to find a way to do that.

    You can create a new osb configuration project and drag the other osb projects on this projects.
    then i will link them to it. (make sure you use the oracle service bus perspective at the top right of the eclipse ide)

  • Programmatic deployment of osb configuration to cluster.

    Hi,
    Could you please help me to solve a deployment issue?
    The osb deployment environment is having an admin server and a cluster with 2 managed servers.
    I would like to deploy osb configuration jars to the cluster by programtic way using the scripts like given in the osb docs.
    The sample scripts given in the osb using admin server and port. If i deploy the osb configurations with admin host and port , will they deployed to the cluster? Or i have to specifically say to deploy in the cluster? If yes , how can i mention in the script, to deploy to the script?
    In one of the OSB video , its said if we use osb console, by default configurations will be deployed to cluster if there is cluster setup. But nothing mentioned about programmatic deployment. Could some one help me. Thanks.

    In a clustered topology, only one Oracle Service Bus cluster is allowed in a domain.
    Have a look at these documents
    http://docs.oracle.com/cd/E23943_01/doc.1111/e15022/intro.htm
    http://docs.oracle.com/cd/E14571_01/doc.1111/e15022/cluster.htm
    Cheers,
    Vlad

  • Unable to deploy OSB configuration project

    Hi,
    On WebLogic 10.3.0.0, I have been successfully deploying an OSB configuration project until today. When I tried today, I get the following error (from Oracle Workshop for Weblogic's error log view):
    org.eclipse.core.runtime.CoreException: Error publishing new container for: OSB Configuration
         at com.bea.alsb.server.publish.ALSBPublishOperation.publishNewContainer(ALSBPublishOperation.java:302)
         at com.bea.alsb.server.publish.ALSBPublishOperation.execute(ALSBPublishOperation.java:150)
         at com.bea.workshop.wls.core.server.internal.WeblogicServerBehaviour.performTasks(WeblogicServerBehaviour.java:1189)
         at com.bea.workshop.wls.core.server.internal.WeblogicServerBehaviour.publishToServer(WeblogicServerBehaviour.java:744)
         at com.bea.workshop.wls.core.server.internal.WeblogicServerBehaviour.publishOnce(WeblogicServerBehaviour.java:607)
         at com.bea.workshop.wls.core.server.internal.WeblogicServerBehaviour.publish(WeblogicServerBehaviour.java:503)
         at org.eclipse.wst.server.core.internal.Server.doPublish(Server.java:887)
         at org.eclipse.wst.server.core.internal.Server.publish(Server.java:874)
         at org.eclipse.wst.server.core.internal.ServerWorkingCopy.publish(ServerWorkingCopy.java:635)
         at org.eclipse.wst.server.core.internal.PublishServerJob.run(PublishServerJob.java:72)
         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    org.eclipse.core.runtime.CoreException[4000]: com.bea.alsb.core.repositories.RepositoryException: Error creating the Configuration Jar.
         at com.bea.alsb.core.internal.repositories.jar.ConfigFactory.createForProjects(ConfigFactory.java:132)
         at com.bea.alsb.core.internal.repositories.jar.ConfigFactory.createAllProjects(ConfigFactory.java:97)
         at com.bea.alsb.server.publish.ALSBPublishOperation.publishNewContainer(ALSBPublishOperation.java:290)
         at com.bea.alsb.server.publish.ALSBPublishOperation.execute(ALSBPublishOperation.java:150)
         at com.bea.workshop.wls.core.server.internal.WeblogicServerBehaviour.performTasks(WeblogicServerBehaviour.java:1189)
         at com.bea.workshop.wls.core.server.internal.WeblogicServerBehaviour.publishToServer(WeblogicServerBehaviour.java:744)
         at com.bea.workshop.wls.core.server.internal.WeblogicServerBehaviour.publishOnce(WeblogicServerBehaviour.java:607)
         at com.bea.workshop.wls.core.server.internal.WeblogicServerBehaviour.publish(WeblogicServerBehaviour.java:503)
         at org.eclipse.wst.server.core.internal.Server.doPublish(Server.java:887)
         at org.eclipse.wst.server.core.internal.Server.publish(Server.java:874)
         at org.eclipse.wst.server.core.internal.ServerWorkingCopy.publish(ServerWorkingCopy.java:635)
         at org.eclipse.wst.server.core.internal.PublishServerJob.run(PublishServerJob.java:72)
         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    Caused by: com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte.
         at com.rsa.jsafe.JA_PKCS5Padding.a(Unknown Source)
         at com.rsa.jsafe.JG_BlockCipher.decryptFinal(Unknown Source)
         at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptBytes(JSafeEncryptionServiceImpl.java:68)
         at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptString(JSafeEncryptionServiceImpl.java:94)
         at weblogic.security.internal.encryption.ClearOrEncryptedService.decrypt(ClearOrEncryptedService.java:87)
         at com.bea.wli.sb.security.EncryptionServiceImpl.decrypt(EncryptionServiceImpl.java:67)
         at com.bea.wli.sb.security.EncryptionServiceImpl.decryptOrClear(EncryptionServiceImpl.java:82)
         at com.bea.wli.sb.svcacct.EncryptionHelper.decryptOrClear(EncryptionHelper.java:55)
         at com.bea.wli.sb.svcacct.EncryptionHelper.toXML(EncryptionHelper.java:88)
         at com.bea.wli.sb.svcacct.EncryptionHelper.toXML(EncryptionHelper.java:76)
         at com.bea.wli.sb.svcacct.StaticServiceAccountConfig.toXML(StaticServiceAccountConfig.java:279)
         at com.bea.wli.sb.svcacct.StaticServiceAccountConfig.toExportedForm(StaticServiceAccountConfig.java:151)
         at com.bea.wli.sb.svcacct.StaticServiceAccountConfig.toExportedForm(StaticServiceAccountConfig.java:44)
         at com.bea.wli.sb.svcacct.ServiceAccountValueRepresentation.fromCanonical(ServiceAccountValueRepresentation.java:98)
         at com.bea.wli.config.importexport.ConfigJar$SerializedForm$ResourceInfo.<init>(ConfigJar.java:898)
         at com.bea.wli.config.importexport.ConfigJar$SerializedForm.addResourceForExport(ConfigJar.java:1106)
         at com.bea.wli.config.importexport.ConfigJar$SerializedForm.<init>(ConfigJar.java:990)
         at com.bea.wli.config.task.impl.ExportTask._execute(ExportTask.java:174)
         at com.bea.wli.config.task.impl.ExportTask._execute(ExportTask.java:62)
         at com.bea.wli.config.task.impl.SessionedTask$1.execute(SessionedTask.java:224)
         at com.bea.wli.config.transaction.TransactionalTask._doExecute(TransactionalTask.java:217)
         at com.bea.wli.config.transaction.TransactionalTask._doExecuteWithRetry(TransactionalTask.java:162)
         at com.bea.wli.config.transaction.TransactionalTask.doExecute(TransactionalTask.java:142)
         at com.bea.wli.config.task.impl.SessionedTask.doExecute(SessionedTask.java:227)
         at com.bea.wli.config.task.impl.SessionedTask.doExecute(SessionedTask.java:185)
         at com.bea.wli.config.task.impl.ExportTask.exportProjectLevel(ExportTask.java:138)
         at com.bea.wli.config.mbeans.Config.exportProjects(Config.java:493)
         at com.bea.alsb.core.internal.repositories.jar.ConfigFactory.createForProjects(ConfigFactory.java:127)
         ... 12 more
    and it will not deploy.
    Any ideas?

    "Caused by: com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte."
    This happens when your SerailizedSystemIni.dat (${DOMAIN_HOME}/security) file is somehow been modified.
    What you can try to do is to generate the encrypted passwords again by using the encrypt utility (http://download.oracle.com/docs/cd/E21764_01/web.1111/e13749/utils.htm#i1209774)
    - Make a back-up copy of the config.xml file (located in the ${DOMAIN_HOME}/config directory)
    - Navigate to the domain-home directory (An encrypted string must have been encrypted by the encryption service in the WebLogic domain where it will be used. If not, the server will not be able to decrypt the string.)
    - Set the weblogic environment by running setWLSEnv (located in the ${WL_HOME}/server/bin directory)
    - Run java weblogic.security.Encrypt MyAdminPassword
    - Edit your config.xml file and replace the encrypted entries (all the credential-encrypted and node-manager-password-encrypted elements) with the newly generated one.

  • OSB configuration versioning

    Hi all,
    could anybody tell me if there's any simple way(maybe it's predefined task in OSB or there's some workaround) to do OSB configuration versioning.
    I have complex task, the steps of which are (all done automatically) :
    1. sbconfig.jar is exported from Workshop;
    2. it is deployed on OSB;
    3. test are run to check if everything is OK - if sbconfig.jar is somehow crapped, OSB will be down...And I need to manually redeploy previous version of configuration. If I hadn't saved it previously (by manually exporting or...I don't know..), I am in trouble.
    So any ideas how I can make this versioning or how can I test sbconfig before deploying on OSB.
    As I see the solution now (though I don't like it):
    1. sbconfig.jar is exported from Workshop by script;
    2. current OSB config is exported and stored somewhere;
    3. latest sbconfig.jar is imported on OSB;
    4. running tests. If OK, leave as is otherwise deploy previous sbconfig back.
    Thanks in advance.
    Edited by: frf on 11/5/2010 0:25

    You may be interested in below thread for version controlling -
    Oracle Service Bus Configurations version control and deployment automation
    Regards,
    Anuj

  • Witch version oepe-all-in-one-juno can I use to do create osb configuration

    witch version oepe-all-in-one-juno can I use to do create osb configuration project ?
    I use ubuntu 12.04 64

    You can check all these out via the Web Part Maintenance Page. After the PageName.aspx, add ?contents=1 and you'll get a list of the webparts that are open and published on the page.
    You can't do too much here but you can reset the parts that you think might be causing the problems.
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • Configuring Exception pages thru servlets for tomcat5

    Hi,
    I am trying to configure exception pages for servlets. But cannot get it done. I have one servlet ServletMapping.java. I am defining in web.xml, that any error should go to the servlet ErrorDisplay.java, which in turn handles the error. I have written for javax.servlet.ServletException.
    But the control does not go to the error page servlet ErrorDisplay.java
    thanx in advance
    -biyat
    Here is my web.xml
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2_3.dtd">
    <web-app>
    <display-name>Biyat Testing System for web development</display-name>
    <description>
    Used to write Jsp/ Servlets
    </description>
    <servlet>
    <servlet-name>ServletMapping</servlet-name>
    <servlet-class>code.ServletMapping</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>ServletMapping</servlet-name>
    <url-pattern>/code/ServletMapping</url-pattern>
    </servlet-mapping>
    <servlet>
    <servlet-name>ErrorDisplay</servlet-name>
    <servlet-class>code.ErrorDisplay</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>ErrorDisplay</servlet-name>
    <url-pattern>/code/ErrorDisplay</url-pattern>
    </servlet-mapping>
    <error-page>
    <exception-type>javax.servlet.ServletException</exception-type>
    <location>/code/ErrorDisplay</location>
    </error-page>
    </web-app>
    Here is my servlets
    in webexp/WEB-INF/classes
    code/ErrorDisplay.java
    package code;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class ErrorDisplay extends HttpServlet
    public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    String code=null, message=null, type=null;
    Object codeObj, messageObj, typeObj;
    codeObj = request.getAttribute("javax.servlet.error.status_code");
    messageObj = request.getAttribute("javax.servlet.error.message");
    typeObj = request.getAttribute("javax.servlet.error.exception_type");
    if(codeObj != null)
    code = codeObj.toString();
    if(messageObj!=null)
    message = messageObj.toString();
    if(typeObj != null)
    type = typeObj.toString();
    String reason = (code!=null ? code : type);
    out.println("<html>");
    out.println("<head><title>"+reason+":- "+message+"</title></head>");
    out.println("<body>");
    out.println("<h1>"+reason+"</h1>");
    out.println("<h1>"+message+"</h1>");
    out.println("<hr>");
    out.println("<i>Error accessing "+request.getRequestURI()+"</i>");
    out.println("</body></html>");
    Here is the page where there is error.
    in webexp/WEB-INF/classes
    code/ServletMapping.java
    package code;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class ServletMapping extends HttpServlet
    public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
    String var1 = "logging starts";
    String str = request.getParameter("hello");
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    FileInputStream fis = new FileInputStream("hello.gif");
    out.println("<html><body><font color=red><b>Hello Biyat</b></font></body></html>");

    Hi, Biyat,
    The first thing I can see would help is to also define an error page for java.io.IOException - you can even re-use the same error page by adding the following to web.xml:
    <error-page>
    <exception-type>java.io.IOException</exception-type>
    <location>/code/ErrorDisplay</location>
    </error-page>
    djiao

  • [svn] 4494: Added tests to hit channels and services configuration exceptions

    Revision: 4494
    Author: [email protected]
    Date: 2009-01-12 16:12:09 -0800 (Mon, 12 Jan 2009)
    Log Message:
    Added tests to hit channels and services configuration exceptions
    checkintests: passed
    Added Paths:
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/channels/
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/channels/DuplicateIdTest/
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/channels/DuplicateIdTest/error.t xt
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/channels/DuplicateIdTest/service s-config.xml
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/channels/InvalidIdTest/
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/channels/InvalidIdTest/error.txt
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/channels/InvalidIdTest/services- config.xml
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/BadDefaultChannelTest/
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/BadDefaultChannelTest/e rror.txt
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/BadDefaultChannelTest/s ervices-config.xml
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/DuplicateDefTest/
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/DuplicateDefTest/error. txt
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/DuplicateDefTest/servic es-config.xml
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/DuplicateDefaultAdapter Test/
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/DuplicateDefaultAdapter Test/error.txt
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/DuplicateDefaultAdapter Test/services-config.xml
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/IncorrectRootElementTes t/
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/IncorrectRootElementTes t/error.txt
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/IncorrectRootElementTes t/messaging-config.xml
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/IncorrectRootElementTes t/services-config.xml
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/InvalidAdapterIdTest/
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/InvalidAdapterIdTest/er ror.txt
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/InvalidAdapterIdTest/se rvices-config.xml
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/InvalidIdTest/
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/InvalidIdTest/error.txt
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/InvalidIdTest/services- config.xml
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/NoClassAttrTest/
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/NoClassAttrTest/error.t xt
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/NoClassAttrTest/service s-config.xml

    my connectivity is okay, I'm getting errors from domain controller itself, I checked and the network is okay, but  for the record here is my ipconfig /all
    Windows IP Configuration
       Host Name . . . . . . . . . . . . : server
       Primary Dns Suffix  . . . . . . . : ***.tk
       Node Type . . . . . . . . . . . . : Hybrid
       IP Routing Enabled. . . . . . . . : No
       WINS Proxy Enabled. . . . . . . . : No
       DNS Suffix Search List. . . . . . : ***.tk
    Ethernet adapter Ethernet:
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Intel(R) 82574L Gigabit Network Connectio
    n
       Physical Address. . . . . . . . . : 00-0C-29-32-7E-79
       DHCP Enabled. . . . . . . . . . . : No
       Autoconfiguration Enabled . . . . : Yes
       IPv4 Address. . . . . . . . . . . : 213.233.***.***(Preferred)
       Subnet Mask . . . . . . . . . . . : 255.255.255.0
       Default Gateway . . . . . . . . . : 213.233.***.1
       DNS Servers . . . . . . . . . . . : 127.0.0.1
       NetBIOS over Tcpip. . . . . . . . : Enabled

  • 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

  • [svn] 4422: Add configSuite tests to cover a few configuration exceptions.

    Revision: 4422
    Author: [email protected]
    Date: 2009-01-07 10:13:54 -0800 (Wed, 07 Jan 2009)
    Log Message:
    Add configSuite tests to cover a few configuration exceptions.
    checkintests: passed
    Added Paths:
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/factories/
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/factories/NonExistentClassTest/
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/factories/NonExistentClassTest/e rror.txt
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/factories/NonExistentClassTest/s ervices-config.xml
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/properties/
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/properties/serverSettings/
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/properties/serverSettings/Invali dClusterMessageRoutingTest/
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/properties/serverSettings/Invali dClusterMessageRoutingTest/error.txt
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/properties/serverSettings/Invali dClusterMessageRoutingTest/services-config.xml
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/tokens/
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/tokens/InvalidTokenTest/
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/tokens/InvalidTokenTest/error.tx t
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/tokens/InvalidTokenTest/services -config.xml

    Hi Scott,
    I'm not sure I get all of what the plugin that "provides an EntityManagerFactory via OSGI plugin" is doing, but it looks like it is assuming to get injected, and I saw further down that you are using DS, so are you expecting DS to inject it?
    Assuming you are getting an EMF injected as you expect then the output log should show the entity classes that are getting processed. Set the eclipselink.logging.level to FINEST to get all of the config info, and set the GEMINI_DEBUG property described here and then please post that output. If it is too big then just attach it as a file.
    A couple things to fix:
    - The examples from the EclipseLink wiki are for using the obsolete native EclipseLink OSGi support. They should be ignored.
    - org.eclipse.persistence.jpa.equinox, org.eclipse.persistence.jpa.equinox.weaving, and org.eclipse.persistence.jpa.osgi JARs should not be installed or used with Gemini. They were for the obsolete OSGi support and are no longer used.
    A couple of style suggestions:
    - Don't ever initialize an id variable in place, particularly one that is supposed to be auto-generated.
    - You should not include both a Require-Bundle as well as an Import-Package for the same packages. It is confusing and error-prone.
    -Mike

  • JMS in OSB configuration

    Hello,
    My question is how to configure JMS as a Business Service in OSB?
    Here is scenario I've made:
    1) Created JMS Server
    Name: MyJMSServer
    Persistent Store: None
    Target: xbusServer because I'm using WLS provided with OSB
    2) Created JMS Module
    Name: MyJMSModule
    Targets: xbusServer
    3) In MyJMSModule added ConnectionFactory:
    Name: MyConnectionFactory
    JNDI Name: MyConnectionFactory
    Target: xbusServer
    4) In MyJMSModule also added Queue
    Name: MyQueueIn
    JNDI Name: MyQueueIn
    Subdeployments: Created new named MyQueueIn
    Targets: MyJMSServer
    So... in Business Service configuration I choose:
    Protocol: jms
    Endpoint URI: jms://localhost:7001/MyConnectionFactory/MyQueueIn
    Message Type is text
    Here is configuration screen: http://img684.imageshack.us/f/jms.png/
    When I try to test it typing plain Hello I receive error:
    *The invocation resulted in an error: [JMSPool:169803]JNDI lookup of the JMS connection factory MyConnectionFactory failed: javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://localhost:7001: Destination unreachable; nested exception is:*
    *java.net.ConnectException: Connection refused: connect; No available router to destination].*
    What's going on?
    Best regards,
    MK

    Hi,
    I have configured JMS module for connection facotyr and destination with
    LocalJNDI :'MyConnectionFactory'
    JNDI : Target jndi name (JNDI name)
    Destination details
    LocalJNDI :'MyQueueIn'
    JNDI : Target jndi name (queue location where the queue is hosted),
    When i configured the Endpoint URI in business service as :
    jms://10.12.153.186:8011/MyConnectionFactory/MyQueueIn
    ####<09/07/2010 11:21:30 AM EST> <Info> <Monitoring> <whkxsosb01.espdev.aurdev.national.com.au> <osb_server1> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <2a44f01b7e246a2f:-128e53a7:129b07a7d4f:-7ff4-0000000000001071> <1278638490088> <BEA-000000> <New Metadata version is 6879604590431809862>
    ####<09/07/2010 11:21:38 AM EST> <Warning> <WliSbTransports> <whkxsosb01.espdev.aurdev.national.com.au> <osb_server1> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <2a44f01b7e246a2f:-2cbcf7e0:129b0769a91:-7fff-0000000000000a35> <1278638498347> <BEA-381508> <Failed to check whether connection factory MyConnectionFactory supports XA. Will assume it does not: javax.naming.NameNotFoundException: Unable to resolve 'MyConnectionFactory'. Resolved ''; remaining name 'MyConnectionFactory'
    javax.naming.NameNotFoundException: Unable to resolve 'MyConnectionFactory'. Resolved ''; remaining name 'MyConnectionFactory'
         at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
         at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:252)
         at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
         at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
         at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
         at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:393)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at com.bea.wli.sb.transports.TransportsUtil$1.run(TransportsUtil.java:73)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at weblogic.security.Security.runAs(Security.java:61)
         at com.bea.wli.sb.transports.TransportsUtil.jndiLookup(TransportsUtil.java:89)
         at com.bea.wli.sb.transports.jms.JmsUtil.jndiLookup(JmsUtil.java:846)
         at com.bea.wli.sb.transports.jms.JmsUtil.getConnectionFactory(JmsUtil.java:540)
         at com.bea.wli.sb.transports.jms.JmsUtil.isXA(JmsUtil.java:513)
         at com.bea.wli.sb.transports.jms.JmsEndPoint.isTransactional(JmsEndPoint.java:345)
         at com.bea.wli.sb.transports.LoadBalanceFailoverListener.sendMessageAsync(LoadBalanceFailoverListener.java:141)
         at com.bea.wli.sb.transports.LoadBalanceFailoverListener.sendMessageToServiceAsync(LoadBalanceFailoverListener.java:603)
         at com.bea.wli.sb.transports.LoadBalanceFailoverListener.sendMessageToService(LoadBalanceFailoverListener.java:538)
         at com.bea.wli.sb.transports.TransportManagerImpl.sendMessageToService(TransportManagerImpl.java:558)
         at com.bea.wli.sb.transports.TransportManagerImpl.sendMessageAsync(TransportManagerImpl.java:426)
         at com.bea.wli.sb.test.service.ServiceMessageSender.send0(ServiceMessageSender.java:377)
         at com.bea.wli.sb.test.service.ServiceMessageSender.access$000(ServiceMessageSender.java:76)
         at com.bea.wli.sb.test.service.ServiceMessageSender$1.run(ServiceMessageSender.java:134)
         at com.bea.wli.sb.test.service.ServiceMessageSender$1.run(ServiceMessageSender.java:132)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at com.bea.wli.sb.security.WLSSecurityContextService.runAs(WLSSecurityContextService.java:55)
         at com.bea.wli.sb.test.service.ServiceMessageSender.send(ServiceMessageSender.java:137)
         at com.bea.wli.sb.test.service.ServiceProcessor.invoke(ServiceProcessor.java:454)
         at com.bea.wli.sb.test.TestServiceImpl.invoke(TestServiceImpl.java:172)
         at com.bea.wli.sb.test.client.ejb.TestServiceEJBBean.invoke(TestServiceEJBBean.java:167)
         at com.bea.wli.sb.test.client.ejb.TestService_sqr59p_EOImpl.invoke(TestService_sqr59p_EOImpl.java:353)
         at com.bea.wli.sb.test.client.ejb.TestService_sqr59p_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
    Can some one help me on how to resolve the issue?
    Thanks in advance

Maybe you are looking for

  • Can I Do This - Multiple User Accounts, Same Apple Account?

    I'm wondering if I can do this - I just got a new pc for my wife and kids, each of whom have an ipod. They have been sharing a username and Apple.com account (the xxxx@yyyy id) on the old pc, each synching their ipods with no problems. On the new PC,

  • Transporting a Function Group

    Hi All, I created a new function group and few function modules within it. Function group is attached to one transport request. But for some reasons I want  to transport it with some different transport request. So I deleted it from original request.

  • Using network shared variables in two computers connected via a network switch

    let me start by saying im a rookie to the programming environment but i have used Labview a couple of times to understand the basics,  i have a computer and a laptop (both using vista), both of them with Labview Full development System (Student ed. w

  • Some Problem in Configuring one scenario in XI

    Hello All, I have a scenario where i am using one sender channel and two receiver channels.I want to send data from one sender to two different receiver channels at a time. And also use some variable substitution in that scenario. Can you please help

  • Cannot e-mail video(s) from 3Gs

    Hi - I have the new 3Gs and largely it is working well. However after I take video with the unit it does not allow me to send it? It compresses and shows up as a .mov file but the unit will not send it. It hangs for a long time and then gives me the