LinuxQuestions.org
Register a domain and help support LQ
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
 
LinkBack Search this Thread
Old 06-26-2010, 05:25 PM   #1
rtoney5
Member
 
Registered: Oct 2007
Location: FL, US
Distribution: Ubuntu MintLinux-XFCE, Mint7, Parted Magic, PCOS OpenWorkstation, OpenSuse-11
Posts: 130

Rep: Reputation: 17
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, 03:17 AM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15
Posts: 2,236

Rep: Reputation: 241Reputation: 241Reputation: 241
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, 01:40 PM   #3
rtoney5
Member
 
Registered: Oct 2007
Location: FL, US
Distribution: Ubuntu MintLinux-XFCE, Mint7, Parted Magic, PCOS OpenWorkstation, OpenSuse-11
Posts: 130

Original Poster
Rep: Reputation: 17
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, 01:55 PM   #4
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 9,199

Rep: Reputation: 869Reputation: 869Reputation: 869Reputation: 869Reputation: 869Reputation: 869Reputation: 869
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, 02:15 PM   #5
rtoney5
Member
 
Registered: Oct 2007
Location: FL, US
Distribution: Ubuntu MintLinux-XFCE, Mint7, Parted Magic, PCOS OpenWorkstation, OpenSuse-11
Posts: 130

Original Poster
Rep: Reputation: 17
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 02:16 PM. Reason: removed a bad line in Virtual Host Clause.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 02:09 PM
Cannot install glassfish on debian Lenny x64 pliqui Linux - Server 1 01-13-2010 11:33 PM
Glassfish CLI156 error pliqui Linux - Server 0 06-09-2009 09:44 PM
Regarding CPU Utilization of Glassfish in solaris rajaniyer123 Solaris / OpenSolaris 2 03-24-2008 07:32 PM
Need an UDDI server to publish my WS in glassfish juanctes Programming 2 12-16-2007 02:39 PM


All times are GMT -5. The time now is 01:04 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration