Can i wrire a port monitor in java? if yes so how?

can i wrire a port monitor in java? if yes so how?

you can use the java comm api and finished it.I suspect the OP means IP port and not serial/parallel
port.
Could also have in mind a surveillance camera looking down over the docks.

Similar Messages

  • Can't change printer port on Windows 8.1 and Server 2012 R2

    1. Install "Lexmark X646e Class Driver" using a in-box print driver (i.e. one comes with the Windows installation base) .
    2. Go to "Printer properties" -> "Port"
    3. Select a custom monitor port, and the following error occurs in Event Viewer.
    An error occurred while configuring print queue 'Lexmark X646e Class Driver'. Printer driver 'Lexmark X646e Class Driver' may not be used in conjunction with a non-inbox port monitor.
    Same steps applied on Windows 8 and Server 2012, and not issues found. The restriction/limitation is newly added in Window 8.1 and Server 2012 R2. 
    Changing to a custom monitor port after printer driver installation is very important for us.
    How can we solve or workaround the above issue, so it can behave like Windows 8 and Server 2012? 

    What Port Monitor just so I can bubble this information to some others?
    Alan Morris Windows Printing Team
    Hi Alan:
    We developed a custom printing system, which involved the following configurations:
    1. Create a custom port monitor on server 2012 r2.
    2. Change an existing print queue to use this custom port monitor, and share this print queue.
    3. All workstations will print to this shared print queue on the server.
    The goal is to manage/monitor the print information in StartDocPort for all printing for instance.  This is what we've been doing for a long time.
    Now we upgraded our system from server 2012 to server 2012 R2, but we can't change the port monitor to our ones anymore.
    I've tried the Type3 printer driver, such as Brother Color Type3 Class Driver, unfortunately it didn't work if the installation is using "Add a printer", and select the driver from the list.   
    The only way to make it work is to install the printer driver using the one downloaded from the vendor's website, this will bypass Windows "Add a printer". 
    Is there any chance we can make this to behave like server 2012 or earlier? Modify registry keys?
    Cheers
    Steven

  • Can I execute MySql's command from java application?

    Can I execute MySql's command from java application? And how?
    For example :
    load data local infile 'D:\\myData.txt'
    into table myTable
    fields terminated by ';'
    lines terminated by '\n';

    1. get the jdbc driver for mysql from the mysql site at: http://dev.mysql.com/downloads/connector/j/5.0.html
    2. follow the installation instructiions... which you'll also find in your mysql manual...
    Happy travels. Keith.

  • Satellite P100: Can I connect two external monitor to VGA & DVI port at the same time?

    The Satellite P100 comes with two external monitor port. A VGA and a DVI. Can you have have two external monitor working at the same time? Can you have two external monitor as well as your internal display working at the same time (for a total of 3 display at the same time?
    Here is what I have confirm:
    Internal display + DVI connector display
    OR
    Internal display + VGA connector display
    Is it possible to have:
    DVI connector display + VGA connector display?
    OR
    DVI connector display + VGA connector display + Internal display?

    As far as I know this is not possible and you can use either DVI or VGA port.
    For signal output can be used only one port for external display.

  • Windows 8.1 Port Monitors

    I would like to state up front that I have almost zero experience in the area of printer drivers, port monitors, etc., other than that which I have acquired so far during this project.
    I am working on developing a PortMonitor that generates PS files in a predetermined location so that our Workflow system can collect them that I currently have set up to use the ghostpdf.inf file (came with GhostScript), which appears to use the PScript5
    DLLs.
    I would prefer to not use the ghostpdf.inf, but my own as I also want to be add a custom UI dll to the Printer GUI in order to allow display/control of the options available for our workflow (these options will vary based on the selected workflow).
    I need this to be able to install and work on most platforms from Windows 7 upwards for both 32 & 64 bit Windows.
    Having created a port I would like to be able to point it at the standard Microsoft PS Class Driver. When I do this on Windows 8.1 I get an error saying "Double check the printer name and make sure that the printer is connected to the network."
    As I want this to go to file on disk I don't have a printer to connect to the network.
    There are several, related, questions.
    1. Can I, and if so how, do I overcome the 'printer connected... ' issue or do I just adapt the ghostpdf.inf file for my own purposes?
    2. Can I, in the INF file, specify a custom UI dll so that I can manage the options?
    3. Do I need to provided a custom driver dll as well or can I just have a UI dll if I plan to store the settings in the registry and have the port monitor dll pick them up and run with them?
    Thanks,
    Peter Young

    Hi,
    So we are here encountering issues with the video lagging in Internet Explorer? How about the network connection?
    Have you checked the below KB article? (The issue here seems to be related with compatibilities. )
    Videos won’t play in Internet Explorer
    Please check the below steps for troubleshooting on a test PC:
    1. Test Video in compatibility View;
    2. Make sure the following add-ons are installed and enabled;
    Shockwave Active X Control
    Shockwave Flash Object
    Java Plug-in (may be multiple add-ons)
    QuickTime Plug-in (may be multiple add-ons)
    Windows Media Player
    3. Update add-ons;
    4. Turn off ActiveX filtering and Tracking Protection.
    Detailed information and steps, please refer to the KB article above.
    Best regards
    Michael Shao
    TechNet Community Support

  • Changing message server port for ABAP+Java Instance

    Hi,
    We had change our message server port for the Java instance from 3607 to 3667.
    We did this using the j2ee config tool. We also verified this information through the console config.
    But when we look into system info URL using the URL as shown below,  we still that the old message server port is being used. We have recycled the instance couple of times , but does not seem to help.
    http://dfudsbw1.dfna.corp.dom:50700/sap/monitoring/SystemInfo
    Any ideas where else we have to change the port no. for the message server

    Hi guys,
    I solved this on my own with documentation help from SAP.
    I had to change the port no. in the Global dispatcher and Global server area as well.
    Please see details from SAP below.
    "Message Server: Changing Ports/Hosts shows which areas need to be adjusted if
    the port or host of the message server changes. Ports are, of course, changed in the
    instance profile of the Central Services instance. In the example, the port 3677 and
    the HTTP port 8177 have been set, and the new host is called twdfxxx. You need to
    use the Config Tool to set these values. For each instance, you need to maintain the
    corresponding values for the Message server host and Message server port on the
    Message Server and Bootstrap tab page. The connection details for dispatchers or
    servers to the message server are maintained in the Cluster Manager. As shown in the
    figure, the ms.host and ms.port are maintained, respectively, in the Cluster Manager
    with Global Dispatcher and the Global Server. After you have maintained all of the
    parameters, you can start the instances."

  • JRockit - Monitor JRockit java process

    Hello everyone, We have Weblogic installed in our environment (Windows Server 2008R2) which is using JRockit as Java platform. I ran into issue where I cannot monitor the java process (connect to JVM) through the JRMC (JRockit Mission Control) as this java process is running from SYSTEM user account. Therefore it's not displaying as local JVM. If I run it through my account I can monitor it fine. Anyone can suggest how to monitor the java process which was ran from the SYSTEM account. I cannot login as the SYSTEM to the server tho. Thank you, Viktor Ozerov

    Yes, that correct. You could enable ssl and/or authenticate to avoid that,
    but I also think it's possible to enable only the local management agent, if you specify:
    -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.local.only=true
    (I think local.only defaults to true if you don't set any of the port properties, but I need to find out more about this)

  • How can you display to multiple monitors using a Mac book pro

    I Need to out put my display to a projector and a vison mixer the projector is VGA and the vision mixer is DVI is there a adaptor that I can  use or hardware that will carry out this task for me

    Sorry, but your Mac can only support a single monitor. Will need to buy a Mini-DisplayPort to DVI or VGA adapter, you will need to decide what you need best.
    The newer (2011 & forward) Macs come with a Thunderbolt port instead, and that supports up to 2 cascaded devices.

  • HT3382 Connect from a MacBook Pro's mini display port to a Display Port monitor?

    Hello everyone,
    Is it possible to connect from a MacBook Pro's mini display port to a Display Port monitor with resolutions higher than 1920 x 1200? It seems Apple does not supply a mini-DP to DP adapter.
    However, just as they do not make a mini-DP to HDMI adapter, but they do recommend a Belkin product for this purpose.
    Is there any reason that a mini-DP to DP adapter or cable wouldn't work and support high resolutions?
    Thanks for your feedback!

    danz0r wrote:
    Hey tjk,
    Thanks for the response.
    Do you have any recommendations for a potential set up? The audio output and Apple DVI are on different sides of my MBP, which is alright, I guess I can get two long cables to handle each. I was hoping to just have my MBP closer to where I use it, with a cord nearby plugged in on one side to the HDTV and resting near where I keep my MBP for when I want to use the HDTV as an external monitor.
    With a converter like this, you can run video out of the MBP's DVI port, and miniToslink (optical) audio out of the 3.5mm stereo mini jack to the converter, then it will combine the two and output audio and video through HDMI to the monitor.
    http://www.supermediastore.com/product/u/apogee-dvi-to-hdmi-converter-spdif-opti cal-toslink-coaxial-input-output?utm_source=cj&utm_medium=aff&utm_content=HDMI+A ccessories
    Otherwise, depending on the TV's inputs, for video you could run DVI to DVI on the TV, or DVI to HDMI to the TV. For audio you could run 3.5mm stereo mini plug from the MBP to RCA adapter on the TV. Toslink/optical is also an option.

  • Mini-DVI port: monitor goes black for a moment if wiggle the adaptor

    I have an Early 2009 mini 2.0GHz, which I'm using with the included Mini-DVI to DVI adaptor.
    I've discover that if I press down on the adaptor plug just right, the monitor flickers to black for a moment, as if the adaptor were pulled out of the Mini DVI port.
    I know: don't do that.
    But it can also happen if the monitor cable gets tugged on just right (how I discovered it), and I'm concerned that the Mini DVI port may be loose on the motherboard, that it may get worse, that it may flicker intermittently without provocation, etc.
    On the other hand, maybe this is just how the mini is built and I'll be wasting my time getting service.
    So I'm hoping some of you can poke at your minis and see if it happens to you too.
    Instructions For Proper Poking:
    º Have everything plugged in with computer and monitor on
    º Press down gently on the plug that is plugged into the mini's Mini DVI port
    º Try a little wiggle, press from the end of the plug where the wire comes out to get a little leverage, etc.
    º Try gently picking the mini up a few times, so that the monitor cable is hanging down from the mini
    It only happens sometimes for me.
    Thanks

    So I just ran through the little test matrix you outlined in your first post with my Early 2009 mini. Result: no trouble whatsoever with intermittent connection. I would say what yours is doing isn't normal. Maybe some other people will try and report their results.
    Mini DVI has been out there for a long time, albeit not on the Mac mini, but on other Apple notebook products. I have not heard that the connection is not "robust" ever. And I've been following the MacBook and MacBook Pro display forums for a couple years now.

  • Daisy chain two display port monitors (Dell U2913WM) to new Mac mini Thunderbolt?

    Everything I read said that I could hook up a display port monitor to a Thunderbolt port on the mac mini.  I purchased two display port monitors (Dell U2913WM) that can be daisy chained, and hooked them up.  All I get is mirroring.  Does anyone know how to turn off mirroring with this setup?  I did not get the "uncheck mirroring" option in preferences until I hooked up the second via the HDMI port instead of a daisy chain.  The problem with that is, I cannot take advantage of the full resolution through the HDMI.  It seems I have wasted my money on two monitors.
    Looking for advice on:
    1) How to daisy chain these two Dell monitors to the mac mini and turn off mirroring and use an extended desktop, or
    2) How to take advantage of the full resolution through HDMI port?
    Any help would be greatly appreciated.
    Thanks!

    So re-reading this thread, I now realize you did exactly what I wanted to do but your issue was having a cloned vs. extended desktop. Oops!
    I believe your "nothing plugged in" issue is the cable. I'm not sure that TB cables are backwards compatible with DP - I think it's only the ports. Do you see multiple monitors in "System Preferences > Displays" if you hook the monitors up like you described in your OP?
    My Dell U2713H arrived today and it works like a charm with the supplied Mini-DP to DP cable. The built-in display on my 13" mid 2009 MBP still works if not in clamshell mode, although I will mostly use mine in my HengeDock. In the OSD of the monitor, you can access "Display Settings > Display Info" and it will show you the DP capability. Mine is only DP 1.1a and I believe to run 2 of these at full resolution you will need the bandwidth in DP 1.2 which includes MST (daisy-chaining). This could be your problem.
    Can you access the same menu in your OSD and report back what your DP compatability is?
    Thanks!
    mgb

  • How can I get the events from a java program?

    I want to make a monitor to watch a java program.How can I get the events from the GUI of this program some as mouse cliking, keyinput. So I can watch these in my monitor.
    Thanks

    Hi,
    To put a monitor to the events occuring in the GHUI u need to register required components with the appropriate EventListeners.
    Liek if u want to get notified when a mouse is clicked, then u need to add The MouseListener to the component which u want to be monitored.
    Say
    myFrame which is the JFrame object which shuld be monitored for the events.
    Then in ur program u have to add following code
    myFrame.addMouseListener( someObectReference );
    Here the someObjectReference should be an instance to a concrete class ..i.e. U write a class like the following
    public class MyMouseListener implements MouseListener {
    // override the followig methods
    public void mouseClicked(MouseEvent me){ sop("MOUSE CLICKED ON THE FRAME");}
    public void mousePressed(MouseEvent me){}
    public void mouseReleased(MouseEvent me){}
    If u dont want to use another class for listening to the events. Then u can make teh current class monitor the events. To do so ur class should implement the appropriate listener and should override the required methods.
    and u should say myFrame.addMouseListenet( this );
    thats it

  • HT5219 how can I connect two thunderbolt monitors to my macmini in windows 8 and bootcamp? Works fine in OSX

    how can I connect two thunderbolt monitors to my macmini in windows 8 and bootcamp? Works fine in OSX

    Did you try to hook up both monitors to the Belkin adaptor? Trying will determine if your monitor has a bad input port. See if the Belkin adaptor is the problem. I have never used that specific adaptor, but I have always had luck with the Dr. Bott's DVI for ADC adaptor. Best of luck.
    www.drbott.com

  • Can I add a second monitor to a TouchSmart 520-1070?

    Can I add a second monitor to a TouchSmart 520-1070?  Can it be done through a USB port with a USB to DVI converter?

    To connect your HP TouchSmart 520-1070 desktop computer to a second monitor or a TV, you will need to purchase a USB-to-video adapter. I recommend the eVGA UV Plus+ 19 USB-to-Video Adapter, however many of these other USB-to-video adapters should also work.
    FYI... with a touch screen, you can only "clone" the desktop... trying to "extend" the desktop may cause problems using the computer.
    Frank
    Frank
    {------------ Please click the "White Kudos" Thumbs Up to say THANKS for helping.
    Please click the "Accept As Solution" on my post, if my assistance has solved your issue. ------------V
    This is a user supported forum. I am a volunteer and I don't work for HP.
    HP 15t-j100 (on loan from HP)
    HP 13 Split x2 (on loan from HP)
    HP Slate8 Pro (on loan from HP)
    HP a1632x - Windows 7, 4GB RAM, AMD Radeon HD 6450
    HP p6130y - Windows 7, 8GB RAM, AMD Radeon HD 6450
    HP p6320y - Windows 7, 8GB RAM, NVIDIA GT 240
    HP p7-1026 - Windows 7, 6GB RAM, AMD Radeon HD 6450
    HP p6787c - Windows 7, 8GB RAM, NVIDIA GT 240

  • I can't use my Philips monitor with Mac mini

    I can't use my Philips monitor with Mac mini, I am using a HDMI to VGA cable to connect them. But no signal on my Philips monitor.
    My Mac mini is in a good condition, it can connect with my HDTV, the BENQ monitor at my office, but I can't make it connect with my Philips monitor.
    I dun know what happen.
    Please help!
    Thanks!

    The two are incompatible, HDMI is a digital signal and VGA is an analog signal. You need a monitor with a HDMI port or a DVI-I port, these are both digital signals. DVI-I gives the best output.

Maybe you are looking for

  • Multiple emails under one Apple ID - how to separate iMessages?

    We are trying to set up one idevice to use a separate email address under a master Apple ID.  It is for a child so they should not have access to all account settings and whatnot. Everything works fine except one element.  On the device that gets all

  • HT1386 iPhone sync not working.

    When I create a playlist on my computer, it does not appear on my iPhone after I sync it. What do I need to do so that I can transfer the playlist from iTunes on my computer to my phone?

  • Does Airport Extreem work with Xfinity modem?

    The new Xfinity modem worked for about 11/2 weeks with my Airport Extreem to my iMac then it was 1/2 there and not doing all search or browsing on the internet.  Comcast could not help on line or the phone.  The Xfinity modem has wireless capabilitie

  • Getting warning in SMD Home page

    Hello All, I have installed Solution Manager 7.0 EHP1 ( SP18 ) I am getting the warning while opening the link http://10.39.4.107:50000/smd 1)Upgrade status for the current version is outdated. Please upgrade now. 2)Maintenance mode is enabled. Some

  • Unable to view the jms message

    My prog is : * To change this template, choose Tools | Templates * and open the template in the editor. package edu.ejb.model; import java.io.Serializable; import javax.annotation.Resource; import javax.ejb.Stateless; import javax.jms.*; * @author BH