Using weblogic.deployer to deploy multiple files?

Is there way, when using the weblogic.deployer, to specify multiple files to be deployed in one command? I see the filelist for redeploy, but is there a way to deploy/undeploy multiple files in one command?
Thanks.

Having the users folder on a separate partitions is a bad idea because the Windows Setup was not really designed for it, it's more of a afterfix. In addition to that the deployment solutions in general have problem dealing with multiple partions.
Put it this way - The big warning text in the WAIK documentation about redirecting the users folder to another drive is there for a reason. It will break future offline servicing.
It doesn't mean it can't be done, it just means it will take you three times (at least) longer to setup/troubleshoot your deployment solution, and you will be in a world of pain the next time you want to re-image the machine.
This quote from a good friend of mine (Andreas Hammarskjold) describes it very well:
Generally I would always recommend to only have ONE partition these days. Going down the route of making multiple partitions is like having multiple wives/girlfriends/lovers… it’s all fun and games for a while but ends with disaster 
- Andreas H.
/ Johan
Regards / Johan Arwidmark Twitter: @jarwidmark Blog: http://www.deploymentresearch.com FB: www.facebook.com/deploymentresearch

Similar Messages

  • Need help using weblogic.Deployer to refresh a webapp

    I'm trying to refresh some jsp from a webapp deployed in exploded format
    in WLS 8.1SP3
    The original source files are not located on the machine or filesystem
    running the admin server (the webapp is deployed on a cluster)
    On WLS 6.1SP5, we use weblogic.refresh to upload the files to the admin
    server and redeploy the refreshed files.
    The documentation suggest to use weblogic.Deployer with WLS8.1 since
    weblogic.refresh is deprecated.
    I couldn't find the correct command line options to reproduced the
    weblogic.refresh behaviour. Apparently it is not possible to upload the
    files to the admin server and redeploy in a single step. weblogic.Deployer
    expects the file to be already available to the admin server before
    issuing the redeploy (using rsync, ftp or whatever). Is this correct ?
    What did I miss ?
    Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

    I thought you've got error of another type - that error is fixed by simple software update.
    Regarding your case - it's always frightening in first time. Believe me - there's completely nothing to be afraid of.
    Resizing C drive may result killing your DATA on it only in case of energy is down during the process. Process is taking about 15-20 minutes on slow programs and about 3-4 minutes on fast programs. That means that even having problems with electricity you'll be able to finish everything correctly running on battery.
    I'd recommend using Acronis Disk director Suite, but it is not free. One of the best free progs for that are bootable Linux livecds PartedMagic and GParted. They're all intuitive understandable. 
    You will get your NOVO recovery feature lost after C resize, but you can enable it later, replacing that factory backup in hidden partition with your own backup - your NOVO button will restore your system with all your software and settings.
    it will be good for you to start with some basic principles on partitions organization schemes - why, what for and how questions are briefly explained here. After reading this you'll be able to ask right questions to get right answers.
    //help will save the world

  • WLS 8.1: weblogic.Deployer + concurrent deployment tasks

    Hello,
    We have a domain with 4 managed servers which supports a team of 4 developers
    (one per managed). They have the possibility to launch Deploy taks using weblogic.Deployer
    on one of the managed servers.
    We have found that deployment tasks are executed one by one in the Administrative
    instance. So when a developer creates a deploy task he has to wait until all pending
    deployment tasks end.
    ¿Is it possible to have three deployment tasks running at the same time instead
    of one by one? If it is ¿What should I do to activate it?
    Thanks in advance,
    Oscar

    Oscar:
    Take thread dumps when your deploying. You can post the thread dumps here.
    Lets see what is taking so long to deploy. You'll want to take multiple
    dumps, say 20 seconds apart, say 5 in a row. Remember they go to
    std-out/err so you need to capture that data. Also it would be nice if you
    cut out all the uninteresting idle threads. Are you not precompiling and
    running ejbc (appc) before hand?
    Cheers
    mbg
    "Oscar" <[email protected]> wrote in message
    news:[email protected]...
    >
    This domain is more an integration environment rather than a developmentenvironment.
    >
    >
    The idea is that each developer has its own weblogic domain in their localmachine
    in which he develops the application (code, debug, deploy, ...).
    He has also a user in a UNIX box, in which there is a domain (applicationintegration
    domain) with a managed instance per department. With this user he has someAnt
    tasks from where they can deploy (using weblogic.Deployer) a stablerelease of
    their application to test the dependant functionality.
    The problemm is that some applications (using 100 EJBs and 1 War --> 40MBin exploded
    ear and 9MB in compressed ear) take more than 5 minutes to deploy in amanaged
    instance and so they produce a stuck in the task queue. During this timethe Administrative
    is waiting all the time and the managed instance is deploying theapplication
    module by module ¿is there any way to decrease this time? ¿is there anyway to
    do it asynchronously without blocking the task queue? That time looks abig high
    and taking into account that we are going to have bigger applicationshaving only
    one deployment task activated each time looks dangerous. ¿What is aboutincreasing
    the admin threads? The task has done all the job in administrative side,so ¿why
    wait to the managed server?
    We have also note that sometimes waiting tasks produce an unavailabilitystate
    in the deployment queue. We have found 4 deployment tasks waiting in the queue,
    and after an hour the first deployment task was not finished (maybe in adeadlock)
    and so the other 3 deployment tasks were waiting. Is this situation theunique
    possibility to solve the problemm is restarting the Administrative (usinga kill
    command, shutdown command never ends) ¿What could we do?
    Thanks in advance for your help,
    Oscar
    "Mark Griffith" <[email protected]> wrote:
    Deployer may initiate tasks on individual MS's it always goes THROUGH
    the AS
    and it process's requests serially. This ensures the stability of the
    system, allowing multiple changes to cascade through the system at the
    same
    time.
    Is there a reason why you don't have every dev using their own WLS box?
    cheers
    mbg
    "Oscar" <[email protected]> wrote in message
    news:[email protected]...
    Hello,
    We have a domain with 4 managed servers which supports a team of4
    developers
    (one per managed). They have the possibility to launch Deploy taksusing
    weblogic.Deployer
    on one of the managed servers.
    We have found that deployment tasks are executed one by one in theAdministrative
    instance. So when a developer creates a deploy task he has to waituntil
    all pending
    deployment tasks end.
    ¿Is it possible to have three deployment tasks running at the sametime
    instead
    of one by one? If it is ¿What should I do to activate it?
    Thanks in advance,
    Oscar

  • Help !!  how to redeploy only an ejb using weblogic.Deployer ?

    Hi everyone, how to redeploy only one ejb (not the entire application) using weblogic.Deployer ? I executed the following command and getting wiered error !!! :
    java weblogic.Deployer -adminurl http://myadmin:7000 -username system -password weblogic -name myApp.ear -activate -targets testEJB.jar@jytServer -source myApp.ear
    I am getting the following error :
    weblogic.management.ApplicationException:
    [J2EE:160043]Missing deployment descriptor "META-INF/application.xml" at myApp.ear".
    The ear file very much contains the application.xml under META-INF directory and in the application.xml, there is an entry for myBean.jar.
    However if i try the following command, it will redeploy the EJB but it will deploy it as a separate application :
    java weblogic.Deployer -adminurl http://myadmin:10720 -username system -password weblogic -targets jytServer deploy testEJB.jar
    But I want to redeploly it as a part of .ear application.
    I would highly appreicate your help. (assume that admin console access is denied and i will have to use weblogic.Deployer to redeploy).
    thanks,
    jyothi

    Where do I specify the order of deployment? I have 2 EJB jar files and Web module, the order need to be Web module first, 2 EJB then EAR. In WebSphere it is defined in Deployment.xml file, where do I define Deployment.xml in WebLogic

  • How to use weblogic.Deployer

    I can deploy this adf application to weblogic server in jdeveloper 11.1.1.3.
    How to use weblogic.Deployer in weblogic 10.3.3? I get errors as follow:
    Microsoft Windows [Version 6.0.6001]
    Copyright (c) 2006 Microsoft Corporation. All rights reserved.
    C:\Users\Administrator>d:
    D:\>cd D:\weblogicSA2011\wlserver_10.3\samples\domains\wl_server\bin
    D:\weblogicSA2011\wlserver_10.3\samples\domains\wl_server\bin>setDomainEnv.cmd
    D:\weblogicSA2011\wlserver_10.3\samples\domains\wl_server>java weblogic.Deployer
    -adminurl http://localhost:7001 -user weblogic -password welcome1 -deploy -upload E:\SOAworkspace\otnapp\deploy\otnapp_application1.ear
    weblogic.Deployer invoked with options: -adminurl http://localhost:7001 -user weblogic -deploy -upload E:\SOAworkspace\otnapp\deploy\otnapp_application1.ear
    javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException
    at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:121)
    at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:86)
    at weblogic.deploy.api.tools.SessionHelper.getRemoteDeploymentManager(SessionHelper.java:496)
    at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:297)
    at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:137
    at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
    at weblogic.utils.compiler.Tool.run(Tool.java:158)
    at weblogic.utils.compiler.Tool.run(Tool.java:115)
    at weblogic.Deployer.run(Deployer.java:70)
    at weblogic.Deployer.main(Deployer.java:54)
    Caused by: weblogic.deploy.api.spi.exceptions.ServerConnectionException
    at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:141)
    at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.getNewConnection(WebLogicDeploymentManagerImpl.java:148)
    at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:118)
    at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:86)
    at weblogic.deploy.api.tools.SessionHelper.getRemoteDeploymentManager(SessionHelper.java:496)
    at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:297)
    at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:138
    at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
    at weblogic.utils.compiler.Tool.run(Tool.java:158)
    at weblogic.utils.compiler.Tool.run(Tool.java:116)
    ... 2 more
    Caused by: javax.naming.CommunicationException [Root exception is java.net.Conne
    ctException: http://localhost:7001: Destination unreachable; nested exception is
            java.net.ProtocolException: Tunneling result unspecified - is the HTTP s
    erver at host: 'localhost' and port: '7001' a WebLogic Server?; No available router to destination]
    at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)
    at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:787)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:366)
    at weblogic.jndi.Environment.getContext(Environment.java:315)
    at weblogic.jndi.Environment.getContext(Environment.java:285)
    at weblogic.jndi.Environment.createInitialContext(Environment.java:208)
    at weblogic.jndi.Environment.getInitialContext(Environment.java:192)
    at weblogic.jndi.Environment.getInitialContext(Environment.java:170)
    at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getContext(ServerConnectionImpl.java:328)
    at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getEnvironment(ServerConnectionImpl.java:300)
    at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:139)
    at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.getNewConnection(WebLogicDeploymentManagerImpl.java:148)
    at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:118)
    at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:86)
    at weblogic.deploy.api.tools.SessionHelper.getRemoteDeploymentManager(SessionHelper.java:496)
    at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:297)
    at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:137
    at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
    at weblogic.utils.compiler.Tool.run(Tool.java:158)
    at weblogic.utils.compiler.Tool.run(Tool.java:115)
    ... 2 more
    Caused by: java.net.ConnectException: http://localhost:7001: Destination unreach
    able; nested exception is:
    java.net.ProtocolException: Tunneling result unspecified - is the HTTP server at host: 'localhost' and port: '7001' a WebLogic Server?; No available router to destination
    at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:216)
    at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)
    at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
    at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:345)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:340)
    ... 19 more
    Caused by: java.rmi.ConnectException: Destination unreachable; nested exception
    is:
    java.net.ProtocolException: Tunneling result unspecified - is the HTTP server at host: 'localhost' and port: '7001' a WebLogic Server?; No available rou
    ter to destination
    at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:464)
    at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:315)
    at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:254)
    at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:197)
    at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:238
    at weblogic.rjvm.RJVMFinder.findOrCreateRemoteCluster(RJVMFinder.java:316)
    at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:205)
    at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)
    at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
    at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:345)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:340)
    at weblogic.jndi.Environment.getContext(Environment.java:315)
    at weblogic.jndi.Environment.getContext(Environment.java:285)
    at weblogic.jndi.Environment.createInitialContext(Environment.java:208)
    at weblogic.jndi.Environment.getInitialContext(Environment.java:192)
    at weblogic.jndi.Environment.getInitialContext(Environment.java:170)
    at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getContext(ServerConnectionImpl.java:328)
    at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getEnvironment(ServerConnectionImpl.java:300)
    at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:139)
    at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.getNewConnection(WebLogicDeploymentManagerImpl.java:150)
    at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:118)
    at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:86)
    at weblogic.deploy.api.tools.SessionHelper.getRemoteDeploymentManager(SessionHelper.java:496)
    at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:297)
    at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:138)
    at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
    at weblogic.utils.compiler.Tool.run(Tool.java:158)
    at weblogic.utils.compiler.Tool.run(Tool.java:116)
    ... 2 more
    Unable to connect to 'http://localhost:7001': Destination unreachable; nested exception is:
    java.net.ProtocolException: Tunneling result unspecified - is the HTTP server at host: 'localhost' and port: '7001' a WebLogic Server?; No available rou
    ter to destination. Ensure the url represents a running admin server and that the credentials are correct. If using http protocol, tunneling must be enabled on the admin server.
    D:\weblogicSA2011\wlserver_10.3\samples\domains\wl_server>

    Looks like the protocol is not correct (Unable to connect to 'http://localhost:7001': Destination unreachable)
    Could you try the t3 protocol, for example,
    java weblogic.Deployer -adminurl t3://localhost:7001 -username weblogic -password welcome1 -listapps

  • Can i use 2 methods to deploy icon files in Oracle IDS?

    Dear all,
    I'm using Oracle 9IDS(Forms) and i'm trying to use 2 methods to deploy icon file:
    -In development phase, i use defaul.icon.path and defaul.icon.extension in registry.dat file and imagebase=documentbase. My icon are well deploy when i run application from form builder.
    -In deployment phase, on the same plateform, i use jar file following these steps:
    1- I store jar file in same directory with all runtime files(fmx, mmx, etc.)
    2- i create a virtual path(/forms90/Tel/) to map with this directory
    3- in formsweb.cfg, i put the following line:
    [myapp]
    imagebase=codebase
    archive_jini=f90all_jinit.jar,/forms90/Tel/images.jar
    When i call my application directly (http://localhost:8889/forms90/f90servlet?config=myapp),
    icons don't appear.
    I would like to know, what's wrong?It's possible to use theses both methods for deploy icons on the same plateform?
    Thank u for your help

    Hi Franck,
    I thank that red correctly the document(how deploy icon on web).But that isn't the matter.I update my formsweb.cfg as you advise me
    [myapp]
    archive_jini=...,/forms90/images.jar
    imagebase=codebase
    Icon don't appear at runtine while other gif files(splashscreen,logo) appear.Notice these others gif files are compressed in the same jar file. Notice also, that when i use default.icon.path parameter in registry.dat file, icons are well deployed.
    It's incomprehensible.
    Thanks you for your help!

  • How can i using MDT 2010 to deploy multiple partitions Windows 7 image?

    Hello,
    I am planning using MDT as a deploy windows 7 solutions. My Windows 7 is setup on parition 1 "C:" and users profile on parition 2 "D". I am already capture WIM for each paritions. How can i using MDT 2010 to deploy multiple partitions for Windows 7
    image? together
    Thanks

    Having the users folder on a separate partitions is a bad idea because the Windows Setup was not really designed for it, it's more of a afterfix. In addition to that the deployment solutions in general have problem dealing with multiple partions.
    Put it this way - The big warning text in the WAIK documentation about redirecting the users folder to another drive is there for a reason. It will break future offline servicing.
    It doesn't mean it can't be done, it just means it will take you three times (at least) longer to setup/troubleshoot your deployment solution, and you will be in a world of pain the next time you want to re-image the machine.
    This quote from a good friend of mine (Andreas Hammarskjold) describes it very well:
    Generally I would always recommend to only have ONE partition these days. Going down the route of making multiple partitions is like having multiple wives/girlfriends/lovers… it’s all fun and games for a while but ends with disaster 
    - Andreas H.
    / Johan
    Regards / Johan Arwidmark Twitter: @jarwidmark Blog: http://www.deploymentresearch.com FB: www.facebook.com/deploymentresearch

  • Redeploy using weblogic.Deployer in Weblogic 9.2

    Need some help.
    We have an application currently running in Weblogic Server 8.1. We have a utility program that we built using Ant Installer that works great that we have been using for a year now to update our WLS 8.1 application. Basically this utility program allows us to easily shutdown specific managed servers, upload our zipped up application, extract it in exploded directory, update some XML files, redeploy using "weblogicDeployer -remote -redeploy etc." and restart the managed servers.
    Now for WLS 9.2, we can't get the weblogic.Deployer -redeploy option to work. I've tried leaving managed servers running, stopping deployment and redeploying but the redeploy fails. Has anyone done this before in 9.2? If so, I would like to know the exact steps from start to finish. I've read all the docs on the BEA site, entered the commands exactly as given, but still no luck. One more thing, this is NOT a versioned application.
    Thanks

    Hi,
    I would guess you are using WebLogic ant task, is this correct?
    Are you positive you are not trying to use the WL 8.1 ant task on a WL 9.0 server? If this is the case, try using the WL 9.0 ant task.
    Regards,
    LG

  • Weblogic.deployer  and deployment order

    Good day all,
    Is there a way to force an application to deploy last (because of dependencies)?
    I know how to modify the deployment order in the console or wlst, but if all applications are in the same application directory, how can you make sure that appxyz.war deploys last?
    Thanks
    Ash

    Ashanty,
    you may want to refer this link for deployment order of applications..
    http://docs.oracle.com/cd/E12839_01/apirefs.1111/e13952/taskhelp/deployment/ChangeTheServerDeploymentOrder.html
    I don't think weblogic.deployer will allow you to do deployment order and it can be done through Administration console only.
    Thanks
    Lawrence Manickam
    http://toyork.blogspot.ca

  • How do I use FileReference.load() when selecting multiple files???

    Hi All,
    Basically I am developing my own Adobe Air FTP client application (Flex builder 4.6). I have have successfully managed to get the user to select one or more files from their local machine to send via FTP. The file(s) are then added to an arrayCollection which populates a data grid.
    I then have an upload button that when pressed I need to loop through each file that has previously been selected and pick up the file name, size and data stored within the file. I know I can use the FileReference class and the load() method to load the file and access the data via the .data method but the data variable is always null meaning i am obviously not using the load() method in the relevant place in the code.
    Can anyone help me get around this probblem please??
    Below are my snippets of code that I think you will need:
    When the Browse button is selected it fires the selectHandler function below to add files to the data grid:
    private function selectHandler(event:Event):void {
        fileList = fileReferenceList.fileList;
        for (var i:Number=0; i<fileList.length; i++) {
              var file:FileReference = FileReference(fileList[i]);
              arrayCollection.addItem({name:file.name, size:file.size, object:file})
        uploadTest.enabled = true;
    When i click the upload button i need to loop through all of the selected files which I am doing using a for each loop:
    private function uploadFile(event:MouseEvent):void {
             //Loops through each array element
        for each( var obj:Object in arrayCollection ) {
              //Need to get file details in here - PLEASE HELP??
    Thanks
    Paul

    Uhm, as you "check the folder daily", you'll have one or the other junk mail popping up in the preview frame anyway, right?
    Well, as soon as you decided you want to delete all junk mail, you can do so without seeing any of them anymore:
    With any of the other mailboxes selected and showing, right-click on any of the mailboxes (can be Inbox, Flagged, Sent, Junk, Trash), then click Erase Junk Mail and answer the following dialog with Erase.
    The junk mails will be erased without you - or anyone looking over your shoulder - seeing even only one anymore.

  • Weblogic.Deployer gets AccessControlExceptions

    Hi,
    I'm using weblogic.Deployer to deploy EAR to simple wls 9.1 domain. Everything works fine, but two warnings appears during deployment. Any idea what is causes these?
    Deployment command:
    $JAVA_HOME/bin/java -cp $WL_HOME/server/lib/weblogic.jar weblogic.Deployer -adminurl $WL_SERVER_URL -user $WL_USERNAME -password $WL_PASSWD -name $XXX_EAR -source $XXX_EAR_FILENAME -deploy
    Domain log:
    ####<19.9.2006 15:52:41 EEST> <Warning> <RMI> <XXXX> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1158670361319> <BEA-080003> <RuntimeException thrown by rmi server: javax.management.remote.rmi.RMIConnectionImpl.addNotificationListeners([Ljavax.management.ObjectName;[Ljava.rmi.MarshalledObject;[Ljavax.security.auth.Subject;)
    java.security.AccessControlException: access denied (javax.management.MBeanPermission weblogic.management.configuration.DomainMBeanImpl#-[com.bea:Name=base_domain,Type=Domain] addNotificationListener).
    java.security.AccessControlException: access denied (javax.management.MBeanPermission weblogic.management.configuration.DomainMBeanImpl#-[com.bea:Name=base_domain,Type=Domain] addNotificationListener)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
         at java.lang.SecurityManager.checkPermission(SecurityManager.java:568)
         at com.sun.jmx.remote.internal.ServerNotifForwarder.checkMBeanPermission(ServerNotifForwarder.java:250)
         at com.sun.jmx.remote.internal.ServerNotifForwarder.addNotificationListener(ServerNotifForwarder.java:68)
         at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1444)
         at javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:81)
         at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1245)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1348)
         at javax.management.remote.rmi.RMIConnectionImpl.addNotificationListeners(RMIConnectionImpl.java:956)
         at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:517)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:407)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:403)
         at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:56)
         at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:934)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
    >
    ####<19.9.2006 15:52:41 EEST> <Warning> <RMI> <XXXXX> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1158670361409> <BEA-080003> <RuntimeException thrown by rmi server: javax.management.remote.rmi.RMIConnectionImpl.addNotificationListeners([Ljavax.management.ObjectName;[Ljava.rmi.MarshalledObject;[Ljavax.security.auth.Subject;)
    java.security.AccessControlException: access denied (javax.management.MBeanPermission weblogic.management.configuration.DomainMBeanImpl#-[com.bea:Name=base_domain,Type=Domain] addNotificationListener).
    java.security.AccessControlException: access denied (javax.management.MBeanPermission weblogic.management.configuration.DomainMBeanImpl#-[com.bea:Name=base_domain,Type=Domain] addNotificationListener)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
         at java.lang.SecurityManager.checkPermission(SecurityManager.java:568)
         at com.sun.jmx.remote.internal.ServerNotifForwarder.checkMBeanPermission(ServerNotifForwarder.java:250)
         at com.sun.jmx.remote.internal.ServerNotifForwarder.addNotificationListener(ServerNotifForwarder.java:68)
         at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1444)
         at javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:81)
         at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1245)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1348)
         at javax.management.remote.rmi.RMIConnectionImpl.addNotificationListeners(RMIConnectionImpl.java:956)
         at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:517)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:407)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:403)
         at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:56)
         at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:934)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
    >

    OK, so it is uploading the files, here:
    ...user_projects/domains/mydomain/myserver/upload/test/test.war
    but, if the location of the war files for deployment changes to this dir, then I'm sure many of my co-workers that prefer the "old way" will be confused when the war files are not in the ...user_projects/domains/mydomain/applications directory. Is there any way to have these files uploaded to that applications dir instead of the upload dir without a hack-around in a script?
    Thanks

  • Deploying with weblogic.Deployer

    Hi all,
    I'm trying to deploy a SOA application, with a weblogic.Deployer.
    Environment
    local:
    weblogic.Deployer is in \Middleware\wlserver_10.3\server\lib\weblogic.jar
    remote Server:
    WebLogic server 10.3.2.0 in production mode
    I'm deploying like this:
    java weblogic.Deployer -adminurl http://XXXX:7001 -user weblogic -password weblogic -deploy -name myTestDeployment -source test.jar -plan test_cfgplan.xml -targets soa_server1
    I'm getting the error:
    failed to load java type corresponding to e=SOAConfigPlan@http://schemas.oracle.com/soa/configplan
    Can anybody help me?
    Pavel
    Edited by: Pavel1234 on Apr 29, 2010 3:38 PM

    I can deploy my application with ant-sca-deploy.xml without any problems. But I don't get a connection to WebLogic in production mode by using ant-sca-deploy.xml. So I tried to use weblogic.Deployer. weblogic.Deployer gets a connection but doesn't deploy because of "failed to load java type corresponding to e=SOAConfigPlan@http://schemas.oracle.com/soa/configplan"
    Many Thanks
    Pavel

  • BPEL Process with multiple file types using one FTP adapter is not working

    i created a bpel process which will fetch the files from remote location using FTP adapter.
    Now the process works for only one format or file type like *.xls.
    How can i use more than one file format in one FTP adapter.
    OR
    is there any other way to do it.
    file type assignation is 5th step in FTP adapter configuration.
    i have tried *.xls,*.csv and *.xls;*.csv and *.xls:*.csv by seperating with comman, colon, space... still not working.
    i read the documentation *.* will not work.. for one file format it's working fine.
    looking forward for reply as soon as possible.

    Are you positive that it is not working? I'm not sure how you can use one FTP adapter for multiple file types unless the underlying data is exactly the same format or you are processing it as opaque data. Sometimes when a FTP adapter chokes on a file with a bad structure it doesn't create a BPEL instance, it simply moves the bad file to a separate folder.
    So I assume you are using opaque as the data type instead of using an XSD element?
    That said, I don't think you can put two separate file types in the filter. Is it possible for you to do something like: CommonFileName*.* or do you have similar files with other extensions?
    I know the above probably isn't of much help, but I had so many problems with the FTP adapter and its lack of features that I am writing my own. Unfortunately that is a large undertaking and there isn't any good documentation of JCA resource adapter / BPEL PM integration.

  • Multiple File Upload With Metadata Using REST

    hi all
    I want to upload multiple files with metadata to document library using REST API. I am using this msdn article
    http://msdn.microsoft.com/en-us/library/office/dn769086(v=office.15).aspx for uploading file. I am able to upload single file to document library but it is not working for multiple file. when I select multiple file it is uploading last selected file. can
    anyone help with this. I am using office 365 environment.
    Thanks in advance

    Hi,
    According to your post, my understanding is that you wanted to use the REST to upload multiple files.
    Per my knowledge, the REST API is not supported for uploading multiple files via a single call.
    You can write your own loop to upload multiple files via an individual call.
    http://sharepoint.stackexchange.com/questions/108525/multiple-file-upload-with-metadata-using-rest/108532#108532
    More reference:
    http://sharepointfieldnotes.blogspot.com/2014/04/uploading-documents-and-setting.html
    http://www.shillier.com/archive/2013/03/26/uploading-files-in-sharepoint-2013-using-csom-and-rest.aspx
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • NoClassDefFoundError   weblogic.Deployer   7.01

    I'm trying to use the weblogic.Deployer utility, but I am not able to get it working.
    (I'm on a Win2K server and I'm pretty new to weblogic server...)
    Everytime I try to run the deployer, I get this error:
    Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/Deployer
    I've tried changing my CLASSPATH, changing directories, etc. - Nothing seems to
    work.
    I know where the weblogic.jar file is. I've tried running deployer from the java
    dir, the weblogic.jar dir - you name it!
    Can anyone offer some help?

    Yes. If you can package as an EAR, then you could do the database logic
    outside of the WAR, and just redeploy the WAR within the EAR.
    -- Rob
    Wayne Hoit wrote:
    Rob -
    Thanks - I'll guess I'll have to redeploy then - it's unfortunate since I'm connected
    to a database and I'll have to re-login, etc, etc.
    I guess it'll still be faster than restarting the server though....
    Rob Woollen <[email protected]> wrote:
    Ah, now I understand, we're talking about 2 different issues.
    That page is discussing deploying applications automatically in the
    applications directory. Indeed, there's an issue there with Windows
    file locking. However, servlet-reload-check-seconds is not used there.
    servlet-reload-check-seconds is done by the web container on individual
    servlet classes. It works fine on Windows.
    That being said, classes in WEB-INF/lib are not handled by
    servlet-reload-check-seconds, only the actual servlet implementation
    class.
    If you're deploying an exploded webapp, and you want to change a jar
    file in WEB-INF/lib, you'll need to redeploy the webapp.
    This syntax should work fine:
    java weblogic.Deployer -username user -password pass -name ematrix -redeploy
    -- Rob
    Wayne Hoit wrote:
    Rob -
    This is the link that talks about windows file locking and servlets
    http://e-docs.bea.com/wls/docs81/deployment/concepts.html#1007794
    Are you deploying an EAR or a WebApp (WAR)?WebApp, exploded
    What is the change you're making to ther webapp? ie just a servlet
    class, or something in WEB-INF/{classes,lib}I'm changing a Servlet (jar file) in web-inf/lib
    Rob Woollen <[email protected]> wrote:
    Wayne Hoit wrote:
    Rob -
    Sorry to disagree, but the Weblogic 7 docs state that servlets in
    exploded
    apps
    cannot be reloaded with the servletreloadchecksecs parameter due toa limitation
    in Windows.
    Tech support has confirmed this.Hmm, can you show me the docs or the response from support that confirms
    this. Reloading servlets on the fly has been in since at least WLS3.x.
    It works fine on Windows.
    This is why I'm investigating weblogic.Deployer - to see if I can
    do
    it with this
    utility.
    I cannot just redeploy the entire App because I'm connected to a database- if
    I redploy the App, I have tore-login, etc, etc.
    I might just as well shut it all down and restart.
    Ok, I'm not sure I understand exactly what you're trying to do yet.
    Can
    you answer these questions, and I can better aid you:
    Are you deploying an EAR or a WebApp (WAR)?
    What is the change you're making to ther webapp? ie just a servlet
    class, or something in WEB-INF/{classes,lib}
    -- Rob
    That's another reason I'd like to use weblogic.Deployer.
    Which is what my latest post was all about.
    I tried weblogic.Deployer and it appeared to work, although the Servletnever
    actually reloaded.
    Rob Woollen <[email protected]> wrote:
    Wayne Hoit wrote:
    Rob -
    Thanks for the help, but it turns out the CLASSPATH in my dos promptwindow wasn't
    set correctly.
    I can now run the Deployer, although it has caused a new problem.
    I am trying to reload a Servlet on a Win2K server. I know weblogiccannot do this
    automatically due to limitations on Windows.No, it can.
    There's a parameter in the weblogic.xml descriptor named
    servlet-reload-check-secs. By default it is 1, and it will check
    to
    see
    if your servlet has changed every 1 second. This is very nice for
    development. See
    http://e-docs.bea.com/wls/docs81/webapp/weblogic_xml.html#1038823
    If you're making changes in the web application (ie something in
    WEB-INF/lib or WEB-INF/classes), you can ask weblogic.Deployer tojust
    redeploy the webapp.
    Here's an example (java weblogic.Deployer -examples in 8.1 is helpful)
    Is your application just a webapp (ie not an EAR file).
    If so, something like this is correct to redeploy the webapp:
    java weblogic.Deployer -username username -password password -name
    ematrix -redeploy
    If you have an ear file and just want to redeploy an individual webapp
    without touching the rest of the application, use something like
    this:
    Redeploy individual module in an application:
    java weblogic.Deployer -adminurl url -username username -password
    password -name ematrix -redeploy -targets MyWebApp@myServer
    You should not have to restart the server to make application changes.
    -- Rob
    However, I was under the impression that the Deployer could do it.
    I ran this command with these results:
    C:\>java weblogic.Deployer -adminurl http://localhost:7001 -user
    weblogic
    -passw
    ord weblogic -name ematrix -activate c:\ematrixrmi1001\distrib\ematrix/web-inf/l
    ib/printLogic.jar -verbose
    Operation started, waiting for notifications...
    [Id: 5] preparing ematrix for myserver
    [Id: 5] prepared ematrix for myserver
    [Id: 5] activating ematrix for myserver
    [Id: 5] activated ematrix for myserver
    #TaskID Action Status Target Type ApplicationSource
    5 Activate Success myserver Server ematrix
    null
    However, when i re-ran the Servlet, nothing has changed.
    It apparently has not been reloaded.
    Am I doomed to restarting the entire weblogic server any time Ichange
    the Servlet?
    That would continue to make devleopment a real pain...
    Rob Woollen <[email protected]> wrote:
    Sounds like you don't have weblogic.jar in the classpath, or you
    have
    the wrong version.
    Can you go to a shell and show me this output:
    1) echo %CLASSPATH% (or echo $CLASSPATH on UNIX)
    2) java weblogic.version
    3) javap weblogic.Deployer
    -- Rob
    Wayne Hoit wrote:
    I'm trying to use the weblogic.Deployer utility, but I am not
    able
    to get it working.
    (I'm on a Win2K server and I'm pretty new to weblogic server...)
    Everytime I try to run the deployer, I get this error:
    Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/Deployer
    I've tried changing my CLASSPATH, changing directories, etc. -
    Nothing
    seems to
    work.
    I know where the weblogic.jar file is. I've tried running deployer
    from the java
    dir, the weblogic.jar dir - you name it!
    Can anyone offer some help?

Maybe you are looking for

  • Can't activate the COMPARE function for object DNL_CUST_TVAST for Adapter

    Hello I've applier OSS note 866824 to enable the exchange of the sales area flag deletion. I had to do the initial download for the customizing object DNL_CUST_TVAST but it failed because the no intial load was permitted as the data distribution was

  • Backlight not staying on

    Yesterday morning, my backlight was working fine. I took it to my office for my kids to watch a video on since their school was closed. I came back home about 2 hours after being at the office and my computer screen was dark. I could still see the th

  • Linking and Unlinking Facebook from a Premium Account

    Hi, I have a premium Spotify account that I setup with a login that is not connected to facebook. I'm considering linking the account to my Facebook account (which I understand how to do I believe.) If I dislike the two being connected I'd like to di

  • Compare 2 DB tables contents

    I'm looking for transaction taht compare 2 DB tables contents in different clients. any help will be appreciate

  • Where can I find java algorithms and classes

    Does anyone here know about places on the net where you can download algorithms and classes written in Java? I am looking for a method/class that is able to do the following: Given a mispelled word. Find the word in a word list that best matches this