How is performance of Appache Web Server  + Tomcat?

I am wondering how the performance of Appache web server + Tomcat => Java enabled web server is ?
such as handling multiple users, heavy web traffic, JSP-JavaBean performance...in a real industrial setting?
If "Appache web server + Tomcat" is an excellent choice, why companies still spend big bucks on things like WebLogic, JRun, etc?
Thanks in advance for any light thrown on this topic.
--Tim                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Thanks for your reply. I think that I did not make myself clear. I meant that if a small company just wants to build a web application for internal/intranet use (which only utilizes JSP/JavaBean and Servlet features). No EJB, no JMS, etc. Will Appache web server + Tomcat suffice, say for scores of users to access this application concurrently?
Thanks again.
--Tim                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • How do I get Apache web server working ...

    How do I get Apache web server working on my MacBook Pro, which is running Leopard 10.5.8?
    When I enter 'http://localhost/~username/' (without the quote marks) as a URL in my Firefox browser on the MacBook, I do not see any result at all(!). I do have Web Sharing on in System Preferences on that machine. But the browser does nothing whatever for that URL ...
    On my other computer, an iMac running Leopard 10.5.8, when I enter 'http://localhost/~username/' I see the default "Your Website Here" page. That same default page is in fact the index.html file I expect to see on the MacBook Pro. But it isn't getting invoked for some reason. Nothing is happening ...
    When on the iMac I try 'http://10.0.1.18/~username/' (10.0.1.18 is the local IP address I see under 'Web Sharing: On' on the MacBook) I get "Unable to connect: Firefox can't establish a connection to the server at 10.0.1.18."
    When on the MacBook I try 'http://10.0.1.5/~username/' (10.0.1.5 is the local IP address I see under 'Web Sharing: On' on the MacBook) I see the default "Your Website Here" page.
    It is the same on my iPhone: Using the same local IP addresses and usernames, Safari can see the index.html page on my iMac but not on my MacBook.
    It looks as if Apache is not working on the MacBook, while on the iMac it works fine.
    On the MacBook I can see (after I use 'defaults write com.apple.finder AppleShowAllFiles TRUE' in Terminal) a /private/etc/apache2/ directory with what look to be(?) the usual contents. So it looks like Apache is duly installed, as far as I can tell.
    On the MacBook I don't see a file at /private/var/log/apache2/error_log, which is the location for 'ErrorLog' given in the httpd.conf file.
    That about exhausts my understanding of how to get a handle on my problem.
    Any advice or suggestions from those who have more expertise with Apache will be much appreciated ...

    Okai, so we are getting somewhere, but not quit there yet :-)
    I opened the Kenneth.conf file using the command: vi Kenneth.conf
    This is what it said:
    <Directory "/Users/Kenneth/Sites/">
    Options Indexes Multiviews
    AllowOverride AuthConfig Limit
    Order allow,deny
    Allow from all
    </Directory>
    "Kenneth.conf" [readonly] 6L, 139C
    I therefore changed the AllowOverride from AuthConfig Limit to None, which was the only difference from what you posted above. Something did change, when I tried to open XAMPP it prompted me a password, but Apache still wont start :-/

  • Publishing to Appache Web Server

    I need help publishing a site to my appache web server.  I keep getting error messages when I try.  I've attempted with FTP, SFTP and WebDav I keep getting that it can't connect or that the server actively refused the connection.  I want to make sure I used the correct setting in dreamweaver.

    If all of your credentials are correct, Server Name/IP Address, Username, Password, Root Directory and it's still not connecting, I would try toggling the Passive FTP checkbox.
    If you still can't connect in DW, try downloading a third party FTP program like Filezilla (free) and uploading there. If the third party app doesn't work either, there is likely a problem with your credentials and you would need to contact your hosting provider to straighten it out.

  • # of Connections between Web Server (Tomcat) and Weblogic AppServer

    Hi guys,
              does anybody know how many connections are used between a TomCat WebServer and the Weblogic ApplicationServer?
              - One?
              - One per active browser-user?
              - Configurable? (freely, in some ranges, which values are recommandable?)
              Does anybody has some links to related documentation maybe?
              Answers would be very helpful.
              Thanx in advance!
              Markus
              

    Hi,
    While not an exact solution to your problem, I seem to recall a similar issue, not with this web server though, but similar still. As far as I recall, the problem was related to the loading order of the library files and overlapping class files within those libraries. I think it was an issue with j2ee.jar/javaee.jar and jbossall-client.jar.
    For the standalone test, you have probably checked the following, but check again :)
    - Exact same JDK
    - Libraries in the web server lib directory
    - Libraries in application/WEB-INF/lib
    - Loading order
    You might also want to check how war file class loading is done in the web server sp6.
    Other links of interest:
    [javax.xml.soap.SOAPException known versions|http://www.jarfinder.com/index.php/java/info/javax.xml.soap.SOAPException]
    Cheers,
    Øyvind

  • How do I use Sun Web Server 7.0u1 reverse proxy to change public URLs?

    Some of our installations use the Sun Web Server 7.0 (update 1, usually)
    for hosting some of the public resource and reverse-proxying other parts
    of the URI namespace from other backend servers (content, application
    and other types of servers).
    So far every type of backend server served a unique part of the namespace
    and there was no collision of names, and the backend resources were
    published in a one-to-one manner. That is, a backend resource like, say,
    http://appserver:8080/content/page.html would be published in the internet
    as http://www.publicsite.com/content/page.html
    I was recently asked to research whether we can rename some parts of
    the public URI namespace, to publish some or all resources as, say,
    http://www.publicsite.com/data/page.html while using the same backend
    resources.
    Another quest, possibly related in solution, was to make a tidy url for the
    first page the user opens of the site. That is, in the current solution when
    a visitor types the url "www.publicsite.com" in his or her browser, our web
    server returns an HTTP-302 redirect to the actual first page URL, so the
    browser sends a second request (and changes the URL in its location bar).
    One customer said that it is not "tidy". They don't want the URL to change
    right upon first rendering the page. They want the root page to be rendered
    instantly i the first HTTP request.
    So far I found that I can't solve these problems. I believe these problems
    share a solution because it relies on ability to control the actual URI strings
    requested by Sun Web Server from backend servers.
    Some details follow, now:
    It seems that the reverse proxy (Service fn="service-passthrough") takes
    only the $uri value which was originally requested by the browser. I didn't
    yet manage to override this value while processing a request, not even if
    I "restart" a request. Turning the error log up to "finest" I see that even
    when making the "service-passthrough" operation, the Sun Web Server
    still remembers that the request was for "/test" (in my test case below);
    it does indeed ask the backend server for an URI "/test" and that fails.
    [04/Mar/2009:21:45:34] finest (25095) www.publicsite.com: for host xx.xx.xx.83
    trying to GET /content/MainPage.html while trying to GET /test, func_exec reports:
    fn="service-passthrough" rewrite-host="true" rewrite-location="true"
    servers="http://10.16.2.127:8080" Directive="Service" DaemonPool="2b1348"
    returned 0 (REQ_PROCEED)My obj.conf file currently has simple clauses like this:
    # this causes /content/* to be taken from another (backend) server
    NameTrans fn="assign-name" from="/content" name="content-test" nostat="/content"
    # this causes requests to site root to be HTTP-redirected to a certain page URI
    <If $uri =~ '^/$'>
        NameTrans fn="redirect"
            url="http://www.publicsite.com/content/MainPage.html"
    </If>
    <Object name="content-test">
    ### This maps http://public/content/* to http://10.16.2.127:8080/content/*
    ### Somehow the desired solution should instead map http://public/data/* to http://10.16.2.127:8080/content/*
        Service fn="service-passthrough" rewrite-host="true" rewrite-location="true" servers="http://10.16.2.127:8080"
        Service fn="set-variable" set-srvhdrs="host=www.publicsite.com:80"
    </Object>
    I have also tried "restart"ing the request like this:
        NameTrans fn="restart" uri="/data"or desperately trying to set the new request uri like this:
        Service fn="set-variable"  uri="/magnoliaPublic/Main.html"Thanks for any ideas (including a statement whether this can be done at all
    in some version of Sun Web Server 7.0 or its opensourced siblings) ;)
    //Jim

    Some of our installations use the Sun Web Server 7.0 (update 1, usually)please plan on installing the latest service pack - 7.0 Update 4. these updates addresses potentially critical bug fixes.
    I was recently asked to research whether we can rename some parts of
    the public URI namespace, to publish some or all resources as, say,
    http://www.publicsite.com/data/page.html while using the same backend
    resources.> now, if all the resources are under say /data, then how will you know which pages need to be sent to which back end resources. i guess, you probably meant to check for /data/page.html should go to <back-end>/content/page.html
    yes, you could do something like
    - edit your corresponding obj.conf (<hostname>-obj.conf or obj.conf depending on your configuration)
    <Object name=¨default¨>
    <If $uri = ¨/page/¨>
    #move this nametrans SAF (for map directive - which is for reverse proxy within <if> clause)
    NameTrans.. fn=map
    </If
    </Object>
    and you could do https-<hostname>/bin/reconfig (dynamic reconfiguration) to check out if this is what you wanted. also, you might want to move config/server.xml <log-level> to finest and do your configuration . this way, you would get enough information on what is going on within your server logs.
    finally,when you are satisfied, you might have to run the following command to make your manual change into admin config repository.
    <install-root>/bin/wadm pull-config user=admin config=<hostname> <hostname>
    <install-root>/bin/wadm deploy-config --user=admin <hostname>
    you might want to check out this for more info on how you could use <if> else condition to handle your requirement.
    http://docs.sun.com/app/docs/doc/820-6599/gdaer?a=view
    finally, you might want to refer to this doc - which explains on ws7 request processing overview. this should provide you with some pointers as to what these different directives mean
    http://docs.sun.com/app/docs/doc/820-6599/gbysz?a=view
    >
    One customer said that it is not "tidy". They don't want the URL to change
    right upon first rendering the page. They want the root page to be rendered
    instantly i the first HTTP request.
    please check out the rewrite / restart SAF. this should help you.
    http://docs.sun.com/app/docs/doc/820-6599/gdada?a=view
    pl. understand that - like with more web servers - ordering of directives is very important within obj.conf. so, you might want to make sure that you verify the obj.conf directive ordering is what you want it to do..
    It seems that the reverse proxy (Service fn="service-passthrough") takes
    only the $uri value which was originally requested by the browser. I didn't
    yet manage to override this value while processing a request, not even if
    I "restart" a request. Turning the error log up to "finest" I see that even
    when making the "service-passthrough" operation, the Sun Web Server
    still remembers that the request was for "/test" (in my test case below);
    it does indeed ask the backend server for an URI "/test" and that fails.
    now, you are in the totally wrong direction. web server 7 includes a highly integrated reverse proxy solution compared to 6.1. unlike 6.1, you don´t have to download a separate plugin . however, you will need to manually migrate your 6.1 based reverse proxy settings into 7.0. please check out this blog link on how to set up a reverse proxy
    http://blogs.sun.com/amit/entry/setting_up_a_reverse_proxy
    feel free to post to us if you need any futher help
    you are probably better off - starting fresh
    - install ws7u4
    - use gui or CLI to create a reverse proxy and map one on one - say content
    http://docs.sun.com/app/docs/doc/820-6601/create-reverse-proxy-1?a=view
    if you don´t plan on using ws7 integrated web container (ability to process jsp/servlet), then you could disable java support as well. this should reduce your server memory footprint
    <install-root>/bin/wadm disable-java user=admin config=<hostname>
    <install-root>/bin/wadm create-reverse-proxy user=admin uri-prefix=/content server=<http://your back end server/ config=<hostname> --vs=<hostname>
    <install-root>/bin/wadm deploy-config --user=admin <hostname>
    now, you can check out the regular express processing and <if> syntax from our docs and try it out within <https-<hostname>/config/<hostname>-obj.conf> file and restart the server. pl. note that once you disable java, ws7 admin server creates <vs>-obj.conf and you need to edit this file and not default obj.conf for your changes to be read by server.
    >
    I have also tried "restart"ing the request like this:
    NameTrans fn="restart" uri="/data"
    ordering is very important here... you need to do this some thing like
    <Object name=default>
    <If not $restarted>
    NameTrans fn=restart uri from=/¨ uri=/foo.
    </If>

  • How do you switch between web server snapshot jpg and png modes?

    I read in another forum a posting by "NathanK" stating:
    "The snapshot feature of the web server can
    generate images either as png or jpg. In LabVIEW 8.6 and later, the
    default which is generated by the web publishing tool is the png
    format. In this mode everything happens in memory so there is no
    snapshot image file generated.
    In the jpg mode there is a
    temporary file, however it is not always the same file and the file is
    deleted after it is uploaded to the client. I would not recommend
    trying to use this programmatically.
    If you need more
    control over a snapshot of a front panel (and you are using 8.6), I
    would recommend making a custom web service that takes a picture of a
    VI's front panel and returns it to the client. Then you would have
    control over the image."
    I am currently using the web publishing tool snapshot feature with an EXE program written in LV8.6.  However, each time a browser accesses the html file, the EXE file's memory grows by 72KB (this happens with my custom EXE program and with LabVIEW.exe when running the VI in development mode).  I'm assuming this is the png that is generated each time a snapshot is taken, but the program never de-allocated the memory and the program eventually crashes.  I'm aslo assuming that if I switch to "JPG mode", the web server will generate a temporary file and eventually delete it, elminating the memory leak.  The problem is, I don't know how to change the modes from png (default) to jpg.

    I am and have been using the .snap function on many applications since LabVIEW 6.1.  It's very simple, easy to use, does exactly what I want it to do, and is still in the documentation of LabVIEW 8.6, 2009 and 2009 SP1 as being supported. 
    If I am not mistaken, don't you need to have the LabVIEW runtime engine on the target system to use embedded mode?  I don't want to have to try and keep everybody who wants to see a screenshot of my program to have to have a run-time engine installed.  For one reason, I don't know everybody who wants to monitor our system and they literally can be anywhere in the world if the VPN to our network.  Second, those who I do know would would have me install it for them.  Third, why go "backwards" in capability...everybody would ask me "Why do we have to do this now?..we never had to do it before", and I don't want to use my time/energy at work to explain why NI cannot fix a memory leak that has been identified in at least the last 3 versions of LabVIEW and is still not fixed. 
    I had been using either LV 6.1 or 7.1 for a good part of 10 years and had very few problems with them (BTW, DAQmx is the greatest thing every put on a computer EVER).  I finally make the transitioin and start using LV 8.6 on a major test platform last year, got to the very end of it and find this out.  <sigh!>
    It is funny (maybe not), but my work around feels like I just changed the floormats in my Toyota car to keep it from "crashing".
    However, if I am mistaken and you do NOT need to use LV runtime engine for embedded mode, ignore everything I wrote above and please let me know that this is the case and I will look into it.

  • How do you failover the web server?

    I have 2 servers running the web server on them. If one of them fails how do I reroute the users requests to the other one, seamlessly to the user? I am new to using the web server so any help, even remedial would help!! Thanks!

    Ya, thats part of the problem. Right now we are using Sun Cluster to provide a network resource that handles which web server is to handle the request. A virtual ip address so to speak. We'd like to stop using Sun Cluster as it's a bit unstable, ie reboots the cluster randomly without error messages or warnings. We'd like to just use the web server/application server clustering capabilities and eleviate the extra layer of complexity with Sun Cluster. I know Sun Cluster has a Web Server agent to do this, but that is why we're trying to not go down that road. It is starting to sound like we may have to though as buying additional hardware isn't an option.

  • How can I setup a web server with 200 web site

    Dear all,
    I am going to get a PowerMac X 10.5.8 and I would like to use it to setup a web server to host 200 account.
    However it is a chalenge because I never did a such work with mac and I would like to have some advice from us and particularely about that:
    * Bandwidth (What should take care with my Phone line provider)
    * Is there a web platform I should provide to my client, to let them to manage MySQL, FTP account, manage file as PLESK does
    * How should it set up my mac server to make it as a performent web server
    * Do you have some other recommandation, procedure
    The Mac server I might received have
    12G RAm
    2,8 Hrz (quad)
    RADI1 (260G) I am going to extend it
    many thank for you recommandation and advice

    This is a System Center Configuration Manager 2007 forum. You should post your question in a Windows forum although to my knowledge, there is nothing built-in to Windows to provide this capability and you will have to implement a third-party solution.
    Jason | http://blog.configmgrftw.com

  • How can I create a web server with Java?

    I was interested in working on a program that runs through it's own port on the server similar to webmin.. Basically I'd like a light-weight no thrills web-server for the base of my program I can tweak it later. How can I do this?

    -I agree! but you dont have to re-invent the
    wheel.....Sometimes it is fun to...You only say that because you are a (lovely) nerd :)I got promoted from a "geek" to a "nerd" :)
    I agree that it is fun to implement application
    servers etc, but you also have to think about the
    cost (if some one else than you is paying for your
    time)I get lots of "paid" free time occasionally. But I haven't got as far as implementing web servers (or application servers).

  • How can I make the web server work on port 80 and not 443. I can only access my website using https.

    On a Mac Mini server with OS X Lion 10.7.2, I am unalbe to get the web server working on port 80. It switches automatically to port 443 (https).
    This situation complicates the access to FileMaker Web publishing, as I don't want my clients having to use https.
    How can I change that? Does anyone know?
    Thanks for any reply

    in the server: I checked the SSL certificate. Tried several configuration.
    Well, that's a problem for a start.
    Your port 80 connection should NOT use SSL. Port 80 is the standard HTTP port, not HTTPS and most applications that connect to port 80 will not expect to use SSL
    If you want to run a site under both HTTP and HTTPS then you create two sites, one on port 80 without SSL and one on port 443 with SSL

  • How to -- Manually Configuring a Web Server? I am able to install web/applications servers on windows NT, there is no clear documentation on above topic.

    refer to /iplanet/ias6/ias/docs/admin/adplugin.html, --To Reconfigure an iPlanet Web Server
    How to view/modify connection between web server and application server..?

    What version you want to install.
    Refer this link or to download this PDF/HTML files.
    http://docs.iplanet.com/docs/manuals/ias/60/install/install.htm#998205

  • How to deploy flex in web server

    hi there.
         im newbie flex developer and im having problem in deploying my project in web server.

    Hi,
    When you deploy your application, you make it available to customers. Typically, you deploy the application as a SWF file on a web server so that users can access it by using an HTTP request to the SWF file.
    When you deploy the application's SWF file, you must also deploy all of the assets required by the application.
    Deploying an application for Flex SDK and Adobe® Flex® Builder® might require you to perform some or all of the following actions:
    Copy the application SWF file to your deployment server. As the previous example shows, you copy the application to webserver.example.com.
    Copy any asset files, such as icons, media files, or other assets, to your deployment server.
    Copy any RSLs to your web server or application server.
    Copy any SWF files for your module to your deployment server in the same directory structure as you used for your development environment.
    Copy any SWF files required to support Flex features, such as deep linking. For more information,
    Write a wrapper for the SWF file if you access it from an HTML, JSP, ASP, or another type of page.A deployed SWF file can encompass your entire web application, however it is often used as a part of the application. Therefore, users do not typically request the SWF file directly, but request a web page that references the SWF file. Flex Builder can generate the wrapper for you, or, you can write the wrapper.
    Create a crossdomain.xml file on the server for data service, if you directly access any data services outside of the domain that serves the SWF file.
    Following link will help you.
    http://livedocs.adobe.com/flex/3/html/help.html?content=introbd_5.html
    Thanks and Regards,
    Vibhuti Gosavi | [email protected] | www.infocepts.com

  • How to resolve error - 502 web server error ?

    Hello,
    Kindly consider following scenario: 
    Custom control is programmatically creating site using following code. Once site get created, it redirecting to its settings.aspx page:
    try
    SPSecurity.RunWithElevatedPrivileges(delegate()
    using (SPSite
    site1 = new
    SPSite(SPContext.Current.Site.ID))
    SPLongOperation.BeginOperation
    beginOperation = null;
    if (beginOperation ==
    null)
                             beginOperation =
    delegate(SPLongOperation
    longOperation)
                                 site1.WebApplication.Sites.Add(site1.RootWeb.Url 
                      + "/manPath/site1,
    Site1, "", 1033,TemplateName,
    __userLoginName, __userName,__userEmail);
                                 longOperation.End(site1.RootWeb.Url
    + "/manPath/site1/_layouts/settings.aspx");
    SPLongOperation.Begin(beginOperation);
    Same code works perfect at development machine, while in production it gives 502 web server errors.
    Please check below error text:
    502 - Web server received an invalid response while acting as a gateway or proxy server.
    There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server.
    Results in Development machine: site gets created and redirects to its site settings page as expected.
    Results in Production machine: During the process it throws 502 web server errors, while site has got created successfully.
    I am not sure why it happened, while previously it was working. I have feeling that may be redeployment should resolve the issue, but I want to know root cause of this issue!!
    Note :  the same settings page is working well, when I open it manually in production environment!
    Please let me know the approaches to resolve this issue? Also, let me know if you need any further information on same.
    Thank you to look at this issue !
    Kind Regards,
    Dipti Chhatrapati

    Hi, I have found the things where is the issue , but still I am looking for the resolution !
    To add further on above issue, I have observed as below :
    Client machine: Following
    error is getting throw when creating new  site. 
    502 - Web server received an invalid response while acting as a gateway or proxy server. 
    There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content
    server, it received an invalid response from the content server. 
    WFEs
    machine : Error is not getting display when creating new site.
    And hence , it looks like load balancing/IIS issue, however I am not sure how to resolve the same !! 
    Please let me know your thoughts !
    Thanks and Kind Regards,
    Dipti Chhatrapati

  • How to disable (his`de) Web Server Version Information

    Running sjsws 7.0u4 (and sjsws6.1) on SPARC Solaris 10 (10/08)
    How can I disable text that returns web server version information from sites such as Netcraft, etc.. on both these systems
    Thanks

    [http://wikis.sun.com/display/WebServer/faq_configuration#faq_configuration-17.HowtodisableWebServerfromdisplayingserverinformationwithintheresponseheader%3F|http://wikis.sun.com/display/WebServer/faq_configuration#faq_configuration-17.HowtodisableWebServerfromdisplayingserverinformationwithintheresponseheader%3F]

  • How can I reset my web server settings to factory default without reinstalling the operating system?

    I have a MacBook Air that has been upgraded over time from OS to OS. I'm currently running Yosemite.
    I don't have any issues with the computer, it is running fine. Over the years, however, I've tinkered around with the server in different ways (the apache and php that shipped with OS X, MAMP, and with NGINX) and when I went to get back into some development it seems as though there's some conflicts.
    What I'd love to do (assuming it is possible) is reset all of the web server's factory settings so I can just move forward from that point (Apache, PHP, MySQL, etc.).
    I saw there was a terminal command for OS X Server that allows you to reset all of the server settings to how it came from the factory.
    Is there a similar command that works for non-OS X Server or a utility that can restore the web server settings?

    there probably is a way, but the success rate would be fairly low. you say you don't want to reinstall the OS, why? you know that reinstalling it keeps all your files and settings as they are, while resetting system files? (OS X Mavericks: Reinstall OS X)

Maybe you are looking for

  • Lost mail in lion and air book

    My 4 month old Mac Air started to freeze intermittently.  Having been told at Tech Support "oh they do that", I went to the Genius Bar, passed all the hardware tests, and agreed to a wipe and restore of lion, secure in the knowledge I had backed ever

  • Storing class file into another folder

    can i compile a java program "abc.java" in folder one and its class file will be automatically created in folder two.

  • How to change WBS code to description in IM52

    Hi All, I am using Investment Management. I would like to distribute budget in IM52. but in IM52 it shows the WBS code not the wbs description, how to make it change to description ? Please help. Cheers, Nies

  • Can I duplicate current tab in a separate tab? I can do that in IE

    In IE, right click the tab, there will be an option to "Duplicate Tab". Does Firefox have this feature ?

  • Creating a sitemap

    I am trying to create a sitemap for submission to google to be crwaled etc etc. What is the simplest way to do this. Remember I am a numpty and instructions are best in short words with shorter sentences please. Many thanks Doug