Re: Resin 3.1.9, Apache 2.2.16 and mod_caucho?

2010-10-20 Thread Andy Wodfer
Got mod_caucho.so installed. The makefile only refers to Apache 20 while I am 
running 22. I changed the path in the Makefile to /usr/ports/www/apache22 and 
the compile arg to yes and it installed fine. Will test now.

Cheers,
Andy

---
Mvh/Rgds,
Andreas Wideroe 


Den 14. okt. 2010 kl. 21:20 skrev Andy Wodfer :

> On Thu, Oct 14, 2010 at 7:56 PM, Michael Powell  
> wrote:
> Christer Solskogen wrote:
> 
> [snip]
> >>> > Both Apache (port 80) and Resin3.1 (port 8080) runs fine alone.
> >>> >
> >>>
> >>> You probably have that module already installed. It comes with
> >>> www/resin3 according to the Makefile.
> >>>
> >>
> >> Don't think so. locate (updated) and find only shows these:
> >>
> >> ./tmp/caucho
> >> ./usr/local/resin3/webapps/resin-doc/WEB-INF/classes/com/caucho
> >> ./usr/local/resin3/webapps/resin-doc/WEB-INF/xsl/caucho
> >> ./usr/local/resin3/webapps/resin-doc/examples/amber-basic/WEB-
> INF/classes/com/caucho
> >>
> >
> > You might need to have apache[2|22] installed first.
> >
> >
> 
> You do need Apache installed first as apxs is used to build the mod_caucho
> module. Install Apache by the ports system as you normally would. See the
> 'Compiling mod_caucho.so' section here:
> 
> http://www.caucho.com/resin-3.1/doc/install-apache.xtp
> 
> If the configure script doesn't/can't find apxs automagically use the CLI
> switch and provide it with the location. It should be able to find it.
> 
> Then config resin.conf and httpd.conf accordingly.
> 
> Thanks Mike!
> 
> Will try that and report back.
> 
> Cheers,
> Andy 
> 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Resin 3.1.9, Apache 2.2.16 and mod_caucho?

2010-10-14 Thread Tim Kellers

 On 10/14/10 12:11, Christer Solskogen wrote:

On Thu, Oct 14, 2010 at 3:07 PM, Andy Wodfer  wrote:

On Thu, Oct 14, 2010 at 1:06 PM, Christer Solskogen<
christer.solsko...@gmail.com>  wrote:


On Thu, Oct 14, 2010 at 10:16 AM, Andy Wodfer  wrote:

Hi,
I'm trying to install Resin together with Apache and according to all
documentation I can find I'm supposed to compile the mod_caucho and

include

this in the Apache httpd.conf,  but I can't find any reference to

mod_caucho

in my ports, system or compile options.

Is the documentation outdated or can anyone give me some pointers as to

how

I can make requests to Java sites go through Apache (using virtual

hosts)?

Ie. http://caucho.com/resin-3.1/doc/install-apache.xtp

Both Apache (port 80) and Resin3.1 (port 8080) runs fine alone.


You probably have that module already installed. It comes with
www/resin3 according to the Makefile.


Don't think so. locate (updated) and find only shows these:

./tmp/caucho
./usr/local/resin3/webapps/resin-doc/WEB-INF/classes/com/caucho
./usr/local/resin3/webapps/resin-doc/WEB-INF/xsl/caucho
./usr/local/resin3/webapps/resin-doc/examples/amber-basic/WEB-INF/classes/com/caucho


You might need to have apache[2|22] installed first.


After I built and installed Resin (with make WITH_APACHE2="YES" install) 
and followed the config instructions in the pkg_messages), I  cd'd to:
/usr/ports/www/resin3/work/resin-3.1.9/modules/c/src/apache2/.libs and 
copied mod_caucho.so to /usr/local/libexec/apache22


I restarted apache and have this output from nmap -A localhost:80

/tcp   open  http   Apache httpd 2.2.16 ((FreeBSD) mod_ssl/2.2.16 
OpenSSL/0.9.8n DAV/2 PHP/5.2.14 with Suhosin-Patch Resin/3.1.9)
|_http-methods: No Allow or Public header in OPTIONS response (status 
code 503)

|_html-title: 503 Service Temporarily Unavailable

and

8080/tcp open  http   Caucho Resin JSP engine 3.1.9
|_http-methods: No Allow or Public header in OPTIONS response (status 
code 200)

|_html-title: Resin® Default Home Page
|_http-open-proxy: Proxy might be redirecting requests
Device type: general purpose
Running: FreeBSD 8.X
OS details: FreeBSD 8.0-BETA2 - 8.0-RELEASE
Network Distance: 0 hops
Service Info: Host: beta.maestro; OSs: Unix, FreeBSD

It looks like manually copying those files does get the server working 
both standalone and in aoache22.


Tim Kellers
NJIT







___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Resin 3.1.9, Apache 2.2.16 and mod_caucho?

2010-10-14 Thread Andy Wodfer
On Thu, Oct 14, 2010 at 6:11 PM, Christer Solskogen <
christer.solsko...@gmail.com> wrote:

> >> > Both Apache (port 80) and Resin3.1 (port 8080) runs fine alone.
>
>
> You might need to have apache[2|22] installed first.
>

Apache was installed first.

/Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Resin 3.1.9, Apache 2.2.16 and mod_caucho?

2010-10-14 Thread Tim Kellers

 On 10/14/10 13:09, Tim Kellers wrote:

 On 10/14/10 12:11, Christer Solskogen wrote:

On Thu, Oct 14, 2010 at 3:07 PM, Andy Wodfer  wrote:

On Thu, Oct 14, 2010 at 1:06 PM, Christer Solskogen<
christer.solsko...@gmail.com>  wrote:

On Thu, Oct 14, 2010 at 10:16 AM, Andy Wodfer  
wrote:

Hi,
I'm trying to install Resin together with Apache and according to all
documentation I can find I'm supposed to compile the mod_caucho and

include

this in the Apache httpd.conf,  but I can't find any reference to

mod_caucho

in my ports, system or compile options.

Is the documentation outdated or can anyone give me some pointers 
as to

how

I can make requests to Java sites go through Apache (using virtual

hosts)?

Ie. http://caucho.com/resin-3.1/doc/install-apache.xtp

Both Apache (port 80) and Resin3.1 (port 8080) runs fine alone.


You probably have that module already installed. It comes with
www/resin3 according to the Makefile.


Don't think so. locate (updated) and find only shows these:

./tmp/caucho
./usr/local/resin3/webapps/resin-doc/WEB-INF/classes/com/caucho
./usr/local/resin3/webapps/resin-doc/WEB-INF/xsl/caucho
./usr/local/resin3/webapps/resin-doc/examples/amber-basic/WEB-INF/classes/com/caucho 




You might need to have apache[2|22] installed first.


After I built and installed Resin (with make WITH_APACHE2="YES" 
install) and followed the config instructions in the pkg_messages), I  
cd'd to:
/usr/ports/www/resin3/work/resin-3.1.9/modules/c/src/apache2/.libs and 
copied mod_caucho.so to /usr/local/libexec/apache22


I restarted apache and have this output from nmap -A localhost:80

/tcp   open  http   Apache httpd 2.2.16 ((FreeBSD) mod_ssl/2.2.16 
OpenSSL/0.9.8n DAV/2 PHP/5.2.14 with Suhosin-Patch Resin/3.1.9)
|_http-methods: No Allow or Public header in OPTIONS response (status 
code 503)

|_html-title: 503 Service Temporarily Unavailable

and

8080/tcp open  http   Caucho Resin JSP engine 3.1.9
|_http-methods: No Allow or Public header in OPTIONS response (status 
code 200)

|_html-title: Resin® Default Home Page
|_http-open-proxy: Proxy might be redirecting requests
Device type: general purpose
Running: FreeBSD 8.X
OS details: FreeBSD 8.0-BETA2 - 8.0-RELEASE
Network Distance: 0 hops
Service Info: Host: beta.maestro; OSs: Unix, FreeBSD

It looks like manually copying those files does get the server working 
both standalone and in aoache22.


Tim Kellers
NJIT




I should have also mentioned that I added this line to my 
/usr/local/etc/apache22/httpd.conf:


LoadModule caucho_modulelibexec/apache22/mod_caucho.so

Below the already listed  LoadModule lines.

Tim Kellers
NJIT


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Resin 3.1.9, Apache 2.2.16 and mod_caucho?

2010-10-14 Thread Michael Powell
Christer Solskogen wrote:

[snip]
>>> > Both Apache (port 80) and Resin3.1 (port 8080) runs fine alone.
>>> >
>>>
>>> You probably have that module already installed. It comes with
>>> www/resin3 according to the Makefile.
>>>
>>
>> Don't think so. locate (updated) and find only shows these:
>>
>> ./tmp/caucho
>> ./usr/local/resin3/webapps/resin-doc/WEB-INF/classes/com/caucho
>> ./usr/local/resin3/webapps/resin-doc/WEB-INF/xsl/caucho
>> ./usr/local/resin3/webapps/resin-doc/examples/amber-basic/WEB-
INF/classes/com/caucho
>>
> 
> You might need to have apache[2|22] installed first.
> 
> 

You do need Apache installed first as apxs is used to build the mod_caucho 
module. Install Apache by the ports system as you normally would. See the 
'Compiling mod_caucho.so' section here:

http://www.caucho.com/resin-3.1/doc/install-apache.xtp

If the configure script doesn't/can't find apxs automagically use the CLI 
switch and provide it with the location. It should be able to find it.

Then config resin.conf and httpd.conf accordingly.

-Mike
  

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Resin 3.1.9, Apache 2.2.16 and mod_caucho?

2010-10-14 Thread Christer Solskogen
On Thu, Oct 14, 2010 at 3:07 PM, Andy Wodfer  wrote:
> On Thu, Oct 14, 2010 at 1:06 PM, Christer Solskogen <
> christer.solsko...@gmail.com> wrote:
>
>> On Thu, Oct 14, 2010 at 10:16 AM, Andy Wodfer  wrote:
>> > Hi,
>> > I'm trying to install Resin together with Apache and according to all
>> > documentation I can find I'm supposed to compile the mod_caucho and
>> include
>> > this in the Apache httpd.conf,  but I can't find any reference to
>> mod_caucho
>> > in my ports, system or compile options.
>> >
>> > Is the documentation outdated or can anyone give me some pointers as to
>> how
>> > I can make requests to Java sites go through Apache (using virtual
>> hosts)?
>> > Ie. http://caucho.com/resin-3.1/doc/install-apache.xtp
>> >
>> > Both Apache (port 80) and Resin3.1 (port 8080) runs fine alone.
>> >
>>
>> You probably have that module already installed. It comes with
>> www/resin3 according to the Makefile.
>>
>
> Don't think so. locate (updated) and find only shows these:
>
> ./tmp/caucho
> ./usr/local/resin3/webapps/resin-doc/WEB-INF/classes/com/caucho
> ./usr/local/resin3/webapps/resin-doc/WEB-INF/xsl/caucho
> ./usr/local/resin3/webapps/resin-doc/examples/amber-basic/WEB-INF/classes/com/caucho
>

You might need to have apache[2|22] installed first.


-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Resin 3.1.9, Apache 2.2.16 and mod_caucho?

2010-10-14 Thread Andy Wodfer
On Thu, Oct 14, 2010 at 1:06 PM, Christer Solskogen <
christer.solsko...@gmail.com> wrote:

> On Thu, Oct 14, 2010 at 10:16 AM, Andy Wodfer  wrote:
> > Hi,
> > I'm trying to install Resin together with Apache and according to all
> > documentation I can find I'm supposed to compile the mod_caucho and
> include
> > this in the Apache httpd.conf,  but I can't find any reference to
> mod_caucho
> > in my ports, system or compile options.
> >
> > Is the documentation outdated or can anyone give me some pointers as to
> how
> > I can make requests to Java sites go through Apache (using virtual
> hosts)?
> > Ie. http://caucho.com/resin-3.1/doc/install-apache.xtp
> >
> > Both Apache (port 80) and Resin3.1 (port 8080) runs fine alone.
> >
>
> You probably have that module already installed. It comes with
> www/resin3 according to the Makefile.
>

Don't think so. locate (updated) and find only shows these:

./tmp/caucho
./usr/local/resin3/webapps/resin-doc/WEB-INF/classes/com/caucho
./usr/local/resin3/webapps/resin-doc/WEB-INF/xsl/caucho
./usr/local/resin3/webapps/resin-doc/examples/amber-basic/WEB-INF/classes/com/caucho

/Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Resin 3.1.9, Apache 2.2.16 and mod_caucho?

2010-10-14 Thread Christer Solskogen
On Thu, Oct 14, 2010 at 10:16 AM, Andy Wodfer  wrote:
> Hi,
> I'm trying to install Resin together with Apache and according to all
> documentation I can find I'm supposed to compile the mod_caucho and include
> this in the Apache httpd.conf,  but I can't find any reference to mod_caucho
> in my ports, system or compile options.
>
> Is the documentation outdated or can anyone give me some pointers as to how
> I can make requests to Java sites go through Apache (using virtual hosts)?
> Ie. http://caucho.com/resin-3.1/doc/install-apache.xtp
>
> Both Apache (port 80) and Resin3.1 (port 8080) runs fine alone.
>

You probably have that module already installed. It comes with
www/resin3 according to the Makefile.


-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Resin 3.1.9, Apache 2.2.16 and mod_caucho?

2010-10-14 Thread Andy Wodfer
Hi,
I'm trying to install Resin together with Apache and according to all
documentation I can find I'm supposed to compile the mod_caucho and include
this in the Apache httpd.conf,  but I can't find any reference to mod_caucho
in my ports, system or compile options.

Is the documentation outdated or can anyone give me some pointers as to how
I can make requests to Java sites go through Apache (using virtual hosts)?
Ie. http://caucho.com/resin-3.1/doc/install-apache.xtp

Both Apache (port 80) and Resin3.1 (port 8080) runs fine alone.

uname -a
FreeBSD domain.domain.net 8.0-RELEASE-p4 FreeBSD 8.0-RELEASE-p4 #0: Mon Jul
12 20:22:27 UTC 2010
r...@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
i386

Cheers,
Andreas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"