Problem testing the application: Acces forbiden

I' m having the following problem: I have an application that uses Form-based authentification. It works fine in the Embedded Oc4j Server.
I deployed it to the Standalone Oc4j, witch is instaled on my computer, using the Enterprise Manager. The deployment is succsesfull. But when i try to acces the application using http://localhost:8888/<context-root> i get the message 'Acces forbiden' from my browser.
Any ideas what could it be?
Thanks.

So..I'm using JDev Studio Edition Version 10.1.3.1.0 and the OC4J version is 10.1.3.1.0.
Here is the web.xml file:
<?xml version="1.0"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">
<description>Empty web.xml file for Web Application</description>
<display-name>RULAJE-WEB</display-name>
<servlet>
<display-name>Faces Servlet</display-name>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>35</session-timeout>
</session-config>
<mime-mapping>
<extension>html</extension>
<mime-type>text/html</mime-type>
</mime-mapping>
<mime-mapping>
<extension>txt</extension>
<mime-type>text/plain</mime-type>
</mime-mapping>
<welcome-file-list>
<welcome-file>http://localhost:8888/Rulaj/rulaj.jsp</welcome-file>
</welcome-file-list>
<jsp-config>
</jsp-config>
<security-constraint>
<web-resource-collection>
<web-resource-name>rulaje</web-resource-name>
<url-pattern>/faces/app/*</url-pattern>
<http-method>*</http-method>
</web-resource-collection>
<auth-constraint>
<role-name>user</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>FORM</auth-method>
<form-login-config>
<form-login-page>/infrastructure/log.jsp</form-login-page>
<form-error-page>/infrastructure/error.jsp</form-error-page>
</form-login-config>
</login-config>
<security-role>
<role-name>user</role-name>
</security-role>
<ejb-local-ref>
<ejb-ref-name>ejb/RulajCardFacade</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<local>bt.rulaje.business.RulajCardFacadeLocal</local>
<ejb-link>RulajCardFacade</ejb-link>
</ejb-local-ref>
</web-app>
And the application.xml file is:
<?xml version = '1.0' encoding = 'windows-1252'?>
<application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd" version="5" xmlns="http://java.sun.com/xml/ns/javaee">
<display-name>Deployment-application</display-name>
<module>
<ejb>RULAJE-EJB.jar</ejb>
</module>
<module>
<web>
<web-uri>RULAJE-WEB.war</web-uri>
<context-root>Rulaj</context-root>
</web>
</module>
</application>
The orion_web.xml is:
<?xml version="1.0"?>
<orion-web-app
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/orion-web-10_0.xsd" deployment-version="10.1.3.1.0"
deployment-time="1163763338868"
jsp-cache-directory="./persistence"
jsp-cache-tlds="standard"
simple-jsp-mapping="false"
temporary-directory="./temp"
directory-browsing="allow"
context-root="Rulaj"
schema-major-version="10" schema-minor-version="0" >
<!-- Uncomment this element to control web application class loader behavior.
<web-app-class-loader search-local-classes-first="true" include-war-manifest-class-path="true" />
-->
<security-role-mapping name="user">
</security-role-mapping>
<web-app>
</web-app>
</orion-web-app>
In the log of the application I have:
06/11/17 13:40:46.219 RULAJE-WEB: Servlet error
javax.servlet.jsp.JspException: Cannot find FacesContext
     at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:427)
     at com.sun.faces.taglib.jsf_core.ViewTag.doStartTag(ViewTag.java:125)
     at app.rulaj._jspService(_rulaj.java:77)
     at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.1.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
     at java.lang.Thread.run(Thread.java:595)
I guess this is the problem, but i don't know how to solve it..
From JDev i've instaled ADF runtime for the standalone 0c4j, even if i don't know if i need it or not.
When I've created the application, I've choosen Application Template: Web Aplic-JSF, EJB, TopLink.
Probably it's just a silly question, but I'm a beginner.
So, thanks again.
Roxi

Similar Messages

  • When I try to open contacts from the icloud control panel on my windows 7 PC, I get an error message: can't load contacts. There was a problem loading the application.

    When I try to open contacts from the icloud control panel on my windows 7 PC, I get an error message: can't load contacts. There was a problem loading the application.

  • Problem releasing the application module after upgrade to 11.1.1.2

    We have recently upgraded from JDeveloper 11.1.1.1 to 11.1.1.2.
    In the "tearDown()" method in our Unit Tests, the Application Module is realeased using:
    private ApplicationModule am;
    Configuration.releaseRootApplicationModule(am, true);
    Alter the upgrade, this produces the following error:
    oracle.jbo.JboException: JBO-33025: Failed to release application module MapServiceGlobal. Cookie handle not found.
    Please Help.
    FYI - this is the code that is used to create the application module:
    Hashtable env = new Hashtable(2);
    env.put(JboContext.INITIAL_CONTEXT_FACTORY,JboContext.JBO_CONTEXT_FACTORY);
    env.put(JboContext.DEPLOY_PLATFORM, JboContext.PLATFORM_LOCAL);
    try
    InitialContext ic = new InitialContext(env);
    ApplicationModuleHome home = (ApplicationModuleHome)ic.lookup(rootAM);
    am = home.create();
    catch (NamingException nex)
    /* Handle the error here if you don't find it */
    throw new NamingException("Application Module naming exception " + rootAM + " : " + nex.getMessage());
    /* Connect the AM to a database connection */
    am.getTransaction().connect(jdbcConnectionURL);
    * Set the bundled exception mode so that exceptions are thrown in the
    * same way as when we're running in the web application.
    am.getTransaction().setBundledExceptionMode(true);
    Thanks,
    -Spiro

    Hi,
    I used OCEP 10.3.0.0 and upgraded the wlevs30 domain to PS6(11.1.1.7.0). and it worked without such error.
    My experience is:
    1) in OCEP 10.3.0.0 it needs not to add the security groups in atnstore.txt
    2) you need to add <scratch-directory/> for Jetty in server's config.xml otherwise you will see the visualizer takes a long time to get up on Windows
    Thanks
    Junger

  • There was a problem loading the application

    I find that I can log into iCloud with no problem but after, that every time I try to open an app I get the message
    "there was a problem loading the application"
    I'm using Safari 7.0.5
    This has been going on for quite some time and during that period I've read many threads and followed various trouble shooting guides but I can't solve it. I really would appreciate any suggestions that you might care to offer.

    Downloading Safari 5.1.7 will work, or at least that's how I now access iCloud and run the Apps. IE9 64-bit will also work. On my system it appears that IE9 32-bit has a problem with iCloud due to Norton Internet Security. When Norton's "Browser Protection" is disabled, IE9 32-bit works for me.
    With Safari, I set its Homepage to iCloud so I'd have a direct link to the iCloud website.

  • I'm having a problem with the application Dropbox and I want to uninstall it. In finder it does not allow me to move it to trash telling me the dopbox application is open. How do I close it? when it shows up nowhere as an open application?

    I'm having a problem with the application Dropbox and I want to uninstall it. In finder it does not allow me to move it to trash telling me the dopbox application is open. How do I close it? when it shows up nowhere as an open application?

    Is there a DropBox icon up in the menubar you can click on & see quit DropBox?
    https://www.dropbox.com/help/41

  • HT204053 Hi all, I am constantly running into problems opening iCloud services (mail, calendars, iWork's, etc.). I get a message stating i.e. Can't load Mail (Calendar, iWork), There was a problem loading the application. Does anybody know what a heck is

    Hi all, I am constantly running into problems opening iCloud services (mail, calendars, iWork's, etc.). I get a message stating i.e. Can't load Mail (Calendar, iWork), There was a problem loading the application. Does anybody know what a heck is going on?

        I can see that this issue has been quite extensive, and frustrating, and I am so sorry for all that has happened societygirl! I would like to help you work this issue out. Please follow & send me a Direct Message, so I can get your account specifics and help finally bring this to a resolution.
    Thank you,
    MichelleH_VZW
    Follow us on Twitter @VZWSupport

  • TS3376 I was able to use the findmyiphone app last week, but now I have been getting an error message "Can't load findmyiphone.  There was a problem loading the application."  please help as we are trying to locate an ipod with pics of a no deceased loved

    I was able to use the findmyiphone app last week, but now I have been getting an error message "Can't load findmyiphone.  There was a problem loading the application."  please help as we are trying to locate an ipod with pics of a no deceased loved one.

    Had the same problem and the same message --  was suddenly unable to access icloud apps on my pc, also using Windows 7 and Internet Explorer. After several days of pulling my hair out, decided to try a different browser and was able to get in by using Firefox instead of Internet Explorer.  Hope this helps. 

  • HT1338 I can;t open my iCloud account, the message I get is: there was a problem loading the application

    Hi, After login into my iCliud account and click on any of the application to open, this is the message I get: there was a problem loading the application.
    please kindly help.
    John Awe

    . nice one.. it only because my date was wrong.. thank you so much for the links.

  • ICloud on an iMac is unable to load mail. Message " Can't load mail. There was a problem loading the application. )

    I can not access my mail on my desktop. The problem is persistant and the only message I get is " Can't load mail. There was a problem loading the application. )

  • Can't Load Mail - There was a problem loading the application

    I can't access mail on iCloud after signing, and get this error message:
    Can't Load Mail
    There was a problem loading the application
    I can see that there are five emails waiting for me.
    Any thoughts on what's going wrong, please?

    Open System Preferences > iCloud
    Deselect the box next to Mail then reselect it.
    Then try accessing your mail.
    It may take a minute or two for iCloud to re sync the data.

  • When i go to the icloud page and click find my phone, i get a box that says "can't load find my iphone.  There was a problem loading the application".  What do I do now?  Thank you

    When i go to the Icloud page and i click on find my Iphone, I get a message that says "Can't load Find my Iphone. There was a problem loading the application." What do I do now.  Thank you

    Mail has been down all morning. Pacific time. California here.
    Since 7am PST - it's 11:36 am right now. still down.
    It's a routine maintenance issue I was told. - but very frustrating not to know ahead of time.

  • Time machine problem? The application Finder.app can't be opened -10810

    I've got a Snow Leopard system with an external FireWire Maxtor drive that has been set to be a Time Machine archive of the internal drive. I'm noticing the following problem (twice so far) which may or may not be TM related. I leave my machine and come in the morning; Time Machine says no backup happened since 7:45pm last night. I notice the file system is acting weird - can't open any of the disks from the desktop. I try to restart the Finder, and it says "The application Finder.app can't be opened -10810" - won't start the Finder! So, I had to reboot (and disconnected the FW drive). I'll try it for a couple of nights without the TM machine and see what happens. The reason I suspect TM is that sometimes I see the icon on the TM disk change from the blue/gray TM icon back to its native FW disk icon, and sometimes I see a message that says "Can't find disk" or something similar for that external drive.
    Any ideas? Should I be looking for an external drive from another vendor, or will it be the same thing? Does TM have problems associated with Finder and error -10810? How do I debug?
    Mike

    Jamie Curmi wrote:
    No, I tried different drives, and it made no difference.
    In the end I turned it off, and did backups with SuperDuper!.
    funny you should mention SuperDuper. When you had this problem, did you have SuperDuper scheduled to back up other drives? I have a theory, which I'll test eventally. For some reason, this TM problem only happened at night - not all the times it activated (every hour) during the workday. Why?!? Well, one thing that happens at night for me is a scheduled SuperDuper backup of the same drive (the one TM is backing up) onto a mirror drive (not the one TM is writing to).
    Maybe that's when the freeze occurs - when they both coincide at night? I'd think that the Unix-base of OS X shouldn't have any problems when two apps are reading one disk and at the same time, but maybe TM and SuperDuper are both doing some sort of low-level reads that can't be done at the same time? What do you think - might this explain your issues also?
    Mike

  • Problems with the Application Module Pool

    Hello,
    We have an Oracle ADF Application working in a production enviroment. The application module pool seems to work properly during the first days, but after a few days, the application module pool seems not to work properly. We start to get some errors like JBO-30003: the application pool failed to checkout an application module.
    We have included in the application a DumpPoolStatistics servlet, and what we have observed is:
    1. When the application is restarted in the server, the "total number of application modules in the pool" is equal to "maximum number of application modules in the pool".
    2. Several days after, the "total number of application modules in the pool" starts to decrease.
    We don't know why the "total number of application modules in the pool" starts to decrease, but we think this is the reason of the errors. In fact, "total number of application modules in the pool" is lower than the "jbo.ampool.minavailablesize" parameter value.
    The management of the application module pool is not a task of the developer, so we don't undestand where is the problem.
    We have configured the application module with the next parameters:
    <jbo.ampool.initpoolsize>10</jbo.ampool.initpoolsize>
    <jbo.ampool.maxpoolsize>100</jbo.ampool.maxpoolsize>
    <jbo.ampool.minavailablesize>10</jbo.ampool.minavailablesize>
    <jbo.recyclethreshold>15</jbo.recyclethreshold>
    <jbo.ampool.maxinactiveage>600000</jbo.ampool.minavailablesize>
    <jbo.ampool.monitorsleepinterval>600000</jbo.ampool.monitorsleepinterval>
    <jbo.initpoolsize>15</jbo.initpoolsize>
    <jbo.maxpoolsize>30</jbo.maxpoolsize>
    <jbo.poolminavailablesize>15</jbo.poolminavailablesize>
    <jbo.poolmaxavailablesize>25</jbo.poolmaxavailablesize>
    <jbo.poolmonitorsleepinterval>30000</jbo.poolmonitorsleepinterval>
    <jbo.poolmaxinactiveage>30000</jbo.poolmaxinactiveage>
    <jbo.dofailover>true</jbo.dofailover>
    <jbo.ampool.resetnontransactionalstate>true</jbo.ampool.resetnontransactionalstate>
    <jbo.ampool.doampooling>true</jbo.ampool.doampooling>
    We are working with JDeveloper 10.1.3.4.
    Thanks in advance!

    Sorry, you are right, the number of application modules created whe the application starts is given by the jbo.ampool.initpoolsize. But what it is sure is that the "total number of application modules in the pool" starts to decrease. The number of days is not always the same. But we have to restart the application occasionally.
    I think the time parameters are ok, I would like for example 10 minutes for pool resoruce cleanup, and 10 minutes for considering an inactive AM instance in the pool as a candidate for removal during the next resource cleanup.
    <jbo.ampool.monitorsleepinterval>600000</jbo.ampool.monitorsleepinterval> --> 10 minutes
    <jbo.ampool.maxinactiveage>600000</jbo.ampool.minavailablesize> --> 10 minutes
    Is this right?

  • Debugging and troubleshooting and testing the application

    hi,
    I have created an application but have no idea how do i Debug the application can some one please tell me how to carry out the debugging.The other thing i wanted to know is how to carry on the testing and what are the tools used for it. How do i troubleshoot the application.
    thanx in advance............

    Hi Rommy,
    How to debug development in APEX is a fairly broad question but you can may try some of the following:
    1.) Debug mode while developing
    2.) I see many others use Firefox and many of its Add-ons while developing
    3.) Others publish there issues to the Oracle site and allow public access by the forum members to troubleshoot.
    Many you could reply to this thread or create other threads with specific issues you are having and go from there.
    Jeff

  • Test the application with simulator

    I have developed a SMS Applicatiion using GSM Modem,but i want to test this application with a Simulator which acts as GSM Modem before installing a real GSM Modem for the Application.If any one anyone has come across this application pls help me out regarding this.

    I suggest you ask your question over at the Access Developer Network:
    ACCESS Developer Network 
    They have their own forums, populated by develpers.   These forums here are basically for new users.
    WyreNut
    Post relates to: Centro (AT&T)
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

Maybe you are looking for