RE: Can't get isapi_redir working on Win 2003/IIS6

2005-09-17 Thread David Thielen
I set logging to debug, deleted the log file, and restarted. No log file was
created. But in the ISAPI Filter list it does have a green up arrow.

What do I try now?

Thanks - dave


-Original Message-
From: David Thielen [mailto:[EMAIL PROTECTED] 
Sent: Saturday, September 17, 2005 10:50 PM
To: tomcat-user@jakarta.apache.org
Subject: Can't get isapi_redir working on Win 2003/IIS6

Hi;

 

I have tomcat working fine on my workstation - Windows XP/ IIS5

 

I installed tomcat on our server - Windows 2003 / IIS6

 

I ran the isape_redirect.exe installer. 

I then copied over my worker.properties.minimal and uriworkermap.properties.


I then went to Web Services Extensions and added isapi_redirector.dll and
set it to allowed.

 

I have a green arrow for the jakarta ISAPI Filter

The registry entries and jakarta virtual directory properties all look
correct - they were set by the installer.

 

I can run one of my servlets using 8080 - http://www.windward.net:8080/track
works

But http://www.windward.net/track
  fails with
error 404.

 

The log:

2005-09-18 04:36:59 W3SVC862201082 JASMINE 192.168.200.11 GET /track - 80 -
192.168.200.11
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322;+.
NET+CLR+1.0.3705) sourceid=1127005230840_144 - www.windward.net 404 0 0

 

Workers.properties.minimal:

worker.list=ajp13w

worker.ajp13w.type=ajp13

worker.ajp13w.host=localhost

worker.ajp13w.port=8009

 

uriworkermap.properties:

/admin/*=wlb

/manager/*=wlb

/store/*=ajp13w

/track/*=ajp13w

*.jsp=ajp13w

*.faces=ajp13w

/forums/*=ajp13w

 

isapi_redirect.log - empty (0 bytes)

 

Other logs - nothing on isapi_redirect.

 

Registry:

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
Redirector]

@=""

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
Redirector\1.0]

@=""

"extension_uri"="/jakarta/isapi_redirect.dll"

"log_file"="C:\\Tomcat 5.5\\logs\\isapi_redirect.log"

"log_level"="info"

"worker_file"="C:\\Tomcat 5.5\\conf\\workers.properties.minimal"

"worker_mount_file"="C:\\Tomcat 5.5\\conf\\uriworkermap.properties"

 

Any ideas?

 

Thanks - dave

 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Can't get isapi_redir working on Win 2003/IIS6

2005-09-17 Thread David Thielen
Hi;

 

I have tomcat working fine on my workstation - Windows XP/ IIS5

 

I installed tomcat on our server - Windows 2003 / IIS6

 

I ran the isape_redirect.exe installer. 

I then copied over my worker.properties.minimal and uriworkermap.properties.


I then went to Web Services Extensions and added isapi_redirector.dll and
set it to allowed.

 

I have a green arrow for the jakarta ISAPI Filter

The registry entries and jakarta virtual directory properties all look
correct - they were set by the installer.

 

I can run one of my servlets using 8080 - http://www.windward.net:8080/track
works

But http://www.windward.net/track
  fails with
error 404.

 

The log:

2005-09-18 04:36:59 W3SVC862201082 JASMINE 192.168.200.11 GET /track - 80 -
192.168.200.11
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322;+.
NET+CLR+1.0.3705) sourceid=1127005230840_144 - www.windward.net 404 0 0

 

Workers.properties.minimal:

worker.list=ajp13w

worker.ajp13w.type=ajp13

worker.ajp13w.host=localhost

worker.ajp13w.port=8009

 

uriworkermap.properties:

/admin/*=wlb

/manager/*=wlb

/store/*=ajp13w

/track/*=ajp13w

*.jsp=ajp13w

*.faces=ajp13w

/forums/*=ajp13w

 

isapi_redirect.log - empty (0 bytes)

 

Other logs - nothing on isapi_redirect.

 

Registry:

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
Redirector]

@=""

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
Redirector\1.0]

@=""

"extension_uri"="/jakarta/isapi_redirect.dll"

"log_file"="C:\\Tomcat 5.5\\logs\\isapi_redirect.log"

"log_level"="info"

"worker_file"="C:\\Tomcat 5.5\\conf\\workers.properties.minimal"

"worker_mount_file"="C:\\Tomcat 5.5\\conf\\uriworkermap.properties"

 

Any ideas?

 

Thanks - dave

 



Re: password authentication causes 403 error

2005-09-17 Thread Bill Barker

<[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Hi there,
> I would like to set up my development tomcat-5.0.28 (on port 8080) so that 
> all webapps that are not password protected, to have password 
> authentification. Since it is my dev box I would like to use the memory 
> realm.
> I have this in my web.xml:
> 
> 
> /*
> GET
> POST
> 
> 

It's:
  
  admin
  

What you have (other than being invalid, if validation-checking was enabled 
:), tells Tomcat to forbid access to everyone.

> 
> NONE
> 
> 
> 
> BASIC
> 
>
> I have this in my tomcat-users.xml:
> 
> 
> 
> 
> 
>  roles="admin,manager,role1"/>
> 
> If I go to http://localhost:8080/manager it asks me to login and then 
> gives me access to the webapp as expected. If I go to 
> http://localhost:8080/ it asks me to login and if I get it wrong is gives 
> me a 401 error as expected but if I get it right it gives me a 403 error 
> instead of allowing access to the webapp. This happens with all webapps 
> that do not have their own authentication.
> How do I configure tomcat to give me access to my webapps when I login 
> correctly?
> Thanks,
> Paul
> --
> Paul Mackinlay (PhD, MEng)
> http://www.webotech.co.uk/
> [EMAIL PROTECTED]
> Tel: +44(0)7050 699971
> Fax: +44(0)7050 699972 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



different uid per or perhaps something else

2005-09-17 Thread Alexander Kabanov
Hi,

would like to solve the following problem, any opinion is appreciated:

I have a bundle "apache - mod_jk - tomcat" working and virtual hosts
properly configured,
everything is nice, but with a few small issues. In addition to this
configuration - each virtual
host represents different users which don't trust each other.

1. as a user1 I'm able to get to what's in the user2 home directory
(if file exec perm is allowed), here is how:

tomcat is running with security manager enabled, in catalina.policy add
something like this:

grant codeBase "file:/path/vhost1/-" {
  permission java.io.FilePermission "/path/vhost1/-",
"read,write,delete,execute";
}

grant codeBase "file:/path/vhost2/-" {
  permission java.io.FilePermission "/path/vhost2/-",
"read,write,delete,execute";
}

this policy prevents to open anything that is outside of /path/vhostN
, but it allows you
to create a shell script and execute commands under the server uid, and because
the uid is allowed to access any user directory you potentially can
get something
from there. it's easy to solve , don't give users exec permission, but I would
like to allow them to execute what they want somehow

question: is there a way, before executing an external process switch
to a different uid
(something similar to apache suexec, or perhaps something like uid per )?

2. for each vhost "/manager" context is created (inside ) with
its own users database and so on. when one deploys his applications
they belong to
the server uid (files owner), from #1 it means that anyone who is able
to execute a shell script and get in to your directory can delete or
alter your applications

question: is it possible to change files owner when you deploy an application or
when it's auto deployed (one way is - chmod +s /path/user/webappsdir, but
it allows user to have more then readonly on apps files, it doesn't
prevent cases
described in #1)

it's not dangerous when you don't give permission to execute external processes

thanks

--alex

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Suppress "Connection reset by peer: socket write error".

2005-09-17 Thread Bill Barker

"Dola Woolfe" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Hi,
>
> I apologize for asking this question again for I
> remembering asking this question in the past, but I
> can't find the response.
>
> What setting (and where) will suppress the
> aforementioned exception in the tomcat log?
>

Including the Tomcat version helps ;-).

I'm assuming that this is for the AJP/1.3 Connector.  The answer is to 
change the logging level for that component to be one higher than the level 
in the message (in the latest version, it's at DEBUG level and I don't 
remember what it used to be).  For example, if you are using JDK1.4 logging 
you would do something like:
  org.apache.jk.common.level=SEVERE

in your logging.properties file.

> Thank you very much in advance, again!
>
> Dola
>
>
>
> __
> Yahoo! Mail - PC Magazine Editors' Choice 2005
> http://mail.yahoo.com 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



trying to get jsp files in my IIS directory to work

2005-09-17 Thread David Thielen
Hi;

 

Here is the basic problem I am trying to solve. On our server we use the
request header to serve up a web page. So www.windward.net
  and www.windwardreports.com
  which go to the same server use a
different website to return pages. The true root of all this is
jasmine.windward.net/windward and jasmine.windward.net/windwardreports.

 

The problem is that when testing on my system, I don't have a way to do the
virtual websites based on the header request. So I am always
localhost/windward and localhost/windwardreports.

 

When I need to have links between my jsp pages and my static pages, I don't
know if I need to add in that extra directory. If I could just process jsp
files that are in the IIS directory, then it would not be a problem because
they would all be ./filename to each other.

 

I tried the following in my uriworkermap.properties:

*.jsp=ajp13w

/*.jsp=ajp13w

/windwardreports/*.jsp=ajp13w

 

But I get an error 404. And nothing in any of the log files.

 

Any suggestions, ideas?

 

Thanks - dave

 



Re: Tomcat5.5 stops responding after sevral days

2005-09-17 Thread Arthur D'Alessandro
Try adding the LD_ASSUME_KERNEL
from the tomcat readme..


Tomcat on Linux:

GLIBC 2.2 / Linux 2.4 users should define an environment variable:
export LD_ASSUME_KERNEL=2.2.5

Redhat Linux 9.0 users should use the following setting to avoid
stability problems:
export LD_ASSUME_KERNEL=2.4.1


 On 9/16/05, Brian Cook <[EMAIL PROTECTED]> wrote: 
> 
> 
> I am running Tomcat 5.5 and about every 2 - 5 days it stops fully
> responding. Meaning that nothing will load in a browser when accessing
> Tomcat but the browser will never time out either. It will just sit
> there waiting forever. It happens to all of the modules loaded in
> webapps as well as to the admin and deployment modules. Nothing in
> Tomcat will respond. Stopping and then restarting Tomcat resolves the
> problem for 2 -5 days until it happens again.
> 
> Catalina.out does not show any errors, exceptions, or warnings before it
> happens. Netstat only shows 5 - 10 connections well under the max set
> for any of the modules. Top shows the processor 0% userd with 50 - 100
> MB of RAM and lots of swap space available. The database logs also do
> not report any errors.
> 
> Usually when I see the symptom of Tomcat not responding but not timing
> out either. It is caused by an in accessible data base. But in those
> instances the connection failure is logged in catalina.out, it only
> effects the one module that can not get to its data base. This lead me
> to wonder if Tomcat was some how losing its connection to the data base
> that stores the realm user data.(NOTE: This instance of Tomcat is
> configured to access MySQL to get user realm info) But if that were the
> case I would have assumed the failed connection would be logged in
> Catalina.out. Just in case I added "?autoReconnect=true" to all of the
> DB URLs but it has not helped.
> 
> I could use some ideas of other things I should be looking into and or
> options I should be setting to log more details. Thoughts any one?
> 
> I have included system details and the server.xml file below
> 
> OS : Redhat 9.0
> JVM : 1.5.3
> Tomcat : 5.5
> MySQL : 4.1.8
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  className="org.apache.catalina.mbeans.ServerLifecycleListener" />
>  className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
>  className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  maxHttpHeaderSize="8192"
> maxThreads="150"
> minSpareThreads="25"
> maxSpareThreads="75"
> enableLookups="false"
> redirectPort="8443"
> acceptCount="100"
> connectionTimeout="2"
> disableUploadTimeout="true" />
> 
> 
> 
> 
> 
> 
> 
> 
>  enableLookups="false"
> redirectPort="8443"
> protocol="AJP/1.3" />
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  resourceName="UserDatabase"/>
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  driverName="com.mysql.jdbc.Driver"
> 
> connectionURL="jdbc:mysql://192.168.2.3/PTOnlineUsers?autoReconnect=true"
> connectionName="dbuser"
> connectionPassword="password"
> userTable="users"
> userNameCol="userName"
> userCredCol="password"
> userRoleTable="user_roles"
> roleNameCol="role" />
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  appBase="webapps"
> unpackWARs="true"
> autoDeploy="true"
> xmlValidation="false"
> xmlNamespaceAware="false">
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> --
> Brian Cook
> Digital Services Analyst
> Print Time Inc.
> [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
-Art D'Alessandro


Re: mod_jk performance

2005-09-17 Thread Andrew Miehs

Hi Peter,

That is why I mentioned it. We deliver our static content from other  
servers,
and had originally considered hiding our TCs behind apache for  
'security reasons'.


After seeing the speed difference, and the fact that their isn't  
really a security
difference if you just push all the traffic straight through anyway,  
we decided not

to put Apache between our users and our Tomcat servers.

If I didn't need to use re-writes, and complicated rules on our  
apaches, I would also

use THTTP for performance reasons.

Andrew


On Sep 16, 2005, at 3:39 PM, Peter Flynn wrote:

OK, that's useful information.

But I have 300,000+ static HTML files to server, and about
10 JSP files. I'm surely not switching my entire server to
Tomcat...:-)



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



javax.servlet.UnavailableException: Parsing error processing resource path

2005-09-17 Thread Kam Lung Leung
Hi,
   
I have not been able to figure out why I have the following exception 
from tomcat:
StandardContext[/ClientComponentTier]: Servlet /ClientComponentTier threw 
load() exception
javax.servlet.UnavailableException: Parsing error processing resource path  
/WEB-INF/struts-config-client.xml

The struts-config.xml and the struts-config-client.xml files contain
minimum decleration that are listed in this email.

Any help is greagly appreciated.

Kam Lung Leung

  debug information 
 2005-09-17 10:43:40 WebappLoader[/ClientComponentTier]: Deploy JAR 
/WEB-INF/lib/xercesImpl.jar to /usr/local/catalina/webapps/ClientCom
ponentTier/WEB-INF/lib/xercesImpl.jar
2005-09-17 10:43:41 StandardManager[/ClientComponentTier]: Seeding random 
number generator class java.security.SecureRandom
2005-09-17 10:43:41 StandardManager[/ClientComponentTier]: Seeding of random 
number generator has been completed
2005-09-17 10:43:42 
StandardWrapper[/ClientComponentTier:AlertClientActionServet]: Marking servlet 
AlertClientActionServet as unavailab
le
2005-09-17 10:43:42 StandardContext[/ClientComponentTier]: Servlet 
/ClientComponentTier threw load() exception
javax.servlet.UnavailableException: Parsing error processing resource path  
/WEB-INF/struts-config-client.xml
at 
org.apache.struts.action.ActionServlet.handleConfigException(ActionServlet.java:1035)
at 
org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:1014)
at 
org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:955)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)
at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)
at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3427)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:3628)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
at 
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:307)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:788)
at 
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:492)
at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:400)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)
at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:358)
at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:754)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363)
at 
org.apache.catalina.core.StandardService.start(StandardService.java:497)
at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

*web.xml   

  
  
AlertClientActionServet
org.apache.struts.action.ActionServlet

  config
  /WEB-INF/struts-config.xml, 
/WEB-INF/struts-config-client.xml


  debug
  0


  detail
  0

1
  


  
AlertClientActionServet
*.do
  

 
  
struts-bean
/WEB-INF/tld/struts-bean.tld
  

  
struts-html
/WEB-INF/tld/struts-html.tld
  

  
struts-logic
/WEB-INF/tld/struts-logic.tld
  

  
  
struts-nested
/WEB-INF/tld/struts-nested.tld
  

  
  
struts-tiles
/WEB-INF/tld/struts-tiles.tld
  
 
struts-template.tld
/WEB-INF/tld/struts-template.tld
  
  
  
/ejb/HomeLocalTag
/WEB-INF/tld/ejbTagLib.tld
  

  
  
/ejb/HomeRemoteTag
/WEB-INF/tld/ejbTagLib.tld
  



   struts-config.xml 


http://

Re: Wher do I get binary of Tomcat

2005-09-17 Thread Pham Tran Quoc Viet
HI,
Did you happen to receive an email that through
tomcat-user@jakarta.apache.org that looks something like this:
Hi All,
I am trying to connect Apache 2.x to Tomcat 5.x through mod_jk1.2.x
I now can:
- Pull apache home page using : http://localhost
- Pull Tomcat home page using: htp://localhost:8080
- httpd/logs/.. shows that mod_jk.so is loaded
- Pull index.html that sit under
/usr/local/tomcat/webapps/jsp-examples, which shows a list of jsp
examples. On this index page, if I click on "Execute" link, I get this
error
...
I sent this email asking for help and don't know if it get delivered
or not. Thanks.

On 9/17/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Do you work for netscape?
> 
> I have Verizon ISP and I do not believe that Netscape will provide me service 
> at at least 1.5Mb/s for 10 dollars.
> 
> I do not appreciate marketing in particular based on solution flaws 
> introduced to sell a product. RE is a basic that should be support regradless 
> wheter it is free service or not.
> 
> 
> >Switch to Netscape Internet Service.
> >As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register
> >
> >Netscape. Just the Net You Need.
> >
> >New! Netscape Toolbar for Internet Explorer
> >Search from anywhere on the Web and block those annoying pop-ups.
> >Download now at http://channels.netscape.com/ns/search/install.jsp
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> __
> Switch to Netscape Internet Service.
> As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register
> 
> Netscape. Just the Net You Need.
> 
> New! Netscape Toolbar for Internet Explorer
> Search from anywhere on the Web and block those annoying pop-ups.
> Download now at http://channels.netscape.com/ns/search/install.jsp
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
Pham Tran Quoc Viet

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Wher do I get binary of Tomcat

2005-09-17 Thread MaciekSKontakt
Do you work for netscape?

I have Verizon ISP and I do not believe that Netscape will provide me service 
at at least 1.5Mb/s for 10 dollars.

I do not appreciate marketing in particular based on solution flaws introduced 
to sell a product. RE is a basic that should be support regradless wheter it is 
free service or not.


>Switch to Netscape Internet Service.
>As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register
>
>Netscape. Just the Net You Need.
>
>New! Netscape Toolbar for Internet Explorer
>Search from anywhere on the Web and block those annoying pop-ups.
>Download now at http://channels.netscape.com/ns/search/install.jsp
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>

__
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need.

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[ANN] Tomcat 3 and Tomcat 4 have moved to subversion

2005-09-17 Thread Mark Thomas

The following CVS modules have been migrated to subversion

jakarta-tomcat
jakarta-tomcat-4.0

These modules are now read only in CVS.

The new SVN locations for the head of these repositories are:
http://svn.apache.org/repos/asf/tomcat/container/branches/tc3.3.x/
http://svn.apache.org/repos/asf/tomcat/container/branches/tc4.1.x/

The new SVN locations for key branches are:
http://svn.apache.org/repos/asf/tomcat/container/branches/tc3.2.x/
http://svn.apache.org/repos/asf/tomcat/container/branches/tc4.0.x/

NB Committers wishing to make changes to these modules will need to 
use https as per http://www.apache.org/dev/version-control.html#https-svn


The next and final stage of the SVN migration will be to move tomcat5, 
catalina, jasper and the connectors. A detailed plan for this 
migration will be published on the dev list.


Mark



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Broken links on the Tomcat 5.5 Docs pages

2005-09-17 Thread Mark Thomas

Brian Cook wrote:


The following links relating to realm logging on page 
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/realm-howto.html are broken



http://jakarta.apache.org/tomcat/tomcat-5.5-doc/context.html
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/host.html
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/engine.html


Fixed in CVS. Thanks for the report.

Mark



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: tomcat url connections

2005-09-17 Thread Mark Thomas

Navalpotro Herrero, Luis wrote:

Hello, I have face recently found a tomcat issue that is driving me nuts.
 
I have a Java application that opens a URL connection against tomcat. The

parameteres are URLEncoded to be UTF-8 compatible. One of the values of the
params is xml (which is the one that makes the thing fail).
 
If I use tomcat 4.1.30 or lower version (up to .24 works fine, which are the

one I tested) the code runs fine, but when I change to Tomcat 4.1.31 I find
the code throws a socketException when trying to parse the http headers.
 
I have reading the changes introduced in tomcat 4.1.31 and some are relative

to encoding which makes me think this could be the cause of the problem.
 
Does any one have faced this problem also?
 
 
Thanks for your help,
 
Luis Navalpotro


Create a test case, attach it to a bug report and I'll take a look. 
Can't make any promises on timing though.


The simpler you keep the test case, the greater the chances of me 
looking at it.


Mark



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Help figuring out Virtual Hosts

2005-09-17 Thread Jilles van Gurp
You can use multiple hosttags in the server.xml, each with their own 
context. As described here

http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/host.html

"One or more Host elements are nested inside an Engine element. Inside 
the Host element, you can nest Context elements for the web applications 
associated with this virtual host. Exactly one of the Hosts associated 
with each Engine MUST have a name matching the defaultHost attribute of 
that Engine."


You give each application its own host and it should work fine. You can 
also use alias tags inside a host tag if you want an application to be 
available for multiple hosts.


Jilles



Dola Woolfe wrote:

Hi,

I've certainly RTFM'd and had thoroughly read

http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/host.html#Host%20Name%20Aliases

but I just can't figure out how to get virtual servers
to work.

Basically, assume that DNS is set up properly and that
ServerA.com ServerB.com and Server.com resolve to the
same IP. Now, I want ServerA.com to "go to"
Server.com/MyAppA/index.jsp and ServerB.com to "go to"
Server.com/MyAppB/index.jsp. This, in my mind is sort
of like how Apache lets you do it, where of course it
takes advantage of the convention of index.html being
the default destination.

OK, how do I achieve this with Tomcat? Could anyone
please provide a specific example?

Many thanks,

Dola



__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



  


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]