Authentication/Authorization in an application server independent way

Hello,
I want to implement form based authentication and URL authorization (role based) in JSF(+AJAX+REST) application.
I would like to use container manager authorization in an application server independent way. (e.g. using my code to authenticate against custom user database but using <security-constraint> of web.xml )
How do I do that ?
Else I would have to have implement authenticationAuthorizationFilter which reads URL permissions from custom XML file.
(Filter based security as application uses JSF and AJAX & REST services)
Are there other options ?
How is acegi ? Ease of use ?
Thank You.

I noticed a project *'SecurityFilter'* (http://www.securityfilter.org/). Anyone using it please share experiences.
I feel filter is the way to go, ensuring that in code that the 'forwards' are to authorized resources only. Direct GET/POST request to a protected resource will be protected by Filter.
All: Please comment.

Similar Messages

  • Authorization in Oracle Application Server

    Hello,
    I need to do something with Oracle Application Server. I want that Oracle takes some credentials from a smart card and then asks a web server (third part server) if these credentials are valid. How can I configure the OAS to solve this problem?

    Hi!
    This is possible. Check out the documentation of the SSO Admin Guide and look for third party integration.
    Maybe this could also be achieved with the new Oblix software.
    cu
    Andreas

  • Vendor-independent way to configure a DataSource

    Does anyone have advice on a app-server independent way to configure DataSources for a J2EE app? I currently define my connection pool in weblogic.properties, but I'm trying to get as much out vendor specific config files as possible.
    Thank you,
    Adam

    I remember that in weblogic6.0sp2 you can config a DataSource in a file named config.xml. and that file belong to a individual application(or a website? that project is not on my hands and I can not sure). Hope it can help you.
    Best Regards.

  • Transaction code used to upload the data in the application server SCM syst

    Hi
    Could you please anyone tell me the transaction code which has been used to upload the data into the application server in SCM ( APO) system from presentation server. 
    For ex : R/3 system CG3Y , CG3Z has been used to upload the data into application server similarly way could you please tell me the transaction code is used in the APO system for uploading the data into application server.
    Thanks advance for your support.
    Regards,
    Kiran

    try tcode SXDA_TOOLS - copy
    (1st you must fill all obligatory fields)
    A.

  • Authentication and authorization capability in weblogic application server

    Hi,
    Need input from architecture point of view -
    Requirement is typical - have to build a web center portal application with authentication and authorization capability.
    I can think of three architecture options:
    1. weblogic server (where webcenter portal application will be deployed) with oracle IDM (or any other full blown IDM suite)...
    2. weblogic server with Active Directory (or any other LDAP directory), and a LDAP authenticator is configured in weblogic...
    3. only weblogic server (users created in weblogic admin console)...
    Obviously 1st one is costliest option (product cost, infrastructure cost, maintenance cost) and most flexible. However I am discarding it purely because of cost.
    Confused between 2nd and 3rd.
    2nd option - separate user store, user can be added/deleted without touching application server, cost wise - 1 extra server and 1 LDAP directory product (or open source LDAP server)...
    3rd option - application server becomes very 'heavy' with all users information, you need to access server to add/delete users, probably cheapest option money wise... However it might affect application performance if users grow large...
    Please let me know if I should consider more parameters/points before deciding. Is there any important thing I am missing? Your input appreciated.
    Thanks.

    Hi,
    You are right your first requirement make more costly and complex environment.
    I would recommend to go with Second option instead of the third one.
    In cause in future if you want to use different server also you will have option to use external AD.
    Well now you will think why I recommend you second option instead of the third option.
    external LDAP is more secure than internal one.
    If you have any further query let me know.
    Regards,
    Kal

  • Authentication error while connecting to application server IntegratedWebL

    When I start the IntegrationWeblogicServer in JDeveloper11.1.1.3.0, the server can be started, the IntegratedWeblogicServer cann't be connected because of the authentication error.
    The integrated weblogic server can be started successfully outside the Jdevelper, and I never changed the password of user weblogic.
    <2010-8-24 下午02时55分17秒 CST> <Warning> <Server> <BEA-002611> <Hostname "ppan-cn.cn.oracle.com", maps to multiple IP addresses: 10.182.254.102, 192.168.174.1, 192.168.65.1>
    <2010-8-24 下午02时55分17秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <2010-8-24 下午02时55分17秒 CST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    User: weblogic, failed to be authenticated.
    **** Authentication error while connecting to application server IntegratedWebLogicServer. Please check settings.
    **** Failed to complete start-up of application server IntegratedWebLogicServer.
    [Server Instance IntegratedWebLogicServer is shutting down.  All applications currently running will be terminated and undeployed.]
    [Forcing termination of IntegratedWebLogicServer]
    taskkill /F /PID 748
    Process exited.
    What's wrong with the JDeveloper11.1.1.3.0? And How to fix it? Any help is appreciated in advance.
    _Paula                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi Paula:
    You may want to check if one of your applications has its own users and groups settings. If you define your own Application's users ang groups settings, you may need to uncheck the setting in JDeveloper ADF Security wizard to avoid overwriting the embedded WLS security settings. Otherwise, even you reset your embedded WLS or recreate it, its settings will be overwritten again once you run your application on it.
    The way to reset or recreate your embedded WLS is to follow Frank's tips.
    Good luck,
    Alex

  • Various ways to place a File in the Application Server.

    Hi all,
       What are the various ways to place a file in the application Server.
          Please classify them as shown below.
          1. Use of ABAP Code.
           2. Without the use of ABAP code.
    Regards

    Hi
    <b>1. Use of ABAP Code.</b>
    by writing code like this
    REPORT  ZSD_EXCEL_INT_APP.
    parameter: file_nm type localfile.
    types : begin of it_tab1,
            f1(20),
            f2(40),
            f3(20),
           end of it_tab1.
    data : it_tab type table of ALSMEX_TABLINE with header line,
           file type rlgrap-filename.
    data : it_tab2 type it_tab1 occurs 1,
           wa_tab2 type it_tab1,
           w_message(100)  TYPE c.
    at selection-screen on value-request for file_nm.
    CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
    EXPORTING
    *   PROGRAM_NAME        = SYST-REPID
    *   DYNPRO_NUMBER       = SYST-DYNNR
    *   FIELD_NAME          = ' '
       STATIC              = 'X'
    *   MASK                = ' '
      CHANGING
       file_name           = file_nm
    EXCEPTIONS
       MASK_TOO_LONG       = 1
       OTHERS              = 2
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    start-of-selection.
    refresh it_tab2[].clear wa_tab2.
    file = file_nm.
    CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
      EXPORTING
        filename                      = file
        i_begin_col                   = '1'
        i_begin_row                   =  '1'
        i_end_col                     = '10'
        i_end_row                     = '35'
      tables
        intern                        = it_tab
    EXCEPTIONS
       INCONSISTENT_PARAMETERS       = 1
       UPLOAD_OLE                    = 2
       OTHERS                        = 3
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    loop at it_tab.
      case it_tab-col.
       when '002'.
        wa_tab2-f1 = it_tab-value.
       when '004'.
        wa_tab2-f2 = it_tab-value.
      when '008'.
        wa_tab2-f3 = it_tab-value.
    endcase.
    at end of row.
      append wa_tab2 to it_tab2.
    clear wa_tab2.
      endat.
    endloop.
    data : p_file TYPE  rlgrap-filename value 'TEST3.txt'.
    OPEN DATASET p_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
    *--- Display error messages if any.
      IF sy-subrc NE 0.
        MESSAGE e001(zsd_mes).
        EXIT.
      ELSE.
    *---Data is downloaded to the application server file path
        LOOP AT it_tab2 INTO wa_tab2.
          TRANSFER wa_tab2 TO p_file.
        ENDLOOP.
      ENDIF.
    *--Close the Application server file (Mandatory).
      CLOSE DATASET p_file.
    loop at it_tab2 into wa_tab2.
      write : / wa_tab2-f1,wa_tab2-f2,wa_tab2-f3.
    endloop.
    Here is a pseudo code for what you are looking for-
    OPEN DATASET P_FLPTH FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
    IF SY-SUBRC eq 0.
    LOOP AT LT_TAB INTO LS_TAB.
    TRANSFER LS_TAB TO P_FLPTH.
    ENDLOOP.
    CLOSE DATASET P_FLPTH.
    if sy-batch = 'X'.
    write:/ 'File uploaded successfully'.
    else.
    message sXXX with 'File uploaded successfully'.
    endif.
    Else.
    if sy-batch = 'X'.
    write:/ 'Error in File upload'.
    else.
    message sxxx with 'Error in File upload'.
    endif.
    LEAVE PROGRAM.
    ENDIF.
    <b>2. Without the use of ABAP code.</b>
    CG3Y -
    Appl to Presentation server
    <b>Reward if useful</b>

  • Authorization Object for data downloading from application server

    Hi friends ,
       My program downloads and uploads data from the application server .
    My requirement is  ,
    Authorization checks should be performed on the Server directories to ensure that the user has access to read and write to the directory. It should check the s_dataset authorisation object for this.. If a user does not have the s_dataset authorisation object no upload or download should be allowed.
    Can you please tell me how to deal with this ? how do we check the above condition ??
    Many thanks ,
    Hemant

    hi,
    This is not a single step process.
    First of all you have to create a field for authorization for server directories from su20 and then create authorization object from su21.then define a role from pfcg with this authorization object and assign this role to user profile from su01 with values defined.
    Then you have to call this authorization object in your program at selection screen.

  • Authorization for the user to write/read/create a file in application serve

    Hi experts.
    I am uploading some data to a file in a folder in application server, created in AL11 tcode.
    In my program i need to restrict the unauthorized users to create/write/read a file in app server.
    I dont know how to do this.
    Kindly give me the code, please it wil be helpfull for you all.
    I dont know how to use the auth object or function module, to do this.
    Is the basis/security people need to do something.
    Kindly revert me back ASAP.
    KK

    Or use AUTHORITY_CHECK_DATASET function module before the open data set
    This function module allow you to check the user's authorization to access files (with the key words OPEN DATASET, READ DATASET, TRANSFER and DELETE DATASET). A check should be performed before opening a file.
    The authorization check is performed uwing the authorization object S_DATASET.
    Description of function parameters:
    PROGRAM: Name of the ABAP/4 program that contains the file access. If no program name is specified, the system assumes the current program.
    ACTIVITY: Access type. The possible values are:
    READ: Read file
    WRITE: Change file
    READ_WITH_FILTER: Read file with filter function
    WRITE_WITH_FILTER: Change file with filter function
    DELETE: Delete file
    FILENAME: Name of accessed file
    Example
    Notes
    The values to be passed as the ACTIVITY are defined as constants in the TYPE-POOL SABC.

  • A way to deploy an application to the Glassfish Application Server?

    Hi, there
    My question is: Is there a way to deploy a JEE 5 application to the Glassfish Application Server (Sun Application Server 9)?
    The fact is that I am developing a JEE5 Application with Eclipse 3.2M6 and as Application Server I am using the Sun´s Glassfish Ap Server. I Would like to migrate to JDeveloper so as to using all the tools JDeveloper offers for JSF Development, that are not offered by eclipse; but I do not want to change the application server because I like glassfish very much.
    I also ask you, please send any answer to this subject to my own email.
    Thanks in advance for your collaboration
    Alvaro E Martinez M
    [email protected]

    You can package standard EAR and WAR file in JDeveloper, and then use the glassfish utilities or an Ant script to deploy those.

  • Is there any way to upload Tariff Code (with multiple XML files) from application server?

    Hi All,
    Is there any way to upload Tariff Code (with multiple XML files) from application server?. Its urgent.
    Regards,
    Jatin

    Hi Jatin,
    Yes, of course you can upload multiple files for tariff codes.
    This can be done by the below path:-
    SAP GTS Cockpit(tcode-/sapsll/menu_legal)-->Customs Management-->Classification-->Classification Master Data-->Upload Tariff Code Numbers from XML file(tocde- /SAPSLL/LLNS_UPL101).
    In the above area after browsing and choosing the first file, please select multiple check box to choose more files as well. Then you can further select your application server and upload all those files in one go.
    PS:- Although, we have an option to upload multiple such files but actually we should avoid multiple file uploads due to various reasons. Hence, please take utmost care during such procedure.
    Regards,
    Aman

  • How to integrate Oracle Portal running on Oracle Application Server 10.1.2

    I have an Oracle Portal running on a Oracle Application Server 10.1.2.
    Portal is responsible ( along with OID ) for the users authentication and authorization.
    There is a new JEE application that was developed recently, which the Portal users must have access to.
    HOW can I put a link into a page of the Portal, that redirects the portal user to a new browser window displaying my new application?
    HOW can this new application, running in a separate weblogic 11g (10.3.5) server, automatically authenticate with the same username/password previously authenticated when the user logged into the portal?
    Any ideas?
    I´ve already thought in a bunch of ways to do it:
    - put a link into the portal with a sessionId, then when opening the new app, it automatically tries to use the same session. How can I configure this session id during the creation of the portal's page? How can I use it from the new app to use the same session?
    - put a link into the portal with a userid, then when opening the new app, it automatically tries to authenticate using a different authentication provider configurated in WL, which points to Portal´s OID. In this situation, how can I ensure that the user is already logged in and the session has not timed out?
    - Should I use OSSO?
    - Should I use OAM?
    Any help would be appreciated!
    Murilo

    Hi Murilo,
    A portletized version of your J2EE app would probably have been ideal for your purpose as it would handle both authentication (through SSO) and session information (through Portal framework as the framework can pass session information to the provider/producer). This would require changes to the application however.
    Easiest approach would be to use mod_osso to protect your J2EE application. SSO would then handle the authentication for your Portal and your J2EE application.
    Thanks,
    EJ

  • Petstore not working in J2EE1.4.1 beta2(with sunone application server)

    Hi,
    I have downloaded an installed J2EE1.4_beta2 , which has J2EE SDK, JRE , Sunone application server, and J2ee blueprints sample apps. I have installed properly as per the installation instruction. I am able to run Quickstart application. But when I try to run petstore the following error occurs..
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Populate exception occured :null
         at com.sun.j2ee.blueprints.petstore.tools.populate.PopulateServlet.doPost(Unknown Source)
         at com.sun.j2ee.blueprints.petstore.tools.populate.PopulateServlet.doGet(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:202)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:499)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:212)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:149)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:282)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:99)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:189)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
         at com.sun.j2ee.blueprints.signon.web.SignOnFilter.doFilter(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:202)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:499)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:212)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:178)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:232)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:99)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:189)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
         at com.sun.j2ee.blueprints.encodingfilter.web.EncodingFilter.doFilter(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:202)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:499)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:212)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:178)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:232)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:99)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:189)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:561)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1018)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:206)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:561)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1018)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2748)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:186)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:512)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at com.sun.enterprise.webservice.EjbWebServiceValve.invoke(EjbWebServiceValve.java:134)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:383)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:561)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1018)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:561)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1018)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:199)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:630)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:463)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:568)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:631)
         at java.lang.Thread.run(Thread.java:536)
    root cause
    javax.ejb.EJBException: Transaction aborted (possibly due to transaction time out).; nested exception is: javax.transaction.RollbackException: Transaction marked for rollback
         at com.sun.j2ee.blueprints.petstore.tools.populate.XMLDBHandler.endElement(Unknown Source)
         at org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:546)
         at org.apache.xerces.impl.dtd.XMLNSDTDValidator.endNamespaceScope(XMLNSDTDValidator.java:257)
         at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.java:1992)
         at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:902)
         at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(XMLNSDocumentScannerImpl.java:533)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1535)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:348)
         at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:539)
         at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:595)
         at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1125)
         at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
         at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
         at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
         at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
         at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
         at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
         at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
         at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
         at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
         at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
         at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
         at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
         at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
         at com.sun.j2ee.blueprints.petstore.tools.populate.PopulateServlet.populate(Unknown Source)
         at com.sun.j2ee.blueprints.petstore.tools.populate.PopulateServlet.doPost(Unknown Source)
         at com.sun.j2ee.blueprints.petstore.tools.populate.PopulateServlet.doGet(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:202)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:499)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:212)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:149)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:282)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:99)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:189)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
         at com.sun.j2ee.blueprints.signon.web.SignOnFilter.doFilter(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:202)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:499)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:212)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:178)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:232)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:99)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:189)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
         at com.sun.j2ee.blueprints.encodingfilter.web.EncodingFilter.doFilter(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:202)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:499)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:212)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:178)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:232)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:99)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:189)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:561)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1018)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:206)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:561)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1018)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2748)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:186)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:512)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at com.sun.enterprise.webservice.EjbWebServiceValve.invoke(EjbWebServiceValve.java:134)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:383)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:561)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1018)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:561)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1018)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:199)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:630)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:463)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:568)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:631)
         at java.lang.Thread.run(Thread.java:536)

    Hello,
    I have the exact same problem, but i am using JDK1.4.2 and JDKEE1.3.1
    have you figured out how to solve the problem ?
    By the way, which database server are you using ?
    Thanks

  • Application Server 10.1.3.10 + Enclipse. Page cannot be found.

    Hello, i am running the application Server 10.1.3.10 and use Eclipse as an IDE.
    Creating projects through Eclipse and publish them on Tomcat works fine.
    Things start to go wrong when Eclipse is combined with Oracle AS to publish even a simple jsp page.
    After creating a dynamic web project and trying to run a jsp page on the Oracle server i get following warning in the logs.
    _10/03/02 13:42:29 log4j:WARN No appenders could be found for logger (wsif)._
    _10/03/02 13:42:29 log4j:WARN Please initialize the log4j system properly._
    _10/03/02 13:42:29 Warning: Unable to set up connection factory for a resource adapter in esb-dt: Error creating a ResourceAdapter implementation class. Error creating a JavaBean of class 'oracle.tip.esb.server.bootstrap.DesignTimeResourceAdapter: javax.resource.spi.ResourceAdapterInternalException: java.lang.RuntimeException: failed to get ESB_HOME: java.lang.NullPointerException_
    _10/03/02 13:42:29 Warning: Unable to set up connection factory for a resource adapter in esb-rt: Error creating a ResourceAdapter implementation class. Error creating a JavaBean of class 'oracle.tip.esb.server.bootstrap.RuntimeResourceAdapter: javax.resource.spi.ResourceAdapterInternalException: java.lang.RuntimeException: failed to get ESB_HOME: java.lang.NullPointerException_
    10/03/02 13:42:35 Confluent Config: Loading configuration file config.xml
    10/03/02 13:42:35 Confluent Config: "${config.path}" is resolved to "config.properties"
    10/03/02 13:42:35 Confluent Config: "${gateway.default.config.path}" is resolved to "gateway-config-installer.properties;gateway-config-common.properties"
    10/03/02 13:42:35 Confluent Config: Loading property file config.properties
    10/03/02 13:42:35 Confluent Config: Loading property file gateway-config-installer.properties
    10/03/02 13:42:35 Confluent Config: Loading property file gateway-config-common.properties
    10/03/02 13:42:35 Confluent Config: Loading configuration file config.xml
    10/03/02 13:42:35 Confluent Config: "${config.path}" is resolved to "config.properties"
    10/03/02 13:42:35 Confluent Config: "${gateway.default.config.path}" is resolved to "gateway-config-installer.properties;gateway-config-common.properties"
    10/03/02 13:42:35 Confluent Config: Loading property file config.properties
    10/03/02 13:42:35 Confluent Config: Loading property file gateway-config-installer.properties
    10/03/02 13:42:35 Confluent Config: Loading property file gateway-config-common.properties
    10/03/02 13:42:35
    ConnectionPoolManager gateway.foundationservice intialized with url=jdbc:polite4@localhost:1531:orawsm driver=oracle.lite.poljdbc.POLJDBCDriver user=system maxConn=5
    10/03/02 13:42:35 Gateway component started
    10/03/02 13:42:36 Confluent Config: Loading configuration file config.xml
    10/03/02 13:42:36 Confluent Config: "${config.path}" is resolved to "config.properties"
    10/03/02 13:42:36 Confluent Config: "${policymanager.default.config.path}" is resolved to "policymanager-config-installer.properties;policymanager-config-common.properties"
    10/03/02 13:42:36 Confluent Config: Loading property file config.properties
    10/03/02 13:42:36 Confluent Config: Loading property file policymanager-config-installer.properties
    10/03/02 13:42:36 Confluent Config: Loading property file policymanager-config-common.properties
    10/03/02 13:42:36
    ConnectionPoolManager PolicyRepository intialized with url=jdbc:polite4@localhost:1531:orawsm driver=oracle.lite.poljdbc.POLJDBCDriver user=system maxConn=5
    10/03/02 13:42:36
    ConnectionPoolManager ComponentRepository intialized with url=jdbc:polite4@localhost:1531:orawsm driver=oracle.lite.poljdbc.POLJDBCDriver user=system maxConn=5
    10/03/02 13:42:36 Policy Manager component started
    10/03/02 13:42:36 Confluent Config: Loading configuration file config.xml
    10/03/02 13:42:36 Confluent Config: "${config.path}" is resolved to "config.properties"
    10/03/02 13:42:36 Confluent Config: "${ui.default.config.path}" is resolved to "ui-config installer.properties;ui-config-common.properties"
    10/03/02 13:42:36 Confluent Config: Loading property file config.properties
    10/03/02 13:42:36 Confluent Config: Loading property file ui-config-installer.properties
    10/03/02 13:42:36 Confluent Config: Loading property file ui-config-common.properties
    10/03/02 13:42:36 Authentication Provider is:com.cfluent.accessprovider.sampledb.LocalDBAuthProvider
    10/03/02 13:42:36
    ConnectionPoolManager Component Repository Pool intialized with url=jdbc:polite4@localhost:1531:orawsm driver=oracle.lite.poljdbc.POLJDBCDriver user=system maxConn=5
    10/03/02 13:42:36
    ConnectionPoolManager UI Pool intialized with url=jdbc:polite4@localhost:1531:orawsm driver=oracle.lite.poljdbc.POLJDBCDriver user=system maxConn=5
    10/03/02 13:42:36 Confluent UI component started
    10/03/02 13:42:36 Corda Servlet Environment Initialized
    10/03/02 13:42:39
    Corda Server (PopChart) Version 6.0.597
    PopChart: Valid Key.
    OptiMap: No key entered, or key invalid.
    Highwire: No key entered, or key invalid.
    Cluster: No key entered, or key invalid.
    10/03/02 13:42:39 Copyright 1997 - 2004, Corda Technologies, Inc. (www.corda.com) Protected by U.S. Patent 5,933,830. Other patents pending.
    10/03/02 13:42:39
    10/03/02 13:42:39 server_root: C:/oracle/Application_Server/owsm/lib/corda
    10/03/02 13:42:39 chart_root: chart_root
    10/03/02 13:42:39 Password is Enabled, Required for Save
    10/03/02 13:42:39 Maximum Threads: 64
    10/03/02 13:42:39 Default Image Type is: Flash
    10/03/02 13:42:39 Auto Detect PNG Support. Compression Mode: DEFAULT
    10/03/02 13:42:39
    10/03/02 13:42:41 Confluent Config: Loading configuration file config.xml
    10/03/02 13:42:41 Confluent Config: "${config.path}" is resolved to "config.properties"
    10/03/02 13:42:41 Confluent Config: "${monitor.default.config.path}" is resolved to "monitor-config-installer.properties;monitor-config-common.properties"
    10/03/02 13:42:41 Confluent Config: Loading property file config.properties
    10/03/02 13:42:41 Confluent Config: Loading property file monitor-config-installer.properties
    10/03/02 13:42:41 Confluent Config: Loading property file monitor-config-common.properties
    10/03/02 13:42:44 Rmi Registry is started on port 3118
    10/03/02 13:42:44 Confluent Monitor component started
    10/03/02 13:42:44 Oracle Containers for J2EE 10g (10.1.3.1.0) initialized
    I have looked for those warnings and found that those warnings can be ignored. Then i get a confirmation
    that "Build was successful"
    Buildfile: C:\Program Files\Eclipse\eclipse\plugins\org.eclipse.jst.server.generic.oc4j_1.5.206.v20090812\buildfiles\oracle.10.1.3.xml
    check.skip.web.deploy:
    deploy.j2ee.web:
    BUILD SUCCESSFUL
    Total time: 625 milliseconds
    The point is that on my IDE (Eclipse the page is not being displayed getting an error "The webpage cannot be found" .
    The only way i could publish the jsp is to copy it to the APPLICATIONSERVER_HOME\j2ee\home\default-web-app
    and access it through http://localhost:8888/projectname/foo.jsp
    What could be wrong?
    Edited by: user12711529 on Mar 2, 2010 6:39 AM

    If you have deployed the both applications to the same OC4J instance, then you can't do it.
    If you have deployed the two applications to different OC4J instance, you could edit the config file under j2ee/home/config directory - default-web-site.xml.

  • Looking for file in the application server.

    Hello expert,
              I want to download a file from SAP application server, but when I get into file system for application server by AL11 , I can't find out the folder for my file, why?  is that authority issue or I did the wrong way to get into the system?  appreciate very much for your help.
    Many Thanks,

    Hi,
    At AL11, if you have the proper authorizations, you should see a Configure button.  After that, enter:
    - Directory Name:
    server-name\directory
    - Param. Name: Z_<directory>
    - ServerName: all
    Then, click on Save.
    Take into account that SAPServiceSID user should have read access to the share.
    Regards,
    Maximiliano

Maybe you are looking for

  • Error in MB90-GR O/P

    Hi guru's Can anybody help me, while working in T.code MB90- to get a GR print out. I m getting error like "No messages for initial processing exists".. I dont know how clear this .. urgent Thanks sap-mm

  • Replaced iphone 3Gs will not sync with itunes

    Hi, First timer on this forum, read through all questions but could not find a related Q&A to my problem so hopefully someone can offer some help. I received a replacement iphone from apple but it is not being recognized by itunes on my macbook. My n

  • Opening Premier Elements 3.0 Project in Premier Pro CS3!

    Hi When I try to open the project that is saved in PE into PPRO CS3, all the media files are seen, but nothing on the timeline. Is it not compatible? I want to edit the composition and clips in CS3, is it possible? Or is there a way I can convert the

  • Communication channel - cache problem?

    Hi experts, sometimes when I change parameters in communication channels that have thrown an error (in order to solve the problem), this modification is not immediatly working after activation of CC: the CC still works with old configuration. To solv

  • How do I add applications in Launchpad?

    I recently just installed Adobe Creative Cloud (I had CS6 previously)  onto my Macbook Pro and noticed after I downloaded the creative cloud programs that the CS6 icons on the launchpad were gone (Only showing the Creative Cloud icons). The CS6 progr