How - Connect to my miniserver via cmd?

Im' trying to connect the miniserver as shown in the example at the end of
http://csajsp-chapters.corewebprogramming.com/CSAJSP-Chapter16.pdf
but I don't know how to set the portnumber when i start it with Start-run-cmd.exe on W2K..!?!
C:\..path..>java EchoServers ...somthing.. Or how?
/Thanks S

Seems like iv'e got the server running now, dont ask me how, but i just typed java EchoServer like earlier, and now it's running. But how does he mean that I sholud use It?
I mean It's almost as if Marty forgot his "morning java" when he wrote that part! I dont understand what exactly he wants me to do, anyone? how should my url be to take advantage of the applikation when debugging? Should the "whatever" part be the name of a servlet, or what? Sorry for my stupid questions.
>
* Call this system server.com. Next,
* start a Web browser on the same or a different
* system, and connect to http://server.com:8088/whatever.
* The resultant Web page will show the data that your browser
* sent. For debugging in servlet or CGI programming,
* specify http://server.com:8088/whatever as the
* ACTION of your HTML form.
EchoServer.java: http://archive.coreservlets.com/EchoServer/EchoServer.java

Similar Messages

  • How connect to oracle RAC via the RSG using port forwarding

    Hi all,
    I got a problem trying to connect to oracle RAC via the RSG using port forwarding .
    on command line i sue to connect :
    sqlplus 'username/password@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=firstRACnode)(PORT=1521))(ADDRESS=(PROTOCOL=tcp)(HOST=secondRACnode)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=MSDP)))'
    but when using port forwarding i forward the port 1521 to a local port and make ssh to the DB node ( as normal with other nodes but not RAC) but it never work with me for this situation
    can any one give me a help ifthere is any changes should be done on the server side , or if any one faced such a problem and found a solution
    Thanks,
    Prathap.

    782011 wrote:
    I got a problem trying to connect to oracle RAC via the RSG using port forwarding .
    on command line i sue to connect :
    sqlplus 'username/password@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=firstRACnode)(PORT=1521))(ADDRESS=(PROTOCOL=tcp)(HOST=secondRACnode)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=MSDP)))'Not exactly sure what you are attempting, but if you doing port forwarding via ssh, the basic approach is as follows:
    Step 1
    Create a ssh tunnel from local machine to remote db server. Forward any local port (should not be a well known port or a port in the private/dynamic port range) to connect to the database server's listener port. If the ssh tunnel is into the db server itself, the connection (port forwarding) can be on localhost (as the Listener should be listening on it). Alternatively use a public IP of that db server.
    Example (using OpenSSH on Ubuntu 9.4):
    Local server port 1527 tunneled to port 1521 on database server 192.168.0.100 using o/s account johnd (we connect to port 1521 on db server via 127.0.0.1):
    ssh -X -f -N -o ServerAliveInterval=3 -L 1527:127.0.0.1:1521 [email protected]
    Step 2
    Run sqlplus and connect to the local fowarded port on localhost, using the applicable connection settings (e.g SID/Service Name, etc).
    sqlplus scott/tiger@"(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1527)) (CONNECT_DATA=(SID=orcl) (SERVER=dedicated)))"Note that the Listener must not hand our connection off - as the case would be when using RAC for example and connecting via a Service Name and not a SID. We need the Listener that accepts our connection to immediately hand us over to the database instance (via either a dedicated server or a shared server dispatcher process).

  • How connect client to mySQL via SSL

    Hi,
    I created client in Swing/AWT and configured mySQL. How can I configure my client to enable connection via SSL (not necessary with certificate). I have to switch on field in driver JDBC, but that'a all? How can I verify if connection is really encoded?
    Damian

    Hi,
    I created client in Swing/AWT and configured mySQL.
    How can I configure my client to enable connection via
    SSL (not necessary with certificate). I have to switch
    on field in driver JDBC, but that'a all? How can I
    verify if connection is really encoded?
    DamianTo find out is the connection really encoded, there is a software called
    ethereal - http://www.ethereal.com
    which can monitor all the packets on your pc.

  • How connect to windows network via wifi?

    i try to connect to my windows shared network via wifi,but it doesn't work.
    here's the error message
    please help me to solve this problem
    thank you.

    Check the settings on your iPad for automatic downloads.....
    Settings>Store>Automatic Downloads>Apps. If it is enabled, turn it off. The apps shouldn't download again as far as I know, but this is a good a place as any to start.

  • How do I connect my new (purchased last week) macbook air to my samsung smart tv? I purchased the adapter at the apple store and connected to the TV via HDMI cable.  The TV says "no signal.  I do not see TV as an option in the display tab of system prefer

    how do I connect my new (purchased last week) macbook air to my samsung smart tv? I purchased the adapter at the apple store and connected to the TV via HDMI cable.  The TV says "no signal.  I do not see TV as an option in the display tab of system preferences.  what else do I need to do?

    First, make sure your TV is tuned to display the correct input signal. Most TVs have several inputs (multiple HDMIs, cable connections, RCA etc) so double-check that you're using the correct one - HDMI1, HDMI2 or whatever is written next to the port.
    I assume that you have a mini-Displayport to HDMI adaptor? If you open displays preferences, first tick the box that says "show display preferences in menu bar" then locate the menu and click Detect Displays. See if that helps.
    Matt

  • How to fix connection error on facebook via iphone 4s

    How to fix connection error on facebook via iphone 4s?

    I had the same problem for days. I reset the phone bu holding down the home button and the on off switch together. Don't swipe to turn off. Just hold down the two buttons until phone switched off then wait a few seconds and switch it back on. I can't also use Facebook on safari which I was also having problems with. Hope it helps

  • Dear Community, how can I connect SCSI tape recorder via USB to iMac ? Is there any adapter/converter on the market now ? Cheers, Marek

    Dear Community,
    how can I connect SCSI tape recorder via USB to iMac ?
    Is there any adapter/converter on the market now ?
    Cheers, Marek

    Thanks Jan.
    Actually the reason to use Quantum SCSI tape recorder is to back-up big amount of data (propriety movies footage) both on PC (what is quite easy, using SCSII host adapter with VHDCI 68 connector) and iMac what seems to be not easy. All my search by Google leads to that conclussion, they finished production of SCSI-to-USB or FireWire because somebody stopped to produce chips to covert protocols. So even buying noe second-hand adapter, no guaranty it's still working with Lion (nobody is developing drivers anymore). Strange is, nobody or just a few are using SCSII (Ultra 320) devices (while the transfer is not bad, 320 MBps what is 2560 Mbps, so the only limitation is tape recording (some 80 MBps) not an interface. Using compression mode I can (and I do) record 1,6 TB of footage data. However quite slow, is safe and cheap, comparing with any HD storage solution. USB 2 is much more limited.
    I'm using Time Capsule for buck-up. But even 3 TB one day will be full of data, then old back-ups will be eaten by new once, what is not good idea for archives. I'm using another 2TB NAS HD (2x2TB RAID 1), but this is also going to be full soon.
    Of course, you are right, the option is another machine (OSX,Win,Linux or Solaris) equipped with SCSII controller. But this requires another machine, just for back-up time to time, and in practice iMac folders must be shared with that small auxiliary machine because amount of data practically excluding even temporary data collection on auxiliary machine. And it must be transfer by wire, not WIFI, my only network. Tape recording is in my case really good, professional solution, isn't it?
    Anyway, if somebody has similar requirements as me, and found the solution for SCSI, please let me know. So far, follow Jan's idea, I'm thinking about some embeded mini PC, fanless, equipped with slot for SCSI, with SOME smart system on-board, to deal with iMac for type recording. The option is previous Apple model, but to be honest, I became Mac/OSX user 4 years ago. I fell in love with Mac, but my knowledge about previous models is based on Google....
    My desk becomes full of boxes. Do you know how big Quantum TC-L42BX is ? Is very big. And now another box.....another keyboard....another screen... And one small adapter could solve the problem. Eh....
    Best regards,
    Marek

  • How do I set up my iPhone 4s to sync automatically to iTunes when connected to my iMac via USB?

        How do I set up my iPhone 4s to sync automatically to iTunes when connected to my iMac via USB?  Currently it only syncs when I manually click on sync.
        Somehow I do have my 5th gen. iPod set up to sync automatically with the same iTunes / computer.  But I do not actually see a checkbox for either device.
        (yes, the 'prevent devices from automatically syncing' is unchecked)
    thank you!

    Turn off mobile data?
    Talk to your carrier about the usage increase.
    Googling provides many tips- https://www.google.com/search?q=reduce+iPhone+data+usage&ie=utf-8&oe=utf-8

  • How do I access external hard drive connected to AirPort Extreme via iPad

    Hello,
    How do I access external hard drive connected to AirPort Extreme via iPad / windows laptop.
    I donot have a Mac and I use windows laptop.

    For your iPad, you will need an app, like FileBrowser, to access the external drive.
    For your Windows laptop, you would access the drive like any other network share. The basic format is: \\<servername>\<sharename>, where, in this case, the servername is the base station name and the sharename is the name of the external drive.

  • How can I connect to a VPN via PPTP?

    Hello,
    I am a foreigner living in Taiyuan, the capital city of Shanxi Province, in China. I bought my macbook the summer of 2006. It still works perfectly except I cannot connect to the internet here at the university.
    The internet here is split into two parts: local, and international. The ethernet connection allows me to access Chinese websites, but nothing else. It sounds counterintuitive but really, that's how it is. In order to get the rest of the world, all computers have to connect to a VPN via PPTP. Once this is established, viola, you have internet.
    My problem is I cannot seem to connect to the VPN. I have used Internet Connect, I have created a VPN via PPTP, and put in all the right numbers...
    the VPN IP is 202.207.128.115
    the username is tyut
    the password is tyut
    But when I try to connect, it just says it can't. Nobody at the university has been helpful because they've never used a Mac before, and besides which, they aren't used to using a computer in English.
    Can anyone help me? Or does anyone know how to get in touch with Apple Services in China (in English)?

    Yeah, but that's not the problem here. I'm an English teacher at Taiyuan University of Technology (the irony does not escape me). The other teachers have PCs and can get full internet in their apartment. Since I have a mac, it's much harder for the school technicians to help me.
    This is what my log says from the VPN connection (which does connect now.)
    Mon Oct 29 16:05:52 2007 : PPTP connecting to server '202.207.128.115' (202.207.128.115)...
    Mon Oct 29 16:05:52 2007 : PPTP connection established.
    Mon Oct 29 16:05:52 2007 : Using interface ppp0
    Mon Oct 29 16:05:52 2007 : Connect: ppp0 <--> socket[34:17]
    Mon Oct 29 16:05:52 2007 : local IP address 172.30.1.252
    Mon Oct 29 16:05:52 2007 : remote IP address 172.30.1.2
    But I still can't load any pages from the VPN connection, just the regular ethernet connection (local internet). It doesn't work if I use IP addresses instead. :-/ I unselected "send all traffic over the VPN connection" because if it's selected, I don't even get local internet.
    Looking online I found a possible fix, but it's for Windows XP. I don't know how to find the same settings on the Mac...For Windows XP:
    1. Click Start -> Control Panel
    2. Click on the Network and Internet Connections icon and then click "Network Connections". If your Control Panel is in classic view, simply double click the "Network Connections" icon.
    3. Right click on the new VPN connection and select Properties
    4. Select the "Networking" tab
    5. Verify that Internet Protocol (TCP/IP) is highlighted
    6. Click on the Properties button
    7. Within the Internet Protocol (TCP/IP) properties window, click on the "Advanced..." button. Within the Advanced TCP/IP Settings window, REMOVE the check mark next to "Use default gateway on remote network"
    8. Click "OK" to close all open windows
    Where would the "default gateway on remote network" be on a Mac?

  • How connect iPhone to TV (Philips) via USB?

    How connect iPhone to TV (Philips) via USB, because TV does't recognize iPhone.

    http://support.apple.com/kb/ht4108
    http://support.apple.com/kb/HT1454

  • How can I print an email that is on my iphone directly to the Acrobat PDF maker on my laptop if the iphone is connected to the computer via data cable?

    How can I print an email that is on my iphone DIRECTLY to the Adobe Acrobat PDF maker on my laptop if the phone is connected to said laptop via the data cable?

    Looks like I'm SOL since I don't have an HP printer.  Would never own one, the consumables are too **** expensve.  Thanks all

  • How to connect APEX with MYSQL via Apex's Database link

    How do i connect APEX with MYSQL via Apex's Database link? The OBE doesn't go into specific detail about how to link the two.
    can someone please elaborate on what these are and where i can find them in mysql:
    Database Link Name      
    Connect To Schema      
    Password      
    Remote Hostname or IP      
    Remote Host Port      
    SID or Service Name      
    I need to link to mysql database so I can set up a 3D pie chart in apex

    Hi jononioo
    A database link is a device for connecting between Oracle database instances only. Oracle does have a method for connecting to other database systems (Transparent Gateway) but this is restricted to other commercial databases and I don't believe there is a gateway for Mysql. (I could be wrong)
    I don't know Mysql but maybe there is some way to push data to the Oracle instance. Other than that, is there any reason why the data has to reside in the Mysql database?
    Regards
    Andre

  • Iphone6 doesn't play music (have tried obvious things like volume etc and plugged in headphones, connected to a speaker via bluetooth, and tried to play from the inbuilt speaker). Does anyone know what the problem is and how it can be resolved?

    Iphone6 doesn't play music (have tried obvious things like volume etc and plugged in headphones, connected to a speaker via bluetooth, and tried to play from the inbuilt speaker). Does anyone know what the problem is and how it can be resolved?

    You can't buy the part from Creative as a spare.
    I'm not sure how compatible other parts might be, but that would be a question for someone who really knows a lot about this area of electronics.
    The Creative repair for this is likely to be expensi've, but the problem is most likely a broken solder connection than an actual new headphone socket. So if you know someone experienced in surface mount soldering you could probably get it repaired just with this.

  • How do I connect an HP printer via Linksys printserver to a wireless network

    Hi:
    I have an HP laptop running Windows Vista 32-bit Home Premium.
    It is connected wirelessly to the Internet via a Motorola SBG6580 cable Gateway.
    I have an HP C6280 All-In-One printer/copier/scanner: wireless is  not  built-in.
    A Linksys WPSM54G Printerserver is connected (hardwired) to the printer.
    Currently, the printer is connected to the laptop via USB cable, and I am able to print.
    (Previously, my wireless network connectivity was via a Linksys WRT54G router, 
    along with a modem. These were replaced with the Gateway.)
    How do I setup wireless connectivity between the Printserver and the Gateway ?
    I am not very network savvy (yet) , so I am not familiar with wireless connectivity details.
    Any ideas ???
    Thank you
    DaleBr

    From what I can tell you need help connecting the Linksys printer server to your network.  Linksys has good instructions for the configuring the printserver.  I've linked that site.
    After the printer server is on line you might need to change the printer driver setings to reflect the new settings.  A driver software reinstall should do that.
    Please mark the post that solves your problem as "Accepted Solution"
    Sometimes it takes several posts back and forth to get to a solution - please be patient.
    I am employed by HP

Maybe you are looking for

  • How can I determine which codec to use?

    I'm using PE7 on a PC. I have HD video shot with a Canon. Each video - there are six of them - is less than five minutes. After I finished editing, I uploaded them to youtube and emailed a link to my client, but my client complained that they were ou

  • How To Call A Third Party DLL ?

    Hi All, I do have a dll file written in C/C++. I need to call it from java. I do have all the function declarations & descriptions, but not the source of the dll. I want to call those methods in java. I know that I have to use JNI for this. But dont

  • Selecting multiple colors in color wheel?

    If i select an object with multiple colors then go into the color wheel/color guide the colors are connected so you can spin them and they stay relative and so on, but is there a way to select more than one color handle so you can move them at the sa

  • 1242 Lightweigth Image length

    Does anybody know the length of the image file that the WLC sends to the Lightweigth AP 1242, I´m using a WLC 2504 running code 7.3.112.0. I would like to know this for considering the amount of remote APs that I could upgrade simultaneously through

  • NI WSN 3212 takes incorrect measurement with external power

    Hi, all. I have a problem with temperature measurement using NI WSN 3212 node with external power supply. The value randomly changes for all four channels. It happens if at least one thermocouple connected to any channel. If I disconnect all thermoco