You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by "Kenneth P. Turvey" <kt...@squeakydolphin.com> on 2008/03/26 23:39:51 UTC
Help installing geronimo
I'm trying to install Geronimo with Jetty on my VPS. I'm new to JEE and
would just like a system to play with, but I'm also replacing an existing
system so I have a few requirements that I'm trying to meet and I can't
seem to get it to work.
There are three names that I would like to have resolved to Geronimo:
www.squeakydolphin.com
kt.squeakydolphin.com
www.evolutionprograms.com
In addition the name www.evolutionaryprograms.com should just redirect to
www.evolutionprograms.com
I can set these to come in on different IPs if necessary, the current
nameserver configuration has www.evolutionprograms.com on its own IP with
www.evolutionaryprograms.com pointing to it.
I would like to be able to serve static content on these three pages
directly from Geronimo without running a separate instance of apache or
anything else. I'd like to easily make changes to this static content.
In addition, there are a few stand alone JSP pages I would like served
and a single .war file I would like to install.
For now, that's it. Unfortunately I can't seem to get even the static
content served correctly or the different domains even answering.
If someone could point me in the right direction, I would greatly
appreciate it.
--
Kenneth P. Turvey <kt...@squeakydolphin.com>
Re: Help installing geronimo
Posted by Jason Warner <ja...@gmail.com>.
um... wrong link for [1]. Try here :
http://cwiki.apache.org/GMOxDOC21/configuring-a-remote-apache-http-server.html
On Sat, Mar 29, 2008 at 10:37 AM, Jason Warner <ja...@gmail.com> wrote:
> If you wanted to deploy your static content directly into Geronimo, then
> you could do so by building a war containing that content and then deploying
> it. If that's what you want to do, then I can talk you through the
> process. I think we have another option here, though. It's possible to use
> Geronimo with the Apache server to run your application. There's two ways
> to do this and you can find documentation for both for Geronimo 2.1 here
> [1]. Doing this, you should be able to (at least with the mod_jk method)
> have your static content run on the HTTPd server and then have geronimo
> handle dynamic content. Since you would be using HTTP as your front end,
> the matter of virtual hosts would be handled by the HTTP server and there is
> some documentation on that here [2].
>
> I think this might be the most elegant solution to what you want to do.
> If you're looking to use only Geronimo without the HTTP server, then we're
> going to have to do some more digging. Hope this helps. Let me know if you
> have anymore questions
>
> [1]
> http://cwiki.apache.org/GMOxDOC21/configure-apache-httpd-with-jakarta-tomcat-connector-modjk.html
> [2] http://httpd.apache.org/docs/2.2/vhosts/
>
>
> On Sat, Mar 29, 2008 at 9:40 AM, Kenneth P. Turvey <
> kt-usenet@squeakydolphin.com> wrote:
>
> > On Sat, 29 Mar 2008 08:44:35 -0400, Jason Warner wrote:
> >
> > > Hi Kenneth,
> > >
> > > You are indeed in the right place. I'm afraid we're all a little
> > heads
> > > down with trying to get the 2.1.1 release out. I'm not too familiar
> > > with the area you're asking about but I'll see what I can do about
> > > helping. If anyone else has any ideas, feel free to jump in. Would
> > you
> > > mind providing some information though? Namely, what version of the
> > > server are you using? Also, do you have specific errors you're coming
> > > across when trying to deploy the static content? Please provide your
> > > deployment method or any errors so we might be able to help figure out
> > > why it isn't working.
> > >
> >
> > I've got the latest version of the server, jetty6-javaee5-2.1.
> >
> > I'm not getting any specific errors, but I don't really know where to
> > start. I can't find any documentation on deploying static content at
> > all. I assume I just drop it into a directory, but I don't know which
> > one. I'm also not sure about the other domains and how to handle that.
> > Where would the static content go for them?
> >
>
> > I'm also not sure about how to handle the virtual domains to begin with.
> > I'm not sure if I set them all up as virtual domains or not. I walked
> > through the docs on setting up virtual domains (with the tomcat version,
> > not jetty) and I was not successful. Is this stuff documented
> > somewhere? Is there a howto on doing this?
> >
> > I do appreciate your help.
> >
> >
> > --
> > Kenneth P. Turvey <kt...@squeakydolphin.com>
> >
> >
>
>
> --
> ~Jason Warner
--
~Jason Warner
Re: Help installing geronimo
Posted by Jason Warner <ja...@gmail.com>.
At this point, you probably know as much about both approaches as I do.
mod_jk seemed more configurable, though, and my personal preference has
always been to do a little more work for more flexibility. I don't know
what the advantages of either are, though.
On Mon, Mar 31, 2008 at 5:54 AM, Kenneth P. Turvey <
kt-usenet@squeakydolphin.com> wrote:
> On Mon, 31 Mar 2008 07:24:35 +0000, Kenneth P. Turvey wrote:
>
> > On Sat, 29 Mar 2008 10:37:08 -0400, Jason Warner wrote:
> >
> >> I think we have another option here, though. It's possible to use
> >> Geronimo with the Apache server to run your application.
> >> There's two ways to do this and you can find documentation for both
> >> for
> >> Geronimo 2.1 here [1]. Doing this, you should be able to (at least
> >> with the mod_jk method) have your static content run on the HTTPd
> >> server and then have geronimo handle dynamic content. Since you would
> >> be using HTTP as your front end, the matter of virtual hosts would be
> >> handled by the HTTP server and there is some documentation on that here
> >> [2].
>
> Is there some reason for using mod-jk over mod-proxy? I can't find a
> list of advantages/disadvantages for either setup.
>
> Thanks.
>
> --
> Kenneth P. Turvey <kt...@squeakydolphin.com>
>
>
--
~Jason Warner
Re: Help installing geronimo
Posted by "Kenneth P. Turvey" <kt...@squeakydolphin.com>.
On Mon, 31 Mar 2008 07:24:35 +0000, Kenneth P. Turvey wrote:
> On Sat, 29 Mar 2008 10:37:08 -0400, Jason Warner wrote:
>
>> I think we have another option here, though. It's possible to use
>> Geronimo with the Apache server to run your application.
>> There's two ways to do this and you can find documentation for both
>> for
>> Geronimo 2.1 here [1]. Doing this, you should be able to (at least
>> with the mod_jk method) have your static content run on the HTTPd
>> server and then have geronimo handle dynamic content. Since you would
>> be using HTTP as your front end, the matter of virtual hosts would be
>> handled by the HTTP server and there is some documentation on that here
>> [2].
Is there some reason for using mod-jk over mod-proxy? I can't find a
list of advantages/disadvantages for either setup.
Thanks.
--
Kenneth P. Turvey <kt...@squeakydolphin.com>
Re: Help installing geronimo
Posted by "Kenneth P. Turvey" <kt...@squeakydolphin.com>.
On Sat, 29 Mar 2008 10:37:08 -0400, Jason Warner wrote:
> If you wanted to deploy your static content directly into Geronimo, then
> you could do so by building a war containing that content and then
> deploying it. If that's what you want to do, then I can talk you
> through the process.
This seems a bit awkward. I've decided to just go with your later
discussion and install Apache.
> I think we have another option here, though. It's
> possible to use Geronimo with the Apache server to run your application.
> There's two ways to do this and you can find documentation for both for
> Geronimo 2.1 here [1]. Doing this, you should be able to (at least with
> the mod_jk method) have your static content run on the HTTPd server and
> then have geronimo handle dynamic content. Since you would be using
> HTTP as your front end, the matter of virtual hosts would be handled by
> the HTTP server and there is some documentation on that here [2].
I've got the apache part setup and working. Now I'm going to move onto
getting Geronimo to handle the dynamic content.
> I think this might be the most elegant solution to what you want to do.
> If you're looking to use only Geronimo without the HTTP server, then
> we're going to have to do some more digging. Hope this helps. Let me
> know if you have anymore questions
This is really what I would have preferred. I really feel like I'm
running two daemons to do the same thing now. I'm not sure why Apache is
necessary for what I'm trying to do. Oh well, if that's the way to
handle things.
I think I've got this worked out now. I do appreciate your help. Thank
you. I may still have more to ask you if I have problems deploying a war
file, but I think I can work that out. Thank you.
--
Kenneth P. Turvey <kt...@squeakydolphin.com>
Re: Help installing geronimo
Posted by Jason Warner <ja...@gmail.com>.
On Mon, Mar 31, 2008 at 12:06 PM, David Jencks <da...@yahoo.com>
wrote:
>
> On Mar 31, 2008, at 7:26 AM, Jason Warner wrote:
>
>
>
> On Mon, Mar 31, 2008 at 7:47 AM, Kenneth P. Turvey <
> kt-usenet@squeakydolphin.com> wrote:
>
> > On Sat, 29 Mar 2008 10:37:08 -0400, Jason Warner wrote:
> >
> > > If you wanted to deploy your static content directly into Geronimo,
> > then
> > > you could do so by building a war containing that content and then
> > > deploying it.
> >
> > Ok, I got this all working with Apache and I looked at it and decided
> > that this was all silly.
>
>
> Silly or not, it worked ;)
>
>
> > I'm just going to package my static content up
> > in a war file and install it that way. If you have any tips for the
> > best
> > way to handle this, please speak up.
>
>
> maven war plugin?
>
>
> >
> > Also, I saw that you don't really need to put them in a war, but can
> > just
> > deploy them in place. That's one of the reasons I decided to change my
> > mind on this.
> >
>
> For static content, you could indeed do hot deployment. You still need a
> deployment plan, though, so it's not too much different from deploying a war
> (in my opinion). You're just skipping the step where you create the war, as
> far as I understand it. I've never actually done a hot deploy myself,
> though. Here's a page that explains how to deploy on 2.1. It includes
> hot deployment farther down the page as well.
> http://cwiki.apache.org/GMOxDOC21/installing-and-removing-applications.html
>
>
> Hot deployment and in-place deployment are not the same! I'm not sure if
> hot deployment works with exploded war files or not, but IMO relying on
> random timing for the successful deployment of your app and the absence of
> definitive feedback on the success of a deployment make hot deployment a
> really poor choice.
>
> In place deployment of exploded wars makes a lot of sense during
> development although I'd tend to question it in a production system.
>
Whoops. My mistake.
>
> thanks
> david jencks
>
> Please let me know if you have further questions.
>
> >
> > I do appreciate your assistance in this matter.
> >
> >
> > --
> > Kenneth P. Turvey <kt...@squeakydolphin.com>
> >
> >
>
>
> --
> ~Jason Warner
>
>
>
--
~Jason Warner
Re: Help installing geronimo
Posted by David Jencks <da...@yahoo.com>.
On Mar 31, 2008, at 7:26 AM, Jason Warner wrote:
>
>
> On Mon, Mar 31, 2008 at 7:47 AM, Kenneth P. Turvey <kt-
> usenet@squeakydolphin.com> wrote:
> On Sat, 29 Mar 2008 10:37:08 -0400, Jason Warner wrote:
>
> > If you wanted to deploy your static content directly into
> Geronimo, then
> > you could do so by building a war containing that content and then
> > deploying it.
>
> Ok, I got this all working with Apache and I looked at it and decided
> that this was all silly.
>
> Silly or not, it worked ;)
>
> I'm just going to package my static content up
> in a war file and install it that way. If you have any tips for
> the best
> way to handle this, please speak up.
maven war plugin?
>
>
> Also, I saw that you don't really need to put them in a war, but
> can just
> deploy them in place. That's one of the reasons I decided to
> change my
> mind on this.
>
> For static content, you could indeed do hot deployment. You still
> need a deployment plan, though, so it's not too much different from
> deploying a war (in my opinion). You're just skipping the step
> where you create the war, as far as I understand it. I've never
> actually done a hot deploy myself, though. Here's a page that
> explains how to deploy on 2.1. It includes hot deployment farther
> down the page as well. http://cwiki.apache.org/GMOxDOC21/
> installing-and-removing-applications.html
>
Hot deployment and in-place deployment are not the same! I'm not
sure if hot deployment works with exploded war files or not, but IMO
relying on random timing for the successful deployment of your app
and the absence of definitive feedback on the success of a deployment
make hot deployment a really poor choice.
In place deployment of exploded wars makes a lot of sense during
development although I'd tend to question it in a production system.
thanks
david jencks
> Please let me know if you have further questions.
>
> I do appreciate your assistance in this matter.
>
>
> --
> Kenneth P. Turvey <kt...@squeakydolphin.com>
>
>
>
>
> --
> ~Jason Warner
Re: Help installing geronimo
Posted by Jason Warner <ja...@gmail.com>.
On Mon, Mar 31, 2008 at 7:47 AM, Kenneth P. Turvey <
kt-usenet@squeakydolphin.com> wrote:
> On Sat, 29 Mar 2008 10:37:08 -0400, Jason Warner wrote:
>
> > If you wanted to deploy your static content directly into Geronimo, then
> > you could do so by building a war containing that content and then
> > deploying it.
>
> Ok, I got this all working with Apache and I looked at it and decided
> that this was all silly.
Silly or not, it worked ;)
> I'm just going to package my static content up
> in a war file and install it that way. If you have any tips for the best
> way to handle this, please speak up.
>
> Also, I saw that you don't really need to put them in a war, but can just
> deploy them in place. That's one of the reasons I decided to change my
> mind on this.
>
For static content, you could indeed do hot deployment. You still need a
deployment plan, though, so it's not too much different from deploying a war
(in my opinion). You're just skipping the step where you create the war, as
far as I understand it. I've never actually done a hot deploy myself,
though. Here's a page that explains how to deploy on 2.1. It includes hot
deployment farther down the page as well.
http://cwiki.apache.org/GMOxDOC21/installing-and-removing-applications.html
Please let me know if you have further questions.
>
> I do appreciate your assistance in this matter.
>
>
> --
> Kenneth P. Turvey <kt...@squeakydolphin.com>
>
>
--
~Jason Warner
Re: Help installing geronimo
Posted by "Kenneth P. Turvey" <kt...@squeakydolphin.com>.
On Sat, 29 Mar 2008 10:37:08 -0400, Jason Warner wrote:
> If you wanted to deploy your static content directly into Geronimo, then
> you could do so by building a war containing that content and then
> deploying it.
Ok, I got this all working with Apache and I looked at it and decided
that this was all silly. I'm just going to package my static content up
in a war file and install it that way. If you have any tips for the best
way to handle this, please speak up.
Also, I saw that you don't really need to put them in a war, but can just
deploy them in place. That's one of the reasons I decided to change my
mind on this.
I do appreciate your assistance in this matter.
--
Kenneth P. Turvey <kt...@squeakydolphin.com>
Re: Help installing geronimo
Posted by Jason Warner <ja...@gmail.com>.
If you wanted to deploy your static content directly into Geronimo, then you
could do so by building a war containing that content and then deploying
it. If that's what you want to do, then I can talk you through the
process. I think we have another option here, though. It's possible to use
Geronimo with the Apache server to run your application. There's two ways
to do this and you can find documentation for both for Geronimo 2.1 here
[1]. Doing this, you should be able to (at least with the mod_jk method)
have your static content run on the HTTPd server and then have geronimo
handle dynamic content. Since you would be using HTTP as your front end,
the matter of virtual hosts would be handled by the HTTP server and there is
some documentation on that here [2].
I think this might be the most elegant solution to what you want to do. If
you're looking to use only Geronimo without the HTTP server, then we're
going to have to do some more digging. Hope this helps. Let me know if you
have anymore questions
[1]
http://cwiki.apache.org/GMOxDOC21/configure-apache-httpd-with-jakarta-tomcat-connector-modjk.html
[2] http://httpd.apache.org/docs/2.2/vhosts/
On Sat, Mar 29, 2008 at 9:40 AM, Kenneth P. Turvey <
kt-usenet@squeakydolphin.com> wrote:
> On Sat, 29 Mar 2008 08:44:35 -0400, Jason Warner wrote:
>
> > Hi Kenneth,
> >
> > You are indeed in the right place. I'm afraid we're all a little heads
> > down with trying to get the 2.1.1 release out. I'm not too familiar
> > with the area you're asking about but I'll see what I can do about
> > helping. If anyone else has any ideas, feel free to jump in. Would you
> > mind providing some information though? Namely, what version of the
> > server are you using? Also, do you have specific errors you're coming
> > across when trying to deploy the static content? Please provide your
> > deployment method or any errors so we might be able to help figure out
> > why it isn't working.
> >
>
> I've got the latest version of the server, jetty6-javaee5-2.1.
>
> I'm not getting any specific errors, but I don't really know where to
> start. I can't find any documentation on deploying static content at
> all. I assume I just drop it into a directory, but I don't know which
> one. I'm also not sure about the other domains and how to handle that.
> Where would the static content go for them?
>
> I'm also not sure about how to handle the virtual domains to begin with.
> I'm not sure if I set them all up as virtual domains or not. I walked
> through the docs on setting up virtual domains (with the tomcat version,
> not jetty) and I was not successful. Is this stuff documented
> somewhere? Is there a howto on doing this?
>
> I do appreciate your help.
>
>
> --
> Kenneth P. Turvey <kt...@squeakydolphin.com>
>
>
--
~Jason Warner
Re: Help installing geronimo
Posted by "Kenneth P. Turvey" <kt...@squeakydolphin.com>.
On Sat, 29 Mar 2008 08:44:35 -0400, Jason Warner wrote:
> Hi Kenneth,
>
> You are indeed in the right place. I'm afraid we're all a little heads
> down with trying to get the 2.1.1 release out. I'm not too familiar
> with the area you're asking about but I'll see what I can do about
> helping. If anyone else has any ideas, feel free to jump in. Would you
> mind providing some information though? Namely, what version of the
> server are you using? Also, do you have specific errors you're coming
> across when trying to deploy the static content? Please provide your
> deployment method or any errors so we might be able to help figure out
> why it isn't working.
>
I've got the latest version of the server, jetty6-javaee5-2.1.
I'm not getting any specific errors, but I don't really know where to
start. I can't find any documentation on deploying static content at
all. I assume I just drop it into a directory, but I don't know which
one. I'm also not sure about the other domains and how to handle that.
Where would the static content go for them?
I'm also not sure about how to handle the virtual domains to begin with.
I'm not sure if I set them all up as virtual domains or not. I walked
through the docs on setting up virtual domains (with the tomcat version,
not jetty) and I was not successful. Is this stuff documented
somewhere? Is there a howto on doing this?
I do appreciate your help.
--
Kenneth P. Turvey <kt...@squeakydolphin.com>
Re: Help installing geronimo
Posted by Jason Warner <ja...@gmail.com>.
Hi Kenneth,
You are indeed in the right place. I'm afraid we're all a little heads down
with trying to get the 2.1.1 release out. I'm not too familiar with the
area you're asking about but I'll see what I can do about helping. If
anyone else has any ideas, feel free to jump in. Would you mind providing
some information though? Namely, what version of the server are you using?
Also, do you have specific errors you're coming across when trying to deploy
the static content? Please provide your deployment method or any errors so
we might be able to help figure out why it isn't working.
Thanks,
~Jason Warner
On Sat, Mar 29, 2008 at 5:36 AM, Kenneth P. Turvey <
kt-usenet@squeakydolphin.com> wrote:
> On Wed, 26 Mar 2008 22:39:51 +0000, Kenneth P. Turvey wrote:
>
> > I'm trying to install Geronimo with Jetty on my VPS. I'm new to JEE and
> > would just like a system to play with, but I'm also replacing an
> > existing system so I have a few requirements that I'm trying to meet and
> > I can't seem to get it to work.
> >
> > There are three names that I would like to have resolved to Geronimo:
> >
> > www.squeakydolphin.com
> > kt.squeakydolphin.com
> > www.evolutionprograms.com
> >
> > In addition the name www.evolutionaryprograms.com should just redirect
> > to www.evolutionprograms.com
> >
> > I can set these to come in on different IPs if necessary, the current
> > nameserver configuration has www.evolutionprograms.com on its own IP
> > with www.evolutionaryprograms.com pointing to it.
> >
> > I would like to be able to serve static content on these three pages
> > directly from Geronimo without running a separate instance of apache or
> > anything else. I'd like to easily make changes to this static content.
> > In addition, there are a few stand alone JSP pages I would like served
> > and a single .war file I would like to install.
> >
> > For now, that's it. Unfortunately I can't seem to get even the static
> > content served correctly or the different domains even answering.
> >
> > If someone could point me in the right direction, I would greatly
> > appreciate it.
>
>
> I hate to follow up my own post, but I'm beginning to wonder if I'm
> asking in the wrong place. Is there another forum that covers this kind
> of thing? I know this is just basic setup information, but I don't know
> where else to get the information.
>
> Am I trying to do something with Geronimo that I shouldn't be? It can
> serve static content without a problem, can't it?
>
> Thank you.
>
> --
> Kenneth P. Turvey <kt...@squeakydolphin.com>
>
>
--
~Jason Warner
Re: Help installing geronimo
Posted by "Kenneth P. Turvey" <kt...@squeakydolphin.com>.
On Wed, 26 Mar 2008 22:39:51 +0000, Kenneth P. Turvey wrote:
> I'm trying to install Geronimo with Jetty on my VPS. I'm new to JEE and
> would just like a system to play with, but I'm also replacing an
> existing system so I have a few requirements that I'm trying to meet and
> I can't seem to get it to work.
>
> There are three names that I would like to have resolved to Geronimo:
>
> www.squeakydolphin.com
> kt.squeakydolphin.com
> www.evolutionprograms.com
>
> In addition the name www.evolutionaryprograms.com should just redirect
> to www.evolutionprograms.com
>
> I can set these to come in on different IPs if necessary, the current
> nameserver configuration has www.evolutionprograms.com on its own IP
> with www.evolutionaryprograms.com pointing to it.
>
> I would like to be able to serve static content on these three pages
> directly from Geronimo without running a separate instance of apache or
> anything else. I'd like to easily make changes to this static content.
> In addition, there are a few stand alone JSP pages I would like served
> and a single .war file I would like to install.
>
> For now, that's it. Unfortunately I can't seem to get even the static
> content served correctly or the different domains even answering.
>
> If someone could point me in the right direction, I would greatly
> appreciate it.
I hate to follow up my own post, but I'm beginning to wonder if I'm
asking in the wrong place. Is there another forum that covers this kind
of thing? I know this is just basic setup information, but I don't know
where else to get the information.
Am I trying to do something with Geronimo that I shouldn't be? It can
serve static content without a problem, can't it?
Thank you.
--
Kenneth P. Turvey <kt...@squeakydolphin.com>