Auto deploy of ALSB/OSB artifacts - Proxy, WSDL and other resources

hi.
i want to create resources (wsdl resource,proxy service resource ,eg) useing alsb api with java code.
i got one method in alsbconfigmbean(not alsbconfigurationmbean) class,createResource.
and i find one method in Refs class,makewsdlref.
but i donnot know how to use it.
now i had created project and folder,how can i create WSDL resource under the folder.
I am new about alsb,can someone help me please.

Resource creation through API is not supported by OSB or in other terms API is not made public.
Only API supported is documented at http://download.oracle.com/docs/cd/E17904_01/doc.1111/e15867/app_apis.htm#CHDHAJGD
Little surprised about use-case in which it is required?
Manoj

Similar Messages

  • Auto deploy of ALSB/OSB artifacts - Proxy, WSDL and webservices...

    Would like to know if there are any leads on how to automate the deployment of artifacts within OSB in an automated manner using WLST or any other method

    Hi,
    One can use offline WLST scripts for automated deployment. The script (python scripts) can be invoked using Ant. In summary, the steps are:
    1. Copy the relevant files in a folder (preferably <DOMAIN_HOME>). The files are
    a. import.py: The actual python script that does the deployment process
    b. import.properties: A properties file used by the import script. It contains information about the deployment jar file (sbconfig.jar), any customization file, host and port information of the OSB server and credential information
    c. sbconfig.jar(Or any other name): OSB deployable artifacts bundled using the editor or exported from another OSB environment
    d. build.xml: Defines the import task executed by ant
    e. OSB customization xml file
    2. Open a command prompt (Windows environment), navigate to <DOMAIN_HOME>/bin and execute setDomainenv.bat
    3. Additionally add the follwing jar files to the classpath. These files are used by the APIs used in the python script. These were not needed prior to the 3.0 version of OSB (ALSB). The files are: +<BEA_HOME>/modules/com.bea.common.configfwk_1.1.0.0.jar+ and +<OSB_HOME>/lib/sb-kernel-api.jar+
    4. Using the same command prompt, navigate to the folder where the files in step 1 had been placed and exeute the import task using ant (something like ant import)
    Plese find a sample of the import.py, build.xml and import.properties files as follows:
    *================= import.py =============================*
    from java.util import HashMap
    from java.util import HashSet
    from java.util import Map
    from java.util import Set
    from java.util.Map import Entry
    from java.util import ArrayList
    from java.util import Hashtable
    from java.lang import System
    from java.io import FileInputStream
    from weblogic.management.mbeanservers.domainruntime import DomainRuntimeServiceMBean
    from javax.management.remote import JMXConnector
    from weblogic.management.jmx import MBeanServerInvocationHandler
    from com.bea.wli.sb.management.configuration import ALSBConfigurationMBean
    from com.bea.wli.sb.management.configuration import SessionManagementMBean
    from com.bea.wli.config.customization import Customization
    from javax.management import ObjectName;
    from com.bea.wli.config.resource import Diagnostics
    from javax.management.remote import JMXConnectorFactory
    from javax.management.remote import JMXServiceURL
    from javax.naming import Context
    from com.bea.wli.config import Ref
    from com.bea.wli.sb.management.importexport import ALSBImportPlan
    from com.bea.wli.sb.management.importexport import ALSBImportOperation
    import sys
    #=======================================================================================
    # Entry function to deploy project configuration and resources
    # into a OSB domain
    #=======================================================================================
    def importToALSBDomain(importConfigFile):
    try:
    print 'Loading Deployment config from :', importConfigFile
    exportConfigProp = loadProps(importConfigFile)
    host = exportConfigProp.get("host")
    port = exportConfigProp.get("port")
    intPort = int(port)
    print "Connecting to: " + host + ":" + port
    importUser = exportConfigProp.get("importUser")
    importPassword = exportConfigProp.get("importPassword")
    importJar = exportConfigProp.get("importJar")
         customFile = exportConfigProp.get("customizationFile")
    # passphrase = exportConfigProp.get("passphrase")
    # project = exportConfigProp.get("project")
         print "Initiate Connection"
         conn = initConnection(host, intPort, importUser, importPassword)
         print "Connection successful"
         mbconn = conn.getMBeanServerConnection()
         obname = DomainRuntimeServiceMBean.OBJECT_NAME
         domainService = MBeanServerInvocationHandler.newProxyInstance(mbconn, ObjectName(obname))
         name = SessionManagementMBean.NAME
         type = SessionManagementMBean.TYPE
         sm = domainService.findService(name, type, None)
         bytes = readBinaryFile(importJar)
         sessionName = "ScriptImport"
         print "sessionName: ", sessionName
         sm.createSession(sessionName)
         alsbSession = domainService.findService(ALSBConfigurationMBean.NAME + "." + sessionName, ALSBConfigurationMBean.TYPE, None)
         alsbSession.uploadJarFile(bytes)
         jarInfo = alsbSession.getImportJarInfo()
         importPlan = jarInfo.getDefaultImportPlan()
         result = alsbSession.importUploaded(importPlan);
         # list of created references
         createdRef = ArrayList()
         operationMap = importPlan.getOperations()
         set = operationMap.entrySet()
         for entry in set:
              ref = entry.getKey()
              createdRef.add(ref)
    # Print out status and build a list of created references. Will be used for customization
         if result.getImported().size() > 0:
              print "The following resources have been imported: "
              for successEntry in result.getImported():
                   print successEntry.toString()
    # Check for error and discard session in any resource fails
         failCount = result.getFailed().size()
         if failCount > 0:
              print ""
              print "Failed for: " + failCount + " resources"
    #          print "The following resources failed to import"
    #          for entry in result.getFailed().entrySet():
    #               ref = entry.getKey()
    #               diagnostics = entry.getValue().toString()
    #               print ref + " Reason: " + diagnostics
    #          abort = true
    #          raise
    #=================================================
    # Apply Customizations
    #=================================================
    #customize if a customization file is specified
    #affects only the created resources
         if customFile != None :
              print "Loading customization File: " + customFile
              print "Customization applied to the created resources only" + createdRef.toString()
              iStream = FileInputStream(customFile)
              customizationList = Customization.fromXML(iStream)
              filteredCustomizationList = ArrayList()
              setRef = HashSet(createdRef)
    # apply a filter to all the customizations to narrow the target to the created resources
              for customization in customizationList:
                   newcustomization = customization.clone(setRef)
                   filteredCustomizationList.add(newcustomization)
              alsbSession.customize(filteredCustomizationList)
    #=========================
    # Activate Session
    #=========================
         sm.activateSession(sessionName, "Imported Configuration")
         print "Project imported"
         conn.close()
    except:
    print "Unexpected error:", sys.exc_info()[0]
         print "Discarding the session."
         sm.discardSession(sessionName)
         conn.close()
         raise
    #==================================================
    # Utility function for initiating connection
    #================================================
    def initConnection(hostname, port, username, password):
         serviceURL = JMXServiceURL("t3", hostname, port,"/jndi/" + DomainRuntimeServiceMBean.MBEANSERVER_JNDI_NAME)
         h=Hashtable()
         h.put(Context.SECURITY_PRINCIPAL, username)
         h.put(Context.SECURITY_CREDENTIALS, password)
         h.put(JMXConnectorFactory.PROTOCOL_PROVIDER_PACKAGES, "weblogic.management.remote")
         return JMXConnectorFactory.connect(serviceURL, h)
    #=======================================================================================
    # Utility function to print the list of operations
    #=======================================================================================
    def printOpMap(map):
    set = map.entrySet()
    for entry in set:
    op = entry.getValue()
    print op.getOperation(),
    ref = entry.getKey()
    print ref
    print
    #=======================================================================================
    # Utility function to print the diagnostics
    #=======================================================================================
    def printDiagMap(map):
    set = map.entrySet()
    for entry in set:
    diag = entry.getValue().toString()
    print diag
    print
    #=======================================================================================
    # Utility function to load properties from a config file
    #=======================================================================================
    def loadProps(configPropFile):
    propInputStream = FileInputStream(configPropFile)
    configProps = Properties()
    configProps.load(propInputStream)
    return configProps
    #=======================================================================================
    # Connect to the Admin Server
    #=======================================================================================
    def connectToServer(username, password, url):
    connect(username, password, url)
    domainRuntime()
    #=======================================================================================
    # Utility function to read a binary file
    #=======================================================================================
    def readBinaryFile(fileName):
    file = open(fileName, 'rb')
    bytes = file.read()
    return bytes
    #=======================================================================================
    # Utility function to create an arbitrary session name
    #=======================================================================================
    def createSessionName():
    sessionName = String("SessionScript"+Long(System.currentTimeMillis()).toString())
    return sessionName
    #=======================================================================================
    # Utility function to load a session MBeans
    #=======================================================================================
    def getSessionMBean(sessionName):
    SessionMBean = findService("Session","com.bea.wli.config.mbeans.SessionMBean")
    SessionMBean.createSession(sessionName)
    return SessionMBean
    # IMPORT script init
    try:
    # import the service bus configuration
    # argv[1] is the export config properties file
    importToALSBDomain(sys.argv[1])
    except:
    print "Unexpected error: ", sys.exc_info()[0]
    dumpStack()
    raise
    *=================================================================*
    *================ import.properties ======================================*
    # OSB Admin Security Configuration #
    host=localhost
    port=7001
    importUser=weblogic
    importPassword=weblogic
    # OSB Jar to be exported, optional customization file #
    importJar=ALSBSampleProject.jar
    #Use the following if you have any customization xml file#
    #customizationFile=ALSBSampleProject_Customization.xml
    # Optional passphrase and project name #
    #passphrase=
    #project=
    *===================================================================*
    *============================== build.xml===============================*
    <project default="import">
    <property name="domain.import.script" value="import.py"/>
    <property name="import.config.file" value="import.properties"/>
    <target name="import">
         <echo message="Importing configuration"/>
         <echo message="importscript: ${domain.import.script}"/>
         <java classname="weblogic.WLST" fork="true">
    <arg line="${domain.import.script} ${import.config.file}"/>
         </java>
    </target>
    </project>
    *=====================================================================*
    Hope this helps
    Thanks & Regards,
    Vivek

  • Auto correct the inputs received to Initial Capital and other letter small

    Hi,
    Please help to solve this..
    In HRMS is there any auto correct the inputs received to Initial Capital and other letter small in HRMS. E.g. If data is received by HRMS as 'RAMA' HRMS should auto correct to 'Rama' from legacy system(Input Files)
    Thanks-

    Is this a migration question? If so, you can apply a mask to the source data at the point of calling the api, e.g.
    p_last_name => INITCAP(source_last_name),
    etc

  • OSB 1031: proxy service and publishing JMS messages with no duplicates

    Hi all,
    we have a Web Service proxy that publishes messages into a JMS queue. The queue is persistent and the related connection factory is XA enabled.
    The proxy does the call to the JMS business service from a route node.
    If a failure occurrs after the publishing returns successfully, the caller receives back an error and it will try again to call the web service proxy.
    As the message has been published successfully and was not rollbacked by the proxy, the second call could put on the JMS queue a duplicate message.
    As far as we know only with JMS proxy service, OSB starts a transaction within the pipeline or are we wrong ?
    What do you suggest in order to avoid such a scenario described above ?
    Thanks and regards
    ferp

    Try this link to depict the behavior
    http://allthingsmdw.blogspot.com.au/2012/09/osb-service-callouts-and-oql-part-1.html

  • Deployment process for Large ALSB/OSB project

    Hi,
    I am searching for some details or article about deployment of alsb/osb projects (number of projects) as part of build process.
    How projects manages when number of different alsb projects need to be build, customized and imported into different environments.
    We are starting new release where developers would be working on different projects. i have a some ANT scripts which use WLST script to export single project, created jar file and place them into a specific location.
    For import, the script looks at a specific location, reads config.jar from that location, and imports that config into target environment. Now with multiple projects and each developer will deliver their own config.jar. How to handle that in WLST. I am not sure if the current approach i am using that any good to handle multiple projects deployment.
    Anyone could give some pointers or helpful hints?
    we are on version 10.0 and wont be moving to 10gR3 where we could use ANt to build config.jar from .metadata so not sure.
    I want to know what other projects are doing etc!
    many thanks in advance!
    sal

    It seems you already have certain level of insight into deployment process, but maybe you will find this document interesting:
    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/pdf/deploybestprac.pdf

  • How to create the OSB artifacts in JDeveloper

    The docs I've seen get me a little closer in being able to test the DB and AQ Adapters on the OSB, but it really does not help me understand how to do it through JDeveloper.
    In the past we have done all of the OSB development in Eclipse and then imported it into the OSB.
    Again, the docs I've seen shows how to do the Adapter configuration in JDeveloper and then how to create the Business Services and Proxy Services directly in the OSB console.
    But I need to know how to create the OSB artifacts in JDeveloper then import them into the OSB or if this is even possible. I know there is an optional Eclipse component that you can install with OSB. Will we have to use both tools? (e.g. Eclipse for the OSB components and then JDev for the Adapters.)
    Anyone have clarification?

    Again, the docs I've seen shows how to do the Adapter configuration in JDeveloper and then how to create the Business Services and Proxy Services directly in the OSB console.WSDL/Binding generation is required to be done in JDEV. OEPE/Workshop doesn't have these adapter plugins to generate WSDL and Bindings. Once the WSDL/Binding are generated you can either use sbconsole or OEPE/workshop for your usual development.
    But I need to know how to create the OSB artifacts in JDeveloper then import them into the OSB or if this is even possible. There are no OSB artifacts that need development in JDEV. As you are aware the oracle adapters exposes back-end functionality in XML interface. This XML interface is modeled by WSDL. For adapters to work we need the WSDL and corresponding binding. Since OSB JCA transport uses adapters, we are required to provide these components.
    Will we have to use both tools?For any services that are using JCA adapters, we need to use both (JDEV and (sbconsole or OEPE) ).
    IF your services doesn't have to use JCA adapters then JDEV is not required.
    Let me know if you have any questions.
    Manoj

  • OSB 11g proxy service test console fail with Broken pipe

    Hi everyone.
    I have a strange problem with OSB test console (and sometime with java client). The proxy I built cannot response after several request. In other word, I tried to test console for dozens time, sometime I cannot have response from OSB. I wait for the response for 5 minutes and get some strange exception, that is broken pipe, but error code is not unique.
    I cannot understand why my proxy service stuck in that exception. Can you help me to solve it ?
    Any suggestion is appreciated.
    P/S: that is log record on server:
    <BEA-423405> <An exception [Broken pipe] was thrown while rendering the content at [/jsp/test/ServiceResult.jsp].
    java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) at java.net.SocketOutputStream.write(SocketOutputStream.java:136) at weblogic.servlet.internal.ChunkOutput.writeChunkTransfer(ChunkOutput.java:568) at weblogic.servlet.internal.ChunkOutput.writeChunks(ChunkOutput.java:539) at weblogic.servlet.internal.ChunkOutput.flush(ChunkOutput.java:427) at weblogic.servlet.internal.CharsetChunkOutput.flush(CharsetChunkOutput.java:298) at weblogic.servlet.internal.ChunkOutput$2.checkForFlush(ChunkOutput.java:648) at weblogic.servlet.internal.CharsetChunkOutput.write(CharsetChunkOutput.java:200) at weblogic.servlet.internal.ChunkOutputWrapper.write(ChunkOutputWrapper.java:148) at weblogic.servlet.internal.ServletOutputStreamImpl.write(ServletOutputStreamImpl.java:148) at weblogic.servlet.internal.WLOutputStreamWriter.writeBytes(WLOutputStreamWriter.java:168) at weblogic.servlet.internal.WLOutputStreamWriter.flushBuffer(WLOutputStreamWriter.java:212) at weblogic.servlet.internal.WLOutputStreamWriter.write(WLOutputStreamWriter.java:132) at weblogic.servlet.internal.WLOutputStreamWriter.write(WLOutputStreamWriter.java:113) at weblogic.servlet.internal.DelegateChunkWriter.print(DelegateChunkWriter.java:118) at weblogic.servlet.internal.ChunkOutputWrapper.print(ChunkOutputWrapper.java:171) at weblogic.servlet.jsp.JspWriterImpl.print(JspWriterImpl.java:177) at com.bea.alsb.console.taglibs.test.TestExpandableDataSection.doStartTag(TestExpandableDataSection.java:202) at jsp_servlet._jsp._test.__serviceresult._jspService(__serviceresult.java:341) 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) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at org.apache.beehive.netui.pageflow.PageFlowPageFilter.continueChainNoWrapper(PageFlowPageFilter.java:455) at org.apache.beehive.netui.pageflow.PageFlowPageFilter.runPage(PageFlowPageFilter.java:432) at org.apache.beehive.netui.pageflow.PageFlowPageFilter.doFilter(PageFlowPageFilter.java:284) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:524) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444) at org.apache.beehive.netui.pageflow.scoping.internal.ScopedRequestDispatcher.include(ScopedRequestDispatcher.java:119) at com.bea.netuix.servlets.controls.content.JspContent.beginRender(JspContent.java:552) at com.bea.netuix.servlets.controls.content.NetuiContent.beginRender(NetuiContent.java:365) at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:485) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352) at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:326) at com.bea.netuix.nf.UIControl.render(UIControl.java:582) at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:486) at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146) at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:62) at jsp_servlet._framework._skeletons._wliconsole.__flowlayout._jspService(__flowlayout.java:271) 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) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183) at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444) at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:130) at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72) at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65) at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:481) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352) at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:326) at com.bea.netuix.nf.UIControl.render(UIControl.java:582) at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:486) at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146) at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:62) at jsp_servlet._framework._skeletons._wliconsole._popupwindow.__gridlayout._jspService(__gridlayout.java:312) 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) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183) at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444) at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:130) at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72) at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65) at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:481) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352) at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:326) at com.bea.netuix.nf.UIControl.render(UIControl.java:582) at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:486) at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146) at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:62) at jsp_servlet._framework._skeletons._wliconsole.__flowlayout._jspService(__flowlayout.java:271) 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) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183) at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444) at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:130) at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72) at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65) at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:481) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352) at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:326) at com.bea.netuix.nf.UIControl.render(UIControl.java:582) at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:486) at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146) at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:62) at jsp_servlet._framework._skeletons._wliconsole._popupwindow.__gridlayout._jspService(__gridlayout.java:312) 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) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183) at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444) at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:130) at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72) at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65) at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:481) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361) at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:208) at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:162) at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:388) at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:258) at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:199) at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:251) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:130) 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) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111) at java.security.AccessController.doPrivileged(Native Method) at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313) at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413) at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94) at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161) at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)Regards
    Cuong Pham

    Hi, everyone.
    This is my proxy service that was tested above. Can you show me some instructions for tuning it? On these day, I get many bad performance responses from that service.
    <?xml version="1.0" encoding="UTF-8"?>
    <xml-fragment xmlns:ser="http://www.bea.com/wli/sb/services" xmlns:tran="http://www.bea.com/wli/sb/transports" xmlns:env="http://www.bea.com/wli/config/env" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:con="http://www.bea.com/wli/sb/pipeline/config" xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config" xmlns:con2="http://www.bea.com/wli/sb/stages/config" xmlns:con3="http://www.bea.com/wli/sb/stages/routing/config" xmlns:con4="http://www.bea.com/wli/sb/stages/logging/config">
      <ser:coreEntry isProxy="true" isEnabled="true" isTracingEnabled="false">
        <ser:binding type="SOAP" isSoap12="false" xsi:type="con5:SoapBindingType" xmlns:con5="http://www.bea.com/wli/sb/services/bindings/config">
          <con5:wsdl ref="DnICT_OSB_Project/resources/wsdl/PortalSide"/>
          <con5:port>
            <con5:name>PortalSideSOAP</con5:name>
            <con5:namespace>http://www.example.org/PortalSide/</con5:namespace>
          </con5:port>
          <con5:selector type="SOAP body"/>
          <con5:WSI-compliant>false</con5:WSI-compliant>
        </ser:binding>
        <ser:monitoring isEnabled="false">
          <ser:aggregationInterval>10</ser:aggregationInterval>
          <ser:pipelineMonitoringLevel>Pipeline</ser:pipelineMonitoringLevel>
        </ser:monitoring>
        <ser:reporting>true</ser:reporting>
        <ser:logging isEnabled="true">
          <ser:logLevel>debug</ser:logLevel>
        </ser:logging>
        <ser:sla-alerting isEnabled="true">
          <ser:alertLevel>normal</ser:alertLevel>
        </ser:sla-alerting>
        <ser:pipeline-alerting isEnabled="true">
          <ser:alertLevel>normal</ser:alertLevel>
        </ser:pipeline-alerting>
        <ser:ws-policy>
          <ser:binding-mode>wsdl-policy-attachments</ser:binding-mode>
        </ser:ws-policy>
      </ser:coreEntry>
      <ser:endpointConfig>
        <tran:provider-id>http</tran:provider-id>
        <tran:inbound>true</tran:inbound>
        <tran:URI>
          <env:value>/DnICT_OSB_Project/proxy-services/DnICT_WSDL_PS</env:value>
        </tran:URI>
        <tran:inbound-properties/>
        <tran:all-headers>false</tran:all-headers>
        <tran:provider-specific>
          <http:inbound-properties/>
        </tran:provider-specific>
      </ser:endpointConfig>
      <ser:router>
        <con:pipeline type="request" name="GetRequestInfo_pipeline_pair_request">
          <con:stage name="InputProcess_stage">
            <con:context>
              <con2:varNsDecl namespace="http://www.example.org/PortalSide/" prefix="por"/>
              <con2:varNsDecl namespace="http://www.example.org/PortalSide_Test/" prefix="por1"/>
              <con2:varNsDecl namespace="http://www.example.org/OutputSchema" prefix="out"/>
            </con:context>
            <con:actions>
              <con1:assign varName="docId">
                <con2:id>_ActionId-2456490176600649155--723117a.130d7d91065.-7b86</con2:id>
                <con1:expr>
                  <con2:xqueryText>$body/por:checkStatus/documentId/text()</con2:xqueryText>
                </con1:expr>
              </con1:assign>
              <con1:assign varName="depId">
                <con2:id>_ActionId-2456490176600649155--723117a.130d7d91065.-7b69</con2:id>
                <con1:expr>
                  <con2:xqueryText>$body/por:checkStatus/departmentId/text()</con2:xqueryText>
                </con1:expr>
              </con1:assign>
              <con1:assign varName="srvId">
                <con2:id>_ActionId-4566721321360037228--34ba1746.13170e34dc9.-7d41</con2:id>
                <con1:expr>
                  <con2:xqueryText>$body/por:checkStatus/serviceId/text()</con2:xqueryText>
                </con1:expr>
              </con1:assign>
            </con:actions>
          </con:stage>
        </con:pipeline>
        <con:pipeline type="response" name="GetRequestInfo_pipeline_pair_response"/>
        <con:pipeline type="error" name="_onErrorHandler-4305915913837985194--28b0abb9.13175ecaaa7.-7d31">
          <con:stage name="stage1">
            <con:context>
              <con2:userNsDecl namespace="http://www.example.org/OutputSchema" prefix="ns2"/>
            </con:context>
            <con:actions>
              <con1:replace varName="body">
                <con2:id>_ActionId-6209548530523967653-4b474d03.13177132d5d.-7f08</con2:id>
                <con1:location>
                  <con2:xpathText>.</con2:xpathText>
                </con1:location>
                <con1:expr>
                  <con2:xqueryText><![CDATA[<soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
         <soapenv:Fault>
              <faultcode>soapenv:Server</faultcode>
              <faultstring>{concat($fault/ctx:errorCode,': ',$fault/ctx:reason)}</faultstring>
              <detail>
                   <ns2:faultResponse>
                        <errorCode>{$fault/ctx:errorCode/text()}</errorCode>
                        <reason>{$fault/ctx:reason}</reason>
                        <location>
                             <node>{$fault/ctx:location/ctx:node/text()}</node>
                             <path>{$fault/ctx:location/ctx:path/text()}</path>
                        </location>
                        <operation>{$inbound/ctx:service/ctx:operation/text()}</operation>
                        <uri>{$inbound/ctx:transport/ctx:uri/text()}</uri>
                        <host>{$inbound/ctx:transport/ctx:request/tp:headers/http:Host/text()}</host>
                        <request_body>{$copyBody}</request_body>
                   </ns2:faultResponse>
              </detail>
         </soapenv:Fault>
    </soapenv:Body>]]></con2:xqueryText>
                </con1:expr>
              </con1:replace>
              <con2:reply isError="true">
                <con2:id>_ActionId-4305915913837985194--28b0abb9.13175ecaaa7.-7cc3</con2:id>
              </con2:reply>
              <con4:log>
                <con2:id>_ActionId-556838872042008716--23ff25e2.131bcfb490d.-7fae</con2:id>
                <con4:logLevel>error</con4:logLevel>
                <con4:expr>
                  <con2:xqueryText>concat('Error while trying to query DnICT web service: ',$fault/ctx:errorCode,' : ',$fault/ctx:reason)</con2:xqueryText>
                </con4:expr>
              </con4:log>
            </con:actions>
          </con:stage>
        </con:pipeline>
        <con:flow>
          <con:pipeline-node name="GetRequestInfo_pipeline_pair">
            <con:comment>Lay cac thong tin trong form search</con:comment>
            <con:request>GetRequestInfo_pipeline_pair_request</con:request>
            <con:response>GetRequestInfo_pipeline_pair_response</con:response>
          </con:pipeline-node>
          <con:branch-node type="condition" name="branching_public_services">
            <con:context>
              <con2:varNsDecl namespace="http://www.example.org/PortalSide/" prefix="por"/>
            </con:context>
            <con:branch-table variable="depId">
              <con:branch name="SoTTTT">
                <con:operator>equals</con:operator>
                <con:value>1</con:value>
                <con:flow>
                  <con:branch-node type="condition" name="DnICT_dept_services">
                    <con:context/>
                    <con:branch-table variable="srvId">
                      <con:branch name="DichVu_1">
                        <con:operator>equals</con:operator>
                        <con:value>64</con:value>
                        <con:flow>
                          <con:route-node name="RouteToDnICT_BS" error-handler="_onErrorHandler-4305915913837985194--28b0abb9.13175ecaaa7.-7d31">
                            <con:context>
                              <con2:varNsDecl namespace="http://www.example.org/PortalSide/" prefix="por"/>
                              <con2:varNsDecl namespace="http://www.example.org/PortalSide_Test/" prefix="por1"/>
                              <con2:varNsDecl namespace="http://www.example.org/OutputSchema" prefix="out"/>
                            </con:context>
                            <con:actions>
                              <con3:route>
                                <con2:id>_ActionId-4566721321360037228--34ba1746.13170e34dc9.-7b4c</con2:id>
                                <con3:service ref="DnICT_OSB_Project/busines-services/DnictServiceBS" xsi:type="ref:BusinessServiceRef" xmlns:ref="http://www.bea.com/wli/sb/reference"/>
                                <con3:operation>selecttrangthai</con3:operation>
                                <con3:outboundTransform>
                                  <con1:assign varName="username">
                                    <con2:id>_ActionId-4566721321360037228--34ba1746.13170e34dc9.-7b4b</con2:id>
                                    <con1:expr>
                                      <con2:xqueryText>fn:string('stttt')</con2:xqueryText>
                                    </con1:expr>
                                  </con1:assign>
                                  <con1:assign varName="password">
                                    <con2:id>_ActionId-4566721321360037228--34ba1746.13170e34dc9.-7b4a</con2:id>
                                    <con1:expr>
                                      <con2:xqueryText>fn:string('123456')</con2:xqueryText>
                                    </con1:expr>
                                  </con1:assign>
                                  <con1:replace contents-only="true" varName="body">
                                    <con2:id>_ActionId-4566721321360037228--34ba1746.13170e34dc9.-7b49</con2:id>
                                    <con1:expr>
                                      <con2:xqueryText><![CDATA[<soap:selecttrangthai       xmlns:soap="http://soapinterop.org/">
         <username       xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">{$username}</username>
         <password       xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">{$password}</password>
         <masohoso       xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">{$docId}</masohoso>
    </soap:selecttrangthai>]]></con2:xqueryText>
                                    </con1:expr>
                                  </con1:replace>
                                </con3:outboundTransform>
                                <con3:responseTransform/>
                              </con3:route>
                            </con:actions>
                          </con:route-node>
                        </con:flow>
                      </con:branch>
                      <con:default-branch>
                        <con:flow/>
                      </con:default-branch>
                    </con:branch-table>
                  </con:branch-node>
                </con:flow>
              </con:branch>
              <con:branch name="SoGTVT">
                <con:operator>equals</con:operator>
                <con:value>2</con:value>
                <con:flow/>
              </con:branch>
              <con:default-branch>
                <con:flow/>
              </con:default-branch>
            </con:branch-table>
          </con:branch-node>
        </con:flow>
      </ser:router>
    </xml-fragment>

  • OSB proxy service and BPEL depedency is not established in BTM

    Hi All,
    I am using BTM 12.1.0.3 and I have deployed a service where an OSB proxy service is taking employee information and callling a BPEL process which writes data in some database table. The OSB proxy service and BPEL got discovered in BTM but the dependecy between OSB Proxy service and BPEL process is not established in BTM. I have used soa-dorect protocol to call the BPEL from OSB. I have also tried with using http protocol in OSB for calling a BPEL but nothing worked and the depedency is not established in BTM.
    Now I want to create an end-toend transaction i.e. starting from OSB proxy to the database. For this I selected OSB proxy operation and BPEL operation but correlation is not established. How can I correlate these operation? And how can I create an end-to-end transaction for this type of service where OSB calls a BPEL?
    Please guide!!
    Thanks in advance!!

    you can manually correlate any number of services to create an end-2-end transaction. Please see http://docs.oracle.com/cd/E24628_01/doc.121/e37014/transactions004.htm#BABDBDFI on how to manually correlate services in BTM.

  • HTTP Basic authentication for proxy service and its wsdl?

    Hello:
    For some reasons I needed to configure the HTTP basic authentication on a proxy service at OSB 11g. Everything was OK until I realized that, additionally to the authentication when calling the service, the OSB also asks for credentials when I try to get that proxy wsdl file.
    My requirements are to secure the proxy service when is called only, not when retrieving the wsdl.
    Is this possible to configure on OSB / WLS? How?
    Greetings!
    Edited by: user4483647 on 02-sep-2010 12:59
    Edited by: user4483647 on 02-sep-2010 13:25

    If I'm not wrong, Basic authentication is Transport level feature. So passing User/Password in SOAPHeader doesn't make sense. SOAP message can only be sent when you have a HTTP Connection open. During opening of HTTP connection User/Password is required for basic authentication.
    http://www.student.nada.kth.se/~d95-cro/j2eetutorial14/doc/Security7.html#wp156943
    Edited by: mneelapu on Apr 2, 2009 2:09 PM

  • Health check for load balancing ALSB/OSB instances

    What is the standard practice for a load balancer sitting in front of ALSB/OSB instances as far as a health check? I'm working with our IS department to implement a valid health check. Currently the load balancer (older model cisco device) is just checking for an active port which is generating excessive logging on the ALSB side. As a workaround I'm just going to have the loadbalancer check for a http 200 response and a greater than zero body size.
    thanks in advance...

    it depends on the type of load balancer what it can do. I suggest create a 'empty' proxy service that does not have logging or auditing. Publish the prox and use this webservice in your load balancer to check if the service is available.
    Marc

  • Auto Deploy Failed

    I have downloaded J2EE 1.4 installation exe file and installed it to my system. As I followed the first tip to test the installation I tried autodeploying (copying the war file to my autodeploy folder) but it fails. My PC is an AMD64 with windows XP Pro (32-bit) installed.
    The server starts and ends OK.
    Is there a problem with 64bit CPUs?
    I installed and succesfully autodeployed it on my laptop which is Intel P4.

    Thank you for the advice. When I start the app server, I get this log. This is before I try auto deploying my own war file.
    Can it be a problem with my environment variables?
    Thank you.
    [#|2004-06-23T12:44:41.890+0300|INFO|sun-appserver-pe8.0|javax.enterprise.system.core|_ThreadID=10;|CORE5100:Loading system apps|#]
    [#|2004-06-23T12:44:41.906+0300|INFO|sun-appserver-pe8.0|javax.enterprise.system.core|_ThreadID=10;|Selecting file [C:\Sun\AppServer\lib\install\applications\MEjbApp.ear] for autodeployment|#]
    [#|2004-06-23T12:44:41.906+0300|INFO|sun-appserver-pe8.0|javax.enterprise.system.core|_ThreadID=10;|Selecting file [C:\Sun\AppServer\lib\install\applications\__ejb_container_timer_app.ear] for autodeployment|#]
    [#|2004-06-23T12:44:41.906+0300|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.admin|_ThreadID=10;|[AutoDeploy] Selecting file [ C:\Sun\AppServer\lib\install\applications\MEjbApp.ear ] for autodeployment.|#]
    [#|2004-06-23T12:44:42.015+0300|WARNING|sun-appserver-pe8.0|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM1022:Deployment failed - Detailed Message:
    com.sun.enterprise.admin.common.exception.ServerInstanceException
         at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.getVirtualServerHostAndPort(ApplicationsConfigMBean.java:2133)
         at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.setHostAndPort(ApplicationsConfigMBean.java:3034)
         at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.deploy(ApplicationsConfigMBean.java:274)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:287)
         at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:280)
         at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:221)
         at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:228)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:823)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:792)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
         at $Proxy1.invoke(Unknown Source)
         at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:282)
         at com.sun.enterprise.deployment.autodeploy.AutoDeployer.invokeDeploymentService(AutoDeployer.java:471)
         at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployApplication(AutoDeployer.java:367)
         at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployApplication(AutoDeployer.java:346)
         at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:167)
         at com.sun.enterprise.server.SystemAppLifecycle.deployToTarget(SystemAppLifecycle.java:180)
         at com.sun.enterprise.server.SystemAppLifecycle.deploySystemApps(SystemAppLifecycle.java:155)
         at com.sun.enterprise.server.SystemAppLifecycle.onStartup(SystemAppLifecycle.java:77)
         at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:295)
         at com.sun.enterprise.server.PEMain.run(PEMain.java:220)
         at com.sun.enterprise.server.PEMain.main(PEMain.java:172)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
    |#]
    [#|2004-06-23T12:44:42.015+0300|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.admin|_ThreadID=10;|[AutoDeploy] Exception occures while invoking backend deployment service for file : C:\Sun\AppServer\lib\install\applications\MEjbApp.ear. -- null -- null|#]
    [#|2004-06-23T12:44:42.015+0300|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.admin|_ThreadID=10;|[AutoDeploy] Autodeploy failed : C:\Sun\AppServer\lib\install\applications\MEjbApp.ear.|#]
    [#|2004-06-23T12:44:42.015+0300|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.admin|_ThreadID=10;|[AutoDeploy] Selecting file [ C:\Sun\AppServer\lib\install\applications\__ejb_container_timer_app.ear ] for autodeployment.|#]
    [#|2004-06-23T12:44:42.031+0300|WARNING|sun-appserver-pe8.0|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM1022:Deployment failed - Detailed Message:
    com.sun.enterprise.admin.common.exception.ServerInstanceException
         at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.getVirtualServerHostAndPort(ApplicationsConfigMBean.java:2133)
         at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.setHostAndPort(ApplicationsConfigMBean.java:3034)
         at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.deploy(ApplicationsConfigMBean.java:274)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:287)
         at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:280)
         at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:221)
         at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:228)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:823)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:792)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
         at $Proxy1.invoke(Unknown Source)
         at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:282)
         at com.sun.enterprise.deployment.autodeploy.AutoDeployer.invokeDeploymentService(AutoDeployer.java:471)
         at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployApplication(AutoDeployer.java:367)
         at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployApplication(AutoDeployer.java:346)
         at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:167)
         at com.sun.enterprise.server.SystemAppLifecycle.deployToTarget(SystemAppLifecycle.java:180)
         at com.sun.enterprise.server.SystemAppLifecycle.deploySystemApps(SystemAppLifecycle.java:155)
         at com.sun.enterprise.server.SystemAppLifecycle.onStartup(SystemAppLifecycle.java:77)
         at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:295)
         at com.sun.enterprise.server.PEMain.run(PEMain.java:220)
         at com.sun.enterprise.server.PEMain.main(PEMain.java:172)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
    |#]
    [#|2004-06-23T12:44:42.031+0300|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.admin|_ThreadID=10;|[AutoDeploy] Exception occures while invoking backend deployment service for file : C:\Sun\AppServer\lib\install\applications\__ejb_container_timer_app.ear. -- null -- null|#]
    [#|2004-06-23T12:44:42.031+0300|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.admin|_ThreadID=10;|[AutoDeploy] Autodeploy failed : C:\Sun\AppServer\lib\install\applications\__ejb_container_timer_app.ear.|#]

  • Error auto-deploying a Web App (.WAR file)

    Hello,
    Weblogic 6.1 throws a FileNotFoundException about 10% of the time for me when
    auto-deploying a Web app. Has anyone else run into this? I searched the newsgroups
    but didn't come up with anything, so I thought I'd start here.
    My build/deploy cycle is managed by an Ant build file that creates a WAR file
    of my web application and then drops it into $WL_HOME/config/mydomain/applications.
    Occasionally when I do this, I get the error shown below. Originally I was building
    the WAR file right in the ../applications directory, so I thought that might be
    an issue. So, I started building the WAR file in a staging directory and copying
    it into ../applications. No luck. Next, I tried deleting the original WAR file
    from ../applications, and THEN copying the new one over from the staging directory.
    Still fails occasionally.
    Let's see. This is Weblogic 6.1 on Win2K. The only other thing is that my dev/build/staging
    environment is on a network share, and it's from there that I'm copying the WAR
    file to my local machine (where WL is running).
    If someone has seen and/or knows what is up with this, great. If not, it's not
    a show-stopper.
    Thanks!
    Cheers,
    David
    ========================================================
    <Apr 8, 2002 9:05:00 AM PDT> <Error> <Management> <IOException opening application
    mydomain:Name=private-banking,Type=Application, loading from path .\config\mydomain\applications\private-banking.war
    java.io.FileNotFoundException: error in opening zip file
         at weblogic.management.mbeans.custom.Application.findType(Application.java:1833)
         at weblogic.management.mbeans.custom.Application.adminLoad(Application.java:444)
         at weblogic.management.mbeans.custom.Application.load(Application.java:387)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
         at $Proxy8.load(Unknown Source)
         at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:840)
         at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:733)
         at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:206)
         at weblogic.management.mbeans.custom.ApplicationManager$ApplicationPoller.run(ApplicationManager.java:1050)

    Michael,
    This is a problem with 6.1 SP2 also -- a very annoying error. Without auto deploy
    working properly, developers are spending alot of time waiting for WebLogic to restart.
    HELP!!! we need this fixed.
    I see the EXACT same stack trace (ERROR).
    Tom Markel
    Sr. Java Engineer
    Michael Young <[email protected]> wrote:
    Hi.
    This may be a known issue that was addressed in sp2. If you are not already
    at that sp level I suggest you upgrade.
    Regards,
    Michael
    David Ventimiglia wrote:
    Hello,
    Weblogic 6.1 throws a FileNotFoundException about 10% of the time forme when
    auto-deploying a Web app. Has anyone else run into this? I searchedthe newsgroups
    but didn't come up with anything, so I thought I'd start here.
    My build/deploy cycle is managed by an Ant build file that creates a WARfile
    of my web application and then drops it into $WL_HOME/config/mydomain/applications.
    Occasionally when I do this, I get the error shown below. OriginallyI was building
    the WAR file right in the ../applications directory, so I thought thatmight be
    an issue. So, I started building the WAR file in a staging directoryand copying
    it into ../applications. No luck. Next, I tried deleting the originalWAR file
    from ../applications, and THEN copying the new one over from the stagingdirectory.
    Still fails occasionally.
    Let's see. This is Weblogic 6.1 on Win2K. The only other thing is thatmy dev/build/staging
    environment is on a network share, and it's from there that I'm copyingthe WAR
    file to my local machine (where WL is running).
    If someone has seen and/or knows what is up with this, great. If not,it's not
    a show-stopper.
    Thanks!
    Cheers,
    David
    ========================================================
    <Apr 8, 2002 9:05:00 AM PDT> <Error> <Management> <IOException openingapplication
    mydomain:Name=private-banking,Type=Application, loading from path .\config\mydomain\applications\private-banking.war
    java.io.FileNotFoundException: error in opening zip file
    at weblogic.management.mbeans.custom.Application.findType(Application.java:1833)
    at weblogic.management.mbeans.custom.Application.adminLoad(Application.java:444)
    at weblogic.management.mbeans.custom.Application.load(Application.java:387)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy8.load(Unknown Source)
    at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:840)
    at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:733)
    at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:206)
    at weblogic.management.mbeans.custom.ApplicationManager$ApplicationPoller.run(ApplicationManager.java:1050)--
    Michael Young
    Developer Relations Engineer
    BEA Support

  • Auto deploy a VI onto compactRIO or pop-up a vi on target in main VI

    Hello
    I have a main program where i have event structure and 2 state machines which do DAQ and Video. in a different project i have a pid controlled heater program that will be deployed on compactRIO. how do i program the main VI to auto deploy the heater program to target and get values from there to the main program. (for graph values can i use global varible between realtime program and normal main program)
    I am thinking if i use the shared variable that is update by AI of a module on Compactrio in the main program, will it auto deploy it detecting that shared variables belong to target, but i want only the heater part of the program to get deployed not the event strucute, statemachines on the mian program. please help
    If i can put a button on main program that when clicked can pop-up the heater program on compact RIO to adjust the PID parameters and close it and run with new values. is this possible?
    Thanks in advance

    Hi freemason,
    I'm still a bit unclear on what you need. If you are able to develop your project such that all the VIs are located in thier respective locations (i.e. on the cRIO, RT or Windows Host), and you just want to change controls before running the FPGA vi, we can do that. Essentially, you use a read/write control VI before running the FPGA VI using the Run invoke node. You'll have to make sure to change the FPGA open reference options to not run the VI automatically (right click on it and select "Configure Open FPGA VI Reference...", uncheck the run option).
    If you want to look at an example involving PID in the LabVIEW example finder, one that might be of particular interest is called "Template Multichannel PID". You can find this in through Help>Find Examples. Navigate to Hardware Input and Output>CompactRIO>FPGA Fundamentals>Analysis and Control.
    You can use the execution of your host VI to start and stop the FPGA vi using the Read/Write Control VI and the Run invoke node. Also, you can use an invoke node to Abort the VI if that is necessary, but creating a stop control in the FPGA VI that allows the Host VI to stop using programming flow is usually more desirable.
    I hope these suggestions help, but please clarify your question if you're still confused.
    Also, Pablo. Try setting the VI to run as a start up application. A guide of how to do that is here.
    Message Edited by Verne D on 04-06-2010 01:07 PM
    Message Edited by Verne D on 04-06-2010 01:07 PM
    Verne D. // LabVIEW & SignalExpress Product Support Engineer // National Instruments

  • Auto-Deployment is not working in Eclipse - Weblogic

    I have created weblogic server instance in Eclipse.Then, I have added one project into weblogic server by using "Add/Remove Projects" menu.After I start the server , I logged into admin console and checked the deployments link. I am not finding the project listed in the list.I have selected option "Run stand alone web module directly from work space" in web logic server configuration window in eclipse.
    I am using Eclipse 3.3 and weblogic 10.0.
    I have no idea, why auto-deployment is not working.
    I would appreciate your help on this regard.I have contacted Eclipse Support, they have asked me to contact BEA team.
    Thanks,
    Prakash.A

    Hi Prakash,
    The "Run standalone web module from workspace" doesn't publish the application to the server (instead the app is deployed to a temp location).
    This is mainly to help test the app during the development stages. If your app is complete and would like to publish to the server then you might want to try the following option
    - In Server View, double click on the configuration to launch Overview
    - Select "Copy stand-alone web module into separate deployment folder"
    - Save the configuration
    - Start the server
    The application would be deployed to the server as a WAR file.

  • Auto deploying branch office printers with Direct Access

    Hello there
    I am implementing my first Direct Access topology and have a question. We will have branch offices with workstations deployed using Direct Access for administrative purposes. We have staff moving around from branch to branch with the goal to
    make logging on to the network and accessing resources for users as automated as possible. One of the questions I have regards auto configuring branch printers for users using Group Policy. The branch offices have workstations, printers and NAT modem/routers
    with DHCP - but no servers.
    If we have a stand alone network printer, how do we list that printer in Active Directory allowing the user to auto-configure it using group policy? If we install it on a server at Head Office, would the print job travel there first and then back to
    the branch? Obviously this is not ideal. Or can it be directed straight to the printer using a script or something?
    Alternatively we can install and share it on a branch workstation and list it in the directory, but would this not be same the problem as above? This is not ideal either as it would depend on the workstation being always on and available.
    Any input Direct Access gurus?
    Thanks in advance
    MIS5000

    Hi,
    Thanks for your post.
    We could have 2 possible solutions for natively deploy printers using Group Policy without the need for any scripting:
    1) Group Policy Preferences – available in Windows Server 2008 and later
    2) Print Management – available in Windows Server 2003 R2 and later
    http://blog.powershell.no/2009/11/08/deploying-printers-using-group-policy/
    Did you try to use the Print Management? You can share printers on a network and centralize print server and network printer management tasks using the Print Management Microsoft Management Console (MMC) snap-in. Print Management helps you to monitor print
    queues and receive notifications when print queues stop processing print jobs. It also enables you to migrate print servers and deploy printer connections using Group Policy.
    https://technet.microsoft.com/en-us/library/cc731857.aspx
    Meanwhile, if you have any Direct Access related issue, I think you may ask in network forums:
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/home?forum=winserverNIS
    Regards.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

Maybe you are looking for

  • Calling DB connection from another class

    Hi I am trying to create a method in another class to call another method that checks for userid in DB? What is the best way to set this up? I.e. calling method? //calling method below line private boolean setuserExist(String username) {      else re

  • Nokia N73 tim brand...when a new firmware...???

    I saw that the latest firmware version (for n73 tim brand) is v 3.0638.0.0.2 yet... when tim and nokia will release a new version??? PS sorry for my english.. XD

  • Date Format on OWB 11.1.0.7 to use for input parameter for a mapping

    All, What is the Date Format on OWB 11.1.0.7 to use for passing in an input parameter for a mapping to execute? I have tried '01-01-2010','01-JAN-2010','01.01.2010', 01/01/2010 and I get the following error: Error RPE-01003: An infrastructure conditi

  • Problem with treeTable

    Hello, and happy new year everybody, I'm working on treetable and I use TreeTable II. I want to hide the root node, with setRootVisible(false) in JTreeTable. But if I change the values of the tree (remove all current nodes and insert new ones), nothi

  • My cd drive isn't reading cds anymore, any suggestions?

    Whenever I put in a CD into my macbook, I hear it work, however it never shows up on my desktop or anywhere else, and sometimes the CD ejects automatically soon later .. Any help?