LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-26-2010, 04:25 PM   #1
rtoney5
Member
 
Registered: Oct 2007
Location: FL, US
Distribution: Ubuntu MintLinux, ChromeOS, Parted Magic, PCOS OpenWorkstation, OpenSuse-11
Posts: 139

Rep: Reputation: 24
How do you Configure GlassFish-V2 to work with apache's Port 80?


I've searched the web and couldn't find anything simple to configure GlassFish-v2(port 8080) to use Apache's Port 80. Similar to how tomcat's 8080 port workds with mod_jk.

Anyone have a sample configuration file of GlassFish or Apache's mod_jk that they have working?
Thanks,
 
Old 06-27-2010, 02:17 AM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
Why don't you use v3 instead ? v2 doesn't support mod_jk.
http://javablog.co.uk/2009/12/26/tom...ive-glassfish/
http://www.packtpub.com/article/conf...y-in-glassfish
 
Old 07-07-2010, 12:40 PM   #3
rtoney5
Member
 
Registered: Oct 2007
Location: FL, US
Distribution: Ubuntu MintLinux, ChromeOS, Parted Magic, PCOS OpenWorkstation, OpenSuse-11
Posts: 139

Original Poster
Rep: Reputation: 24
Hey Thanks.
I'm using NetBeans 6.5 because it has the Visual JSF feature. If I used GlassFish Version #2, where could I find a link to help configure GlassFish-v2(port 8080) to use Apache's Port 80?

Thanks again.
 
Old 07-07-2010, 12:55 PM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

I had a bookmark for this in Sun's blogs, but the guy who wrote it has left Sun (now Oracle), so the page was gone.
Anyway I managed to find it in internet archives. Hope that helps.

Regards
 
Old 07-07-2010, 01:15 PM   #5
rtoney5
Member
 
Registered: Oct 2007
Location: FL, US
Distribution: Ubuntu MintLinux, ChromeOS, Parted Magic, PCOS OpenWorkstation, OpenSuse-11
Posts: 139

Original Poster
Rep: Reputation: 24
My Aplogies smoker, I didn't read the links you posted before I replied earlier. I will use Glassfish V3 if it NetBeans 6.5 will allow it. The link below you had is starting to refresh my memory on the Apache and Mod_jk setup, but did I need to setup a separate Virtual Host in the /etc/apache/sites-available and soft link in /etc/apache/sites-enabled directory?
http://javablog.co.uk/2009/12/26/tom...ive-glassfish/

Was wondering if I could just add the listen to port 8009 in the Virtual Host similar to what I have pasted below?
I think that's the part I keep getting stuck on is how to setup the Virtual Host properly for sites that will use glassfish.

<VirtualHost *:80>
ServerName webapp1.com

ServerAlias webapp1.com
ServerAdmin webmaster@localhost

DocumentRoot /var/www/webapp1

Last edited by rtoney5; 07-07-2010 at 01:16 PM. Reason: removed a bad line in Virtual Host Clause.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How do you Configure GlassFish-V2 to work with apache's Port 80? rtoney5 Linux - Software 1 07-15-2010 01:09 PM
Cannot install glassfish on debian Lenny x64 pliqui Linux - Server 1 01-13-2010 10:33 PM
Glassfish CLI156 error pliqui Linux - Server 0 06-08-2009 12:20 PM
Regarding CPU Utilization of Glassfish in solaris rajaniyer123 Solaris / OpenSolaris 2 03-24-2008 06:32 PM
Need an UDDI server to publish my WS in glassfish juanctes Programming 2 12-16-2007 01:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration