Trying to use a servlet that does NOT use HTTP as a protocol

          Hi,
          I'm trying to develop a mechanism that supports requests from non-http clients
          (2000-5000 concurrent requests). I'd like to sub-class from GenericServlet (so
          I don't have to write thread pooling, etc.), but I can't figure out how to get
          WLS 5.1.8 to get the request and send it to my servlet sub-class. There doesn't
          seem to be any documentation on how to achieve this...
          HTTP is NOT an option for these clients - please do not suggest I try that.
          In it's simplest form, the client opens a TCP/IP socket, sends data, and gets
          a response - very much like a servlet, just not HTTP.
          Thanks,
          Andrew
          

          Sorry - but the client is a mobile hand-held device. It's got a high-speed, short-range
          wireless (802.11B) connection and it supports TCPIP. There's no way I can get
          java (or a browser) onto the client device (even if I could I'd have to bridge
          from native apps to java for communication back to the appserver); which is why
          I'm trying solve as much of the problem as possible on the server...
          Thanks for the suggestion though,
          Andrew
          "Cameron Purdy" <[email protected]> wrote:
          >Suggest looking at WL RMI or T3 stuff.
          >
          >A little heavier than raw TCPIP but you'd have to build half of that
          >stuff
          >anyway.
          >
          >Peace,
          >
          >--
          >Cameron Purdy
          >Tangosol, Inc.
          >http://www.tangosol.com
          >+1.617.623.5782
          >WebLogic Consulting Available
          >
          >
          >"Andrew Larson" <[email protected]> wrote in message
          >news:[email protected]...
          >>
          >> Hi,
          >>
          >> I'm trying to develop a mechanism that supports requests from non-http
          >clients
          >> (2000-5000 concurrent requests). I'd like to sub-class from
          >GenericServlet (so
          >> I don't have to write thread pooling, etc.), but I can't figure out
          >how to
          >get
          >> WLS 5.1.8 to get the request and send it to my servlet sub-class.
          >There
          >doesn't
          >> seem to be any documentation on how to achieve this...
          >>
          >> HTTP is NOT an option for these clients - please do not suggest I try
          >that.
          >>
          >> In it's simplest form, the client opens a TCP/IP socket, sends data,
          >and
          >gets
          >> a response - very much like a servlet, just not HTTP.
          >>
          >> Thanks,
          >> Andrew
          >
          >
          

Similar Messages

  • HT1222 I just installed this update and now I cannot access "Mail" at all.  I tried reinstalling the program, but that does not work, either.  Help!!!!!!

    I just installed this update and now I cannot access "Mail" at all.  I tried reinstalling the program, but that does not work, either.  Help!

    Paldeng, thanks for the suggestion.  I've done all that.  I can connect to the server, but apparently they are not recognizing my ID and password.  I can use the server program if I don't go through Mail (using the same ID and password).  My mother in another state with another provider has had the same email issue, as also my husband on his laptop who uses the same internet connection I do.  His worked fine until we had it repaired at the Apple store and all the original programs reloaded (with the required updates, I assume).  We can receive email in Mail, we just cannot send.
    I contacted my service provider, and we went over my connections.  They said it was not their problem and connected me with Apple, resulting in a charge to me because my warranty is long expired.  Apple swears it is not their problem, it is the provider, so here I sit.  My son was able to fix my Mom's Mail (she's 97) and got my husband's working also, until mine went out, by tweaking connection descriptions and ports remotely.  The thing is, we had not messed with any of those settings, so what changed?  I just did not want to bother my son again, as he has many other demands on his time.
    Since this fiasco with the Mail v4.6 update, I'm wondering if something else was updated that works well with Lion and Mountain Lion, but does not work well with Snow Leopard and Leopard.  I think the problem I had with the Mail update was that my Mail program had been renamed to Mail (original), and therefore was not being recognized by the update.  Perhaps they had another tweak in there somewhere that is affecting outgoing mail connections?

  • Create timer function that does not use start-sleep

    Hey all I would like to create a timer function that does not use the start-sleep command because this freezes my GUI. I've wrote the start of a function but it seems to move on before the specified time has finished.
    Here's what I have:
    $Global:timerCounter=0
    $Global:timer = new-object System.Windows.Threading.DispatcherTimer
    Function Timer{
    param(
    [parameter(Mandatory=$true)]
    [int]$time
    $timer.Interval = [TimeSpan]"0:0:$($time)"
    $timer.Add_Tick({
    $Global:timerCounter++
    if($Global:timerCounter -ge 1) {
    $Global:timer.Stop()
    $timer.Start()
    Then in my script i would like to call Timer -time #of seconds. It seems that when I call it the add_tick is registered and then started but it continues on with the rest of my script. Is there a better way of doing this without using start-sleep?
    Thanks!

    Okay the issue I'm having is that I have code after the $timer.start that I don't wan't to run till a powershell job is done. In all the examples I've seen it has to come to the end of the code then it starts the tick. So in your example it comes to the
    end of of your code and showsDialog() then starts ticking.
    So:
    add-type -AssemblyName system.windows.forms
    $form=New-Object System.Windows.Forms.Form
    $btn=New-Object System.Windows.Forms.Button
    $form.Controls.Add($btn)
    $btn.add_Click({$form.Close()})
    $btn.Dock='Fill'
    $btn.Font='Lucida Console, 20.25pt, style=Bold'
    $btn.Text=[DateTime]::Now
    $timer=New-Object System.Windows.Forms.Timer
    $timer.Interval=1000
    $timer.add_Tick({$btn.Text=[DateTime]::Now})
    $timer.Start()
    $form.ShowDialog()
    #I want to do other things here but only after the ps job has finished
    Thanks I really am trying to figure this out. 
    Here is the code I'm working with I guess I'm unclear on how to order the timer and the rest of my code:
    if($syncHash.mainCopy){
    $syncHash.mainJobDone = $false
    $syncHash.writeHost = $false
    while(-not $syncHash.mainJobDone){
    [System.Windows.Forms.Application]::DoEvents()
    if($syncHash.writeHost -eq $false){
    Write-OutputBox -Message "Copying"
    $syncHash.writeHost = $true
    $syncHash.inProgress = $syncHash.mainCopy | Where-Object {$_.State -match 'running'}
    $syncHash.currentCopyTime++
    }elseif($syncHash.currentCopyTime -ge ($syncHash.averageCopyTime * 2) -and $syncHash.collectionCopyTime.Count -ne 0){
    $syncHash.Unusable += $syncHash.currentMainCopyMachine
    $syncHash.computersNotForInstall += $syncHash.currentMainCopyMachine
    $syncHash.inProgress = $null
    $syncHash.mainCopyTimedOut = $True
    Write-OutputBox -Type WARNING: -Message "$($syncHash.currentMainCopyMachine) is taking too long. Removing Job.."
    Add-Content -Path $log_path -Value "$($syncHash.currentMainCopyMachine) taking to long to copy to"
    Stop-Job $syncHash.mainCopy
    }else{
    $syncHash.inProgress = $syncHash.mainCopy | Where-Object {$_.State -match 'running'}
    Write-OutputBox -Message "." -NoNewLine
    ############################# ############# So I need it to wait right here I have other code other than in this block ############# that needs to run $syncHash.currentCopyTime++
    if(-not $syncHash.inProgress){
    $syncHash.mainJobDone = $true

  • Login that does not use https

    I don't have access to https sites from my current work facility.
    Do you have a login method that does not use HTTPS?
    Is there any way that I can link my metalink account and my OTN account, and get to OTN through my metalink account?
    David

    Okay ... I fixed this, Oracle XE finally convinced them to let us have access to https at OTN.
    David

  • The timekeeping system we use does not like HTML 5 so what is the latest version of Firefox that does not use HTML 5?

    We have been told by our timekeeping system provider that the latest versions of FireFox, Chrome and IE are not compatible with their websites at this time. I was told that it was because of the use of HTML 5 by the more recent versions of these web browsers. I need to download the most recent version of FireFox that does not use HTML 5. Can anyone tell me which version this would be?

    It isn't "Timesheet Next Generation", is it? We had a thread on that here: [https://support.mozilla.org/questions/961306 Websites using php and mysql stopped sorting drop down lists properly starting last week. Did something change?]
    Unfortunately, HTML5 is a large specification with a lot of parts that has been implemented in pieces over the course of several years. It would be really helpful if your vendor could indicate what EXACTLY is not compatible and then it could be researched. Otherwise, you'd have to use trial and error. Either way, you would end up with an older browser that isn't safe to run on the internet. It could be time to consider other vendors...

  • Building an application that does not use any local program files or libraries

    I need to build an application that will not use any local libraries or LabView program files(even if LabView is installed on the PC). I also am curious if anyone knows if there is a way to debug such an application(in it's compiled state).
    Any help on these topics would be greatly appreciated.
    -Nate
    Solved!
    Go to Solution.

    Hello,
    I am unclear on what you are trying to accomplish here. As the previous poster mentioned, if you enable debugging when building your application, you can remotely connect and probe the block diagram of the running executable. Executables use the run-time engine but could also access drivers or other run-times if using a specialized toolkit/module. This all depends on your application.
    -Zach
    Certified LabVIEW Developer

  • Cannot get into iPad, it keeps wanting me to sign in using old email that does not exist, and for a password that she does not remember, so I am unable to change password. How do I get around this?

    Cannot get into old iPad, it keeps wanting me to sign in using old email id that does not exist, and for a password that she does not remember, so I am unable to change password. How do I get around this?

    With iOS 7 Activation lock you can't.
    iCloud: Activation Lock
    http://support.apple.com/kb/PH13695
     Cheers, Tom

  • Keithley 6487 Driver That Does Not Use IVI

    Hi,
    Does anyone know if a driver set has been developed for the Keithley 6487 that does not require the Keithley IVI? To date I have been using .llb packages to control instruments and would prefere to use one in this case if possible.
    Many Thanks
    Ben

    Hi Ben,
    Thank you for contacting National Instruments. Please only post once as posting the same question many times divides the effort of the group and generally results in a longer resolution time.
    Duplicate post
    Thanks
    Andrew McLennan
    Applications Engineer
    National Instruments

  • I have a 4th gen iPod touch and I can not connect to the Internet even though my iPad works and my computer let's me get into the Internet. It gives me a message cannot to server. Please help I have tried to reset it but that does not work

    I have a iPod touch 4th gen. And I cannot get into the Internet I get a message that say cannot connect to server. The other computer and my iPad still work with the Internet . I have reeked to reset it but that does not work. Please help me.

    I do not know wat "reeked to reset" means.
    Try the following:
    - Reset the iPod. Nothing will be lost
    Reset iPod touch:  Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears
    - Power off and then on your router.
    - Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections

  • Trying to find a record that does not have an event created for it

    Post Author: tzinser
    CA Forum: Formula
    A little background on how it works....
    We create a record, and everytime it is created, a number of "events" within that record are automatically created.  The specific event I am trying to run a report on is "REC".  I can run a report and get the information entered into the REC event no problem, but my problem is that if someone deletes the "REC" event it does not show up in my report.
    So my question is, what is the best way to write a function that displays all records that have the "REC" event, and all records that the "REC" event is missing.
    I'm using the generic funtion {EVENT.EventCode} = "REC"  right now....any suggestions?

    Post Author: tzinser
    CA Forum: Formula
    Okay, I left off a lot of important information...
    I'm using two tables
    TWDATA
    EVENT
    From TWDATA I'm pulling the fields TWDATA.OrderNumber and TWDATA.DisbursementDate
    From EVENT I'm pulling the fields EVENT.EventCode and EVENT.CompletedDate
    The two tables are linked by OrderNumber.

  • Firefox does not display the basic menu line File Edit View etc. How do I get this menu to show. I have tried uninstalling and reinstalling, but that does not help

    When I ask for help finding bookmarks, the answer tells me to click on bookmarks as shown in the illustration, but there is no such line displayed on my computer.

    '''''"Firefox does not display the basic menu line File Edit View etc."''''': That is the Menu Bar; see below.
    '''<u>Menu Bar</u>''' (File, Edit, View, History, Bookmarks, Tools, Help)<br /> <u>Firefox 3.6.x versions allow the user to hide the Menu Bar.</u><br />
    *Tap the ALT key or the F10 key, Menu Bar will display, click View, click Toolbars, click Menu Bar to place a check mark next to it, '''''OR'''''
    *Press and hold the ALT key while pressing the letters VTM on your keyboard, then release the ALT key
    *See: http://support.mozilla.com/en-US/kb/Menu+bar+is+missing
    '''<u>Other Toolbars</u>''', see: https://support.mozilla.com/en-US/kb/Back+and+forward+or+other+toolbar+items+are+missing<br />
    '''<u>Status Bar</u>''': click View, click Status Bar to place a check mark<br />
    '''<u>Full Screen Mode</u>''': If you have no Toolbars or Tab Bar: Press F11 (F11 is an on/off toggle). See: http://kb.mozillazine.org/Netbooks#Full_screen<br />
    Also see: http://kb.mozillazine.org/Toolbar_customization_-_Firefox#Restoring_missing_menu_or_other_toolbars
    <br />
    <br />
    '''Other items that need your attention'''
    The information submitted with your question indicates that you have out of date plugins with known security and stability issues that should be updated. To see the plugins submitted with your question, click "More system details..." to the right of your original question post. You can also see your plugins from the Firefox menu, Tools > Add-ons > Plugins.<br />
    <br />
    *Adobe PDF Plug-In For Firefox and Netscape
    **Current versions are 9.4.2 and 10.0.1 (aka Reader X)
    **More info about version 10 (aka Reader X)
    ***New Adobe Reader X (version 10) with Protected Mode was released 2010-11-19
    ***See: http://www.securityweek.com/adobe-releases-acrobat-reader-x-protected-mode
    #'''Check your plugin versions''': http://www.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #'''Update Adobe Reader (PDF plugin):'''
    #*From within your existing Adobe Reader ('''<u>if you have it already installed</u>'''):
    #**Open the Adobe Reader program from your Programs list
    #**Click Help > Check for Updates
    #**Follow the prompts for updating
    #**If this method works for you, skip the "Download complete installer" section below and proceed to "After the installation" below
    #*Download complete installer ('''if you do <u>NOT</u> have Adobe Reader installed'''):
    #**Use the links below to avoid getting the troublesome "getplus" Adobe Download Manager and other "extras" you may not want
    #**Use Firefox to download and SAVE the installer to your hard drive from the appropriate link below
    #**Click "Save to File"; save to your Desktop (so you can find it)
    #**After download completes, close Firefox
    #**Click the installer you just downloaded and allow the install to continue
    #***Note: Vista and Win7 users may need to right-click the installer and choose "Run as Administrator"
    #**'''<u>Download link</u>''': ftp://ftp.adobe.com/pub/adobe/reader/
    #***Choose your OS
    #***Choose the latest #.x version (example 9.x, for version 9)
    #***Choose the highest number version listed
    #****NOTE: 10.x is the new Adobe Reader X (Windows and Mac only as of this posting)
    #***Choose your language
    #***Download the file, SAVE it to your hard drive, when complete, close Firefox, click on the installer you just downloaded and let it install.
    #***Windows: choose the .exe file; Mac: choose the .dmg file
    #*Using either of the links below will force you to install the "getPlus" Adobe Download Manager. Also be sure to uncheck the McAfee Scanner if you do not want the link forcibly installed on your desktop
    #**''<u>Also see Download link</u>''': http://get.adobe.com/reader/otherversions/
    #**Also see: https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox (do not use the link on this page for downloading; you may get the troublesome "getplus" Adobe Download Manager (Adobe DLM) and other "extras")
    #*After the installation, start Firefox and check your version again.

  • Middle Click suddenly stopped working. I have tried installing older versions , but that does not work. Please note I do not have any addons installed.

    It just happened suddenly may be after updating to ff 7.
    I have tried Safe Mode.
    I have tried installing older version of FF.
    I never had Grease Monkey or Tab mix plus.

    What type of mouse? Or is that a laptop touchpad issue?<br />
    Does it use the Windows mouse driver, or did you install a mouse driver program? <br />''If it is more than a 2-button mouse with a scroll wheel, it probably needed to have its' own software installed.''

  • How to install a package that does not use DESTDIR?

    Hi All
    I am trying to create a PKGBUILD for a package called cantera.  This package uses the standard "configure", "make", and "make install" process; however,  "--prefix" is supported but DESTDIR is not used.  Unfortunately, this package is very large (many files) and "make install" install with absolute path names.  Is there any strategies for handling this situation?  An example of another package that handles this would be great.
    Thanks
    Kevin

    It doesn't work for me, I get the following error:
    /bin/install -c ijs_server_epsonepl -c /var/abs/local/epsoneplijs/pkg/usr/bin/ijs_server_epsonepl
    /bin/install: cannot create regular file `/var/abs/local/epsoneplijs/pkg/usr/bin/ijs_server_epsonepl': No such file or directory
    make: *** [install] Error 1
    ==> ERROR: Build Failed.  Aborting...
    So I have to create a folder called usr/bin in my pkg-folder, then it will work.
    But this is stupid, can't makepkg create those folders by itself?
    Hmm ok tried creating the folders and still the same error, here is my PKGBUILD:
    pkgname=epsoneplijs
    pkgver=0.4.0
    pkgrel=1
    pkgdesc="a Epson EPL printer driver for ghostscript"
    url="http://sourceforge.net/projects/epsonepl/"
    source=($pkgname-$pkgver.tgz)
    md5sums=('8bc16b9df5b2a4168abc773745b9b2d7')
    build() {
    cd $startdir/src/$pkgname-$pkgver
    ./configure --prefix=/usr
    make || return 1
    make prefix=$startdir/pkg/usr install
    Whats wrong, I don't get it... 

  • Firefox will not open some websites. It pops up a window - Connection has timed out. I have tried clearing history & cookies but that does not solve it

    Here is a list of a few of the websites I cannot open.
    www.adamrafferty.com/
    www.martintaylor.com/
    http://en.wikipedia.org/wiki/Tommy_Emmanuel
    http://georgebenson.com/
    http://www.amazon.com/
    I installed Internet Explorer and still had the problem.
    I do not have the problem with my Mac computer.
    IT my opinion that the problem started when I installed the latest
    version of firefox.

    Have you tried clearing the cache? See suggestions in this article --> https://support.mozilla.org/en-US/kb/websites-dont-load-troubleshoot-and-fix-errors
    The latest version of Firefox is 13.0.1; it appears that you are using Firefox 12.
    *https://support.mozilla.org/en-US/kb/Updating%20Firefox
    *https://support.mozilla.org/en-US/kb/find-what-version-firefox-you-are-using
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    '''''EDIT (Added):
    Clear the Network Cache --> https://support.mozilla.org/en-US/kb/clear-cache-delete-temporary-files-fix-issues
    To clear similar items in IE, use the "Internet Options"

  • Rsh - connecting using user name that does not exist on remote computer

    hi
    is it possible to connect to a remote computer as, for example John, if user account John does not exist on the remote computer but is listed in .rhosts?
    this is what i have written in .rhosts on the remote computer ( Work ):
    home root
    home John
    when I connect as root:
    rlogin -l root Work
    everythings fine, but when I try to connect as John I get the incorrect login message
    I know the message above probably answers my question, but I want to be sure

    If the user id exists, you can bypass the authentication with .rhosts or /etc/hosts.equiv files; but you can't login to a remote machine as an anonymous user.

Maybe you are looking for