Glad it works ... sorry, I just figured OC4J was another Oracle DB thingie :)
On 5/12/05, Trussell David N <[EMAIL PROTECTED]> wrote: > > > Bingo! I commented out the <security-constraint> tag and it all works > nicely. > > I made the assumption that most developers would know what OC4J in the > subject meant: Oracle Container for Java. It's based on Orion. My apologies. > > Thank you for all your patience and help, Brice! Now, where did I put that > hammer.... > > -----Original Message----- > From: Brice Ruth [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 12, 2005 11:59 AM > To: ibatis-user-java@incubator.apache.org > Subject: Re: Oracle OC4J and signon > > > > > can you find web.xml? there should be a <security-constraint> tag in there > ... that ties particular pages to a security restriction. > > I wasn't aware that this was running in Oracle's App server as well. If you > mentioned that earlier, I apologize. > > I've never used Oracle's App server ... so my help may be limited in this > area. > > On 5/12/05, Trussell David N <[EMAIL PROTECTED]> wrote: > > > > > > I can't find a context.xml. As far as I can see, a realm would be > > configured in jazn-data.xml and there are no entries in that file. > > > > I get one of these entries in my global-applications.log for each time > > the pop-up window is presented (meaning when I click "Sign-in" or > > "Enter the Store"). I'm not well-versed enough in Java to know what > > this means: > > > > 05/05/12 10:18:04 jpetstore: Servlet error > > java.lang.SecurityException > > at com.evermind[Oracle Application Server Containers for J2EE 10g > > > (10.1.2.0.0)].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2676) > > > > at com.evermind[Oracle Application Server Containers for J2EE > > 10g > > > (10.1.2.0.0)].server.http.HttpApplication.getLocalDispatcher(HttpApplication.java:4734) > > > > at com.evermind[Oracle Application Server Containers for J2EE > > 10g > > > (10.1.2.0.0)].server.http.HttpSite.getRequestDispatcher(HttpSite.java:341) > > > > at com.evermind[Oracle Application Server Containers for J2EE > > 10g > > > (10.1.2.0.0)].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:1368) > > > > at > > > org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1062) > > at > > > org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455) > > at > > > org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279) > > at > > > org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) > > at > > > org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) > > at > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:740) > > at > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > > at com.evermind[Oracle Application Server Containers for J2EE > > 10g > > > (10.1.2.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:810) > > > > at com.evermind[Oracle Application Server Containers for J2EE > > 10g > > > (10.1.2.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322) > > > > at com.evermind[Oracle Application Server Containers for J2EE > > 10g > > > (10.1.2.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790) > > > > at com.evermind[Oracle Application Server Containers for J2EE > > 10g > > > (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270) > > > > at com.evermind[Oracle Application Server Containers for J2EE > > 10g > > > (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112) > > > > at com.evermind[Oracle Application Server Containers for J2EE > > 10g > > > (10.1.2.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192) > > > > at java.lang.Thread.run(Thread.java:534) > > > > -----Original Message----- > > From: Brice Ruth [mailto:[EMAIL PROTECTED] > > Sent: Thursday, May 12, 2005 9:30 AM > > To: ibatis-user-java@incubator.apache.org > > Subject: Re: Oracle OC4J and signon > > > > > > > > > > Hmmm ... well, take a look at where the realm is configured. It would > > have to be in context.xml as well as be referenced in web.xml ... > > > > On 5/12/05, Trussell David N <[EMAIL PROTECTED]> wrote: > > > > > > > > > Yeah, j2ee/j2ee and ACID/ACID. But it doesn't accept either of those > > > two. > > > > > > -----Original Message----- > > > From: Brice Ruth [mailto:[EMAIL PROTECTED] > > > Sent: Thursday, May 12, 2005 9:09 AM > > > To: ibatis-user-java@incubator.apache.org > > > Subject: Re: Oracle OC4J and signon > > > > > > > > > > > > > > > Aha! This is basic realm authentication. I believe if you read the > > > docs for jPetstore, there's a default admin or guest user account you > > > can use to get in ... at least, I remember that from when I setup > > > jPetstore once upone a time! > > > > > > Brice > > > > > > On 5/12/05, Trussell David N <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > My apologies for attaching a screenshot. I understand that's > > > > frowned > > > > upon in a discussion list, but I don't know a better way of answer > > > > your question. It's the same window in Firefox and MS IE6. I assume > > > > it's an MS Windows window. Maybe I'll look at it as a Windows > > > > configuration problem instead of an OC4J trick. I'll check into the > > > > realm thing, too. Thank you very much for your reply. > > > > > > > > > -----Original Message----- > > > > > From: Daniel H. F. e Silva [mailto:[EMAIL PROTECTED] > > > > > Sent: Thursday, May 12, 2005 6:01 AM > > > > > To: ibatis-user-java@incubator.apache.org > > > > > Subject: RE: Oracle OC4J and signon > > > > > > > > > > > > > > > Hi David, > > > > > > > > > > What is this window? A MS Windows window? A basic realm > > > > > window? Have you checked if your webserver has any kind of > > > > > realm configured? Hope that helps. > > > > > > > > > > Cheers, > > > > > Daniel Silva. > > > > > > > > > > > > > > > > > > > > --- Trussell David N <[EMAIL PROTECTED]> wrote: > > > > > > It's the same database.properties file that's under Tomcat and > > > > > > that > > > > > > works just fine. > > > > > > > > > > > > I thought maybe the JDBC driver had to be in /WEB-INF/lib > > > > > > under > > > > > > jpetstore so I tried both classes12.jar and ojdbc14.jar. > > > > > Nope. I also > > > > > > put something totally bogus for the driver name in > > > > > database.properties > > > > > > and it didn't even complain (at least, anywhere I can see). > > > > > It's just > > > > > > pops up that window. > > > > > > > > > > > > Ya know, this is really maddening. I've spent two days > > > > > trying to get > > > > > > Appfuse running on OC4J with no success. Even Matt Raible > > > > > and company > > > > > > couldn't help me. Now it's the same thing with iBATIS. > > > > > Heavy sigh. I > > > > > > really wish I could just use Tomcat. > > > > > > > > > > > > > -----Original Message----- > > > > > > > From: Brice Ruth [mailto:[EMAIL PROTECTED] > > > > > > > Sent: Wednesday, May 11, 2005 2:38 PM > > > > > > > To: ibatis-user-java@incubator.apache.org > > > > > > > Subject: Re: Oracle OC4J and signon > > > > > > > > > > > > > > > > > > > > > Is your DB connection authenticating properly to Oracle? I > > > > > > > get this with DB2 if my password has expired or the account > > > > > > > has been locked out. > > > > > > > > > > > > > > Brice > > > > > > > > > > > > > > On 5/11/05, Trussell David N <[EMAIL PROTECTED]> > > > > > > > wrote: > > > > > > > > > > > > > > > > > > > > > > > > I've just deployed JPetStore to Oracle OC4J 10.1.2 (I've > > > > > > > > also > > > > > > > > tried > > > > > > > > 9.0.4) on Win XP and when I click Sign-in or "Enter the > > > > > Store" an > > > > > > > > authentication window pops-up asking for my userid and > > > > > password. I > > > > > > > > can't get past it. > > > > > > > > > > > > > > > > Where can I disable this? > > > > > > > > > > > > > > > > Thank you. > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > Brice Ruth > > > > > > > Software Engineer, Madison WI > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > __________________________________ > > > > > Yahoo! Mail Mobile > > > > > Take Yahoo! Mail with you! Check email on your mobile phone. > > > > > http://mobile.yahoo.com/learn/mail > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > Brice Ruth > > > Software Engineer, Madison WI > > > > > > -- > > Brice Ruth > > Software Engineer, Madison WI > > > -- > Brice Ruth > Software Engineer, Madison WI -- Brice Ruth Software Engineer, Madison WI