Re: Changing from BASIC authentication to FORM-based
Did you restart Tomcat after making the web.xml change? It's been my experience that authentication method changes like this actually get handled from deeper within Tomcat's internal code, not just the application, and the only way to register the change is by a full restart. Brent Sims Systems Analyst 2 KC Human Services - Road rage, air rage. Why should I be forced to divide my rage into separate categories? To me, it's just one big, all-round, everyday rage. I don't have time for fine distinctions. I'm too busy screaming at people. - George Carlin >>> [EMAIL PROTECTED] 04/09/05 11:00 AM >>> I have Tomcat 5.5.4 running on WindowsXP with BASIC authentication working via the Memory Realm and it works fine. I want to change to FORM-based authentication. I've 'BASIC' to 'FORM' in web.xml and have a logon.html page with a form action="j_security_check" (but it gives a HTTP 408 timeout error immediately... any ideas? Are there any online tutorials to help configure this? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
re: Tomcat-juli in 5.5.9
For the record, I found the jar in the bin folder -- it was my eyes after all. Still cannot get it to work but that's another story and one I haven't had time for.... Brent Sims Systems Analyst 2 KC Human Services - Road rage, air rage. Why should I be forced to divide my rage into separate categories? To me, it's just one big, all-round, everyday rage. I don't have time for fine distinctions. I'm too busy screaming at people. - George Carlin
Tomcat-juli in 5.5.9
Did the tomcat-juli jar not make the release of 5.5.9 or is this something I need to build separately? I can't seem to locate the jar in the zip download, which could very well just be my eyes. Thanks Brent Sims Systems Analyst 2 KC Human Services - Road rage, air rage. Why should I be forced to divide my rage into separate categories? To me, it's just one big, all-round, everyday rage. I don't have time for fine distinctions. I'm too busy screaming at people. - George Carlin
(OT) RE: Location of javascript files.
That error indicates an IE specific error in the javascript code, usually a null variable object that Firefox will gracefully ignore. I've run into that a few times; isn't Microsoft grand? Brent Sims Systems Analyst 2 KC Human Services - Road rage, air rage. Why should I be forced to divide my rage into separate categories? To me, it's just one big, all-round, everyday rage. I don't have time for fine distinctions. I'm too busy screaming at people. - George Carlin >>> [EMAIL PROTECTED] 3/29/2005 3:49:38 AM >>> -Original Message- From: Peter Crowther When I convert > the jsp file to /project/WEB-APPS/class/x.class > > where would you expect the javascript file to be found please? By what URL is the client accessing the page (File>Properties or right-click>Properties in IE)? It needs to be in that folder, assuming you've stuck with the relative path. {url}/project/x I.e. the project root. And that works in FireFox. Place the javascript file there and it finds it. (Neither reports a missing javascript file at all well :-) With IE I get a confusing 'Line 22, char 1, object expected' error message. regards DaveP -- DISCLAIMER: NOTICE: The information contained in this email and any attachments is confidential and may be privileged. If you are not the intended recipient you should not use, disclose, distribute or copy any of the content of it or of any attachment; you are requested to notify the sender immediately of your receipt of the email and then to delete it and any attachments from your system. RNIB endeavours to ensure that emails and any attachments generated by its staff are free from viruses or other contaminants. However, it cannot accept any responsibility for any such which are transmitted. We therefore recommend you scan all attachments. Please note that the statements and views expressed in this email and any attachments are those of the author and do not necessarily represent those of RNIB. RNIB Registered Charity Number: 226227 Website: http://www.rnib.org.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 5 & Crystal Reports
Use CR version 9+ -- it provides a tag library and supporting files that allow you to include your report in a jsp or servlet. You'll still need an ODBC definition to create the report against but this should not be a problem as long as the ODBC def and the JNDI resource share the same name. Now, if someone has a fix/answer to the problem I've been banging my head against of only being able to run the report once (subsequent attempts cause something along the lines of a ZipExtraction exception), I'd certainly appreciate a clue or three.... Brent Sims Systems Analyst 2 KC Human Services - Road rage, air rage. Why should I be forced to divide my rage into separate categories? To me, it's just one big, all-round, everyday rage. I don't have time for fine distinctions. I'm too busy screaming at people. - George Carlin >>> [EMAIL PROTECTED] 8/31/2004 12:02:09 AM >>> Hi! I'm triying to configure Tomcat 5 and Crystal Reports. What I want to do is reading from a database to a report made with CR using a Tomcat datasource. The problem is that CR can't find it (using jndi); i get a message saying that CR is unable to find the resource. The datasource is well defined (i think so because a jsp can use it correctly). Does anybody know if is there problem between Tomcat 5 and Crystal Reports? Is there any one that have configured it yet? Thanks in advance, Javier Polo.
RE: Intermittent exception during startup (5.0.25)
Salut, Long time lurker, rare contributor. I've experienced the same problem for a while but no, I cannot reproduce the error consistently. In my experience, webapps startup okay but any/all SSL access is blown with an error similar to: java.lang.NullPointerException at org.apache.catalina.realm.RealmBase.findSecurityConstraints(RealmBase.java:428) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:455) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Thread.java:534) In my case, the error has happened with every Tomcat release from 5.0.19 (probably before as well but definitely in the 5.0 series) through 5.0.27 on both a Windows XP and an OS/400 (5.2) platform using their most current flavours of jdk 1.4.2. HTH with a potential bug Brent Sims Systems Analyst 2 KC Human Services - Road rage, air rage. Why should I be forced to divide my rage into separate categories? To me, it's just one big, all-round, everyday rage. I don't have time for fine distinctions. I'm too busy screaming at people. - George Carlin >>> [EMAIL PROTECTED] 8/4/2004 7:05:58 AM >>> Hola, Can you reproduce the error reliably? What are the consequences of this error? Are any webapps not started or not functioning because of it? We could probably make that method in MapperListener synchronized, but the error doesn't seem to be our fault. It looks like an MX4J issue possibly. Yoav Shapira Millennium Research Informatics >-Original Message- >From: Robert Hunt [mailto:[EMAIL PROTECTED] >Sent: Wednesday, August 04, 2004 8:36 AM >To: [EMAIL PROTECTED]; [EMAIL PROTECTED] >Subject: Re: Intermittent exception during startup (5.0.25) > > >Other than to restart the server and cross my fingers, no I haven't found a >solution. Perhaps it should be submitted as a bug. > > >-- RH > >- Original Message - >Sent: Wednesday, August 04, 2004 2:40 AM >Subject: Intermittent exception during startup (5.0.25) > > >Hello Robert > >I got the same error as you with tomcat 5.0.27. Sometimes the error >occures, >and sometimes it doesn't!!! >Did you found a solution? > > >Here is my catalina.out: > >Aug 4, 2004 8:18:49 AM org.apache.coyote.http11.Http11Protocol start >INFO: Starting Coyote HTTP/1.1 on >http-a6ak-www-ccis-r.bedag.ch%2F162.23.4.136-8081 >Aug 4, 2004 8:18:49 AM org.apache.coyote.tomcat5.MapperListener init >WARNING: Error registering contexts >java.util.ConcurrentModificationException >at java.util.HashMap$HashIterator.nextEntry(HashMap.java:930) >at java.util.HashMap$EntryIterator.next(HashMap.java:972) >at java.util.HashMap.putAllForCreate(HashMap.java:505) >at java.util.HashMap.clone(HashMap.java:799) >at >mx4j.server.DefaultMBeanRepository.clone(DefaultMBeanRepository.java:56 ) >at >mx4j.server.MBeanServerImpl.findMBeansByPattern(MBeanServerImpl.java:16 03) >at >mx4j.server.MBeanServerImpl.queryObjectNames(MBeanServerImpl.java:1568) >at >mx4j.server.MBeanServerImpl.queryMBeans(MBeanServerImpl.java:1512) >at >org.apache.coyote.tomcat5.MapperListener.init(MapperListener.java:115) >at >org.apache.coyote.tomcat5.CoyoteConnector.start(CoyoteConnector.java:15 37) >at >org.apache.catalina.core.StandardService.start(StandardService.java:489 ) >at >org.apache.cat
RE: PLEASE HELP! How can I make Tomcat see DB2 jdbc driver?
I've run into this before. Although every document I've read refers to the driver as "COM.ibm.db2.jdbc.app.DB2Driver," in actuality the package name is "com.blah.blah." Change your upper case COM to lower case and it should work. >>> [EMAIL PROTECTED] 12/3/2003 12:13:59 PM >>> hiya, try renaming the driver to db2java.jar hth JasonG > -Original Message- > From:Sarah Zou [SMTP:[EMAIL PROTECTED] > Sent:Thursday,4 December 2003 7:09 > To:[EMAIL PROTECTED] > Subject:PLEASE HELP! How can I make Tomcat see DB2 jdbc driver? > > Hi All, >I am using Tomcat 4.1.29 and DB2 8.1. I try to use the servlet > below to see if it can find DB2 jdbc driver: > public class Test extends HttpServlet { > > public void init(ServletConfig config) throws ServletException > { super.init(config); } > > public void service(HttpServletRequest request, HttpServletResponse > response) > { >try{ >Class.forName ("COM.ibm.db2.jdbc.app.DB2Driver").newInstance (); >} catch (Exception e) { > System.err.println ("\n Error loading DB2 Driver...\n" + e); >} >} > } > > I have tried to put db2java.zip in Tomcat common\lib or > webapp\web-inf\lib. Also I tried to add db2java.zip to "set classpath" > in > catalina.bat in Tomcat bin. It didnot work. > Your help will be very much appreciated. > > Sarah > > > > > > - > Do you Yahoo!? > Free Pop-Up Blocker - Get it now - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]