Java side batch commands? I.e.: open FILE

Is there a way to add commands for a batch file into a java code?
Like...
If i was going to make a code to open a text file, in a ms-dos/batch file i would put
open FILENAMESo is there a way i can make it use the batch to open a file, but without clicking the batch to do it.
For example;
Im going to have my own game, people will have the open in the batch file of the game client, so they can just edit so it dosn't do it, but the client will be obfuscated and closed source, so they wont be able to edit that'
Thanks for any help.

Ok, this is a simple batch file;
@echo off
echo this is a simple batch file
*open file.txt*
*del file2.txt*
pauseI want to execute those bits in **'s* in a java file, so someone can't just right click the batch file and edit them out.
I hope you understand me now.

Similar Messages

  • Java.util.zip.ZipException: Too many open files on Linux

    Hi,
    We have web application running on Caucho's resin server on jdk 1.5.0_11 and Red hat Linux. We are noticing that java process is running out of file handles within 24-30 hours. We have file limit of 5000 which it consumes in 24 hours throwing 'java.util.zip.ZipException: Too many open files'.
    I have made sure all sorts of file handles are closed from application point of view. Here is the snapshot of lsof (list of file handles) from java process. The following list keeps growing until it runs out of limit. Do you have tips/suggestions on how to mitigate this problem (considering we dont want to increase ulimit for this process)? Also, can you make out any thing more from the description of file handles like, are they unclosed POP3 connections or URL connection to external sites?
    java 7156 resin 120u IPv4 34930051 UDP localhost.localdomain:59693
    java 7156 resin 121u IPv4 34927823 UDP localhost.localdomain:59663
    java 7156 resin 122u IPv4 34931861 UDP localhost.localdomain:59739
    java 7156 resin 123u IPv4 34932023 UDP localhost.localdomain:59745
    java 7156 resin 124u IPv4 34930054 UDP localhost.localdomain:59700
    java 7156 resin 125u IPv4 34927826 UDP localhost.localdomain:59665
    java 7156 resin 126u IPv4 34927829 UDP localhost.localdomain:59666
    java 7156 resin 127u IPv4 34930057 UDP localhost.localdomain:59703
    java 7156 resin 128u IPv4 34930713 UDP localhost.localdomain:59727
    java 7156 resin 129u IPv4 34930716 UDP localhost.localdomain:59730
    java 7156 resin 130u IPv4 34932238 UDP localhost.localdomain:59789
    java 7156 resin 131u IPv4 34932026 UDP localhost.localdomain:59749
    java 7156 resin 132u IPv4 34932221 UDP localhost.localdomain:59770
    java 7156 resin 133u IPv4 34932224 UDP localhost.localdomain:59775
    java 7156 resin 134u IPv4 34932029 UDP localhost.localdomain:59753
    java 7156 resin 135u IPv4 34932032 UDP localhost.localdomain:59754
    java 7156 resin 138u IPv4 34932035 UDP localhost.localdomain:59760
    java 7156 resin 139u IPv4 34932038 UDP localhost.localdomain:59763
    java 7156 resin 140u IPv4 34932227 UDP localhost.localdomain:59780
    java 7156 resin 141u IPv4 34932230 UDP localhost.localdomain:59781
    java 7156 resin 144u IPv4 34932234 UDP localhost.localdomain:59786
    java 7156 resin 146u IPv4 34932241 UDP localhost.localdomain:59792
    java 7156 resin 147u IPv4 34932247 UDP localhost.localdomain:59802

    Finally we resolved this issue. It was oracle driver which had some compatibility issue, we upgraded our Oracle client driver to newer version, and this fixed the problem. Base line, there was nothing wrong with application code, code was doing good resource clean up, but oracle driver was leaking handles per every connection.

  • RUN SERVER SIDE OS COMMAND OR ANY EXECUTABLE FILE FROM CLIENT

    Would you provide a complete example regarding execution Server side OS command or program from ORACLE SQL CLIENT OR FORM. This client may be a remote client.

    instead of just copying jvm.dll, I would recommend installing Java through the installer as there are most likely other files that jvm.dll is dependent on, etc.
    It's been a while since I have worked with HAL integrations (Vignette), but I believe you will need HFM client installed on the end user machine.
    If you have a lot of machines, this could be a bit annoying. Because of that when we used HAL, we made a custom web front-end that ran on a server with the HAL programs. It was more work to build the web U/I; however, from a management perspective, it was a lot easier to control/maintain.
    $.02

  • HELP FOR RUN PHOTOSHOP IN COMMAND PROMPT AND OPEN FILE

    HELLO
    i have problem for run photoshop in cmd(command prompt) and
    open a file immediate
    for example:
    D:\Program Files\Adobe\Photoshop CS>Photoshop.exe -open -f:\1.jpg
    but these not answer
    I need parameter open in photoshop
    please help me
    thanks

    I would right click on 1.jpg. Select Open with... Select Choose default program... Pick Photoshop and make sure you check "always use the selected program to open this kind of file."
    D:\1.jpg
    Would then open photoshop.

  • How can I get command+down to open files again?

    For as long as I can recall command+down arrow would open files in the finder. It seems this is no longer the case in 10.6.
    I've tried adding an application shortcut to Finder in the Keyboard System Preference pane but it doesn't seem to have any effect.
    Anyone know how to get it back?

    Following your suggestion I moved all com.apple.*.plist files to a temp folder on my desktop.
    Log out. Log in.
    Keyboard shortcuts were fine.
    From there I moved the plist files back in groups of 12, overwriting any existing files. Log out. Log in. Repeat.
    com.apple.symbolichotkeys.plist was the culprit.

  • Batch command to zip all files datewise

    Hi,
    Below are the trace files present on Solaris server.
    -rw-r----- 1 oracle dba 1307 Mar 9 18:15 esapdb_j000_4563.trc
    -rw-r----- 1 oracle dba 1307 Mar 9 18:45 esapdb_j000_7486.trc
    -rw-r----- 1 oracle dba 1309 Mar 9 19:15 esapdb_j000_10627.trc
    -rw-r----- 1 oracle dba 1309 Mar 9 19:45 esapdb_j000_14140.trc
    -rw-r----- 1 oracle dba 1309 Mar 9 20:15 esapdb_j000_17142.trc
    -rw-r----- 1 oracle dba 1309 Mar 9 20:45 esapdb_j000_20099.trc
    -rw-r----- 1 oracle dba 1309 Mar 9 21:15 esapdb_j000_23050.trc
    -rw-r----- 1 oracle dba 1309 Mar 9 21:45 esapdb_j000_25984.trc
    -rw-r----- 1 oracle dba 1309 Mar 9 22:15 esapdb_j000_28618.trc
    -rw-r----- 1 oracle dba 1307 Mar 9 23:15 esapdb_j000_3885.trc
    -rw-r----- 1 oracle dba 1307 Mar 9 23:45 esapdb_j000_6555.trc
    -rw-r----- 1 oracle dba 1309 Mar 10 00:45 esapdb_j000_11868.trc
    -rw-r----- 1 oracle dba 1309 Mar 10 01:15 esapdb_j000_14565.trc
    Could you pls tell the uniz command to zip all the trace files of March at once.
    Appreciate your help.

    Hi,
    Below are the trace files present on Solaris server.
    -rw-r----- 1 oracle dba 1307 Mar 9 18:15 esapdb_j000_4563.trc
    -rw-r----- 1 oracle dba 1307 Mar 9 18:45 esapdb_j000_7486.trc
    -rw-r----- 1 oracle dba 1309 Mar 9 19:15 esapdb_j000_10627.trc
    -rw-r----- 1 oracle dba 1309 Mar 9 19:45 esapdb_j000_14140.trc
    -rw-r----- 1 oracle dba 1309 Mar 9 20:15 esapdb_j000_17142.trc
    -rw-r----- 1 oracle dba 1309 Mar 9 20:45 esapdb_j000_20099.trc
    -rw-r----- 1 oracle dba 1309 Mar 9 21:15 esapdb_j000_23050.trc
    -rw-r----- 1 oracle dba 1309 Mar 9 21:45 esapdb_j000_25984.trc
    -rw-r----- 1 oracle dba 1309 Mar 9 22:15 esapdb_j000_28618.trc
    -rw-r----- 1 oracle dba 1307 Mar 9 23:15 esapdb_j000_3885.trc
    -rw-r----- 1 oracle dba 1307 Mar 9 23:45 esapdb_j000_6555.trc
    -rw-r----- 1 oracle dba 1309 Mar 10 00:45 esapdb_j000_11868.trc
    -rw-r----- 1 oracle dba 1309 Mar 10 01:15 esapdb_j000_14565.trc
    Could you pls tell the uniz command to zip all the trace files of March at once.
    Appreciate your help.this is a oracle forum, not a unix forum. Please close the thread and open a new thread in the correct forum.
    Also you have the solution of your problem at google.

  • "Run Command" executing upon opening file with explicit doctype

    I have noticed that when I open a file that has the !doctype
    explicitly set that it does a "Run Command." Why is this and how do
    I get it to stop? Is it something in my code that's triggering it,
    or is it because the !doctype is set?

    What line breaks? How is it changing them? Or are you talking
    about how
    you have formatted the code?
    Sorry - I can't help you with that if you are. But are you
    DMX6.0 or 6.1?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "anubia" <[email protected]> wrote in
    message
    news:[email protected]...
    > When I open up a file in Dreamweaver MX that has the
    !doctype explicitly
    > set to
    > transitional or strict, the "Run Command" executes and
    changes all of my
    > line
    > breaks and I get the asterisk. I ran it through the W3C
    validator and it
    > validates, so why is this happening? Here is a sample
    page (I've
    > reintroduced
    > spacing):
    >
    > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
    Strict//EN"
    > "
    http://www.w3.org/TR/html4/strict.dtd">
    > <html>
    > <head>
    > <title>San Francisco Black Firefighters:
    Calendar</title>
    > <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1">
    > <link href="sheets/sfbfa.css" rel="stylesheet"
    type="text/css">
    > </head>
    >
    > <body id="sfbfa">
    > <div id="container">
    > <div id="header"><a
    href="index.html"><img id="logoicon"
    > src="images/logo_065.gif" alt="San Francisco Black
    Firefighter's
    > Association
    > Logo" />
    > <img id="logotext" src="images/sfbfa_short.gif"
    alt="San Francisco Black
    > Firefighter's Association" /></a>
    > <!--end of header--></div>
    >
    > <div id="navbar">
    >
    >
    <a href="message.html">President's
    Message</a></li>
    >
    <a href="about.html">About</a></li>
    >
    <a href="board.html">Board</a></li>
    >
    <a href="yacademy.html">Youth
    Academy</a></li>
    >
    <a href="news.html">Newsletters</a></li>
    >
    <a href="calendar.html">Calendar</a></li>
    >
    <a href="membership.html">Membership</a></li>
    >
    <a href="memorium.html">In Memorium</a></li>
    >
    <a href="links.html">Links</a></li>
    >
    <a href="contact.html">Contact Us</a></li>
    >
    > <!--end of navbar--></div>
    >
    > <div id="maincontent" class="calendar">
    > <!--Do not change anything above this comment. You
    may enter your edits
    > below
    > this comment-->
    >
    > <h1>Calendar</h1>
    > <h2>Event Name<br />
    > event date/time</h2>
    > <p>At vero eos et accusamus et iusto odio
    dignissimos ducimus qui
    > blanditiis
    > praesentium voluptatum deleniti atque corrupti quos
    dolores et quas
    > molestias
    > excepturi sint occaecati cupiditate non provident,
    similique sunt in culpa
    > qui
    > officia deserunt mollitia animi, id est laborum et
    dolorum fuga.</p>
    >
    > <h2>Event Name<br />
    > event date/time</h2>
    > <p>rerum facilis est et expedita distinctio. Nam
    libero tempore, cum
    > soluta
    > nobis
    > est eligendi optio cumque nihil impedit quo minus id
    quod maxime placeat
    > facere
    > possimus, omnis voluptas assumenda est, omnis dolor
    repellendus. </p>
    > <!--do not change anything below this comment-->
    > <!--end of maincontent--></div>
    >
    > <div id="footer">
    > <p class="copyright">&#169; 2005 San Francisco
    Black Fire Firefighters
    > Association.
    > All rights reserved</p>
    > <!--end of footer--></div>
    > <!--end of container--></div>
    > </body>
    > </html>
    >

  • Java apps hang when trying to open file dialog

    I have several Java applications installed on my Windows Vista machine
    All work perfectly except when accessing any file dialogs.
    If a file dialog is required, the application just hangs
    The only way to resolve this is to open task manager and kill the javaw.exe process
    Does anyone know what is wrong.
    I am using Java 6 update 17 and have tried re-installing the environment.

    ATyas wrote:
    I don't think the problem lies with the vendor apps.
    All Java applications from whatever source exibit this problem. These are independently developed applications from independent vendors.
    I don't have a Java application on my machine that does not exhibit this issue.
    I thought that the problem must be permisions, but am not sure where to look.One or more of the following could be the source of the problem.
    - The apps
    - Your computer
    - The VM
    The first can in fact be the problem because you are not running all possible apps on your computer. Far as you know all the apps that you run use the same library.
    No one here has access to your computer so no one will be able to fix it. No one here has access to those apps so we can fix those either.
    If and only if the vendor of the apps determined that there is a bug in the VM then they could localize it and report it. Without localization and assurance that it is the VM no one can fix it.
    Keep in mind as well that Vista has been out for years. So it seems likely that a general problem with the VM like that would have been discovered by now. Doesn't mean it doesn't exist, but again the vendor of the apps is more likely to discover it.
    For yourself trying running the apps in super user mode (whatever it is called.) If it is a permissions problem then that demonstrates it. Note that if it is permission problem then it most assuredly is one that the vendors must deal with. Just as any other app on Vista must do.

  • Fireworks batch command changes original colors

    Is anyone having this problem? When I run a batch command on CMYK jpgs, it changes the files to RGB mode and in some cases the colors are drastically changed. I am aware that the 2 modes  will display colors "slightly" different, and I don't mind the final product being RGB, but the way Fireworks handles it is too extreme. When I change modes in other bitmap programs, like Corel PhotoPaint or Adobe PhotoShop, the overall conversion is very much acceptable and the color change is so minute that it's hardly noticeable.
    And before you jump down my back about using "non Adobe" software, keep in mind that all software has it's strong and weak points and I've been using the program  that gets the job done right since they  were introduced back in the late '80s.
    Fireworks is one of my favorite programs, and the batch command saves time, but the color glitch is unacceptable. Does anyone know of a fix for this or a possible workaround (without creating more steps than the batch command saves)?

    Open the Actions Panel and click the Panel property icon, you should see a few extra Action sets that don't load automatically by default - namely, the Production set. Select that one and in this set are a few items to check out/scutinize/learn from to help create the action you need.
    On another note, here's a link to an olden golden that makes use of Conditional statements that may fit your needs
    http://actionlogic.blogspot.com/
    Though I have not tried this with newer builds.
    h

  • How to close BDB open File Descriptors ?

    Hi,
    In our current BDB environment,at runtime we switch Berkeley DB directories so that application reads data from new directory.
    We ran into File Descriptors issue when we switch to newer version of data as system was exceeding allowed number of File Descriptors. And had to restart the machine.
    1) I wanted to confirm that would Closing BDB Environment using env.close() , fix this issue ? Meaning does closing of environment, closes BDB file descriptors ?
    2) Also is there any way to test this functionality of closing of BDB File Descriptors ? We tried with "lsof" command which lists open file descriptors but could not see anything related jdb files or similar ? So how do we make sure that, File Descriptors are indeed getting closed or not ?
    Please let me know if there is any other way to get around File Descriptor problem.
    Thanks,

    1) I wanted to confirm that would Closing BDB Environment using env.close() , fix this issue ? Meaning does closing of environment, closes BDB file descriptors ?Yes, Environment.close will close all file descriptors.
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Java.util.zip.ZipException error in opening zip file

    Hello all,
    We are using Sun Java System web server 6.1 SP2. When I tried to deploy an application, I received this message: "Posted content length of --- exceeds limit of --- " the -dashes are the size of the file actually.
    I then added an init-param to the web.xml specifying the maximum size.
    After doing that, I tried to deploy the war file using administration interface, but received a network tcp/ip error. I then deployed it using command line wdeploy command. It worked but the web server won't start up after the deployment. The following error messages are found in the log file. Any thoughts as to whats wrong here? Is there a bug in SP2?
    [22/Sep/2006:17:30:44] finer ( 5668): ContextConfig[search]: URI='/search', ResourcePath='/WEB-INF/sun-web-search.tld' [22/Sep/2006:17:30:44] finer ( 5668): ContextConfig[search]:
    tldConfigJar(/WEB-INF/sun-web-search.tld): java.util.zip.ZipException: error in opening zip file
    [22/Sep/2006:17:30:44] finer ( 5668): ContextConfig[search]: URI='/jstl-fmt', ResourcePath='/WEB-INF/fmt.tld' [22/Sep/2006:17:30:44] finer ( 5668): ContextConfig[search]: tldConfigJar(/WEB-INF/fmt.tld): java.util.zip.ZipException: error in opening zip file
    [22/Sep/2006:17:30:48] failure ( 5668): CORE4007: Internal error: Unexpected Java exception thrown (java.lang.NoClassDefFoundError: org/xml/sax/ext/Attributes2, org/xml/sax/ext/Attributes2), stack: java.lang.NoClassDefFoundError: org/xml/sax/ext/Attributes2 at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:537) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1717) at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:983) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1431) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1301) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) at org.apache.xerces.parsers.AbstractSAXParser.<init>(Unknown Source) at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source) at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.<init>(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl.<init>(Unknown Source) at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown Source) at org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:274) at org.apache.catalina.startup.ContextConfig.defaultConfig(ContextConfig.java:882) at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1004) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:257) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3752) at com.iplanet.ias.web.WebModule.start(WebModule.java:257) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133) at org.apache.catalina.core.StandardHost.start(StandardHost.java:652) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355) at org.apache.catalina.startup.Embedded.start(Embedded.java:995) at com.iplanet.ias.web.WebContainer.start(WebContainer.java:431) at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:500) at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161) [22/Sep/2006:17:30:48] failure ( 5668): CORE3186: Failed to set configuration

    ooks like you are running into bug: 4719677
    When you deploy a web application using the Administration Server from a
    remote machine, the maximum upload size by default is 10 MB. This can be
    changed by editing the
    install-root/bin/https/webapps/instance-app/WEB-INF/web.xml file. In the
    servlet webappdeploy, insert an init param named maxUploadSize with a
    value in bytes specifying the maximum upload size. Example:
    <init-param>
    <param-name>maxUploadSize</param-name>
    <param-value>90000000</param-value>
    </init-param>

  • JRE Command Line Install - Error Opening File Java3BillDevices.jpg

    We are installing JRE using a command line script. We keep getting the following error. Is this a bug with the Installer package? Anyone know how to fix it?
    Error opening file C:\Users\USERID\AppData\LocalLow\Sun\Java\jre1.6.0_38\Java3BillDevices.jpg
    Error: 2
    JRE seems to install and work correctly, but the error is perplexing. We are of course installing with Administrative privileges. There are a bunch of posts on the interwebs about this, but nobody really seems to know how to fix it.
    OS: WIN7 64bit
    JRE: 1.6.0_38
    Install Command:
    C:\scripts\Java_JRE_1.6.0_38_32bit_W764\jre-6u38-windows-i586.exe /s INSTALLDIR=\C:\scripts\Java_JRE1.6.0_38_32bit_W764\" IEXPLORER=1 MOZILLA=1 STATIC=1 JAVAUPDATE=0 JU=0 UPDATECHECK=0 AUTOUPDATECHECK=0 /L C:\scripts\LOGS\Java_JRE1.6.0_38_32bit_W764_Install.txt

    On 30.12.2013 10:06, contentdevelopment wrote:
    >
    > Hi Laura,
    >
    > Thanks for your reply, I used to try this installer setupsp.exe, but it
    > prompted the following error:
    >
    > ---------------------------
    > Novell Client Support Pack Install
    > ---------------------------
    > Error: Unable to locate required Support Pack installation files.
    >
    > Attempted control INF: C:\491psp5_IR2\NLS\ENGLISH\SETUP2K.INF
    > Attempted install INF: C:\491psp5_IR2\NLS\ENGLISH\SETUP2K.INF
    > ---------------------------
    > OK
    > ---------------------------
    >
    > And there is no install.ini file in the 491psp5_IR2.zip.
    Please try the full client install:
    https://download.novell.com/Download...d=XBMCanfiNDY~
    CU,
    Massimo Rosen
    Novell Knowledge Partner
    No emails please!
    http://www.cfc-it.de

  • Batch command to find java version

    Hi
    I need to get the version of java runtime env on a machine using command prompt (more specifically in a batch file). java -version at command prompt gives me the version and other stuff. But has anyone written a batch file that extracts values like 1.3.1 or 1.4.0 by executing a batch command??
    Any suggestions woul dbe helpful
    Thanks
    VP

    Here's my thoughtsjava -version 2>tmp.txt         //pipe version to file
    find "java version" tmp.txt|find "java version">tmp2.txt  //just get info
    del tmp.txt
    for /f %i in (tmp2.txt) do @set version=%i  // set a variable
    del tmp2.txt
    set version=%version:~10,5%                 // you get offsets
    @echo %version%You will need to debug this.
    P.S. IS this Java Programming?

  • Webb Exception - java.util.zip.ZipException: error in opening zip file

              I am tring to run my Servlet with myWAR.war. So I started first installing the CookieCounter example that came with weblogic, I did exactly as the document said but I getting the following exception:
              Thu Jan 04 11:26:45 MST 2001:<E> <HTTP> Error reading Web application '/weblogic/myserver/cookieWar.war'
              java.util.zip.ZipException: error in opening zip file
              at java.util.zip.ZipFile.open(Native Method)
              at java.util.zip.ZipFile.<init>(ZipFile.java:69)
              at weblogic.utils.jar.JarFile.<init>(JarFile.java:57)
              at weblogic.utils.jar.JarFile.<init>(JarFile.java:44)
              at weblogic.t3.srvr.HttpServer.loadWARContext(HttpServer.java:582)
              at weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.java, Compiled Code)
              at weblogic.t3.srvr.HttpServer.start(HttpServer.java:388)
              at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
              at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
              at java.lang.reflect.Method.invoke(Native Method)
              at weblogic.Server.startServerDynamically(Server.java:99)
              at weblogic.Server.main(Server.java:65)
              at weblogic.Server.main(Server.java:55)
              at weblogic.NTServiceHelper.run(NTServiceHelper.java:19)
              at java.lang.Thread.run(Thread.java:479)
              Has anybody encountered the problem before I created the jar using jar cvf cookieWar.war cookie- under the command line
              

    I have seen problems like this in the past. When you create your war file, try using "jar
              cv0f" so that the jar file won't be compressed...
              mark bouchard wrote:
              > I am having this same error... the strange thing is i have two different ear files...
              > one of them works, the other doesn't. there are NO differences between them according
              > to Araxis Merge... both will deploy, and both show servlets as being registered,
              > but i can only call the servlets from one...
              >
              > what is BEA's suggested way of creating an ear file? on NT and on UNIX please....
              >
              > use the java.util.zip methods? or use a utility like jar or winzip? Personally,
              > i've found this deployment to be HIGHLY flakey at best.... my same ear files
              > deploy perfectly with iPlanet's app server.
              >
              > Mark Spotswood <[email protected]> wrote:
              > >I think this is basically the same as a file not found error.
              > >The error message says it can't open the file. Its looking
              > >for the file under: /weblogic/myserver/cookieWar.war
              > >Make sure the file is in that directory/readable, etc.
              > >--
              > >mark
              > >
              > >Paul Garduno wrote:
              > >
              > >> Just to let you know, I am getting the same error message. I haven't
              > >worked on it but hope to at some point. I would like to know if the
              > >Weblogic people have seen this error.
              > >>
              > >> Paul Garduno
              > >>
              > >> bionic99 wrote:
              > >>
              > >> > I am tring to run my Servlet with myWAR.war. So I started first installing
              > >the CookieCounter example that came with weblogic, I did exactly as
              > >the document said but I getting the following exception:
              > >> > Thu Jan 04 11:26:45 MST 2001:<E> <HTTP> Error reading Web application
              > >'/weblogic/myserver/cookieWar.war'
              > >> > java.util.zip.ZipException: error in opening zip file
              > >> > at java.util.zip.ZipFile.open(Native Method)
              > >> > at java.util.zip.ZipFile.<init>(ZipFile.java:69)
              > >> > at weblogic.utils.jar.JarFile.<init>(JarFile.java:57)
              > >> > at weblogic.utils.jar.JarFile.<init>(JarFile.java:44)
              > >> > at weblogic.t3.srvr.HttpServer.loadWARContext(HttpServer.java:582)
              > >> > at weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.java,
              > >Compiled Code)
              > >> > at weblogic.t3.srvr.HttpServer.start(HttpServer.java:388)
              > >> > at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
              > >> > at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
              > >> > at java.lang.reflect.Method.invoke(Native Method)
              > >> > at weblogic.Server.startServerDynamically(Server.java:99)
              > >> > at weblogic.Server.main(Server.java:65)
              > >> > at weblogic.Server.main(Server.java:55)
              > >> > at weblogic.NTServiceHelper.run(NTServiceHelper.java:19)
              > >> > at java.lang.Thread.run(Thread.java:479)
              > >> >
              > >> > Has anybody encountered the problem before I created the jar using
              > >jar cvf cookieWar.war cookie- under the command line
              > >
              

  • Batch command not closing files automatically

    Hi,
    Photoshop CS6
    Windows 7
    How do you make Photoshop automatically save and close a batch of raw files during batch runs?
    I'm just now trying the File>Automate>Batch command. I want to run an action on a bunch of .NEF raw files.
    How do you get rid of all the dialogs and just make the thing do the action? i.e., just OpenTheRawFile>RunTheAction>SaveAndClose>DoTheNextFile
    First it opened them all up one by one in Camera Raw and the ACR window stayed open until I clicked Open Image. So I checked Suppress File Open Options Dialog in the Batch command. That fixed that problem. But Batch left all the files open in Photoshop, didn't close any of them.
    So I went back into my action and added a file close. While recording the action I clicked Yes to save changes before closing the file.
    However, the batch now pops up that same dialog box after each file asking me if I want to save the file before exiting. This defeats the whole purpose of the Batch command.

    Do not use Batch, use one of the available Image Processor scripts instead.  If your RAW files have been converted before and have associated ACR setting, The RAW files will be converted  using these settings by ACR and ACR will bypass displaying its dialog. If the RAW files have no associated ACR settings the Image Processor scripts have an option that you can use to have the Image Processor open the first RAW file via ACR  where ACR will open its dialog. The settings you set will be used to convert all the RAW files processed in the current run of the Image Processor.
    Image Processor Pro is available on the web for downloading and is more flexible and powerful then the Image Processor that is shipped with Photoshop. You can set it up to save as many Image File for each file processed. The size and File Type you need.
    You can have the Image Processor Pro include in its process an action you create for file that are saved. It can be the same action or different action for each of the file save you set up.

Maybe you are looking for

  • Mass 'Payment block' of vendor invoices in FI

    Hello Does anybody know whether it is possible to block several invoices from a vendor for payment in one step instead of entering a 'Payment block' in every single invoice document? I know it is possible to block a vendor for payments, but it is the

  • Lot size creation in PP

    Hi gurus, I have 2 scenarios, 1. PIR of a product X is 56 & lot size is 10. After running MRP, SAP should create 6 plan orders of qty 10. 2. PIR of a product X is 54 & lot size is 10. After running MRP, SAP should create 5 plan orders of qty 10. Mean

  • Shared members' properties not flowing automatically

    Hi, We are developing hierarchies in Drm11.1.2.2 Wherein we have primary members and also shared members in our hierarchy to be built on ...for the properties part let's say for ex I have description-lob as a local property that inherits a global pro

  • HD Movies BUYING ON IPAD (EXPERIENCED USERS ONLY) (US iTunes)

    Hello, I'm considering to buy an iPad. However, I see that many SD-ONLY movies on iTunes, has these words "Also Available in HD on iPad and Apple TV". For example, the Harry Potter Series, PLEASE TAKE A LOOK AT IT in case you misunderstand my descrip

  • New imac with 2 partitions, want to install windows 7

    Hello all This week I bought a new Imac.It came with Lion on it and I needed Snow Leopard so the Apple store created a second partition and installed Snow Leopard for me.Now I want to install Windows7 and in my research I read that bootcamp can only