Cookieless session causes redirect loop when deployed to Azure Website

I have a website that needs to use cookieless session. The website works fine locally and the session key gets passed into each request url as expected. However, when deployed to an Azure website, the website requests cause a redirect loop by reloading the
url over and over again with new session keys each time. I've tried setting regenerateExpiredSessionId to false but that does not have any effect. The Azure Website works okay with UseCookies, but I need to use cookieless session for other technical reasons.
What can be done to resolve this issue or get more insight into why it is happening?

Hi,
Disabling the affinity can be done in two ways:
In your application
In a site configuration
Which one did you tried.
Regards,
Azam khan
I'm unmarking this as an answer. In no way does this answer the original question. In my previous reply I stated that I used web.config setting to disable ARR Infinity cookie. This did not resolve my problem. Also, could you please take a minute to describe
why you think disabling this feature would solve the problem? The original link you posted does not mention cookieless session or give any description of why that would be related to my problem.
Thanks for trying to help, but unfortunately this has not solved the problem. If you have more details, please provide them.

Similar Messages

  • AD FS - KB3003381 causes redirect loop on login

    Hi,
    I'm using AD FS 2.1 for SSO (2 IIS sites and several WCF services) but my users have been seeing redirect loops when they try to login. Once the user's browser recognises the loop and interrupts it, they are able to either resubmit the request with a page
    refresh (depending on the browser) or navigate to the URL of the site and they are logged in, but this is not a good workaround. We are using SecurEnvoy for 2FA.
    This behaviour started shortly after KB3003381 was applied to the production environment, and I have replicated the behaviour on our staging environment. Removing this patch from the staging environment causes the login mechanism to behave normally.
    From Fiddler, once users have authenticated successfully using SecurEnvoy, they are directed to
    https://<AD FS proxy URL>/adfs/ls/?wa=wsignin1.0&wtrealm=<site URL>&wctx=rm%3d0%26id%3dpassive%26ru%3d%252f&wct=<UTC timestamp>
    which results in a 302 redirect to 
    https://<AD FS proxy URL>/adfs/ls/auth/basic/?wa=wsignin1.0&wtrealm=<site URL>&wctx=rm%3d0%26id%3dpassive%26ru%3d%252f&wct=<UTC timestamp>
    This should return a 200, but instead returns a 302 redirect to the same URL, until stopped by the browser.

    It seems that you have already asked in another forum: http://serverfault.com/questions/658095/adfs-2-1-redirect-loop-on-login
    Simply remove the installed update and contact Microsoft to report the issue: http://support.microsoft.com/ContactUs
    This posting is provided AS IS with no warranties or guarantees , and confers no rights.
    Ahmed MALEK
    My Website Link
    My Linkedin Profile
    My MVP Profile

  • For the last 2days I have had the words " No Service" in the top left hand corner of my iPad? This causes intermittent  problems when logging into some  websites and Downloading some emails? I currently run a wifi network of 1 iPad and 1 desktop compuHelp

    For the last 2days I have had the words " No Service" in the top left hand corner of my iPad? This causes intermittent  problems when logging into some  websites and Downloading some emails? I currently run a wifi network of 1 iPad and 1 desktop computer. The wifi unit is  a iinet BOB 2 unit. The other computer works completely fine. The only problem is with this apple iPad? I have rebooted iPad and rebooted BOB 2 wifi unit but this has made on difference to the problem?
    Can anyone suggest any HELP
    Thank You

    For the last 2days I have had the words " No Service" in the top left hand corner of my iPad? This causes intermittent  problems when logging into some  websites and Downloading some emails? I currently run a wifi network of 1 iPad and 1 desktop computer. The wifi unit is  a iinet BOB 2 unit. The other computer works completely fine. The only problem is with this apple iPad? I have rebooted iPad and rebooted BOB 2 wifi unit but this has made on difference to the problem?
    Can anyone suggest any HELP
    Thank You

  • Cookieless sessions cause ActiveX print error

    Greetings, all!
    I have a ASP.NET web application hosted on IIS 7.5 that delivers several reports via our CMS server and the CrystalReportViewer control (version 12.0.2000.0), and this basic structure for report delivery, export, and printing is working just fine. However, we recently had to set up one site with cookieless sessions, and this has created a problem. The reports still render and display properly within the CrystalViewerControl, but printing (in ActiveX mode) no longer works.  Any attempt to click the Print icon in the viewer toolbar results in the message "An communication error occured. Printing will be stopped." Exporting still works properly. The PrintControl.cab file is installed and works (as noted in sites not using cookieless sessions).
    An analysis of the javascript strongly suggests the source of the problem. The scripting kit used to construct and inject the Crystal javascript code in support of the viewer creates code to invoke an ActiveX control pushed down by the famous PrintControl.cab file. The URL passed as a parameter for the report to the control includes a sequence of folder-level escapes (../../..) that prefixes the site name and embedded session ID. I believe the script generator is not cognizant of the fact that the session is embedded in the URL, and thus should provide an additional escape prefixing the print control's report URL parameter. As it is, I believe the URL that is forwarded back to initiate the postback for printing is either receiving an unhandled 302 redirect that the print control cannot handle.
    If there are any other suggestions or solutions to this issue such that cookieless server sessions can be supported and continue to allow printing to work properly, I would be most appreciative.
    Many thanks,
    David

    There are two options
    1) Use proxy where you host the viewer directory as a sub-directory of the application and set the ResourceURI as u201C~CrystalReportViewers12u201D. For details see the following KBases. They are both pretty well identical and for CR XI R2, but the principle will be the same for any version of CR.
    [1484240 - Cannot Export or Print From the .NET Report Viewer|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333433383334333233343330%7D.do]
    [1197229 - Using reverse proxies with the Crystal Reports for .NET WebForm Viewer control|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333133393337333233323339%7D.do]
    2) There are web.config settings to set the URL to the printcontrol.cab directly.
    configSections>
        <sectionGroup name="businessObjects">
          <sectionGroup name="crystalReports">
            <section name="printControl" type="System.Configuration.NameValueSectionHandler" />
          </sectionGroup>
        </sectionGroup>
      </configSections>
      <businessObjects>
        <crystalReports>
          <printControl>
            <add key="url" value="http://localhost/PrintControl.cab" />
          </printControl>
        </crystalReports>
      </businessObjects>
    Ludek
    Edited by: Ludek Uher on Apr 26, 2011 12:45 PM

  • Infinite Redirect Loop when selecting group in Google Groups

    When I sign in to Google groups, then select one of my groups, I get into an "infinite redirect loop." The page hangs, "Redirecting" appears in the page title, and at the bottom it says (alternating) "waiting for google.com" or "waiting for groups.google.com". I have Firefox 3.6.3, which I think is latest and greatest.
    This problem has been reported to Google and you can see the discussion here:
    http://groups.google.com/group/is-something-broken/browse_thread/thread/8fb760742f6ce7ba/f7065d7bd3499f65#f7065d7bd3499f65
    You go to the Google Groups help forum, look at "Is something broken" discussion, and look further for "Infinite Redirect Loop." This may be a problem that only affects moderators.
    I'm not sure if this is a problem with Firefox, Google groups, or the interaction.
    == URL of affected sites ==
    http://groups.google.com/

    Clearing out all cookies worked for me, too.
    Not that it matters, but my tentative conclusion is that (a) this is a Google problem and (b) it has something to do with cookies, possibly a defective cookie creation mechanism or something like that. In any event, if it doesn't recur, I would further conclude that whatever-it-was has been fixed.

  • .svclog file is not creating on cloud when cloud service is deployed into azure website.

    I have created a wcf cloud service which is being deployed on cloud through bitbucket repository.
    I want to create a .svclog file to trace logs on my azure local storage.
    For that, I have refered so many posts and finally configured my solution as below:
    ServiceConfiguration.Cloud.cscfg:
    <Role name="MyServiceWebRole">    <Instances count="1" />    <ConfigurationSettings>      <Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString"                value="DefaultEndpointsProtocol=https;AccountName=StorageName;AccountKey=MyStorageKey" />    </ConfigurationSettings>    <Certificates>      <Certificate name="Certificate" thumbprint="certificatethumbprint" thumbprintAlgorithm="sha1" />    </Certificates>  </Role>
    ServiceConfiguration.Local.cscfg:
    <Role name="MyServiceWebRole">
        <Instances count="1" />    <ConfigurationSettings>      <!--Also tried with value = "UseDevelopmentStorage=true"-->      <Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString"               value="DefaultEndpointsProtocol=https;AccountName=StorageName;AccountKey=MyStorageKey" />    </ConfigurationSettings>    <Certificates>      <Certificate name="Certificate" thumbprint="certificatethumbprint" thumbprintAlgorithm="sha1" />    </Certificates>  </Role>
    ServiceDefinition.csdef:
    <WebRole name="MyServiceWebRole" vmsize="Small">    <Sites>      <Site name="Web">        <Bindings>          <Binding name="Endpoint1" endpointName="Endpoint1" />        </Bindings>      </Site>    </Sites>    <Endpoints>      <InputEndpoint name="Endpoint1" protocol="http" port="80" />    </Endpoints>    <Imports>      <Import moduleName="Diagnostics" />    </Imports>    <LocalResources>      <LocalStorage name="MyServiceWebRole.svclog" sizeInMB="1000" cleanOnRoleRecycle="false" />    </LocalResources>    <Certificates>      <Certificate name="Certificate" storeLocation="LocalMachine" storeName="My" />    </Certificates>  </WebRole>
    web.config (MyServiceWebRole project):
    <system.diagnostics>    <trace autoflush="false">      <listeners>        <add name="AzureDiagnostics"             type="Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener, Microsoft.WindowsAzure.Diagnostics,              Version=2.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />      </listeners>    </trace>  </system.diagnostics>  ............<system.serviceModel>    <diagnostics>      <messageLogging maxMessagesToLog="3000"                      logEntireMessage="true"                      logMessagesAtServiceLevel="true"                      logMalformedMessages="true"                      logMessagesAtTransportLevel="true" />    </diagnostics>   ............ <runtime>    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">      <dependentAssembly>        <assemblyIdentity name="Microsoft.WindowsAzure.Diagnostics" publicKeyToken="31bf3856ad364e35" culture="neutral" />        <!--<bindingRedirect oldVersion="0.0.0.0-1.8.0.0" newVersion="2.2.0.0" />-->      </dependentAssembly>    </assemblyBinding>  </runtime>
    WebRole.cs (MyServiceWebRole project):
           public override bool OnStart()        {            //Trace.Listeners.Add(new DiagnosticMonitorTraceListener());            Trace.Listeners.Add(new AzureLocalStorageTraceListener());            Trace.AutoFlush = false;            Trace.TraceInformation("Information");            Trace.TraceError("Error");            Trace.TraceWarning("Warning");            TimeSpan tsOneMinute = TimeSpan.FromMinutes(1);            // To enable the AzureLocalStorageTraceListner, uncomment relevent section in the web.config            DiagnosticMonitorConfiguration diagnosticConfig = DiagnosticMonitor.GetDefaultInitialConfiguration();            // Transfer logs to storage every minute            diagnosticConfig.Logs.ScheduledTransferPeriod = tsOneMinute;            // Transfer verbose, critical, etc. logs            diagnosticConfig.Logs.ScheduledTransferLogLevelFilter = LogLevel.Verbose;            // Start up the diagnostic manager with the given configuration            DiagnosticMonitor.Start("Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString", diagnosticConfig);            // For information on handling configuration changes            // see the MSDN topic at http://go.microsoft.com/fwlink/?LinkId=166357.            return base.OnStart();        }
    AzureLocalStorageTraceListener.cs (MyServiceWebRole project):
    public class AzureLocalStorageTraceListener : XmlWriterTraceListener    {        public AzureLocalStorageTraceListener() : base(Path.Combine(GetLogDirectory().Path, "MyServiceWebRole.svclog"))        {        }        public static DirectoryConfiguration GetLogDirectory()        {            try            {                DirectoryConfiguration directory = new DirectoryConfiguration();                // SHOULD I HAVE THIS CONTAINER ALREADY EXIST IN MY LOCAL STORAGE?                directory.Container = "wad-tracefiles";                directory.DirectoryQuotaInMB = 10;                directory.Path = RoleEnvironment.GetLocalResource("MyServiceWebRole.svclog").RootPath;                var val = RoleEnvironment.GetConfigurationSettingValue("Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString");                return directory;            }            catch (ConfigurationErrorsException ex)            {                throw ex;            }        }    }
    I also tried to comment out element in ServiceDefinition.csdef file. but here, I am having build time error (The XML specification is not valid).
    In my case, I am pushing all source code to bitbucket repository and from there it is deployed to the azure "WebSite". Here is more details:
    I need help to know:
    Why my service did not creating .svclog file from local to azure?
    It's also not doing the same even it has been deployed to azure?
    On which location(container) I can get the .svclog file into local storage?
    Please suggest correct way or modification so that I can overcome with this issue. Please replay fast.
    Thanks.

    Hello _Adian,
    Thanks for response.
    I uploaded all my code on bitbucket repository and configured a website on portal using "Integrate source control" (please refer:  http://azure.microsoft.com/en-in/documentation/articles/web-sites-publish-source-control/).
    (NOTE: This is the way my client is following.)
    Here is the structure of my solution:
    1. a wcf service application (.svc)
    2. few class library projects
    3. Azure cloud service (with Project 1 as web role).
    Now whenever I push my updated code to bitbucket, It automatically deployed to azure.
    So, please suggest me how can I create a separate .svclog file into local storage (using above environment).
    I hope this info will helpful to you for answer.

  • Using AzureContinuousDeployment.11.xaml template to deploy to Azure Website not working

    I have a visual studio online account and have set up continuous deployment using the AzureContinuousDeployment.11.xaml and set the Azure Website property to my publish profile, however when the build is running, it complete but never deploys.
    If however, I use the TFVCContinousDeployment.12.xaml (http://azure.microsoft.com/en-us/documentation/articles/cloud-services-continuous-delivery-use-vso/)
    then it does deploy as expected.
    Any ideas?

      <connectionStrings>
        <add name="MyWhesEntities" connectionString="metadata=res://*/MyWhesModel.csdl|res://*/MyWhesModel.ssdl|res://*/MyWhesModel.msl;provider=System.Data.SqlClient;provider connection string=&quot;data
    source=localhost;initial catalog=mywhes;integrated security=True;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
        <add name="MyWhesContext" connectionString="tcp:ngw4ziez6g.database.windows.net,1433;Database=mywhes;UserID=********;Password=********;Trusted_Connection=False;Encrypt=True;Connection Timeout=30;" providerName="System.Data.SqlClient"
    />
      </connectionStrings>     
    Hello James,
    Your Entity Framework Model "MyWhesEntities" connection string is still pointing to a local server, not to SQL Azure; or do you change it during runtime in your code?
    And you should add the "data source=" property name to your second connection string, it's missing.
    Olaf Helper
    * cogito ergo sum * errare humanum est * quote erat demonstrandum *
    Wenn ich denke, ist das ein Fehler und das beweise ich täglich
    Blog
    Xing

  • Portal SRA 7.1 - Redirect Loop

    Hi,
    sometimes (approx. 50% of connections) get a 'Redirect Loop' when accessing gateway after sucessful login.
    Did anybody know how to solve this problem, please?
    Other info from logs:
    User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.8) Gecko/2009032713 Fedora/3.0.8-1.fc9 Firefox/3.0.8
    Keep-Alive: 300
    Connection: keep-alive
    The difference in the logs are:
    good connection in the: Gateway.toFromBrowser.0.0.log seems like:
    GET HTTP/1.0
    Allow: GET
    GET /portal/dt HTTP/1.0
    HTTP/1.0 200 OK
    Server: Sun-Java-System/Application-Server
    X-powered-by: Servlet/2.4
    redirect loop problem log Gateway.toFromBrowser.0.0.log seems:
    GET HTTP/1.0
    Allow: GET
    GET /portal/dt HTTP/1.0
    HTTP/1.0 302 Moved Temporarily
    Server: Redirector
    Location: https://dgw.company.sk/http://dportal2.company.sk/amserver/UI/Login?gw=dgw.company.sk&org=dc%3Dcompany%2Cdc%3Dsk&goto=http://dportal2.company.sk/portal/dt
    Content-Length: 292
    Content-Type: text/html/html
    Connection: Keep-Alive
    Keep-Alive: timeout=50,max=6
    GET /amserver/UI/Login?gw=dgw.company.sk&org=dc%3Dcompany%2Cdc%3Dsk&goto=http://dportal2.company.sk/portal/dt HTTP/1.0
    <message>Response sent back to Browser:
    HTTP/1.0 302 Moved Temporarily
    Server: Sun-Java-System/Application-Server
    Date: Wed, 15 Apr 2009 13:08:30 GMT
    Content-type: text/html
    X-powered-by: Servlet/2.4
    Cache-control: private
    Expires: 0
    X-dsameversion: 7.1 patch 126357-01
    Am_client_type: genericHTML
    Content-Length: 0
    Connection: Keep-Alive
    Keep-Alive: timeout=50,max=7
    Location: https://dgw.company.sk/http://dportal2.company.sk/portal/dt
    And again the same:
    GET /portal/dt HTTP/1.0
    HTTP/1.0 302 Moved Temporarily
    This continues 10 times both GET /portal/dt HTTP/1.0 and GET /amserver/UI/Login?gw=dgw.company.sk...
    and than firefox and IE failed with redirect loop.
    My configuration is:
    2 x AS 8.2 with AM 7.1, Portal and SRA Gateways in the two non-global zones. AM with session failover and Portals are both in their own domain1 (non-cluster, non-portlet failover) with SRA Gateways configured on the different virtual IP and aliases.
    JDK: 11866*-19
    JavaDB: 125246-03
    Cacao: 12389*-10
    MQ: 12506*-05
    AS: 124673-10
    PS: 124302-12

    You can also try adding the host you are trying to access to "URLs to which User Session Cookie is Forwarded" under Secure Remote Access --> Profiles in psconsole.

  • Is it possible to do Continuous deployment for azure cloud services(website,web and worker roles) using VSO Release management?

    Hi,
    I am trying to do continuous deployment using visual studio online and release management for Azure cloud services. But not able to find the way to do it(with the help of different blogs, those are describing using VM only).
    I tried using Release management visual studio extension also. But no Luck.
    Please help me if it is possible to do continuous deployment using release management.
    Thanks,
    Phani

    Hi,
     Please refer to the following Forum Thread with similar question which has been answered. Let us know if this helps.
     https://social.msdn.microsoft.com/Forums/en-US/9d8322f6-36e5-4cca-a982-d420d34d2072/realease-management-deployment-to-azure-websites-webworker-roles?forum=tfsbuild
    Regards,
    Nithin Rathnakar

  • Infinite loop/afrLoop when deploying ADF application to standalone weblogic

    Working with Oracle ADF / JDeveloper 11.1.2.2
    I have enabled ADF security in my application and am using JAAS combined with Oracle EBS users and roles to provide security to the application. Testing on my local integrated weblogic server works fine.
    When deploying my Oracle ADF application to a standalone Weblogic server through an EAR file, requesting a JSF page causes the server to go into an infinite loop on both IE and firefox.
    GET /test-app/faces/login.jsf HTTP/1.1     200
    GET /test-app/faces/login.jsf?_afrLoop=346001033248597&_afrWindowMode=0&Adf-Window-Id=w0 HTTP/1.1     302
    GET /test-app/adfAuthentication HTTP/1.1     302
    GET /test-app/faces/login.jsf HTTP/1.1     200
    GET /test-app/faces/login.jsf?_afrLoop=346001340281597&_afrWindowMode=0&Adf-Window-Id=w0 HTTP/1.1     302
    GET /test-app/adfAuthentication HTTP/1.1     302
    GET /test-app/faces/login.jsf;jsessionid=syWvP1nMY1L87BySh2JbTd1tb4SY0HzDw6T3LvLctvkbMWKmqqJv!1800986117 HTTP/1.1     200
    GET /test-app/adfAuthentication HTTP/1.1
    Reviewing some of the suggestions from the forum and from the link below, I have tried fixing the issue through updates to my web.xml - but am still having the same issue.
    https://blogs.oracle.com/jdevotnharvest/entry/solving_jdeveloper_11gr2_issue_with
    Updated web.xml:
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>Allowed ADF Resources</web-resource-name>
    <url-pattern>/adf/*</url-pattern>
    <url-pattern>/afr/*</url-pattern>
    <url-pattern>/bi/*</url-pattern>
    <url-pattern>/servlet/GraphServlet/*</url-pattern>
    <url-pattern>/servlet/GaugeServlet/*</url-pattern>
    <url-pattern>/mapproxy/*</url-pattern>
    <url-pattern>/adflib/</url-pattern>
    </web-resource-collection>
    <web-resource-collection>
    <web-resource-name>allPages</web-resource-name>
    <url-pattern>/*</url-pattern>
    </web-resource-collection>
    <web-resource-collection>
    <web-resource-name>adfAuthentication</web-resource-name>
    <url-pattern>/adfAuthentication</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name>valid-users</role-name>
    </auth-constraint>
    </security-constraint>
    <login-config>
    <auth-method>FORM</auth-method>
    <form-login-config>
    <form-login-page>/faces/login.jsf</form-login-page>
    <form-error-page>/faces/login-error.jsf</form-error-page>
    </form-login-config>
    </login-config>
    <security-role>
    <role-name>valid-users</role-name>
    </security-role>
    weblogic.xml
    <security-role-assignment>
    <role-name>valid-users</role-name>
    <principal-name>users</principal-name>
    </security-role-assignment>
    I know other users have experienced similar issues - but I am having trouble debugging or troubleshooting why this is happening.
    Any suggestions on how to further troubleshoot or resolve this issue would be appreciated!
    Dan

    I was able to resolve the login page looping issue.
    The issue is related to the login page being a JSF page based on a page template.
    When I created the JSF login page as a page template - the template contains a binding:
    <af:pageTemplate viewId="/test-template.jsf" value="#{bindings.ptb1}" id="pt1">
    When I deploy my application to the test weblogic server, the anonymous-role grants are not being respected. So even though I grant view access to the login JSF page to anonymous-role -- it appears that weblogic is trying to request a login for any page with a pageDef (including the login page). By re-creating the login page with no pageDef (a JSF page that does not use a page template) -- the login page is displayed (rather than entering into a loop).
    There is still a seperate issue with the anonymous-role grant not working as I would expect it to work that I will need to troubleshoot further.

  • Sessions problem when deploying to AS 10g (10.1.2.0.2)

    Hello,
    I have a very simple Web Application where I have isolated an issue I have found. The application works fine when executed in JDeveloper 10g (10.1.2.2) but it does not work when deployed in the AS 10g (10.1.2.0.2). My Platform is Windows XP Professional x64.
    The application has been created in JDeveloper (New &gt;&gt; Web Project) and contains:
    - a simple jsp page (main.jsp) displaying a dummy message,
    - a simple filter class (authFilter.java) which only has the following code in the doFilter method:
    HttpServletRequest hreq = (HttpServletRequest)request;
    System.out.println("*** session id = " + hreq.getSession().getId());
    System.out.println("*** requested session id = " + hreq.getRequestedSessionId());
    - a web deployment descriptor (web.xml) where the reference to the filter has been added:
    &lt;filter&gt;
    &lt;filter-name&gt;Filter1&lt;/filter-name&gt;
    &lt;filter-class&gt;myfilters.authFilter&lt;/filter-class&gt;
    &lt;/filter&gt;
    &lt;filter-mapping&gt;
    &lt;filter-name&gt;Filter1&lt;/filter-name&gt;
    &lt;url-pattern&gt;*.jsp&lt;/url-pattern&gt;
    &lt;/filter-mapping&gt;
    When running this inside JDeveloper, the output is the following:
    08/12/09 17:54:03 *** session id = ac1663b9231c2936edded7df423f9161c223ee0d4246
    08/12/09 17:54:03 *** requested session id = null
    08/12/09 17:54:08 *** session id = ac1663b9231c2936edded7df423f9161c223ee0d4246
    08/12/09 17:54:08 *** requested session id = ac1663b9231c2936edded7df423f9161c223ee0d4246
    08/12/09 17:54:10 *** session id = ac1663b9231c2936edded7df423f9161c223ee0d4246
    08/12/09 17:54:10 *** requested session id = ac1663b9231c2936edded7df423f9161c223ee0d4246
    Each time I reload the page in the browser I get two messages where the session id and the requested session id are equal and the same.
    However, when running the application inside the AS, the output is the following (taken from the opmn/logs/OC4J~my_component~default_island~1):
    08/12/09 17:56:58 *** session id = ac16322030d6da9410e6348449449a4cf1f0e65956cf
    08/12/09 17:56:58 *** requested session id = null
    08/12/09 17:57:01 *** session id = ac16322030d6bc42fa22332e41818aa6ece1fd371361
    08/12/09 17:57:01 *** requested session id = null
    08/12/09 17:57:02 *** session id = ac16322030d60895af4c8cc44aef9ff6e6e3b3fd2e04
    08/12/09 17:57:02 *** requested session id = null
    That is, each time the page is reloaded, a new session is created.
    This problem is actually blocking me since I would like to use the session to store some data used for authentication in the filter (dynamic credentials). As a new session is being created for each access, the data stored in the session is lost and users cannot log on the application.
    Thank you in advance,
    Jorge.
    Edited by: Jorge Pacios on 10-dic-2008 0:31
    Platform information added.

    It couldn't be such difficult.
    I have the jar's, the drivers in, the jdbc url connection as
    url="jdbc:oracle:thin:[USERNAME/PASSWORD]@IP:PORT:SID"/>
    Also I can connect via sqlplus with this string conn.
    The main error I get is
    "Cannot lookup jdbc datasource.
    The process domain was unable to lookup the TX datasource "jdbc/BPELServerDataSource"."

  • Dreaded redirect loop with tomcat hot deploy

    I have an OpenSSO 8.0 installation on a glassfish server, and a Tomcat 6.0.20.1 client installation. I have set Configuration > Servers and Sites > Server > Security > Encode Cookie Value to true. For normal use, it works just fine. However, if I place a war file in the webapps directory, which tomcat recognizes and automatically explodes and deploys, from this point on all of my protected apps give me the redirect loop until I restart tomcat. Has anyone else ever seen this, or know how to fix it? We regularly use tomcat's hot deploy capabilities, and it is a major drawback if we have to cycle tomcat every time we deploy an app.
    Thanks.

    As an independent test, are you able to deploy and run the ADF Toy Store demo application on the same tomcat with no problems as documented in the ADF Toy Store Demo whitepaper's section on running on tomcat?
    http://www.oracle.com/technology/products/jdev/tips/muench/adftoystore1012/readme.html#tomcatsetup
    Might help us narrow down the problem.

  • NullPointerException when deploying sateless session bean

    I'm deploying a simple Stateless Session Bean, my deployment descriptors are
    being generated with xdoclet. I'm getting the following exception:
    weblogic.management.ApplicationException:
    Exception:weblogic.management.ApplicationException: prepare failed for
    formulacionEJB.jar
    Module: formulacionEJB.jar Error: Exception preparing module:
    EJBModule(formulacionEJB.jar,status=NEW)
    Unable to deploy EJB:
    C:\bea\user_projects\domains\formulacion\myserver\stage\_appsdir_formulacion
    _ear\formulacionEJB.jar from formulacionEJB.jar:
    java.lang.NullPointerException
    at
    weblogic.ejb20.deployer.SessionBeanInfoImpl.assignDefaultTXAttributesIfNeces
    sary(SessionBeanInfoImpl.java:291)
    at
    weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeTransactionAttribu
    te(MBeanDeploymentInfoImpl.java:807)
    at
    weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoIm
    pl.java:240)
    at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1262)
    at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
    at
    weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContaine
    r.java:2962)
    at
    weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContain
    er.java:1534)
    at
    weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java
    :1188)
    at
    weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java
    :1031)
    at
    weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepare
    Container(SlaveDeployer.java:2602)
    at
    weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(
    SlaveDeployer.java:2552)
    at
    weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDep
    loyer.java:2474)
    at
    weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeplo
    yer.java:798)
    at
    weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.ja
    va:507)
    at
    weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.j
    ava:465)
    at
    weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.ja
    va:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    Do you have any idea of why is this happening?
    Thanks in advance,
    Alejandro Escalante Medina

    Im having what appears to be the same exact problem (Im getting a NPE and same error message). Did this get resolved? Im using xdoclet as well ... Here are the respective deployment descriptors that are getting created via xdoclet ...
    Thanks,
    Scott :)
    ejb-jar.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar >
    <description><![CDATA[No Description.]]></description>
    <display-name>Generated by XDoclet</display-name>
    <enterprise-beans>
    <!-- Session Beans -->
    <session >
    <description><![CDATA[AdministrationManager EJB]]></description>
    <display-name>AdministrationManager</display-name>
    <ejb-name>AdministrationManager</ejb-name>
    <home>com.jnj.depuy.wwl.ejb.administrationmanager.AdministrationManagerHome</home>
    <remote>com.jnj.depuy.wwl.ejb.administrationmanager.AdministrationManager</remote>
    <local-home>com.jnj.depuy.wwl.ejb.administrationmanager.AdministrationManagerLocalHome</local-home>
    <local>com.jnj.depuy.wwl.ejb.administrationmanager.AdministrationManagerLocal</local>
    <ejb-class>com.jnj.depuy.wwl.ejb.administrationmanager.AdministrationManagerSession</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    </session>
    <session >
    <description><![CDATA[SequenceManager EJB]]></description>
    <display-name>SequenceManager</display-name>
    <ejb-name>SequenceManager</ejb-name>
    <home>com.jnj.depuy.wwl.ejb.sequencemanager.SequenceManagerHome</home>
    <remote>com.jnj.depuy.wwl.ejb.sequencemanager.SequenceManager</remote>
    <local-home>com.jnj.depuy.wwl.ejb.sequencemanager.SequenceManagerLocalHome</local-home>
    <local>com.jnj.depuy.wwl.ejb.sequencemanager.SequenceManagerLocal</local>
    <ejb-class>com.jnj.depuy.wwl.ejb.sequencemanager.SequenceManagerSession</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    </session>
    <!--
    To add session beans that you have deployment descriptor info for, add
    a file to your XDoclet merge directory called session-beans.xml that contains
    the <session></session> markup for those beans.
    -->
    <!-- Entity Beans -->
    <!--
    To add entity beans that you have deployment descriptor info for, add
    a file to your XDoclet merge directory called entity-beans.xml that contains
    the <entity></entity> markup for those beans.
    -->
    <!-- Message Driven Beans -->
    <!--
    To add message driven beans that you have deployment descriptor info for, add
    a file to your XDoclet merge directory called message-driven-beans.xml that contains
    the <message-driven></message-driven> markup for those beans.
    -->
    </enterprise-beans>
    <!-- Relationships -->
    <!-- Assembly Descriptor -->
    <assembly-descriptor >
    <!--
    To add additional assembly descriptor info here, add a file to your
    XDoclet merge directory called assembly-descriptor.xml that contains
    the <assembly-descriptor></assembly-descriptor> markup.
    -->
    <!-- finder permissions -->
    <!-- finder permissions -->
    <!-- transactions -->
    <!-- finder transactions -->
    </assembly-descriptor>
    </ejb-jar>
    weblogic-ejb-jar.xml:
    <!DOCTYPE weblogic-ejb-jar PUBLIC '-//BEA Systems, Inc.//DTD WebLogic 8.1.0 EJB//EN' 'http://www.bea.com/servers/wls810/dtd/weblogic-ejb-jar.dtd'>
    <!-- Generated XML! -->
    <weblogic-ejb-jar>
    <weblogic-enterprise-bean>
    <ejb-name>AdministrationManager</ejb-name>
    <stateless-session-descriptor>
    <pool>
    </pool>
    <stateless-clustering>
    </stateless-clustering>
    </stateless-session-descriptor>
    <transaction-descriptor>
    </transaction-descriptor>
    <jndi-name>AdministrationManager</jndi-name>
    </weblogic-enterprise-bean>
    <weblogic-enterprise-bean>
    <ejb-name>SequenceManager</ejb-name>
    <stateless-session-descriptor>
    <pool>
    </pool>
    <stateless-clustering>
    </stateless-clustering>
    </stateless-session-descriptor>
    <transaction-descriptor>
    </transaction-descriptor>
    <jndi-name>SequenceManager</jndi-name>
    </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    And for reference the error:
    BUILD FAILED
    file:C:/My Sources/WWL/wwlear/build.xml:201: weblogic.utils.compiler.ToolFailureException: [J2EE:160119]Appc is unable to process the file 'C:\My Buil
    java.lang.NullPointerException
    at weblogic.ejb20.deployer.SessionBeanInfoImpl.assignDefaultTXAttributesIfNecessary(SessionBeanInfoImpl.java:291)
    at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeTransactionAttribute(MBeanDeploymentInfoImpl.java:807)
    at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoImpl.java:240)
    at weblogic.ejb20.ejbc.EJBCompiler.setupEJB(EJBCompiler.java:155)
    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:415)
    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:387)
    at weblogic.appc.compileEJB(appc.java:802)
    at weblogic.appc.compileModules(appc.java:621)
    at weblogic.appc.compileEAR(appc.java:733)
    at weblogic.appc.compileInput(appc.java:458)
    at weblogic.appc.runBody(appc.java:184)
    at weblogic.utils.compiler.Tool.run(Tool.java:146)
    at weblogic.utils.compiler.Tool.run(Tool.java:103)
    at weblogic.appc.main(appc.java:1028)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at weblogic.ant.taskdefs.j2ee.CompilerTask.invokeMain(CompilerTask.java:278)
    at weblogic.ant.taskdefs.j2ee.Appc.execute(Appc.java:179)
    at org.apache.tools.ant.Task.perform(Task.java:341)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
    at org.apache.tools.ant.Main.runBuild(Main.java:609)
    at org.apache.tools.ant.Main.start(Main.java:196)
    at org.apache.tools.ant.Main.main(Main.java:235)
    at weblogic.ejb20.ejbc.EJBCompiler.setupEJB(EJBCompiler.java:164)
    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:415)
    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:387)
    at weblogic.appc.compileEJB(appc.java:802)
    at weblogic.appc.compileModules(appc.java:621)
    at weblogic.appc.compileEAR(appc.java:733)
    at weblogic.appc.compileInput(appc.java:458)
    at weblogic.appc.runBody(appc.java:184)
    at weblogic.utils.compiler.Tool.run(Tool.java:146)
    at weblogic.utils.compiler.Tool.run(Tool.java:103)
    at weblogic.appc.main(appc.java:1028)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at weblogic.ant.taskdefs.j2ee.CompilerTask.invokeMain(CompilerTask.java:278)
    at weblogic.ant.taskdefs.j2ee.Appc.execute(Appc.java:179)
    at org.apache.tools.ant.Task.perform(Task.java:341)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
    at org.apache.tools.ant.Main.runBuild(Main.java:609)
    at org.apache.tools.ant.Main.start(Main.java:196)
    at org.apache.tools.ant.Main.main(Main.java:235)

  • Error when deploying a map

    hello i have the following error when deploying a map in a local database, the mapping is a simple transfert of data between two table,
    ORA-06550: line 0, column 0:
    ORA-04052: erreurs lors de la consultation de l'objet distant [email protected]@KCDBDEV
    ORA-00604: une erreur s'est produite au niveau SQL récursif 1
    ORA-01882: région de fuseau horaire introuvable
    ORA-02063: pré
    any help please
    thanks,
    tarek

    Hello thank u for helping, i have exactly the same problème in Error executing a query using a DB-Link
    but i am not inderstanding the solution, i found the same probleme in metalink, and the solution posted is:
    1. Create an errorstack of the ORA-1882 to see the ALTER SESSION SET TIME_ZONE statement that is causing the ORA-1882 during deployment. To create this errorstack, follow step 1 to 4 below:
    1. Just before you reproduce the error, open a SQL*Plus session with user SYSTEM.
    SQL> alter system set events '1882 trace name ERRORSTACK level 3'
    2. Deploy the mapping to reproduce the ORA-1882
    3. Disable the system event
    SQL> alter system set events '1882 trace name errorstack off';
    4. Take a look at the errorstack (located in the udump directory). Suppose the following statement is in there:
    ALTER SESSION SET TIME_ZONE = 'GMT+02:00'
    2. Modify the run_service.sh(.bat) file as follow:
    * For UNIX:
    Modify owb_server_home/owb/bin/unix/run_service.sh as follows:
    Add the parameter -Duser.timezone="+02:00" to the line where java is started (last line of run_service.sh)
    $JAVAPATH/bin/java -Xmx768M -Djava.awt.headless=true -DORACLE_HOME.....
    e.g:
    $JAVAPATH/bin/java -Xmx768M -Duser.timezone="+02:00" -Djava.awt.headless=true -DORACLE_HOME
    * For Windows:`
    Modify owb_server_home\owb\bin\win32\run_service.bat as follows:
    Add the parameter -Duser.timezone="+02:00" to the line where java is started
    %JAVAPATH%\jre\bin\javaw.exe %JVM_OPTIONS%
    e.g.:
    %JAVAPATH%\jre\bin\javaw.exe -Duser.timezone="+02:00" %JVM_OPTIONS%
    3. Save the file and re-start the Runtime Service using stop_service.sql/start_service.sql.
    but in creating the errorstack of the ORA-1882 i not found the ALTER SESSION SET TIME_ZONE
    and i Modify the run_service i fixed -Duser.timezone="+01:00" cause the time zone here is Europe/Paris but there is no changes.
    the db link is from Oracle 10.2.0.2.0 to 9.2.0.1.0. and owb 10g R2
    other solution?
    thanks,
    tarek

  • Cant download Flash trial, says redirect loop

    I want to try a trial of adobe flash but it will not let me even start downloading the software at all. It says redirect loop, i tried to dload on firefox and google chrome, internet explorer does not work on my comp. Also it told me to delete all my cookies from the list and i did but i get the same problem. please help.

    That happened once to me when downloading a trial.  I just tried it again after a few minutes and it worked.  In Firefox, clear al private data including saved sessions.  If it keeps up, email support.

Maybe you are looking for

  • Trying to create Large Play button on Flash CS4

    Hello, I am trying to create the following: (using someone elses post from another board) "I am wondering if there is a way to hide the FLVPlayback skin until a certain event happens. Let me explain. I have an instance of the flvplayback component in

  • Linking Transactions

    Hi My requirement is to link transactions to new transaction in IC web client via business context. Can some one tell me is that achievable via some standard functionality or do we need developement for that. Regards Ram

  • Page Layout Editor Problem

    Hello everybody, i want to arrange content in a page. The question is how? A How-to-document i downloaded from SAP says you can just drag&drop the content. This does not work for me. I can highlight the content but i cant move it anywhere. Im on EP 6

  • Detecting clicks over a particular region in the frame

    Hey! I need to detect whether te user clicked over a particular region in my frame.. something delimited by a poligon... or something like that.. some ideas? thank you in advance!

  • Any advice on optimizing folio size?

    We are currently developing a 10-12 article folio with a modest amount of rich media; 2-3 videos, an image sequence and a few MSOs. Nothing compared to what I have seen in magazines I have downloaded that appear to be a fraction of the size (we are c