You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Atif Munir <at...@sat.net.pk> on 2002/05/09 12:44:45 UTC
port
Hi,
in which file the port is set fro tomcat?
atif
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
Includes desappearing
Posted by Marcelo Mathias Lima <we...@unimedpiracicaba.com.br>.
hi!
On my JSP project with Tomcat4/Apache sometimes, in some pages, the page
is returned incomplete. They come without the includes, that are other
JSPs and
without parts of the master JSP.
It is not normal and I am worried by this... do somebody can help me??
Thank u in advance,
Marcelo Mathias Lima
Web Developer
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
Re: port
Posted by Jean-Luc BEAUDET <be...@toolchest.cyber.kodak.com>.
chuck amadi a écrit :
> Atif Munir wrote:
>
> >Hi,
> >in which file the port is set fro tomcat?
> >atif
> >
> >
> >--
> >To unsubscribe: <ma...@jakarta.apache.org>
> >For additional commands: <ma...@jakarta.apache.org>
> >Troubles with the list: <ma...@jakarta.apache.org>
> >
> Hi default port setting for tomcat is usually port 80 such as
> http://localhost:8080/ webapp/
>
> Thus you can change this in Jakarta-tomcat > conf > server.xml file
> scroll down and change above 1024 as per the tomcat installation
> readme.txt file.As usually and in my case that port has already been
> assigned to another app.
>
> Hope this helps
>
> Cheers Chuck Amadi
> Systems Programmer
>
> --
> To unsubscribe: <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
I guess it's just typo error.
The default port for Tomcat is 8080:
To change this features, go to
$TOMCAT_HOME/conf and edit the file server.xml
<!-- A "Server" is a singleton element that represents the entire JVM,
which may contain one or more "Service" instances. The Server
listens for a shutdown command on the indicated port.
Note: A "Server" is not itself a "Container", so you may not
define subcomponents such as "Valves" or "Loggers" at this level.
-->
<Server port="8005" shutdown="SHUTDOWN" debug="0">
This Port 8005 is the port on which Tomcat is waitin' for a kill server
cmd...
Only necessary to modify if already in use by another app.
<!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
<Connector
className="org.apache.catalina.connector.http.HttpConnector"
port="8080" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="10" debug="0" connectionTimeout="60000"/>
<!-- Note : To disable connection timeouts, set connectionTimeout
value
to -1 -->
The port above 8080 is the std port on which Tomcat, as a standalone app,
is runnin' on.
Modify this port in case yu need to make as a std web server; for
instance 80.
<!-- Define an Apache-Connector Service -->
<Service name="Tomcat-Apache">
<Connector
className="org.apache.catalina.connector.warp.WarpConnector"
port="8008" minProcessors="5" maxProcessors="75"
enableLookups="true" appBase="webapps"
acceptCount="10" debug="0"/>
The port below is the port used by the Tomcat-Apache communication
module.
In my case the WarpConnector ( mod_webapp in the Apache Server ).
Yu can also have port 8009 for AJP13, port 8007 for AJP12
And, as far as i remember, 8008 for ApacheJServ.
Hope this help.
Jean-Luc :O)
Re: port
Posted by chuck amadi <ch...@breconbeacons.org>.
Atif Munir wrote:
>Hi,
>in which file the port is set fro tomcat?
>atif
>
>
>--
>To unsubscribe: <ma...@jakarta.apache.org>
>For additional commands: <ma...@jakarta.apache.org>
>Troubles with the list: <ma...@jakarta.apache.org>
>
Hi default port setting for tomcat is usually port 80 such as
http://localhost:8080/ webapp/
Thus you can change this in Jakarta-tomcat > conf > server.xml file
scroll down and change above 1024 as per the tomcat installation
readme.txt file.As usually and in my case that port has already been
assigned to another app.
Hope this helps
Cheers Chuck Amadi
Systems Programmer
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
Re: port
Posted by todd tredeau <to...@wisernet.com>.
Server.xml I think contains the most commonly modified parameters in
Tomcat.....
/tomcat_home/conf/server.xml
todd
http://www.wiserlabz.com
collaborative effort to promote Novell and Open Source solutions
Atif Munir wrote:
>Hi,
>in which file the port is set fro tomcat?
>atif
>
>
>--
>To unsubscribe: <ma...@jakarta.apache.org>
>For additional commands: <ma...@jakarta.apache.org>
>Troubles with the list: <ma...@jakarta.apache.org>
>
>
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
why can't refresh jsp page in dialog window?
Posted by Henry <hx...@binary-solutions.net>.
when that JSP is in client browser alone, fine. But when it is invoked in a
dialog window,
showModelDialog("aaa.jsp");
that jsp is not refreshed everytime i made any change to it. How should I
configure tomcat
in order to let the server refresh it every time it is invoked in the
dialog?
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
Re: WebdavServlet
Posted by August Detlefsen <au...@yahoo.com>.
Thanks a lot Remy, I've got it working for everything except PUT.
I notice in the source that the PUT method is not implemented in
WebdavServlet. Is this supposed to be handled by the DefaultServlet?
--- Remy Maucherat <re...@apache.org> wrote:
> > --- Remy Maucherat <re...@apache.org> wrote:
> > > > How do I implement security using the WebdavServlet? mod_dav
> uses a
> > > > standard .htpasswd file to track the various developers'
> logins, is
> > > > this similar?
> > >
> > > It uses the standard security provided by the container.
> >
> >
> > So I have to configure a Realm? Or will it work with Single Sign
> On?
>
> Both. The security check is declared in web.xml (same as with a
> standard
> webapp).
>
> Remy
>
>
> --
> To unsubscribe: <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
>
__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
Re: WebdavServlet
Posted by Remy Maucherat <re...@apache.org>.
> --- Remy Maucherat <re...@apache.org> wrote:
> > > How do I implement security using the WebdavServlet? mod_dav uses a
> > > standard .htpasswd file to track the various developers' logins, is
> > > this similar?
> >
> > It uses the standard security provided by the container.
>
>
> So I have to configure a Realm? Or will it work with Single Sign On?
Both. The security check is declared in web.xml (same as with a standard
webapp).
Remy
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
Re: WebdavServlet
Posted by August Detlefsen <au...@yahoo.com>.
--- Remy Maucherat <re...@apache.org> wrote:
> > How do I implement security using the WebdavServlet? mod_dav uses a
> > standard .htpasswd file to track the various developers' logins, is
> > this similar?
>
> It uses the standard security provided by the container.
So I have to configure a Realm? Or will it work with Single Sign On?
__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
Re: WebdavServlet
Posted by Remy Maucherat <re...@apache.org>.
> How do I implement security using the WebdavServlet? mod_dav uses a
> standard .htpasswd file to track the various developers' logins, is
> this similar?
It uses the standard security provided by the container.
> Can I limit the types of DAV actions that can be performed?
It's either read or read/write.
> Where is the DAV lock information stored?
In memory.
> Does anyone know the possible init-params for the WebdavServlet? I got
> these from the web.xml in the example, but are there other params?:
>
> <servlet>
> <servlet-name>webdav</servlet-name>
>
> <servlet-class>org.apache.catalina.servlets.WebdavServlet</servlet-class>
> <init-param>
> <param-name>debug</param-name>
> <param-value>0</param-value>
> </init-param>
> <init-param>
> <param-name>listings</param-name>
> <param-value>true</param-value>
> </init-param>
> <!-- Uncomment this to enable read and write access -->
> <init-param>
> <param-name>readonly</param-name>
> <param-value>false</param-value>
> </init-param>
> <load-on-startup>1</load-on-startup>
> </servlet>
No.
It's quite rudimentary overall (just allows uploading and resource
manipulation).
Remy
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
WebdavServlet
Posted by August Detlefsen <au...@yahoo.com>.
How do I implement security using the WebdavServlet? mod_dav uses a
standard .htpasswd file to track the various developers' logins, is
this similar?
Can I limit the types of DAV actions that can be performed?
Where is the DAV lock information stored?
Does anyone know the possible init-params for the WebdavServlet? I got
these from the web.xml in the example, but are there other params?:
<servlet>
<servlet-name>webdav</servlet-name>
<servlet-class>org.apache.catalina.servlets.WebdavServlet</servlet-class>
<init-param>
<param-name>debug</param-name>
<param-value>0</param-value>
</init-param>
<init-param>
<param-name>listings</param-name>
<param-value>true</param-value>
</init-param>
<!-- Uncomment this to enable read and write access -->
<init-param>
<param-name>readonly</param-name>
<param-value>false</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
Re: port
Posted by Jayesh Srivastava <ja...@yahoo.com>.
server.xml....
Jayesh
--- Atif Munir <at...@sat.net.pk> wrote:
> Hi,
> in which file the port is set fro tomcat?
> atif
>
>
> --
> To unsubscribe:
> <ma...@jakarta.apache.org>
> For additional commands:
> <ma...@jakarta.apache.org>
> Troubles with the list:
> <ma...@jakarta.apache.org>
>
__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>