Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 189597
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T16:11:09+00:00 2026-05-11T16:11:09+00:00

In response to this error where pages are delivered incorrectly , we’re considering a

  • 0

In response to this error where pages are delivered incorrectly, we’re considering a switch from Apache + Tomcat to Glassfish. This is inspired not by features, but by frustration with a fault that just won’t go away.

The questions are:

  • Should we use Glassfish in cooperation with Apache, or replace Apache entirely? The interface between Apache and Tomcat is clearly somehow connected to the error we’re seeing, and the last thing we need is to have the same problem turning up again. On the flip side, we will have need of PHP, which Apache is already set up to handle.

  • Should we use Glassfish 2 or 3? Version 3 seems to be a complete rewrite, and comments here and elsewhere suggests that a lot of people are sticking with 2.

  • How well can Apache and Glassfish cooperate on the same server? For example, Apache could simplely ProxyPass all requests to selected domains over to Glassfish (as opposed to the much more specific proxying to Tomcat that it’s doing at the moment).

  • Is there an easier way? I’d hate to do all this work for nothing.

  • Does this question belong on serverfault.com?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T16:11:10+00:00Added an answer on May 11, 2026 at 4:11 pm

    In the project I’m working on we have changed from Tomcat to Glassfish because of the need for a appserver with JMS.

    Should we use Glassfish in cooperation
    with Apache, or replace Apache
    entirely?

    Strictly speaking you don’t need Apache in front. Glassfish has some configuration options to create virtual domains like you get from Apache. More information here. I guess this depends on your needs. Glassfish do support mod_jk module in Apache in front of Glassfish. We use mod_jk.

    Should we use Glassfish 2 or 3?
    Version 3 seems to be a complete
    rewrite

    According to the roadmap, Glassfish 3 will not be released until the end of September 2009, and even then it doesn’t support features such as High Availability clustering before 3.1 comes out. Some info here. So personally I would have waited for 3.1, but that’s just me 🙂

    How well can Apache and Glassfish cooperate on the same server?

    There’s no problem using Glassfish and Apache on the same server

    Is there an easier way? I’d hate to do all this work for nothing.

    Yes. Using Glassfish own http and virtual host configuration, but again it depends on your needs.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If i have this json response {error:repeated} Why the alert is not showed? It
$.get($(this).attr('rel'), function(response){}, 'script') .error(function(){ alert('this failed')}); I get. .error is not a method .
I get this response: {success:true,errorCode:-1,error:} No HTML inside the JSON, but the js say
I've got this response from JSOn web service: categoria = ( { id_categoria =
I am trying to use custom error pages using redirects in IIS7. This is
If my cookie is set like this: Response.Cookies(Employees)(UserID) = 43 How do I get
i am getting the JSON response like this : [ {IndexID:1,IndexName:Consumer Confidence Index(CCI),IndexValue:34.79,Month:10,PercentageChanged:0,Position:0,Year:2011}, {IndexID:1,IndexName:Consumer
I have stored the XML path to items in a string like this: response->items->item
$('.chat').submit(function() { $.post(, $(this).serialize(), function(response) { $(this).closest('.stake_chat').prepend(???); }); return false; }); Where ??? is
I have this JSON response string: {d:{\ID_usuario\:\000130\,\Nombre\:null,\Vipxlo\:0,\Provmun\:null,\Descuentos\:null,\Listaviplocal\:null}}` With this code: - (void)connectionDidFinishLoading:(NSURLConnection *)connection {

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.