使用Apache over WC Portal,不会记录jsessionid cookie

时间:2012-11-01 17:07:08

标签: apache portal jsessionid webcenter

关于服务器重定向,我有以下架构:

1-Apache OHS(端口7274)具有配置为重定向请求的VirtualHost执行WebCenter服务器。配置完成如下:

NameVirtualHost *:7274
<VirtualHost *:7274>
    <Directory "${ORACLE_INSTANCE}/config/${COMPONENT_TYPE}/${COMPONENT_NAME}/htdocs2">
       Options FollowSymLinks MultiViews
       AllowOverride All
       Order deny,allow 
       Allow from All   
    </Directory>
    DocumentRoot "${ORACLE_INSTANCE}/config/${COMPONENT_TYPE}/${COMPONENT_NAME}/htdocs2"    
    <Location /myapp>
      SetHandler weblogic-handler
      PathTrim /myapp
      WeblogicHost myhost
      WeblogicPort myport
    </Location> 
</VirtualHost>

当我在webcenter门户网站上使用Apache时,jsessionid cookie不会记录到浏览器客户端中。但是,如果我通过apache哦,直接访问webcenter门户服务器,则会正确记录JSESSIONID cookie。

我的weblogic.xml:

<?xml version = '1.0' encoding = 'windows-1252'?>
<weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-application http://www.bea.com/ns/weblogic/weblogic-application/1.0/weblogic-application.xsd"
xmlns="http://www.bea.com/ns/weblogic/weblogic-application">
<xml>
<parser-factory>
<saxparser-factory>oracle.xml.jaxp.JXSAXParserFactory</saxparser-factory>
<document-builder-factory>oracle.xml.jaxp.JXDocumentBuilderFactory</document-builder-factory>
<transformer-factory>oracle.xml.jaxp.JXSAXTransformerFactory</transformer-factory>
</parser-factory>
</xml>
<listener>
<listener-class>oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener</listener-class>
</listener>
<listener>
<listener-class>oracle.mds.lcm.weblogic.WLLifecycleListener</listener-class>
</listener>
<listener>
<listener-class>oracle.webcenter.lifecycle.listener.FeatureMetricApplicationListener</listener-class>
</listener>
<library-ref>
<library-name>adf.oracle.domain</library-name>
</library-ref>
<library-ref>
<library-name>oracle.jsp.next</library-name>
</library-ref>
<library-ref>
<library-name>oracle.webcenter.framework</library-name>
<specification-version>11.1.1</specification-version>
</library-ref>
<library-ref>
<library-name>oracle.webcenter.skin</library-name>
<specification-version>11.1.1</specification-version>
</library-ref>
<library-ref>
<library-name>oracle.sdp.client</library-name>
</library-ref>
</weblogic-application>

您对我的配置有任何顾虑吗?

0 个答案:

没有答案