WLST deploy fails but works fine via admin console

RHEL 5.6
Jrockit 1.6.0_20-R28.1.0-4.0.1
Weblogic 10.3
Alfresco 3.3.4 (295)
Oracle 10.2.0.4
I'm experiencing problems when attempting to deploy a WAR using WLST using the below python script. If I deploy this WAR using the Weblogic Admin Console, all works well. When I attempt the same deployment using WLST, the deployment 'appears' to work and the script shows no sign of error BUT the application does NOT show up at all in the admin console. I'm using the same authentication information in both scenarios.
connect(username,password,'t3://' + adminServer + ':8001')
try:
edit()
startEdit(waitTimeInMillis=30000)
except:
traceback.print_exc(file=sys.stdout)
print "Failed to aquire edit lock"
# cannot undo when we do not has the lock
#undo(defaultAnswer='y')
#stopEdit()
sys.exit(1)
try:
for app in cmo.getAppDeployments():
if app.getName() == appname:
print ('Application \'' + appname + '\' is already deployed, removing previous deployment...')
undeploy(appname)
break
except:
traceback.print_exc(file=sys.stdout)
print "Undeploy failed"
undo(defaultAnswer='y')
stopEdit(defaultAnswer='y')
sys.exit(1)
try:
deploy(appname, source, target, upload='true', block='true')
except:
traceback.print_exc(file=sys.stdout)
print "Deploy failed"
undo(defaultAnswer='y')
stopEdit(defaultAnswer='y')
sys.exit(1)
try:
save()
activate()
except:
traceback.print_exc(file=sys.stdout)
print "Activate failed"
undo(defaultAnswer='y')
stopEdit(defaultAnswer='y')
sys.exit(1)
disconnect()
Is it possible to deploy the application unzipped?
- CDM

Hi Sebastian,
You need to be connected to master database when executing GRANT VIEW SERVER. Try the following it will work:
USE [master]
GO
GRANT VIEW SERVER STATE TO [Domain\User]
Regards,
Basit A. Farooq (MSC Computing, MCITP SQL Server 2005 & 2008, MCDBA SQL Server 2000)
http://basitaalishan.com
Please remember to click "Mark as Answer" on the post that helps you, and to click
"Unmark as Answer" if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

Similar Messages

  • HP CM1312MPF drivers don't work via Windows 7 but works fine via Linux dual booting

    HP CM1312MPF drivers don't seem work using Windows 7 (64-bit) .  Original HP drivers CD now lost. Current drivers were downloaded from HP's website. (This webpage has a number of drivers and most 64-bit ones have been tried. Prior to my Windows re-install, the machine printed and scanned satifactoralily in Windows 7. One day this O/S refused to boot and had to be fully re-installed. The reinstall has been tried on both a SSD and on a HDD. (I have 3 x HDDs and 1 x SSD in this Desktop system. and I dual boot Windows7 and Linux Mint with data on its own HDD.) No attempt has yet been made to scan after this Windows re-install, as I have a separate photo scanner.  I mainly wish on the to print on CM1312MPF, however it did scan perfectly well prior to the reinstall of Windows. THE CM1312MPF PRINTS FINE VIA THE SAME USB OUTPUT LEAD (AND POWERED HUB) AS VIA LINUX MINT 17 (PETRA)  when I dual boot and without any PHYSICAL CHANGES between changing O/Ss. It must be a driver problem, surely, mustn't it? I look forward to your help. John_of_Penrith

    You can also disable that windows wireless "Critter" from device manager and it shouldn't ever again show-up in your adapter list. Thanks for the lesson. I too have wondered about the windows virtual adapter and what it's for. I never had it show-up in my adapters though in the network and sharing center. That was strange that it happened to you. I also occasionally just go to device manager and reload the adapter that came with laptop-not the windows one. It
    seems to keep it running fairly well since there have been no new drivers for it. I think it was an experiment or something called the DW1501 Wireless half-mini n that came with my Dell Inspiron N7010 laptop. I don't particularly like it as compared to the other wireless adapters in my home, this thing is slow on downloads, but I don't want to bother to get a new adapter.
    Anyhow thanks for the interesting lesson.
    LindaSView

  • Logic pro x, A whole bunch of my audio units failed but worked fine a minute ago

    Audio units failed message as half my audio units now will not load.
    I have 32 lives and rescanned everything. Did not work.
    I own the software and it was all working just fine until I loaded up a different song. Logic glitched out.
    The Audio units are still checked in prefs in logic like normal.
    Audio units still show up in the project but will no open.  They have a question mark. I've seen this before and was able to figure it out with one or two but not half my AU's. Something is different.
    I have just loaded the update a week ago and logic was working fine.
    I tried deleting my cache with anything Logic x, that did not work.
    I restarted the computer several times, no luck.
    HALP!!! Thank you for your time
    Couldn't be at a worse time as I have a deadline tomorrow for an album I am so close to finishing.. WHY???

    If you mean all plugins have this issue then...
    In Logic's Prefs Audio/Devices, make sure CoreAudio is checked...
    Failing that, or if only some plugins have this issue...
    Are the plugins that don't work, all ones wrapped in 32lives?
    Do any of Logic's own plugins rather than 3rd party ones, have this problem?

  • BPEL process fails in SOA (in UNIX), but works fine in SOA (in Windows) env

    Hello,
    BPEL process fails in SOA (in UNIX), but works fine in SOA (in Windows) environment
    Step 1: Build a asynchronous BPEL process which has no extra node. Make and deploy it in 'local windows desktop SOA' server
    The BPEL process has three nodes:
    a. client - on the left side of the swim lane
    b. receiveInput - first node in swim lane (client calls 'receiveInput')
    c. callbackClient - second and last node in the swim lane ('callbackClient' calls client)
    Step 2: Go to BPEL console and 'Initiate' the BPEL process -> 'Post XML Message'
    Step 3: Now, I can see the successfully completed BPEL instance in the BPEL console.
    Now,
    Step 4: Deploy the same BPEL process (dummy asynchronous) in the SOA server (hosted in unix box)
    Step 5: Go to BPEL console and 'Initiate' the BPEL process -> 'Post XML Message'
    Step 6: I find that the BPEL instance appears to have ended in error (on the second node i.e. callbackClient )
    With the following error message
    +<invalidVariables xmlns="http://schemas.oracle.com/bpel/extension"><part name="code"><code>9710</code>+
    +</part><part name="summary"><summary>Invalid xml document.+
    According to the xml schemas, the xml document is invalid. The reason is: Error::cvc-complex-type.2.4.b: The content of element 'DummyBPELProcessProcessResponse' is not complete. One of '{"http://xmlns.oracle.com/DummyBPELProcess":result}' is expected.
    Please make sure that the xml document is valid against your schemas.
    +</summary>+
    +</part></invalidVariables>+
    Has anyone faced similar issue as above ?
    i.e. process works find in windows environment (local SOA), but fails in SOA server in UNIX environment
    Appreciate your help in understanding this issue.
    Thanks,
    Santhosh

    Hello,
    The fix to this issue appears to have been as follows:
    +<schema attributeFormDefault="unqualified"+
    +     elementFormDefault="qualified"+
    +     targetNamespace="http://xmlns.oracle.com/DummyBPELProcess"+
    +     xmlns="http://www.w3.org/2001/XMLSchema">+
    +     <element name="DummyBPELProcessProcessRequest">+
    +          <complexType>+
    +               <sequence>+
    +                    <element name="input" type="string"/>+
    +               </sequence>+
    +          </complexType>+
    +     </element>+
    +     <element name="DummyBPELProcessProcessResponse">+
    +          <complexType>+
    +               <sequence>+
    +                    <element name="*:result*" type="string"/>+
    +               </sequence>+
    +          </complexType>+
    +     </element>+
    +</schema>+
    In DummyBPELProcess.xsd,
    modifiying "result" to ":result" appears to have resolved the issue in SOA under unix environment.
    If anyone can explain why "result" works in SOA under windows and ":result" works in SOA under unix environment, I would really appreciate your help.
    Thanks,
    Santhosh

  • My iphone 3G has worked fine via bluetooth with my BMS 3 series (57 plate) until I updated to V.5.0.1 software and now only some but not all contacts are transferred - any ideas?

    My iphone 3G has worked fine via bluetooth with my BMS 3 series (57 plate) until I updated to V.5.0.1 software and now only some but not all contacts are transferred and available - any ideas?

    Rodger,
    Thank you for your gracious welcome . . .
    and thank you for your swift response . . .
    and thank you for your information (and encouragement!).
    Yes, I read that too, but searched in vain for the specifity of, say, your direction:
    "Go ahead and update to 8.0.2, as it contains the 8.0.1 update."
    So I shall!
    Again, many thanks.

  • Facetime stopped working on mac. says "failed".  works fine on phone and new mini.  Any ideas.  already went thru all the troubleshooting. added a unique email address to the mac.  just keeps failing. ????

    facetime stopped working on mad.  says "failed".  works fine on phone and new mini.  tried all the troubleshooting, added a unique email to the mac facetime, nothing seems to work.  just keeps saying "facetime failed".  any ideas???

    I Got the same problem. When you change the output to internal speakers again facetime works again in the mac.
    I think it may be some kind of incompatibility with the current driver. I used in the past the old tascam Us-122 and worked well but its driver don't work more for the mountain lion system so i bought this newest one.
    When i used the old one I could use the volume keys on the mac keyboard to control output volume; now with the us-322 when hearing music you can control volume just from the tascam.

  • HT1414 touch screen does not work on my ipod when playing music on itunes, but works fine on every other thing on ipod

    touch screen does not work on my ipod when playing music on itunes, but works fine on every other thing on ipod, can anyone help or what is the cause

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Unsync all music and resync
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up           
    - Restore to factory settings/new iOS device.
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar          

  • My iphone5 wont charge with usb port but works fine with wall plug... Infact computer. Doesn't recognizes the iphone

    Battery not charging with usb port but works fine with wall plug.. So the prob is computer is not detecting the iphone5 . This problem started after upgrading to 6.1.3 version

    Try to see what happens on another computer. If it works on another computer, the issue is not at the iPhone.

  • Superdrive no longer recognizes CD, but works fine with DVD

    my Superdrive seems to have a problem recognizing any type of CD media, but works fine with DVD media.
    I reinstalled Leopard and still the same problem. I also zapped the NVRAM (this is an Intel 2.0 Ghz Mac Mini w/ 2 GB Ram.
    Is there anything else I can do or do I just need to replace the drive?

    Typically when this sort of symptom appears, it relates to a hardware failure, either due to a faulty lens, or dirt. You might try a lens cleaner to ensure it is not the latter.
    Since this is a 2.0GHz mini, it ought to be still under warranty - if that is the case it would be wise to have Apple, or an approved service provider, check it and undertake any necessary repairs.

  • People picker is not working for ie11 but working fine for other lower version

    i am using sharepoint 2010 and windows authentication
    recently i have updated my ie to ie11 and problem goes here.
    when i try to select from people picker, there are an unexpected error happened 
    however when i use other ie version, people picker work fine, what goes wrong?
    i have already added my system as trusted site
    if there any others thing i miss out?

    Hi,
    According to your post, my understanding is that People picker is not working for ie11 but working fine for other lower version.
    IE 11 is known to have compatibility issues on SharePoint 2010, please make sure to:
    first of all, try installing latest update for IE 11 (several compatibility issues were fixed since the first release)
    add the site to compatibility view (in IE> Tools> Compatibility view settings> type site name> add)
    add the site to trusted sites and set the zone security level to low (in IE> Internet Options> Security> trusted sites> sites>add your site there> ok> custom level> select low> reset> ok)
    You can use developer tools (f12) and set browser mode to the version that is most compatible with your environment.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • I just installed CC Lr 5.5 and it will not open on my laptop but works fine on my desktop.

    I just installed CC Lr 5.5 and it will not open on my laptop, but works fine on my desktop.

    Try this:
    https://helpx.adobe.com/lightroom/kb/unable-launch-lightroom-55.html

  • I have a Mac running 10.9.2. My wireless mouse with not scroll in mail but works fine in other applications? Any suggestions?

    I have a Mac running 10.9.2. My apple wireless mouse will not scroll in Mail but works fine in other applications.
    Any suggestions?

    First, see this discussion. If the solution suggested there doesn't work for you, continue.
    If you've installed a Mail plugin called "Mail Unread Menu" and you know how to remove it, please do that, then quit and relaunch Mail. Test. Otherwise, see below.
    Back up all data.
    1. Triple-click anywhere in the line below on this page to select it:  
    ~/Library/Mail/Bundles
    Right-click or control-click the highlighted line and select 
    Services ▹ Open
    from the contextual menu.* A folder may open, or you may get an error message that the item can't be found. Either result is normal. If the folder does open and has contents, move the contents to the Desktop. Relaunch Mail and test. If there's no change, put the contents of the folder back and quit Mail again.
    2. Repeat with this line:
    /Library/Mail/Bundles
    This time you may be prompted for your login password when you remove the items. Make sure they're removed from the folder and not just copied to the Desktop. If necessary, copy them first and then move the originals to the Trash.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens (command-V). You won't see what you pasted because a line break is included. Press return.

  • TS2972 First night I was able to watch 2 TV shows (45 min each) with no problems, but thereafter programs will not stream without constant pause to buffer. Weather conditions are ideal and my internet comes from crappy hugesnet, but worked fine the first

    First night I was able to watch 2 TV shows (45 min each) with no problems, but thereafter programs will not stream without constant pause to buffer. Weather conditions are ideal and my internet comes from crappy hugesnet, but worked fine the first night.

    The speed may have been ok at that time and is too inconsistent/too slow overall. interference may have proven to be more of an issue since as well. If using public DNS that will provide Intermittant results
    I'm sure using a hotspot would be fine but it depends on your viewing habits. An HD movie is around 4-5GB. It would also be subject to speed. requirements so best to test to see how it compares.
    You would have to check with your Carrier if hotspot it's enabled then just to into your settings and toggle it ON

  • Newest version of flash player not playing in newest version of google chrome but works fine in IE

    newest version of flash player not playing in newest version of google chrome but works fine in IE

    jennifer.jones214 wrote:
    In your  opinion, should I uninstall Firefox if I am installing Waterfox?
    Waterfox can coexist peacefully with Waterfox.  I have both installed, but never use Firefox any more.
    Not only can Waterfox run in 64-bit address space, it also is better optimized during compile time than Firefox.  (For obvious reasons; Firefox is compatible with many old systems, Waterfox only needs to be compatible with new 64-bit systems.)
    P.S. regarding Chris' advice above; Firefox and Waterfox use the same profile, so if that is actually the problem, then it will occur in both browsers.

  • After updating to iOS 6.0.1 "Yahoo! Server Unavailable" but works fine on iPhone.  Help please!

    after updating to iOS 6.0.1 "Yahoo! Server Unavailable" but works fine on iPhone.  Help please!

    GIve it time. Yahoo has been have persistently random issues in past weeks. If you don't want to wait, you can try deleting and readding your account info.
    The issue is on yahoo's end and all their updates/upgrades.

Maybe you are looking for

  • Why can I not upload any images from my iPhone 4 to my Macbook Pro? Please help!

    Hi all, I'm pretty much tearing my hair out with this one, I don't know what to do - I simply cannot upload any photos from iPhone 4 to Macbook Pro. This problem appeared out of the blue. I am trying to upload to iPhoto - not working. I have clearing

  • Why is the installer stuck on "Checking System Profile-"?

    I'm trying to install Flash Catalyst Beta on a MacBook Pro running OS 10.6.1 (Snow Leopard). The installer starts to work, but then it stops at the point where it checks the system profile (see attached screenshot). It doesn't seem to have crashed as

  • RSA -- signing/verifying data

    assuming i have the public and private keys already.... class RSA{      Signature sign; ... //sets up keys and stuff      private void setupRSA(){           sign = Signature.getInstance("RSA");           sign.initSign(privateKey);           sign.init

  • Acrobat not working

    I just downloaded Creative Suite 6 Design and Web Premium for Windows and the Adobe Acrobat component isn't working. It doesn't open by itself or to open a PDF. InDesign and Illustrator are working fine, so I'm not sure why Acrobat specifically isn't

  • Calling SAP scripts from WEBDYNPRO

    Hi We need to call SAP scripts from WebDynpro application.  As per my understanding we need to do following steps Create a new RFC function module and create sap script output in PDF format.For this     - use OPEN_FORM , by assigning TDGETOTF='X' in