Adding multiple servlets under same application

Hi,
We are trying to add multiple servlets (2 to be precise) to an Application.
We are using j2ee1.3 server and deploytool for deploying the same.
Is it possible to have a single context root in which i'll be able to place both servlets with different aliases to access them?
The moment I specify same contextRoot in Web context tab of Application, i get an error saying Deployment failed because "mycontextroot" already exists.
When I assign two different context roots to each servlet, they can function, but then the URL for each changes inspite of being in the same application.
Any suggestions are welcomed.
Thank you,
Manish.

Hi,
I did not quite follow the solution and I am wondering if it will solve a problem I am having.
I wish to define multple jax-rpc endpoints, but I want the classes servicing those endpoints to be able to communicate with one another. I tried placing them both in the same war and entering two endpoints in the jaxrpc-ri.xml file, but it didn't like the second endpoint entry being there.
Is there a way to do this?

Similar Messages

  • Problem with running multiple servlet in same webapplication with tomcat 3

    Hi all,
    I am using Tomcat 3.0 as webserver with jdk1.3, Servlet 2.0,
    Templates for html file and oracle 8i on UNIX platform.
    I have problem with multiple servlet running same webapplication.
    There are two servlet used in my application. 1) GenServlet.class
                   and 2) ServletForPrinting.class
    All of my pages go through GenServlet.class which reads some property files
    and add header and footer in all pages.
    I want reports without header & footer that is not possible through GenServlet in my application.
    So I have used another servlet called ServletForPrinting --- just for reading html file.
    It is as follow:
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class ServletForPrinting extends HttpServlet {
    public void service (HttpServletRequest request,
    HttpServletResponse response) throws ServletException, IOException
    // set content-type header before accessing the Writer
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    File f1 = null;
    String report = null;
    String path = request.getPathInfo();
    try{
    String p = "/var/home/latif/proj/webapps/WEB-INF/classes" + path;
    System.out.println(p);
    f1 = new File(p);
    p = null;
    if (f1.exists()) {
    FileReader fr = new FileReader(f1);
    BufferedReader br = new BufferedReader(fr);
    report = new String();
    while ((report = br.readLine()) != null) {
    out.println(report);
    }catch(Exception e) {
    out.close();
    report = null;
    path = null;
    f1 = null;
    } // end class
    It works fine and display report properly.
    But now Problem is that if report is refreshed many times subsequently,
    WebServer will not take any new change in any of java file used in web-application.
    It works with the previous class only and not with updated one.
    Then I need to touch it. As soon as I touch it, webserver will take updated class file.
    Anybody has any idea regarding these situation?
    Is there any bug in my ServletForPrinting.java ?
    Any solution ????? Please suggest me.
    Suggestion from all are invited. That will help me a lot.
    Thanks in advance
    Deepalee.

    Llisas wrote:
    I solved the problem, I just had to wire the blocks in a sequential way (I still don't know why, but it works).
    Feel free to delete this topic.
    I would strongly suggest at least reading this tutorial to give you an idea of why your fix worked (or maybe only appeared to work).  Myself, I never just throw up my hands and say, "Whatever," and wash my hands of the situation without trying my best to understand just what fixed it.  Guranteed you'll run into the same/similar problem and this time your fix won't work.
    Please do yourself a favor and try to understand why it is working now, and save yourself (or more likely, the next poor dev to work on this project) some heartache.
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • How to use/sync single data (file) across multiple instances of same application

    Currently we have an application (a diagram editor), that have the ability to save and load (serialize) its state in a xml file.
    Now we want this application to behave like Microsoft OneNote application. Where multiple users have the ability to access the same file.
    Later we may also need to enhance with other things like, (1)what is changed and who changed it, (2)option to resolve conflicts if any.
    I came to know about sync framework to resolve this. so far, i have not tried it.
    All i want is,
    Virtually single file should be edited by multiple instances of same application.
    We need a dll (sync framework) that does following
    It takes complete responsibility of file handling.
    Using this dll, each instance of the application will notify their own changes.
    Each instance of the application should have the ability to detect the changes that is recently made (when, who, what are the changes).
    My question:
    Will sync framework be suitable for this requirement?
    If so, is there a demo application that represents this?
    - Jegan

    Seems like I have found the solution.
    In the taskflow there is a property named data-control-scope and I set it to isolated instead of the default (shared) and this seemed to do the trick.
    I can now have two instances of the same taskflow running with different ApplicationModules
    Cheers,
    Mark

  • Detecting multiple instances of same application on startup.

    How can I detect multiple instances of same application on startup? I would like to display a message to the user stating that the application is already running [and then close out].

    How can I detect multiple instances of same
    application on startup? I would like to display a
    message to the user stating that the application is
    already running [and then close out].Congratulations on being the bazillionth person to ask this kind of question without bothering to search the internet.

  • How to avoid multiple logins to same application

    Hi, I am using APEX version  4.2.1.00.08. I have a function for AD LDAP authentication. The authentication scheme has Set Cookie Attributes, Cookie Name SESSION_COOKIE. I have been using this for years on previous versions of APEX. As part of the 4.2 upgrade I would like it if users did not have to log in many times a day to the same application. I email links to the application, but even if they are already logged in, it opens page 101 in a new browser window and requires a second login. The email contains a link like this https://server/apex/f?p=102:2:::NO::P2_RECORDID:200000:/ I have read multiple posts, for example "Access two applications with one log in" and http://apps2fusion.com/at/64-kr/413-maintaining-authentication-between-apex-applications but I am still clueless. If a user has logged in once and has an APEX session, is it possible to click the link in the email without having to log in again to the same application? There is an after submit process Set Username Cookie and Onload Before Header process Get Username Cookie. Do I need Set Session Cookie and Get Session Cookie processes? Thanks for your time.
    Peter
    FUNCTION used for AUTHENTICATION SCHEME
    create or replace function ad_auth(
        p_username        in        varchar2,
        p_password        in        varchar2)
    return boolean
    is
        l_user            varchar2(256);
        l_ldap_server    varchar2(256)    := 'DC';
        l_domain        varchar2(256)    := 'servers';
        l_ldap_port        number            := 389;
        l_retval        pls_integer;
        l_session        dbms_ldap.session;
        l_cnt            number;
    begin
        l_user            := p_username||'@'||l_domain;
        l_session        := dbms_ldap.init( l_ldap_server, l_ldap_port ); -- start session
        l_retval        := dbms_ldap.simple_bind_s( l_session, l_user, p_password ); -- auth as user
        l_retval        := dbms_ldap.unbind_s( l_session ); -- unbind
        return true;
    exception when others then
        l_retval := dbms_ldap.unbind_s( l_session );
        return false;
    end;

    Hi Peter,
    I'm not familiar with LDAP but from a security point of view, I think it is wise to force your users to login if you sending them a link to a protected site. Just in case they forward the email or sharing the same computer. Could you post some of the code that you use to produce the email? It maybe that you need to concatenate &SESSION. where the session id would be in the url
    Regards,
    Alistair

  • Preventing multiple instances of same application - started with "java app"

    I need to ensure that only one instance of an application runs at any given time.
    As far as I know launching it twice with "java appName" will run each in its own memory space, so it is not immediately obvious how to achieve it. I considered using a database entry or environment variable, but those would need to be cleared on exit and therefore be at risk of not being cleared if the application crashes or hangs.
    Is there a Java API call that would allow me to do a check for other instances of the same application... safely?

    Create a ServerSocket on a fixed port number that isn't used by any other application. If you get a BindException, your application is alread running.

  • Adding multiple components in same direction ?

    Hi,
    I'm adding multiple child panels to a single parent panel. One of such child panel is "xPanel" as shown below. The problem is that all the 4 labels overlap each other i.e. main Panel only displays "11111" i.e the last JLabel added. I know that specifying direction (e.g BorderLayout.NORTH etc) will fix the overlap problem but I want all the lables in a single row i.e. XXXXX 00000 YYYYY 11111 ..... any suggestions how to fix this ?
              JPanel xPanel = new JPanel(new BorderLayout());
              xPanel .add(new JLabel("XXXXX:"));
              xPanel .add(new JLabel("00000"));
              xPanel .add(new JLabel("YYYYY:"));
              xPanel .add(new JLabel("11111"));
              mParentPanel.AddPanel(xPanel , BorderLayout.NORTH);          

    The default layout for a JPanel is the FlowLayout. Why did you change it do a BorderLayout?
    I suggest you read this section from the Swing tutorial on [url http://java.sun.com/docs/books/tutorial/uiswing/layout/visual.html]Using Layout Managers so you understand how they work.

  • Multiple Instances of Same Application Icons in iTunes App Folder

    I recently sync'ed my iPhone to iTunes on my MBP. After doing so I noticed that in the iTunes application folder there was 2 icons for each of my application that I have. Only one icon though on my iPhone. Running a sync a third time I got 3 icons in the applications folder for each application, but again only one instance of the application icon on my iPhone.
    I am not sure why this is occuring, but need some help to ensure that iTunes is reflecting the applications correctly.
    Why this is importance, is I can now no longer update my paid applications, via the iPhone and the Apps Store shows I need the same update 3 times, but will not download, as it claims the update was already performed.
    Something is messed up and need some guidance and help. PLEASE
    Thanks

    Yes, I migrated my iTunes directory, and after the migration, everything looked fine. Only one set of icons. It was not until I started to sync the itunes on my new MBP that the duplicating of icons started.
    I try to delete the duplicate icons, but in doing so it will delete the application on the iPhone.
    It there a registry that stores the icon to file associations?
    If I look in the music/iTunes/Mobile Applications folder there is only 1 instance of the *.ipa for each application. So why does iTunes have 3 copies of the icons pointing to the one *.ipa file. There must be an internal itunes registry that has made the icon associations. That is what needs cleaning out. I just do not know where that would be, given there is only one *.ipa file under the iTunes file structure.
    Can anyone help determine how to clean up the multiple icons?
    Thanks

  • Connecting to Remote EJB from Servlet in same application

    Please help!
    I was able to connect to SessionBeans and EJB from my sample java client in OCJ4 but when I try to do same thing from my web application using servlets, I get the below NullPointerException error.
    The JNDI lookup works fine using java client but difficult from a servlet.
    I am sure there is something I am missing.
    Thanks
    This is what I do in the servlet:
    public void init() throws ServletException, NamingException, CreateException, RemoteException
    Context jndiContext = getInitialContext();
    SessionCartEJBHome home = (SessionCartEJBHome)jndiContext.lookup("SessionCartEJBBean");
    sessionEJB = null;
    try{
    sessionEJB = (SessionCartEJB) home.create();
    }catch (Exception e)
    e.printStackTrace();
    private static Context getInitialContext() throws NamingException
    Hashtable env = new Hashtable();
    // Standalone OC4J connection details
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
    env.put(Context.SECURITY_PRINCIPAL, "admin");
    env.put(Context.SECURITY_CREDENTIALS, "admin");
    env.put(Context.PROVIDER_URL, "ormi://Princeton/ejb1");
    return new InitialContext(env);
    And when I call the following procedure, it blow up at the line sessionEJB.getLineItem(new Long(1304));
    sessionEJB is a class variable.
    void processCatalogPage(HttpServletRequest request,
    HttpServletResponse response,
    ActionMapping mapping,
    HttpSession session
    throws ServletException, IOException , Exception, FinderException{
    try {
    ActionForward actFor = null;
    String itemId = request.getParameter("id");
    if ( itemId != null ) {
    String[] itemIds = new String[1];
    itemIds[0] = itemId;
    sessionEJB.getLineItem(new Long(1304));
    actFor = mapping.findForward("catalog");
    return (mapping.findForward("success"));
    } catch (Exception ex)
    ex.printStackTrace();
    System.err.println(ex.toString());
    throw new EJBException(ex.toString());
    04/12/11 23:45:24 java.lang.NullPointerException
    04/12/11 23:45:24 at com.alashoofi.Cart.processCatalogPage(Cart.java:187)
    04/12/11 23:45:24 at com.alashoofi.Cart.execute(Cart.java:86)
    04/12/11 23:45:24 at org.apache.struts.action.RequestProcessor.processActi
    onPerform(RequestProcessor.java:484)
    04/12/11 23:45:24 at org.apache.struts.action.RequestProcessor.process(Req
    uestProcessor.java:274)
    04/12/11 23:45:24 at org.apache.struts.action.ActionServlet.process(Action
    Servlet.java:1482)
    04/12/11 23:45:24 at org.apache.struts.action.ActionServlet.doGet(ActionSe
    rvlet.java:507)
    04/12/11 23:45:24 at javax.servlet.http.HttpServlet.service(HttpServlet.ja
    va:740)
    04/12/11 23:45:24 at javax.servlet.http.HttpServlet.service(HttpServlet.ja
    va:853)
    04/12/11 23:45:24 at com.evermind.server.http.ServletRequestDispatcher.inv
    oke(ServletRequestDispatcher.java:765)
    04/12/11 23:45:24 at com.evermind.server.http.ServletRequestDispatcher.for
    wardInternal(ServletRequestDispatcher.java:317)
    04/12/11 23:45:24 at com.evermind.server.http.HttpRequestHandler.processRe
    quest(HttpRequestHandler.java:790)
    04/12/11 23:45:24 at com.evermind.server.http.HttpRequestHandler.run(HttpR
    equestHandler.java:270)
    04/12/11 23:45:24 at com.evermind.server.http.HttpRequestHandler.run(HttpR
    equestHandler.java:112)
    04/12/11 23:45:24 at com.evermind.util.ReleasableResourcePooledExecutor$My
    Worker.run(ReleasableResourcePooledExecutor.java:192)
    04/12/11 23:45:24 at java.lang.Thread.run(Thread.java:534)
    04/12/11 23:45:24 java.lang.NullPointerException
    Dec 11, 2004 11:45:24 PM org.apache.struts.action.RequestProcessor processExcept
    ion
    WARNING: Unhandled Exception thrown: class javax.ejb.EJBException

    Avi,
    Thanks for your response. I am actually returning a new InitialContext in a function call in the servlet. What I have noticed though is that JDeveloper creates two ear files for the application. One for the ejbs called ejb1.ear and another for the web files webapp1.ear. These are located in the applications subdirectory in OC4J directory.
    I know I have two projects in the application, model and viewController. I am just trying to follow the MVC pattern.
    In short, I don't think the web and the ejbs are in same ear file. I made the web project depend on the ejbs though. There is an option to set such. I don't know how to tell JDeveloper to put them all in one ear file.
    I will appreciate any suggestion.
    Thanks
    Matilda

  • JDev 11g: Multiple Instances of Same Application Using Same AppModule !?

    Hi Everyone,
    I'm having difficulties with multiple instances of taskflows and their application modules.
    I have a main application which has two separate instances of a taskflow (another application with it's own appmodule). I would like for the two separate instances to use separate instances of their application module but that is not happening.
    How can I set this up ? I would like instance 1 to have it's own application module and instance 2 to have it's own as well.
    Any thoughts ?
    Mark

    Seems like I have found the solution.
    In the taskflow there is a property named data-control-scope and I set it to isolated instead of the default (shared) and this seemed to do the trick.
    I can now have two instances of the same taskflow running with different ApplicationModules
    Cheers,
    Mark

  • SES Filter - Adding Multiple Filters with same custom attribute

    Hi,
    I have added custom search attributes and am able to add a filter to the doOracleSearch method.
    filter[0] = new Filter(new Integer(100), "NUMBER", "equals", 10020);
    Now I have to add another filter for same search attribute with or condition, how can I do that..
    I tried following..
    filter[0] = new Filter(new Integer(100), "NUMBER", "equals",10020);
    filter[1] = new Filter(new Integer(100), "NUMBER", "equals", 10049);
    But how do I specify it is or and the above code is not working.
    Thank you.
    Vasu.

    Here is an example of this using 11g. Note you will need to login programatically if data is secured.
    // Create search service and set SOAP URL
    OracleSearchService searchService = new OracleSearchService();
    searchService.setSoapURL("http://myserver:7777/search/query/OracleSearch");
    // Get data group to search
    DataGroup dataGroup = new DataGroup();
    dataGroup.setGroupName("MyGroup");
    DataGroup[] dataGroups = new DataGroup[1];
    dataGroups[0] = dataGroup;
    // Get list of all attributes to fetch
    Attribute[] attributesAll = searchService.getAllAttributes("en");
    ArrayList<Integer> attributeIds = new ArrayList<Integer>();
    for(Attribute a: attributesAll)
         attributeIds.add(a.getId());
    Integer attributeIdArrayAll[] = new Integer[attributeIds.size()];
    attributeIdArrayAll = attributeIds.toArray(attributeIdArrayAll);
    // Create filters (BE SURE THE FILTER ID IS CORRECT - I do not suggest you hard-code it but rather iterate through list of all attributes above and get ID that way)
    Filter[] myFilters = new Filter[2];
    myFilters[0] = new Filter(124, "Number", "EQUALS", "129224");
    myFilters[1] = new Filter(124, "Number", "EQUALS", "123730");
    // Query (BE SURE TO USE "or" as the operator between filters)
    OracleSearchResult result = searchService.doOracleSearch("", 0, 50, false, false, dataGroups, "en", null, true, "or", myFilters, attributeIdArrayAll);
    // Get count
    int hits = result.getEstimatedHitCount().intValue();
    // Print results
    ResultElement[] resElements = result.getResultElements();
    for(int i = 0; i < resElements.length; i++)
    // Get document
    ResultElement doc = resElements;
    Hope this helps!

  • Globally change values of multiple objects under same layer?

    It appears there is no way to do this but I'm going to ask any how in case I'm wrong.
    I have some 200 objects (individual dots for city names, all the same width and height) on a map, and all under one layer. I would like to change the size of these dots globally without selecting and editing each individual object. Using the selection or direct selection tool and selecting two or more dots treats them as a group rather than allowing me to change the all objects together. I have tried with each dot grouped and ungrouped, but each time two or more are selected the width and height of the size of the entire selected area surrounding the dots appears rather than the actual width and height size of the dots. Transform and Transform Each allows percentages, but I want to put in a specific width and height number for all the objects. I believe I once select all such objects in the past and then deselected one object which (as I recall) allowed me to enter specific the common width and height numbers for the objects, but this does not now work (if it ever did in the past). Any ideas? (Working in CS3)

    mbaka2 wrote:
    I use graphic styles all the time but never thought of using it via a symbol for the dot (too long in Freehand) [...]
    Hey, don't blame FreeHand! It has symbols, too!
    Be glad you were working with dots and not shield-shaped highway signs.
    FreeHand’s Find & Replace path shape, swap object with symbol (Library Panel), and set fixed dimensions (Object Panel) give the user several ways to do what you want to do. It’s not so easy in AI.
    James Talmage has written a useful ‘replace with symbol’ script. You can find it here:
    http://www.illustrationetc.com/AI_Javascripts/ReplaceScripts.htm
    See this discussion for James’ post on editing the script to keep the replacement symbol size uniform:
    http://forums.adobe.com/message/2026525#2026525
    I recently made a request for a ‘Transform each to fixed dimesions’ feature in AI. You can head over to the Feature Requests forum and add your vote, if you feel so inclined.
    http://forums.adobe.com/thread/447620?tstart=0

  • Problem in Adding two buttons under same column header (in JTable)

    Hi,
    I have a JTable and to a particular column i want to add two buttons.
    Here the two buttons should be under the same column header and i need to add listners to these.
    Any idea how to do this?
    Thanks & regards
    Neel

    Of course as your header is drawn by a renderer, the buttons don't actually work, but you can listen for mouse clicks within the area of the header and see which button the mouse position was over.
    See the Java Table Sorter Demo code for how to add a mouse listener to the header...
    http://java.sun.com/docs/books/tutorial/uiswing/components/example-1dot4/index.html#TableSorterDemo
    ....and from there you should be able to determine where in the component the click occured by using the getX() and getY() methods of the MouseEvent to determine which button in the renderer component was clicked. Use something like Rectangle.contains() to match the click location against the buttons.

  • Can you have multiple accounts under same apple id?

    We have 1 main apple id for our household so that anything we buy can be shared onto any of our devices. However this is a problem when we use giftcards. When 1 child redeems their gift card onto the account, they can't stop the other sibling from using their money accidentally. Is there a way to set-up separate subaccounts while still being able to share content among all of us?

    iCloud isn't designed as a multi-user service. Either you all have the same ID, and all your data is available to everyone, or you all have separate IDs and keep your data separate. You can share calendars, so that for example you could all have your own calendars but have one which is common to everyone:
    http://help.apple.com/icloud/#mm6b1a9479
    If you want to share contacts you will have to do it manually. If you want to do file transfer you will have to find a third-party alternative.

  • JDev11g : How to add java servlet under ADF security policies

    I'm trying to set a same login on http servlet ( i create it trough wizard in jDev ) as it is for other .jspx pages.
    I configured the jazn-data.xml and login ( user roles, realms ) is working fine.
    But i can't configure http servlet to be under this authorization.
    This problem occured when I was migrating from jDev 11g TP4 to production also from OC4J to WebLogic,
    but if I create a new http servlet I am also unable to put it under JAZN authorization.
    Thank you in advance for your help, Rok Kogovšek

    I reproduced problem on new test application, it was working fine until I set up ADF Security by wizard.
    I choose ADF Authentication and Authorization then Http Basic Authentication ( on real project is form based but probablly this doesn't matters )
    then for Identy store I chose Application XML, no automatic grants and without redirect.
    I also set inside web.xml this ( to put servlet under same login as other pages ).
    *&lt;security-constraint&gt;*
    *&lt;web-resource-collection&gt;*
    *&lt;web-resource-name&gt;testServlet&lt;/web-resource-name&gt;*
    *&lt;url-pattern&gt;/test&lt;/url-pattern&gt;*
    *&lt;/web-resource-collection&gt;*
    *&lt;auth-constraint&gt;*
    *&lt;role-name&gt;valid-users&lt;/role-name&gt;*
    *&lt;/auth-constraint&gt;*
    *&lt;/security-constraint&gt;*
    When I finish this i got same error as on first project.
    Here is whole error:
    oracle.jbo.common.ampool.ApplicationPoolException: JBO-30003: The application pool (oracle.fod.mobile.testModuleLocal) failed to checkout an application module due to the following exception:
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2262)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3086)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
    at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1395)
    at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1363)
    at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1335)
    at oracle.fod.mobile.testServlet.doGet(testServlet.java:22)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: oracle.adf.share.security.ADFSecurityAuthenticationException: JAAS login error.
    Invalid null input: name
    at oracle.adf.share.security.authentication.JAASAuthenticationService.doLogin(JAASAuthenticationService.java:120)
    at oracle.adf.share.security.authentication.JAASAuthenticationService.login(JAASAuthenticationService.java:89)
    at oracle.adf.share.security.authentication.JAASAuthenticationService.login(JAASAuthenticationService.java:71)
    at oracle.jbo.common.UserAznUtil.authenticate(UserAznUtil.java:62)
    at oracle.jbo.common.UserAznUtil.authenticateUser(UserAznUtil.java:29)
    at oracle.jbo.server.ApplicationModuleImpl.prepareSession(ApplicationModuleImpl.java:6387)
    at oracle.jbo.server.ApplicationModuleImpl.prepareSession(ApplicationModuleImpl.java:6356)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:171)
    at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8377)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4364)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2421)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2207)
    ... 25 more
    Caused by: javax.security.auth.login.LoginException: Invalid null input: name
    at javax.security.auth.login.LoginContext.init(LoginContext.java:229)
    at javax.security.auth.login.LoginContext.(LoginContext.java:367)
    at javax.security.auth.login.LoginContext.(LoginContext.java:444)
    at oracle.adf.share.security.authentication.JAASAuthenticationService.doLogin(JAASAuthenticationService.java:102)
    ... 36 more
    *And here is the sample application on which i reproduced this error [http://www.k-invent.si/doc/testServlet.zip|https://marvin/exchweb/bin/redir.asp?URL=http://www.k-invent.si/doc/testServlet.zip]*
    Thank you for your help, Rok Kogov&scaron;ek

Maybe you are looking for

  • Move Inventory Org to new OU

    We have created a new OU and need to move one of the Inventory Orgs to the new unit. Is this possible? I found the Copy Inventory Organization but it will not copy across OUs. Can the HRMS Heirarchy Workbench be used to do this? Any problems with doi

  • String.split() regular expression

    Regular expression escapes me. I have a line of a CSV file that looks like this: 1,,3,2,45.00,"This & That, LLC",0 I want the string split by commas but the problem with the line above is there's a comma in the name of the company...I obviously don't

  • Help with Rosetta install

    When I open a program that needs rosetta, it tells me "Network Diagnostic" and "Ok" Its not giving me the option to install from the internet like it should. I'm obviously connected to the internet, I'm posting this from it right now. I can load up f

  • Instantly restarts before loading Windows 7

    Heya, I've been using Bootcamp fine and dandy for a few months now but yesterday I struck a problem. I installed new Windows 7 updates and restarted my computer (as normal) but when my Mac tried to boot into Windows I get a black screen with a white

  • How to transfer Number file to ipad?

    Hello, When I finish the edit by application Number in iMac G5. I want to mail the number file to my another email box then download to check again by ipad. But it's falied again and again. How can I solve it?