Using Automator to create a "video server"

I'm looking to turn an Xserve into a video server for a digital signage situation. I know I can use Automator to open a video file in Quicktime and automatically play it full screen, however, is it possible to do the following with automator (or in some other easy fashion):
1. Have it go into a designated folder and open up the video file in that folder no matter what the files name is. (So I can update the video content monthly and just copy the new file into the folder and not have to change anything in the Automator script. I could always give the file the exact same name every month, but it would be nice if I didn't have to.).
2. Automatically run the Automator script on system boot - so we can boot up the Xserve in the morning with 1 button and once the OS is up it automatically starts playing the video file.
3. Last, (and this is probably the hard one), any thoughts on a way I can get the server to play a file to its end, and then check and see if there is a newer file present before looping? If not, it continues looping the same file, if so, it begins looping the new file instead? I'm guessing this would be more of an Applescript thing than Automater? This would be for a "content update while playing" situation.
I may not even mess with number 3, but the first two are a must. I'm not asking that you take time to develop working code for all the above, just letting me know that I can do it and whether I should be looking at Automater or Applescript for certain functionality would be fine and I can further research from there.
Thank you.
Don Hertz

1. In the Finder actions you will need:
- Get Specified Finder Items, and point it towards the folder that will contain the movie.
- Get Folder Contents - to get what's inside the folder.
- Filter Finder Items - set to filter by 'Name Extension' 'Is equal to' 'mov' and make sure all your video files have the right extension...
- Open Finder Items - in QT Player - note that this might cause problems if there are multiple files in the folder...
Then from the QT Player actions:
- Play Movies.
2. Save As... Application, then after saving, drag the app into the login items for the user account.
3. That's going to need some AppleScript, but this thread should get you started:
http://discussions.apple.com/thread.jspa?threadID=455825&tstart=0
Ian

Similar Messages

  • Using Automator to create script

    What I'd like to do is use Automator to create a script that will open an image as soon as it is transferred to a specific folder. I'm trying to generate some extra income by doing a bit of photography. Since my photo gear is not wireless or bluetooth capable, I'm going to transfer the image from the camera to my MacBook via an Eye-Fi card. Once the image is transferred into the designated folder, I'd like the script to open the file in either Preview, Aperture, or Photoshop so I can see if I need to re-shoot the image. Is that possible? I'm just not sure how to do it in Automator. Thanks to all.
    -- Dennis

    Unless I misread your post this should be simple. The steps below are for the Snow Leopard version of Automator but will be similar for other versions. I had the test file open in Preview because I do not have Aperture installed but there should be a similar Automator action for it.
    1. Create the folder that you want to drop the photos into and put it in a convenient place. I used the Desktop.
    2. When the opening dialog appears choose Folder Action.
    3. When the next Automator window appears notice the drop down menu that allows you to choose a folder. Click here and choose the folder you created earlier.
    4. Find the Automator action "Open Images In Preview" and drop it into the window's right side as the only step/
    5. Save your work.

  • Using Automator to create a text box of certain size

    I'm very new to using automator... in fact I haven't used it at all, but I am wondering if I can use it to create a text box of the same size each type to type in within preview (a PDF document).  Basically I want to click or push something and have a text box be generated that is the same size each time.
    Thanks!

    1. In the Finder actions you will need:
    - Get Specified Finder Items, and point it towards the folder that will contain the movie.
    - Get Folder Contents - to get what's inside the folder.
    - Filter Finder Items - set to filter by 'Name Extension' 'Is equal to' 'mov' and make sure all your video files have the right extension...
    - Open Finder Items - in QT Player - note that this might cause problems if there are multiple files in the folder...
    Then from the QT Player actions:
    - Play Movies.
    2. Save As... Application, then after saving, drag the app into the login items for the user account.
    3. That's going to need some AppleScript, but this thread should get you started:
    http://discussions.apple.com/thread.jspa?threadID=455825&tstart=0
    Ian

  • Use automator to rip all videos from DVD

    I have set up a workflow in automator to extract a video from an archival DVD. However, the program is only ripping ONE file when there should be 4-5 files on there. Any ideas? I am running this process on Mountain Lion.

    Hi guys,
    A few months ago I started using a program called DVD Ripper Platinum for PC and it has been the best software for ripping and encoding to several formats.  What sold me is that it is extremely easy (2-3 clicks) and it rips ALL commercial dvds (even Disney ones with the new protection). 
    There is a mac version of the software, but I have not used it.  The only think I have observed is that is lacking some minor features that the PC version has.
    Here is the link:
    http://www.flash-video-soft.com/dvd-ripper-mac/
    Its not free, but I can assure that if it works just like it does in the PC, its worth every penny.
    I'm planning on using the PC version (since I already bought it, not buying it twice!) in a mac mountain lion running parallels 6.

  • Use Automator to create new subfolders in a selected folder

    This seems like it should be easy to accomplish, but I have had no luck.
    I want to be able to select a folder, and then run an Automator Service to create a specific set of subfolders within the selected folder.
    I am able to set up automator to create the subfolders, but it does so in the folder containing the selected folder.
    Any suggestions on how to accomplish this simple task?

    Which type of variable should I choose? I tried "text" but there's no way to set it to "input"? There are many Variables in the Library.
    Here's how I have things set up now, I thought the "Service receives selected 'folders' in 'Finder'" (at the very top of the workflow area) would pull in the selected folder.
    Thanks!

  • Problem using Automator to create "Watermark PDF Documents"

    After having updated our macs from Mavericks to Yosemite, the "Watermark PDF Documents" using Automator is no longer working.

    Hi Miykael,
    Do you have flash player installed on your system for that browser? Did you tried accessing that pdf file from a different browser?
    I would also recommend you to refer this KB Document : https://helpx.adobe.com/acrobat/using/display-pdf-browser-acrobat-xi.html
    Regards,
    Rahul

  • Can I use iMovie to create a video for youtube using an MP3  and a video?

    I have some music I've recorded on Logic Pro that I'd like to post on youtube and am trying to figure the easiest way to link it with either still photos or a video so it'd be OK for youtube. What's the best way to go about this please?

    just drag 'n drop your jpg and your mp3 into the timeline of your Project - done.
    Depending on what version of iM you're using, you can directly upload from within iMovie, or you have to export first, then use YT's upload web interface ...
    in case you own a licence of Quicktime Pro,  open a jpg with it, open in a 2nd window your mp3, select all, copy, paste to picture - done .. no 'fullsize editor' needed.

  • Using Automator to create sequential folders

    I'm trying to make an Automator workflow that will grab a file, create a folder with today's date, create a new sequentially numbered subfolder, and copy that file into it.  Essentially "To Post/2013_06_11/1", then on the next run it will make "To Post/2013_06_11/2", etc.  I can get this to work once, but after the initial "1" folder is created I can't get it to make 2, 3, etc when I run it later. I can get this to work if I make all folders at once, but that doesn't fit our pipeline as we drop files throughout the day. Is there a way to do this in Automator, or does it require an Applescript to recognize the existing numbered folders? Thanks!

    So after a lot of tweaking, I think I have it working. Two problems I encountered with Camelot's script were getting errors while creating the very first folder, and when the folder numbers get into the double digits it was only looking at the last digit (11 would be followed by 2, for example). This is what it looks like now- it's probably pretty inelegant, but it works:
    New Folder: Today's date
    Set Variable: Today's date folder
    New Folder: named 0 in Today's date folder
    Set Variable: Folder 0
    Get variable: Today's date folder
    Get folder contents
    Sort Finder items by name, ascending
    Run Camelot's Applescript, modified
    on run {input, parameters}
              tell application "Finder"
                        set n to name of last item of input
                        return n + 1
              end tell
    end run
    Set variable: New sequential number
    New folder: named new sequential number, today's date folder
    Set variable: New sequential number folder
    Get selected Finder items
    Copy Finder items to New sequential number folder
    Get Variable: New Sequential Number
    Run Applescript:
    on run {input, parameters}
              display dialog "Posted to #" & {input}
              return input
    end run
    (this shows a window showing what number it's been posted to)
    Get Variable: Folder 0
    Run Applescript:
    on run {input, parameters}
              tell application "Finder"
                        delete {input}
              end tell
              return input
    end run
    (I had to do a script to delete the folder from a network)

  • Can I use Automator to create a multi-page PDF from a selection of images?

    Well can I? I have looked at Preview extensively but found no option to create a multi-page document from all open images. I can create single-page PDF's easily, but that's not what I want.
    Does it make a difference if they are TIFF, JPEG, etc?

    Take a look at
    PDFLab
    It will create a multi – page .pdf from a folder of .jpgs. I am ** guessing ** it will work with .tiffs.
    No Alibi.
     Back up what you can't afford to lose.   Mac OS X (10.4.10)  

  • Uses for creating a Video Album

    Does anyone have any advice on using iMovie to create a video album? I know that you can do this and iMovie has great effects for stills such as Ken Burns effect, etc, but just wondering if this is the best way to go about doing this. Would Keynote work better, give more options, more creative options, etc than iMovie?
    I don't plan to add any video. I will only be adding photos from my Aperture library.
    Thanks for any feedback and input.

    If you don't need control over your slideshow and don't need titles, effects, etc. iPhoto works. iMovie gives you a lot more flexibility and the editing is very fast.
    Use Keynote if your information is primarily graphical or textual and you are spicing it up with photos.
    If you came to a point in the presentation where you needed to show the movie, you would embed the movie on one of the KeyNote pages.

  • Using Automator to Save a Version?

    I was trying to use Automator on 10.7.4 to get this task done.
    So I have buch of encrypted pdf files.
    I have the passwords to open the file to read or print it.
    I want to decrypt all of them for access conveniency but I don't have the permission password to change the pdf security property.
    I figured a way around it.
    I found that I could double-click these pdf files with Preview.
    The Preview then asks for password.
    I copy & paste the password and the pdf is opened.
    Then after I press " Save a Version" , there is a window asking me to "Duplicate",.
    After I press "Duplicate", Preview will save a copy of that pdf file without encryption.
    It is easy enough to do that on several pdf files. However, I have hundreds of these pdf files.
    I was trying to use Automator to create a workflow but the main issue is that I did not see Save a Version action under PDFs in Automator.
    I also tried recording it but it was not successful.
    Any suggestion or trick to setup Automator for my task? Thanks.

    This is not possible in automator. Maybe applescritpt.
    Anybody else out there that would know?

  • X-Serve as a Video Server

    I have a new hi-end Intel X-Serve. I hope to be bale to use it as a VR video server for some XP-based applications. It seems that this is going to require a good video card that can offer an S-Video output (preferrably an ATI product I think is best).
    Does anyone have any idea of what my options are and how I would go about this?
    I beleive that I would need a PCI-X Card and that it might need a riser (not sure how to get one). I know that ATI has a Mac-Edition card (intended for G-5s) [ATI Radeon™ X1900 G5 Mac Edition] that might work but I'm not sure of the specific requirments or possibilities.
    Any advice would be very much appreciated.

    Tod
    Had a similar discussion with Apple support and while "buying the right tool for the job" would be the ideal choice if you start with nothing. The situation is that I have 3 X-serves that have been fully depreciated under my business so rather than sell them for less than 20% of what they cost new, find a new use for them. Actually, one downfall of the x-serve is that the mainstream IT community wants Dell Dell Dell and has no use for an x-serve so in a resale market, they have less value even though they are 100% reliable machines (ran them for 2 years without a crash).
    I actually was using an old mac mini as a media server and as I considered buying a new one,, I said, "I have 3 x-serves with 1.8 TB of RAID 5 and 16 GB of RAM with 8 cores of processing,,, why not use one of these"
    When I was speaking with Apple Tech Support, they said an X-Serve should use no more power than a comparable Mac Pro...
    From a graphics perspective, I can put a new graphics card in one of the PCI slots for video work,,, the sound is another story unless I buy one of the professional sound cards.

  • Using Automator to cut up a video

    Hello,
    I've been trying to use automator to do some repetitive tasks for me, but I seem to keep running into brick walls since I've not really used it before.
    What I'm trying to do is cut a video file into single frames, and save each one as a jpeg. I know it's possible to do this is Photoshop by importing the video, and making each frame a different layer, then exporting each layer as a file. Problem is this is limited to do only the first 400 frames of your video.
    So far I've made it so automator goes in to photoshop, move to the next frame, save that frame as a jpeg.
    Here's where I run into trouble. I want it to rename each file as it's created automatically so it goes file00001, file00002 and so on and then loop back around so it does the whole video while I go off and made myself a sandwich or something.
    Could anyone possibly help me?

    There are two ways to do this in iMovie 09
    1) Use Chapter Markers
    2) In the Project Library View, select the project and then click FILE/DUPLICATE PROJECT. Do this as for as many copies as you need. Then to create a shorter portion, delete the clips you do not need for that portion.
    If you are open to using another application, you can Share your movie in iMovie. Then use QuickTime Pro ($30) or MPEG Streamclip (free) to split the movie.

  • How can I create a video with effects using my ipad?

    How can I create a video with effects (sepia, B&W, Negative, oval or any other shape borders) using my ipad?  I would Like to keep a higher res and also be able to shrink it down to email or send in a MMS. Or should I just upload it to my PC and mess with it there? Some of the apps I have are very easy to use compared to the learning curve needed for video editing software.
    Thanks

    Thats the Problem . . . how many apps do I have to try until I find the one I want? I noticed a few will render the video thus losing its original size. When I went to edit it more in iMovie the video was smaller--not good. And what software do you suggest, Templeton, for the PC? I love the apps because they are easy. I dont have hours to mess around on a software to figure out if its something I want. Im looking for simplicity. Maybe Ill get more into it later. I just want to record simple video of my playing the guitar for self analysis and create a short video for family and friends.
    Apps:
    iMovie
    CinemaFXV
    VideoFix
    Cartoonatic
    Video illusion
    VidEditor
    Software:
    Windows Movie maker (wont accept .mov files)
    After Effects (Too little time, so much to learn)
    Wondershare (Very easy but little choices)
    VideoPad (Again. Few choices)

  • Error while using WLST to create a new managed server

    Hi All,
    I am trying to create a managed server using following code a
    "create_server.py"
    ------------+++++-----------
    from java.util import *
    from javax.management import *
    import javax.management.Attribute
    print 'starting the script .... '
    connect('weblogic1','barbie@135','http://smart:7001')
    edit()
    startEdit()
    print 'CREATE MANAGED SERVER: Test_Server'
    Test_Server1 = cmo.createServer('TestServer1')
    Test_Server1.setListenPort(7002)
    Test_Server1.setAutoRestart(true)
    Test_Server1.setAutoKillIfFailed(true)
    Test_Server1.setRestartMax(2)
    Test_Server1.setRestartDelaySeconds(10)
    Test_Server1.getServerStart().setJavaHome(jvmlocation)
    Test_Server1.getServerStart().setJavaVendor('Oracle')
    Test_Server1.getServerStart().setArguments('-Xms128m -Xmx256m -Xns64m -Xgcprio:pausetime')
    print 'ADD MANAGED SERVERS TO CLUSTER'
    Test_Server1.setCluster(dizzyCluster)
    print 'ADD MANAGED SERVERS TO MACHINE'
    Test_Server1.setMachine(Machine_1)
    save()
    activate(block="true")
    disconnect()
    print 'End of script ...'
    exit()
    -----------------------+++++++++++--------------
    and i am running it through WLST. but i am getting some error as
    CLASSPATH=C:\oracle\MIDDLE~1\patch_wls1035\profiles\default\sys_manifest_classpa
    th\weblogic_patch.jar;C:\oracle\MIDDLE~1\patch_oepe1050\profiles\default\sys_man
    ifest_classpath\weblogic_patch.jar;C:\oracle\MIDDLE~1\patch_ocp360\profiles\defa
    ult\sys_manifest_classpath\weblogic_patch.jar;C:\oracle\MIDDLE~1\JROCKI~1.2-4\li
    b\tools.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\oracle\M
    IDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\oracle\MIDDLE~1\modules\features\w
    eblogic.server.modules_10.3.5.0.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\web
    services.jar;C:\oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;C:\oracle\MID
    DLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;
    PATH=C:\oracle\MIDDLE~1\patch_wls1035\profiles\default\native;C:\oracle\MIDDLE~1
    \patch_oepe1050\profiles\default\native;C:\oracle\MIDDLE~1\patch_ocp360\profiles
    \default\native;C:\oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;C:\oracle\MID
    DLE~1\WLSERV~1.3\server\bin;C:\oracle\MIDDLE~1\modules\ORGAPA~1.1\bin;C:\oracle\
    MIDDLE~1\JROCKI~1.2-4\jre\bin;C:\oracle\MIDDLE~1\JROCKI~1.2-4\bin;C:\oracle\prod
    uct\10.1.0\db_1\bin;C:\oracle\product\10.1.0\db_1\Apache\Perl\5.00503\bin\mswin3
    2-x86;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WI
    NDOWS\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program Files\
    Java\jdk1.6.0_05\bin;C:\oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
    Your environment has been set.
    CLASSPATH=C:\oracle\MIDDLE~1\patch_wls1035\profiles\default\sys_manifest_classpa
    th\weblogic_patch.jar;C:\oracle\MIDDLE~1\patch_oepe1050\profiles\default\sys_man
    ifest_classpath\weblogic_patch.jar;C:\oracle\MIDDLE~1\patch_ocp360\profiles\defa
    ult\sys_manifest_classpath\weblogic_patch.jar;C:\oracle\MIDDLE~1\JROCKI~1.2-4\li
    b\tools.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\oracle\M
    IDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\oracle\MIDDLE~1\modules\features\w
    eblogic.server.modules_10.3.5.0.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\web
    services.jar;C:\oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;C:\oracle\MID
    DLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;;C:\oracle\MIDDLE~1\utils\config\
    10.3\config-launch.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbynet.j
    ar;C:\oracle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbyclient.jar;C:\oracle\MIDD
    LE~1\WLSERV~1.3\common\derby\lib\derbytools.jar;;
    Initializing WebLogic Scripting Tool (WLST) ...
    Welcome to WebLogic Server Administration Scripting Shell
    Type help() for help on available commands
    wls:/offline> execfile(c:/create_server.py)
    Traceback (innermost last):
    (no code object) at line 0
    File "<console>", line 1
    execfile(c:/create_server.py)
    ^
    SyntaxError: invalid syntax
    wls:/offline> execfile('c:/create_server.py')
    starting the script ....
    Connecting to http://192.168.1.2:7001 with userid weblogic1 ...
    Traceback (innermost last):
    File "<console>", line 1, in ?
    File "c:/create_server.py", line 5, in ?
    File "<iostream>", line 22, in connect
    File "<iostream>", line 646, in raiseWLSTException
    WLSTException: Error occured while performing connect : Error getting the initia
    l context. There is no server running at http://192.168.1.2:7001
    Use dumpStack() to view the full stacktrace
    wls:/offline> execfile('c:/create_server.py')
    starting the script ....
    Connecting to http://192.168.1.2:7001 with userid weblogic1 ...
    Traceback (innermost last):
    File "<console>", line 1, in ?
    File "c:/create_server.py", line 5, in ?
    File "<iostream>", line 22, in connect
    File "<iostream>", line 646, in raiseWLSTException
    WLSTException: Error occured while performing connect : Error getting the initia
    l context. There is no server running at http://192.168.1.2:7001
    Use dumpStack() to view the full stacktrace
    wls:/offline> execfile('c:/create_server.py')
    starting the script ....
    Connecting to http://smart:7001 with userid weblogic1 ...
    Traceback (innermost last):
    File "<console>", line 1, in ?
    File "c:/create_server.py", line 5, in ?
    File "<iostream>", line 22, in connect
    File "<iostream>", line 646, in raiseWLSTException
    WLSTException: Error occured while performing connect : Error getting the initia
    l context. There is no server running at http://smart:7001
    Use dumpStack() to view the full stacktrace
    wls:/offline> dumpStack()
    This Exception occurred at Fri Sep 16 19:51:07 IST 2011.
    javax.naming.CommunicationException [Root exception is java.net.ConnectException
    : http://smart:7001: Destination unreachable; nested exception is:
            java.net.ProtocolException: Tunneling result unspecified - is the HTTP s
    erver at host: 'smart' and port: '7001' a WebLogic Server?; No available router
    to destination]
    at weblogic.jndi.internal.ExceptionTranslator.toNamingException(Exceptio
    nTranslator.java:40)
    at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLIni
    tialContextFactoryDelegate.java:788)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLIni
    tialContextFactoryDelegate.java:366)
    at weblogic.jndi.Environment.getContext(Environment.java:315)
    at weblogic.jndi.Environment.getContext(Environment.java:285)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialCont
    extFactory.java:117)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
    67)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288
    at javax.naming.InitialContext.init(InitialContext.java:223)
    at javax.naming.InitialContext.<init>(InitialContext.java:197)
    at weblogic.management.scripting.WLSTHelper.populateInitialContext(WLSTH
    elper.java:520)
    at weblogic.management.scripting.WLSTHelper.initDeprecatedConnection(WLS
    THelper.java:573)
    at weblogic.management.scripting.WLSTHelper.initConnections(WLSTHelper.j
    ava:313)
    at weblogic.management.scripting.WLSTHelper.connect(WLSTHelper.java:203)
    at weblogic.management.scripting.WLScriptContext.connect(WLScriptContext
    .java:61)
    at weblogic.management.scripting.utils.WLSTUtil.initializeOnlineWLST(WLS
    TUtil.java:147)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.python.core.PyReflectedFunction.__call__(Unknown Source)
    at org.python.core.PyMethod.__call__(Unknown Source)
    at org.python.core.PyObject.__call__(Unknown Source)
    at org.python.core.PyObject.invoke(Unknown Source)
    at org.python.pycode._pyx36.connect$1(<iostream>:16)
    at org.python.pycode._pyx36.call_function(<iostream>)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyFunction.__call__(Unknown Source)
    at org.python.pycode._pyx42.f$0(c:/create_server.py:5)
    at org.python.pycode._pyx42.call_function(c:/create_server.py)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyCode.call(Unknown Source)
    at org.python.core.Py.runCode(Unknown Source)
    at org.python.core.__builtin__.execfile_flags(Unknown Source)
    at org.python.core.__builtin__.execfile(Unknown Source)
    at org.python.core.__builtin__.execfile(Unknown Source)
    at org.python.core.BuiltinFunctions.__call__(Unknown Source)
    at org.python.pycode._pyx41.f$0(<console>:1)
    at org.python.pycode._pyx41.call_function(<console>)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyCode.call(Unknown Source)
    at org.python.core.Py.runCode(Unknown Source)
    at org.python.core.Py.exec(Unknown Source)
    at org.python.util.PythonInterpreter.exec(Unknown Source)
    at org.python.util.InteractiveInterpreter.runcode(Unknown Source)
    at org.python.util.InteractiveInterpreter.runsource(Unknown Source)
    at org.python.util.InteractiveInterpreter.runsource(Unknown Source)
    at weblogic.management.scripting.WLST.main(WLST.java:173)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at weblogic.WLST.main(WLST.java:29)
    Caused by: java.net.ConnectException: http://smart:7001: Destination unreachable
    ; nested exception is:
    java.net.ProtocolException: Tunneling result unspecified - is the HTTP s
    erver at host: 'smart' 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(WLInitialContextF
    actoryDelegate.java:345)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    146)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLIni
    tialContextFactoryDelegate.java:340)
    ... 52 more
    Caused by: java.rmi.ConnectException: Destination unreachable; nested exception
    is:
    java.net.ProtocolException: Tunneling result unspecified - is the HTTP s
    erver at host: 'smart' and port: '7001' a WebLogic Server?; No available router
    to destination
    at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:470)
    at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:321)
    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.findOrCreateInternal(RJVMFinder.java:200)
    at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)
    at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
    at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextF
    actoryDelegate.java:345)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    146)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLIni
    tialContextFactoryDelegate.java:340)
    at weblogic.jndi.Environment.getContext(Environment.java:315)
    at weblogic.jndi.Environment.getContext(Environment.java:285)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialCont
    extFactory.java:117)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
    67)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288
    at javax.naming.InitialContext.init(InitialContext.java:223)
    at javax.naming.InitialContext.<init>(InitialContext.java:198)
    at weblogic.management.scripting.WLSTHelper.populateInitialContext(WLSTH
    elper.java:520)
    at weblogic.management.scripting.WLSTHelper.initDeprecatedConnection(WLS
    THelper.java:573)
    at weblogic.management.scripting.WLSTHelper.initConnections(WLSTHelper.j
    ava:315)
    at weblogic.management.scripting.WLSTHelper.connect(WLSTHelper.java:203)
    at weblogic.management.scripting.WLScriptContext.connect(WLScriptContext
    .java:62)
    at weblogic.management.scripting.utils.WLSTUtil.initializeOnlineWLST(WLS
    TUtil.java:148)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.python.core.PyReflectedFunction.__call__(Unknown Source)
    at org.python.core.PyMethod.__call__(Unknown Source)
    at org.python.core.PyObject.__call__(Unknown Source)
    at org.python.core.PyObject.invoke(Unknown Source)
    at org.python.pycode._pyx36.connect$1(<iostream>:16)
    at org.python.pycode._pyx36.call_function(<iostream>)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyFunction.__call__(Unknown Source)
    at org.python.pycode._pyx42.f$0(c:/create_server.py:7)
    ... 24 more
    javax.naming.CommunicationException [Root exception is java.net.ConnectException
    : http://smart:7001: Destination unreachable; nested exception is:
            java.net.ProtocolException: Tunneling result unspecified - is the HTTP s
    erver at host: 'smart' and port: '7001' a WebLogic Server?; No available router
    to destination]
    please help me for this..
    Edited by: Sharad Jain on Sep 17, 2011 8:46 AM

    Hi Sharad,
    Put ('') in your command,
    wls:/offline> execfile('c:/create_server.py')
    Regards
    Edited by: scapy on Oct 6, 2011 4:15 PM

Maybe you are looking for

  • How to fix my volume slider so i can see it on the screen

    I have a dv6-1355dx and i had to restore it to the factory settings and ever since then when i try my volume slider it works still i just dont see it on the screen anymore any one that knows what this could be would help me out alot

  • Acer Aspire one will not boot up

    When I boot up my Acer Aspire one  I get a message that says: Windows failed to start.  A recent hardware or software change might be the cause.  To fix the problem: 1. Insert your Windows installation disc and restart your computer. 2. Choose your l

  • Will the iPhone 5 sync right up my 4s backup?

    I'm well, getting the iPhone 5 and I was wondering if with the new IOS 6 and the new iPhone 5 if it would sync right up and all my data would be all in it?

  • Converting and editing PDF docs

    When I convert from a PDF, I cannot edit the document. How can this be done?

  • Array Element.Disabled

    I have an existing VI where the original programmer has a 2D array of booleans. He sets the Array Disabled property to Disabled and Grayed Out. He is also setting the Array Element.Disabled property to Disabled and Grayed Out. I am not understanding