tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antonio giulio <antongiuli...@gmail.com>
Subject Re: HyperLink Office connection
Date Wed, 09 Jun 2010 12:17:06 GMT
Hi,

thanks for the reply. From your replies I got a new doubt. Maybe the
problem is in the Apache conf and not (or not only) in the Tomcat
conf.

This is a more concrete log when a link is clicked on the Word file
with relatives client/server communitcation:

#	Result	Protocol	Host	URL	Body	Caching	Content-Type	User-defined	
1	302	HTTP	mycompany.com	/main/subscription/renewer.cis?action=overview&entry_id=4468
478		text/html;
charset=iso-8859-1
2	200	HTTP	CONNECT	mycompany.com:443	0				
3	302	<HTTPS	mycompany.com	/main/subscription/renewer.cis?action=overview&entry_id=4468
0		text/plain;
charset=UTF-8
4	200	HTTP	CONNECT	mycompany.com:443	0				
5	200	<HTTPS	mycompany.com	/main/login.cis	5,102	no-cache  Expires:
Thu, 01 Jan 1970 00:00:00 GMT	text/html;charset=ISO-8859-1

#3 & #5 have 2 different JSESSIONID generated

Here http://www.apachetutor.org/admin/reverseproxies I found that one
of the possible origins for the "302" response and relative lost of
session could be
/main/subscription/renewer.cis?action=overview&entry_id=4468 returned
incomplete cos of missing (in my case) configuration for
mod_proxy_http. Unfortunely at the moment I have no writing access to
the conf (internal company policies) so I cannot test it.

Could be it a reason of I should "tweak" tomcat anyway?

This is one of the Tomcat file I found configured (server-minimal.xml):

<Server port="8005" shutdown="SHUTDOWN">

  <GlobalNamingResources>
    <!-- Used by Manager webapp -->
    <Resource name="UserDatabase" auth="Container"
              type="org.apache.catalina.UserDatabase"
       description="User database that can be updated and saved"
           factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
          pathname="conf/tomcat-users.xml" />
  </GlobalNamingResources>

  <Service name="Catalina">
    <Connector port="8080" />

    <!-- This is here for compatibility only, not required -->
    <Connector port="8009" protocol="AJP/1.3" />

    <Engine name="Catalina" defaultHost="localhost">
      <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
             resourceName="UserDatabase" />
      <Host name="localhost" appBase="webapps" />
    </Engine>

  </Service>
</Server>

Thanks,
Julio

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message