General Approach to Web Application...

Flex is nice. I like it. Build a whole website in Flex and
pull information from XML or ColdFusion. Make calls without leaving
the page. Nice.
But...
From a user point of view, it is nice to be able to send an
URL to a friend for them to click on to get to a particular "page"
within a Flex-app. Can that even be done in Flex without starting
from the homepage?
Or an even simpler thing. How about creating a link from one
"page" to another "page" within a flex app. Can that be done? I'll
give you a more descriptive example if you don't know what I mean.
Let's say you are nytimes.com and you have lots of articles, and
one arbitrary article/record mentions Adobe. It is custom to link
to Adobe's stock quotes from within an article. In html, that would
be pretty simple to achieve. How does Flex do it?
Those are two simple examples that are easy to achieve in
html which connects the www. Search-robots requires links, but I
don't know about robots going through flash-files.
What kind of work-arounds or approaches or measurements
should I take to build flex-applications that can deal with
every-day internet tasks. To always start at a home-page is not
very cool. It is as annoying as describing to people how to click
their way through a website with framesets.
Please feel free to give me any of your input,
///johan

You have a lot of options. I'll try to answer your questions
in the order you've asked them.
Flex has a history mechanism (the History Manager) associated
with the Flex navigation containers: Accordion, TabNavigator,
ViewStack, etc. If you use those controls to move from section to
section of your application, you can grab the URL in the address
bar and you should be able to give someone that URL.
However, you have to make sure your application does all of
its initialization before jumping to a particular section. For
example, if your application requires data to be loaded first,
you'll need to do that before anyone can access other parts of the
Flex application. Most people use Flex to write applications and
not just web sites that can be done in HTML. Note that we saw "Flex
application" and not "Flex site". So that's something to consider.
The navigators (eg, ViewStack) are commonly used to give the
application "pages". The ViewStack, for example, only shows one of
its children at a time. By changing the ViewStack's selectedIndex
you change the children. You need to set up a Button or LinkButton
control (or anything else you can imagine) whose event handler
changes the ViewStack's selectedIndex.
The Flash Player can only display a handful of HTML tags.
Check the Flex 2 documentation for the specifics. But the
bottom-line is that you won't normally be able to include an
article from another web site in the middle of the Flex
application.
The Flash Player 9 has the ability to include special
metadata that search engines are supposed to know how to extract.
Again, consult the documentation.
I think if you go through the tutorials and examples, as well
as experiment on your own, you should get a better feel for what
Flex is all about.

Similar Messages

  • The best/clean/free approach to moving SharePoint Web Application between environments?

    Hello Forum,
    I have an environment e.g. (Environment1) Web Application that contains 90 site collections (Including: Lists, Libraries, Workflows, and custom solutions), and its URL is (http://Dept.Company.com/)
    I must move this entire Web Application from the source: Environment1 to the destination: Environment2.
    What is the best and safest way to accomplish that without using any commercial migration third party tools ?
    What I have in mind right now is as below:
    Obviously, I cannot backup and restore all these 90 site collections back and forth between the source: Environment1 to the destination: Environment2. This is very impractical and inefficient.
    I thought about Web Application backup, e.g.
    Backup-SPFarm -Directory <BackupFolder> -BackupMethod {Full | Differential} -Item <WebApplicationName> [-Verbose]
    Restore-SPFarm -Directory <BackupFolderName> -RestoreMethod Overwrite -Item  <WebApplicationName> [-BackupId <GUID>] [-Verbose]
    But, I am not sure if it the way to go or not? I am a bit concerned about GUID and running into unlimited problems. What do you think?
    In case if I followed the: Backup/Restore-SPFarm, Should I create a Web Application in the destination: Environment2 and the URL must be 100% identical to the source: Environment1?
    Well, I would love to hear your thoughts about the best practices and recommendation considering my scenario.

    Hi mate, firstly you could use the method you mentioned, In any method if there is code using GUID references instead of by Name you will run into problems and hence you should do a full prior investigation and analysis to find out any custom code dependant
    on GUIDS and custom solutions required etc, I would personally just take a SQL backup of the content DBs for the web application or dettach them and move them to the new source sql server(if any), create a new web-application in Env2, create the respective
    managed paths, install all custom solutions that need to be installed against this web-application in the new farm, go to manage content dbs and here add the existing content dbs(the backed up ones), make one of them or the only one(if there is only one) default
    and remove the empty current default content DB. URL is on the IIS end, so you can rebind the existing URL to the new web-front-ends however the load-balancer(if any) or HOST A entries need to now point to the new web-front-ends. If you use https or using
    SSL you need to get the cert re-issued for the new servers and load them on the IIS and use them for URL binding. To test no you do not need the same URL, however you will need to add the new path(e.g.
    http://server2:81 to the alternate access mappings for the new web-application), then lets say if you have a site called Site1 you can try after migration doing
    http://server2:81/Site1. I would highly recommend doing a trial migration with backedup content DBs in Env2 and go through the findings and document them for the actual one, the thing to look for are the custom solutions
    and custom code etc and getting the ssl certificates sorted for the new WFEs, if the same URL is not needed, i.e. the new ENV2 is only for UAT or testing then you don't need to use the same URL, however once again if code has hardcoded it somewhere you will
    need to analyse that and fix it before or after migration. So there are some pre and post steps involved. Hope that helps. thanks.

  • Problem with ClassCastException in web application

    Hello,
              I'm trying to deploy a web application in WLS 5.1 and I'm getting the
              "dreaded" ClassCastException every time when JSP tries to read a bean
              from the request or session. Under my architecture (actually it's just
              the regular "model 2" ) bean is populated by a servlet, set on the
              request and then retrieved by JSP (servlet forwards to JSP). Everything
              work fine when I register servlets in weblogic.properties, but
              ClassCastException is thrown on any attempt to read from the request if
              the same JSPs and servlets are deployed as web application.
              Has anybody come across the same problem?
              Thanks in advance for help.
              Alexander
              

    Hello,
              This is all well and good as a temporary bug, but it's totally unrealistic for
              the future. Two points:
              * The ClassLoader doesn't need to be discarded, it just needs to be cleared.
              * Other servlet engines seem to be able to handle this.
              Hope it's on its way to resolution!
              TDoan wrote:
              > Alexander:
              >
              > I had some problem with ClassCastException, and recently I found out what it
              > was that causing it. I'm sure if this is the same problem you are having,
              > but please read the following paragraph.
              >
              > I cutted this from http://www.weblogic.com/docs51/classdocs/API_servlet.html
              > ClassCastException and HTTP Sessions
              >
              > You might encounter a ClassCastException while developing servlets that use
              > HTTP sessions. This could happen as a result of the following set of events:
              >
              > a.. You store a reference to a custom class, myFoo, in an HTTP session.
              >
              > b.. While in mid-session, you change your servlet (or JSP or JHTML),
              > causing it to be reloaded. In fact, it is necessary for it to be reloaded by
              > a completely new class loader, and the old class loader that had previously
              > loaded it must be discarded.
              >
              > c.. Because your custom class myFoo is also located under the servlet
              > classpath, it too is reloaded by the new class loader.
              >
              > d.. Now, when you retrieve myFoo from the HTTP session, you cast it to the
              > expected type, but you recieve a ClassCastException. The exception is thrown
              > even if class myFoo has not changed. Because it has been loaded by a
              > different class loader, it is regarded by the JVM as incompatible.
              > Note: If you are using session persistence, the class contents must be
              > serialized, and you will not encounter this exception.
              >
              > Here are some suggested work-arounds to this problem:
              >
              > a.. Do not place your class myFoo in the servlet classpath. Instead, place
              > it in the system classpath or the weblogic.class.path, which are accessible
              > by WebLogic Server. The class will not be reloaded when the servlet is
              > modified. This drawback to this solution is that you cannot prototype the
              > myFoo class, because you must restart the server in order to reload the
              > class after it is modified.
              >
              > b.. If you need to prototype the class, you can write a wrapper method
              > within it to store and retrieve its contents to and from the session. You do
              > not access the class directly from the session, but instead call it is
              > wrapper methods to store or populate it is contents from the session. As
              > long as you use standard Java class types to store the class contents, they
              > will not be reloaded when the servlet is reloaded. This approach has
              > performance drawbacks because your wrapper methods would need to set or get
              > multiple name=value pairs for each class's attributes.
              >
              > c.. Another work-around is to catch the ClassCastException, and replace
              > the old class that is stored in the session with a newly instantiated class,
              > or remove it from the session. Unfortunately, you lose the session data that
              > was previously stored in the class, so you must write your application to
              > handle this scenario. This is the easiest solution to the problem-remember
              > that you should not be storing critical information in an HTTP session, but
              > rather storing it in a database.
              > Note: The ClassCastException generally occurs while you are developing
              > your servlets, and should not be an issue in a stable production system. If
              > you are upgrading your system online, you might wish to warn your customer
              > base.
              >
              > Hope it helps,
              > Tin
              >
              > "Alexander Ananiev" <[email protected]> wrote in message
              > news:[email protected]...
              > > Hello,
              > >
              > > I'm trying to deploy a web application in WLS 5.1 and I'm getting the
              > > "dreaded" ClassCastException every time when JSP tries to read a bean
              > > from the request or session. Under my architecture (actually it's just
              > > the regular "model 2" ) bean is populated by a servlet, set on the
              > > request and then retrieved by JSP (servlet forwards to JSP). Everything
              > > work fine when I register servlets in weblogic.properties, but
              > > ClassCastException is thrown on any attempt to read from the request if
              > > the same JSPs and servlets are deployed as web application.
              > > Has anybody come across the same problem?
              > >
              > > Thanks in advance for help.
              > > Alexander
              > >
              

  • Backup/Recovery from web application

    Hello guys,
    I am using Oracle 9i as DB and Oracle 9iAS for web application server. I want to provide Backup and Recovery functionality to the user via web. I don't know any thing in this regard.
    Is it possible that we can take backup and recovery from web application?
    Is there any alternative for this function.
    any other comments will be appreciated.
    Thank you,
    Jawed Nazar Ali

    Read this article in order to get an idea about Java Stored Procedures.
    Oracle Developer JAVA STORED PROCEDURES
    Simplify with Java Stored Procedures
    By Kuassi Mensah
    Use Java stored procedures to bridge SQL, XML, Java, and J2EE and Web Services.
    Stored procedures allow a clean separation of persistence logic that runs in the database tier from business logic that runs in the middle tier. This separation reduces overall application complexity and increases reuse, security, performance, and scalability.
    A major obstacle, however, for widespread adoption of stored procedures is the set of various proprietary, database-dependent implementation languages that different database vendors use. The use of Java-based stored procedures fixes this concern. Oracle has implemented ANSI standards that specify the ability to invoke static Java methods from SQL as procedures or functions. This implementation is called simply "Java stored procedures."
    In this article, you will learn how Java stored procedures help simplify and increase the performance of your business logic and extend database functionality. I'll show how Oracle enables the use of Java stored procedures within the database. I'll also look at how Java stored procedures access data, and show how to create a basic Java stored procedure.
    PL/SQL or Java
    When you think of Oracle stored procedures, you probably think of PL/SQL. Oracle, however, has provided Java support in the database since Oracle8i, to offer an open and portable alternative to PL/SQL for stored procedures. I can hear the $64,000 question: "How do I choose between PL/SQL and Java? Should I forget all the things I've been told about PL/SQL and move on to the greener Java pastures?"
    Both languages are suitable for database programming, and each has its strengths and weaknesses. In deciding which language to use, here's a general rule of thumb:
    Use PL/SQL for database-centric logic that requires seamless integration with SQL and therefore complete access to database objects, types, and features.
    Use Java as an open alternative to PL/SQL for database independence, but also for integrating and bridging the worlds of SQL, XML, J2EE, and Web services.
    OracleJVM Lets You Run Java within the Database
    Since Oracle8i, Release 1 (Oracle 8.1.5), Oracle has offered a tightly integrated Java virtual machine (JVM) that supports Oracle's database session architecture. Any database session may activate a virtually dedicated JVM during the first Java code invocation; subsequent users then benefit from this already Java-enabled session. In reality, all sessions share the same JVM code and statics—only private states are kept and garbage collected in an individual session space, to provide Java sessions the same session isolation and data integrity capabilities as SQL operations. There is no need for a separate Java-enabled process for data integrity. This session-based architecture provides a small memory footprint and gives OracleJVM the same linear SMP scalability as the Oracle database.
    Creating Java Stored Procedures
    There are a few steps involved in turning a Java method into a Java stored procedure. These include loading the Java class into the database using the loadjava utility, and publishing the Java methods using a call specification (Call Spec) to map Java methods, parameter types, and return types to their SQL counterparts. The following section shows how to do this.
    I'll use a simple Hello class, with one method, Hello.world(), that returns the string "Hello world":
    public class Hello
    public static String world ()
    return "Hello world";
    The Loadjava Utility
    Loadjava is a utility for loading Java source files, Java class files, and Java resource files; verifying bytecodes; and deploying Java classes and JAR files into the database. It is invoked either from the command line or through the loadjava() method contained within the DBMS_JAVA class. To load our Hello.class example, type:
    loadjava -user scott/tiger Hello.class
    As of Oracle9i Release 2, loadjava allows you to automatically publish Java classes as stored procedures by creating the corresponding Call Specs for methods contained in the processed classes. Oracle provides Oracle9i JDeveloper for developing, testing, debugging, and deploying Java stored procedures.
    The Resolver Spec
    The JDK-based JVM looks for and resolves class references within the directories listed in the CLASSPATH. Because Oracle database classes live in the database schema, the OracleJVM uses a database resolver to look for and resolve class references through the schemas listed in the Resolver Spec. Unlike the CLASSPATH, which applies to all classes, the Resolver Spec is applied on a per-class basis. The default resolver looks for classes first in the schema in which the class is loaded and then for classes with public synonyms.
    loadjava -resolve <myclass>
    You may need to specify different resolvers, and you can force resolution to occur when you use loadjava, to determine at deployment time any problems that may occur later at runtime.
    loadjava -resolve -resolver "((* SCOTT) (foo/bar/* OTHERS)
    (* PUBLIC))"
    Call Spec and Stored Procedures Invocation
    To invoke a Java method from SQL (as well as from PL/SQL and JDBC), you must first publish the public static method through a Call Spec, which defines for SQL the arguments the method takes and the SQL types it returns.
    In our example, we'll use SQL*Plus to connect to the database and define a top-level Call Spec for Hello.world():
    SQL> connect scott/tiger
    SQL> create or replace function helloworld return
    VARCHAR2 as language java name 'Hello.world () return
    java.lang.String';
    Function created.
    You can then invoke the Java stored procedure as shown below:
    SQL> variable myString varchar2[20];
    SQL> call helloworld() into :myString;
    Call completed.
    SQL> print myString;
    MYSTRING
    Hello world
    Java stored procedures are callable, through their Call Spec, from SQL DML statements (INSERT, UPDATE, DELETE, SELECT, CALL, EXPLAIN PLAN, LOCK TABLE, and MERGE), PL/SQL blocks, subprograms, and packages, as well as database triggers. The beauty of Call Spec is that stored procedure implementations can change over time from PL/SQL to Java or vice versa, transparently to the requesters.
    Call Spec abstracts the call interface from the implementation language (PL/SQL or Java) and therefore enables sharing business logic between legacy applications and newer Java/J2EE-based applications. At times, however, when invoking a database-resident Java class from a Java client, you may not want to go through the PL/SQL wrapper. In a future release, Oracle plans to provide a mechanism that will allow developers to bypass the Call Spec.
    Advanced Data-Access Control
    Java stored procedures can be used to control and restrict access to Oracle data by allowing users to manipulate the data only through stored procedures that execute under their invoker's privileges while denying access to the table itself. For example, you can disable updates during certain hours or give managers the ability to query salary data but not update it, or log all access and notify a security service.
    Sharing Data Logic Between Legacy and J2EE Applications
    Because legacy applications and J2EE applications both invoke stored procedures through the Call Spec, the same data logic can be shared between J2EE and non-J2EE worlds. Thanks to Call Spec, this data logic can be shared regardless of the implementation language used (whether PL/SQL or Java).
    Autogeneration of Primary Keys for BMP Entity Beans
    When using BMP for EJB entity beans, a bean instance can be uniquely identified by the auto-generated primary key associated with the newly inserted data as a return value for ejbCreate(). You can retrieve this value within ejbCreate() in one database operation by using a stored procedure that inserts the corresponding data and retrieves or computes the primary key. Alternatively, you could insert the data and retrieve the corresponding key (or ROWID) in one SQL statement, using the RETURN_GENERATED_KEYS feature in JDBC 3.0. However, the stored procedure approach is more portable across JDBC driver versions and databases.
    You can implement this pattern with these three steps:
    Create the Java stored procedure, defining a public static Java method insertAccount() within a public GenPK class. This method will insert data, compute a unique key (by passing out a sequence number), and return the computed key as primary key.
    Define the Call Spec.
    CREATE OR REPLACE PROCEDURE insertAccount(owner IN
    varchar, bal IN number, newid OUT number)
    AS LANGUAGE JAVA NAME 'GenPK.insertAccount(
    java.lang.String [])';
    Invoke the stored procedure within ejbCreate().
    Public AccountPK ejbCreate(String ownerName, int balance) throws CreateException
    try {
    CallableStatement call = conn.prepareCall{
    "{call insertAccount(?, ?, ?)}"};          
    return new AccountPK(accountID);
    Custom Primary Key Finders for CMP Entity Beans
    Finder methods are used for retrieving existing EJB entity bean instances. Primary key finders allow you to retrieve a uniquely identified EJB instance. For CMP entity beans, the EJB container automatically generates the primary key finder findByPrimaryKey() method, based on declarative description. In some situations, however, you might need more control; for example, you may need a specialized finder such as findByStoredProcKey(). In these situations, you can use Java stored procedures in conjunction with an object relational framework (such as Oracle9i Application Server [Oracle9iAS] TopLink) to implement a custom primary key finder method. After you define the EJB finder as a REDIRECT or NAMED finder, TopLink will generate the SQL query for retrieving the bean instance.
    Data-Driven EJB Invocation
    In a data-driven architecture, business logic invocation can be triggered as a result of database operations (such as inserts, updates, or deletes). A Java stored procedure implementing the data logic can be declared as a database trigger to invoke EJBs running in a middle-tier J2EE application server. You can make EJB calls by using either standard remote method invocation (RMI) over Interoperable Inter-ORB Protocol (IIOP), using a J2EE 1.3 compatible server, or RMI over a vendor-specific transport protocol (such as ORMI with Oracle9iAS/OC4J or RMI over T3 with BEA WebLogic). Each application server vendor has its own optimized protocol while providing RMI over IIOP for interoperability. Oracle9iAS supports both RMI calls over IIOP and ORMI protocols.
    Data-Driven Messaging
    Oracle9i Database embeds Advanced Queuing (AQ), which is an integrated, persistent, reliable, secure, scalable, and transactional message-queuing framework. Oracle exposes AQ features to Java developers through the standard Java Messaging System (JMS) API. Java stored procedures can invoke AQ operations through the JMS interface to allow fast, intra-session, scalable, data-driven messaging.
    Java stored procedures can use JMS to invoke AQ operations. You can implement this pattern in four steps:
    Create and start the JMS Queue (to do so, embed the following operations within a SQL script):
    execute dbms_aqadm.create_queue_table(queue_table =>
    'queue1', queue_payload_type =>
    'SYS.AQ$_JMS_TEXT_MESSAGE', comment => 'a test queue',
    multiple_consumers => false, compatible => '8.1.0');
    execute dbms_aqadm.create_queue( queue_name => 'queue1',
    queue_table => 'queue1' );
    execute dbms_aqadm.start_queue(queue_name => 'queue1');
    Create the Java stored procedure (a code snippet is shown):
    public static void runTest(String msgBody)
    try
    // get database connection
    ora_drv = new OracleDriver();
    db_conn = ora_drv.defaultConnection();
    // setup sender (cf online code sample)
    // create message
    s_msg = s_session.createTextMessage(msgBody);
    // send message
    sender.send(s_msg);
    s_session.commit();
    // receive message
    r_msg = (TextMessage) receiver.receive();
    r_session.commit();
    // output message text
    String body = r_msg.getText();
    System.out.println("message was '"+body+"'");
    Create the Call Spec:
    create or replace procedure jmsproc (t1 IN VARCHAR)
    as language java name 'jmsSample.main (java.lang.String[])';
    Invoke the stored procedure:
    call jmsproc('hello');
    Database-Assisted Web Publishing (Cache Invalidation)
    One of the common issues application architects must face is how to cache database information reliably to increase overall system performance. JCACHE is an upcoming standard specification (JSR 107) that addresses this problem. It specifies an approach for temporary, in-memory caching of Java objects, including object creation, shared access, spooling, invalidation, and consistency across JVMs. It can be used to cache read-mostly data such as product catalogs and price lists within JSP. Using JCACHE, most queries will have response times an order of magnitude faster because of cached data (in-house testing showed response times about 15 times faster).
    In order to track all the changes to the origin data and refresh the cached data, a Java stored procedure is attached to a table as a trigger. Any change to this table will result in the automatic invocation of this stored procedure, which in turn will call out a defined JSP to invalidate the JCACHE object that maps its state to the database table. Upon invalidation, the very next query will force the cache to be refreshed from the database. Next Steps
    READ MORE about Java Stored Procedures
    This article is adapted from the white paper "Unleash the Power of Java Stored Procedures." You can find the white paper at:
    /tech/java/java_db/pdf/
    OW_30820_JAVA_STORED_PROC_paper.PDF
    New PL/SQL features in Oracle9i Database, Release 2
    /tech/pl_sql/pdf/
    Paper_30720_Doc.pdf
    Resolver Spec
    /docs/products/oracle9i/
    doc_library/release2/java.920/a96659.pdf
    OracleJVM and Java 2 Security
    /docs/products/oracle9i/
    doc_library/release2/java.920/a96656.pdf
    DOWNLOAD Code
    Exercise code examples from this article:
    /sample_code/tech/
    java/jsp/Oracle9iJSPSamples.html
    LEARN about stored procedures as Web services
    /tech/webservices
    Extending Database Functionality
    One of the great things about running Java code directly in the database is the ability to implement new functionality by simply loading the code or library and using the Call Spec to make the entry points (public static methods) available to SQL, PL/SQL, Java, J2EE, and non-Java APIs. Oracle9i Database customers can easily extend database functionality. Oracle itself leverages this capability for new utilities and packages such as the XML Developer Kits (XDKs).
    Bridging SQL, PL/SQL, Java, J2EE, .NET, and XML
    The Oracle XDK is written in Java and exposes its public methods as Java stored procedures, extending the database's XML programmability. SQL, PL/SQL, Java, J2EE, and non-Java (.NET) business logic all have access to the XML parser, the XSLT processor, the XPath engine, and XML SQL Utility (XSU).
    The XML parser is accessible through the xmlparser and xmldom packages. XSU is a Java utility that generates an XML document from SQL queries or a JDBC ResultSet, and writes data from an XML document into a database table or view. Using XSU, XML output can be produced as Text, DOM trees, or DTDs. XSU is exposed to PL/SQL through the dbms_xmlquery and dbms_xmlsave packages.
    Conclusion
    The integration of the Oracle database with a Java VM enables the creation of portable, powerful, database-independent data logic and persistence logic. The loose coupling of business logic that runs in the middle tier with data logic that runs in the database tier improves application scalability, performance, flexibility, and maintenance.
    Kuassi Mensah ([email protected]) is a product manager in the Server Technologies division at Oracle.
    http://otn.oracle.com/oramag/oracle/03-jan/o13java.html
    Joel Pérez

  • Design considerations while accessing data of a different web application

    I am database developer for a web application (*WebApp1*) which supports around *6 million* merchant data across various tables in database (*DB1*).
    The users for the above mentioned application are less, around *50* who monitor the 6 million merchant data.
    Now a proposal has come up to develop a second web application for the merchants themselves.
    Thus the user base for this web application (*WebApp2*) is in millions.
    Now the requirement for WebApp2 is :
    On each login of individual merchants, they need to see their individual data (mostly read-only) which is stored in (*DB1*)
    along with other data which is stored in its own database (*DB2*). WebApp2 will have other functionalities too but those
    are independent of WebApp1.
    Now I can think of three approaches how to display DB1 data in WebApp2 :
    1. Creating a stored procedure and accessing DB1 data through dblink. (*Cons* - have seen access through dblink is slower as it serializes access).
    2. Replicate DB1 data to DB2 through batch jobs running every night. (*Cons* - Will store the same data in 2 places and will have the headache of data sync.)
    3. WebApp1 will expose webservice using DB2 data, so that on each login, WebApp2 users use the webservice to display DB1 data through webservice.
    (Please answer if there are any cons. beacuse of high user base ?)
    Need your suggestion and views. Also if there are any other way please let me know.
    Will it depend on any other factor ? Let me know if you need any further information.
    Cheers !!!

    Ah - this is a much bigger question! And may be outside the scope of this forum to answer. I will have a go though.
    The question really isn't can the database support 6,000,000 users. It is how many of the users will be making database requests at the same time, what is the average elapsed time of each request, and what do your users regard as an acceptable response time to each request?
    To use a (very) simple analogy, my company employs 30,000 people but the IT Service Desk that they call if they have a problem with their PC is only staffed by 30 people. This is because the Service Desk Manager has estimated that at any one time only 1% of all employees will need to call the Service Desk. On average each call takes 6 minutes to resolve and the response time agreed with the business to a call is 1 hour. So within an hour one Service Desk technician can answer 10 calls in an hour, so 30 technician can answer 300 calls an hour.
    Now you can apply this analogy to a computer system. The scalability of database systems is generally limited by the amount of available CPU. If we determine that the average database call uses 10ms of CPU, and the user will accept a response time of 1s, then each CPU can service 100 database calls within that response time. Multiply that by the number of available CPUs and you have a (very rough) idea of how far the database will scale. An server with 8 cores could support 800 concurrent requests. A cluster with 4 servers each with 8 cores could support 3200 concurrent requests.
    I would stress that this is very crude. Much more information would be required to determine what the limits of database scalability were. My example does not take account of other source of potential latency, such as the network or the storage subsystem if requests involve significant physical I/O. Or indeed the latency in the application itself.
    So, you need to answer these questions:
    - How many concurrent database requests need to be supported
    - What is the average amount of database CPU that each database request will consume
    - What is the maximum acceptable elapsed time for each database request
    On a more practical note, your application must use some form of connection pooling to limit the number of database connections required to service all the required database activity. You can scale the database horizontally using RAC and in extreme cases you can offload read activity entirely from the database using a middle-tier caching solution such a Coherence, GigaSpaces or GemFire.
    That's probably enough for now. Any more and you'll probably need to get some consultancy!

  • How to configure request manager service for multiple website in one web application

    I have set up sp 2013 as below:
     web application : wa1
    site collection : sc1
    sp site: site1, site2
    I used 2 WFE, 1 APP, how can I use request manager service to control  site1 to wfe1, site2 to wfe2?
    Awen

    That's not what i'd describe as load balancing.
    A better description would be load-isolation. In your description then if the load on site1 was large (and growing) but site2 was quiet then site1 would struggle and eventually become unable to handle the number of users but site2 would still be ok. That's
    fine from a QOS point of view but it's not the norm for load balancing. It would work in simple scenarios but the out of the box load balancing tools are much better suited than that sort of approach.
    This article shows how to configure the RMS and may help show how your request is difficult to configure:
    http://www.harbar.net/articles/sp2013rm2.aspx

  • How to integrate a flex build in a web application running on jBoss 5.1

    Hi,
    I have two flex builds for a messaging application that I have to integrate with my web application running on Jboss 5.1 . I have tried hot deploying the builds into the default deploy folder of Jboss,but that approach doesn't seem to work(maybe because I may need to make war out of the flex builds). Can someone tell me an approach of how to accomplish this. Can I leverage BLAZEDS for this purpose.
    Thanks
    Rohit Kumar

    Hi,
    Go through Re: Web Dynpro and Smart Forms.
    Regards,
    Satyajit.

  • "SSO" for non-sap web application using SAPGUI to browse?

    I have a web application (non SAP) and the user base are also SAP users in an ABAP system.
    To strengthen the authentication in the web app, I wanted to implement SSO 
    authentication as we pity the users for having to remember so many strong pw's and I
    dont like LDAP based pw sync or other technology I dont understand, because then we are
    just yet another application with the same pw...
    We are having technical problems implementing SSO on the web app side, and are anyway a
    bit sceptical about the user admin / role admin assignment if we get it to work.
    So I have created a transaction in SAP which browses the web app and the intention is to
    send the SAP sy-uname as the web app user. We can control this using s_tcode, and
    an own auth object on the WAS side and a check on the session type before the connection is
    established. In this sense we are dependent on the SAP concept implemented, but even so:
    The role assignment is controlled in the web app itself -> so assume that I am not overly
    worried about unauthorized access to the web application, as they would not have any
    system role for it as their sy-uname does not exist. (Infact we can monitor this)
    The browser on the front end is the SAPGUI with html controls on the SAP side.
    I would be interested in knowing whether anyone else has experience with this approach, and
    whether there are any areas to be carefull of?
    I would also like to know whether this is a strategic error?
    Kind regards,
    Julius

    Hi Julius,
    well, if that web application would run on the same ABAP backend system then the solution described in <a href="http://service.sap.com/~iron/fm/011000358700000431401997E/0612670">SAP Note 612670</a> would be applicable:
    a so-called "Re-entrance ticket" (based on the "SAP logon ticket" SSO proceedings) is issued, transported via the SAPGUI connection and back to the system via the invoked HTML control.
    But for non-SAP web applications that does not help.
    In that case only X.509 client certificates can be used for SSO. Actually, the web application could then also be invoked directly (independent from the SAPGUI session). The user is authenticated based on the X.509 client certificate - and not based on the ABAP userID (of the SAPGUI session).
    Well, if you don't mind the effort you could also use the "SAP Logon Ticket evaluation library" (sapssoext, see <a href="http://service.sap.com/~iron/fm/011000358700000431401997E/0304450">SAP Note 304450</a>) to evalute the SAP logon ticket externally. You'll then need to have a "stub application" at the ABAP side that triggers the http redirect to your external web application. Not a nice solution but a possible one.
    In the future SAML browser artifacts would be an option (preferable to integrate non-SAP applications). But currently that's not available (for NWAS ABAP).
    Cheers, Wolfgang

  • Configuring the authentication scheme for a web application

    Hi all,
    We have a requirement to configure the authentication scheme for a web application where some set of users should access the application using basic LDAP (userid/password) authentication and some using digital certificate authentication.
    Since the deployment descriptor (web.xml) allows only one directive for auth-method in logic-config, we want to know if there is any other way to achieve this requirement. We are thinking of a custom login module approach. But we are not able to figure out how to configure the auth-method at runtime from the login servlet.
    Please let us know if there is any other approach to achieve this.
    I will be thankful if any body shares any specific solution to this issue.

    This forum is probably not the correct one to ask in. It's more related to the web container than Java Programming.
    Kaj

  • System.IO.FileNotFoundException: The Web application at ..not found - when getting document versions in a doc lib

    i have created a    asmx file using vs 2012 4.5 framework, and published to my d:\  drive  and mapped to a  iis  web site
    but when i trued to consume this from a another web appln, it throws me the below error:
     System.IO.FileNotFoundException: The Web application at http://srvr:4000/sites/mysitecollec could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a
    new request URL mapping to the intended application.
       at Microsoft.SharePoint.SPSite.LookupSiteInfo(SPFarm farm, Boolean contextSite, Boolean swapSchemeForPathBasedSites, Uri& requestUri, Boolean& lookupRequiredContext, Guid& applicationId, Guid& contentDatabaseId, Guid& siteId,
    Guid& siteSubscriptionId, SPUrlZone& zone, String& serverRelativeUrl, Boolean& hostHeaderIsSiteName, Boolean& appWebRequest, String& appHostHeaderRedirectDomain, String& appSiteDomainPrefix, String& subscriptionName, String&
    appSiteDomainId, Uri& primaryUri)
       at Microsoft.SharePoint.SPSite..ctor(SPFarm farm, Uri requestUri, Boolean contextSite, Boolean swapSchemeForPathBasedSites, SPUserToken userToken)
       at Microsoft.SharePoint.SPSite..ctor(SPFarm farm, Uri requestUri, Boolean contextSite, SPUserToken userToken)
       at Microsoft.SharePoint.SPSite..ctor(String requestUrl)
       at FetchlatestDocDet6Jan.FetchLatestDoc6Jan.<>c__DisplayClass1.<FetchLatestDocVer>b__0() in d:\PublishWSFetchLatestDoc6Jan.asmx.cs:line 41
       at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass5.<RunWithElevatedPrivileges>b__3()
       at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
       at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)
       at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)
       at FetchlatestDocDet6Jan.FetchLatestDoc6Jan.FetchLatestDocVer(String fileName, String processID, String subProcessId) in d:\PublishedWS\FetchLatestDoc6Jan.asmx.cs:line 35
    [WebMethod]
            public DataTable FetchLatestDocVer(string fileName,string processID,string subProcessId)
                DataTable dtFiles = new DataTable("File Details");
                dtFiles.Columns.Add("File Name");
                dtFiles.Columns.Add("File Version");
                dtFiles.Columns.Add("File Url");
                SPSecurity.RunWithElevatedPrivileges(delegate()
                    // implementation details omitted       
                //using (SPSite mySite = new SPSite(siteUrl))
                using (SPSite mySite = new SPSite("http://srvr:4000/sites/mysitecoll"))
                    using (SPWeb myWeb = mySite.OpenWeb())
                        SPList oList = myWeb.Lists["TEST DOC LIB "];
                        SPView oView = oList.Views["All Documents"];                  // SPQuery oQuery = new SPQuery(oView);
                        SPQuery oQuery = new SPQuery();
                        string query = "<Query><Where><And><Eq><FieldRef Name=Title/>" + "<Value Type=Text>" + fileName + "</Value></Eq>"
                                        +"<Eq><FieldRef Name=ProcessID /><Value Type=Text>"+processID+"</Value></Eq>"
                                        +"<Eq><FieldRef Name=SubProcessID /><Value Type=Text>"+subProcessId+"</Value></Eq>"
                                        +"</And></Where></Query>";
                        oQuery.Query = query;                    
                        oQuery.ViewAttributes = "Scope=\"Recursive\"";
                        SPListItemCollection collListItemsAvailable =
                         oList.GetItems(oQuery);
                        foreach (SPListItem oListItemAvailable in collListItemsAvailable)
                           // Console.WriteLine(oListItemAvailable["Name"].ToString());
                            SPFileVersionCollection versions = oListItemAvailable.File.Versions;
                            // If the file has versions, loop through all of the versions
                            if (versions != null)
                                if (versions.Count > 0)
                                    foreach (SPFileVersion version in versions)
                                     //   Console.WriteLine("Version Info:: {0}, {1}", version.VersionLabel, version.Url);
                                        DataRow dr = dtFiles.NewRow();
                                        dr[0] = oListItemAvailable["Name"].ToString();
                                    //Added data to the datatable
                                else
                                  //  Console.WriteLine("Version Info:: {0}, {1}", oListItemAvailable.File.UIVersionLabel, oListItemAvailable.File.Url);
                                    DataRow dr = dtFiles.NewRow();
                                    dr[0] = oListItemAvailable["Name"].ToString();
                                    dr[1] = oListItemAvailable.File.UIVersionLabel;
                                    dr[2] = oListItemAvailable.File.Url;
                                    dtFiles.Rows.Add(dr);
                return dtFiles;

    "The Web application at http://server:port/ could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing
    content, the system administrator may need to add a new request URL mapping to the intended application"
    Here are the most common reasons this error can occur:
    The code is executed on a different machine - The SharePoint object model (except the Client API) requires to be run on the SharePoint server itself. It is not possible to run the application on a server which is not within the same
    SharePoint farm the code is trying to access.
    Insufficient Rights on the site collection - The code is executed in context of an account which does not have read permission on the site collection
    Incorrect Url being used - Verify that the site works correct in a browser and double check that the server is correct registered in the AAM settings
    Incorrect bitness - The SharePoint object model needs to be executed with the same bitness as the operating system. That means you cannot use the SharePoint object model in a 32-bit application if the Operating System and SharePoint
    are installed as 64-bit version. Ensure to compile the project using the correct bitness (64-bit on a 64-bit machine vs. 32-bit on a 32-bit machine)
    Incorrect .NET framework version -  Ensure that the project is configured to use .NET 3.5. .NET 4.0 cannot be used with the current versions of SharePoint
    from Mr.Stefan's post, i have checked with my code : as per the first reason: (1)
    i am running the code from my  SP 2013 machine only. but the only difference is that, i am using a  asp.net web appln and have added a SP references of 15 hive and trying to make a  lists.asmx file.
    also checked the reasons
    2,3 ,4 ,5 all are  fine from my end.
    here just wanna know: abt the below approach : whether its Correct or NOT.
    create a plain GetDocsWebService.asmx file from asp.net 3.5 framework and  write the code for retrieving items from doc.lib using SPSite, spweb, splists, xmldocument and retrieve a datatable . [[[ i have added a web reference of sp 2013 microsoft.sharepoint
    dll from  isapi folder, in this GetDocsWebService.asmx project ]]
    i deployed this web service on my SP server's  new iis site, c:\inetpub\wwwroot\GETDOCSPUBLISH  site
    now, at present , am adding a  normal asp.net 4.5 web appln and add the  web reference of this custom web service and trying to consume.
    at this point am getting mulitpl errors: like
    1) platform not supported : am stuck with this error!!
    2) sometimes, am getting document not valid...<html> <head> document not valid........</html>
    for the above 2 errorrs, i still could not able to find a solution!!
    is it because, lists.asmx is not supported in sp 2013? we need to depend on rest-api/ecma/csom ?? 
    so my question is ,  what should be the correct ad most recommended approach  for reading doc lib/ splist  records/items from a  remote macihne.

  • I want to writte C# code for 503 Service Unavailable error to web application page immediate close connection any page loaded

    Here is a ticket regarding our current client web application (  Image data add, edit , delete in folder with form data in MSSQL Database) that using code c#, web form, ajax, VS2008, MSSQL Server2008 , it appears that there is an error where the HTTP
    503 error occurs. 
    . Below is a conversation with Host Server support assistant.Can you take a look at it? 
    Ben (support) - Hi 
    Customer - We're having an issue with our windows host 
    Ben (support) - What's the issue? 
    Customer - 503 errors 
    Ben (support) - I am not getting any 503 errors on your site, is there a specific url to duplicate the error? 
    Customer - no, it comes and goes without any change Customer - could you have access to any logs ? 
    Ben (support) - Error logs are only available on Linux shared hosting, however with this error it may be related to you reaching your concurrent connections 
    Ben (support) - You can review more about this at the link \ 
    Customer - probably yes - how can we troubleshoot ? 
    Ben (support) - http://support.godaddy.com/help/article/3206/how-many-visitors-can-view-my-site-at-once 
    Ben (support) - This is something you need to review your code and databases to make sure they are closing the connections in a timely manner 
    Customer - we're low traffic, this is an image DB to show our product details to our customers 
    Customer - ahhhh, so we could have straying sessions ? 
    Ben (support) - Correct Customer - any way you could check if it's the case ? 
    Customer - because it was working previously 
    Ben (support) - We already know that's the case as you stated the 503 errors don't happen all the time if it were issue on the server the the 503 would stay. 
    Customer - so our 2/3 max concurrent users can max out the 200 sessions 
    Customer - correct ? 
    Customer - is there a timeout ? 
    Ben (support) - no that's not a time out concurrent connections are a little different then sessions and or connections. Lets say for an example you have 5 images on your site and 5 7 users come to your site this is not 7 concurrent connections but 35. They
    do close after awhile hence why the 503 error comes and goes. You can have these connections close sooner using code but this is something you have to research using your favorite search engine 
    Customer - thank you so much 
    Customer - I'm surprised that this just started a few weeks ago when we haven't changed anything for months 
    Customer - any changes from your side ? lowering of the value maybe ? 
    Customer - I'm trying to understand what I can report as a significant change 
    Ben (support) - We haven't touched that limit in years 
    Ben (support) - This could just be more users to your site than normal or even more images 
    Customer - I was thinking that could be it indeed 
    Customer - so I need to research how to quickly close connections when not needed 
    Ben (support) - Correctly 
    Ben (support) - correct 
    Customer - thanks !! 
    Ben (support) - Your welcome 
     Analysis : 
     The link provided tells us : All Plesk accounts are limited to 200 simultaneous visitors. 
     From what Ben (support) says and a little extra research, if those aren't visitors but connections then it's quite easy to max out, especially if the connections aren't closed when finished using. I'd suggest forwarding this to Kasem to see what he thinks. 
    Cheers, 
    Customer

    Hi Md,
    Thank you for posting in the MSDN forum.
    >>
    I want to writte C# code for 503 Service Unavailable error to web application page immediate close connection any page loaded.
    Since
    Visual Studio General Forum which discuss VS IDE issue, I am afraid that you post the issue in an incorrect forum.
    To help you find the correct forum, would you mind letting us know more information about this issue? Which kind of web app you develop using C# language? Is it an ASP.NET Web Application?
    If yes, I suggest you could post the issue directly on
    ASP.NET forum, it would better support your issue.
    Thanks for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

  • How do i use the jsp session in web application

    pls i do i go about trying to maintain a user in a web application when he sign in so that his state would be mainain through out the other pages and also adding sound to my pge the page is being design with jsp thank u frm hamzah

    I see what you are saying.
    The JNDI approach should work-we will try to reproduce this internally.
    I would recommend leveraging the OSGi service registry, instead of using JNDI, however. The Event Server is a modular server based on OSGi, so one should use the OSGi service registry whenever possible instead of using the jndi registry. Jndi is primarily there to support legacy code that requires Jndi.
    Any data sources that you configure are automatically registered in the OSGi service registry. When there is more than one data source they can be distinguished using their name.
    There are a couple of options.
    If you want to inject a reference to your datasource into a Spring bean, you can use an annotation, @Service, to annotate a setter method on your bean (see my previous post). The container will then inject a reference to the data source into the bean.
    You can also put the following in your spring application context file
    <osgi:reference id="myDataSource"
    interface="javax.sql.DataSource"/>
    This creates a bean proxy that references the datasource by looking up the datasource in the OSGi service registry. It works similarly to JndiObjectFactoryBean, but it uses the OSGi service registry instead of the JNDI registry. You can read more about it here
    http://www.springframework.org/osgi/specification
    (Look in section 3.3)
    Hope that helps.
    Seth
    Edited by swhite at 08/01/2007 6:19 PM

  • My Sites error - 403 and "We're almost ready!" plaguing web application

    On an in-house managed farm, a My Site web application has been created per the instructions provided from
    Microsoft. The web application uses the managed path "personal" at the root of
    http://mysites.  The initial "We're almost ready!" screen when accessing a social feature like
    Newsfeed was anticipated.  However, in attempting to update the My Site content (i.e. profile information, newsfeed settings), the user is presented with a 403 Forbidden page - "The website declined to show this page".
    In ULS, this is made abundantly clear as well in the following logs:
    04/22/2014 12:08:10.61 w3wp.exe (0x18E0) 0x2870 SharePoint Foundation General ftd0 Medium Access Denied. Exception: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)), StackTrace:   at Microsoft.SharePoint.Library.SPRequestInternalClass.OpenWeb(String
    bstrUrl, String& pbstrServerRelativeUrl, String& pbstrTitle, String& pbstrDescription, String& pbstrTitleResourceId, String& pbstrDescriptionResourceId, Guid& pguidID, DateTime& pdtTimeCreated, String& pbstrRequestAccessEmail,
    UInt32& pwebVersion, Guid& pguidScopeId, UInt32& pnAuthorID, UInt32& pnLanguage, UInt32& pnLocale, UInt16& pnTimeZone, Boolean& bTime24, Int16& pnCollation, UInt32& pnCollationLCID, Int16& pnCalendarType, Int16&
    pnAdjustHijriDays, Int16& pnAltCalendarType, Boolean& pbShowWeeks, Int16& pnFirstWeekOfYear, UInt32& pnFirstDayOfWeek, Int16& pnWorkDays, Int16& pnWorkDayStartHour, Int16& pnWorkDayEndHour, Int16& pnMeetingCount, Int32&
    plFlags, Boolean& bConnectedToPortal, String& pbstrPortalUrl, String& pbstrPortalName, Int32& plWebTemplateId, Int16& pnProvisionConfig, String& pbstrDefaultTheme, String& pbstrDefaultThemeCSSUrl, String& pbstrThemedCssFolderUrl,
    String& pbstrAlternateCSSUrl, String& pbstrCustomizedCssFileList, String& pbstrCustomJSUrl, String& pbstrAlternateHeaderUrl, String& pbstrMasterUrl, String& pbstrCustomMasterUrl, String& pbstrSiteLogoUrl, String& pbstrSiteLogoDescription,
    Object& pvarUser, Boolean& pvarIsAuditor, UInt64& ppermMask, Boolean& bUserIsSiteAdmin, Boolean& bHasUniquePerm, Guid& pguidUserInfoListID, Guid& pguidUniqueNavParent, Int32& plSiteFlags, DateTime& pdtLastContentChange,
    DateTime& pdtLastSecurityChange, String& pbstrWelcomePage, Boolean& pbOverwriteMUICultures, Boolean& pbMUIEnabled, String& pbstrAlternateMUICultures, Int32& plSiteSchemaMajorVersion, Int32& plSiteSchemaMinorVersion, Int32& plSiteSchemaBuildVersion,
    Int32& plSiteSchemaRevisionVersion, Int32& puiVersion, Int16& pnClientTag, Boolean& pfIsEvalSite, Guid& pgSourceSiteId, DateTime& pdtExpirationDate, Guid& pgEvalSiteId, Guid& pguidAppProductId, String& pbstrRemoteAppUrl,
    String& pbstrOAuthAppId, String& pbstrAppDatabaseName, Guid& pgAppDatabaseServerReferenceId, String& pbstrAppDatabaseTargetApplicationId, String& pbstrAppWebDomainId, Int32& plUpgradeFlags, DateTime& pdtReminderDate, UInt64&
    pmaskDeny)     at Microsoft.SharePoint.Library.SPRequest.OpenWeb(String bstrUrl, String& pbstrServerRelativeUrl, String& pbstrTitle, String& pbstrDescription, String& pbstrTitleResourceId, String& pbstrDescriptionResourceId,
    Guid& pguidID, DateTime& pdtTimeCreated, String& pbstrRequestAccessEmail, UInt32& pwebVersion, Guid& pguidScopeId, UInt32& pnAuthorID, UInt32& pnLanguage, UInt32& pnLocale, UInt16& pnTimeZone, Boolean& bTime24, Int16&
    pnCollation, UInt32& pnCollationLCID, Int16& pnCalendarType, Int16& pnAdjustHijriDays, Int16& pnAltCalendarType, Boolean& pbShowWeeks, Int16& pnFirstWeekOfYear, UInt32& pnFirstDayOfWeek, Int16& pnWorkDays, Int16& pnWorkDayStartHour,
    Int16& pnWorkDayEndHour, Int16& pnMeetingCount, Int32& plFlags, Boolean& bConnectedToPortal, String& pbstrPortalUrl, String& pbstrPortalName, Int32& plWebTemplateId, Int16& pnProvisionConfig, String& pbstrDefaultTheme, String&
    pbstrDefaultThemeCSSUrl, String& pbstrThemedCssFolderUrl, String& pbstrAlternateCSSUrl, String& pbstrCustomizedCssFileList, String& pbstrCustomJSUrl, String& pbstrAlternateHeaderUrl, String& pbstrMasterUrl, String& pbstrCustomMasterUrl,
    String& pbstrSiteLogoUrl, String& pbstrSiteLogoDescription, Object& pvarUser, Boolean& pvarIsAuditor, UInt64& ppermMask, Boolean& bUserIsSiteAdmin, Boolean& bHasUniquePerm, Guid& pguidUserInfoListID, Guid& pguidUniqueNavParent,
    Int32& plSiteFlags, DateTime& pdtLastContentChange, DateTime& pdtLastSecurityChange, String& pbstrWelcomePage, Boolean& pbOverwriteMUICultures, Boolean& pbMUIEnabled, String& pbstrAlternateMUICultures, Int32& plSiteSchemaMajorVersion,
    Int32& plSiteSchemaMinorVersion, Int32& plSiteSchemaBuildVersion, Int32& plSiteSchemaRevisionVersion, Int32& puiVersion, Int16& pnClientTag, Boolean& pfIsEvalSite, Guid& pgSourceSiteId, DateTime& pdtExpirationDate, Guid&
    pgEvalSiteId, Guid& pguidAppProductId, String& pbstrRemoteAppUrl, String& pbstrOAuthAppId, String& pbstrAppDatabaseName, Guid& pgAppDatabaseServerReferenceId, String& pbstrAppDatabaseTargetApplicationId, String& pbstrAppWebDomainId,
    Int32& plUpgradeFlags, DateTime& pdtReminderDate, UInt64& pmaskDeny). eac5899c-b845-e02c-550e-d7bd0a2a4331
    04/22/2014 12:08:10.61 w3wp.exe (0x18E0) 0x2870 SharePoint Foundation General aep94 High UnauthorizedAccessException for the request. 403 Forbidden will be returned. Error=Exception of type 'System.Web.HttpUnhandledException'
    was thrown.   at System.Web.UI.Page.HandleError(Exception e)     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.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()    
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) eac5899c-b845-e02c-550e-d7bd0a2a4331
    Those entries are created when the user clicks "Save all and close" button attempting to save any changes to their My Site profile.
    Initial troubleshooting sources have included:
    Bernando Nguyen's
    post
    Praveen's TechNet
    blog
    SharePoint Brian's suggestion to re-run the Product & Config wizard here
    Troubleshooting efforts so far in addition to the sources quoted above:
    Checking account permissions (obvious, with an "access denied" message) for UPA, Metadata and Workflow service accounts
    Creating a special permission policy for the web application to allow "Everyone" to create subsites
    Checking SQL rights for SA's and their respective DB's
    Started IIS application pool "SecurityTokenServiceApplicationPool" (it was stopped initially)
    ANY help in further troubleshooting this issue would be greatly appreciated.  I have already re-created the web application multiple times with the same results each time.  Thank you.
    Eric

    I re-created the web application again.  What's the definition of insanity?  Doing the same thing over and over and expecting a different result?  Well, in this case I actually did get a different result.  At least this time there
    wasn't a 403 error, but a 404!  Success!
    In any case, I used a load balancer for this farm and re-mapped the bindings in IIS to point to that IP.  Lo and behold, we have lift off!  Everything is working, even the social features.  All it took was me talking to myself in a forum and
    doing repetitive tasks expecting different results... oh, hang on, there's a nice gentleman in a white coat here to take me some place nice.  Thank you!

  • Setup Team Foundation Server - Team Site Collection - SharePoint Web Application Settings failed with error TF205014, TF250025

    Hi
    I have TFS server installed and working with other SharePoint farm.  (TFS installed,  SharePoint extension installed and Granted Access for TFS.
    When Setup TFS - SharePoint Web Application Settings,  It ask for the three values:
    Web Application URL:  
    Central Administration URL:
    Default Location of team project collection sites:
    What notice about the TFS sites that are working is that they are Path Based Site Collection.  Created with SharePoint Web Application managed path (like
    http://spserver/sites/tfs_site1) and so it easy to see it will work.
    Web Application URL:  http://spserver
    CA URL :   http://spserver:portnumber
    Default Location :  Sites or any managed path
    We start using Host Name Site Collection (HNSC) to get the benefit of multiple unique site name without having multiple web application for each.  Work great but when we tried to setup and extend TFS service on the HNSC, we could
    not get them to work and got errors when trying different variation of path URL.
    After doing lot of searching on this, I came up pretty empty and I don't know if that is possible so my question is Have anyone able to setup TFS to work with SharePoint 2013 Host Name Site Collection?  
    If you have, a simple yes will be great but please share or even if anyone think it is possible or not possible, please share too.
    Thanks in advance for any comment / suggestion.
    Swanl

    Hi  Swanl,
    I’m afraid that we cannot setup TFS to work  with SharePoint 2013 Host Name Site Collection.
    Also you can  initial a new thread in Visual Studio Team Foundation Server forums:
    Team Foundation Server – General: http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=tfsgeneral
    More experts for Team Foundation Server will assist you, then you will get more information relation to your issue.
    For integrating SharePoint 2013 with Team Foundation Server 2013 you can have a look at the following blog:
    http://nakedalm.com/integrate-sharepoint-2013-with-team-foundation-server-2013/
    Thanks,
    Eric
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
    contact [email protected]
    Eric Tao
    TechNet Community Support

  • EP 6.0 iView call of NW04s BI web applications/runtime

    We have an existing SAP EP 6.0 portal in which we have BW iViews calling BW 3.x web applications.  We are upgrading the BW 3.x system to Netweaver 2004s.  Since we will still retain (for the time being) the EP 6.0 portal as our primary access point to all of our SAP systems, we have created a second portal/java environment (of the NW04s variety) to satisfy our NW04s BI needs.
    Can we somehow "adjust" the existing iViews in our EP 6.0 environment to directly call (without iViews in the NW04s environment) converted versions of these web applications in the new NW04s java/portal runtime?  Has anyone successfully done this?
    I recall reading something in a posting a while back that (sorry - unable to find it now) that implied this may be possible through the change of a "BW/BI version" parameter on the iView.  We don't see any such parameter on our current BW EP 6.0 iViews.  If in fact this is part of the solution, can this and/or other parameters be added/imported somehow in EP 6.0, or is this something only available for iViews in NW04s?
    Regards,
    Rod

    Hello Rod!
    We have a technical problem to integrate BEx Web Application of NW2004s in a SAP EP 6.0. The general problem is that the Portal has difficulties to display a Portal iView in an iView.
    These days, we are testing a solution that will be shipped with EP 6.0 SP17. A fix for SP14, 15 and 16 is under discussion.
    As soon as I have more details, I will provide you the documentation. The idea is more or less the same as we are doing currently with integrating BEx Web App of SAP BW 3.5: use a System Alias and the rest of the BI URL. Please be aware that the URL syntax is different between SAP BW 3.5 and NW2004s due the new runtime.
    Yours,
       Tobias

Maybe you are looking for

  • Best way to use Airport Extreme dual band with Netgear FR114P?

    Years ago a friend connected via ethernet our G4 (10.4.11) and an old Blueberry iMac (10.4.11) to a Netgear FR114P Router(?) which is connected to a modem from TimeWarner Cable on our second floor. We also have an ethernet connection downstairs for a

  • Fix for CS5 & CS6 Hangs with Flashback Virus??

    I recently found that my imac was infected with the Flashback Virus. Ever since then, both CS5 and CS6 hang when trying to open them from Lightroom 4 or 3 using 'edit in.' This is isolated to my imac since Lightroom 3 & 4 work as expected with CS5 &

  • Send message to WebSphere MQ resource adapter - how?

    Hi, has anybody a working sample how an Weblogic EJB can write to an MQ queue via the WebSphere MQ resource adapter? http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzaw.doc/uj40010_.htm I took Adrian Cole's sample f

  • Imac 27" dark side left lower left corner of screen

    Anybody knows how to go about ? Left lower corner of my screen is going dark and accordig to some forums online I'm not the only one. Unfortunately I don't see anyone reporting that Apple is taking responsibility to the faulty screen and only shows w

  • Create PO from SC: error in transactin type

    Hi all, I'm on SRM 5.0 with Extended classic scenario. In particular the scenario is the follow: create purchase requisition on R3 and replicate it as SC in SRM create PO on SRM from SC and replicate it on R3 create good movements in R3. The question