Run as a Server app?

Hi,
I have written a proxy server for a Uni project in Java. It works fine using multi threads, but could do with going a bit faster. Someone mentioned to me that they thought you could run a java app as a server, ie by passing some command line arg to java when invoking. Does this mean anything to anyone?

If you want to increase the performance of your server program, see this http://javaperformancetuning.com/resources.shtml .
I don't think you could make a statndalone program as a server by command line arg. You need to write include some java.net.* methods to get it listen to client programs.
Rajesh

Similar Messages

  • HT4814 TCP and UDP ports on router firewall to allow server to server administration running mavericks and server app 3.0?

    What TCP or UDP ports do I need to open on my router firewall to allow server to server administration running maverics and server app 3.0?

    Also you may want to open tcp port 625 so that you can update the server's OD master.
    More info can be found here: http://support.apple.com/kb/ts1629  Well known TCP/UDP ports used by Apple Products.
    HTH
    - Leland

  • Mavericks Server App connect remotely

    I'm running OSX Mavericks Server App and when I'm working on the server remotely and I need to restart it I'm unable to connect to it after I restart and the server app doesn't start until the admin user is logged in.
    I'd like to be able to connect remotely even when the server is still no the login screen so I can login and start the server app.
    And more importantly I'd like to have the server app start automatically preferablly as a service so if anything causes the computer to reboot, the server app services startup immediately after without having to have any interaction.

    I'm running OSX Mavericks Server App and when I'm working on the server remotely and I need to restart it I'm unable to connect to it after I restart and the server app doesn't start until the admin user is logged in.
    I'd like to be able to connect remotely even when the server is still no the login screen so I can login and start the server app.
    And more importantly I'd like to have the server app start automatically preferablly as a service so if anything causes the computer to reboot, the server app services startup immediately after without having to have any interaction.

  • Yosemite 10.10.2 server app. FTP help. I have a program running in my local server enviroment that wants to FTP to my mac folder. It asks for the server , name, password, port and path. what are they?

    So I have set up a localhost area in my Mac. I have the new server.app and I am running yosemite 10.10.2 .
    I have a program running in my local server enviroment that wants to FTP to my mac .
    It asks for the server , name, password, port and path. what are they?
    I am pretty certain that the Serveris "localhost",
    Name is my macs name (like my-mac-min)
    password is "my login password"
    and they suggest port 21.
    But what is the file path, lets just say my site is set up http://localhost/siteftp and is actually at my Users/Sites/siteftp folder.
    Why cant this program connect to the mac.
    Is it because they are both operating in the same localhost enviroment,
    could it be my folder permissions are not correct on siteftp folder?
    Help please !

    I tried turning the computer off and then back on. The alerts don't show the notice to update as resolved. Hopefully this is not a problem or an indicator or another problem. Should I ignore or reload 10.10.1 from the app store to trigger a resolved check in a green circle?
    Interesting that I had to buy server software after my free Yosemite download. I would have hoped that the two pieces of software would have gone together without any complication. It is not positive to end up buying a problem. Ah well, time to move on.

  • Email Enabled lists - where to run the SMTP server? On APP server or on Exchange Server? Or somewhere else?

    Hi there,
    I need to setup EMail Enabled lists in SharePoint 2010 site. Where do I need to run the SMTP server? On APP server or on Exchange Server? Or somewhere else?
    Thank you so much.

    The SMTP service cannot run on the Exchange server. You can run it on a SharePoint server, or a stand alone server and share out the drop directory over SMB.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Server Error: Unexpected Error when running Napa SharePoint 2013 App

    I am getting an error "Server Error : Unexpected error" when I try to run a SharePoint 2013 app in Napa Development environment.
    It starts the process normally but after it shows "Uninstalling previous version" it throws the error. This has been happening since yesterday.Someone help

    I have a solution to the problem. I had a folder with a JSON file. On renaming the file to .txt, the app ran normally. I believe .json files are not supported in SharePoint hence the error.

  • How to display MICR font in XMLP where APPS is running on WINDOWS Server?

    Hi,
    I'm working on check printing reports with XMLP. In the output I need to print the check number in the last line of the page in MICR fonts. To do this I have followed the below steps...
    1. Installed the font (MICRe13b5.ttf) in local machine.
    2. Also placed this font in "\apps\ued02\applmgr\common\util\java\1.4\j2sdk1.4.2_04\lib\fonts" folder on the WINDOWS 2003 SERVER.
    3. We placed "xdo.cfg" in "\apps\ued02\applmgr\common\util\java\1.4\j2sdk1.4.2_04\lib\fonts" and "\apps\ued02\applmgr\common\util\java\1.4\j2sdk1.4.2_04\lib" folders.
    We made an entry for the MICR font in the xdo.cfg file.
    When we run the report it's showing the MICR Line in NORMAL FONT (ARIAL).
    Can someone help me how to display the MICR fonts where Oracle Apps running on WINDOWS server?

    The xdo.cfg contains below info.
    <config version="1.0.0" xmlns="http://xmlns.oracle.com/oxp/config/">
    <!-- Font setting -->
    <fonts>
    <font family="MICRe13b" style="normal" weight="normal">
    <truetype path="\apps\ued02\applmgr\common\util\java\1.4\j2sdk1.4.2_04\jre\lib\fonts\MICRe13b5.ttf"/>
    </font>
    </fonts>
    </config>

  • Initial workflow runs on WFE, then APP server, loses dependency?

    I'm still having issues with a WFE deployment to a farm with a WFE, an APP, and a SQL server. I'm trying to get my head around it. Workflow timer jobs run on the APP server, in accordance with Microsoft recommendations.
    User adds a list item
    When he / she submits their request, an Update workflow is kicked off -
    this part of the workflow I believe is still running on WFE because I see my printed messages in the ULS logs on the WFE
    If the request to update a list item is approved, the workflow kicks off a timer job.
    The SharePoint timer service then picks up the job on the APP server - I know this because I see my printed messages on the APP server instead of WFE.
    Submitted request passed on to a database on a different server.
    Getting the right solution has been challenging as I've been struggling to ask the right questions. I've confirmed that the SharePoint 2010 Timer Job is started on both servers with same account. I'm thinking that the wsp deploys something to the WFE,
    but not to the APP server. For #5 to happen, that something needs to live on the WFE (unless I want to change the service configuration and add Workflow Timer Jobs on both servers.)
    I'm thinking that the solution should be to manually add whatever those files are deployed via the wsp to the APP server as well.
    Scott

    Best practice states that Foundation Web runs on every server in the farm, as solutions must be built around the exception of not running Foundation Web on particular servers. You're encountering that issue, the solution wasn't built to accommodate for
    this type of architecture. There is little reason to not run Foundation Web on all servers, including performance.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Close Mac Server App still run?

    Hello, if I close my Mac Server application (I have a mac mini) will my websites still run? Or does the app HAVE to be open?

    You do not have to have Server.app running all the time. Your websites and all the other services will keep running in the background.
    In fact it is firstly best not to leave Server.app running all the time because it will after a period often get confused about the status of the services, and secondly this can be a security risk as it makes it available to anyone else. It is also for the same reason not necessary or desirable to even have a user logged in on the server. The services do not need this.

  • What client-style apps can you run on Leopard Server?

    I have a small network and therefore want my Leopard server to also support a small number of OSX applications: iTunes (including iTunes sharing), DVD Player, Safari, Mail, etc. to allow me to use it as an occasional workstation for small tasks.
    Is this possible? I assume Leopard Server has all the underpinnings of Leopard, but it's not clear on the Apple web site.
    Other than risking server stability, are there any other issues with doing this?
    Thanks.

    I would agree with the assessment that Tiger Server is roughly as stable as Tiger Client where running 'client' applications (I would refer to them as GUI-based apps run from the console). I can't comment on the stability of Leopard Server in the same regard; haven't had it out of the box long enough yet.
    You have to ask yourself how much stuff you really want to run on the server; if it's a business-critical server that you can't afford much downtime on, then installing a lot of applications will start to work against you. In addition to eating up processor and memory resources that could be used by Mail, Web service, etc., GUI-based apps may make your server somewhat more crash-prone.

  • How 2 get dynamic images where APPS running on WINDOWS SERVER?

    Hi,
    I'm working on check printing reports with XMLP. In the output I need to display the digital signature (dynamically) depending on the check amount.
    For this, I have followed below steps...
    Method 1:
    =========
    1. Placed the digital signature images (i.e., signature1.jpg, signature2.jpg, signature3.jpg etc.) in OA_MEDIA path i.e., "/apps/ued02/applmgr/common/java/oracle/apps/media" path.
    2. In the RTF Template, inserted a dummy image.
    3. In the "web" tab of the dummy image, entered the location & name of the image as "url:{concat('%[OA_MEDIA]%/','CF_IMAGE')}".
    where CF_IMAGE is the xml element/tag which holds the digital signature image name derived from the report dynamically depending on the check amount.
    This worked perfectly where Oracle Apps running on unix server.
    But, when I tried this where Oracle Apps running on WINDOWS SERVER, the digital signature is NOT getting displayed.
    Can someone help me how can I display digital signatures dynamically in XMLP reports where Oracle Apps running on WINDOWS SERVER?

    The xdo.cfg contains below info.
    <config version="1.0.0" xmlns="http://xmlns.oracle.com/oxp/config/">
    <!-- Font setting -->
    <fonts>
    <font family="MICRe13b" style="normal" weight="normal">
    <truetype path="\apps\ued02\applmgr\common\util\java\1.4\j2sdk1.4.2_04\jre\lib\fonts\MICRe13b5.ttf"/>
    </font>
    </fonts>
    </config>

  • I am running Mountain Lion Server, and the App Store indicates an upgrade to Server.App version 2.2.5. When I try to upgrade it will not install. Is that because OSX8 is no longer supported; and if so, is there an alternate source for this upgrade if

    Mountain Lion Server.app no longer supported?

    Probably  a long shot, but try resetting the App Store and Clearing Cookies.
    Reset       Learned from Old Toad
    Resume Interrupted Downloads
    Sign in Doesn’t Appear/Accept Text
    Software Update - Adjust
    Software Update – Stop it From bugging you
    App Store support. There is troubleshooting and a contact link.
    Support

  • I am unable to access internet when server app is running on mac mini

    I recently installed the server app on a mac mini.  With the app open, I am unable to connect to web pages through the mac mini.  I do not have this connection problem with the server app closed.  While I can see my IP address I am also not able to connect to the server.  Would love some advice how what I am doign wrong with the setup.
    My ISP is a DSL through century link, the mac mini is hooked to a cisco E4200 v2 wireless router.

    You'll need to go through the configuration of the server, sounds like something is off.
    Have a look at this site http://www.mountainlionserver.com as well as the Apple support articles.

  • Sharepoint 2013 search error - The search application 'Search Service Application 1' on server is not provisioned.Confirm that the Microsoft SharePoint Foundation Timer service and Central Administration service are running on the server.

    Hi All,
    I'm getting the below error in My SHarepoint 2013 search Administration page.
    Crawler background activity - The search application 'Search Service Application 1' on server ""  is not provisioned. Confirm that the Microsoft SharePoint Foundation Timer service and Central Administration service are running
    on the server.
    and when i click on Crawl Log and content source
    it throws the below error
    The search service is currently offline. Visit the Services on Server page in SharePoint Central Administration to verify whether
    the service is enabled. This might also be because an indexer move is in progress
    When i check the search status
    Get-SPEnterpriseSearchServiceInstance, it shows all the components are online.
    As of now search service application is online and search is working.But not sure why it throws the above error.
    I have restarted timer service,search service in services.msc and cleared the sharepoint cache as well.
    But no luck,This is happening in my prodcution environment.
    Any help will be greatly appreciated.
    There are the logs i have found
    05/23/2014 13:03:22.71 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:http://dca-app-617:90/_admin/search/listcontentsources.aspx?appid=e830c1b3%2Dc3e4%2D4097%2D85fd%2Daa5248346d2e) d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.71 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation Authentication Authorization agb9s Medium Non-OAuth request. IsAuthenticated=True, UserIdentityName=, ClaimsCount=0 d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.73 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation Logging Correlation Data xmnv Medium Site=/ d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.79 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Server Search Administration djs2 High [Forced due to logging gap, cached @ 05/23/2014 13:03:22.76, Original Level: VerboseEx] {0} d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.79 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Server Database 8acb High [Forced due to logging gap, Original Level: VerboseEx] Reverting to process identity d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.80 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Server Search Administration djj1 High Unable to find application 'b9c8106c-c7ed-4eb3-96c9-ae1881ffb695' d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Server Search Administration djj1 High Unable to find application 'b9c8106c-c7ed-4eb3-96c9-ae1881ffb695' d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation General 8nca Medium Application error when access /_admin/search/listcontentsources.aspx, Error=The search service is currently offline. Visit the Services
    on Server page in SharePoint Central Administration to verify whether the service is enabled. This might also be because an indexer move is in progress.   at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.ErrorHandler(Object
    sender, EventArgs e)     at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.OnError(EventArgs e)     at System.Web.UI.Page.HandleError(Exception e)     at System.Web.UI.Page.ProcessRequestMain(Boolean
    includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()    
    at System.Web.UI.Page.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep
    step, Boolean& completedSynchronously) d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation Runtime tkau Unexpected Microsoft.SharePoint.SPException: The search service is currently offline. Visit the Services on Server page in SharePoint Central
    Administration to verify whether the service is enabled. This might also be because an indexer move is in progress.    at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.ErrorHandler(Object sender, EventArgs e)    
    at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.OnError(EventArgs e)     at System.Web.UI.Page.HandleError(Exception e)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,
    Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()    
    at System.Web.UI.Page.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep
    step, Boolean& completedSynchronously) d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation General ajlz0 High Getting Error Message for Exception Microsoft.SharePoint.SPException: The search service is currently offline. Visit the Services on
    Server page in SharePoint Central Administration to verify whether the service is enabled. This might also be because an indexer move is in progress.     at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.ErrorHandler(Object
    sender, EventArgs e)     at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.OnError(EventArgs e)     at System.Web.UI.Page.HandleError(Exception e)     at System.Web.UI.Page.ProcessRequestMain(Boolean
    includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()    
    at System.Web.UI.Page.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep
    step, Boolean& completedSynchronously) d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation General aat87 Monitorable  d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation DistributedCache ah24q Unexpected SPDistributedCachePointerWrapper::InitializeDataCacheFactory - No cache hosts are present in the farm. d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation DistributedCache ah24w Unexpected Unexpected Exception in SPDistributedCachePointerWrapper::InitializeDataCacheFactory for usage 'DistributedViewStateCache'
    - Exception 'System.InvalidOperationException: SPDistributedCachePointerWrapper::InitializeDataCacheFactory - No cache hosts present in the farm.     at Microsoft.SharePoint.DistributedCaching.SPDistributedCachePointerWrapper.InitializeDataCacheFactory()'. d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation General ajb4s Monitorable ViewStateLog: Failed to write to the velocity cache:
    http://dca-app-617:90/_admin/search/listcontentsources.aspx?appid=e830c1b3-c3e4-4097-85fd-aa5248346d2e d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:http://dca-app-617:90/_admin/search/listcontentsources.aspx?appid=e830c1b3%2Dc3e4%2D4097%2D85fd%2Daa5248346d2e)).
    Execution Time=109.695855199474 d4c6939c-b10d-4000-6d95-14caeefe67df
    Anil Loka

    Please try below mentioned steps:
    1. Central Administration > Monitoring > Review job definitions > Look for following timer job "Application Server Administration Service Timer Job" > Disable
    2. Then open windows administrative services (services.msc), stop SharePoint Timer Service
    3. Clear SharePoint Timer configuration cache by following steps mentioned in below blog:
    http://blogs.msdn.com/b/jamesway/archive/2011/05/23/sharepoint-2010-clearing-the-configuration-cache.aspx
    4. Start SharePoint Timer Service and give it a few seconds so that the new XML files from the location you deleted then are re-populated.
    5.Central Administration > Monitoring > Review job definitions > Look for following timer job "Application Server Administration Service" Timer Job > Enable
    Please ensure that you mark a question as Answered once you receive a satisfactory response.

  • Error in running oracle report on APPS due to print style

    Hi
    i have an oracle report which displays about 550 rows of data...When i try to run it with oracle apps i selelect landwide but i get an error as the defined style can not print that much amount of rows.Is there any toher style which prints this many amount of rows or i have to create a new print style.
    thanks
    isha
    Edited by: 791666 on Aug 30, 2010 8:33 AM

    Please tell us about your product, version and Application Server type. You may also want to note that Oracle Apps is different from Oracle Application Server .
    Also intriguing is the error you report. Where and what exact error do you get? Error codes/messages need to be reported exactly (not paraphrased).
    Was that in displaying the info or in printing it to a printer?

Maybe you are looking for