Windows ColdFusion|Jrun weirdness.

We are running ColdFusion 9 on a Windows 2003 web server a in multi-home configuration.
We have four ColdFusion services configured on our system: cfusion, general, pur, and playground.  Looking at the Windows Services panel only the cfusion and playground ColdFusion services are started.  When we tried to start the other two, they fail to start with the following message in the Windows Event logs: "The ColdFusion 9 AS General service terminated with service-specific error 2".
So I started to search for more information about this.  During my research, I thought why not try the ColdFusion Enterprise Manager Instance Manger page in the ColdFusion Administrator.  This is where things become a bit wierd.  All the instances are running according to the Instance manager.  And further testing seems to confirm that this is true.  All the administrator pages work, applications running against each instance are working.  They seem to all be running.
Using the Microsoft|Sys Internals Process Explorer tool, we can see that there are only two jrunsvc processes running, the one for the cfusion instance and the one for the playground instance.  But there are four jrun.exe processes running.  How is this possible?
Looking at the properties of the processes with the Explore tool, we see that the jrun.exe processes that match the jrunsvc have this string:
jrun.exe -config jvm-cfusion.config -nohup -ntservice "ColdFusion 9 Default CFusion-StartEvent" -startByNTService "cfusion"
The two jrun.exe process that do not match a jrunsvc have this string: E:\JRun4\bin\jrun.exe -nohup -start -childVM pur
Can anybody provide some insight what all of this means?

Thank, I'll keep that bit of info in mind.  These do use custom configuration files, but they had not been modified since the server last started correctly.
Doing some more research it sounds like "Error 2" is rather a catch all error for non-starting ColdFusion services.  Our particular problem turned out to be a Network Interface Card (NIC) condfiguration problem.  The server had recently had it's wiring re-configured and they pluged the network cable into a different NIC port, instead of the original one that had a "static" ip configured.  The new NIC was configured to use a DHCP reserved IP of the same value as the static NIC.  This apparently really confused the windows server when it started up and took some amount of time for the poor machine to figure itself out.
Apparently too long for the two ColdFusion services that where configured to log on as a domain user and thus the user could not be authorized by the network controller and the services failed to start.  But by the time a human was notfied of all these problems, the machne had straightend itself out and was sucessfully connected to the network.  The services could be started manually by then with no problem.
Once we traked all that down and straightend out the NIC cards, the server started up just like it is supposed to. and all the CF Services start with no problems.

Similar Messages

  • Window.bounds gives weird results

    I run without Application Frame and without Application Bar. I see no point to the former and the latter is just a shocking waste of space. For years, I've been using a handful of scripts to manage my window positions. One of them is now misbehaving. The script is so old that it didn't use functions and all its variables were global -- it probably dates all the way back to when I was beta-testing the original ExtendScript in CS.
    So I decided to rewrite it in case I'd done something weird that rewriting would expose. Well, I found the weirdness but it wasn't me. With one document window open, I typed this into the JavaScript Console (I'm running with a monitor that is 1920 x 1200):
    app.windows[0].bounds = [22,32,1140,863]
    and the console duly responded with:
    Result: 22,32,1140,863
    and visually, I can see that the window is indeed at that location.
    But now when I type:
    app.windows[0].bounds
    into the JS Console, it responds with:
    Result: 60,32,1178,863
    The x values are right but the y values are off by 38.
    Is this a Mac-only issue? I'm running with Mountain Lion on a Retina MacBook Pro. Oh: of course it's Mac only: you can't switch off the Application Frame on Windows, can you?
    Dave

    It turned out that moving to 0,0 created problems with the x-coordinate, but since those were the only x-coordinate problems I ever saw, I decided to focus only on the y-coordinate. In this version of the script, I move the window to y = 0 to measure the current value of the y error.
    //DESCRIPTION: Resets active layoutWindow size or uses front layoutWindow to set page default size.
              Rewrite of a venerable old favorite
              1. If no layoutWindow open offer to delete settings file
              2. If no settings and layoutWindow offer to make layoutWindow bounds new settings
              3. If settings and layoutWindow move layoutWindow to settings location unless there's a layoutWindow already there
                  in which case, move layoutWindow next to that other layoutWindow or move only layoutWindow right by its width
    (function() {
              var settingsFile = getSettingsFile();
              if (app.layoutWindows.length == 0) {
                        // no front layoutWindow; offer user chance to delete settings
                        if (confirm("No layoutWindow is open; would you like to delete the settings file?")) {
                                  // user said yes; only bother to delete it if it exists
                                  if (settingsFile.exists) {
                                            settingsFile.remove();
                        return; // no layoutWindow, so nothing more to do
              // there's at least one layoutWindow
              var yDelta = getDelta(app.layoutWindows[0]);
              if (settingsFile.exists) {
                        applySettings(settingsFile, yDelta);
              } else {
                        if (confirm("Settings file is missing. Use current front layoutWindow to set default?")) {
                                  // user said do it
                                  var bounds = app.layoutWindows[0].bounds;
                                  var bounds = [
                                            bounds[0] - yDelta,
                                            bounds[1],
                                            bounds[2] - yDelta,
                                            bounds[3]
                                  new File(settingsFile);
                                  settingsFile.open("w");
                                  settingsFile.write(bounds);
                                  settingsFile.close();
              function getDelta(layoutWindow) {
                        // get current layoutWindow position and dimensions
                        var reportedBounds = layoutWindow.bounds;
                        var wHeight = reportedBounds[2] - reportedBounds[0];
                        // move to 0, 0
                        layoutWindow.bounds = [0, reportedBounds[1], wHeight, reportedBounds[3]];
                        $.sleep(10);
                        var newBounds = layoutWindow.bounds;
                        // calculate errors
                        var yDelta = newBounds[0];
                        // restore layoutWindow to original position
                        layoutWindow.bounds = [
                                  reportedBounds[0] - yDelta,
                                  reportedBounds[1],
                                  reportedBounds[2] - yDelta,
                                  reportedBounds[3]
                        $.sleep(10);
                        return yDelta
              function applySettings(settingsFile, yDelta) {
                        // values written out to the settings file must take delta into account
                        settingsFile.open("r");
                        var savedBounds = settingsFile.read();
                        settingsFile.close();
                        var myBounds = savedBounds.split(",");
                        for (var j = myBounds.length - 1; j >= 0; j--) {
                                  myBounds[j] = Number(myBounds[j]);
                        // Check to see if an existing layoutWindow is already at these bounds;
                        var layoutWindowsBounds = app.layoutWindows.everyItem().bounds;
                        // all these values are off by delta
                        for (var j = layoutWindowsBounds.length - 1; j >= 0; j--) {
                                  if (layoutWindowsBounds[j][0] - yDelta == myBounds[0]
                                                      && layoutWindowsBounds[j][1]  == myBounds[1]
                                                      && layoutWindowsBounds[j][2] - yDelta == myBounds[2]
                                                      && layoutWindowsBounds[j][3] == myBounds[3]) {
                                            // layoutWindow right there, so:
                                            var myWidth = myBounds[3] - myBounds[1];
                                            myBounds[1] += myWidth;
                                            myBounds[3] += myWidth;
                                            break; // only do it once!
                        app.layoutWindows[0].bounds = myBounds;
              function getSettingsFile() {
                        var scriptFile = getScriptFile();
                        return File(scriptFile.parent + "/PageDefault" + parseInt(app.version) + ".txt");
              function getScriptFile() {
                        // This function returns the file of the active script, even when running ESTK
                        try {
                                  return app.activeScript;
                        } catch(e) {
                                  return File(e.fileName);

  • What's causing this window title bar weirdness?

    Lately on my mid-2010 17" MBP (10.6.4) some of my window's title bars are exhibiting a graphical glitch that goes away if I move the window or move the focus, etc.
    It happens in various apps (Finder, Firefox, etc)
    Any ideas?
    Screenshot here:
    http://dl.dropbox.com/u/2213114/Weirdness.png

    HI,
    If you have any third party plugins installed, that could be the problem when using Firefox. Launch Firefox. From the Firefox Menu Bar click Firefox / Preferences then select the General tab.
    Click: Manage Add-ons
    As for you Finder, go to ~/Library/Preferences and move the com.apple.finder.plist file to the Trash.
    Restart your Mac.
    Carolyn

  • Problems with Windows 2003, JRun and Java 1.4.2_07

    Hi!
    I have installed JRun 4 with J2SE 1.4.2_07 on a Windows 2003 Server and all goes well until someone install a system patch, Office. After that JRun doesn�t star. The logs says:
    Starting Macromedia JRun 4 (Build 84683), admin server
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x77F46A07
    Function=RtlFreeHeap+0x322
    Library=C:\WINDOWS\system32\ntdll.dll
    Current Java thread:
         at java.util.zip.ZipFile.getEntry(Native Method)
         at java.util.zip.ZipFile.getEntry(ZipFile.java:146)
         - locked <0x10a83218> (a java.util.jar.JarFile)
         at java.util.jar.JarFile.getEntry(JarFile.java:194)
         at java.util.jar.JarFile.getJarEntry(JarFile.java:181)
         at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:671)
         at sun.misc.URLClassPath.getResource(URLClassPath.java:160)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:191)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
         - locked <0x10a63608> (a sun.misc.Launcher$AppClassLoader)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
         - locked <0x10a63608> (a sun.misc.Launcher$AppClassLoader)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
         - locked <0x10a63608> (a sun.misc.Launcher$AppClassLoader)
         at java.lang.Class.getDeclaredConstructors0(Native Method)
         at java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
         at java.lang.Class.getConstructor0(Class.java:1930)
         at java.lang.Class.getConstructor(Class.java:1027)
         at com.sun.management.jmx.MetaData.findConstructor(MetaData.java:256)
         at com.sun.management.jmx.MBeanServerImpl.internal_instantiate(MBeanServerImpl.java:2111)
         at com.sun.management.jmx.MBeanServerImpl.instantiate(MBeanServerImpl.java:152)
         at jrunx.kernel.ConfigurableServicePartition.loadAndInit(ConfigurableServicePartition.java:127)
         at jrunx.kernel.ConfigurableServicePartition.loadChildren(ConfigurableServicePartition.java:89)
         at jrunx.kernel.ConfigurableServicePartition.setChildElements(ConfigurableServicePartition.java:60)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at jrunx.kernel.ServiceAdapter.invokeMethod(ServiceAdapter.java:705)
         at jrunx.kernel.JRunServiceDeployer.loadMBeans(JRunServiceDeployer.java:179)
         at jrunx.kernel.JRunServiceDeployer.deployServices(JRunServiceDeployer.java:85)
         at jrunx.kernel.DeploymentService.loadServices(DeploymentService.java:46)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at jrunx.kernel.JRun.startServer(JRun.java:575)
         at jrunx.kernel.JRun.<init>(JRun.java:493)
         at jrunx.kernel.JRun$1.run(JRun.java:346)
         at java.security.AccessController.doPrivileged(Native Method)
         at jrunx.kernel.JRun.start(JRun.java:343)
         at jrunx.kernel.JRun.startByNTService(JRun.java:427)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at jrunx.kernel.JRun.invoke(JRun.java:180)
         at jrunx.kernel.JRun.main(JRun.java:168)
    Dynamic libraries:
    0x00400000 - 0x00410000      C:\JRun4\bin\jrun.exe
    0x77F40000 - 0x77FFA000      C:\WINDOWS\system32\ntdll.dll
    0x77E40000 - 0x77F34000      C:\WINDOWS\system32\kernel32.dll
    0x77DA0000 - 0x77E30000      C:\WINDOWS\system32\ADVAPI32.dll
    0x77C50000 - 0x77CF5000      C:\WINDOWS\system32\RPCRT4.dll
    0x77BA0000 - 0x77BF4000      C:\WINDOWS\system32\MSVCRT.dll
    0x08000000 - 0x08138000      C:\Java\j2sdk1.4.2_07\jre\bin\client\jvm.dll
    0x77D00000 - 0x77D8F000      C:\WINDOWS\system32\USER32.dll
    0x77C00000 - 0x77C44000      C:\WINDOWS\system32\GDI32.dll
    0x76AA0000 - 0x76ACC000      C:\WINDOWS\system32\WINMM.dll
    0x10000000 - 0x10007000      C:\Java\j2sdk1.4.2_07\jre\bin\hpi.dll
    0x76F50000 - 0x76F63000      C:\WINDOWS\system32\Secur32.dll
    0x003F0000 - 0x003FE000      C:\Java\j2sdk1.4.2_07\jre\bin\verify.dll
    0x005F0000 - 0x00609000      C:\Java\j2sdk1.4.2_07\jre\bin\java.dll
    0x00610000 - 0x0061D000      C:\Java\j2sdk1.4.2_07\jre\bin\zip.dll
    0x006E0000 - 0x006EF000      C:\Java\j2sdk1.4.2_07\jre\bin\net.dll
    0x71C00000 - 0x71C18000      C:\WINDOWS\system32\WS2_32.dll
    0x71BF0000 - 0x71BF8000      C:\WINDOWS\system32\WS2HELP.dll
    0x71B20000 - 0x71B63000      C:\WINDOWS\System32\mswsock.dll
    0x76ED0000 - 0x76EF7000      C:\WINDOWS\system32\DNSAPI.dll
    0x76F70000 - 0x76F77000      C:\WINDOWS\System32\winrnr.dll
    0x76F10000 - 0x76F3F000      C:\WINDOWS\system32\WLDAP32.dll
    0x76F80000 - 0x76F85000      C:\WINDOWS\system32\rasadhlp.dll
    0x03230000 - 0x0323C000      C:\JRun4\bin\portscan.dll
    0x71AE0000 - 0x71AE8000      C:\WINDOWS\System32\wshtcpip.dll
    0x76C10000 - 0x76C38000      C:\WINDOWS\system32\imagehlp.dll
    0x6D580000 - 0x6D621000      C:\WINDOWS\system32\dbghelp.dll
    0x77B90000 - 0x77B98000      C:\WINDOWS\system32\VERSION.dll
    0x76B70000 - 0x76B7B000      C:\WINDOWS\system32\PSAPI.DLL
    Heap at VM Abort:
    Heap
    def new generation total 2304K, used 1312K [0x10010000, 0x10280000, 0x109e0000)
    eden space 2112K, 56% used [0x10010000, 0x1013a8d0, 0x10220000)
    from space 192K, 61% used [0x10250000, 0x1026d958, 0x10280000)
    to space 192K, 0% used [0x10220000, 0x10220000, 0x10250000)
    tenured generation total 30272K, used 1139K [0x109e0000, 0x12770000, 0x18010000)
    the space 30272K, 3% used [0x109e0000, 0x10afce80, 0x10afd000, 0x12770000)
    compacting perm gen total 4864K, used 4680K [0x18010000, 0x184d0000, 0x1c010000)
    the space 4864K, 96% used [0x18010000, 0x184a2348, 0x184a2400, 0x184d0000)
    Local Time = Wed Feb 09 10:43:31 2005
    Elapsed Time = 3
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_07-b05 mixed mode)
    # An error report file has been saved as hs_err_pid1712.log.
    # Please refer to the file for further information.
    Can someone help me. Thanx and sorry about my english.
    Manu

    It crashed 3 seconds after it is running. Should be reading some jar file.
    Could be a something corrupted a zip file or something. Can you still do a java -version? You may want to try reinstalling 1.4.2_07

  • Finder window, alpha sort weird - Can it be changed

    Apple has this very nice, but completely incompatible sorting order for files in finder windows ( by name )
    For example: "_" (underscore) is tops on the Mac, and way down under Windows & Unix.
    Is there a way to set the sorting order that the Finder uses?
    Thanks

    Hi, William and Barry —
    Another Finder peccadillo raises its head. Fyi...
    Although it was about "Date Modified" sorting, Mark Douma®'s post in this recent thread may be related. I participated (somewhat foolishly) in the thread, so yours brought it to mind...
    I'm sure this isn't what you had in mind, but you could conceivably use a utility like File Buddy to rename large batches of Dreamweaver files, if that would help to meet your objective.
    —Dean

  • Shell-Cgi on windows (Coldfusion and PERL)

    I'm running SJSWS 7.o on Win Server 2003. I have configured it to work with CFMX 7 as well as shell-cgi. I require both for new development and supporting legacy PERL programs.
    My problem is this. If I limit the shell-cgi to a single directory all works fine, but if I set the shell-cgi to the entire document root, the coldfusion files will not work. It should be possible to serve both file types from the same directories. Is there something I'm missing in the configuration or will I have to limit the the shell-cgi to a single directory.
    Again, any help would be appreciated

    That was what I originally tried to do to no avail.
    By creating a shellcgi directory and modifying the <vi-s-id>conf.conf file (i.e adding - NameTrans fn="pfx2dir" from="/cgi-bin", dir="<dirpath>" name="shellcgi", which the system did not add) the perl and cgi files worked within that directory, but CF files would not and if I modified the directory to the entire document root, PERL and CGI would work, but again CF would not.
    I removed the directory and made sure the cgi as file type was selected. CF worked but no cgi or perl.
    I checked the mime types and there was an entry for cgi and shellcgi, but both were referencing the same file types (cgi, exe, pl). I deleted the magnus-internal/cgi mime type and everything works as it should.
    Thanks for the help...
    null

  • Coldfusion Jrun apache connector recvTimeout and retry.

    Hi,
           I have set a recvTimeout for the JRUN apache connector using the
      JRunConfig RecvTimeout 300
            I want this setting so long running pages will time out and return after 300 s with a timeout error and return the error back to the client.
    However, I see that the timeout is not working and long running cfm pages continue to cycle without returning. Upon enabling the verbose option I see the following error logged for the long running page after the timeout occurs, but the page does not return anything and continues to wait on the client side.
    What does this error mean: jrRecv [11] timeout but server reachable so recv again
    Is the jrun apache connector retrying or waiting some more for the page response ? I dont want it to retry / wait beyond the recvTimeout that I have set. What can I do in the config or elsewhere so that the recvTimeout returns as a timeout to apache and cleint without recv again attempt that it appears to be doing?
    Thanks in advance for any help on this.
    [Thu Dec 15 15:29:48 2011] [notice] jrApache[3068: 20480]     ap_escape_uri(TimeoutTest.cfm) = TimeoutTest.cfm
    [Thu Dec 15 15:29:48 2011] [notice] jrApache[3068: 20480]  jrun_trans: sub-request so DECLINED
    [Thu Dec 15 15:29:48 2011] [notice] jrApache[3068: 20480]     getRealPath(TimeoutTest.cfm) = TimeoutTest.cfm
    [Thu Dec 15 15:29:48 2011] [notice] jrApache[3068: 20480]  sent/avail/result 79/79/79
    [Thu Dec 15 15:29:53 2011] [notice] jrApache[3068: 20480]  read/len/total 4/4/4
    [Thu Dec 15 15:29:53 2011] [notice] jrApache[3068: 20480]  PROXY_GET_HEADER <- [11]
    [Thu Dec 15 15:29:53 2011] [notice] jrApache[3068: 20480]  read/len/total 4/4/4
    [Thu Dec 15 15:29:53 2011] [notice] jrApache[3068: 20480]  read/len/total 21/21/21
    [Thu Dec 15 15:29:53 2011] [notice] jrApache[3068: 20480]     HTTP_X_REQUESTED_WITH: <null>
    [Thu Dec 15 15:29:53 2011] [notice] jrApache[3068: 20480]  sent/avail/result 4/4/4
    [Thu Dec 15 15:34:53 2011] [notice] jrApache[3068: 20480]  67.206.10.197:51050 jrConnect [9]
    [Thu Dec 15 15:34:53 2011] [notice] jrApache[3068: 20480]  sent/avail/result 4/4/4
    [Thu Dec 15 15:34:53 2011] [notice] jrApache[3068: 20480]  67.206.10.197:51050 is reachable
    [Thu Dec 15 15:34:53 2011] [notice] jrApache[3068: 20480]  sent/avail/result 4/4/4
    [Thu Dec 15 15:34:53 2011] [notice] jrApache[3068: 20480]  67.206.10.197:51050 is reachable
    [Thu Dec 15 15:34:53 2011] [notice] jrApache[3068: 20480]  67.206.10.197:51050 returned socket [9] to pool
    [Thu Dec 15 15:34:53 2011] [notice] jrApache[3068: 20480]  jrRecv [11] timeout but server reachable so recv again
    [Thu Dec 15 15:36:33 2011] [notice] jrApache[3068: 20480]  read/len/total 4/4/4
    [Thu Dec 15 15:36:33 2011] [notice] jrApache[3068: 20480]  PROXY_GET_REALPATH <- [11]
    [Thu Dec 15 15:36:33 2011] [notice] jrApache[3068: 20480]  read/len/total 4/4/4

    sunilr1 wrote:
    Hi,
           I have set a recvTimeout for the JRUN apache connector using the
    JRunConfig RecvTimeout 300
            I want this setting so long running pages will time out and return after 300 s with a timeout error and return the error back to the client.
    That is not the setting to time out long-running pages and then return a message. Why would you want to control request timeouts from JRun anyway? I don't think it's a good idea.
    RecvTimeout determines how long to wait before timing out a socket receive call on a JRun server. The receive call is generally a synchronous call on a socket on a JRun server. It will throw an exception if the time out period is exceeded. In other words,  a long-running page does not necessarily imply a long wait on a socket receive call.

  • Coldfusion Jrun accessing server Clipboard

    Ok.  I have a java class that outputs the system clipboard.  so if you copy text on your server with a ctrl c, it saves it to the clipboard.  when I run the class via command line it is getting this text, however, when coldfusion calls this same class it sees the clipboard as being null. any idea what I can do to debug this?
    I know his is vague, so if you have any questions shoot away.
    my java class is as follows:
    import java.awt.AWTException;
    import java.awt.Robot;
    import java.awt.Rectangle;
    import java.awt.Toolkit;
    import java.awt.image.BufferedImage;
    import java.io.*;
    import javax.imageio.ImageIO;
    import java.awt.datatransfer.Clipboard;
    import java.awt.event.KeyEvent;
    import java.awt.datatransfer.*;
    import java.io.IOException;
    import java.awt.Image;
    import javax.imageio.*;
    public class ScreenCapture2 {
    public static void main(String[] args)  {
    runit();
    public static void runit()  {
    Transferable t = Toolkit.getDefaultToolkit().getSystemClipboard().getContents(null);
    System.out.println(getClipboardData());
    public static String getClipboardData() {
            String clipboardText;
            Transferable trans = Toolkit.getDefaultToolkit().getSystemClipboard()
                    .getContents(null);
            try {
                if (trans != null
                        && trans.isDataFlavorSupported(DataFlavor.stringFlavor)) {
                    clipboardText = (String) trans
                            .getTransferData(DataFlavor.stringFlavor);
                    return clipboardText;
            } catch (Exception e) {
                e.printStackTrace();
            return null;
    coldfusion meanwhile calls a batch file that executes this class.

    What happens when you send the output to file, like this
    <cfexecute name="java" arguments="-classpath c:\javaProjects\test\ScreenCapture2" outputFile="C:\javaProjects\test\clipboard.txt" />

  • Browser window displays elements weird

    in my list view, the browser only displays elements (bins, clips, seq, etc.) as if it were in a "double line spacing" format. Meaning I've got HUGE gaps between elements in my list and I have to constantly scroll down to see everything.
    Example:
    Bin 1
    Bin 2
    Bin 3
    it should look like
    Bin1
    Bin2
    Bin3
    My other FCP on another machine does not do this weird spacing. If it's a setting, then I can't find it. Any pointers would be great. Thanks.
    Message was edited by: Shawna

    I suspect, somehow, someway, you've got the Thumbnail column visible. Maybe way over at the end (to the right)?
    If that is the case, once you've tracked the column down, Control-clicking (right-clicking) on that column header and selecting *Hide Column* from the shortcut menu should get rid of your gaps...

  • X-Fi Gamer Vista/Windows 7 64x weird stuttering problem...

    Xfi Xtreme Gamer Sound card (latest drivers)
    Vista 64x & Windows 7 64x
    Intel E6700 CPU
    4GB RAM
    2 x ATI HD 4850 (crossfired)
    Right this is my problem...
    When running a website with flash in Firefox (haven't checked other browsers) in either operating system and listening to music (or watching flash) my computer either locks up for a period of time or the locks up and whatever sound comes out stutters. When this has happened the sound switches from 7. to stereo and if it stutters again it will switch to stereo back to the correct 7..
    Any fixes would be great, thank you.

    The is a long shot so bear with me. This almost sounds like a buffering problem where you have the option for selecting how fast you want an applet to stream video to you. For example, if you choose Quicktime to stream to you at T speeds and you are on dialup, it will take forever and skip like crazy. have you recently changed browsers, connections speeds, or installed a codec pack? These suggestions seem random but I feel they are applicable and may help.
    Cheers,
    jmacguire

  • Lightroom 3 windows folder dialogue weirdness

    my folder dialogues have stopped displaying my computer - the only option is desktop>my user account.  It means I cant export for instance into a specific folder.  its absolutely baffling

    Does this help? http://forums.adobe.com/message/2746280#2746280

  • Weird characters appear in title bar when windows are maximised

    I am using awesome WM and when windows are maximised weird characters appear.  It appears normal when unmaximised.
    Maximised window:
    Unmaximised window:

    Well I finally figured out (accidentally )  that these indicate the state of window i.e floating, maximised horizontally, maximised vertically.

  • Jrun 3.0, windows 2003, IIS6

    I am trying to install Jrun version 3.0 service pack 2a,
    version 3.024.11614 on a windows 2003 server running IIS6.... It
    all appears to install fine but when trying to access the default
    web page, I receive error: YOU ARE NOT AUTHORIZED TO VIEW THIS
    PAGE.

    Not a supported configuration.
    See
    http://www.adobe.com/support/documentation/en/jrun/4/releasenotes_4_updater4.html
    "Windows support - JRun supports Windows 2003 and IIS 6 since
    Updater 3"

  • How do I change the location of the coldfusion-out.log and coldfusion-error.log files in CF10

    When I change the log location in ColdFusion Administrator it changes the location of most but not all the log files.  I have a requirement from my customer to place all log files on a separate partition on the server.  For ColdFusion 9 I was able to modify the registry settings to change StandardOut and StandardErr for the ColdFusion Jrun service.  This does not appear to the case for ColdFusion 10 which now uses Tomcat 7.
    I tried modifying log4j.properties file and was able to relocate the hibernatesql.log, axis2.log, and esapiconfig.log but not the coldfusion-out.log.
    I am running ColdFusion 10 Enterprise Edition on a 64-bit Windows 2008 Server.

    The location of the rest of the ColdFusion logs can be changed in the ColdFusion Administrator.  Go to the Debugging and Logging section, Logging Settings.  There is a form at the top of the page where you can change the log storage location.
    -Carl V.

  • ColdFusion 11 REST warnings in log file?

    I'm building a RESTful API with ColdFusion 11.  Today I noticed there are a ton of warnings being logged to the coldfusion-error log file.  For example:
    Mar 04, 2015 8:09:52 AM com.sun.jersey.spi.inject.Errors processErrorMessages
    WARNING: The following warnings have been detected with resource and/or provider classes:
    WARNING: A HTTP GET method, public void api.Country.GetCountry() throws coldfusion.xml.rpc.CFCInvocationException, MUST return a non-void type.
    WARNING: A HTTP GET method, public void api.Log.GetLog(java.lang.Double) throws coldfusion.xml.rpc.CFCInvocationException, MUST return a non-void type.
    WARNING: A HTTP GET method, public void api.Logout.LogoutUser(java.lang.Double) throws coldfusion.xml.rpc.CFCInvocationException, MUST return a non-void type.
    Here is one of my API endpoint functions:
    <cfcomponent restpath="country" rest="true" output="false" extends="cfc.data">
         <cffunction name="getCountry" access="remote" output="false" httpmethod="get" returntype="void">
              <cfset LOCAL.countryData = getCountryData()>
              <cfset LOCAL.restResponse = StructNew()>
              <cfset restResponse = REQUEST.apiObj.response(200, countryData)>
              <cfset restSetResponse(restResponse)>
         </cffunction>
    </cfcomponent>
    My understanding is that returntype=void is a MUST in order to use restSetResponse().  This code works great, but the warnings in the log file don't make sense to me. 
    Am I doing something wrong? 
    Or is this some sort of "gap" where logging isn't factoring in REST services/functionality? 
    Is it possible to disable warning messages from getting logged? 
    Thank you!
    Brian White

    Is it possible that the application log on your production
    server is not
    configured to overwrite events as needed? Are other
    non-ColdFusion
    application events being logged?
    Carl
    aUniqueScreenName wrote:
    > I'm using Coldfusion version 7,0,2,142559 on a windows
    2003 server with IIS6
    > (my prod box). A little over a month ago CF stopped
    putting entries into the
    > application.log file. Even when errors do occur that
    should be logged
    > application.log has nothing. I've gone through every
    windows/cf/jrun log I
    > could find and found nothing to indicate any problems at
    the time of the last
    > entry. Also no CF or windows updates were done around
    that time.
    >
    > I have a development box setup exactly the same and it
    does not exhibit the
    > same problem. I can cause errors on the dev box and they
    get logged in
    > application.log. Yet when I do the same thing on my prod
    box nothing gets
    > logged. I've compared all the settings between the prod
    and dev boxes and
    > everything is the same.
    >
    > The prod server is functioning completely normal except
    for the failure to put
    > anything in application.log. I'm beyond pulling my hair
    out on this one. Has
    > anyone ecountered the same issue? My Google searches
    have so far come up emtpy.
    >
    >

Maybe you are looking for

  • X11 environment variables on MacBook Pro

    Hi I have just got my new MacBook Pro and have installed Gimp to run using x11 that came on the apple installation disks however I can't seem to get the xterm to configure correctly. GIMP is installed under /sw/bin but the default PATH for x11 does n

  • New AMD x2 3800

    Planning to upgrade my CPU. Would like help in proceeding -- OP sys is Win XpPro. 1. Which BIOS should I flash? Understand that 1.9 BIOS has given problems. Have scanned Syar's    7025 listings, but would appreciate help in deciding the one to use. 2

  • Error occurred in deployment step 'Uninstall app for SharePoint': Only users who can View Pages can list Apps

    While deploying the SharePoint Hosted App I am facing the issue  'Uninstall app for SharePoint': Only users who can View Pages can list Apps" - Provided the permissions for App Management and Subscription Services as well as DB. - Added into Host web

  • PowerBook G4 display problems

    A friend f mine wants me to fix her powerbook screen for her, problem is, I don't know if it is the screen itself, or the graphics card (maybe even the inverter, but most likely not). The symptom is the bottom third of the screen is solid whit, or so

  • Import data from text file to a table using t-sql

    Hi, I am trying to import data from a text file to a table using the below query but it is returning an error. SELECT *, 2 FROM OPENROWSET(BULK 'W:\file.txt', FORMATFILE = 'W:\format_file.xml', FIRSTROW = 1, LASTROW = 1) as f The error is: Bulk load