Problems after upgrading from director 6.2 to 6.3
"Georges.Goebel" <[email protected]> Fri, 27 May 2005 14:44:44 +0200
| Newsgroups | gmane.comp.java.enhydra.director |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format...
------------=_1117197913-9151-93
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi,
I downloaded the apache-director bundled version
(apache-1.3.31-director-6.3-1.i386.tar.gz) and replaced my old version
6.2 with the new one.
I copied the enhydra configfile to the new apache and replaced the jar
in the tomcat. Direktor forwards the request to the right application
server (JOnAS with Tomcat5.5).
The problem is the following :
I have a html page with a link to a servlet, the servlet (ejb calls)
sends the request to a jsp (visualise ejb information). On this jsp
there is the same link to the servlet as on the first page.
Schema : html -> sessionServlet -> session.jsp -> sessionServlet ->
session.jsp -> ....
rootURL (html page)= http:/localhost/sampleCluster2
sessionServlet = http:/localhost/sampleCluster2/servlet/session
session.jsp = http:/localhost/sampleCluster2/session.jsp
But when I click on the link in the session.jsp, director forwards the
request to the root url. Of course my session is killed.
With director 6.2 everyting works fine, what do I do wrong ?
Georges Goebel
Annexe
enhydra_director.conf
<?xml version="1.0"?>
<!DOCTYPE EnhydraDirectorConfig SYSTEM "EnhydraDirectorConfig.dtd">
<EnhydraDirectorConfig>
<Application prefix="/sampleCluster2/">
<AppServer host="localhost" port="9999" weight="1" />
<AppServer host="localhost" port="8888" weight="1" />
</Application>
<Status prefix="/status">
<Restrict server="127.0.0.1"/>
<Restrict client="127.0.0.1"/>
</Status>
tomcat config
<Connector
protocol="org.enhydra.servlet.connectionMethods.EnhydraDirector.DirectorProtocol"
port="9999" threadTimeout = "300"
clientTimeout = "30" sessionAffinity =
"false" queueSize = "400"
numThreads = "200" bindAddress = "(All
Interfaces)" authKey = "(Unauthenticated)"
/>
------------=_1117197913-9151-93
Content-Type: text/plain; name="message.footer"
Content-Disposition: inline; filename="message.footer"
Content-Transfer-Encoding: 8bit
--
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
------------=_1117197913-9151-93--