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

Similar Messages

  • 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

  • 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 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 Deploy and VCD Network Isolation - Not Working

    Hello,
    I have opened a support case about this issue, but the case is moving a lot slower than I would like to see. I thought I'd post here to see if anyone has ran into anything similar.
    We recently switched our 24-host vCloud cluster (more info about this cluster below) over to Auto-Deploy (was using boot from USB). After the switch, we had a few complaints from customers that use isolated networks. It turns out that only 4 of our 24 hosts were working properly with isolated networks. All 24-hosts are using the same auto-deploy image.
    When the hosts boot up, the vCloud Director web interface shows the following with green check marks: "Status", "Enabled", "Ready", "Available", and "VCD Network Isolation Capable".
    To get my other 20 hosts working, I disabled all 20 hosts in the vCloud interface, unprepared them, and prepared them. After this, network isolation worked for those 20 hosts. When I reboot one of the hosts, the host still looks like it's good in the interface, but network isolation doesn't work until I disable, unprepare, and prepare.
    Here is some more information about our environment:
    vCenter build 2001466
    ESXi Host Build 2702864
    VCD Build 5.5.2.2000523
    vShield Build 5.5.3
    Here is the Deploy Rule that the hosts are using:
    Name        : UCS-2.2.1-pcloud.5.5.aln
    PatternList : {oemstring=$SPT:ESX_PublicCloud_autod.2.2.x}
    ItemList    : {ESXi-5.5.0-autod-2.2.1.vshield}
    I have confirmed that this is indeed the profile being used by looking at the Summary tab for the hosts and seeing the listed Image Profile.
    And here is what's in that item:
    PowerCLI D:\ImageBuild> Get-EsxSoftwarePackage
    Name                     Version                        Vendor     Creation Date
    misc-cnic-register       1.72.1.v50.1i-1vmw.550.0.0.... VMware     9/19/2013 6:0...
    scsi-lpfc820             8.2.3.1-129vmw.550.0.0.1331820 VMware     9/19/2013 6:0...
    scsi-megaraid-mbox       2.20.5.1-6vmw.550.0.0.1331820  VMware     9/19/2013 6:0...
    esx-xlibs                5.5.0-0.0.1331820              VMware     9/19/2013 6:0...
    lpfc                     10.0.100.1-1vmw.550.0.0.133... VMware     9/19/2013 6:0...
    mtip32xx-native          3.3.4-1vmw.550.1.15.1623387    VMware     2/22/2014 1:1...
    net-nx-nic               5.0.621-1vmw.550.0.0.1331820   VMware     9/19/2013 6:0...
    block-cciss              3.6.14-10vmw.550.0.0.1331820   VMware     9/19/2013 6:0...
    scsi-fnic                1.6.0.5-1OEM.500.0.0.472560    cisco      9/30/2013 11:...
    net-enic                 2.1.2.42-1OEM.500.0.0.472560   Cisco      9/5/2013 8:30...
    sata-sata-sil24          1.1-1vmw.550.0.0.1331820       VMware     9/19/2013 6:0...
    rste                     2.0.2.0088-4vmw.550.1.15.16... VMware     2/22/2014 1:1...
    elxnet                   10.0.100.0v-1vmw.550.0.0.13... VMware     9/19/2013 6:0...
    scsi-aacraid             1.1.5.1-9vmw.550.0.0.1331820   VMware     9/19/2013 6:0...
    ata-pata-cmd64x          0.2.5-3vmw.550.0.0.1331820     VMware     9/19/2013 6:0...
    net-cnic                 1.72.52.v55.1-1vmw.550.0.0.... VMware     9/19/2013 6:0...
    scsi-adp94xx             1.0.8.12-6vmw.550.0.0.1331820  VMware     9/19/2013 6:0...
    net-be2net               4.6.100.0v-1vmw.550.0.0.133... VMware     9/19/2013 6:0...
    net-ixgbe                3.7.13.7.14iov-12vmw.550.2.... VMware     4/29/2015 6:4...
    net-igb                  5.0.5.1.1-1vmw.550.2.54.240... VMware     1/1/2015 8:00...
    epsec-mux                5.1.0-01814505                 VMware     5/13/2014 4:3...
    esx-base                 5.5.0-2.62.2702864             VMware     4/29/2015 6:4...
    ata-pata-sil680          0.4.8-3vmw.550.0.0.1331820     VMware     9/19/2013 6:0...
    ipmi-ipmi-msghandler     39.1-4vmw.550.0.0.1331820      VMware     9/19/2013 6:0...
    ata-pata-hpt3x2n         0.3.4-3vmw.550.0.0.1331820     VMware     9/19/2013 6:0...
    scsi-megaraid-sas        5.34-9vmw.550.2.33.2068190     VMware     8/23/2014 1:5...
    scsi-mptsas              4.23.01.00-9vmw.550.0.0.133... VMware     9/19/2013 6:0...
    net-bnx2                 2.2.3d.v55.2-1vmw.550.0.0.1... VMware     9/19/2013 6:0...
    ata-pata-via             0.3.3-2vmw.550.0.0.1331820     VMware     9/19/2013 6:0...
    ima-qla4xxx              2.01.31-1vmw.550.0.0.1331820   VMware     9/19/2013 6:0...
    ata-pata-amd             0.3.10-3vmw.550.0.0.1331820    VMware     9/19/2013 6:0...
    ata-pata-serverworks     0.4.3-3vmw.550.0.0.1331820     VMware     9/19/2013 6:0...
    sata-sata-promise        2.12-3vmw.550.0.0.1331820      VMware     9/19/2013 6:0...
    sata-sata-nv             3.5-4vmw.550.0.0.1331820       VMware     9/19/2013 6:0...
    ipmi-ipmi-devintf        39.1-4vmw.550.0.0.1331820      VMware     9/19/2013 6:0...
    scsi-ips                 7.12.05-4vmw.550.0.0.1331820   VMware     9/19/2013 6:0...
    sata-sata-svw            2.3-3vmw.550.0.0.1331820       VMware     9/19/2013 6:0...
    scsi-mptspi              4.23.01.00-9vmw.550.0.0.133... VMware     9/19/2013 6:0...
    net-e1000e               1.1.2-4vmw.550.1.15.1623387    VMware     2/22/2014 1:1...
    esx-xserver              5.5.0-0.0.1331820              VMware     9/19/2013 6:0...
    net-tg3                  3.123c.v55.5-1vmw.550.2.33.... VMware     8/23/2014 1:5...
    net-forcedeth            0.61-2vmw.550.0.0.1331820      VMware     9/19/2013 6:0...
    scsi-aic79xx             3.1-5vmw.550.0.0.1331820       VMware     9/19/2013 6:0...
    sata-ata-piix            2.12-10vmw.550.2.33.2068190    VMware     8/23/2014 1:5...
    scsi-bnx2i               2.72.11.v55.4-1vmw.550.0.0.... VMware     9/19/2013 6:0...
    ohci-usb-ohci            1.0-3vmw.550.0.0.1331820       VMware     9/19/2013 6:0...
    scsi-qla4xxx             5.01.03.2-6vmw.550.0.0.1331820 VMware     9/19/2013 6:0...
    scsi-qla2xxx             902.k1.1-9vmw.550.0.0.1331820  VMware     9/19/2013 6:0...
    net-mlx4-core            1.9.7.0-1vmw.550.0.0.1331820   VMware     9/19/2013 6:0...
    ata-pata-atiixp          0.4.6-4vmw.550.0.0.1331820     VMware     9/19/2013 6:0...
    misc-drivers             5.5.0-2.62.2702864             VMware     4/29/2015 6:4...
    esx-dvfilter-generic-... 5.5.0-0.0.1331820              VMware     9/19/2013 6:0...
    ata-pata-pdc2027x        1.0-3vmw.550.0.0.1331820       VMware     9/19/2013 6:0...
    qlnativefc               1.0.12.0-1vmw.550.0.0.1331820  VMware     9/19/2013 6:0...
    lsi-mr3                  0.255.03.01-2vmw.550.1.16.1... VMware     4/15/2014 9:0...
    vshield                  5.5.3-2172759                  VMware     9/30/2014 2:3...
    net-vmxnet3              1.1.3.0-3vmw.550.2.39.2143827  VMware     9/18/2014 11:...
    scsi-hpsa                5.5.0-44vmw.550.0.0.1331820    VMware     9/19/2013 6:0...
    tools-light              5.5.0-2.62.2702864             VMware     4/29/2015 6:4...
    scsi-mpt2sas             14.00.00.00-3vmw.550.1.15.1... VMware     2/22/2014 1:1...
    scsi-bnx2fc              1.72.53.v55.1-1vmw.550.0.0.... VMware     9/19/2013 6:0...
    lsi-msgpt3               00.255.03.03-1vmw.550.1.15.... VMware     2/22/2014 1:1...
    net-e1000                8.0.3.1-3vmw.550.0.0.1331820   VMware     9/19/2013 6:0...
    xhci-xhci                1.0-2vmw.550.2.39.2143827      VMware     9/18/2014 11:...
    ipmi-ipmi-si-drv         39.1-4vmw.550.0.0.1331820      VMware     9/19/2013 6:0...
    sata-ahci                3.0-21vmw.550.2.54.2403361     VMware     1/1/2015 8:00...
    net-bnx2x                1.72.56.v55.2-1vmw.550.0.0.... VMware     9/19/2013 6:0...
    scsi-megaraid2           2.00.4-9vmw.550.0.0.1331820    VMware     9/19/2013 6:0...
    ehci-ehci-hcd            1.0-3vmw.550.0.0.1331820       VMware     9/19/2013 6:0...
    esx-tboot                5.5.0-2.33.2068190             VMware     8/23/2014 1:5...
    uhci-usb-uhci            1.0-3vmw.550.0.0.1331820       VMware     9/19/2013 6:0...
    sata-sata-sil            2.3-4vmw.550.0.0.1331820       VMware     9/19/2013 6:0...
    vcloud-agent             5.5.0-1280396                  VMware     8/17/2013 4:0...
    net-mlx4-en              1.9.7.0-1vmw.550.0.0.1331820   VMware     9/19/2013 6:0...
    And here is the output of testing the deploy rule compliance:
    PowerCLI D:\ImageBuild> Get-Cluster 0000000-ESXVCLOUDCL1.ALN | Get-VMHost |Test-
    DeployRuleSetCompliance
    VMHost               ItemList
    esx142269.vm.seo.... {}
    esx140622.vm.seo.... {}
    esx139784.vm.seo.... {}
    esx140617.vm.seo.... {}
    esx138793.vm.seo.... {}
    esx135523.vm.seo.... {}
    esx138945.vm.seo.... {}
    esx138794.vm.seo.... {}
    esx139783.vm.seo.... {}
    esx140309.vm.seo.... {}
    esx140310.vm.seo.... {}
    esx140311.vm.seo.... {}
    esx140313.vm.seo.... {}
    esx140339.vm.seo.... {}
    esx140614.vm.seo.... {}
    esx140615.vm.seo.... {}
    esx140616.vm.seo.... {}
    esx140618.vm.seo.... {}
    esx140619.vm.seo.... {}
    esx140621.vm.seo.... {}
    esx141947.vm.seo.... {}
    esx141945.vm.seo.... {}
    esx142271.vm.seo.... {}
    esx142270.vm.seo.... {}
    Here is another vib list from a host:
    ~ # esxcli software vib list
    Name                           Version                                Vendor  Acceptance Level  Install Date
    net-enic                       2.1.2.42-1OEM.500.0.0.472560           Cisco   VMwareCertified   -
    ata-pata-amd                   0.3.10-3vmw.550.0.0.1331820            VMware  VMwareCertified   -
    ata-pata-atiixp                0.4.6-4vmw.550.0.0.1331820             VMware  VMwareCertified   -
    ata-pata-cmd64x                0.2.5-3vmw.550.0.0.1331820             VMware  VMwareCertified   -
    ata-pata-hpt3x2n               0.3.4-3vmw.550.0.0.1331820             VMware  VMwareCertified   -
    ata-pata-pdc2027x              1.0-3vmw.550.0.0.1331820               VMware  VMwareCertified   -
    ata-pata-serverworks           0.4.3-3vmw.550.0.0.1331820             VMware  VMwareCertified   -
    ata-pata-sil680                0.4.8-3vmw.550.0.0.1331820             VMware  VMwareCertified   -
    ata-pata-via                   0.3.3-2vmw.550.0.0.1331820             VMware  VMwareCertified   -
    block-cciss                    3.6.14-10vmw.550.0.0.1331820           VMware  VMwareCertified   -
    ehci-ehci-hcd                  1.0-3vmw.550.0.0.1331820               VMware  VMwareCertified   -
    elxnet                         10.0.100.0v-1vmw.550.0.0.1331820       VMware  VMwareCertified   -
    epsec-mux                      5.1.0-01814505                         VMware  VMwareCertified   -
    esx-base                       5.5.0-2.62.2702864                     VMware  VMwareCertified   -
    esx-dvfilter-generic-fastpath  5.5.0-0.0.1331820                      VMware  VMwareCertified   -
    esx-tboot                      5.5.0-2.33.2068190                     VMware  VMwareCertified   -
    esx-xlibs                      5.5.0-0.0.1331820                      VMware  VMwareCertified   -
    esx-xserver                    5.5.0-0.0.1331820                      VMware  VMwareCertified   -
    ima-qla4xxx                    2.01.31-1vmw.550.0.0.1331820           VMware  VMwareCertified   -
    ipmi-ipmi-devintf              39.1-4vmw.550.0.0.1331820              VMware  VMwareCertified   -
    ipmi-ipmi-msghandler           39.1-4vmw.550.0.0.1331820              VMware  VMwareCertified   -
    ipmi-ipmi-si-drv               39.1-4vmw.550.0.0.1331820              VMware  VMwareCertified   -
    lpfc                           10.0.100.1-1vmw.550.0.0.1331820        VMware  VMwareCertified   -
    lsi-mr3                        0.255.03.01-2vmw.550.1.16.1746018      VMware  VMwareCertified   -
    lsi-msgpt3                     00.255.03.03-1vmw.550.1.15.1623387     VMware  VMwareCertified   -
    misc-cnic-register             1.72.1.v50.1i-1vmw.550.0.0.1331820     VMware  VMwareCertified   -
    misc-drivers                   5.5.0-2.62.2702864                     VMware  VMwareCertified   -
    mtip32xx-native                3.3.4-1vmw.550.1.15.1623387            VMware  VMwareCertified   -
    net-be2net                     4.6.100.0v-1vmw.550.0.0.1331820        VMware  VMwareCertified   -
    net-bnx2                       2.2.3d.v55.2-1vmw.550.0.0.1331820      VMware  VMwareCertified   -
    net-bnx2x                      1.72.56.v55.2-1vmw.550.0.0.1331820     VMware  VMwareCertified   -
    net-cnic                       1.72.52.v55.1-1vmw.550.0.0.1331820     VMware  VMwareCertified   -
    net-e1000                      8.0.3.1-3vmw.550.0.0.1331820           VMware  VMwareCertified   -
    net-e1000e                     1.1.2-4vmw.550.1.15.1623387            VMware  VMwareCertified   -
    net-forcedeth                  0.61-2vmw.550.0.0.1331820              VMware  VMwareCertified   -
    net-igb                        5.0.5.1.1-1vmw.550.2.54.2403361        VMware  VMwareCertified   -
    net-ixgbe                      3.7.13.7.14iov-12vmw.550.2.62.2702864  VMware  VMwareCertified   -
    net-mlx4-core                  1.9.7.0-1vmw.550.0.0.1331820           VMware  VMwareCertified   -
    net-mlx4-en                    1.9.7.0-1vmw.550.0.0.1331820           VMware  VMwareCertified   -
    net-nx-nic                     5.0.621-1vmw.550.0.0.1331820           VMware  VMwareCertified   -
    net-tg3                        3.123c.v55.5-1vmw.550.2.33.2068190     VMware  VMwareCertified   -
    net-vmxnet3                    1.1.3.0-3vmw.550.2.39.2143827          VMware  VMwareCertified   -
    ohci-usb-ohci                  1.0-3vmw.550.0.0.1331820               VMware  VMwareCertified   -
    qlnativefc                     1.0.12.0-1vmw.550.0.0.1331820          VMware  VMwareCertified   -
    rste                           2.0.2.0088-4vmw.550.1.15.1623387       VMware  VMwareCertified   -
    sata-ahci                      3.0-21vmw.550.2.54.2403361             VMware  VMwareCertified   -
    sata-ata-piix                  2.12-10vmw.550.2.33.2068190            VMware  VMwareCertified   -
    sata-sata-nv                   3.5-4vmw.550.0.0.1331820               VMware  VMwareCertified   -
    sata-sata-promise              2.12-3vmw.550.0.0.1331820              VMware  VMwareCertified   -
    sata-sata-sil24                1.1-1vmw.550.0.0.1331820               VMware  VMwareCertified   -
    sata-sata-sil                  2.3-4vmw.550.0.0.1331820               VMware  VMwareCertified   -
    sata-sata-svw                  2.3-3vmw.550.0.0.1331820               VMware  VMwareCertified   -
    scsi-aacraid                   1.1.5.1-9vmw.550.0.0.1331820           VMware  VMwareCertified   -
    scsi-adp94xx                   1.0.8.12-6vmw.550.0.0.1331820          VMware  VMwareCertified   -
    scsi-aic79xx                   3.1-5vmw.550.0.0.1331820               VMware  VMwareCertified   -
    scsi-bnx2fc                    1.72.53.v55.1-1vmw.550.0.0.1331820     VMware  VMwareCertified   -
    scsi-bnx2i                     2.72.11.v55.4-1vmw.550.0.0.1331820     VMware  VMwareCertified   -
    scsi-hpsa                      5.5.0-44vmw.550.0.0.1331820            VMware  VMwareCertified   -
    scsi-ips                       7.12.05-4vmw.550.0.0.1331820           VMware  VMwareCertified   -
    scsi-lpfc820                   8.2.3.1-129vmw.550.0.0.1331820         VMware  VMwareCertified   -
    scsi-megaraid-mbox             2.20.5.1-6vmw.550.0.0.1331820          VMware  VMwareCertified   -
    scsi-megaraid-sas              5.34-9vmw.550.2.33.2068190             VMware  VMwareCertified   -
    scsi-megaraid2                 2.00.4-9vmw.550.0.0.1331820            VMware  VMwareCertified   -
    scsi-mpt2sas                   14.00.00.00-3vmw.550.1.15.1623387      VMware  VMwareCertified   -
    scsi-mptsas                    4.23.01.00-9vmw.550.0.0.1331820        VMware  VMwareCertified   -
    scsi-mptspi                    4.23.01.00-9vmw.550.0.0.1331820        VMware  VMwareCertified   -
    scsi-qla2xxx                   902.k1.1-9vmw.550.0.0.1331820          VMware  VMwareCertified   -
    scsi-qla4xxx                   5.01.03.2-6vmw.550.0.0.1331820         VMware  VMwareCertified   -
    uhci-usb-uhci                  1.0-3vmw.550.0.0.1331820               VMware  VMwareCertified   -
    vcloud-agent                   5.5.0-1280396                          VMware  VMwareCertified   -
    vmware-fdm                     5.5.0-2001466                          VMware  VMwareCertified   -
    vshield                        5.5.3-2172759                          VMware  VMwareCertified   -
    xhci-xhci                      1.0-2vmw.550.2.39.2143827              VMware  VMwareCertified   -
    tools-light                    5.5.0-2.62.2702864                     VMware  VMwareCertified   -
    scsi-fnic                      1.6.0.5-1OEM.500.0.0.472560            cisco   VMwareCertified   -
    Any help is appreciated. Thanks.

    Right now, on my test host (that is not working), I have two VMs, one named "Test 1" and the other "Test 2" They only have an isolated network on them (named "Test Isolated Network") that is in my VDC, and pings do not work between them. If I move them to any other host (that have been unprepared and prepared), pings work. I can move both to the same host, or different hosts.
    Here is the fence info on this host, I'm not really sure how to interpret this:
    ~ # esxcli vcloud fence getfenceinfo
       Module Parameters:
            Host Key: 0x104b0
            Configured LAN MTUs:
            +------------------------------------------------------------------------------------------+
            | LAN ID |    1    2    3    4    5    6    7    8    9   10    -    -    -    -    -    - |
            |    MTU | 1500 1500 1500 1500 1500 1500 1500 1500 1500 1500    -    -    -    -    -    - |
            +------------------------------------------------------------------------------------------+
       Active Ports:
            +-----------------------------------------+
            |     ID       |    OPI    | LanID |  MTU |
            +-----------------------------------------+
            | 410b1d4ce7d0 | 01,0001a2 |     4 | 1500 |
            | 410b1d4cfde0 | 01,0001a2 |     4 | 1500 |
            +-----------------------------------------+
       Switch State:
            +-----------------------------------------------------+
            |   Inner MAC    |   Outer MAC   | used | age | seen  |
            +-----------------------------------------------------+
            + ............................... Port:0x410b1d4ce7d0 +
            +-----------------------------------------------------+
            + ............................... Port:0x410b1d4cfde0 +
            | 00:50:56:01:06:16 | 00:13:F5:01:04:B4 | 1  | 1  | 1 |
            +-----------------------------------------------------+
       Port Statistics Summary:
            +-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
            |       Identity           |               To VM dropped                         | To VM passed    |     From VM dropped                        |                 From VM passed                      |  Reflect        |
            |   Port ID    | Fence ID  | total  | misunf | misfen | stored | frag   | other  | fenced | join   | unfen  | csum   | frag   | GVT    | other  | fenced | tso    | frag   | csum   | GVT    | ufport | pass   |  error |
            +-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
            | 410b1d4ce7d0 | 01,0001a2 |   3991 |      2 |   3976 |      0 |      0 |      0 |     13 |      0 |      0 |      0 |      0 |      0 |      0 |    679 |      0 |      0 |      0 |      0 |      0 |      0 |      0 |
            +-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
            | 410b1d4cfde0 | 01,0001a2 |   4478 |      2 |   3860 |      0 |      0 |      0 |    616 |      0 |      0 |      0 |      0 |      0 |      0 |    626 |      0 |      0 |      0 |      0 |      0 |      0 |      0 |
            +-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
    And here is the output of the command a little while later on the same host (while my test pings are going)
    ~ # esxcli vcloud fence getfenceinfo
       Module Parameters:
            Host Key: 0x104b0
            Configured LAN MTUs:
            +------------------------------------------------------------------------------------------+
            | LAN ID |    1    2    3    4    5    6    7    8    9   10    -    -    -    -    -    - |
            |    MTU | 1500 1500 1500 1500 1500 1500 1500 1500 1500 1500    -    -    -    -    -    - |
            +------------------------------------------------------------------------------------------+
       Active Ports:
            +-----------------------------------------+
            |     ID       |    OPI    | LanID |  MTU |
            +-----------------------------------------+
            | 410b1d4ce7d0 | 01,0001a2 |     4 | 1500 |
            | 410b1d4cfde0 | 01,0001a2 |     4 | 1500 |
            +-----------------------------------------+
       Switch State:
            +-----------------------------------------------------+
            |   Inner MAC    |   Outer MAC   | used | age | seen  |
            +-----------------------------------------------------+
            + ............................... Port:0x410b1d4ce7d0 +
            +-----------------------------------------------------+
            + ............................... Port:0x410b1d4cfde0 +
            | 00:50:56:01:06:16 | 00:13:F5:01:04:B4 | 1  | 1  | 1 |
            +-----------------------------------------------------+
       Port Statistics Summary:
            +-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
            |       Identity           |               To VM dropped                         | To VM passed    |     From VM dropped                        |                 From VM passed                      |  Reflect        |
            |   Port ID    | Fence ID  | total  | misunf | misfen | stored | frag   | other  | fenced | join   | unfen  | csum   | frag   | GVT    | other  | fenced | tso    | frag   | csum   | GVT    | ufport | pass   |  error |
            +-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
            | 410b1d4ce7d0 | 01,0001a2 |   4696 |      2 |   4681 |      0 |      0 |      0 |     13 |      0 |      0 |      0 |      0 |      0 |      0 |    796 |      0 |      0 |      0 |      0 |      0 |      0 |      0 |
            +-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
            | 410b1d4cfde0 | 01,0001a2 |   5300 |      2 |   4565 |      0 |      0 |      0 |    733 |      0 |      0 |      0 |      0 |      0 |      0 |    743 |      0 |      0 |      0 |      0 |      0 |      0 |      0 |
            +-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
    Looking at the VDS, the Maximum MTU is set to 1500. Looking at dvs.VCDVSTest Isolated Network-ca9a45c9-1dec-4f95-8b96-68d9c05b2a5d, I see it's VLAN is set to 2535 (which matches the network pool settings) and number of ports is 16

  • How to get the list of deployed projects in OSB through commond line

    How to get the list of deployed projects in OSB through commond line; as we are able to get in weblogic.

    You can go with standard JMX API using WLST
    http://www.oracle.com/technology/sample_code/products/osb/index.html
    http://download.oracle.com/docs/cd/E14571_01/apirefs.1111/e15033/index.html
    or you can try a little bit tricky way like
    ls $DOMAIN_HOME/osb/config/core/ | grep -v ^_:-)

  • Beginner can't undeploy auto-deployed web app

    Hi.
    (I am brand new to WLS 10. I am testing it for a possible upgrade from WLS 8.)
    I auto-deployed a web application Weblogic Server 10.0. Now I am trying to undeploy it, but I just can't seem to make it go away. I first tried the delete button in the admin console, but that says "The application _appsdir_ch1_war was autodeployed and may only be deleted by removing the file(s) from the domain autodeploy directory."
    So then I deleted the file from the autodeploy directory and restarting the server.
    But it's still there.
    I'm about to edit the config.xml manually, which I'm SURE will work, but that can't be the proper way to get rid of autodeployed apps, surely. So, before I do that, I ask here how one removes autodeployed applciations from a WLS 10 server.
    Thanks for your help in advance!!!
    John

    The docs are here:
    http://edocs.bea.com/wls/docs100/deployment/autodeploy.html#wp1021620
    Once you delete the file in the autodeploy directory, I think you have several options:
    1) Use the console to remove it
    2) weblogic.Deployer command line http://edocs.bea.com/wls/docs100/deployment/wldeployer.html
    3) WLST - http://blogs.oracle.com/jamesbayer/2007/10/automate_wls_console_tasks_wit.html
    4) Delete from the config file (not recommended)
    You're easiest option is probably either 1 or 2 if you're just getting started.

Maybe you are looking for