Timout configuration for WLS 5.1

Hi all,
We're running Tomcat against WLS 5.1sp10.
We're trying to find out how to tune the timeout properties for the
different connections.
If we have a connection to our Oracle database, it will timeout and fail
after 300 seconds (5 minutes). However, when Tomcat connects to WLS, it has
a timeout of only 4 minutes.
We've discovered that if the connection gets dropped to WLS while it's
blocked talking to Oracle, then this "consumes" a connection to WLS, and if
it happens enough, WLS will get its Listener hammered and stop accepting any
kind of connection.
What we're hoping to do is prevent this by having Tomcat time out "later"
than Oracle, this would allow Oracle and WLS to fail "cleaner" than if
Tomcat fails first.
However, we can not find any place to adjust either the 4 minute timeout on
the client side or the 5 minute timeout on the server side.
We know that we can somewhat circumvent this by expanding the number of
Execute Threads, but I'm thinking that the timeout adjustment (as well as
ensuring that really stupid SQL doesn't happen in the first place, but
that's a different issue) is "better" than tweaking the Execute Threads
count.
Any help appreciated.
Thanx!
Regards,
Will Hartung
([email protected])

Hi.
trial license keys come with the server when you download it. It should
be good for 30 days. Try downloading the server again if your license
has expired, or contact sales for a license extension.
Regards,
Michael
Maria wrote:
How can I have an trial license for WLS 5.1 to evaluate this sw?--
Michael Young
Developer Relations Engineer
BEA Support

Similar Messages

  • Using Basic or Multi-tier configuration for WLS Clusters...

    Ok,
              The scenario is: I'm using WLS6.1 (hopefully, version doesn't matter here)
              with three instances clustered. Each instance provides all Services:
              Servlets / JSPs/ EJBs / Database communication... I'm using the Basic
              configuration described on the BEA documentation....
              Now, I want to move forward to a Multi-tier configuration, where the first
              layer will serve Servlets and JSPs and the second layer will serve EJBs.
              The problem: On the first scenario, I was looking EJBs with the Default
              InitialContext() constructor without the environment, since everybody was on
              the same JVM...
              What do I have to do, so my Servlets start looking for EJBs on the second
              cluster now? Do I have to re-write every single lookup? Can I use a
              jndi.properties file on the first layer - on the presentation tier?
              Thanks in Advance,
              Marcelo.
              

              Thanks Patrick!
              But my actual problem starts here. The Servlets aren't mine. We have to support
              applications which run atop our product(which is a bunch of beans+RMI Objects
              running on the top of WLS) in a backward compatible way with a standalone.
              Will try and make a post if I can find a 'configurable' way out.
              Harish
              Robert Patrick <[email protected]> wrote:
              >Put the other server's PROVIDER_URL in a system property, property file,
              >whatever and
              >have the servlets explicitly use it when creating the InitialContext
              >to talk with the
              >other server...
              >
              >Harish Vajha wrote:
              >
              >> Hi Cameron,
              >>
              >> A -Djava.naming.provider.url nor jndi.properties would work. The problem
              >is like
              >> this:
              >> Say I have two WL servers hosting just EJBs: E1, E2. And I have a single
              >WL Server
              >> hosting just servlets: S1. Now I give the -Djava.naming.provider.url=E1(using
              >> http or t3) (or I provide the same thing using my own jndi.properties).
              >>
              >> The problem with this setup is that while starting up, the Server will
              >try binding
              >> every object(including the System bindings like wl.transaction.TransactionManager,
              >> wl.common.T3Services) to the other NS (in this case E1's naming service)
              >which
              >> is bound to fail, as they're already bound in that Server.
              >>
              >> The solution has to be a way to specify the java.naming.provider.url
              >only for
              >> the servlets (or the web app).
              >>
              >> Any ideas on how to provide a Webapp specific lookup address?
              >>
              >> Marcelo, if you've found a way out to separate, pl. make a post.. Thanks!
              >>
              >> Harish
              >>
              >> "Cameron Purdy" <[email protected]> wrote:
              >> >Hi Marcelo,
              >> >
              >> >With Weblogic, your performance will typically decrease if you go
              >the
              >> >route
              >> >that you are describing.
              >> >
              >> >Yes, you can do jndi.properties, however I believe you will find it
              >inside
              >> >one of the WL jars.
              >> >
              >> >Note that you can use java -D instead to define some of the JNDI properties
              >> >to point to the other cluster, but I can't remember them off-hand.
              >> >
              >> >Peace,
              >> >
              >> >--
              >> >Cameron Purdy
              >> >Tangosol Inc.
              >> ><< Tangosol Server: How Weblogic applications are customized >>
              >> ><< Download now from http://www.tangosol.com/download.jsp >>
              >> >
              >> >
              >> >"Marcelo Caldas" <[email protected]> wrote in message
              >> >news:[email protected]...
              >> >> Ok,
              >> >> The scenario is: I'm using WLS6.1 (hopefully, version doesn't matter
              >> >here)
              >> >> with three instances clustered. Each instance provides all Services:
              >> >> Servlets / JSPs/ EJBs / Database communication... I'm using the
              >Basic
              >> >> configuration described on the BEA documentation....
              >> >>
              >> >> Now, I want to move forward to a Multi-tier configuration, where
              >the
              >> >first
              >> >> layer will serve Servlets and JSPs and the second layer will serve
              >> >EJBs.
              >> >>
              >> >> The problem: On the first scenario, I was looking EJBs with the
              >Default
              >> >> InitialContext() constructor without the environment, since everybody
              >> >was
              >> >on
              >> >> the same JVM...
              >> >> What do I have to do, so my Servlets start looking for EJBs on the
              >> >second
              >> >> cluster now? Do I have to re-write every single lookup? Can I use
              >a
              >> >> jndi.properties file on the first layer - on the presentation tier?
              >> >>
              >> >> Thanks in Advance,
              >> >> Marcelo.
              >> >>
              >> >>
              >> >
              >> >
              >
              

  • How can I list all the domains configured for Weblogic Servers?

    How can I list all the domains configured for Weblogic Servers?
    I saw a note, which says the following:
    "WebLogic Server does not support multi-domain interaction using either the Administration Console, the weblogic.Admin utility, or WebLogic Ant tasks. This restriction does not, however, explicitly preclude a user written Java application from accessing multiple domains simultaneously."
    In my case, I just want to list all the domains, is that possible by using any scripts?
    Thanks
    AJ

    If you use WLS Node Manager and the Config Wizard was used to create the domains, then the list of domains should be in a location like this:
    <MIDDLEWARE_HOME>\wlserver_10.3\common\nodemanager\nodemanager.domains
    Enterprise Manager Grid Control also has support for multi-domain management of WLS in a console.

  • JMS Queue configuration on WLS

    Dear Experts,
    I have a "Forward Delay" configuration for queues on WLS. I need to change it. What other configuration do I choose? What are the advantages and disadvantages of the configuration you are suggesting compared to "Forward Delay" ? And sorry for the last question can I find the documentation on web ?
    Thanks,
    Mike
    Edited by: Mike.Di on 13-ott-2010 6.54

    Hello Mike,
    what I should looking for in logs?You may find text like "Managed server mngd_server_name has been suspended or shutdown" or "Removing mngd_server_name+id from cluster view due to timeout" or "Adding <mngd_server_name> with ID <ID> to cluster: <cluster_name> view". If you see these log occurences frequently in the servers logs in spite of particular managed server being up and running, then it may be an issue. Oracle Support may analyze your environment and settings in a better way and hence they may provide better support for your issue.
    http://download.oracle.com/docs/cd/E14571_01/web.1111/e13738/best_practice.htm#CACJCGHG
    Pete,
    if you have a single OSB proxy service, and you specifiy the JNDI name of the distributed queue and not the specific member destination, you will get consumers on a single member of the distributed destination only.Perhaps you and me have different experience. I have worked with OSB versions 10.3, 10.3.1 and 11.1.1.3.0 but I never saw such issue. Even we read messages from distrbuted destinations lying on same JVM as well as on different JVM but each time I had consumers on all physical queues.
    Yes, suppose if one server goes down in the cluster then all the consumers of the physical queue which is deployed on that server, will get pinned to other physical queues and even after sometime if that server comse up again, no consumers will automatically get attached to the new member. For newly added member to have consumers on it, either client application has to be redeployed or server restart is necessary.
    In another scenario, where client application gets deployed first and then the weblogic servers are started, definitely all the consumers will get attached to one physical queue.
    Most important part is connection factory configuration. Server Affinity should remain disabled and load balancing should be enabled for proper distrbution of consumers and producers. If you enable the server affinity in the connection factory then also proper distribution may not happen and consumers/producers may get attached to one physical queue.
    So there are different cases and different configurations when problem may be same but reason would be different, so to find out the exact reason we have to check for all the possible causes.
    Regards,
    Anuj
    Edited by: Anuj Dwivedi on Oct 14, 2010 6:38 PM
    Edited by: Anuj Dwivedi on Oct 14, 2010 6:41 PM

  • Authentication problem by external ldap server for WLS 7.0

    Hi all,
    I have configured iPlanet directory Server to serve as authentication security
    provider for WLS 7.0.While doing so I have created a Test security realm and made
    it as default.I have also configured the other default settings for the remaining
    security providers for the realm.
    Now, while I start the WLS with the default username and password, boot-error
    comes as given below. As a matter of fact I have also created groups with relevant
    username and pwd in the ldap server as specified bu the Bea documentation.
    I have tried to remove the problem since last 4 days but all in fiasco.
    If anybody has any pointer to the problem - it will be a great help.
    The error :
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http://[hostname]:[port]/console *
    D:\bea\weblogic700\samples\server\config\petstore>"D:\bea\jdk131_03\bin\java"
    -h
    otspot -Xms32m -Xmx200m -Dpet.mode= - Dweblogic.management.discover=false -Dweblo
    gic.Name=petstoreServer -Dbea.home="D:\bea" -Dweblogic.management.username=weblo
    gic -Dweblogic.management.password=weblogic -Dweblogic.ProductionModeEnabled=tru
    e -Djava.security.manager -Djava.security.policy=="D:\bea\weblogic700\server\lib
    \weblogic.policy" weblogic.Server
    Starting WebLogic Server...
    <Nov 19, 2002 10:08:04 AM IST> <Notice> <Management> <140005> <Loading configura
    tion D:\bea\weblogic700\samples\server\config\petstore\.\config.xml>
    <Nov 19, 2002 10:08:21 AM IST> <Notice> <Security> <090082> <Security initializi
    ng using realm RitTestRealm.>
    <Nov 19, 2002 10:08:22 AM IST> <Critical> <WebLogicServer> <000364> <Server fail
    ed during initialization. Exception:java.lang.SecurityException: User weblogic
    i
    s not permitted to boot the server
    java.lang.SecurityException: User weblogic is not permitted to boot the server
    at weblogic.security.service.SecurityServiceManager.doBootAuthorization(
    SecurityServiceManager.java:1076)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityS
    erviceManager.java:1116)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:703)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:588)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:276)
    at weblogic.Server.main(Server.java:31)
    >
    Regards,
    Ritwik

    Thanks Vijay - it has worked by creating the Administrator group in LDAP but Weblogic
    documentation also states the creation of any group in Ldap server with the boot
    username and pwd and then adding the group in the admin role of WLS7.0 - but this
    did not work.
    If there is any info regarding the same - pl. do let me know
    Regards,
    Ritwik
    "Vijay" <[email protected]> wrote:
    >
    Ritwik,
    I think WebLogic 7 requires a group called "Administrators" in the LDAP
    server
    and requires an user to be added to that group. I have this working in
    one of
    my projects. The group really doesnt need to be an LDAP administrative
    group.
    Can you provide any additional information. I might be able to help since
    I got
    this working only a coupla days back.
    Vijay
    "Ritwik Batabyal" <[email protected]> wrote:
    Hi all,
    I have configured iPlanet directory Server to serve as authentication
    security
    provider for WLS 7.0.While doing so I have created a Test security realm
    and made
    it as default.I have also configured the other default settings forthe
    remaining
    security providers for the realm.
    Now, while I start the WLS with the default username and password, boot-error
    comes as given below. As a matter of fact I have also created groups
    with relevant
    username and pwd in the ldap server as specified bu the Bea documentation.
    I have tried to remove the problem since last 4 days but all in fiasco.
    If anybody has any pointer to the problem - it will be a great help.
    The error :
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http://[hostname]:[port]/console *
    D:\bea\weblogic700\samples\server\config\petstore>"D:\bea\jdk131_03\bin\java"
    -h
    otspot -Xms32m -Xmx200m -Dpet.mode= - Dweblogic.management.discover=false
    -Dweblo
    gic.Name=petstoreServer -Dbea.home="D:\bea" -Dweblogic.management.username=weblo
    gic -Dweblogic.management.password=weblogic -Dweblogic.ProductionModeEnabled=tru
    e -Djava.security.manager -Djava.security.policy=="D:\bea\weblogic700\server\lib
    \weblogic.policy" weblogic.Server
    Starting WebLogic Server...
    <Nov 19, 2002 10:08:04 AM IST> <Notice> <Management> <140005> <Loading
    configura
    tion D:\bea\weblogic700\samples\server\config\petstore\.\config.xml>
    <Nov 19, 2002 10:08:21 AM IST> <Notice> <Security> <090082> <Security
    initializi
    ng using realm RitTestRealm.>
    <Nov 19, 2002 10:08:22 AM IST> <Critical> <WebLogicServer> <000364><Server
    fail
    ed during initialization. Exception:java.lang.SecurityException: User
    weblogic
    i
    s not permitted to boot the server
    java.lang.SecurityException: User weblogic is not permitted to bootthe
    server
    at weblogic.security.service.SecurityServiceManager.doBootAuthorization(
    SecurityServiceManager.java:1076)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityS
    erviceManager.java:1116)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:703)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:588)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:276)
    at weblogic.Server.main(Server.java:31)
    >
    Regards,
    Ritwik

  • Durable subscriber configured for the topic - reconnect policy

    Hi,
    we have Durable subscriber configured for the topic. When ever the managed server associated with the Topic is restarted, we have to restart subscriber to receive the messages again.
    we did tried using the reconnect policy to all , still we have same issue, could you please provide your suggestions.
    Susbcriber is not throwing the connect exception as well,when ever the managed server goes down also.
    thanks
    ARun

    I would suggest, if you have done so, that you set an Exception listener on the connection, or on the session using WLS extension interface, so that your client will get Exception on server failure and refresh the JMS objects (connection/session/subscriber).

  • SAP DMS - How to do an external DMS configuration for the existing system ?

    Hi All.
    Greetings.
    Request help and understanding.
    Am new to the world of SAP. And request SOME clarity for understanding of DMS.
    We are wanting to put an external DMS server and wish to configure for the same.
    So that the load on the production SAP R/3 database is reduced.
    We are now wanting to test the same on Dev environment.
    From SDN Link :
    I understand that :
    DMS basically has a content server. which stores documents.
    That can be accessed through Web, SAP R/3 Gui , SAP Portal.
    I have gone thro various links and the following links i have found to be informative and helpful :
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/c1/1c31a243c711d1893e0000e8323c4f/frameset.htm
    http://wiki.sdn.sap.com/wiki/display/PLM/DMS+Customizing
    http://help.sap.com/saphelp_nw70/helpdata/en/59/fba637fcf7dc39e10000009b38f8cf/frameset.htm
    However, would like to know the following because am not getting the clarity :
    1) Is there any supported platform / compatibility guide for DMS ?
    if yes, can someone send me the link?
    2) We have oracle 11g as our for SAP R/3 backend.
    Windows 2003 server 64 bit system.
    When i check the system status on the dev server of sap.
    It says. ECC 6.0 Rel 7.00 update 20 (hOpe am reading it correctly)
    After much search on the SMP site,
    we finally discovered and downloaded the DMS software for unicode and / 64 bit.
    Which we saw under the maintenance components separately seen for DMS 7.0
    Now for this DMS content server which we would like to make it external for storage of documents -
    do we need to have a separate database for this purpose as a repository.
    If i run a setup of DMS - will that automatically install any default repository for this or
    will it allow me to choose any other repository for the same ?
    Can anyone advise on this.
    Because this link says content server is based on Instance of MAXDB : http://help.sap.com/saphelp_nw70/helpdata/en/59/fba637fcf7dc39e10000009b38f8cf/frameset.htm
    3) I read some thing like this on some of the SDN links :
    P40 - Integration of DMS
    P62 - R&D Document Manage¬ment and Workflow
    P71 - Document management
    What are they referring to.
    4) We would be accessing these thro web, gui, customised portal.
    This content server configuration is a bit confusing.
    5) Is SNC configuration required to be done for the separate DMS server setup.
    If yes, how to do that ? any configuration link for that please ?
    Can anyone advise on the things to do.
    Steps to do.
    What all are the pre-requisites to check, before we start the set up of DMS.
    Can anyone help me understand this whole thing regarding the DMS installation and configuration.
    Step-wise.. from the start to end.
    Because it gives me a lot of uneasiness without having everything in place before we could say we could start the whole process of configuration / installation.
    Many thanks for your help in advance.
    Wishing you a happy and relaxed weekend.
    Kind regards
    Indu

    Thanks christoph & pradeep kumar.
    did a few more research and atleast have come to understand that.
    DMS server installation has content server which works only with MAXDB.
    So my understanding is correct.
    And what we see as Easy DMS is a client installation.
    which probably i would look at at a later stage.
    Found this link to be a little more informative :
    http://www.sapfans.com/forums/viewtopic.php?f=12&t=330558
    I really wish. That life were to be so easy. To call a consultant and finish it off
    Wishful thinking
    thanks and cheers
    indu

  • How to have Multiple Configurations for a Flex Application

    Hi All,
    I've seen this question asked in various forms multiple times, but never answered: How do you set up a FLEX configuration to have different configurations for development (local), test server, staging server, beta server, and production server? I cannot imagine that Adobe has not accounted for this, something that is very standard in most development teams. Zend Framework has a very elegant solution for this: in the configuration file you define all aspects that can be configured, as well as the various environments (development, staging, beta, live, etc.). Then, in the bootstrap file you specify which environment you want to work in, and you're all set.
    How can something like this be achieved in FLEX?
    Many thanks!
    -Mike

    Maybe my setup is unconventional, I doubt it, though:
    1) SVN repo stores FLEX and PHP codebases in separate projects.
    2) Developer gets code from repo, and runs on local machine. -> need to configure FLEX to point to local PHP code here for Remote Objects.
    3) Developer then publishes Flex app to staging server. -> need to configure FLEX to point to staging PHP code here.
    4) Flex app then gets published to live server. -> need to configure FLEX to point to live PHP code here.
    Now, using ANT, the scenario would look like this:
    1) SVN repo stores FLEX and PHP codebases in separate projects.
    2) Developer gets code from repo, and runs on local machine. -> need to configure FLEX to point to local PHP code here for Remote Objects.
    3) Code is good and developer checks it back into SVN.
    4) ANT extracts latest build from SVN and builds it, then publishes to staging server. -> need to configure FLEX to point to staging PHP code.
    I am using PHPUnderControl as my build server for PHP.
    I am also unclear as to how my goal could be achieved using ANT?
    Thanks!
    Mike

  • ASA 5505 configured for WebVPN connecting to Citrix Web Interface

    ASA 5505 configured for WebVPN connecting to Citrix Web Interface.
    i have a ASA 5505 that I am attempting to configure for WebVPN with passthrough into Web Interface .  The user authenticates into WebVPN OK and gets the option to click on the Citrix Link (which is i add bookmark  citrix server http:// 172.30.40.5.) i enter the citrix and then for example  i want to open to outlook it can not open. (when i want to open some application no application is open)).there is no alarm at asa. how i solve this issue?
    thanks.

    Teymur,
    Can you confim that after disabling the ssl/tls on the Citrix server (secure connectivity) that you are getting exactly the same error.  It is possible that it is generating a different error.
    The bug where we have see the existing error was CSCtf06303 but that has been fixed in 8.4.1.  Can you confirm the exact version of code you are running on the ASA.
    If you have confirmed the above two notes it may be adventageous to open a TAC case as we may need to do some live additional troubleshooting.
    Thanks
    -Jay

  • Financial Reporting Studio 11.1.2.1 PDF not Configured for Web Server

    I have installed EPM 11.1.2.1, and HFM, Planning, Essbase, Financial Reporting are all working fine except when I do a report preview in the Workspace an error is received that PDF has not been configured for this Web Server.
    I have uninstalled PDF and Financial Reporting then re-installed them but I am still getting the same error. Also, I when I tried to view report from Workspace in Financial Reporting Studio, I received the following error:
    error number 400 Error Description:Form already displayed; can't show modally. Function: ShowMsg. Module:GblMethods.
    Your help would be gracefully appreciated.

    You should review all installation guides, readmes, and the certification matrix before performing a Hyperion Installation and/or Upgrade.
    Version 9.0 of Ghostscript is not supported, install ghostscript 8.6.3 - 32-bit.
    From the 11.1.2.1 Certification Matrix: "Either: --Adobe Acrobat Distiller Server 8.0 or 6.0 --GPL Ghostscript 8.63; AFPL Ghostscript 8.54 or 8.51; or GNU Ghostscript 7.0.6"     
    From the 11.1.2.1 Installation Guide Page 110: "Ensure that a supported 32-bit version of Ghostscript is installed."
    See http://www.oracle.com/technetwork/middleware/bi-foundation/oracle-hyperion-epm-system-certific-131801.xls
    http://download.oracle.com/docs/cd/E17236_01/epm.1112/epm_install_11121.pdf
    Regards,
    John A. Booth
    http://www.metavero.com

  • Want to use an iPod photo configurated for Mac on a PC

    I want to use my old iPod photo (configurated for Mac) on a PC (but do not need to keep my songs and photos). Is this possible? If so, what do I do?
    iMac G5   Mac OS X (10.4.8)   iPod 5th generation 60 GB

    If your iPod is formatted for Mac it won't run natively on a PC because the Windows OS does not support the HFS Plus file system and therefore will not see the drive. Macs can read Windows drives so you could restore and format the iPod on a PC, this would also mean any future software updates would have to be done on Windows. This will erase your drive so you need to have your songs and photos backed up. Alternatively there are third party programs that will allow you to use a Mac formatted iPod on Windows, this is one for instance gets good reviews and has the functionality to let you copy content from the iPod to the PC. Not sure if it does photos but have a look: XPlay 2
    You can read another user's experience of using XPlay at this link: iPod on Mac and Windows

  • SAP IDES ECC 6.0 configuration for ess/mss

    Hi,
    Iam new to sap . i want to practice various scenarios in ess/mss in my own pc which  is installed with ecc 6.0 . what are the configuration to be made in ecc 6.0 for maintaining about 10-20 users for  using ess/mss scenarios. i have a knowledge on webdynpro java and little knowledge on ep and using r/3 server. The 10-20  users created should be able to use ess/mss through portal .
    So, list the steps configuring for 10-20 users for using ess/mss in ecc ides 6.0 server.
    Thanks & regard
    prasad

    << Do not post the same question across a number of forums >>

  • Is it possible to run TWO parellel configurations for one Object??

    SAP Gurus,
    We have a strange requirement from the client to have to configurations established in the system for one configuration object.
    Without taking much of your time let me paraphrase the requirements.
    The client is having two different types of putaway strategies in their current business process. And they toggle between these putaway strategies by reaching out to their production support group and they make configuration changes to have the other put away strategy
    One Step Putaway: GR area --> High Rack Storage
    Two Step Putaway: GR area --> Interim storage (area at the end of each aisle of high rack storage) --> High Rack
    Client wants to have two parallel configurations for both of these put away strategies and needs an ability to switch from one to another. This switching ability should be accessed from SAP screen without any IT intervention (no configuration)
    -  Switching ability should allow the warehouse manager to change from one step to two step put away strategies without any IT intervention.
    -  Switching ability should be accessed my SAP Screen (Z-transaction or something with a radio button to toggle around)
    Is it possible to have two configuration made for Putaway Strategies and switch them on/off depending on the warehouse needs??
    Your invaluable feedback on this will be highly appreciated.
    Thanks again folks,
    Dhaval
    Edited by: Dhaval Joshi on Mar 4, 2008 12:09 PM

    Q1--I don't believe it is possible. An organization can have multiple licenses tied to its main email address, for example, but then they are assigned to the individual users.
    Q2--Yes, you would just need to log out of your account within the CC desktop app prior to logging in on the other account.
    If you have any questions, feel free to reach out.

  • How to get the number of decimal places configured for a site column

    Hi,
    I have a column 'SampleNumCol' of type Number, the number of decimal places to be displayed is configured as 2.
    The column conatins a value, but when retrieved programatically is displayed as 5.00000000  instead of 5.00.
    I am retrieving this column using listitem.Properties[field.InternalName].
    I need to trim the decimals based on  number of decimal places configured for the site column.
    How to get the number of decimal places configured for a site column?
    Thanks in advance,
    dhijit

    Get the field as SPFieldNumber and then check DisplayFormat which returns
    SPNumberFormatTypes
    SPFieldNumber numberField = list.Fields.GetFieldByInternalName("YourNumberFieldName") as SPFieldNumber;
    SPNumberFormatTypes numFormatType = numberField.DisplayFormat;

  • Getting SPWeb.CurrentUser as null with Windows Authentication (AD), when configured for Claims Authentication

    Hi All,
    We recently migrated to SP 2013 from SP 2010. We are using most of the OOB features, with a few custom code. We have implemented a custom ASP.NET Membership Provider that authenticates against a web service. This was working fine on SP 2010.
    The entire code base was migrated to SP 2013 (with .net fw 4.5, etc) and any issues Compile / Runtime were fixed. However, we are stuck at one bug, which seems to be occuring only while trying to login with Windows Authentication. When a user tries to login
    with Forms Authentication, the error is never noticed.
    Scenrio: Login as Windows Authentiction.
    Result: The user is signed into the system and is authenticated against the AD. For random page loads - it throws access denied (even though he is a site collection admin). While attaching a debugger, we found that, at times the SPWeb.CurrentUser is null (weird).
    At the same time, the HttpContext.Current.Request.IsAuthenticated returns true. Which means the User is Authenticated, but not available in the SPWeb.CurrentUser object. 
    Attached are couple of ULS Logs that we found. The line which says IsAuthenticated=True, UserIdentityName=, ClaimsCount=0 is a little disturbing. Can you please let me know what is happening here? I am not able to access the root site (http://win2012d2:1234/)
    however, i am able to access (http://win2012d2:1234/SitePages/Home.aspx) just fine, without any issues.
    Please note, this error is only when the user is logged into sharepoint as a windows user. The forms user faces no such issues.
    ULS Logs:
    Name=Request (GET:http://win2012d2:1234/)
    Non-OAuth request. IsAuthenticated=True, UserIdentityName=, ClaimsCount=0
    Application error when access /, Error=Exception of type 'System.ArgumentException' was thrown.  Parameter name: encodedValue  
     at Microsoft.SharePoint.Administration.Claims.SPClaimEncodingManager.DecodeClaimFromFormsSuffix(String encodedValue)    
     at Microsoft.SharePoint.Administration.Claims.SPClaimProviderManager.GetProviderUserKey(IClaimsIdentity claimsIdentity, String encodedIdentityClaimSuffix)    
     at Microsoft.SharePoint.Administration.Claims.SPClaimProviderManager.GetProviderUserKey(String encodedIdentityClaimSuffix)    
     at Microsoft.SharePoint.Utilities.SPUtility.GetFullUserKeyFromLoginName(String loginName)    
     at Microsoft.SharePoint.ApplicationRuntime.SPHeaderManager.AddIsapiHeaders(HttpContext context, String encodedUrl, NameValueCollection headers)    
     at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.PreRequestExecuteAppHandler(Object oSender, EventArgs ea)    
     at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()    
     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    Getting Error Message for Exception System.ArgumentException: Exception of type 'System.ArgumentException' was thrown.  Parameter name: encodedValue    
     at Microsoft.SharePoint.Administration.Claims.SPClaimEncodingManager.DecodeClaimFromFormsSuffix(String encodedValue)    
     at Microsoft.SharePoint.Administration.Claims.SPClaimProviderManager.GetProviderUserKey(IClaimsIdentity claimsIdentity, String encodedIdentityClaimSuffix)    
     at Microsoft.SharePoint.Administration.Claims.SPClaimProviderManager.GetProviderUserKey(String encodedIdentityClaimSuffix)    
     at Microsoft.SharePoint.Utilities.SPUtility.GetFullUserKeyFromLoginName(String loginName)    
     at Microsoft.SharePoint.ApplicationRuntime.SPHeaderManager.AddIsapiHeaders(HttpContext context, String encodedUrl, NameValueCollection headers)    
     at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.PreRequestExecuteAppHandler(Object oSender, EventArgs ea)    
     at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()    
     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    [Forced due to logging gap, Original Level: Verbose] Looking up {0} site {1} in the farm {2} 
    Unknown SPRequest error occurred. More information: 0x80070005
    SPRequest.GetPageListId: UserPrincipalName=, AppPrincipalName= ,bstrUrl=http://win2012d2:1234/
    System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)), StackTrace:   
     at Microsoft.SharePoint.SPContext.get_ListId()    
     at Microsoft.SharePoint.SPContext.get_List()    
     at Microsoft.SharePoint.WebControls.ScriptLink.InitJs_Register(Page page)    
     at Microsoft.SharePoint.WebControls.ScriptLink.RegisterForControl(Control ctrl, Page page, String name, Boolean localizable, Boolean defer, Boolean loadAfterUI, String language, Boolean injectNoDefer, Boolean controlRegistration, Boolean loadInlineLast,
    Boolean ignoreFileNotFound)    
     at Microsoft.SharePoint.WebControls.ScriptLink.Register(Control ctrl, Page page, String name, Boolean localizable, Boolean defer, Boolean loadAfterUI, String language, String uiVersion, String ctag)    
     at Microsoft.SharePoint.WebControls.ScriptLink.Register(String uiVersion, Control ctrl, Page page, String name, Boolean localizable, Boolean defer)    
     at Microsoft.SharePoint.WebControls.ScriptLink.Register(Control ctrl, Page page, String name, Boolean localizable, Boolean defer)    
     at Microsoft.SharePoint.WebControls.ScriptLink.GetOnDemandScriptKey(String strKey, String strFile, Boolean registerDependencies, Control ctrl, Page page)    
     at Microsoft.SharePoint.WebControls.ScriptLink.RegisterOnDemand(Control ctrl, Page page, String strKey, String strFile, Boolean localizable)    
     at Microsoft.SharePoint.WebControls.ScriptLink.RegisterOnDemand(Page page, String strFile, Boolean localizable)    
     at Microsoft.SharePoint.WebControls.ScriptLink.RegisterForControl(Control ctrl, Page page, String name, Boolean localizable, Boolean defer, Boolean loadAfterUI, String language, Boolean injectNoDefer, Boolean controlRegistration, Boolean loadInlineLast,
    Boolean ignoreFileNotFound)    
     at Microsoft.SharePoint.WebControls.ScriptLink.Register(Control ctrl, Page page, String name, Boolean localizable, Boolean defer, Boolean loadAfterUI, String language, String uiVersion, String ctag)    
     at Microsoft.SharePoint.WebControls.ScriptLink.RegisterOnDemand(Control ctrl, Page page, String strKey, String strFile, Boolean localizable)    
     at Microsoft.SharePoint.WebControls.ScriptLink.OnLoad(EventArgs e)    
     at System.Web.UI.Control.LoadRecursive()    
     at System.Web.UI.Control.LoadRecursive()    
     at System.Web.UI.Control.LoadRecursive()    
     at System.Web.UI.Control.LoadRecursive()    
     at System.Web.UI.Control.LoadRecursive()    
     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)    
     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)    
     at System.Web.UI.Page.ProcessRequest()    
     at System.Web.UI.Page.ProcessRequest(HttpContext context)    
     at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride)    
     at System.Web.HttpServerUtility.Execute(String path, TextWriter writer, Boolean preserveForm)    
     at System.Web.HttpServerUtility.Transfer(String path)    
     at Microsoft.SharePoint.Utilities.SPUtility.TransferToErrorPage(String message, String linkText, String linkUrl)    
     at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.ErrorHandler(HttpApplication app, Boolean errorIsOnErrorPage)    
     at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.ErrorAppHandler(Object oSender, EventArgs ea)    
     at System.EventHandler.Invoke(Object sender, EventArgs e)    
     at System.Web.HttpApplication.RaiseOnError()    
     at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)    
     at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)    
     at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)    
     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)    
     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)    
     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)    
     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)    
     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)    
     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
    SPRequest.OpenWeb: UserPrincipalName=, AppPrincipalName= ,bstrUrl=http://win2012d2:1234/
    System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)), StackTrace:   
     at Microsoft.SharePoint.SPWeb.InitWeb()    
     at Microsoft.SharePoint.SPWeb.get_WebTemplateConfiguration()    
     at Microsoft.SharePoint.WebControls.ScriptLink.InitJs_Register(Page page)    
     at Microsoft.SharePoint.WebControls.ScriptLink.RegisterForControl(Control ctrl, Page page, String name, Boolean localizable, Boolean defer, Boolean loadAfterUI, String language, Boolean injectNoDefer, Boolean controlRegistration, Boolean loadInlineLast,
    Boolean ignoreFileNotFound)    
     at Microsoft.SharePoint.WebControls.ScriptLink.Register(Control ctrl, Page page, String name, Boolean localizable, Boolean defer, Boolean loadAfterUI, String language, String uiVersion, String ctag)    
     at Microsoft.SharePoint.WebControls.ScriptLink.Register(String uiVersion, Control ctrl, Page page, String name, Boolean localizable, Boolean defer)    
     at Microsoft.SharePoint.WebControls.ScriptLink.Register(Control ctrl, Page page, String name, Boolean localizable, Boolean defer)    
     at Microsoft.SharePoint.WebControls.ScriptLink.GetOnDemandScriptKey(String strKey, String strFile, Boolean registerDependencies, Control ctrl, Page page)    
     at Microsoft.SharePoint.WebControls.ScriptLink.RegisterOnDemand(Control ctrl, Page page, String strKey, String strFile, Boolean localizable)    
     at Microsoft.SharePoint.WebControls.ScriptLink.RegisterOnDemand(Page page, String strFile, Boolean localizable)    
     at Microsoft.SharePoint.WebControls.ScriptLink.RegisterForControl(Control ctrl, Page page, String name, Boolean localizable, Boolean defer, Boolean loadAfterUI, String language, Boolean injectNoDefer, Boolean controlRegistration, Boolean loadInlineLast,
    Boolean ignoreFileNotFound)    
     at Microsoft.SharePoint.WebControls.ScriptLink.Register(Control ctrl, Page page, String name, Boolean localizable, Boolean defer, Boolean loadAfterUI, String language, String uiVersion, String ctag)    
     at Microsoft.SharePoint.WebControls.ScriptLink.RegisterOnDemand(Control ctrl, Page page, String strKey, String strFile, Boolean localizable)    
     at Microsoft.SharePoint.WebControls.ScriptLink.OnLoad(EventArgs e)    
     at System.Web.UI.Control.LoadRecursive()    
     at System.Web.UI.Control.LoadRecursive()    
     at System.Web.UI.Control.LoadRecursive()    
     at System.Web.UI.Control.LoadRecursive()    
     at System.Web.UI.Control.LoadRecursive()    
     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)    
     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)    
     at System.Web.UI.Page.ProcessRequest()    
     at System.Web.UI.Page.ProcessRequest(HttpContext context)    
     at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride)    
     at System.Web.HttpServerUtility.Execute(String path, TextWriter writer, Boolean preserveForm)    
     at System.Web.HttpServerUtility.Transfer(String path)    
     at Microsoft.SharePoint.Utilities.SPUtility.TransferToErrorPage(String message, String linkText, String linkUrl)    
     at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.ErrorHandler(HttpApplication app, Boolean errorIsOnErrorPage)    
     at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.ErrorAppHandler(Object oSender, EventArgs ea)    
     at System.EventHandler.Invoke(Object sender, EventArgs e)    
     at System.Web.HttpApplication.RaiseOnError()    
     at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)    
     at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)    
     at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)    
     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)    
     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)    
     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)    
     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)    
     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)    
     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)

    Hi Mohamed,
    According to your description, my understanding is that the error occurred when users login with Windows Authentication.
    From the error message, I recommend to check if the anonymous access is enabled for the web application.
    And please also make sure that the users all are available and have permission to access the site.
    Here is a similar thread for you to take a look:
    http://social.technet.microsoft.com/Forums/en-US/28623bdc-a2f0-4876-9be4-9a764f106366/getting-spwebcurrentuser-as-null-with-windows-authentication-ad-when-configured-for-claims?forum=sharepointdevelopment
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

Maybe you are looking for

  • HT4241 HDMI hooked in, picture great, but no sound?

    I have an hdmi cable hooked up from my mac to the tv. I can get picture but I cannot get sound. Can someone tell me if there is a setting I need to change and where is it?

  • BAPI for F-04

    Hi, My requirement is to upload open items from FBL3N  to F-04 transaction. I found lot of Bapis for F-04, but no Bapi is meeting my requirement, any help please. Thanks, Donald.

  • Indesign CC9.2.2 unusable on Macbook Pro Retina

    Hi there I was wondering if any people happen to get extremely poor usage with Indesign on Macbook Pro Retina. I have the 2011 version with 2,6Ghz Intel Core i7 with 8GB ram. I can use Photoshop, Illustrator and even After Effects simultaneously with

  • The added Apple dictionary iOS 7 not working!

    Hi everyone, when I added different dictionaries in manage to define words, all the dictionaries work except the Apple dictionary. So what is wrong? I did the same thing on my iPad 4, apple dictiontionary doesn't work there either. Your help would be

  • Update Date types based on actions

    Hi Gurus, I have a requirement to update date types within a date profile based on a certain action condition. I have 3 date types: Downtime Start Downtime End Total Downtime Duration The priorities in my transaction have, x, y, z for example and x i