Setting up Apache Proxy with BO XI R2

I was reading through a number of postings to figure out what is wrong with my setup to accomplish the above. But for the life of me, I seem to missing something.
I have an Apache 2.2.9 running on one server acting as a Proxy for a BO XI R2 running on another server. The Admin Console and Infoview are deployed on the stock Tomcat server (ver 5.x). The proxyName and proxyPort were configured in the sever.xml.
I can get my apache server to forward the user requests to the login page. Once the user supplies the userid and password with the Enterprise Authentication, I keep getting a 502 Proxy Error.
Is there a document or wiki posting that someone can point me to? I know its done time and again, so it must be something I might be missing.
Here are the pertinent entries in the httpd.conf file on the Apache server.
         ProxyPass /businessobjects/enterprise115/admin http://boserver/businessobjects/enterprise115/admin
         ProxyPass /businessobjects/enterprise115/desktoplaunch http://boserver/businessobjects/enterprise115/desktoplaunch
         ProxyPass /jsfadmin http://boserver/jsfadmin
         ProxyPassReverse /businessobjects/enterprise115/admin http://boserver/businessobjects/enterprise115/admin
         ProxyPassReverse /businessobjects/enterprise115/desktoplaunch http://boserver/businessobjects/enterprise115/desktoplaunch
         ProxyPassReverse /jsfadmin http://boserverjsfadmin
I am not sure if its very relevant but the Apache is configured with a Siteminder agent to proxy onto the Tomcat server only if the user authenticates against the Siteminder initially. That piece works just fine.
Regards
Madhu

Thanks for the prompt response.
The typo with jsfadmin was just in the posting here since I was stripping out the server names.
The web applications on the Tomcat are the stock applications and they work fine if I were to hit them directly without involving the Apache server. I do realize that there is a specific order of deployment when it comes to deployment on BEA.
The HA-PROXY- I need to read up on that.
Thanks
Madhu

Similar Messages

  • Session replication in Clustered Env with Apache proxy

    Hi,
    Setup:
    1. Apache proxy configured using mod_proxy
    2. Cluster is set up at weblogic with 2 nodes(on same machine)
    3. EAR is deployed on cluster with weblogic-application.xml as below
    <session-descriptor>
    <persistent-store-type>replicated_if_clustered</persistent-store-type>
    <sharing-enabled>true</sharing-enabled>
    </session-descriptor>
    use case:
    user1 hits the URL, Apache proxy forwards to node1
    user2 hits the URL, Apache proxy forwards to node2
    kill the node1 and user1 click on any link, he gets redirected to login page. No failover us happening.
    In Node 1 server logs am getting below exception
    ####<Dec 5, 2012 8:39:21 PM IST> <Error> <Cluster> <Win2k8SRV-01> <win2k8svr-ms1> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1354720161810> <BEA-000126> <All session objects should be serializable to replicate. Check the objects in your session. Failed to replicate non-serializable object.
    java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
         java.lang.ClassNotFoundException: Failed to load class com.presentation.physical.management.form.ApprovalForm
         at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
         at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
         at weblogic.cluster.replication.ReplicationManager_1035_WLStub.create(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    Strange thing i noticed is if comment the persistent-store-type attribute in xml file then apache is able to load balance the request between the nodes else all request goes to Node1( from apache logs). Below logs are captured with persistent-store-type set to replicated_if_clustered. Here the JSESSIONID points to server1(port 7003 which is appended to JSESSIONID).
    192.168.2.161 - - [05/Dec/2012:20:38:52 +0530] JSESSIONID=1XZxQ1jFxpMhLr8ZSyJdGWLk6Fn2yvWrmc3G6YZpyDBDSZQGQJTn!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; path=/; HttpOnly Test=Test "GET /App/login.jsp?partnerApp=http://192.168.2.161:8080/login.do?method=login HTTP/1.1" 200 13384
    192.168.2.161 - - [05/Dec/2012:20:38:55 +0530] - Test=Test; JSESSIONID=1XZxQ1jFxpMhLr8ZSyJdGWLk6Fn2yvWrmc3G6YZpyDBDSZQGQJTn!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1 "POST /App/AppEnv HTTP/1.1" 200 -
    192.168.2.161 - - [05/Dec/2012:20:39:14 +0530] APP_SSO_COOKIE=APP-728a8af1-ME5hYqMOkJCcIQc; path=/ Test=Test; JSESSIONID=1XZxQ1jFxpMhLr8ZSyJdGWLk6Fn2yvWrmc3G6YZpyDBDSZQGQJTn!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1 "POST /App/login HTTP/1.1" 302 289
    192.168.1.220 - - [05/Dec/2012:20:39:14 +0530] - JSESSIONID=1XZxQ1jFxpMhLr8ZSyJdGWLk6Fn2yvWrmc3G6YZpyDBDSZQGQJTn!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1!1354720133917 "GET /App/validateSession?ssoSessionID=APP-728a8af1-ME5hYqMOkJCcIQc HTTP/1.1" 200 89
    192.168.2.161 - - [05/Dec/2012:20:39:14 +0530] - Test=Test; JSESSIONID=1XZxQ1jFxpMhLr8ZSyJdGWLk6Fn2yvWrmc3G6YZpyDBDSZQGQJTn!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; APP_SSO_COOKIE=APP-728a8af1-ME5hYqMOkJCcIQc "GET /login.do?method=login HTTP/1.1" 200 2767
    192.168.1.220 - - [05/Dec/2012:20:39:20 +0530] - JSESSIONID=1XZxQ1jFxpMhLr8ZSyJdGWLk6Fn2yvWrmc3G6YZpyDBDSZQGQJTn!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1!1354720133917 "GET /App/validateSession?ssoSessionID=APP-728a8af1-ME5hYqMOkJCcIQc HTTP/1.1" 200 89
    192.168.2.161 - - [05/Dec/2012:20:39:20 +0530] - Test=Test; JSESSIONID=1XZxQ1jFxpMhLr8ZSyJdGWLk6Fn2yvWrmc3G6YZpyDBDSZQGQJTn!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; APP_SSO_COOKIE=APP-728a8af1-ME5hYqMOkJCcIQc "GET /login.do?method=showCorporateLogo HTTP/1.1" 200 11547
    192.168.2.161 - - [05/Dec/2012:20:39:20 +0530] - Test=Test; JSESSIONID=1XZxQ1jFxpMhLr8ZSyJdGWLk6Fn2yvWrmc3G6YZpyDBDSZQGQJTn!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; APP_SSO_COOKIE=APP-728a8af1-ME5hYqMOkJCcIQc "POST /EkaCommonUtilServlet?method=getUserLocaleDate HTTP/1.1" 200 23
    192.168.1.220 - - [05/Dec/2012:20:39:20 +0530] - JSESSIONID=1XZxQ1jFxpMhLr8ZSyJdGWLk6Fn2yvWrmc3G6YZpyDBDSZQGQJTn!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1!1354720133917 "GET /App/validateSession?ssoSessionID=APP-728a8af1-ME5hYqMOkJCcIQc HTTP/1.1" 200 89
    192.168.2.161 - - [05/Dec/2012:20:39:20 +0530] - Test=Test; JSESSIONID=1XZxQ1jFxpMhLr8ZSyJdGWLk6Fn2yvWrmc3G6YZpyDBDSZQGQJTn!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; APP_SSO_COOKIE=APP-728a8af1-ME5hYqMOkJCcIQc "POST /login.do?method=getMenuData HTTP/1.1" 200 9615
    192.168.1.220 - - [05/Dec/2012:20:39:20 +0530] - JSESSIONID=1XZxQ1jFxpMhLr8ZSyJdGWLk6Fn2yvWrmc3G6YZpyDBDSZQGQJTn!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1!1354720133917 "GET /App/validateSession?ssoSessionID=APP-728a8af1-ME5hYqMOkJCcIQc HTTP/1.1" 200 89
    192.168.2.161 - - [05/Dec/2012:20:39:20 +0530] - Test=Test; JSESSIONID=1XZxQ1jFxpMhLr8ZSyJdGWLk6Fn2yvWrmc3G6YZpyDBDSZQGQJTn!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; APP_SSO_COOKIE=APP-728a8af1-ME5hYqMOkJCcIQc "POST /getUserModuleHomePage.do?method=loadUserHomePageDetails HTTP/1.1" 200 1264
    192.168.2.161 - - [05/Dec/2012:20:39:20 +0530] - Test=Test; JSESSIONID=1XZxQ1jFxpMhLr8ZSyJdGWLk6Fn2yvWrmc3G6YZpyDBDSZQGQJTn!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; APP_SSO_COOKIE=APP-728a8af1-ME5hYqMOkJCcIQc "POST /ListingHelperServlet?actionId=getUserPref&gridViewName=DEFAULT%20VIEW&gridId=LOC HTTP/1.1" 200 2228
    192.168.2.161 - - [05/Dec/2012:20:39:20 +0530] - Test=Test; JSESSIONID=1XZxQ1jFxpMhLr8ZSyJdGWLk6Fn2yvWrmc3G6YZpyDBDSZQGQJTn!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; APP_SSO_COOKIE=APP-728a8af1-ME5hYqMOkJCcIQc "POST /ListingHelperServlet?actionId=getUserPref&gridViewName=DEFAULT1%20VIEW&gridId=LOCA HTTP/1.1" 200 3775
    192.168.1.220 - - [05/Dec/2012:20:39:20 +0530] - JSESSIONID=1XZxQ1jFxpMhLr8ZSyJdGWLk6Fn2yvWrmc3G6YZpyDBDSZQGQJTn!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1!1354720133917 "GET /App/validateSession?ssoSessionID=APP-728a8af1-ME5hYqMOkJCcIQc HTTP/1.1" 200 89
    192.168.2.161 - - [05/Dec/2012:20:39:20 +0530] - Test=Test; JSESSIONID=1XZxQ1jFxpMhLr8ZSyJdGWLk6Fn2yvWrmc3G6YZpyDBDSZQGQJTn!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; APP_SSO_COOKIE=APP-728a8af1-ME5hYqMOkJCcIQc "POST /app/commonListing.do?method=getListingData&gridId=LOC HTTP/1.1" 302 309
    192.168.1.220 - - [05/Dec/2012:20:39:21 +0530] - JSESSIONID=1XZxQ1jFxpMhLr8ZSyJdGWLk6Fn2yvWrmc3G6YZpyDBDSZQGQJTn!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1!1354720133917 "GET /App/validateSession?ssoSessionID=APP-728a8af1-ME5hYqMOkJCcIQc HTTP/1.1" 200 89
    192.168.2.161 - - [05/Dec/2012:20:39:20 +0530] - Test=Test; JSESSIONID=1XZxQ1jFxpMhLr8ZSyJdGWLk6Fn2yvWrmc3G6YZpyDBDSZQGQJTn!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; APP_SSO_COOKIE=APP-728a8af1-ME5hYqMOkJCcIQc "POST /app/contractApprovalList.do?method=loadListOfContractApprovals HTTP/1.1" 302 309
    192.168.1.220 - - [05/Dec/2012:20:39:21 +0530] - JSESSIONID=1XZxQ1jFxpMhLr8ZSyJdGWLk6Fn2yvWrmc3G6YZpyDBDSZQGQJTn!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1!1354720133917 "GET /App/validateSession?ssoSessionID=APP-728a8af1-ME5hYqMOkJCcIQc HTTP/1.1" 200 89
    192.168.2.161 - - [05/Dec/2012:20:39:21 +0530] - Test=Test; JSESSIONID=1XZxQ1jFxpMhLr8ZSyJdGWLk6Fn2yvWrmc3G6YZpyDBDSZQGQJTn!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; APP_SSO_COOKIE=APP-728a8af1-ME5hYqMOkJCcIQc "GET /private/jsp/AppErrorPage.jsp HTTP/1.1" 200 8042
    192.168.1.220 - - [05/Dec/2012:20:39:21 +0530] - JSESSIONID=1XZxQ1jFxpMhLr8ZSyJdGWLk6Fn2yvWrmc3G6YZpyDBDSZQGQJTn!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1!1354720133917 "GET /App/validateSession?ssoSessionID=APP-728a8af1-ME5hYqMOkJCcIQc HTTP/1.1" 200 89
    192.168.2.161 - - [05/Dec/2012:20:39:21 +0530] - Test=Test; JSESSIONID=1XZxQ1jFxpMhLr8ZSyJdGWLk6Fn2yvWrmc3G6YZpyDBDSZQGQJTn!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; APP_SSO_COOKIE=APP-728a8af1-ME5hYqMOkJCcIQc "GET /private/jsp/AppErrorPage.jsp HTTP/1.1" 200 8042
    192.168.1.220 - - [05/Dec/2012:20:39:24 +0530] - JSESSIONID=1XZxQ1jFxpMhLr8ZSyJdGWLk6Fn2yvWrmc3G6YZpyDBDSZQGQJTn!-1288095560!-1062731300!7003!-1!NONE!1354720133917 "GET /App/validateSession?ssoSessionID=APP-728a8af1-ME5hYqMOkJCcIQc HTTP/1.1" 200 89
    192.168.2.161 - - [05/Dec/2012:20:39:24 +0530] JSESSIONID=1XZxQ1jFxpMhLr8ZSyJdGWLk6Fn2yvWrmc3G6YZpyDBDSZQGQJTn!-1288095560!-1062731300!7003!-1!NONE; path=/; HttpOnly Test=Test; JSESSIONID=1XZxQ1jFxpMhLr8ZSyJdGWLk6Fn2yvWrmc3G6YZpyDBDSZQGQJTn!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; APP_SSO_COOKIE=APP-728a8af1-ME5hYqMOkJCcIQc "POST /app/gmcTabHandler.do?method=loadGMCTab&applyDefaultValue=Y&gridId=LOGPF&linkName=Grower_Profile&switchMenu=TabMenu17_1_1 HTTP/1.1" 200 47435
    192.168.1.220 - - [05/Dec/2012:20:39:24 +0530] - JSESSIONID=1XZxQ1jFxpMhLr8ZSyJdGWLk6Fn2yvWrmc3G6YZpyDBDSZQGQJTn!-1288095560!-1062731300!7003!-1!NONE!1354720133917 "GET /App/validateSession?ssoSessionID=APP-728a8af1-ME5hYqMOkJCcIQc HTTP/1.1" 200 89
    192.168.2.161 - - [05/Dec/2012:20:39:24 +0530] - Test=Test; JSESSIONID=1XZxQ1jFxpMhLr8ZSyJdGWLk6Fn2yvWrmc3G6YZpyDBDSZQGQJTn!-1288095560!-1062731300!7003!-1!NONE; APP_SSO_COOKIE=APP-728a8af1-ME5hYqMOkJCcIQc "POST /getUserModuleHomePage.do?method=saveUserViewportPreference HTTP/1.1" 200 -
    192.168.2.161 - - [05/Dec/2012:20:39:25 +0530] - Test=Test; JSESSIONID=1XZxQ1jFxpMhLr8ZSyJdGWLk6Fn2yvWrmc3G6YZpyDBDSZQGQJTn!-1288095560!-1062731300!7003!-1!NONE; APP_SSO_COOKIE=APP-728a8af1-ME5hYqMOkJCcIQc "POST /EkaCommonUtilServlet?method=getUserLocaleDate HTTP/1.1" 200 23
    192.168.1.220 - - [05/Dec/2012:20:39:25 +0530] - JSESSIONID=1XZxQ1jFxpMhLr8ZSyJdGWLk6Fn2yvWrmc3G6YZpyDBDSZQGQJTn!-1288095560!-1062731300!7003!-1!NONE!1354720133917 "GET /App/validateSession?ssoSessionID=APP-728a8af1-ME5hYqMOkJCcIQc HTTP/1.1" 200 89
    192.168.1.220 - - [05/Dec/2012:20:39:25 +0530] - JSESSIONID=1XZxQ1jFxpMhLr8ZSyJdGWLk6Fn2yvWrmc3G6YZpyDBDSZQGQJTn!-1288095560!-1062731300!7003!-1!NONE!1354720133917 "GET /App/validateSession?ssoSessionID=APP-728a8af1-ME5hYqMOkJCcIQc HTTP/1.1" 200 89
    192.168.2.161 - - [05/Dec/2012:20:39:25 +0530] - Test=Test; JSESSIONID=1XZxQ1jFxpMhLr8ZSyJdGWLk6Fn2yvWrmc3G6YZpyDBDSZQGQJTn!-1288095560!-1062731300!7003!-1!NONE; APP_SSO_COOKIE=APP-728a8af1-ME5hYqMOkJCcIQc "POST /login.do?method=getMenuData HTTP/1.1" 200 9615
    192.168.2.161 - - [05/Dec/2012:20:39:25 +0530] - Test=Test; JSESSIONID=1XZxQ1jFxpMhLr8ZSyJdGWLk6Fn2yvWrmc3G6YZpyDBDSZQGQJTn!-1288095560!-1062731300!7003!-1!NONE; APP_SSO_COOKIE=APP-728a8af1-ME5hYqMOkJCcIQc "GET /login.do?method=showCorporateLogo HTTP/1.1" 200 11547
    192.168.1.220 - - [05/Dec/2012:20:39:31 +0530] - JSESSIONID=1XZxQ1jFxpMhLr8ZSyJdGWLk6Fn2yvWrmc3G6YZpyDBDSZQGQJTn!-1288095560!-1062731300!7003!-1!NONE!1354720133917 "GET /App/validateSession?ssoSessionID=APP-728a8af1-ME5hYqMOkJCcIQc HTTP/1.1" 200 89
    192.168.2.161 - - [05/Dec/2012:20:39:25 +0530] - Test=Test; JSESSIONID=1XZxQ1jFxpMhLr8ZSyJdGWLk6Fn2yvWrmc3G6YZpyDBDSZQGQJTn!-1288095560!-1062731300!7003!-1!NONE; APP_SSO_COOKIE=APP-728a8af1-ME5hYqMOkJCcIQc "POST /app/commonListing.do?method=getCommonListingPage&gridId=LOGPF&setupPage=Y&applyDefaultValue=Y HTTP/1.1" 200 51216
    192.168.1.220 - - [05/Dec/2012:20:39:31 +0530] - JSESSIONID=1XZxQ1jFxpMhLr8ZSyJdGWLk6Fn2yvWrmc3G6YZpyDBDSZQGQJTn!-1288095560!-1062731300!7003!-1!NONE!1354720133917 "GET /App/validateSession?ssoSessionID=APP-728a8af1-ME5hYqMOkJCcIQc HTTP/1.1" 200 89
    192.168.2.161 - - [05/Dec/2012:20:39:31 +0530] - Test=Test; JSESSIONID=1XZxQ1jFxpMhLr8ZSyJdGWLk6Fn2yvWrmc3G6YZpyDBDSZQGQJTn!-1288095560!-1062731300!7003!-1!NONE; APP_SSO_COOKIE=APP-728a8af1-ME5hYqMOkJCcIQc "POST /commonListing.do?method=getUserViews HTTP/1.1" 200 49
    192.168.1.220 - - [05/Dec/2012:20:39:31 +0530] - JSESSIONID=1XZxQ1jFxpMhLr8ZSyJdGWLk6Fn2yvWrmc3G6YZpyDBDSZQGQJTn!-1288095560!-1062731300!7003!-1!NONE!1354720133917 "GET /App/validateSession?ssoSessionID=APP-728a8af1-ME5hYqMOkJCcIQc HTTP/1.1" 200 89
    192.168.2.161 - - [05/Dec/2012:20:39:31 +0530] - Test=Test; JSESSIONID=1XZxQ1jFxpMhLr8ZSyJdGWLk6Fn2yvWrmc3G6YZpyDBDSZQGQJTn!-1288095560!-1062731300!7003!-1!NONE; APP_SSO_COOKIE=APP-728a8af1-ME5hYqMOkJCcIQc "POST /app/growerProfile.do?method=loadGrowerProfileFilter&gridId=LOGPF HTTP/1.1" 200 46579
    192.168.2.161 - - [05/Dec/2012:20:40:04 +0530] - Test=Test; JSESSIONID=DMBQQ1QSQfh6HyCMH91P2wXJQVKDQr6hCklqJgbhyYlVdzNT6vQC!1022793105!-1062731300!7004!-1; App=App; App2=App2 "GET / HTTP/1.1" 302 397
    192.168.2.161 - - [05/Dec/2012:20:40:04 +0530] JSESSIONID=b4GBQ1jMpYQTRTbT213yvj1T13Jm6wnh1VlTz79jJWRkXj88jShg!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; path=/; HttpOnly Test=Test; JSESSIONID=DMBQQ1QSQfh6HyCMH91P2wXJQVKDQr6hCklqJgbhyYlVdzNT6vQC!1022793105!-1062731300!7004!-1; App=App; App2=App2 "GET /App/login.jsp?partnerApp=http://192.168.2.161:8080/login.do?method=login HTTP/1.1" 200 13384
    192.168.2.161 - - [05/Dec/2012:20:40:04 +0530] - Test=Test; JSESSIONID=b4GBQ1jMpYQTRTbT213yvj1T13Jm6wnh1VlTz79jJWRkXj88jShg!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; App=App; App2=App2 "GET /private/css/styles.css HTTP/1.1" 200 4988
    192.168.2.161 - - [05/Dec/2012:20:40:04 +0530] - Test=Test; JSESSIONID=b4GBQ1jMpYQTRTbT213yvj1T13Jm6wnh1VlTz79jJWRkXj88jShg!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; App=App; App2=App2 "GET /private/js/ext/resources/css/ext-all.css HTTP/1.1" 200 28527
    192.168.2.161 - - [05/Dec/2012:20:40:04 +0530] - Test=Test; JSESSIONID=b4GBQ1jMpYQTRTbT213yvj1T13Jm6wnh1VlTz79jJWRkXj88jShg!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; App=App; App2=App2 "GET /private/js/general/tooltip.js HTTP/1.1" 200 12408
    192.168.2.161 - - [05/Dec/2012:20:40:04 +0530] - Test=Test; JSESSIONID=b4GBQ1jMpYQTRTbT213yvj1T13Jm6wnh1VlTz79jJWRkXj88jShg!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; App=App; App2=App2 "GET /App/private/js/ForgotPassword.js HTTP/1.1" 200 6003
    192.168.2.161 - - [05/Dec/2012:20:40:04 +0530] - Test=Test; JSESSIONID=b4GBQ1jMpYQTRTbT213yvj1T13Jm6wnh1VlTz79jJWRkXj88jShg!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; App=App; App2=App2 "GET /private/js/general/AjaxRequest.js HTTP/1.1" 200 4434
    192.168.2.161 - - [05/Dec/2012:20:40:04 +0530] - Test=Test; JSESSIONID=b4GBQ1jMpYQTRTbT213yvj1T13Jm6wnh1VlTz79jJWRkXj88jShg!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; App=App; App2=App2 "GET /private/js/ext/adapter/ext/ext-base.js HTTP/1.1" 200 12483
    192.168.2.161 - - [05/Dec/2012:20:40:04 +0530] - Test=Test; JSESSIONID=b4GBQ1jMpYQTRTbT213yvj1T13Jm6wnh1VlTz79jJWRkXj88jShg!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; App=App; App2=App2 "GET /private/js/ext/ext-all.js HTTP/1.1" 200 186157
    192.168.2.161 - - [05/Dec/2012:20:40:05 +0530] - Test=Test; JSESSIONID=b4GBQ1jMpYQTRTbT213yvj1T13Jm6wnh1VlTz79jJWRkXj88jShg!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; App=App; App2=App2 "GET /private/images/login.gif HTTP/1.1" 200 427
    192.168.2.161 - - [05/Dec/2012:20:40:05 +0530] - Test=Test; JSESSIONID=b4GBQ1jMpYQTRTbT213yvj1T13Jm6wnh1VlTz79jJWRkXj88jShg!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; App=App; App2=App2 "GET /private/images/solutions.gif HTTP/1.1" 200 3492
    192.168.2.161 - - [05/Dec/2012:20:40:05 +0530] - Test=Test; JSESSIONID=b4GBQ1jMpYQTRTbT213yvj1T13Jm6wnh1VlTz79jJWRkXj88jShg!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; App=App; App2=App2 "GET /private/images/logo.gif HTTP/1.1" 200 1751
    192.168.2.161 - - [05/Dec/2012:20:40:05 +0530] - Test=Test; JSESSIONID=b4GBQ1jMpYQTRTbT213yvj1T13Jm6wnh1VlTz79jJWRkXj88jShg!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; App=App; App2=App2 "POST /App/AppEnv HTTP/1.1" 200 -
    192.168.2.161 - - [05/Dec/2012:20:40:46 +0530] - Test=Test; JSESSIONID=b4GBQ1jMpYQTRTbT213yvj1T13Jm6wnh1VlTz79jJWRkXj88jShg!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; App=App; App2=App2 "GET / HTTP/1.1" 302 397
    192.168.2.161 - - [05/Dec/2012:20:40:46 +0530] - Test=Test; JSESSIONID=b4GBQ1jMpYQTRTbT213yvj1T13Jm6wnh1VlTz79jJWRkXj88jShg!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; App=App; App2=App2 "GET /App/login.jsp?partnerApp=http://192.168.2.161:8080/login.do?method=login HTTP/1.1" 200 13384
    192.168.2.161 - - [05/Dec/2012:20:40:46 +0530] - Test=Test; JSESSIONID=b4GBQ1jMpYQTRTbT213yvj1T13Jm6wnh1VlTz79jJWRkXj88jShg!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; App=App; App2=App2 "GET /private/css/styles.css HTTP/1.1" 200 4988
    192.168.2.161 - - [05/Dec/2012:20:40:46 +0530] - Test=Test; JSESSIONID=b4GBQ1jMpYQTRTbT213yvj1T13Jm6wnh1VlTz79jJWRkXj88jShg!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; App=App; App2=App2 "GET /private/js/general/AjaxRequest.js HTTP/1.1" 200 4434
    192.168.2.161 - - [05/Dec/2012:20:40:46 +0530] - Test=Test; JSESSIONID=b4GBQ1jMpYQTRTbT213yvj1T13Jm6wnh1VlTz79jJWRkXj88jShg!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; App=App; App2=App2 "GET /private/js/general/tooltip.js HTTP/1.1" 200 12408
    192.168.2.161 - - [05/Dec/2012:20:40:46 +0530] - Test=Test; JSESSIONID=b4GBQ1jMpYQTRTbT213yvj1T13Jm6wnh1VlTz79jJWRkXj88jShg!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; App=App; App2=App2 "GET /private/js/ext/resources/css/ext-all.css HTTP/1.1" 200 28527
    192.168.2.161 - - [05/Dec/2012:20:40:46 +0530] - Test=Test; JSESSIONID=b4GBQ1jMpYQTRTbT213yvj1T13Jm6wnh1VlTz79jJWRkXj88jShg!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; App=App; App2=App2 "GET /App/private/js/ForgotPassword.js HTTP/1.1" 200 6003
    192.168.2.161 - - [05/Dec/2012:20:40:46 +0530] - Test=Test; JSESSIONID=b4GBQ1jMpYQTRTbT213yvj1T13Jm6wnh1VlTz79jJWRkXj88jShg!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; App=App; App2=App2 "GET /private/js/ext/adapter/ext/ext-base.js HTTP/1.1" 200 12483
    192.168.2.161 - - [05/Dec/2012:20:40:46 +0530] - Test=Test; JSESSIONID=b4GBQ1jMpYQTRTbT213yvj1T13Jm6wnh1VlTz79jJWRkXj88jShg!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; App=App; App2=App2 "GET /private/js/ext/ext-all.js HTTP/1.1" 200 186157
    192.168.2.161 - - [05/Dec/2012:20:40:46 +0530] - Test=Test; JSESSIONID=b4GBQ1jMpYQTRTbT213yvj1T13Jm6wnh1VlTz79jJWRkXj88jShg!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; App=App; App2=App2 "GET /private/images/login.gif HTTP/1.1" 200 427
    192.168.2.161 - - [05/Dec/2012:20:40:46 +0530] - Test=Test; JSESSIONID=b4GBQ1jMpYQTRTbT213yvj1T13Jm6wnh1VlTz79jJWRkXj88jShg!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; App=App; App2=App2 "GET /private/images/logo.gif HTTP/1.1" 200 1751
    192.168.2.161 - - [05/Dec/2012:20:40:46 +0530] - Test=Test; JSESSIONID=b4GBQ1jMpYQTRTbT213yvj1T13Jm6wnh1VlTz79jJWRkXj88jShg!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; App=App; App2=App2 "GET /private/images/solutions.gif HTTP/1.1" 200 3492
    192.168.2.161 - - [05/Dec/2012:20:40:46 +0530] - Test=Test; JSESSIONID=b4GBQ1jMpYQTRTbT213yvj1T13Jm6wnh1VlTz79jJWRkXj88jShg!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; App=App; App2=App2 "POST /App/AppEnv HTTP/1.1" 200 -
    192.168.2.161 - - [05/Dec/2012:20:40:57 +0530] APP_SSO_COOKIE=APP-728a8af1-1OOOch71SSRAKYp; path=/ Test=Test; JSESSIONID=b4GBQ1jMpYQTRTbT213yvj1T13Jm6wnh1VlTz79jJWRkXj88jShg!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; App=App; App2=App2 "POST /App/login HTTP/1.1" 302 289
    192.168.1.220 - - [05/Dec/2012:20:40:57 +0530] - JSESSIONID=b4GBQ1jMpYQTRTbT213yvj1T13Jm6wnh1VlTz79jJWRkXj88jShg!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1!1354720204538 "GET /App/validateSession?ssoSessionID=APP-728a8af1-1OOOch71SSRAKYp HTTP/1.1" 200 89
    192.168.2.161 - - [05/Dec/2012:20:40:57 +0530] - Test=Test; JSESSIONID=b4GBQ1jMpYQTRTbT213yvj1T13Jm6wnh1VlTz79jJWRkXj88jShg!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; App=App; App2=App2; APP_SSO_COOKIE=APP-728a8af1-1OOOch71SSRAKYp "GET /login.do?method=login HTTP/1.1" 200 2767
    192.168.2.161 - - [05/Dec/2012:20:41:00 +0530] - Test=Test; JSESSIONID=b4GBQ1jMpYQTRTbT213yvj1T13Jm6wnh1VlTz79jJWRkXj88jShg!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; App=App; App2=App2; APP_SSO_COOKIE=APP-728a8af1-1OOOch71SSRAKYp "GET /private/css/sample.css HTTP/1.1" 200 303
    192.168.2.161 - - [05/Dec/2012:20:41:00 +0530] - Test=Test; JSESSIONID=b4GBQ1jMpYQTRTbT213yvj1T13Jm6wnh1VlTz79jJWRkXj88jShg!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; App=App; App2=App2; APP_SSO_COOKIE=APP-728a8af1-1OOOch71SSRAKYp "GET /private/css/styles.css HTTP/1.1" 200 4988
    192.168.2.161 - - [05/Dec/2012:20:41:00 +0530] - Test=Test; JSESSIONID=b4GBQ1jMpYQTRTbT213yvj1T13Jm6wnh1VlTz79jJWRkXj88jShg!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; App=App; App2=App2; APP_SSO_COOKIE=APP-728a8af1-1OOOch71SSRAKYp "GET /private/js/ext/adapter/ext/ext-base.js HTTP/1.1" 200 12483
    192.168.2.161 - - [05/Dec/2012:20:41:00 +0530] - Test=Test; JSESSIONID=b4GBQ1jMpYQTRTbT213yvj1T13Jm6wnh1VlTz79jJWRkXj88jShg!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; App=App; App2=App2; APP_SSO_COOKIE=APP-728a8af1-1OOOch71SSRAKYp "GET /private/css/portal.css HTTP/1.1" 200 287
    192.168.2.161 - - [05/Dec/2012:20:41:00 +0530] - Test=Test; JSESSIONID=b4GBQ1jMpYQTRTbT213yvj1T13Jm6wnh1VlTz79jJWRkXj88jShg!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; App=App; App2=App2; APP_SSO_COOKIE=APP-728a8af1-1OOOch71SSRAKYp "GET /private/css/header.css HTTP/1.1" 200 411
    192.168.2.161 - - [05/Dec/2012:20:41:00 +0530] - Test=Test; JSESSIONID=b4GBQ1jMpYQTRTbT213yvj1T13Jm6wnh1VlTz79jJWRkXj88jShg!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; App=App; App2=App2; APP_SSO_COOKIE=APP-728a8af1-1OOOch71SSRAKYp "GET /private/js/ext/resources/css/ext-all.css HTTP/1.1" 200 28527
    192.168.2.161 - - [05/Dec/2012:20:41:00 +0530] - Test=Test; JSESSIONID=b4GBQ1jMpYQTRTbT213yvj1T13Jm6wnh1VlTz79jJWRkXj88jShg!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; App=App; App2=App2; APP_SSO_COOKIE=APP-728a8af1-1OOOch71SSRAKYp "GET /private/js/tag/Tag.js HTTP/1.1" 200 3579
    192.168.2.161 - - [05/Dec/2012:20:41:00 +0530] - Test=Test; JSESSIONID=b4GBQ1jMpYQTRTbT213yvj1T13Jm6wnh1VlTz79jJWRkXj88jShg!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; App=App; App2=App2; APP_SSO_COOKIE=APP-728a8af1-1OOOch71SSRAKYp "GET /private/js/ext/ext-all.js HTTP/1.1" 200 186157
    192.168.2.161 - - [05/Dec/2012:20:41:00 +0530] - Test=Test; JSESSIONID=b4GBQ1jMpYQTRTbT213yvj1T13Jm6wnh1VlTz79jJWRkXj88jShg!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; App=App; App2=App2; APP_SSO_COOKIE=APP-728a8af1-1OOOch71SSRAKYp "GET /private/js/general/ProgressBarPager.js HTTP/1.1" 200 1244
    192.168.2.161 - - [05/Dec/2012:20:41:00 +0530] - Test=Test; JSESSIONID=b4GBQ1jMpYQTRTbT213yvj1T13Jm6wnh1VlTz79jJWRkXj88jShg!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; App=App; App2=App2; APP_SSO_COOKIE=APP-728a8af1-1OOOch71SSRAKYp "GET /private/js/general/PanelResizer.js HTTP/1.1" 200 649
    192.168.2.161 - - [05/Dec/2012:20:41:00 +0530] - Test=Test; JSESSIONID=b4GBQ1jMpYQTRTbT213yvj1T13Jm6wnh1VlTz79jJWRkXj88jShg!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; App=App; App2=App2; APP_SSO_COOKIE=APP-728a8af1-1OOOch71SSRAKYp "GET /private/js/general/PagingMemoryProxy.js HTTP/1.1" 200 1154
    192.168.2.161 - - [05/Dec/2012:20:41:00 +0530] - Test=Test; JSESSIONID=b4GBQ1jMpYQTRTbT213yvj1T13Jm6wnh1VlTz79jJWRkXj88jShg!-1288095560!-1062731300!7003!-1!1586878909!-1062731300!7004!-1; App=App; App2=App2; APP_SSO_COOKIE=APP-728a8af1-1OOOch71SSRAKYp "GET /private/js/general/CalendarPopup.js HTTP/1.1" 200 14572
    Let me know if my set up wrong. Do i need to modify any settings related to cluster from console ?
    Regards,
    Sandeep

    Hi Mukesh,
    Thanks for the reply. TO check the session data i took the JSP from http://middlewaremagic.com/weblogic/?p=290 for testing the serialization of session data, modified a little bit and added to all the WAR files to check session data of each WAR file. I could verify that all data in session are serializable.
    While trying the serialization test, i did change the persistence store type to "replicated" but no luck yet.
    But this time i got some replication missed message from server logs.
    Primary server Logs
    <BEA-000118> <Lost 11 replication updates of object 3736767543476998706; update version: 12, current version: 1.>
    <BEA-000000> <[roid:3736767543476998706] Found secondary for application key /app>
    <BEA-000000> <[roid:3736767543476998706] Found secondary for application key >
    <BEA-000000> <[roid:3736767543476998706] Found secondary for application key /ssoApp>
    <BEA-000000> <Updated local secondary with version 18 from 3736767543476998705S:192.168.1.220:[7111,7111,-1,-1,-1,-1,-1]:Domain7001:wlsc1s1for replication object 3736767543476998706, key , ro = weblogic.servlet.internal.session.ReplicatedSessionData@14e52305>
    <BEA-000000> <Updated local secondary with version 19 from 3736767543476998705S:192.168.1.220:[7111,7111,-1,-1,-1,-1,-1]:Domain7001:wlsc1s1for replication object 3736767543476998706, key , ro = weblogic.servlet.internal.session.ReplicatedSessionData@14e52305>
    But in secondary server i got lot of weblogic.cluster.replication.NotFoundException
    <BEA-000000> <Has secondary servers? true>
    <BEA-000000> <Current secondary server? 3054493844538055224S:192.168.1.220:[8111,8111,-1,-1,-1,-1,-1]:Domain7001:wlsc1s2>
    <BEA-000000> <[roid:3736767543476998706] Created secondary on 3054493844538055224S:192.168.1.220:[8111,8111,-1,-1,-1,-1,-1]:Domain7001:wlsc1s2>
    <BEA-000000> <[roid:3736767543476998706] Using Single-Channel for 2-way update()>
    <BEA-000000> <[roid:3736767543476998706] Error updating secondary for 3736767543476998706, key /app, on 3054493844538055224S:192.168.1.220:[8111,8111,-1,-1,-1,-1,-1]:Domain7001:wlsc1s2. Re-creating secondary.
    weblogic.cluster.replication.NotFoundException: Lost 8 updates of 3736767543476998706
         at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
         at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
         at weblogic.cluster.replication.ReplicationManager_1035_WLStub.update(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor252.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at weblogic.cluster.replication.SecureReplicationInvocationHandler$ReplicationServicesInvocationAction.run(SecureReplicationInvocationHandler.java:194)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.cluster.replication.SecureReplicationInvocationHandler.invoke(SecureReplicationInvocationHandler.java:164)
         at $Proxy359.update(Unknown Source)
         at weblogic.cluster.replication.ReplicationManager.sendUpdateRequestToSecondary(ReplicationManager.java:740)
         at weblogic.cluster.replication.ReplicationManager.updateSecondary(ReplicationManager.java:662)
         at weblogic.servlet.internal.session.ReplicatedSessionData.syncSession(ReplicatedSessionData.java:639)
         at weblogic.servlet.internal.session.ReplicatedSessionContext.sync(ReplicatedSessionContext.java:85)
         at weblogic.servlet.internal.ServletRequestImpl$SessionHelper.syncSession(ServletRequestImpl.java:2860)
         at weblogic.servlet.internal.ServletRequestImpl$SessionHelper.syncSession(ServletRequestImpl.java:2835)
         at weblogic.servlet.internal.ServletResponseImpl$1.run(ServletResponseImpl.java:1485)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.ServletResponseImpl.send(ServletResponseImpl.java:1479)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1462)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused By: weblogic.cluster.replication.NotFoundException: Lost 8 updates of 3736767543476998706
         at weblogic.cluster.replication.ReplicationManager.updateInternal(ReplicationManager.java:1143)
         at weblogic.cluster.replication.ReplicationManager.update(ReplicationManager.java:1101)
         at weblogic.cluster.replication.ReplicationManager_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
         at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    From http://docs.oracle.com/cd/E28389_01/apirefs.1111/e14397/Cluster.html the exception is thrown if secondary is unable to receive the updates and asking primary to recreate the session state(BEA-000118).
    Am also getting
    <BEA-000000> <[roid:3736767543476998706] Removing secondary for key >
    <BEA-000000> <Removed secondary for roids: 3736767543476998706>
    in primary server logs does this mean primary is creating and deleting the session state on secondary ?
    Am getting below assertion error in primary server logs
    <BEA-080004> <An error was thrown by rmi server: weblogic.cluster.leasing.databaseless.RMIClusterMessageEndPointImpl.process(Lweblogic.cluster.leasing.databaseless.ClusterMessage;)
    java.lang.AssertionError: Invalid state transition from stable_leader to stable.
    java.lang.AssertionError: Invalid state transition from stable_leader to stable
         at weblogic.cluster.leasing.databaseless.ClusterState.setState(ClusterState.java:100)
         at weblogic.cluster.leasing.databaseless.ClusterState.setState(ClusterState.java:59)
         at weblogic.cluster.leasing.databaseless.ClusterMember.handleJoinResponseRequest(ClusterMember.java:224)
         at weblogic.cluster.leasing.databaseless.ClusterMember.process(ClusterMember.java:102)
         at weblogic.cluster.leasing.databaseless.RMIClusterMessageEndPointImpl.process(RMIClusterMessageEndPointImpl.java:30)
         at weblogic.cluster.leasing.databaseless.RMIClusterMessageEndPointImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
         at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    >
    After killing the primary and access the application in secondary server am getting unable to create secondary on null logs like below. Am i missing any configuration in setup ?
    <Managed server wlsc1s2 has been suspended or shutdown.>
    <BEA-000129> <Removing 3054493844538055224S:192.168.1.220:[8111,8111,-1,-1,-1,-1,-1]:Domain7001:wlsc1s2 from the cluster.>
    <BEA-000000> <Has secondary servers? true>
    <Current secondary server? null>
    <BEA-000000> <Preferred list : []>
    <BEA-000000> <Remote list : []>
    <BEA-000000> <Local list : []>
    <New secondary server is null>
    <BEA-000000> <Secondary server null>
    <BEA-000000> <Changed the status of 2 objects and it took 59 ms>
    <BEA-000000> <Has secondary servers? true>
    <BEA-000000> <Current secondary server? null>
    <BEA-000000> <Preferred list : []>
    <BEA-000000> <Remote list : []>
    <BEA-000000> <Local list : []>
    <BEA-000000> <New secondary server is null>
    <BEA-000000> <[roid:3054493844538055225] Unable to create secondary on null>
    <BEA-000000> <[roid:3054493844538055225] Unable to create secondary on null>
    Regards,
    sandeep

  • Streaming CSV via Apache/ Tomcat  with Mod Proxy

    I have Apache hooked up to Tomcat using mod_proxy and attempts to stream a CSV file from a Struts action via tomcat fails.
    Using the tomcat port localhost:8080/testappp the streaming works fine but for some reason it does not work via the apache url
    Build is Red Hat Enterprise Linux AS release 4 on Apache 2.0.52-25 and Tomcat 5.5
    Below are pastes of the apache conf file and tomcat server.xml
    Thanks
    # httpd.conf
    # Based upon the NCSA server configuration files originally by Rob McCool.
    # This is the main Apache server configuration file. It contains the
    # configuration directives that give the server its instructions.
    # See <URL:http://httpd.apache.org/docs-2.0/> for detailed information about
    # the directives.
    # Do NOT simply read the instructions in here without understanding
    # what they do. They're here only as hints or reminders. If you are unsure
    # consult the online docs. You have been warned.
    # The configuration directives are grouped into three basic sections:
    # 1. Directives that control the operation of the Apache server process as a
    # whole (the 'global environment').
    # 2. Directives that define the parameters of the 'main' or 'default' server,
    # which responds to requests that aren't handled by a virtual host.
    # These directives also provide default values for the settings
    # of all virtual hosts.
    # 3. Settings for virtual hosts, which allow Web requests to be sent to
    # different IP addresses or hostnames and have them handled by the
    # same Apache server process.
    # Configuration and logfile names: If the filenames you specify for many
    # of the server's control files begin with "/" (or "drive:/" for Win32), the
    # server will use that explicit path. If the filenames do not begin
    # with "/", the value of ServerRoot is prepended -- so "logs/foo.log"
    # with ServerRoot set to "/etc/httpd" will be interpreted by the
    # server as "/etc/httpd/logs/foo.log".
    ### Section 1: Global Environment
    # The directives in this section affect the overall operation of Apache,
    # such as the number of concurrent requests it can handle or where it
    # can find its configuration files.
    # Don't give away too much information about all the subcomponents
    # we are running. Comment out this line if you don't mind remote sites
    # finding out what major optional modules you are running
    ServerTokens OS
    # ServerRoot: The top of the directory tree under which the server's
    # configuration, error, and log files are kept.
    # NOTE! If you intend to place this on an NFS (or otherwise network)
    # mounted filesystem then please read the LockFile documentation
    # (available at <URL:http://httpd.apache.org/docs-2.0/mod/mpm_common.html#lockfile>);
    # you will save yourself a lot of trouble.
    # Do NOT add a slash at the end of the directory path.
    ServerRoot "/etc/httpd"
    # PidFile: The file in which the server should record its process
    # identification number when it starts.
    PidFile run/httpd.pid
    # Timeout: The number of seconds before receives and sends time out.
    Timeout 120
    # KeepAlive: Whether or not to allow persistent connections (more than
    # one request per connection). Set to "Off" to deactivate.
    KeepAlive Off
    # MaxKeepAliveRequests: The maximum number of requests to allow
    # during a persistent connection. Set to 0 to allow an unlimited amount.
    # We recommend you leave this number high, for maximum performance.
    MaxKeepAliveRequests 100
    # KeepAliveTimeout: Number of seconds to wait for the next request from the
    # same client on the same connection.
    KeepAliveTimeout 15
    ## Server-Pool Size Regulation (MPM specific)
    # prefork MPM
    # StartServers: number of server processes to start
    # MinSpareServers: minimum number of server processes which are kept spare
    # MaxSpareServers: maximum number of server processes which are kept spare
    # ServerLimit: maximum value for MaxClients for the lifetime of the server
    # MaxClients: maximum number of server processes allowed to start
    # MaxRequestsPerChild: maximum number of requests a server process serves
    <IfModule prefork.c>
    StartServers 8
    MinSpareServers 5
    MaxSpareServers 20
    ServerLimit 256
    MaxClients 256
    MaxRequestsPerChild 4000
    </IfModule>
    # worker MPM
    # StartServers: initial number of server processes to start
    # MaxClients: maximum number of simultaneous client connections
    # MinSpareThreads: minimum number of worker threads which are kept spare
    # MaxSpareThreads: maximum number of worker threads which are kept spare
    # ThreadsPerChild: constant number of worker threads in each server process
    # MaxRequestsPerChild: maximum number of requests a server process serves
    <IfModule worker.c>
    StartServers 2
    MaxClients 150
    MinSpareThreads 25
    MaxSpareThreads 75
    ThreadsPerChild 25
    MaxRequestsPerChild 0
    </IfModule>
    # Listen: Allows you to bind Apache to specific IP addresses and/or
    # ports, in addition to the default. See also the <VirtualHost>
    # directive.
    # Change this to Listen on specific IP addresses as shown below to
    # prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
    #Listen 12.34.56.78:80
    Listen 80
    # Dynamic Shared Object (DSO) Support
    # To be able to use the functionality of a module which was built as a DSO you
    # have to place corresponding `LoadModule' lines at this location so the
    # directives contained in it are actually available before they are used.
    # Statically compiled modules (those listed by `httpd -l') do not need
    # to be loaded here.
    # Example:
    # LoadModule foo_module modules/mod_foo.so
    LoadModule access_module modules/mod_access.so
    LoadModule auth_module modules/mod_auth.so
    LoadModule auth_anon_module modules/mod_auth_anon.so
    LoadModule auth_dbm_module modules/mod_auth_dbm.so
    LoadModule auth_digest_module modules/mod_auth_digest.so
    LoadModule ldap_module modules/mod_ldap.so
    LoadModule auth_ldap_module modules/mod_auth_ldap.so
    LoadModule include_module modules/mod_include.so
    LoadModule log_config_module modules/mod_log_config.so
    LoadModule env_module modules/mod_env.so
    LoadModule mime_magic_module modules/mod_mime_magic.so
    LoadModule cern_meta_module modules/mod_cern_meta.so
    LoadModule expires_module modules/mod_expires.so
    LoadModule deflate_module modules/mod_deflate.so
    LoadModule headers_module modules/mod_headers.so
    LoadModule usertrack_module modules/mod_usertrack.so
    LoadModule setenvif_module modules/mod_setenvif.so
    LoadModule mime_module modules/mod_mime.so
    LoadModule dav_module modules/mod_dav.so
    LoadModule status_module modules/mod_status.so
    LoadModule autoindex_module modules/mod_autoindex.so
    LoadModule asis_module modules/mod_asis.so
    LoadModule info_module modules/mod_info.so
    LoadModule dav_fs_module modules/mod_dav_fs.so
    LoadModule vhost_alias_module modules/mod_vhost_alias.so
    LoadModule negotiation_module modules/mod_negotiation.so
    LoadModule dir_module modules/mod_dir.so
    LoadModule imap_module modules/mod_imap.so
    LoadModule actions_module modules/mod_actions.so
    LoadModule speling_module modules/mod_speling.so
    LoadModule userdir_module modules/mod_userdir.so
    LoadModule alias_module modules/mod_alias.so
    LoadModule rewrite_module modules/mod_rewrite.so
    LoadModule proxy_module modules/mod_proxy.so
    LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
    LoadModule proxy_http_module modules/mod_proxy_http.so
    LoadModule proxy_connect_module modules/mod_proxy_connect.so
    LoadModule cache_module modules/mod_cache.so
    LoadModule suexec_module modules/mod_suexec.so
    LoadModule disk_cache_module modules/mod_disk_cache.so
    LoadModule file_cache_module modules/mod_file_cache.so
    LoadModule mem_cache_module modules/mod_mem_cache.so
    LoadModule cgi_module modules/mod_cgi.so
    LoadModule dav_svn_module /usr/lib/httpd/modules/mod_dav_svn.so
    LoadModule authz_svn_module /usr/lib/httpd/modules/mod_authz_svn.so
    # Load config files from the config directory "/etc/httpd/conf.d".
    Include conf.d/*.conf
    # ExtendedStatus controls whether Apache will generate "full" status
    # information (ExtendedStatus On) or just basic information (ExtendedStatus
    # Off) when the "server-status" handler is called. The default is Off.
    #ExtendedStatus On
    ### Section 2: 'Main' server configuration
    # The directives in this section set up the values used by the 'main'
    # server, which responds to any requests that aren't handled by a
    # <VirtualHost> definition. These values also provide defaults for
    # any <VirtualHost> containers you may define later in the file.
    # All of these directives may appear inside <VirtualHost> containers,
    # in which case these default settings will be overridden for the
    # virtual host being defined.
    # If you wish httpd to run as a different user or group, you must run
    # httpd as root initially and it will switch.
    # User/Group: The name (or #number) of the user/group to run httpd as.
    # . On SCO (ODT 3) use "User nouser" and "Group nogroup".
    # . On HPUX you may not be able to use shared memory as nobody, and the
    # suggested workaround is to create a user www and use that user.
    # NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET)
    # when the value of (unsigned)Group is above 60000;
    # don't use Group #-1 on these systems!
    User apache
    Group apache
    # ServerAdmin: Your address, where problems with the server should be
    # e-mailed. This address appears on some server-generated pages, such
    # as error documents. e.g. [email protected]
    ServerAdmin [Email]root@localhost[Email]
    # ServerName gives the name and port that the server uses to identify itself.
    # This can often be determined automatically, but we recommend you specify
    # it explicitly to prevent problems during startup.
    # If this is not set to valid DNS name for your host, server-generated
    # redirections will not work. See also the UseCanonicalName directive.
    # If your host doesn't have a registered DNS name, enter its IP address here.
    # You will have to access it by its address anyway, and this will make
    # redirections work in a sensible way.
    ServerName ext02:80
    # UseCanonicalName: Determines how Apache constructs self-referencing
    # URLs and the SERVER_NAME and SERVER_PORT variables.
    # When set "Off", Apache will use the Hostname and Port supplied
    # by the client. When set "On", Apache will use the value of the
    # ServerName directive.
    UseCanonicalName Off
    # DocumentRoot: The directory out of which you will serve your
    # documents. By default, all requests are taken from this directory, but
    # symbolic links and aliases may be used to point to other locations.
    DocumentRoot "/var/www/html"
    # Each directory to which Apache has access can be configured with respect
    # to which services and features are allowed and/or disabled in that
    # directory (and its subdirectories).
    # First, we configure the "default" to be a very restrictive set of
    # features.
    <Directory />
    Options FollowSymLinks
    AllowOverride None
    </Directory>
    # Note that from this point forward you must specifically allow
    # particular features to be enabled - so if something's not working as
    # you might expect, make sure that you have specifically enabled it
    # below.
    # This should be changed to whatever you set DocumentRoot to.
    <Directory "/var/www/html">
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    # Note that "MultiViews" must be named explicitly --- "Options All"
    # doesn't give it to you.
    # The Options directive is both complicated and important. Please see
    # http://httpd.apache.org/docs-2.0/mod/core.html#options
    # for more information.
    Options Indexes FollowSymLinks
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    # Options FileInfo AuthConfig Limit
    AllowOverride None
    # Controls who can get stuff from this server.
    Order allow,deny
    Allow from all
    </Directory>
    # UserDir: The name of the directory that is appended onto a user's home
    # directory if a ~user request is received.
    # The path to the end user account 'public_html' directory must be
    # accessible to the webserver userid. This usually means that ~userid
    # must have permissions of 711, ~userid/public_html must have permissions
    # of 755, and documents contained therein must be world-readable.
    # Otherwise, the client will only receive a "403 Forbidden" message.
    # See also: http://httpd.apache.org/docs/misc/FAQ.html#forbidden
    <IfModule mod_userdir.c>
    # UserDir is disabled by default since it can confirm the presence
    # of a username on the system (depending on home directory
    # permissions).
    UserDir disable
    # To enable requests to /~user/ to serve the user's public_html
    # directory, remove the "UserDir disable" line above, and uncomment
    # the following line instead:
    #UserDir public_html
    </IfModule>
    # Control access to UserDir directories. The following is an example
    # for a site where these directories are restricted to read-only.
    #<Directory /home/*/public_html>
    # AllowOverride FileInfo AuthConfig Limit
    # Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
    # <Limit GET POST OPTIONS>
    # Order allow,deny
    # Allow from all
    # </Limit>
    # <LimitExcept GET POST OPTIONS>
    # Order deny,allow
    # Deny from all
    # </LimitExcept>
    #</Directory>
    # DirectoryIndex: sets the file that Apache will serve if a directory
    # is requested.
    # The index.html.var file (a type-map) is used to deliver content-
    # negotiated documents. The MultiViews Option can be used for the
    # same purpose, but it is much slower.
    DirectoryIndex index.php index.html index.html.var
    # AccessFileName: The name of the file to look for in each directory
    # for additional configuration directives. See also the AllowOverride
    # directive.
    AccessFileName .htaccess
    # The following lines prevent .htaccess and .htpasswd files from being
    # viewed by Web clients.
    <Files ~ "^\.ht">
    Order allow,deny
    Deny from all
    </Files>
    # TypesConfig describes where the mime.types file (or equivalent) is
    # to be found.
    TypesConfig /etc/mime.types
    # DefaultType is the default MIME type the server will use for a document
    # if it cannot otherwise determine one, such as from filename extensions.
    # If your server contains mostly text or HTML documents, "text/plain" is
    # a good value. If most of your content is binary, such as applications
    # or images, you may want to use "application/octet-stream" instead to
    # keep browsers from trying to display binary files as though they are
    # text.
    DefaultType text/plain
    # The mod_mime_magic module allows the server to use various hints from the
    # contents of the file itself to determine its type. The MIMEMagicFile
    # directive tells the module where the hint definitions are located.
    <IfModule mod_mime_magic.c>
    # MIMEMagicFile /usr/share/magic.mime
    MIMEMagicFile conf/magic
    </IfModule>
    # HostnameLookups: Log the names of clients or just their IP addresses
    # e.g., www.apache.org (on) or 204.62.129.132 (off).
    # The default is off because it'd be overall better for the net if people
    # had to knowingly turn this feature on, since enabling it means that
    # each client request will result in AT LEAST one lookup request to the
    # nameserver.
    HostnameLookups Off
    # EnableMMAP: Control whether memory-mapping is used to deliver
    # files (assuming that the underlying OS supports it).
    # The default is on; turn this off if you serve from NFS-mounted
    # filesystems. On some systems, turning it off (regardless of
    # filesystem) can improve performance; for details, please see
    # http://httpd.apache.org/docs-2.0/mod/core.html#enablemmap
    #EnableMMAP off
    # EnableSendfile: Control whether the sendfile kernel support is
    # used to deliver files (assuming that the OS supports it).
    # The default is on; turn this off if you serve from NFS-mounted
    # filesystems. Please see
    # http://httpd.apache.org/docs-2.0/mod/core.html#enablesendfile
    #EnableSendfile off
    # ErrorLog: The location of the error log file.
    # If you do not specify an ErrorLog directive within a <VirtualHost>
    # container, error messages relating to that virtual host will be
    # logged here. If you do define an error logfile for a <VirtualHost>
    # container, that host's errors will be logged there and not here.
    ErrorLog logs/error_log
    # LogLevel: Control the number of messages logged to the error_log.
    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn
    # The following directives define some format nicknames for use with
    # a CustomLog directive (see below).
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common
    LogFormat "%{Referer}i -> %U" referer
    LogFormat "%{User-agent}i" agent
    # The location and format of the access logfile (Common Logfile Format).
    # If you do not define any access logfiles within a <VirtualHost>
    # container, they will be logged here. Contrariwise, if you do
    # define per-<VirtualHost> access logfiles, transactions will be
    # logged therein and not in this file.
    #CustomLog logs/access_log common
    # If you would like to have agent and referer logfiles, uncomment the
    # following directives.
    #CustomLog logs/referer_log referer
    #CustomLog logs/agent_log agent
    # For a single logfile with access, agent, and referer information
    # (Combined Logfile Format), use the following directive:
    CustomLog logs/access_log combined
    # Optionally add a line containing the server version and virtual host
    # name to server-generated pages (internal error documents, FTP directory
    # listings, mod_status and mod_info output etc., but not CGI generated
    # documents or custom error documents).
    # Set to "EMail" to also include a mailto: link to the ServerAdmin.
    # Set to one of: On | Off | EMail
    ServerSignature On
    # Aliases: Add here as many aliases as you need (with no limit). The format is
    # Alias fakename realname
    # Note that if you include a trailing / on fakename then the server will
    # require it to be present in the URL. So "/icons" isn't aliased in this
    # example, only "/icons/". If the fakename is slash-terminated, then the
    # realname must also be slash terminated, and if the fakename omits the
    # trailing slash, the realname must also omit it.
    # We include the /icons/ alias for FancyIndexed directory listings. If you
    # do not use FancyIndexing, you may comment this out.
    Alias /icons/ "/var/www/icons/"
    Alias /admin "/home/boss4/web/geoland/admin/"
    Alias /bboard "/home/boss4/web/phpBB3/"
    <Directory "/var/www/icons">
    Options Indexes MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>
    <Directory "/home/boss4/web/geoland/admin">
    Options Indexes MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>
    <Directory "/home/boss4/web/phpBB3">
    Options Indexes MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>
    # WebDAV module configuration section.
    <IfModule mod_dav_fs.c>
    # Location of the WebDAV lock database.
    DAVLockDB /var/lib/dav/lockdb
    </IfModule>
    # ScriptAlias: This controls which directories contain server scripts.
    # ScriptAliases are essentially the same as Aliases, except that
    # documents in the realname directory are treated as applications and
    # run by the server when requested rather than as documents sent to the client.
    # The same rules about trailing "/" apply to ScriptAlias directives as to
    # Alias.
    ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
    # "/var/www/cgi-bin" should be changed to whatever your ScriptAliased
    # CGI directory exists, if you have that configured.
    <Directory "/var/www/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
    </Directory>
    # Redirect allows you to tell clients about documents which used to exist in
    # your server's namespace, but do not anymore. This allows you to tell the
    # clients where to look for the relocated document.
    # Example:
    # Redirect permanent /foo http://www.example.com/bar
    # Directives controlling the display of server-generated directory listings.
    # IndexOptions: Controls the appearance of server-generated directory
    # listings.
    IndexOptions FancyIndexing VersionSort NameWidth=*
    # AddIcon* directives tell the server which icon to show for different
    # files or filename extensions. These are only displayed for
    # FancyIndexed directories.
    AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
    AddIconByType (TXT,/icons/text.gif) text/*
    AddIconByType (IMG,/icons/image2.gif) image/*
    AddIconByType (SND,/icons/sound2.gif) audio/*
    AddIconByType (VID,/icons/movie.gif) video/*
    AddIcon /icons/binary.gif .bin .exe
    AddIcon /icons/binhex.gif .hqx
    AddIcon /icons/tar.gif .tar
    AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
    AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
    AddIcon /icons/a.gif .ps .ai .eps
    AddIcon /icons/layout.gif .html .shtml .htm .pdf
    AddIcon /icons/text.gif .txt
    AddIcon /icons/c.gif .c
    AddIcon /icons/p.gif .pl .py
    AddIcon /icons/f.gif .for
    AddIcon /icons/dvi.gif .dvi
    AddIcon /icons/uuencoded.gif .uu
    AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
    AddIcon /icons/tex.gif .tex
    AddIcon /icons/bomb.gif core
    AddIcon /icons/back.gif ..
    AddIcon /icons/hand.right.gif README
    AddIcon /icons/folder.gif ^^DIRECTORY^^
    AddIcon /icons/blank.gif ^^BLANKICON^^
    # DefaultIcon is which icon to show for files which do not have an icon
    # explicitly set.
    DefaultIcon /icons/unknown.gif
    # AddDescription allows you to place a short description after a file in
    # server-generated indexes. These are only displayed for FancyIndexed
    # directories.
    # Format: AddDescription "description" filename
    #AddDescription "GZIP compressed document" .gz
    #AddDescription "tar archive" .tar
    #AddDescription "GZIP compressed tar archive" .tgz
    # ReadmeName is the name of the README file the server will look for by
    # default, and append to directory listings.
    # HeaderName is the name of a file which should be prepended to
    # directory indexes.
    ReadmeName README.html
    HeaderName HEADER.html
    # IndexIgnore is a set of filenames which directory indexing should ignore
    # and not include in the listing. Shell-style wildcarding is permitted.
    IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
    # DefaultLanguage and AddLanguage allows you to specify the language of
    # a document. You can then use content negotiation to give a browser a
    # file in a language the user can understand.
    # Specify a default language. This means that all data
    # going out without a specific language tag (see below) will
    # be marked with this one. You probably do NOT want to set
    # this unless you are sure it is correct for all cases.
    # * It is generally better to not mark a page as
    # * being a certain language than marking it with the wrong
    # * language!
    # DefaultLanguage nl
    # Note 1: The suffix does not have to be the same as the language
    # keyword --- those with documents in Polish (whose net-standard
    # language code is pl) may wish to use "AddLanguage pl .po" to
    # avoid the ambiguity with the common suffix for perl scripts.
    # Note 2: The example entries below illustrate that in some cases
    # the two character 'Language' abbreviation is not identical to
    # the two character 'Country' code for its country,
    # E.g. 'Danmark/dk' versus 'Danish/da'.
    # Note 3: In the case of 'ltz' we violate the RFC by using a three char
    # specifier. There is 'work in progress' to fix this and get
    # the reference data for rfc1766 cleaned up.
    # Catalan (ca) - Croatian (hr) - Czech (cs) - Danish (da) - Dutch (nl)
    # English (en) - Esperanto (eo) - Estonian (et) - French (fr) - German (de)
    # Greek-Modern (el) - Hebrew (he) - Italian (it) - Japanese (ja)
    # Korean (ko) - Luxembourgeois* (ltz) - Norwegian Nynorsk (nn)
    # Norwegian (no) - Polish (pl) - Portugese (pt)
    # Brazilian Portuguese (pt-BR) - Russian (ru) - Swedish (sv)
    # Simplified Chinese (zh-CN) - Spanish (es) - Traditional Chinese (zh-TW)
    AddLanguage ca .ca
    AddLanguage cs .cz .cs
    AddLanguage da .dk
    AddLanguage de .de
    AddLanguage el .el
    AddLanguage en .en
    AddLanguage eo .eo
    AddLanguage es .es
    AddLanguage et .et
    AddLanguage fr .fr
    AddLanguage he .he
    AddLanguage hr .hr
    AddLanguage it .it
    AddLanguage ja .ja
    AddLanguage ko .ko
    AddLanguage ltz .ltz
    AddLanguage nl .nl
    AddLanguage nn .nn
    AddLanguage no .no
    AddLanguage pl .po
    AddLanguage pt .pt
    AddLanguage pt-BR .pt-br
    AddLanguage ru .ru
    AddLanguage sv .sv
    AddLanguage zh-CN .zh-cn
    AddLanguage zh-TW .zh-tw
    # LanguagePriority allows you to give precedence to some languages
    # in case of a tie during content negotiation.
    # Just list the languages in decreasing order of preference. We have
    # more or less alphabetized them here. You probably want to change this.
    LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru sv zh-CN zh-TW
    # ForceLanguagePriority allows you to serve a result page rather than
    # MULTIPLE CHOICES (Prefer) [in case of a tie] or NOT ACCEPTABLE (Fallback)
    # [in case no accepted languages matched the available variants]
    ForceLanguagePriority Prefer Fallback
    # Specify a default charset for all pages sent out. This is
    # always a good idea and opens the door for future internationalisation
    # of your web site, should you ever want it. Specifying it as
    # a default does little harm; as the standard dictates that a page
    # is in iso-8859-1 (latin1) unless specified otherwise i.e. you
    # are merely stating the obvious. There are also some security
    # reasons in browsers, related to javascript and URL parsing
    # which encourage you to always set a default char set.
    AddDefaultCharset UTF-8
    # Commonly used filename extensions to character sets. You probably
    # want to avoid clashes with the language extensions, unless you
    # are good at carefully testing your setup after each change.
    # See http://www.iana.org/assignments/character-sets for the
    # official list of charset names and their respective RFCs.
    AddCharset ISO-8859-1 .iso8859-1 .latin1
    AddCharset ISO-8859-2 .iso8859-2 .latin2 .cen
    AddCharset ISO-8859-3 .iso8859-3 .latin3
    AddCharset ISO-8859-4 .iso8859-4 .latin4
    AddCharset ISO-8859-5 .iso8859-5 .latin5 .cyr .iso-ru
    AddCharset ISO-8859-6 .iso8859-6 .latin6 .arb
    AddCharset ISO-8859-7 .iso8859-7 .latin7 .grk
    AddCharset ISO-8859-8 .iso8859-8 .latin8 .heb
    AddCharset ISO-8859-9 .iso8859-9 .latin9 .trk
    AddCharset ISO-2022-JP .iso2022-jp .jis
    AddCharset ISO-2022-KR .iso2022-kr .kis
    AddCharset ISO-2022-CN .iso2022-cn .cis
    AddCharset Big5 .Big5 .big5
    # For russian, more than one charset is used (depends on client, mostly):
    AddCharset WINDOWS-1251 .cp-1251 .win-1251
    AddCharset CP866 .cp866
    AddCharset KOI8-r .koi8-r .koi8-ru
    AddCharset KOI8-ru .koi8-uk .ua
    AddCharset ISO-10646-UCS-2 .ucs2
    AddCharset ISO-10646-UCS-4 .ucs4
    AddCharset UTF-8 .utf8
    # The set below does not map to a specific (iso) standard
    # but works on a fairly wide range of browsers. Note that
    # capitalization actually matters (it should not, but it
    # does for some browsers).
    # See http://www.iana.org/assignments/character-sets
    # for a list of sorts. But browsers support few.
    AddCharset GB2312 .gb2312 .gb
    AddCharset utf-7 .utf7
    AddCharset utf-8 .utf8
    AddCharset big5 .big5 .b5
    AddCharset EUC-TW .euc-tw
    AddCharset EUC-JP .euc-jp
    AddCharset EUC-KR .euc-kr
    AddCharset shift_jis .sjis
    # AddType allows you to add to or override the MIME configuration
    # file mime.types for specific file types.
    #AddType application/x-tar .tgz
    # AddEncoding allows you to have certain browsers uncompress
    # information on the fly. Note: Not all browsers support this.
    # Despite the name similarity, the following Add* directives have nothing
    # to do with the FancyIndexing customization directives above.
    #AddEncoding x-compress .Z
    #AddEncoding x-gzip .gz .tgz
    # If the AddEncoding directives above are commented-out, then you
    # probably should define those extensions to indicate media types:
    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz
    # AddHandler allows you to map certain file extensions to "handlers":
    # actions unrelated to filetype. These can be either built into the server
    # or added with the Action directive (see below)
    # To use CGI scripts outside of ScriptAliased directories:
    # (You will also need to add "ExecCGI" to the "Options" directive.)
    #AddHandler cgi-script .cgi
    # For files that include their own HTTP headers:
    #AddHandler send-as-is asis
    # For server-parsed imagemap files:
    AddHandler imap-file map
    # For type maps (negotiated resources):
    # (This is enabled by default to allow the Apache "It Worked" page
    # to be distributed in multiple languages.)
    AddHandler type-map var
    # Filters allow you to process content before it is sent to the client.
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    AddType text/html .shtml
    AddOutputFilter INCLUDES .shtml
    # Action lets you define media types that will execute a script whenever
    # a matching file is called. This eliminates the need for repeated URL
    # pathnames for oft-used CGI file processors.
    # Format: Action media/type /cgi-script/location
    # Format: Action handler-name /cgi-script/location
    # Customizable error responses come in three flavors:
    # 1) plain text 2) local redirects 3) external redirects
    # Some examples:
    #ErrorDocument 500 "The server made a boo boo."
    #ErrorDocument 404 /missing.html
    #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
    #ErrorDocument 402 http://www.example.com/subscription_info.html
    # Putting this all together, we can internationalize error responses.
    # We use Alias to redirect any /error/HTTP_<error>.html.var response to
    # our collection of by-error message multi-language collections. We use
    # includes to substitute the appropriate text.
    # You can modify the messages' appearance without changing any of the
    # default HTTP_<error>.html.var files by adding the line:
    # Alias /error/include/ "/your/include/path/"

    Please note: I AM USING:
    JkOptions ForwardKeySize ForwardURICompat -ForwardDirectories
    And that's what's supposed to fix this problem in the first place, right??

  • Steps to set up my domain with Apache

    Hello,
    I would like to know the steps to set up my domain with Apache including the use of DNS Services. I have DNS services (http://www.dnsexit.com) . I just don't know where to begin with it adding my domain. I've already went  to my preferences>>sharing>> web sharing and turned it on. My domain host is netfirms. I have an actiontec model- m1424-wr  router  and I have a verizon fios wireless connection that's always on. I've been doing my research on this. I'm just stuck on this part. However is it true that php/mysql is pre-installed on Mac osx 10.6? I hope I can get help. Thank you in advance.

    Your description is somewhat incomplete. I assume that dnsexit.com provides dynamic DNS and that you registered a domain name with NetFirms (you say "domain host", but I presume that you just registered the domain name and they aren't actually hosting it; hosting means that your web site is on their computers instead of yours). I'll also assume that you mean that you intend to run a web server on your Mac through your FiOS connection (not a great idea, and potentially a violation of FiOS' terms of service unless you bought their commercial plan).
    If all of those assumptions are correct, you need to:
    1. Contact NetFirms and tell them to point your domain to DNSExit's name servers: ns1.dnsExit.com and ns2.dnsExit.com and ns3.dnsExit.com and ns4.dnsExit.com
    2. After step 1 is complete, you need to install a dynamic DNS update client on a computer in your network that will always be on (DNSExit has them and installation and set-up instructions). These programs will periodically check the IP address of your network and, if it changes, will update the record at DNSExit so that sites can find it. Note that you are using FiOS so the IP address of your router is expected to change periodically; this works around that. Your router has 2 IP addresses: the WAN is the IP address exposed to the world through your FiOS connect, and the LAN, which is an address local to your home network.
    3. Login to your ActionTEC router as the adminsitrator. You can do this through your web browser. The LAN IP address of the router is the gateway address indicated in the Network preference pane for your ethernet connection. The modem documentation tells you the default password for the router (make sure to change it).
    Perform the following tasks on the router (though the advanced options, you'll want to poke around to find them):
    a. check the DHCP address ranges (usually it says that it will give out IP addresses from 192.168.1.100-192.168.1.200 or similar). Note it down. You're going to want to give the computer that acts as the web server a static IP address outside that range.
    b. Choose an address outside the DHCP range that isn't already in use and write it down. This will be the static IP addres you will set on your web server.
    c. Locate the Firewall/NAT settings on the router and add a rule to forward traffic on ports 80 and 443 to the IP address you had chosen.
    4. On the computer that will be the web server, start web-sharing.
    5. Go to the network preferences and configure the static IP address that you selected. Use the same gateways and DNS settings that were assigned by DHCP.
    ... and that's it. If you performed all those steps properly, requests to your domain will be sent to your FiOS modem and forwarded on to the designated computer for a response.
    PHP and Apache are preinstalled on the Mac. MySQL is not. You will need to download and install MySQL yourself.

  • Apache Reverse Proxy with Abap Web query

    Hi to all
      We are trying to configure apache 2 to work as a reverse proxy with web abap Netweaver installation.
    From inside the network the web query is fine.
    Running the query with the reverse proxy we have only the html code in the browser. All the scripts and css are not present.
    We checked some messages inside the forum and we have tried a lot of stuff without success.
    We use always linux (Fedora, Ubuntu with xampp or apache only) plus the html module or the publisher from http://apache.webthing.com.
    Our installation is like this the reverse proxy in the dmz and the netweaver to the inside off coarse, and we don't have the same domain name, i don't know if this is important.
    Any help/idea  is valuable.
    Thank you
    Yiannis

    Hi Olivier
    I have seen your solution in other messages but i didn't try it because i was trying to work with the html_proxy module.
    I read the documents you gave me plus some apache tutorials on the rewrite rule.
    In any case i have my installation working now.
    I did some extra changes in my config so now the rules are like that
    ProxyVia On
    ProxyBadHeader IsError
    ProxyRequests Off
    ProxyPreserveHost On
    ProxyPass /sap http://192.168.1.59:8001/sap
    ProxyPassReverse /sap http://192.168.1.59:8001/sap
    RewriteEngine On
    RewriteRule ^/(sap\(.*) http://192.168.1.59:8001/$1 [P,L]
    Thanks again for your help
    Yiannis

  • Apache Proxy Plug-in with multiple clusters?

    We are using the Apache Proxy Plug-in , the
              basic question is if we can place multiple cluster
              IP's in the same Location definition or do we have
              to have a different definition for each cluster?
              Currently we have only 1 cluster, but if we decide
              to segment the large cluster into smaller clusters
              this is a critical network,url question.
              For example we have 4 clusters containing 2 IP:PORT pairs each.
              IP1:P1,IP2:P2 <== Cluster 1
              IP3:P3,IP4:P4 <== Cluster 2
              IP5:P5,IP6:P6 <== Cluster 3
              IP7:P7,IP8:P8 <== Cluster 4
              Can we have a single location "application" that services all of these clusters?
              <Location /webapp>
              SetHandler weblogic-handler
              WebLogicCluster IP1:P1,IP2:P2,IP3:P3,IP4:P4,IP5:P5,IP6:P6,IP7:P7,IP8:P8
              </Location>
              Or do we have to have distinct entries?
              <Location /webapp1>
              SetHandler weblogic-handler
              WebLogicCluster IP1:P1,IP2:P2
              </Location>
              <Location /webapp2>
              SetHandler weblogic-handler
              WebLogicCluster IP3:P3,IP4:P4
              </Location>
              <Location /webapp3>
              SetHandler weblogic-handler
              WebLogicCluster IP5:P5,IP6:P6
              </Location>
              <Location /webapp4>
              SetHandler weblogic-handler
              WebLogicCluster IP7:P7,IP8:P8
              </Location>
              Regards.

    you should define location for each cluster.This would be a proper setup.
              The setup with same location definition would work partially, all the requests would be roundrobined across all the servers (all the clusters) and most likely you wouldn't get a proper failover.(cluster1 does not know about cluster2 from weblogic perspective)
              Vijay

  • Apache Proxy Plug-in with WebLogic 8.1 SP5 - Transfer Encoding:Chunked

    Hello All,
    Configuration: Apache 2.0.48
    Plugin - mod_wl128_20.so
    WebLogic Version - 8.1 SP5
    There is no SSL between Apache and WebLogic server.
    Apache seems to have issue when the response from WebLogic has: Hdrs from WLS:[Transfer-Encoding]=[chunked]
    I turned on the debugging on Apache side with DebugAll flag and WLS sends data to Apache plug-in.
    Is is a known issue? Is there any CR to fix it? Please let me know if you need further details.
    Any help is appreciated.
    Thanks,
    Janani

    Hi Vishwas,
    Thank you for the reply. I forgot to mention that Apache and WebLogic are on Solaris 9 platform.
    Accesing a webapp hosted on WebLogic through Apache->plug-in->WebLogic return 500 internal server error, but other webapps hosted on the same WebLogic domain works properly. Looking at the Response Hdrs from WebLogic shows that WLS returns transfer-encoding=chunked. The other webapps which work properly has content-length set and transfer-encoding is not chunked.
    So, the question is does Apache Plug-in for weblogic 8.1 SP5 read the chunked data properly?
    Thanks,
    Janani

  • How Setting up global http proxy with profile in iphone(file.mobileconfig)

    how Setting up global http proxy with profile in iphone(file.mobileconfig)

    how Setting up global http proxy with profile in iphone(file.mobileconfig)

  • Setting up of Proxy & Reverse Proxy

    hi,
    I read some pdf files available in SDN for setting up of proxy and reverse proxy. I installed Apache 2.0.54, as per the apache documentation I enabled proxy and it is working fine (forward proxy)
    I used the following doc as a guide line to setup reverse proxy https://websmp105.sap-ag.de/~sapidb/012006153200000364562005E/APACHE_J2EE_V14.pdf
    (Page 9 of the doc refers to 2.0.31 & above)
    Instead of /b2b/ I kept /irj/portal
    And Sec 5.(URL Rewriting) is totally confusing. I couldn't able to find AddModule, so I added the line 'AddModule mod_proxy.c' and 'AddModule mod_rewrite.c' in httpd.conf. And I don't know where to add 'RewriteEngine On'...
    After making the above changes, my apache is not starting.
    Please let me know how to configure proxy/reverse proxy. If you have a screen shot please send it to hpriyag @ yahoo (dot) com.
    We are using NW'04 on win2003 server and planning to use Apache. We are ok with IIS too.
    Haripriya

    Praveen,
    I have the following configuration in my httpd.conf
    For Reverse Proxy
    ProxyRequests off
    ProxyPreserveHost On
    <VirtualHost [IP:Port]>
        DocumentRoot [ Webserver doc root, eg "C:/.../htdocs" ]
        ServerName [ Domain Name eg www.domainA.com ]
        ErrorLog logs/[Domain].com-error_log
        CustomLog logs/[Domain].com-access_log common
        RewriteEngine On
              RewriteLog logs/[Host]_unsecured_rewrite.log
              RewriteLogLevel 9 [9 is verbose for prod I prefer 1]
              <Directory />
                   Options None
                   AllowOverride None
              </Directory>
              RewriteRule ^/(.*)$ http://[EP Host]:[Port]/$1/ [NC,P]
              ProxyPassReverse /irj http://[EP Host]:[Port]/
    </VirtualHost>
    I used Apache 2.0.54 on Win2K3.
    Let me know if the above config doesn't work.
    Cheers,
    Chandra Ganne.

  • Reverse proxy with apache2

    Hi folks,
    I have a huge problem here. I have a apache 2.0.50 on a Linux system that is to act as a reverse proxy for an enterprise portal. I have set up the apache to do reverse proxying and so far I have made first success. I can get to the login page of the portal and I even managed to make it show the images. The problem is, when I try to log on to the  portal I am always send back to the logon page in the very instance. If I enter the wrong logon information I see the authorization failed text, but when I enter correct information I only see the logon page again.
    I will put tyhe relevant part of my httpd.conf to this message and hope someone can point me to the right location or maybe even tell me what I'm doing wrong.
    And ny the way, the portal itself works perfectky when connected directly.
    Kind regards,
       Christian Guenther
    Reverse proxy configuration ############################################
    NameVirtualHost 172.30.210.96
    <VirtualHost 172.30.210.96>
       ServerAdmin [email protected]
       ServerName host.external.de
    SSL is turned off at the moment
       SSLEngine Off
       SSLCertificateFile /etc/apache2/ssl.crt/proxy.cert.cert
       SSLCertificateKeyFile /etc/apache2/ssl.key/proxy.cert.key
    Set up as a proxy for internal SAP systems
       ProxyRequests Off
       ProxyPreserveHost Off
       <Proxy *>
          Order deny,allow
          Allow from all
       </Proxy>
    IRJ
      <Location /irj/>
        ProxyPass http://host.internal.lan:8001/irj/
        ProxyPassReverse http://host.internal.lan:8001/irj/
    rewriting rules for proxy
        RewriteEngine On
        RewriteCond %  \.jsp
        RewriteRule ^(.+) % [P]
        RewriteCond % \.servlet
        RewriteRule ^(.+) %
    Portal
    rewriting rules for proxy
    [P]
      </Location>
      <Location />
        ProxyPass http://host.internal.lan:8001/
        ProxyPassReverse http://host.internal.lan:8001/
        RewriteEngine On
        RewriteCond %  \.jsp
        RewriteRule ^(.+) % [P]
        RewriteCond % \.servlet
        RewriteRule ^(.+) % [P]
      </Location>
    </VirtualHost>

    This is a valid configuration for an Apache Reverse Proxy:
    ThreadsPerChild 250
    MaxRequestsPerChild  0
    ServerRoot /usr/local/apache2
    Listen 443
    #LoadModule dir_module modules/mod_dir.so
    LoadModule rewrite_module modules/mod_rewrite.so
    LoadModule include_module modules/mod_include.so
    #LoadModule autoindex_module modules/mod_autoindex.so
    LoadModule access_module modules/mod_access.so
    #LoadModule auth_module modules/mod_auth.so
    LoadModule log_config_module modules/mod_log_config.so
    #LoadModule mime_module modules/mod_mime.so
    #LoadModule env_module modules/mod_env.so
    #LoadModule headers_module modules/mod_headers.so
    #LoadModule setenvif_module modules/mod_setenvif.so
    LoadModule alias_module modules/mod_alias.so
    LoadModule proxy_module modules/mod_proxy.so
    LoadModule proxy_http_module modules/mod_proxy_http.so
    LoadModule negotiation_module modules/mod_negotiation.so
    LoadModule ssl_module modules/mod_ssl.so
    ServerAdmin [email protected]
    ServerName your.servername.com
    UseCanonicalName Off
    make sure zou include these with valid entries...
    Include conf/log.conf
    Include conf/mime.conf
    Include conf/default.conf
    Include conf/ssl.conf
    BrowserMatch "Mozilla/2" nokeepalive
    BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
    BrowserMatch "RealPlayer 4\.0" force-response-1.0
    BrowserMatch "Java/1\.0" force-response-1.0
    BrowserMatch "JDK/1\.0" force-response-1.0
    BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
    BrowserMatch "MS FrontPage" redirect-carefully
    BrowserMatch "^WebDrive" redirect-carefully
    BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully
    BrowserMatch "^gnome-vfs" redirect-carefully
    BrowserMatch "^XML Spy" redirect-carefully
    BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
    this is for the MS IE SSL bug
    BrowserMatch ".MSIE." nokeepalive ssl-unclean-shutdown downgrade-1.0#
    force-response-1.0
    Header add P3P CP="NOI"
    Proxy with caching
    LoadModule cache_module modules/mod_cache.so
    LoadModule disk_cache_module modules/mod_disk_cache.so
    CacheRoot /usr/local/apache2/Cache
    CacheEnable disk /
    CacheDirLevels 5
    CacheDirLength 3
    <VirtualHost *:443>
        ServerName your.servername.com
        ServerAdmin [email protected]
    Set the level of log entries - debug produces A LOT of messages
        LogLevel debug
        ErrorLog logs\error.log
        LogFormat "%h %l %u %t \"%r\" %>s %b" common
        CustomLog logs\access.log common
    NEVER turn this On, it would create a forward proxy   
        ProxyRequests Off
        ProxyPreserveHost On
    it is important that the proxy uses active protocol used in the
    internet section of the request
        RequestHeader set ClientProtocol https
        Header add P3P CP="NOI"
    we need to answer HTTPS requests, so we need an ssl engine   
        SSLEngine On
    and a cipher suite plus certificate
        SSLCipherSuite ALL:!ADH:!EXPORT56:RC4RSA:HIGH:MEDIUM:LOW:SSLv2:EXP:+eNULL
        SSLProtocol all -SSLv2
    of course these entries have to be adopted
        SSLCertificateFile conf/certs/server.crt
        SSLCertificateKeyFile conf/certs/server.key
        SSLOptions +StdEnvVars
    this is for the bloody MS IE - I don't know why, but they seem to
    have trouble learning in redmond
        BrowserMatch ".MSIE." \
             nokeepalive ssl-unclean-shutdown \
             downgrade-1.0 force-response-1.0
        CustomLog logs/ssl_request.log \
              "%t %h %x %x \"%r\" %b"
    below are the proxied hosts - you always need ProxyPass
    AND ProxyPassReverse otherwise it will not work correctly
    ITS
        #ProxyPass /iac/               http://itsserver:8081/iac/
        #ProxyPassReverse /iac/          http://itsserver:8081/iac/
    direct portal connection              this ought to be the IP
        ProxyPass /irj/               http://10.8.1.14:50000/irj/
        ProxyPassReverse /irj/          http://10.8.1.14:50000/irj/
        ProxyPass /logon/               http://10.8.1.14:50000/logon/
        ProxyPassReverse /logon/          http://10.8.1.14:50000/logon/
    Rewrite Rule in case ICM puts session information in URL
    NEVER REALLY HARMS
        RewriteEngine On
        RewriteRule  ^/(sap\(.*) http://10.8.1.14:50000/$1 [P,L]
        #ProxyPass /chooselogin/          http://10.8.9.0:50000/chooselogin/
        #ProxyPassReverse /chooselogin/     http://10.8.9.0:50000/chooselogin/
    </VirtualHost>

  • Apache proxy getting 502 errors talking to portal

    We went live with our SAP project approximately 4 weeks ago.   We use Apache 2.2 as a reverse proxy with mod_balancer splitting traffic between two SAP portal systems at version 7.0 ehp 1 service pack 7.
    In the first 10 days we had two incidents where  communication from the Apache reverse proxy to one SAP portal system was consistently failing with a 502 return code, but communication with the other portal system was fine.  We do not see anything abnormal in the SAP logs.
    The first incident was resolved by restarting just the Apache server while the second required restarting the SAP portal application on the affected system as well.
    We are currently examining some leads found on the SAP forum and support site but are looking for input from others to help guide our investigation.  The SAP Note 929082 describes a sporadic problem similar to ours except that ours was consistently failing for over 30 minutes.

    Pinac,
    Thank you for your reply.
    We have a moderate level of logging turned on in the Apache server, so we can see that connections are being evenly distributed between the two portal nodes.  To clarify the original statement, we consistently get the problem on connections that are using the portal node with which communications have gone bad, while connections to the other node continue to work properly.
    We are reluctant to try the solution suggested in the note, because the KeepAlive value in the Apache proxy relates to communications between the proxy and the client browser, while the communication problem we are having is between the proxy and the portal nodes.
    One option we are looking into involves disabling all connection caching between Apache and SAP by setting the DisableReuse flag.   None of the examples we have seen have involved doing that but most examples appear to be using Apache 1.3 or 2.0 and so probably are not caching connections.  Has anyone needed to do this with their Apache 2.2 reverse proxies?
    The problem occurred again for us last Friday.  We tested by connecting to the portal directly using a browser from the system on which the Apache proxy runs.  Connections to the affected portal node on the SSL port were problematic, while connections to the non-SSL port worked.  The same tests performed from a desktop on the portal's subnet yielded the same results.

  • Having a problem setting up apache...

    Fisrt off, let me say this is my first stabe at this, so bear with me.
    I set up apache, php and mysql, and pretty much successfully. I can connect to my web server via IP. But if I try to connect to it via the hostname it fails. I followed the directions in the wiki entry for it. Here are the contents of my /etc/hosts and /etc/rc.conf file as well as my /etc/httpd/httpd.conf file.
    Can anyone tell me why my hostname isn't working?
    /etc/hosts:
    /etc/hosts: static lookup table for host names
    #<ip-address> <hostname.domain.org> <hostname>
    127.0.0.1 chxsrv chxsrv
    # End of file
    /etc/rc.conf
    ...(yada)...
    # NETWORKING
    HOSTNAME="chxsrv"
    # Interfaces to start at boot-up (in this order)
    # Declare each interface then list in INTERFACES
    # - prefix an entry in INTERFACES with a ! to disable it
    # - no hyphens in your interface names - Bash doesn't like it
    # Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
    lo="lo 127.0.0.1"
    eth0="eth0 192.168.0.100 netmask 255.255.255.0 broadcast 192.168.0.255"
    INTERFACES=(lo eth0)
    # Routes to start at boot-up (in this order)
    # Declare each route then list in ROUTES
    # - prefix an entry in ROUTES with a ! to disable it
    gateway="default gw 192.168.0.1"
    ROUTES=(gateway)
    # Enable these network profiles at boot-up. These are only useful
    # if you happen to need multiple network configurations (ie, laptop users)
    # - set to 'menu' to present a menu during boot-up (dialog package required)
    # - prefix an entry with a ! to disable it
    # Network profiles are found in /etc/network-profiles
    #NET_PROFILES=(main)
    ...(blah)...
    and last but not least, the /etc/httpd/conf/httpd.conf file:
    # This is the main Apache HTTP server configuration file. It contains the
    # configuration directives that give the server its instructions.
    # See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
    # In particular, see
    # <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
    # for a discussion of each configuration directive.
    # Do NOT simply read the instructions in here without understanding
    # what they do. They're here only as hints or reminders. If you are unsure
    # consult the online docs. You have been warned.
    # Configuration and logfile names: If the filenames you specify for many
    # of the server's control files begin with "/" (or "drive:/" for Win32), the
    # server will use that explicit path. If the filenames do *not* begin
    # with "/", the value of ServerRoot is prepended -- so "/var/log/httpd/foo.log"
    # with ServerRoot set to "@@ServerRoot@@" will be interpreted by the
    # server as "@@ServerRoot@@//var/log/httpd/foo.log".
    # ServerRoot: The top of the directory tree under which the server's
    # configuration, error, and log files are kept.
    # Do not add a slash at the end of the directory path. If you point
    # ServerRoot at a non-local disk, be sure to point the LockFile directive
    # at a local disk. If you wish to share the same ServerRoot for multiple
    # httpd daemons, you will need to change at least LockFile and PidFile.
    ServerRoot "/etc/httpd"
    # Listen: Allows you to bind Apache to specific IP addresses and/or
    # ports, instead of the default. See also the <VirtualHost>
    # directive.
    # Change this to Listen on specific IP addresses as shown below to
    # prevent Apache from glomming onto all bound IP addresses.
    #Listen 12.34.56.78:80
    Listen 192.168.0.100:80
    # Dynamic Shared Object (DSO) Support
    # To be able to use the functionality of a module which was built as a DSO you
    # have to place corresponding `LoadModule' lines at this location so the
    # directives contained in it are actually available _before_ they are used.
    # Statically compiled modules (those listed by `httpd -l') do not need
    # to be loaded here.
    # Example:
    # LoadModule foo_module modules/mod_foo.so
    LoadModule actions_module modules/mod_actions.so
    LoadModule alias_module modules/mod_alias.so
    LoadModule asis_module modules/mod_asis.so
    LoadModule auth_basic_module modules/mod_auth_basic.so
    LoadModule auth_digest_module modules/mod_auth_digest.so
    LoadModule authn_anon_module modules/mod_authn_anon.so
    LoadModule authn_dbd_module modules/mod_authn_dbd.so
    LoadModule authn_dbm_module modules/mod_authn_dbm.so
    LoadModule authn_default_module modules/mod_authn_default.so
    LoadModule authn_file_module modules/mod_authn_file.so
    LoadModule authz_dbm_module modules/mod_authz_dbm.so
    LoadModule authz_default_module modules/mod_authz_default.so
    LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
    LoadModule authz_host_module modules/mod_authz_host.so
    LoadModule authz_owner_module modules/mod_authz_owner.so
    LoadModule authz_user_module modules/mod_authz_user.so
    LoadModule autoindex_module modules/mod_autoindex.so
    LoadModule cern_meta_module modules/mod_cern_meta.so
    LoadModule cgi_module modules/mod_cgi.so
    LoadModule dav_module modules/mod_dav.so
    LoadModule dav_fs_module modules/mod_dav_fs.so
    LoadModule dbd_module modules/mod_dbd.so
    LoadModule deflate_module modules/mod_deflate.so
    LoadModule dir_module modules/mod_dir.so
    LoadModule dumpio_module modules/mod_dumpio.so
    LoadModule env_module modules/mod_env.so
    LoadModule expires_module modules/mod_expires.so
    LoadModule ext_filter_module modules/mod_ext_filter.so
    LoadModule filter_module modules/mod_filter.so
    LoadModule headers_module modules/mod_headers.so
    LoadModule ident_module modules/mod_ident.so
    LoadModule imagemap_module modules/mod_imagemap.so
    LoadModule include_module modules/mod_include.so
    LoadModule info_module modules/mod_info.so
    LoadModule log_config_module modules/mod_log_config.so
    LoadModule log_forensic_module modules/mod_log_forensic.so
    LoadModule logio_module modules/mod_logio.so
    LoadModule mime_module modules/mod_mime.so
    LoadModule mime_magic_module modules/mod_mime_magic.so
    LoadModule negotiation_module modules/mod_negotiation.so
    LoadModule proxy_module modules/mod_proxy.so
    LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
    LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
    LoadModule proxy_connect_module modules/mod_proxy_connect.so
    LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
    LoadModule proxy_http_module modules/mod_proxy_http.so
    LoadModule rewrite_module modules/mod_rewrite.so
    LoadModule setenvif_module modules/mod_setenvif.so
    LoadModule speling_module modules/mod_speling.so
    LoadModule ssl_module modules/mod_ssl.so
    LoadModule status_module modules/mod_status.so
    LoadModule suexec_module modules/mod_suexec.so
    LoadModule unique_id_module modules/mod_unique_id.so
    LoadModule userdir_module modules/mod_userdir.so
    LoadModule usertrack_module modules/mod_usertrack.so
    LoadModule version_module modules/mod_version.so
    LoadModule vhost_alias_module modules/mod_vhost_alias.so
    #LoadModule cache_module modules/mod_cache.so
    #LoadModule disk_cache_module modules/mod_disk_cache.so
    #LoadModule mem_cache_module modules/mod_mem_cache.so
    LoadModule php5_module modules/libphp5.so
    <IfModule !mpm_winnt_module>
    <IfModule !mpm_netware_module>
    # If you wish httpd to run as a different user or group, you must run
    # httpd as root initially and it will switch.
    # User/Group: The name (or #number) of the user/group to run httpd as.
    # It is usually good practice to create a dedicated user and group for
    # running httpd, as with most system services.
    User nobody
    Group nobody
    </IfModule>
    </IfModule>
    # 'Main' server configuration
    # The directives in this section set up the values used by the 'main'
    # server, which responds to any requests that aren't handled by a
    # <VirtualHost> definition. These values also provide defaults for
    # any <VirtualHost> containers you may define later in the file.
    # All of these directives may appear inside <VirtualHost> containers,
    # in which case these default settings will be overridden for the
    # virtual host being defined.
    # ServerAdmin: Your address, where problems with the server should be
    # e-mailed. This address appears on some server-generated pages, such
    # as error documents. e.g. [email protected]
    ServerAdmin [email protected]
    # ServerName gives the name and port that the server uses to identify itself.
    # This can often be determined automatically, but we recommend you specify
    # it explicitly to prevent problems during startup.
    # If your host doesn't have a registered DNS name, enter its IP address here.
    ServerName chxsrv:80
    # DocumentRoot: The directory out of which you will serve your
    # documents. By default, all requests are taken from this directory, but
    # symbolic links and aliases may be used to point to other locations.
    DocumentRoot "/home/httpd/html"
    # Each directory to which Apache has access can be configured with respect
    # to which services and features are allowed and/or disabled in that
    # directory (and its subdirectories).
    # First, we configure the "default" to be a very restrictive set of
    # features.
    <Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
    </Directory>
    # Note that from this point forward you must specifically allow
    # particular features to be enabled - so if something's not working as
    # you might expect, make sure that you have specifically enabled it
    # below.
    # This should be changed to whatever you set DocumentRoot to.
    <Directory "/home/httpd/html">
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    # Note that "MultiViews" must be named *explicitly* --- "Options All"
    # doesn't give it to you.
    # The Options directive is both complicated and important. Please see
    # http://httpd.apache.org/docs/2.2/mod/core.html#options
    # for more information.
    Options Indexes FollowSymLinks
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    # Options FileInfo AuthConfig Limit
    AllowOverride None
    # Controls who can get stuff from this server.
    Order allow,deny
    Allow from all
    </Directory>
    # DirectoryIndex: sets the file that Apache will serve if a directory
    # is requested.
    <IfModule dir_module>
    <IfModule mod_php5.c>
    DirectoryIndex index.php index.html
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php-source .phps
    </IfModule>
    DirectoryIndex index.html
    </IfModule>
    # The following lines prevent .htaccess and .htpasswd files from being
    # viewed by Web clients.
    <FilesMatch "^\.ht">
    Order allow,deny
    Deny from all
    </FilesMatch>
    # ErrorLog: The location of the error log file.
    # If you do not specify an ErrorLog directive within a <VirtualHost>
    # container, error messages relating to that virtual host will be
    # logged here. If you *do* define an error logfile for a <VirtualHost>
    # container, that host's errors will be logged there and not here.
    ErrorLog /var/log/httpd/error_log
    # LogLevel: Control the number of messages logged to the error_log.
    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn
    <IfModule log_config_module>
    # The following directives define some format nicknames for use with
    # a CustomLog directive (see below).
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common
    <IfModule logio_module>
    # You need to enable mod_logio.c to use %I and %O
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
    </IfModule>
    # The location and format of the access logfile (Common Logfile Format).
    # If you do not define any access logfiles within a <VirtualHost>
    # container, they will be logged here. Contrariwise, if you *do*
    # define per-<VirtualHost> access logfiles, transactions will be
    # logged therein and *not* in this file.
    #CustomLog /var/log/httpd/access_log common
    # If you prefer a logfile with access, agent, and referer information
    # (Combined Logfile Format) you can use the following directive.
    CustomLog /var/log/httpd/access_log combined
    </IfModule>
    <IfModule alias_module>
    # Redirect: Allows you to tell clients about documents that used to
    # exist in your server's namespace, but do not anymore. The client
    # will make a new request for the document at its new location.
    # Example:
    # Redirect permanent /foo http://www.example.com/bar
    # Alias: Maps web paths into filesystem paths and is used to
    # access content that does not live under the DocumentRoot.
    # Example:
    # Alias /webpath /full/filesystem/path
    # If you include a trailing / on /webpath then the server will
    # require it to be present in the URL. You will also likely
    # need to provide a <Directory> section to allow access to
    # the filesystem path.
    #Alias /image/ "/home/httpd/images/"
    # ScriptAlias: This controls which directories contain server scripts.
    # ScriptAliases are essentially the same as Aliases, except that
    # documents in the target directory are treated as applications and
    # run by the server when requested rather than as documents sent to the
    # client. The same rules about trailing "/" apply to ScriptAlias
    # directives as to Alias.
    ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"
    </IfModule>
    <IfModule cgid_module>
    # ScriptSock: On threaded servers, designate the path to the UNIX
    # socket used to communicate with the CGI daemon of mod_cgid.
    #Scriptsock /var/run/cgisock
    </IfModule>
    # "/home/httpd/cgi-bin" should be changed to whatever your ScriptAliased
    # CGI directory exists, if you have that configured.
    <Directory "/home/httpd/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
    </Directory>
    # DefaultType: the default MIME type the server will use for a document
    # if it cannot otherwise determine one, such as from filename extensions.
    # If your server contains mostly text or HTML documents, "text/plain" is
    # a good value. If most of your content is binary, such as applications
    # or images, you may want to use "application/octet-stream" instead to
    # keep browsers from trying to display binary files as though they are
    # text.
    DefaultType text/plain
    <IfModule mime_module>
    # TypesConfig points to the file containing the list of mappings from
    # filename extension to MIME-type.
    TypesConfig /etc/httpd/conf/mime.types
    # AddType allows you to add to or override the MIME configuration
    # file specified in TypesConfig for specific file types.
    #AddType application/x-gzip .tgz
    # AddEncoding allows you to have certain browsers uncompress
    # information on the fly. Note: Not all browsers support this.
    #AddEncoding x-compress .Z
    #AddEncoding x-gzip .gz .tgz
    # If the AddEncoding directives above are commented-out, then you
    # probably should define those extensions to indicate media types:
    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz
    # AddHandler allows you to map certain file extensions to "handlers":
    # actions unrelated to filetype. These can be either built into the server
    # or added with the Action directive (see below)
    # To use CGI scripts outside of ScriptAliased directories:
    # (You will also need to add "ExecCGI" to the "Options" directive.)
    #AddHandler cgi-script .cgi
    # For files that include their own HTTP headers:
    #AddHandler send-as-is asis
    # For server-parsed imagemap files:
    #AddHandler imap-file map
    # For type maps (negotiated resources):
    #AddHandler type-map var
    # Filters allow you to process content before it is sent to the client.
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #AddType text/html .shtml
    #AddOutputFilter INCLUDES .shtml
    </IfModule>
    # The mod_mime_magic module allows the server to use various hints from the
    # contents of the file itself to determine its type. The MIMEMagicFile
    # directive tells the module where the hint definitions are located.
    #MIMEMagicFile /etc/httpd/conf/magic
    # Customizable error responses come in three flavors:
    # 1) plain text 2) local redirects 3) external redirects
    # Some examples:
    #ErrorDocument 500 "The server made a boo boo."
    #ErrorDocument 404 /missing.html
    #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
    #ErrorDocument 402 http://www.example.com/subscription_info.html
    # EnableMMAP and EnableSendfile: On systems that support it,
    # memory-mapping or the sendfile syscall is used to deliver
    # files. This usually improves server performance, but must
    # be turned off when serving from networked-mounted
    # filesystems or if support for these functions is otherwise
    # broken on your system.
    #EnableMMAP off
    #EnableSendfile off
    # Supplemental configuration
    # The configuration files in the /etc/httpd/conf/extra/ directory can be
    # included to add extra features or to modify the default configuration of
    # the server, or you may simply copy their contents here and change as
    # necessary.
    # Server-pool management (MPM specific)
    #Include /etc/httpd/conf/extra/httpd-mpm.conf
    # Multi-language error messages
    Include /etc/httpd/conf/extra/httpd-multilang-errordoc.conf
    # Fancy directory listings
    Include /etc/httpd/conf/extra/httpd-autoindex.conf
    # Language settings
    Include /etc/httpd/conf/extra/httpd-languages.conf
    # User home directories
    Include /etc/httpd/conf/extra/httpd-userdir.conf
    # Real-time info on requests and configuration
    #Include /etc/httpd/conf/extra/httpd-info.conf
    # Virtual hosts
    #Include /etc/httpd/conf/extra/httpd-vhosts.conf
    # Local access to the Apache HTTP Server Manual
    #Include /etc/httpd/conf/extra/httpd-manual.conf
    # Distributed authoring and versioning (WebDAV)
    #Include /etc/httpd/conf/extra/httpd-dav.conf
    # Various default settings
    Include /etc/httpd/conf/extra/httpd-default.conf
    # Secure (SSL/TLS) connections
    #Include /etc/httpd/conf/extra/httpd-ssl.conf
    # Note: The following must must be present to support
    # starting without SSL on platforms with no /dev/random equivalent
    # but a statically compiled-in mod_ssl.
    <IfModule ssl_module>
    SSLRandomSeed startup builtin
    SSLRandomSeed connect builtin
    </IfModule>
    Like I said, I can connect to this from other machines on my network via IP, but not hostnames. Any thoughts?

    I know this post is a couple months old but for future reference:
    The problem is with /etc/hosts.allow
    You need to add
    httpd: ALL
    Once you all that youll have external access to your apache setup.

  • Web Service Proxy with Dynamic IP and Port

    hi,
    I am currently looking at the Web Service Proxy generation in JDev 11g. I can generate proxies fine, but the proxies are generated with static host and port. I want to substitute the host and port during runtime if required, for instance read the values from a database. I need to do this to avoid compiling the application for every deployment we make dev, test and production. Is there an easy way to set the generated proxy host and port? Are there any examples?
    Thanks in advance!
    Stephen

    Hi,
    Maybe you should have a look on XML Catalogs feature, but I am not sure if JDeveloper support it and how to support it.
    -LJ

  • Help!Apache compiling with gcc in Solaris 10

    Greetings
    I am having problems with Apache 1.3.
    When I am running the script ./src/Configure my output is:
    #./Configure
    Using config file: Configuration
    Creating Makefile
    + configured for Solaris 2100 platform
    + setting C pre-processor to gcc -E
    + using "tr [a-z] [A-Z]" to uppercase
    + checking for system header files
    + adding selected modules
    ./helpers/TestCompile: make: not found
    + using builtin Expat
    ./Configure: make: not found
    + checking sizeof various data types
    ./helpers/TestCompile: make: not found
    ./helpers/TestCompile: make: not found
    ./helpers/TestCompile: make: not found
    ./helpers/TestCompile: make: not found
    ./helpers/TestCompile: make: not found
    ./helpers/TestCompile: make: not found
    ./helpers/TestCompile: make: not found
    ./helpers/TestCompile: make: not found
    ./helpers/TestCompile: make: not found
    + doing sanity check on compiler and options
    ./helpers/TestCompile: make: not found
    ** A test compilation with your Makefile configuration
    ** failed. The below error output from the compilation
    ** test will give you an idea what is failing. Note that
    ** Apache requires an ANSI C Compiler, such as gcc.
    ======== Error Output for sanity check ========
    ./helpers/TestCompile: make: not found
    ============= End of Error Report =============
    Aborting!
    I am root, my PATH is
    /usr/bin:/usr/ucb:/etc:/usr/local/bin:/opt/netscape:/usr/css/bin/:/bin:/usr/openwin/bin:/usr/sbin:/
    I am missing something stupid, I know but I can't find it!!!!Help please I am a newbie.
    I am curious. Has anyone been able to compile succesfully apache server with gcc in Solaris 10?
    Thanks,

    Thanks,
    It was only that.!!!
    But now I have the following problem, I can't create executables when I type make. The output is:
    when I am in the src/folder
    #make
    ===> regex
    <=== regex
    ===> os/unix
    gcc -c -I../../os/unix -I../../include -DSOLARIS2=2100 -DUSE_HSREGEX -DUSE_EXPAT -I../../lib/expat-lite -DNO_DL_NEEDED os.c
    In file included from /usr/include/sys/wait.h:24,
    from ../../include/ap_config.h:1079,
    from os.c:21:
    /usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
    /usr/include/sys/siginfo.h:292: error: parse error before '}' token
    /usr/include/sys/siginfo.h:294: error: parse error before '}' token
    /usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
    /usr/include/sys/siginfo.h:392: error: conflicting types for `__proc'
    /usr/include/sys/siginfo.h:261: error: previous declaration of `__proc'
    /usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'
    /usr/include/sys/siginfo.h:267: error: previous declaration of `__fault'
    /usr/include/sys/siginfo.h:404: error: conflicting types for `__file'
    /usr/include/sys/siginfo.h:273: error: previous declaration of `__file'
    /usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'
    /usr/include/sys/siginfo.h:287: error: previous declaration of `__prof'
    /usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'
    /usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl'
    /usr/include/sys/siginfo.h:426: error: parse error before '}' token
    /usr/include/sys/siginfo.h:428: error: parse error before '}' token
    /usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t"
    /usr/include/sys/siginfo.h:437: error: parse error before '}' token
    In file included from /usr/include/sys/procset.h:24,
    from /usr/include/sys/wait.h:25,
    from ../../include/ap_config.h:1079,
    from os.c:21:
    /usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
    In file included from ../../include/ap_config.h:1079,
    from os.c:21:
    /usr/include/sys/wait.h:86: error: parse error before "siginfo_t"
    In file included from ../../include/ap_config.h:1096,
    from os.c:21:
    /usr/include/signal.h:111: error: parse error before "siginfo_t"
    /usr/include/signal.h:113: error: parse error before "siginfo_t"
    *** Error code 1
    make: Fatal error: Command failed for target `os.o'
    Current working directory /web-download/apache_1.3.33/src/os/unix
    *** Error code 1
    The following command caused the error:
    for i in regex os/unix ap main lib modules; do \
    echo "===> $i"; \
    case ".Solaris 2100" in \
    .OS390 | .TPF) ( cd $i && make SDP='' OPTIM='') || exit 1;; \
    *) ( cd $i && make SDP='' CC='gcc' AUX_CFLAGS=' -DSOLARIS2=2100 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED ' RANLIB='ranlib' OPTIM='') || exit 1;; \
    esac; \
    echo "<=== $i"; \
    done
    make: Fatal error: Command failed for target `subdirs'
    but when I am typing one step up is.
    ===> src
    ===> src/regex
    <=== src/regex
    ===> src/os/unix
    gcc -c -I../../os/unix -I../../include -DSOLARIS2=2100 -DUSE_HSREGEX -DUSE_EXPAT -I../../lib/expat-lite -DNO_DL_NEEDED os.c
    In file included from /usr/include/sys/wait.h:24,
    from ../../include/ap_config.h:1079,
    from os.c:21:
    /usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
    /usr/include/sys/siginfo.h:292: error: parse error before '}' token
    /usr/include/sys/siginfo.h:294: error: parse error before '}' token
    /usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
    /usr/include/sys/siginfo.h:392: error: conflicting types for `__proc'
    /usr/include/sys/siginfo.h:261: error: previous declaration of `__proc'
    /usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'
    /usr/include/sys/siginfo.h:267: error: previous declaration of `__fault'
    /usr/include/sys/siginfo.h:404: error: conflicting types for `__file'
    /usr/include/sys/siginfo.h:273: error: previous declaration of `__file'
    /usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'
    /usr/include/sys/siginfo.h:287: error: previous declaration of `__prof'
    /usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'
    /usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl'
    /usr/include/sys/siginfo.h:426: error: parse error before '}' token
    /usr/include/sys/siginfo.h:428: error: parse error before '}' token
    /usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t"
    /usr/include/sys/siginfo.h:437: error: parse error before '}' token
    In file included from /usr/include/sys/procset.h:24,
    from /usr/include/sys/wait.h:25,
    from ../../include/ap_config.h:1079,
    from os.c:21:
    /usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
    In file included from ../../include/ap_config.h:1079,
    from os.c:21:
    /usr/include/sys/wait.h:86: error: parse error before "siginfo_t"
    In file included from ../../include/ap_config.h:1096,
    from os.c:21:
    /usr/include/signal.h:111: error: parse error before "siginfo_t"
    /usr/include/signal.h:113: error: parse error before "siginfo_t"
    *** Error code 1
    make: Fatal error: Command failed for target `os.o'
    Current working directory /web-download/apache_1.3.33/src/os/unix
    *** Error code 1
    The following command caused the error:
    for i in regex os/unix ap main lib modules; do \
    echo "===> src/$i"; \
    case ".Solaris 2100" in \
    .OS390 | .TPF) ( cd $i && make SDP='src/' OPTIM='') || exit 1;; \
    *) ( cd $i && make SDP='src/' CC='gcc' AUX_CFLAGS=' -DSOLARIS2=2100 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED ' RANLIB='ranlib' OPTIM='') || exit 1;; \
    esac; \
    echo "<=== src/$i"; \
    done
    make: Fatal error: Command failed for target `subdirs'
    Current working directory /web-download/apache_1.3.33/src
    *** Error code 1
    The following command caused the error:
    case "xi86pc-sun-solaris2.2100" in \
    x*390*) C89STEPS="0xffffffff"; export C89STEPS;; \
    esac; \
    cd ./src; make SDP=src/ all
    make: Fatal error: Command failed for target `build-std'
    Current working directory /web-download/apache_1.3.33
    *** Error code 1
    The following command caused the error:
    make -f ./Makefile root= build-std
    make: Fatal error: Command failed for target `build'
    I am newbie with Solaris and gcc so I have no so much idea what is missing there.
    Thanks,
    Juan

  • How to retrieve client certificate passed by Apache proxy

    Hi all,
    Here's my configuration:
    Client <--HTTPS-->Apache Proxy (2-way SSL) <-- HTTP --> WLS 8.1
    I need to be able to access the client certificate passed to Apache by the client in my Java applications hosted on WLS.
    Here's what I did:-
    <pre>1. Set up Apache 2-way SSL. Tested ok.
    2. Set up Apache-Weblogic proxy. Tested ok for both HTTP, and server-side HTTPS.
    3. Configured Apache's ssl.conf SSLOption to export certifiate data: SSLOptions +ExportCertData.
    4. In my application, I used request.getAttribute("javax.servlet.request.X509Certificate") to try and retrieve the certificate.</pre>
    However the certificate don't seem to be passed along to Weblogic :-(
    Any ideas if I'm missing any steps from above? Or if it's even possible to do this?
    Thanks for any suggestions!
    Any ideas

    The WL-Client-Proxy cert should be the cert used on the proxy side if SSL is configured between Apache and WebLogic, so I believe that is the reason why that does not work. Basically, the problem here is that SSL is end-to-end, and the two ends of this transaction are the client and apache.
    That said, when you add the +ExportCertData option, this should record the client's SSL certificate in the vairable SSL_CLIENT_CERT.  So you should be able to use request.getAttribute("SSL_CLIENT_CERT").
    See:
    http://www.modssl.org/docs/2.8/ssl_reference.html
    If this doesn't work for you (which is possible if the WL_Proxy is doing something funny to the request), it is probably best just to dump out the entire contents of the session, and see what you have:
    for (Enumeration e = request.getAttributeNames() ; e.hasMoreElements() ; ) {
    String attr = (String)e.nextElement();
    System.out.println("ATTR = " + attr);
    System.out.println("VAL = " + request.getAttribute(attr));
    If you can't see any SSL certificate there, you will have to work out some way to pass this on manually.
    cheers,
    Trevor

Maybe you are looking for

  • Render Text as HTML

    Has anyone else had trouble with the Render Text As HTML function in CS4? I want to use two different fonts in the one textfield. Looks fine in Flash but when I export the swf, only the first font is used.

  • Suddenly, most of my folders that I separate the read emails into dissappeared. How to get back?

    In Thunderbird just now most of the folders that I put my read emails into have disappeared. All the old messages are in them . I need them and the folders too. I don't know what I did to make them disappear. Please help. Thanks.

  • Missing Class library: WSDL2Java

    Hi Everyone, I created a standalone proxy for a web service and while compiling i am getting the following error: <b>The project was not built since its classpath is incomplete. Cannot find the class file for com.sap.engine.services.webservices.jaxrp

  • Arrangment of nine photos and text lines to a single sheet

    Dear all, This is my first mail to the adobe discussion forum I have a sheet prepared earlier as attached herewith named as sheet1. This is basic sheet. Where I  have to add a address against "Site" in first text line and the second line will be rema

  • Trouble with Aspyr!  Jedi Outcast won't load!

    I just got Jedi Outcast for my Mac, and nothing seemed out of place until I tried to play it. Once I started up the game, it acted as though it was trying to load the game (the toolbar read "Jedi Knight II" and my cursor began to flicker), but then I