Toplink broken after EAR deploy

After I deploy or re-deploy an application to OC4J 10.1.3.1, the application produces the following error:
Exception [TOPLINK-6007] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.QueryException Exception Description: Missing descriptor for [class com.htch.aps.tvsaudit.model.Tvsaudit]. Query: ReadAllQuery(com.htch.aps.tvsaudit.model.Tvsaudit)
Tvsaudit is a "model" class in my application.
If I then restart the Instance under which the application is deployed, Toplink works without error. (Restarting only the application does not solve the problem)
Why might Toplink be messed up after the deploy?

The issue is that your descriptors are still referencing the old undeployed classes.
You need to refresh/reload your TopLink session. If you are using the SessionManager you can call,
getSession(<name>, true /*login*/, true /*refresh*/)
to refresh the session.
Or use,
getSession(<loader>, <name>, <app-class-loader>, true /*login*/, false /*refresh*/, true /* refresh if class loader changed */)
to force a refresh on re-deploy in general.
But perhaps best store your TopLink session in a static variable in a class in your application. The first time this session is access load it from the SessionManager with the refresh option. This ensures that on re-deploy you will get the correct session.

Similar Messages

  • Standalone WLS broken after unsuccessfull deployment

    Hi OTN,
    We've got a standalone WLS 10.3 on RedHat 5 (VM on Windows 2008) with ADF runtime installed.
    This server was used for development of ADF applications from one computer for a certain time.
    Few days ago my colleague tried to deploy his simple ADF app to the server. There were no exceptions during deployment but a browser couldn't reach the application.
    After that I found that WLS didn't respond and stopped it with Ctrl+C from the console.
    I got sonm exceptions (listed lower).
    Now the server doesn't start. When I call start script I see normal messages and the last of them is
    "Server state changed to STARTING". Nothing happenes after. When I interrupt the process with Ctrl+C I see the exceptions listed below.
    How could I restore WLS back to work?
    Thanks.
    <09.08.2010 10:38:04 MSD> <Notice> <WebLogicServer> <BEA-000388> <JVM called WLS shutdown hook. The server will force shutdown now> <09.08.2010 10:38:04 MSD> <Alert> <WebLogicServer> <BEA-000396> <Server shutdown has been requested by <WLS Kernel>>
    <09.08.2010 10:38:04 MSD> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
    <09.08.2010 10:38:04 MSD> <Warning> <Management> <BEA-141198> <The undeployment of ReliableWseeSAFAgent failed.
    weblogic.management.UndeploymentException: Deployment weblogic.management.configuration.SAFAgentMBeanImpl@8ee0d8d6([miit2]/SAFAgents[ReliableWseeSAFAgent]) was never prepared
    at weblogic.management.utils.GenericManagedService.deactivateDeployment(GenericManagedService.java:257)
    at weblogic.management.utils.GenericServiceManager.deactivateDeployment(GenericServiceManager.java:141)
    at weblogic.management.internal.DeploymentHandlerHome.invokeHandlers(DeploymentHandlerHome.java:636)
    at weblogic.management.internal.DeploymentHandlerHome.deactivateCurrentDeployments(DeploymentHandlerHome.java:562)
    at weblogic.management.internal.DeploymentHandlerHome.deactivateCurrentDeployments(DeploymentHandlerHome.java:518)
    Truncated. see log file for complete stacktrace
    >
    <09.08.2010 10:38:04 MSD> <Warning> <Management> <BEA-141198> <The undeployment of WseeFileStoreAdminServer failed.
    weblogic.management.UndeploymentException: Deployment weblogic.management.configuration.FileStoreMBeanImpl@dff3f0c7([miit2]/FileStores[WseeFileStoreAdminServer]) was never prepared
    at weblogic.management.utils.GenericManagedService.deactivateDeployment(GenericManagedService.java:257)
    at weblogic.management.utils.GenericServiceManager.deactivateDeployment(GenericServiceManager.java:141)
    at weblogic.management.internal.DeploymentHandlerHome.invokeHandlers(DeploymentHandlerHome.java:636)
    at weblogic.management.internal.DeploymentHandlerHome.deactivateCurrentDeployments(DeploymentHandlerHome.java:562)
    at weblogic.management.internal.DeploymentHandlerHome.deactivateCurrentDeployments(DeploymentHandlerHome.java:518)
    Truncated. see log file for complete stacktrace
    >
    <09.08.2010 10:38:04 MSD> <Warning> <Management> <BEA-141198> <The undeployment of ReliableWseeSAFAgent failed.
    weblogic.management.UndeploymentException: Deployment weblogic.management.configuration.SAFAgentMBeanImpl@8ee0d8d6([miit2]/SAFAgents[ReliableWseeSAFAgent]) was never prepared
    at weblogic.management.utils.GenericManagedService.unprepareDeployment(GenericManagedService.java:285)
    at weblogic.management.utils.GenericServiceManager.unprepareDeployment(GenericServiceManager.java:151)
    at weblogic.management.internal.DeploymentHandlerHome.invokeHandlers(DeploymentHandlerHome.java:640)
    at weblogic.management.internal.DeploymentHandlerHome.unprepareCurrentDeployments(DeploymentHandlerHome.java:597)
    at weblogic.management.internal.DeploymentHandlerHome.unprepareCurrentDeployments(DeploymentHandlerHome.java:574)
    Truncated. see log file for complete stacktrace
    >
    <09.08.2010 10:38:04 MSD> <Warning> <Management> <BEA-141198> <The undeployment of WseeFileStoreAdminServer failed.
    weblogic.management.UndeploymentException: Deployment weblogic.management.configuration.FileStoreMBeanImpl@dff3f0c7([miit2]/FileStores[WseeFileStoreAdminServer]) was never prepared
    at weblogic.management.utils.GenericManagedService.unprepareDeployment(GenericManagedService.java:285)
    at weblogic.management.utils.GenericServiceManager.unprepareDeployment(GenericServiceManager.java:151)
    at weblogic.management.internal.DeploymentHandlerHome.invokeHandlers(DeploymentHandlerHome.java:640)
    at weblogic.management.internal.DeploymentHandlerHome.unprepareCurrentDeployments(DeploymentHandlerHome.java:597)
    at weblogic.management.internal.DeploymentHandlerHome.unprepareCurrentDeployments(DeploymentHandlerHome.java:574)
    Truncated. see log file for complete stacktrace
    >

    Janelle,
    Did you create the ADF domain in the WLS server? Also, you can directly deploy from JDeveloper once you have the appropriate deployment descriptors.
    Check this 3 articles
    http://radalcove.com/blog/?p=34
    http://radalcove.com/blog/?p=16
    http://radalcove.com/blog/?p=48
    Juan C

  • MacBook Pro with Retina 13" Late 2013 thunderbolt port broken after 10.9.4 update

    One of Thunderbolt Port (near USB port) was broken after 10.9.4 update.
    I usually use mini Display Port to Display Port cable to connect my external screen, it works fine before 10.9.4 update. After 10.9.4 update, I tried to connect the external screen with the same cable, and the main screen of my MacBook Pro with Retina Display twinkling once so I'm sure the external screen was identified, but no video signal output.
    I went to local Apple Premium Reseller (there is no Apple Store in Taiwan) and the they told me all of Thunderbolt Port was fine, they test with their own 10.9.2 copy and it seems ok. After that, I tried to re-install 10.9.4, downloading directly from Apple, the system re-install progress was complete but the Thunderbolt Port issue still there.
    I connect to the broken Thunderbolt Port with Thunderbolt to Ethernet adapter, and it works fine, so I believe the only problem is that there is no video signal output from the Thunderbolt Port (near USB port one).
    What should I do now?
    Model: MacBook Pro with Retina 13" Late 2013

    I can confirm that problem, too: Im' working with a Dell U2713HM display, connected via display port. Since 10.9.4 Update i'm experiencing random black screens and/or display going to energy saving mode. Today i've had this issue twice: Display going black and after disconnecting the macbook von all cables screen of the macbook remaining black. Holding Power Button for about 10 s restarts the macbook. After 5 minutes the same problem appeared again.

  • WebLogic Server EAR Deployment Queries!

    Hi All,
    I have few queries with respect to EAR deployment in BEA WebLogic Server
    a) we have a requirement wherein we need to deploy the modified EAR file to one node in a cluster, whereas the other node will still continue to use the old EAR file. Is that possible in a production environment?
    b) we also have a requirement wherein we need to bring down the cluster and start the servers as independent servers instead of a clustered servers from command line without logging into the weblogic server console
    c) we have one more requirement wherein we have all the configuration xml files for each web application in a EAR File. We need a way to deploy the configuration xml file separately if there is a change only to the configuration xml file. Is that possible?
    Also, we need to deploy a specific web application in a EAR file instead of re-creating the EAR again. Like an emergency release of one or more web application in a EAR.
    d) Is that possible to update the JAR file and WAR file dynamically which are deployed as part of the EAR file.
    Any pointers to info source will be REALLY appreciated.
    Wiating for your reply.
    Many Thanks in Advance,
    C R Baradwaj

    Hi,
    Can anyone from BEA team help me in these queries?
    This is very urgent!
    have few queries with respect to EAR deployment in BEA WebLogic Server
    a) we have a requirement wherein we need to deploy the modified EAR file to one node in a cluster, whereas the other node will still continue to use the old EAR file. Is that possible in a production environment?
    b) we also have a requirement wherein we need to bring down the cluster and start the servers as independent servers instead of a clustered servers from command line without logging into the weblogic server console
    c) we have one more requirement wherein we have all the configuration xml files for each web application in a EAR File. We need a way to deploy the configuration xml file separately if there is a change only to the configuration xml file. Is that possible?
    Also, we need to deploy a specific web application in a EAR file instead of re-creating the EAR again. Like an emergency release of one or more web application in a EAR.
    d) Is that possible to update the JAR file and WAR file dynamically which are deployed as part of the EAR file.
    Thanks and Regards,
    C R Baradwaj

  • WLS 11 Policy migration during EAR deployment

    We are installing an ADF 11g EAR into our development instance of WLS 10.3.1 and are seeing some strange behavior with the ADF policy migration. During the EAR install from either the WLS console, or using WLST scripts, the ear deployment appears to create entries in our domains system-jazn-data.xml file in the .../config/fmwconfig directory. The policies work fine when testing the application. Users in the various application roles see expected security behavior. If we then start and stop a completely different managed server from the console, the entries that were in the system-jazn-data.xml file disappear, but the our application security continues to work as expected. If we then bounce the server our ear is deployed to, the entries show up again in system-jazn-data.xml.
    Can anyone explain this behavior and verify if this is expected?
    Additional Information: We have followed the enterprise deployment guide when setting up our middleware home directory. We have the following directory structure:
    /opt/oracle/admin/snidomain/aserver
    /opt/oracle/admin/snidomain/mserver
    The aserver directory contains the admin server and the mserver directory contains our managed servers. Each directory contains a config/fmwconfig subdirectory each containing a system-jazn-data.xml file. Each also contains a jps-config.xml file that specifies an XML policy provider pointing at "./system-jazn-data.xml". When we install an EAR that utilizes ADF security, the system-jazn-data.xml file in the mserver directory is updated during deployment, but the one in the aserver directory is not. Each recycle of a managed server appears to replace the contents of the system-jazn-data.xml file in the mserver directory.
    Also, when I bring up Fusion Middleware Control and view the roles/policies of the ear, none are displayed in the UI. If I add a role/policy using Fusion Middleware Control, the new role/policy is placed in the system-jazn-data.xml file in the aserver directory, and the contents of the one in the mserver directory is completely replaced with the same contents as the one in the asever directory, overwriting the ones added during the deployment.

    We are installing an ADF 11g EAR into our development instance of WLS 10.3.1 and are seeing some strange behavior with the ADF policy migration. During the EAR install from either the WLS console, or using WLST scripts, the ear deployment appears to create entries in our domains system-jazn-data.xml file in the .../config/fmwconfig directory. The policies work fine when testing the application. Users in the various application roles see expected security behavior. If we then start and stop a completely different managed server from the console, the entries that were in the system-jazn-data.xml file disappear, but the our application security continues to work as expected. If we then bounce the server our ear is deployed to, the entries show up again in system-jazn-data.xml.
    Can anyone explain this behavior and verify if this is expected?
    Additional Information: We have followed the enterprise deployment guide when setting up our middleware home directory. We have the following directory structure:
    /opt/oracle/admin/snidomain/aserver
    /opt/oracle/admin/snidomain/mserver
    The aserver directory contains the admin server and the mserver directory contains our managed servers. Each directory contains a config/fmwconfig subdirectory each containing a system-jazn-data.xml file. Each also contains a jps-config.xml file that specifies an XML policy provider pointing at "./system-jazn-data.xml". When we install an EAR that utilizes ADF security, the system-jazn-data.xml file in the mserver directory is updated during deployment, but the one in the aserver directory is not. Each recycle of a managed server appears to replace the contents of the system-jazn-data.xml file in the mserver directory.
    Also, when I bring up Fusion Middleware Control and view the roles/policies of the ear, none are displayed in the UI. If I add a role/policy using Fusion Middleware Control, the new role/policy is placed in the system-jazn-data.xml file in the aserver directory, and the contents of the one in the mserver directory is completely replaced with the same contents as the one in the asever directory, overwriting the ones added during the deployment.

  • How to reference sapjco from EAR deployment descriptors

    Hello techies,
    I´ve set up an EJB to use the JCo RFC Provider Service of the J2EE engine. Connection from R3 to EJB works but as soon as the EJB gets invoked, I get the error 'incompatible bean type - no processFunction found' from the RFCDefaultRequestHandler.invokeBean(..., JCO.Function) method.
    The reason is clear to me - the JCO.Function class is loaded by different class loaders and thus the method parameters don´t match.
    I´ve read in earlier postings that it is neccessary to reference the JCO in the module project and the ear deployment descriptor. That´s where my question begins.
    How do I reference the JCO in the module project (what´s that?)? I think it has to do with the EJB jar, doesn´t it?
    In the DeployTool I found a way how to set a reference to a library in the menu deploy-->libraries. But I am not sure what to specify here. I entered 'sapjco', since I saw an entry in the managers/library.txt file. Is that correct?
    Any hints are welcome!
    Regards,
    Jan

    Jan,
    you can set the reference to the EAR project using the reference.txt file that exists in the /managers folder.
    In the library.txt file set a path which is reference to sapjco.jar files..like
    library JCO sapjco.jar
    in the refernce.txt add the JCO referece to the EAR project...like
    reference Project library:JCO
    where Project here is the name of your EAR file..
    Ravi

  • [SOLVED] nfsroot install broken after kernel upgrade 3.5.6 to 3.6.2

    It seems my nfsroot installations have broken after the kernel upgrade to 3.6.2.
    This is as far as the boot process gets now (hand copied from the screen):
    IP-Config: eth0 complete (from 10.48.50.20):
    address: 10.48.50.240 broadcast: 10.48.50.255 netmask: 255.255.255.0
    gateway: 0.0.0.0 dns0 : 0.0.0.0 dns1: 0.0.0.0
    domain : local
    rootserver: 10.48.50.20 rootpath:
    filename : /var/tftpboot/pxelinux.0
    NFS-Mount: 10.48.50.20:/srv/nfs4/kvmhost0-rootfs
    Waiting 10 seconds for device /dev/nfs ...
    mount: Protocol not supported
    :: running cleanup hook [udev]
    ERROR: Failed to mount the real root device.
    Bailing out, you are on your own. Good luck.
    sh: can't access tty; job control turned off
    [rootfs /]#
    On the server this is what is logged:
    Oct 16 21:10:04 tuon dhcpd: DHCPDISCOVER from 00:21:70:eb:02:25 via san
    Oct 16 21:10:04 tuon dhcpd: DHCPOFFER on 10.48.50.240 to 00:21:70:eb:02:25 via san
    Oct 16 21:10:04 tuon dhcpd: DHCPREQUEST for 10.48.50.240 (10.48.50.20) from 00:21:70:eb:02:25 via san
    Oct 16 21:10:04 tuon dhcpd: DHCPACK on 10.48.50.240 to 00:21:70:eb:02:25 via san
    Oct 16 21:10:14 tuon rpc.mountd[1323]: authenticated mount request from 10.48.50.240:684 for /srv/nfs4/kvmhost0-rootfs (/srv/nfs4/kvmhost0-rootfs)
    Oct 16 21:10:14 tuon rpc.mountd[1323]: refused unmount request from 10.48.50.240 for /new_root (/): not exported
    It looks to me like the client is sending the mount request, the server accepts and then for some reason the client thinks it has failed. I can't even see anything strange in the wireshark traces comparing the working client (3.5.6) to the broken one (3.6.2).
    Anyone else using nfsroot successfully with the latest kernel?
    Any other ideas?
    (by the way - despite my directory names, this is using nfs v3 for the rootfs)
    Last edited by kmshanah (2012-10-18 03:18:07)

    mikep wrote:
    Just to confirm that I also have this problem with nfsroot (nfs4 this time) with 3.6.2. Downgrading the kernel does make it go away.
    When it is working normally I do seem to get refused unmount messages at shutdown for some reason
    refused unmount request from 192.168.1.86 for / (/): not exported
    , but the /new_root bit is new and I have no idea where it comes from.
    refused unmount request from 192.168.1.86 for /new_root (/): not exported
    So I wonder if it asking for the wrong path.
    That unmount issue will be solved by FS#32021.
    Unfortunately, that doesn't help with mounting in the first place with 3.6.2

  • Exploded EAR deployment supported?

    Hi,
    I am currently developing with the MyEclipse IDE. Does Sun Java Studio Enterprise 8.1 support exploded deployment of EARs, and can it 'hot deploy' changes into the running Application Server?
    Thank You

    Hi.
    SJSE 8.1 doesn't support exploded deployment of EAR projects. It currently supports exploded deployment of WAR projects.
    I know that folks have extended NetBeans to support exploded EAR deployment in NB 6.0...
    You can find out more about that in this blog entry and screencast:
    http://blogs.sun.com/vkraemer/entry/new_glassfish_integration_feature_directory
    http://serverplugins.netbeans.org/screencasts/pfsc1.html
    Can you clarify what you mean by 'hot deploy'? Different folks have different definitions of this phrase... I think SJSE 8.1 does 'hot deploy' as I understand it... but my understanding may not match your vision of this feature...
    vbk

  • Map Module broken after Adobe Flash update on OSX Mountain Lion 10.8.2

    As the topic says, the map module is broken after a recent adobe flash update on OSX 10.8.2.  It's just a grey screen now when I go to it, has anyone else had this issue?

    Nope, not an issue with the firewall... I connect to google maps fine on every browser, and here is the IP info...
    [tim-> /home/tim/~ ]$nslookup maps.google.com
    Server:                    213.46.172.36
    Address:          213.46.172.36#53
    Non-authoritative answer:
    maps.google.com          canonical name = maps.l.google.com.
    Name:          maps.l.google.com
    Address: 173.194.44.228
    Name:          maps.l.google.com
    Address: 173.194.44.224
    Name:          maps.l.google.com
    Address: 173.194.44.233
    Name:          maps.l.google.com
    Address: 173.194.44.227
    Name:          maps.l.google.com
    Address: 173.194.44.232
    Name:          maps.l.google.com
    Address: 173.194.44.238
    Name:          maps.l.google.com
    Address: 173.194.44.225
    Name:          maps.l.google.com
    Address: 173.194.44.229
    Name:          maps.l.google.com
    Address: 173.194.44.230
    Name:          maps.l.google.com
    Address: 173.194.44.231
    Name:          maps.l.google.com
    Address: 173.194.44.226
    tim-> /home/tim/~ ]$ping maps.google.com
    PING maps.l.google.com (173.194.44.230): 56 data bytes
    64 bytes from 173.194.44.230: icmp_seq=0 ttl=58 time=8.802 ms
    64 bytes from 173.194.44.230: icmp_seq=1 ttl=58 time=7.441 ms
    tim-> /home/timhsia/~ ]$traceroute maps.google.com
    traceroute: Warning: maps.google.com has multiple addresses; using 173.194.44.230
    traceroute to maps.l.google.com (173.194.44.230), 64 hops max, 52 byte packets
    1  192.168.1.1 (192.168.1.1)  4.474 ms  0.629 ms  0.555 ms
    2  ip-94-112-34-1.net.upcbroadband.cz (94.112.34.1)  12.499 ms  9.287 ms  8.526 ms
    3  ip-78-102-103-33.net.upcbroadband.cz (78.102.103.33)  9.128 ms  8.318 ms  6.403 ms
    4  84.116.221.234 (84.116.221.234)  44.900 ms  72.733 ms  16.459 ms
    5  213.46.172.210 (213.46.172.210)  9.615 ms  8.585 ms  12.522 ms
    6  209.85.241.79 (209.85.241.79)  34.648 ms  12.823 ms  11.197 ms
    7  173.194.44.230 (173.194.44.230)  98.644 ms  10.010 ms  9.054 ms
    Please advise.  Thanks.

  • Settings dont transfer after netinstall deployment

    Hi all,
    I am stumped with this one.
    so I created my model image, with the client account, with all the settings as per request. I check all the setting before creating the image using SIU on os x 10.5 server. SIU creates the image successfully and I deploy the image on to a test machine via my network and all works fine. how ever when I go into the user account all the settings are gone. most of these are adobe photoshop, bridge cs3 settings. but even options like turning off blue tooth dosnt seem to work.
    in this environment we dont use ldap so using workgroup manager is out of the question (although I am trying to promote its use). So I thought about changing the english.lproj file. my reasoning being that after the deployment its going back to a default setting. if I change the default setting we should be fine. so I changed the english.lproj file on my image system. tested it out by creating a new user and everything worked, I had a permissions issue (chmod 775 or 755 i cant remember now on the english.lproj file, got the permissions I needed but with a + on the end.. I have no clue what that is), I probably need help with as well, but over all it worked.
    So I created the image using SIU and deployed it. but when I logged into the user account all setting were forgotten. I logged in as admin, added a new account and logged into that same thing, all the default settings were forgotten.
    so at this point I am kind of stumped. is there some setting in SIU I am missing? any help greatly appreciated.. I should say that I am on a time crunch as well.
    thanks
    J

    hey guys just an update, no progress yet as for some reason now the netinstall process doesnt want to work. I can see the images on the client when I go to choose it from the startup disk option in sys preferences. select it, it restarts and then goes to the blinking globe and hangs there for a while and then goes to the normal os bootup,
    on the server, the log just says
    BSDP INFORM [en0] 1,0:xx:xx:xx:x:xx NetBoot009 arch=i386 sysid=MacPro3,1
    NetBoot: [1,0:xx:xx:xx:x:xx] BSDP ACK[SELECT] sent xxx.xxx.xx.xxx pktsize 391
    hand no luck shutting the service down, or restarting the server.. trying it again.. going to get a cup of joe and will try again
    j

  • NWDI - How to control EAR deployment order

    We are developing a custom application in NWDI. We have created a software component for the this and have created all required DCs under this software component.
    All the J2EE DCs are deployed through separate EAR DCs and there are references from one to another ear DC where ever required.
    Deployment of a EAR DC fails if the dependent EARs are missing at that time as it looks for some classes at the time of deployment. We could resolve this in development env as we have the control over individual EAR deployment.
    But for deployment in QA through NWDI, where the whole software component is deployed as one SCA file, deployment is failing due to wrong order of deployment for the EARs. We are not able to figure out how to control the order of EAR deployments contained in a single SCA.
    Please let me know for any further info.
    Points will be awarded for helpful answers
    Regards, Chandra

    Hi  Chandra,
    It defines runtime-reference. And should automatically add references to application-j2ee-engine.xml
    But as far as I remember it is done only in NW7.1
    Regards,
    Andrei.

  • Need to reconfigure the VM after vm deployment

    Hi All,
    I am having a script to deploy a VM from an CSV file . I need to change the vm ( CPU & Memory)  configuration after vm deployment. where the name of the vm should be taken from csv.So any help is much appreciated.
    Attaching the script used . ( downloaded and works fine)
    $vms = Import-CSV D:\vm-deploy\vm-deploy.csv
    foreach ($vm in $vms){
          $Template = Get-Template $vm.template
          $VMHost = Get-VMHost $vm.host
          $Datastore = Get-Datastore $vm.datastore
          $OSCustomization = Get-OSCustomizationSpec $vm.customization
          New-VM -Name $vm.name -OSCustomizationSpec $OSCustomization -Template $Template -VMHost $VMHost -Datastore $Datastore -RunAsync
    ## This cmd need to execute after the vm deployment completed. The VM name should come from the 1 colum of CSV file
    Set-VM $vmname -NumCpu 2 -MemoryGB 5 -Confirm:$false
    Write-Host "All vms deployed, " -ForegroundColor Green
    Disconnect-VIServer -Confirm:$false
    CSV file looks like this
    Name,Template,host,datastore,customization
    Test-VM,vm-dep-test,ESX02,P5-vm-stage,vm-deploy
    Thanks in advance.....

    A simpler, but not optimal, solution is to use the Wait-Task cmdlet.
    Something like this
    $vms = Import-CSV D:\vm-deploy\vm-deploy.csv
    $tasks = @()
    foreach ($vm in $vms){
          $Template = Get-Template $vm.template
          $VMHost = Get-VMHost $vm.host
          $Datastore = Get-Datastore $vm.datastore
          $OSCustomization = Get-OSCustomizationSpec $vm.customization
          $tasks += New-VM -Name $vm.name -OSCustomizationSpec $OSCustomization -Template $Template -VMHost $VMHost `
              -Datastore $Datastore -RunAsync
    Wait-Task -Task $tasks
    foreach($vm in $vms){
      Set-VM $vm.name -NumCpu 2 -MemoryGB 5 -Confirm:$false

  • Error in EAR deploy

    Hello, after first deployment without errors now I've obtained this unresolved message:
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application sap.com/QuickCarRentalApplication. Reason: Application alias "QuickCarRental" for application "sap.com/QuickCarRentalApplication" already exists in the HTTP Provider Service.;
    Thanks in advance for any suggestions.
    Gianfranco

    Hi Gianfranco,
    If you are trying to deploy the same application for the second time, you either have to undeploy it first, or you should use the "redeploy or update" function of the Deploy Service. See http://help.sap.com/saphelp_nw04/helpdata/en/f4/6c9962da317549a05919ce926b5196/content.htm
    Best regards,
    Viliana

  • IBFBS failed to deploy in Embedde OC4J but works with EAR deploy.

    Hi
    When i try to deploy IBFBS sample project in JDevloper by Embedde OC4J : its giving
    an error saying "there is no EJB module to deploy".
    But when i deployed through EAR deployment method its working fine.
    PLease kindly help me.
    Sai.

    Hi,
    Can you pls post the Version of JDeveloper and OC4J that you are using?
    I tried to deploy IBFBS using JDeveloper 9.0.3.988 (JDK 1.3.1) on Standalone OC4J server (9.0.3) and it works fine.
    One constraint for not running the application from JDeveloper (by using embedded OC4J) is that, the OC4J where the FBS is deployed needs to have the -userThreads option enabled.
    This option is enabled by starting OC4J with -userThreads option.
    java -jar oc4j.jar -userThreadsRef : Connection to embedded OC4J per FBS Setup Tutorial-Problem.
    Let us know if your problem still persists.
    Thanks
    -- OTN@IDC Team

  • Problem "A serious error..." after msi deployment (8.0 on Vista)

    Environment is Windows Vista Business with UAC enabled in a Win2003 policy controlled network.
    Files used:
    acropro.msi provided on the Adobe Acrobat 8 Professional volume licence CD.
    acropro.mst created with Adobe Customization Wizard 8.
    Command executed:
    msiexec /i \\mynetwork\...\acropro.msi transforms=\\mynetwork\...\acropro.mst
    Situation:
    After successful deployment of Adobe Acrobat 8 Professional, when Adobe Acrobat 8 Professional is run, after about 5 seconds I get the message saying: "A serious error has been detected and Adobe Acrobat 8 Professional cannot continue. Please reinstall the application and try again".
    After searching google, this seems related to the activation service unable to contact a licence server.
    Our volume licence CD is supposed to be pre activated. In fact, after manually running setup.exe on the same CD, everything works. And no activation is necessary. But not so using the msi.
    My question:
    I want to deploy Adobe Acrobat 8 Pro using only the msi. Anyone has a idea?

    Our problem was partly solved by ordering another CD with ALM (Auto License Management) disabled from Adobe. See the reference.
    http://www.adobe.com/elicensing/licensemanagement/alm/
    Then Acrobat 8.0 installs Ok under an Admin account. The Acrobat 8.1 patch renders the software useable with non admin credentials.
    Regards,
    Michel

Maybe you are looking for

  • Everything but one season of one show sync

    I have a 1st generation Apple TV.  I've had issues with it syncing before, but turning it off and back on has always seemed to fix those issues. I just bought a whole season of a show.  It shows up in iTunes and I can play it there fine. When I selec

  • USB thumb drive does full backup every time its plugged in

    4GB Corsair USB thumb drive. 1 Partition, MBR, HFS+ I have 2 computers. PowerMac G5 and Macbook Pro. Each have there own Time Machine drives. Each time I plug my USB drive into one of these computers, syslog has this: backupd[7080]: Starting standard

  • Creating .bat for analyzing the Database.

    Hi Experts, I am having a doubt in scheduling database analysis process windows 2003 server. Every Sunday, we have to schedule the database analysis. just view the below example sysuser login id : testlogin sysuser password: demotest connection strin

  • I uninstalled the Acrobat Pro XI trial.  Unfortunately, I cannot access my paid up Acrobat 10 Standa

    I uninstalled the Acrobat Pro XI trial.  Unfortunately, I cannot access my paid up Acrobat 10 Standard Edition

  • SunMC Agent on a V490

    Hi, today we got our first V490 with US- IV CPUs and I was wondering if I can install a SunMC Agent 3.5.1b on this platform. Obviously I'm not able to do so or I'm lacking the correct Config Reader package. Can anybody tell me if there is a 3.5.1b su