WLS 9.2 updateApplication() takes 2 parameters??

According to the API, updateApplication takes the name of the app to update and OPTIONALLY takes a new deployment plan and/or options. However, when I use the following command it throws an error:
updateApplication('4X',block='true')
where '4X' is the app name and block='true' is an option. This throws the above mentioned error. We do not use a deployment plan so how can I work around this required optional component???
I have no problem updating via the console without a deployment plan.
Help please!!

According to the API, updateApplication takes the name of the app to update and OPTIONALLY takes a new deployment plan and/or options. However, when I use the following command it throws an error:
updateApplication('4X',block='true')
where '4X' is the app name and block='true' is an option. This throws the above mentioned error. We do not use a deployment plan so how can I work around this required optional component???
I have no problem updating via the console without a deployment plan.
Help please!!

Similar Messages

  • Using stored procedures that take parameters

    I'm trying to invoke (MSSQL) stored procedures from Visual Composer. I've got the tool to see the procedures, but when the data service definition is created, there are no inputs, even though the procedures take parameters. When I run the Test Data Service wizard and press execute, I get an error saying a parameter wasn't provided. The input area on the left of the wizard window shows no input parameters and if I click the add button, I get nothing.
    Am I doing something wrong?
    Thanks.

    Hi
    I think you should check the stored procedure. If the stored procedure defines the input parameters correctly or not.
    Regards
    Inder

  • Can wlserver.exe take parameters -mx32m -ms32m?

     

    Hi Michelle,
    as far as i know wlserver.exe takes its parameters from NT registry. You can configure
    these parameters with the wlconfig.exe tool.
    Michelle Sue <[email protected]> wrote:
    Hello:
    The documentation says that to start weblogic server, we can use
    java or wlserver.
    However does any of you know whether wlserver.exe can take parameters
    of
    -ms32m or -mx32m? In addition, what is the difference of these two
    parameters?
    From command console, I am assuming something like
    f:\weblogic\bin\wlserver -mx32m -ms32m-J-Dweblogic.system.propertiesFile=f:/weblogic/myserver1.properties
    Thank you.
    MSU

  • Azure WebJob - can it take parameters and can be it be created using a script

    Hi,
    I have seen videos on Azure Webjobs and the scenario there is that an exe is taken and transformed into an Azure Webjob. If the exe takes parameters, is it possible that the webjob take parameters?
    Also, I see that the Azure webjob is being created through the Azure portal, is it possible to create it using a script on the fly?
    Thanks

    Hi
    Azure webjobs scripts or programs can be one of the following types:
    The following file types are accepted:
    .cmd, .bat, .exe (using windows cmd)
    .ps1 (using powershell)
    .sh (using bash)
    .php (using php)
    .py (using python)
    .js (using node)
    .jar (using java)
    you dont need to create them from Azure portal always. you can create your program in Visual studio and publish your code to Azure to be executed.
    About the parameter, you can have scheduled webjobs which will trigger at certain time and then they can read from different resourced (database, azure service bus, file etc) and that can be considered as input I guess.
    Regards
    Aram

  • Dynamic parameters for Webstart

    Hi,
    I want to create a Webstart-Application that dynamically takes parameters. Looking for a solution I found that the only way seems to be to generate jnlp-files (e.g. using servlets). However, here at the Oracle-pages I found this document
    [http://docs.oracle.com/javafx/2.0/deployment/deployment_toolkit.htm]
    it says
    1. Example 5-11 Canonical Link to Launch a Web Start Application
    a href="my.jnlp"
    onclick="dtjava.launch(new dtjava.App('my.jnlp'));
    return false;">Launch me!</a>
    2. Example 5-1 Creating a dtjava.App Object
    var app = new dtjava.App(
    'test.jnlp',
    id: 'testApp',
    width: 100,
    height: 100,
    params: { 'variable': 'value'}
    So, I guess it should work.
    But it doesn't. Starting the application embedded in the browser works well.
    Does anyone know if this is possible at all or if generating the jnlp-file is really the only solution?
    Thanks!

    Waaahh. But thank you! So I will start trying again. Would anyone have a look at my code? The jnlp-file is generated by NetBeans Dev:
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp spec="1.0" xmlns:jfx="http://javafx.com" href="PillBox.jnlp">
      <information>
        <title>PillBox</title>
        <vendor>Carola</vendor>
        <description>Sample JavaFX 2.0 application.</description>
        <offline-allowed/>
      </information>
      <resources os="Windows">
        <jfx:javafx-runtime version="2.0+" href="http://javadl.sun.com/webapps/download/GetFile/javafx-latest/windows-i586/javafx2.jnlp"/>
      </resources>
      <resources>
        <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>
        <jar href="PillBox.jar" size="1965165" download="eager" />
        <jar href="lib/mysql-connector-java-5.1.13-bin.jar" size="753542" download="eager" />
      </resources>
      <applet-desc  width="800" height="600" main-class="com.javafx.main.NoJavaFXFallback"  name="PillBox" />
      <jfx:javafx-desc  width="800" height="600" main-class="pillbox.PillBox"  name="PillBox" >
       <fx:param name="p4" value="true"/>
        <fx:param name="p3" value="4"/>
        <fx:param name="p2" value="500"/>
        <fx:param name="p5" value="true"/>
        <fx:param name="p1" value="500"/>
      </jfx:javafx-desc>
      <update check="background"/>
    </jnlp>in the html file, I have the script
       <!--javascript für webstart-->
       <SCRIPT src="./web-files/dtjava.js"></SCRIPT>
       <script>
         function launchApplication(jnlpfile) {
            var app = new dtjava.App(
               'PillBox.jnlp',
                  width: 500,
                  height: 500,
                  params: { 'p1': '100',
                            'p2': '100',
                            'p3': '3',
                            'p4':'true',
                            'p5':'false'}
            dtjava.launch(app);
            return false;
       </script>
    </head>and the call
    <td align="center" valign="middle"><input style="height: 80px; width: 250px" type="button" value="Simulation mit Webstart starten"
    onClick="return launchApplication('PillBox.jnlp');"></td>I tried several variations. " instead of ' and deleting '. Deleting the parameter tags in the jnlp-file. I have no idea what to try next.
    Edited by: 908057 on 14.01.2012 17:48

  • Debugging PL/SQL with parameters

    Hi,
    I can successfully debug a PL/SQL procedure that takes no parameters. However when I choose a procedure that takes parameters and choose "Debug", as soon as the dialog that builds the PL/SQL block that calls my procedure opens, it displays "An error was encountered performing the requested action"
    Any ideas as to what I'm doing wrong

    Check
    http://www.oracle.com/technology/obe/obe9051jdev/plsqlobe/obeplsql.htm#t2
    Frank

  • Report destype and parameters

    hi,
    i m running report through following method... but it does take parameters.
    declare
    us varchar2(20);
    pas varchar2(10);
    ser varchar2(10);
    begin
    us := get_application_property(username);
    pas := get_application_property(password);
    ser := get_application_property(connect_string);
    Web.Show_Document('/reports/rwservlet?&report=customer_list.rep&userid='||us||'/'||pas||'@'||ser||'&destype=cache&desformat=PDF');
    END;
    1) how i can view on screen report , not is pdf ?
    2) how i can pass parameter to pdf report and to screen report ?
    thanks

    Hi,
    now i am using following code to run report ... it is not showing parameter form n runs report without asking parameter n show reports columns with no data.
    i am using Oracle Reports 9i ....
    i have tried many time to run report with paraform but useless whether orarep9i destype = pdf supports paraform ?
    declare
    us varchar2(20);
    pas varchar2(10);
    ser varchar2(10);
    begin
    us := get_application_property(username);
    pas := get_application_property(password);
    ser := get_application_property(connect_string);
    Web.Show_Document('/reports/rwservlet?&report=cashrecvd_bwdates.rdf&userid='||us||'/'||pas||'@'||ser||'&destype=cache&desformat=PDF&paraform=yes');
    END;
    thanks

  • HOST PJC with parameters

    Hello,
    Does HOST PJC (OTN samples) support parameters ?
    It is working well on client, but I have problem with parameters, and the same time it is working and it can run application.
    For example I need run some application from client site :
    "C:\Application.exe Param1 Param2".
    System running this application, but it doesn't take parameters.
    Thank You

    Is here any HOST PJC developers ?
    How can I use HOST PJC with parameters ?
    Thank You

  • Parameterized custom mappings?

    Hi all,
    Is there a way to define custom mappings which are implemented by a parameterized query, the parameter of which can be set at runtime?
    I know that there are transformation mappings, and that you can implement your own custom queries to realize mappings, but there is no way to send a parameter value from the application to the query at runtime. The parameters are either limited to the database fields which are already involved in the mapping (in the case of custom query for mapping), or must be extracted from the object context of the mapping (in the case of transformation mapping).
    I also know that you can define a "Map" instance as the collection type for a one-to-many or many-to-many mapping, but afaik this involves loading the whole set into the session before an object can be queried by key, even if transparent indirection through the "IndirectMap" interface is in place...
    What I am looking for is a kind of ValueHolder that can take parameters which define the value loaded into the ValueHolder.
    Is there a way to do this?
    What I want to implement is the following scenario:
    A class "Organization" contains a method "User getUser(String login)". The parameterized getUser operation should be implemented cleanly with a TopLink mapping, not through an external ReadObjectQuery, since the session context of the operation is not known at implementation time and should be managed by TopLink, in the same way as other pre-defined mappings are.
    Any ideas?
    Thanks,
    Mirko
    Message was edited by:
    jRipple

    Since nobody else seems to have a solution, i at least want to explain the approach I followed now to solve the problem, but it isn't a clean one...
    I defined a "Map" collection property and put a TransformationMapping on it. The buildAttributeValue oft the mapping is implemented to return a homemade "Map" implementation which uses the session given to it from the buildAttributeValue "session" argument to retrieve the specific value mapped to a key via a ReadObjectQuery whenever Map.get(Object key) is called.
    This basically works in my application, but I wouldn't suggest to completely rely on that carelessly, because the session given on Map construction might have become invalid some time after the attribute value has been built and before an object ist retrieved via Map.get(). An ordinary one-to-many collection mapping would still work in this case, since the whole collection is already loaded into memory. My own collection, however, would throw an exception, since it uses an invalid session object to execute a query on.
    TopLink seems to have a design principle saying that persistent objects never should hold a reference to the session they are registered in, but this principle is violated by my solution...

  • Integration Process Parameters not refreshed

    Hi,
    I have an integration process which takes parameters. You can configure these in the integration builder in the Integration Process Communication Component.
    I found that although I change these parameters , their new values are not taken into account in the integration process instances that are started after the change is activated.
    How can I force the integration process to use the new values ? Reactivating the integration process does not help.
    Actually, reactivating the integration process changes the integration process but the message mappings and operation mappings do not use the new values...
    I also completely flushed the cache but it does not help either...
    Thanks.
    Edited by: Thierry Dagnino on Sep 29, 2009 3:55 PM

    Have you also deleted the Integration Process in ID and reimported it?
    Regards,
    Prateek

  • ANE function parameters display as arg0, arg1, etc. how do I fix this?

    I am creating an ANE and all my functions that take parameters show them as arg0, arg1, arg2, etc..
    for example:
    ShowAlert(arg0:String, arg1:String, arg2:String = "Ok", arg3:Array = null)
    when it should be
    ShowAlert(title:String, message:String, defaultButtonText:String = "Ok", additionalButtons:Array = null)
    I did some searching and the only thing I was able to find was this:
    By default, these are defined as arg0 and arg1, but you can give them more descriptive names. Change the call() function definition to look like this:
    public FREObject call(FREContext context, FREObject[] passedArgs)
    from http://www.adobe.com/devnet/air/articles/developing-native-extensions-air.html
    hrm..
    I assume it's using flex (as pretty much everyone else is these days - I should get around to learning that) but I am using Flash Pro.
    Anyway, I don't really understand what he meant, so I started reading the rest of the document and I saw this line:
    Set the superclass to com.adobe.fre.FREContext.
    Hrm...
    Does this mean I am supposed my ANE is supposed to extend that? Right now, it's extending EventDispatcher.
    Regardless, can someone clarrify what he means, or what I am supposed to do to get my parameters appearing correctly?

    It does look like you want to extend FREContext.

  • Connecting 2 WLS 7 servers via the Messaging Bridge

    Hi,
              I am trying to use the messaging bridge to post messages received on a
              source JMS queue running in one WLS instance to a destination queue running
              on another target WLS instance. I have followed the instructions in the
              admin guide and performed the following:
              - defined in the source WLS instance 2 JMS bridge destinations - one for the
              source queue and one for the target queue
              - defined the bridge between the 2 destination, using the jms-xa-adp.rar
              - deployed the jmx-xa-adp.rar adapter to the source WLS instance
              - enabled the XA connection factory (had to define a new connection factory
              to do this)
              - made sure that both WLS instances have the system user configured with the
              same password
              When the source WLS instance starts up, the following is logged to the
              console:
              weblogic.jms.common.JMSException: Connection not found
              at
              weblogic.jms.dispatcher.InvocableManager.invocableFind(InvocableManager.java
              :134)
              at
              weblogic.jms.dispatcher.Request.wrappedFiniteStateMachine(Request.java:592)
              at
              weblogic.jms.dispatcher.DispatcherImpl.dispatchSync(DispatcherImpl.java:275)
              at
              weblogic.jms.client.JMSConnection.createSession(JMSConnection.java:368)
              at
              weblogic.jms.client.JMSXAConnection.createXAQueueSession(JMSXAConnection.jav
              a:75)
              at
              weblogic.jms.adapter.JMSBaseConnection.startInternal(JMSBaseConnection.java:
              257)
              at
              weblogic.jms.adapter.JMSBaseConnection.start(JMSBaseConnection.java:215)
              at
              weblogic.jms.adapter.JMSManagedConnectionFactory.createManagedConnection(JMS
              ManagedConnectionFactory.java:1
              at
              weblogic.connector.common.internal.ConnectionPool.makeResources(ConnectionPo
              ol.java:1002)
              at
              weblogic.connector.common.internal.ConnectionPool.getConnection(ConnectionPo
              ol.java:1777)
              at
              weblogic.connector.common.internal.ConnectionPoolManager.getConnection(Conne
              ctionPoolManager.java:190)
              at
              weblogic.connector.common.internal.ConnectionManagerImpl.allocateConnection(
              ConnectionManagerImpl.java:25)
              at
              weblogic.jms.adapter.JMSBaseConnectionFactory.getTargetConnection(JMSBaseCon
              nectionFactory.java:126)
              at
              weblogic.jms.bridge.internal.MessagingBridge.getConnections(MessagingBridge.
              java:753)
              at
              weblogic.jms.bridge.internal.MessagingBridge.execute(MessagingBridge.java:91
              9)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
              and any messages sent to the source queue just sit there.
              What might I be missing? Am I correct that the configuration of the bridge
              and destinations takes place at the source WLS instance (as this is posting
              the messages to the target WLS) - the documentation seems to me a bit
              ambiguous in this regard.
              Thanks,
              Stanley.
              

    I am afraid that you'll have to enable security interoperability for
              the bridge to work across two domains. Making the password for
              system user is not enough. You have to disable generated credential
              for both domains. For details, please look at the following link:
              http://edocs.bea.com/wls/docs70/adminguide/msgbridge.html#1078380
              Please also note that this requirement has been removed in 8.1 release and
              7.0SP3.
              Thanks
              Dongbo
              Stanley Beamish wrote:
              > "Dongbo Xiao" <[email protected]> wrote in message
              > news:[email protected]...
              > > I suspect that the two WebLogic servers have the same name.
              > > There are some naming restrictions in the WLS configuration.
              > > Please take a look at the following link.
              > > http://e-docs.bea.com/wls/docs70/adminguide/msgbridge.html#1076982
              > >
              > > Dongbo
              >
              > OK, I've changed the name of one of the servers and I can get further. But
              > now I get the following exception on the server that hosts the bridge,
              > relating to permissions. Both servers use the same system password.
              >
              > Thanks,
              > SB
              >
              > java.lang.SecurityException: Invalid Subject: principals=[system,
              > Administrators, Operators, Monitors, Deployers]
              > at
              > weblogic.security.service.SecurityServiceManager.seal(SecurityServiceManager
              > .java:993)
              > at
              > weblogic.security.service.RoleManager.getRoles(RoleManager.java:277)
              > at
              > weblogic.security.service.AuthorizationManager.isAccessAllowed(Authorization
              > Manager.java:589)
              > at weblogic.jms.JMSService.checkPermission(JMSService.java:1064)
              > at weblogic.jms.JMSService.checkRecvPermission(JMSService.java:1076)
              > at
              > weblogic.jms.frontend.FESession.consumerCreate(FESession.java:944)
              > at weblogic.jms.frontend.FESession.invoke(FESession.java:2252)
              > at
              > weblogic.jms.dispatcher.Request.wrappedFiniteStateMachine(Request.java:602)
              > at
              > weblogic.jms.dispatcher.DispatcherImpl.dispatchSync(DispatcherImpl.java:275)
              > at
              > weblogic.jms.client.JMSSession.consumerCreate(JMSSession.java:1592)
              > at
              > weblogic.jms.client.JMSSession.createConsumer(JMSSession.java:1452)
              > at
              > weblogic.jms.client.JMSSession.createReceiver(JMSSession.java:1302)
              > at
              > weblogic.jms.adapter.JMSBaseConnection.setMessageListenerInternal(JMSBaseCon
              > nection.java:931)
              > at
              > weblogic.jms.adapter.JMSBaseConnection.setMessageListener(JMSBaseConnection.
              > java:885)
              > at
              > weblogic.jms.adapter.JMSConnectionHandle.setMessageListener(JMSConnectionHan
              > dle.java:121)
              > at java.lang.reflect.Method.invoke(Native Method)
              > at
              > weblogic.connector.common.internal.ConnectionWrapper.invoke(ConnectionWrappe
              > r.java:101)
              > at $Proxy103.setMessageListener(Unknown Source)
              > at
              > weblogic.jms.bridge.internal.MessagingBridge.beginForwarding(MessagingBridge
              > .java:862)
              > at
              > weblogic.jms.bridge.internal.MessagingBridge.execute(MessagingBridge.java:94
              > 2)
              > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
              >
              > >
              > > Stanley Beamish wrote:
              > >
              > > > Hi,
              > > >
              > > > I am trying to use the messaging bridge to post messages received on a
              > > > source JMS queue running in one WLS instance to a destination queue
              > running
              > > > on another target WLS instance. I have followed the instructions in the
              > > > admin guide and performed the following:
              > > >
              > > > - defined in the source WLS instance 2 JMS bridge destinations - one for
              > the
              > > > source queue and one for the target queue
              > > > - defined the bridge between the 2 destination, using the jms-xa-adp.rar
              > > > - deployed the jmx-xa-adp.rar adapter to the source WLS instance
              > > > - enabled the XA connection factory (had to define a new connection
              > factory
              > > > to do this)
              > > > - made sure that both WLS instances have the system user configured with
              > the
              > > > same password
              > > >
              > > > When the source WLS instance starts up, the following is logged to the
              > > > console:
              > > >
              > > > weblogic.jms.common.JMSException: Connection not found
              > > > at
              > > >
              > weblogic.jms.dispatcher.InvocableManager.invocableFind(InvocableManager.java
              > > > :134)
              > > > at
              > > >
              > weblogic.jms.dispatcher.Request.wrappedFiniteStateMachine(Request.java:592)
              > > > at
              > > >
              > weblogic.jms.dispatcher.DispatcherImpl.dispatchSync(DispatcherImpl.java:275)
              > > > at
              > > > weblogic.jms.client.JMSConnection.createSession(JMSConnection.java:368)
              > > > at
              > > >
              > weblogic.jms.client.JMSXAConnection.createXAQueueSession(JMSXAConnection.jav
              > > > a:75)
              > > > at
              > > >
              > weblogic.jms.adapter.JMSBaseConnection.startInternal(JMSBaseConnection.java:
              > > > 257)
              > > > at
              > > > weblogic.jms.adapter.JMSBaseConnection.start(JMSBaseConnection.java:215)
              > > > at
              > > >
              > weblogic.jms.adapter.JMSManagedConnectionFactory.createManagedConnection(JMS
              > > > ManagedConnectionFactory.java:1
              > > > )
              > > > at
              > > >
              > weblogic.connector.common.internal.ConnectionPool.makeResources(ConnectionPo
              > > > ol.java:1002)
              > > > at
              > > >
              > weblogic.connector.common.internal.ConnectionPool.getConnection(ConnectionPo
              > > > ol.java:1777)
              > > > at
              > > >
              > weblogic.connector.common.internal.ConnectionPoolManager.getConnection(Conne
              > > > ctionPoolManager.java:190)
              > > > at
              > > >
              > weblogic.connector.common.internal.ConnectionManagerImpl.allocateConnection(
              > > > ConnectionManagerImpl.java:25)
              > > > at
              > > >
              > weblogic.jms.adapter.JMSBaseConnectionFactory.getTargetConnection(JMSBaseCon
              > > > nectionFactory.java:126)
              > > > at
              > > >
              > weblogic.jms.bridge.internal.MessagingBridge.getConnections(MessagingBridge.
              > > > java:753)
              > > > at
              > > >
              > weblogic.jms.bridge.internal.MessagingBridge.execute(MessagingBridge.java:91
              > > > 9)
              > > > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
              > > >
              > > > and any messages sent to the source queue just sit there.
              > > >
              > > > What might I be missing? Am I correct that the configuration of the
              > bridge
              > > > and destinations takes place at the source WLS instance (as this is
              > posting
              > > > the messages to the target WLS) - the documentation seems to me a bit
              > > > ambiguous in this regard.
              > > >
              > > > Thanks,
              > > > Stanley.
              > >
              [att1.html]
              

  • Show parameters by default

    Hello,
    I have a report3 that takes parameters from Report 2. The issue is when I get to the report 3, the parameters are hidden by default. I have to click on the small arrow to view the parameters and change it. How do I get the parameters to show up on screen
    by default? Following are the images for the reference:

    Hi Amol_SCI,
    On my test, I can reproduce the same issue. In SSRS ReportServer web services, it has “rc:Parameters” parameter to control the rendering of the parameter viewer control area. We can setting the parameter with ON or Collapsed value to control it visibility.
    In your case, reports is taken parameter values from report2. The default value of parameter “rc:Parameters” is Collapsed. Based on my test, we cannot configure it with On value. In order to work around the issue, we can configure it with “Go to URL” action.
    Please refer to the following expression:
    =”http://[ServerName]/ReportServer/Pages/ReportViewer.aspx?%2f[FolderName]%2f[ReportName]&rs:Command=Render&[Parameter3]=” & Parameters!Parameter2.Value
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • EEM CLI Script with parameters

    Hi all,
    I have a requirement to write an eem cli script that can be triggered using a pattern match and take parameters.
    Basically the user has to do many repetitive tasks reconfiguring interfaces regularly. So instead of having to go into each interface individually and run the config that they can write a one word command and give it params which would be for example a comma separated list of interface names and then within my script i could parse the interface names and iterate over them performing the config operation on them.
    so i'm just playing around with the cli policy.
    ::cisco::eem::event_register_cli occurs 1 pattern "nacdrop*" sync yes enter
    # Import Namespaces
    namespace import ::cisco::eem::*
    namespace import ::cisco::lib::*
    array set arr_einfo [event_reqinfo]
    set full_command $arr_einfo(msg)
    puts $full_command
    You can see here i want the command nacdrop to trigger this policy but when i try and run the command with arguments i get an error on the command line as its not a valid command and the policy doesnt trigger.
    Ideal scenario run command
    Router#nacdrop fastEthernet0/0,fastEthernet0/1,fastEthernet0/2
    the script would then perform a set of config tasks on each of the 3 interfaces.
    I thought the "enter" parameter to event_register_cli would do it as that is supposed to trigger the policy before the command is executed therefore before it determines it to be an invalid command. I do not have the latest version of eem however and suspect that the "enter" argument isn't being used as it isn't showing up as an option when i type ? to see what options are available although i don't get an error when registering the policy.
    So my question is what version off eem was this "enter" argument introduced and will it allow me to run the policy and get around the invalid command problem.
    Once i can run this policy and access the parameters to the cli command it opens up a lot for me in terms of automating repetitive tasks.
    Hope someone can help.
    Cheers,
    Joe.

    Cheer Joe. That's great. I've attached the first draft of a script i've written, maybe someone else can find it useful too.
    Basically it's for if you would like to perform the same operation on many interfaces you can use an alias and give it parameters
    E.G
    Router#vlanmove FastEthernet0/1-8,10,13-16
    Notice the params use '-' and ',' When you use dash it will perform the operation on all the interfaces in a range and then comma is just for an individual interface and as you can see above you can mix ranges with individual ones.
    The above example will give the output:
    Configuring Interface: FastEthernet0/1
    Configuring Interface: FastEthernet0/2
    Configuring Interface: FastEthernet0/3
    Configuring Interface: FastEthernet0/4
    Configuring Interface: FastEthernet0/5
    Configuring Interface: FastEthernet0/6
    Configuring Interface: FastEthernet0/7
    Configuring Interface: FastEthernet0/8
    Configuring Interface: FastEthernet0/10
    Configuring Interface: FastEthernet0/13
    Configuring Interface: FastEthernet0/14
    Configuring Interface: FastEthernet0/15
    Configuring Interface: FastEthernet0/16
    in the attached script just replace "puts "Configuring Interface: $interfaceName"
    with your configuration
    e.g.
    conf t
    interface $interfaceName
    switchport access vlan 2
    and it will perform that operation on all intefaces in a range. I might update the script later to take config commands as env variables too. That would make the script more generic. But at the moment this script is useful for us as we have to regularly reconfigure interfaces.
    Cheers,
    Joe.

  • EJB3 QL - Selecting with wildcards and parameters

    Hi,
    Can you please help me create a select query which takes parameters and uses wildcards.
    QL:
    (List<SubjectEntity>) entityManager
    .createQuery("{color:#000080}*SELECT aE FROM SubjectEntity aE WHERE aE.name like :word*{color} ")
    .setParameter("word", word)
    .getResultList();
    I pass Corporate* to my word parameter and my TABLE has a row that contains Corporate Finance as a name and I want it matched by the parameter.
    Below is an equivalent statement using SQL*
    DB:
    SELECT * FROM SUBJECT WHERE NAME LIKE(%?%)
    Thanks.

    One quick fix is in the DAO method where you invoke the query, append a '%' to the end of the word before passing it to the query.
    .setParameter("word", word + '%')

Maybe you are looking for

  • Orace 11g CRS installation ( windows server 2008 64 bit )  Error

    Hi , Installing Orace 11g R1 Clusterware on two nodes RAC1,RAC2 on windows environment . Configured the Public , Private , VIP connections on both of the nodes by updating the host.txt file with . Following the network configurations settigs .. C:\wi

  • Welcome Wizard Failed or Cancelled

    Hello All, I have successfully tested MDT image of Windows 2012 R2 on VMware and Hyper-V. This image is built on MDT server which is on Windows 2012 with ADK 8.1 and MDT is 2013. When I run this image on HP Server BL460c G7 - I receive below error. I

  • Base class vs derived class

    We have entity classes that we use to access our database. We have subclasses derived from these entity classes that apply business rules. For instance, the base class AddressEntity has a setAddress2(string) that AddressEntity.select() uses to set a

  • Latin/Span​ish "tilde" accent unavailabl​e in SMSs

    Hello everyone. I'm a native Spanish speaker and have noticed that the Latin/Spanish "tilde" symbols (á, é, í, ó and ú) are available whenever I use the e-mail and BB messenger capabilities of my 8900 BB Smartphone, but when sending SMS, they are onl

  • Sequence Preview Presets or Codec?

    I have a project I created on Premiere CS5, but I want to complete it on CC 2014 using my new MacPro at work. Every time I try to open the file, I get this error: This project contained a sequence that could not be opened. No sequence preview preset