Re: About the xplanner question

Majian <[email protected]> Fri, 25 Dec 2009 19:45:19 +0800
Newsgroups gmane.comp.java.xplanner.devel
Message-ID <[email protected]>
--===============7211664512837731140==
Content-Type: multipart/alternative; boundary=0016e68786dd18af55047b8c1707

--0016e68786dd18af55047b8c1707
Content-Type: text/plain; charset=ISO-8859-1

Thanks !

First, you can configure Tomcat to accept requests on port 80, instead
of, or in addition to, port 8080.

That is easy, and you would do it in principle by changing in the
server.xml file, the existing <Connector ... port="8080"> to <Connector
... port="80">.

The only catch is that in order for this to work, this Tomcat would need
to run as user root, because only user root can run a process that opens
a listening port <= 1024.


But if I run it use no-root user, maybe I should use iptables to forward
incoming requests on port 80 to Tomcat on port 8080

I will try to search it via Google ~

On Fri, Dec 25, 2009 at 5:33 PM, Raj Saini <[email protected]> wrote:

> Change the port number in server.xml file of Tomcat. Look for 8080 is
> the said file and change it to 80. Remember, on Linux/Unix machines you
> will need root access to listen to ports below 1024.
>
>
> Thanks,
>
> Raj
>
> Majian wrote:
> > Hi ,all
> >   I'm newbie to here ,So if my question is stupid, please forgive me
> > ~  hoho~
> >
> >    After I install the xplanner on the my laptop, and enter the
> > address: "http://localhost:7070", then it
> > appears the login screen. So it means installed successfully, isn't it ?
> >
> >    I want to enter the xplanner like "http://localhost/xplanner" .How
> > can i do ?
> >
> >
> > Thanks ~
> > ------------------------------------------------------------------------
> >
> >
> ------------------------------------------------------------------------------
> > This SF.Net email is sponsored by the Verizon Developer Community
> > Take advantage of Verizon's best-in-class app development support
> > A streamlined, 14 day to market process makes app distribution fast and
> easy
> > Join now and get one step closer to millions of Verizon customers
> > http://p.sf.net/sfu/verizon-dev2dev
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Xplanner-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/xplanner-devel
> >
>
>
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and
> easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> Xplanner-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xplanner-devel
>

--0016e68786dd18af55047b8c1707
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Thanks !<br><pre><font size=3D"2">First, you can configure Tomcat to accept=
 requests on port 80, instead <br>of, or in addition to, port 8080.<br><br>=
That is easy, and you would do it in principle by changing in the <br>serve=
r.xml file, the existing &lt;Connector ... port=3D&quot;8080&quot;&gt; to &=
lt;Connector <br>
... port=3D&quot;80&quot;&gt;.<br><br>The only catch is that in order for t=
his to work, this Tomcat would need <br>to run as user root, because only u=
ser root can run a process that opens <br>a listening port &lt;=3D 1024.</f=
ont></pre>
<br>But if I run it use no-root user, maybe I should <span class=3D"mediumt=
ext">use iptables to forward incoming requests on port 80 to Tomcat on port=
 8080</span><br><br>I will try to search it via Google ~<br><br><div class=
=3D"gmail_quote">
On Fri, Dec 25, 2009 at 5:33 PM, Raj Saini <span dir=3D"ltr">&lt;<a href=3D=
"mailto:[email protected]">[email protected]</a>&gt;</span> wrote:<br><bl=
ockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, 204=
, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Change the port number in server.xml file of Tomcat. Look for 8080 is<br>
the said file and change it to 80. Remember, on Linux/Unix machines you<br>
will need root access to listen to ports below 1024.<br>
<br>
<br>
Thanks,<br>
<br>
Raj<br>
<div><div></div><div class=3D"h5"><br>
Majian wrote:<br>
&gt; Hi ,all<br>
&gt; =A0 I&#39;m newbie to here ,So if my question is stupid, please forgiv=
e me<br>
&gt; ~ =A0hoho~<br>
&gt;<br>
&gt; =A0 =A0After I install the xplanner on the my laptop, and enter the<br=
>
&gt; address: &quot;<a href=3D"http://localhost:7070" target=3D"_blank">htt=
p://localhost:7070</a>&quot;, then it<br>
&gt; appears the login screen. So it means installed successfully, isn&#39;=
t it ?<br>
&gt;<br>
&gt; =A0 =A0I want to enter the xplanner like &quot;<a href=3D"http://local=
host/xplanner" target=3D"_blank">http://localhost/xplanner</a>&quot; .How<b=
r>
&gt; can i do ?<br>
&gt;<br>
&gt;<br>
&gt; Thanks ~<br>
</div></div>&gt; ----------------------------------------------------------=
--------------<br>
&gt;<br>
&gt; ----------------------------------------------------------------------=
--------<br>
&gt; This SF.Net email is sponsored by the Verizon Developer Community<br>
&gt; Take advantage of Verizon&#39;s best-in-class app development support<=
br>
&gt; A streamlined, 14 day to market process makes app distribution fast an=
d easy<br>
&gt; Join now and get one step closer to millions of Verizon customers<br>
&gt; <a href=3D"http://p.sf.net/sfu/verizon-dev2dev" target=3D"_blank">http=
://p.sf.net/sfu/verizon-dev2dev</a><br>
&gt; ----------------------------------------------------------------------=
--<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Xplanner-devel mailing list<br>
&gt; <a href=3D"mailto:[email protected]">Xplanner-devel=
@lists.sourceforge.net</a><br>
&gt; <a href=3D"https://lists.sourceforge.net/lists/listinfo/xplanner-devel=
" target=3D"_blank">https://lists.sourceforge.net/lists/listinfo/xplanner-d=
evel</a><br>
&gt;<br>
<br>
<br>
---------------------------------------------------------------------------=
---<br>
This SF.Net email is sponsored by the Verizon Developer Community<br>
Take advantage of Verizon&#39;s best-in-class app development support<br>
A streamlined, 14 day to market process makes app distribution fast and eas=
y<br>
Join now and get one step closer to millions of Verizon customers<br>
<a href=3D"http://p.sf.net/sfu/verizon-dev2dev" target=3D"_blank">http://p.=
sf.net/sfu/verizon-dev2dev</a><br>
_______________________________________________<br>
Xplanner-devel mailing list<br>
<a href=3D"mailto:[email protected]">Xplanner-devel@list=
s.sourceforge.net</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/xplanner-devel" tar=
get=3D"_blank">https://lists.sourceforge.net/lists/listinfo/xplanner-devel<=
/a><br>
</blockquote></div><br>

--0016e68786dd18af55047b8c1707--


--===============7211664512837731140==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
--===============7211664512837731140==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Xplanner-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xplanner-devel

--===============7211664512837731140==--