NPE on tomcat startup within jboss

2006-07-01 Thread y360 y360
Getting occasional NPE immediately after jboss startup, any idea what's causing this ? 2006-04-03 08:56:02,687 INFO {main} [org.jboss.system.server.Server] (ServerImpl.java:475) JBoss (MX MicroKernel) [4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231751)] Started in 7m:6s:516ms 2006-04-03

Re: log4j in webapp hanging Tomcat?

2006-07-01 Thread Bob Hall
--- Bob Hall <[EMAIL PROTECTED]> wrote: > --- Avi Deitcher <[EMAIL PROTECTED]> wrote: > > > The simple classes (a JSF backing bean and a > filter) > > are set to use > > either commons-logging or log4j directly (I tried > > both). In either case, > > the moment that I uncomment any category line

Re: log4j in webapp hanging Tomcat?

2006-07-01 Thread Bob Hall
--- Avi Deitcher <[EMAIL PROTECTED]> wrote: > The simple classes (a JSF backing bean and a filter) > are set to use > either commons-logging or log4j directly (I tried > both). In either case, > the moment that I uncomment any category line and > one of my classes (the > filter or the bean) calls

log4j in webapp hanging Tomcat?

2006-07-01 Thread Avi Deitcher
Has anyone seen this or know how to work around it? I have a webapp deployed on Tomcat 5.5.16 (FWIW, the bundled version that came with Netbeans 5.5). In order to do its own logging, the webapp has log4j-1.2.8.jar deployed in WEB-INF/lib/. and log4j.properties in WEB-INF/classes/. The properties i

Re: how to implement complicated log on using container based security

2006-07-01 Thread dirk ooms
i don't have an answer to your question, but you might consider using [EMAIL PROTECTED] as username ... On Saturday 01 July 2006 18:02, Andrew E. Davidson wrote: > Hi > > I have a b2b portal. In my world, their may be multiple users with the same > name. For example John that works for the xyz co

Re: Critical bug in RequestDispatcher.include(..) in Tomcat 5.5.16 ?

2006-07-01 Thread Garth Patil
Sorry. I don't think I read your initial post closely enough the first time. It appears that the DefalutServlet (when called in this fashion) that is serving the static html resource is closing the output stream. The Servlet specification seems to indicate that attempts to do that should be ignore

Re: Critical bug in RequestDispatcher.include(..) in Tomcat 5.5.16 ?

2006-07-01 Thread j.random.programmer
> I didn't see him mention "forward", you do > understand what he's saying > right? > No I don't. Which is why this looks like a fairly serious bug from where I am standing. You may want to read the specification about what an "include" is and how it differs from "forward". The spec. explicity s

where can I find documentation for teh tom cat administration web application?

2006-07-01 Thread Andrew E. Davidson
Hi I have search the tomcat web site several time, and can not seem to find any information about this application. What does it do? How can I get a copy of it? Why has it been removed from the standard distribution? Thanks andy

how to implement complicated log on using container based security

2006-07-01 Thread Andrew E. Davidson
Hi I have a b2b portal. In my world, their may be multiple users with the same name. For example John that works for the xyz corp, and John that works for abc inc. The primary key is created by combining the user name and company name. Does anyone know how I can create a log on page with three

Re: ClassNotFoundException in tomcat

2006-07-01 Thread ademar
Thank for reply. I'm sure that TestBean is visible in the class and jsp, because if write a TestBean manually and add a comment at this line testbean = (TestBean) in.readObject(); after return of testbean all works fine. Is this line that launch Exception during the cast, but i don't have an

Re: ClassNotFoundException in tomcat

2006-07-01 Thread Leon Rosenberg
I would say the compiled class for the TestBean is not present in your webapp or your jsp file is missing an import statement. Leon On 7/1/06, ademar <[EMAIL PROTECTED]> wrote: Hi, Why in tomcat this code launch a ClassNotFoundException ? byte[] serialized= rs.getBytes("test"); Objec

ClassNotFoundException in tomcat

2006-07-01 Thread ademar
Hi, Why in tomcat this code launch a ClassNotFoundException ? byte[] serialized= rs.getBytes("test"); ObjectInputStream in = new ObjectInputStream( new ByteArrayInputStream( serialized ) ); testbean = (TestBean) in.readObject(); The bold line launch the exception and the cla

Fw: "filtering" / Mapping? problem after migrating TC from 4.1.x to 5.0.30

2006-07-01 Thread charly
see below - Original Message - From: "charly" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Saturday, July 01, 2006 11:56 AM Subject: "filtering" / Mapping? problem after migrating TC from 4.1.x to 5.0.30 I have a purchased webapp running on TC 4.1.30. For this webapp and the ve

ClassNotFoundException in tomcat

2006-07-01 Thread ademar
Hi, Why in tomcat this code launch a ClassNotFoundException ? byte[] serialized= rs.getBytes("test"); ObjectInputStream in = new ObjectInputStream( new ByteArrayInputStream( serialized ) ); testbean = (TestBean) in.readObject(); The bold line launch the exception and the cla

Re: APR not found under Linux

2006-07-01 Thread Markus Schönhaber
Stefan Wachter wrote: > the ldd command outputs the following dependencies: > > libapr-1.so.0 => /usr/local/apr/lib/libapr-1.so.0 > (0x2abcc000) > librt.so.1 => /lib64/tls/librt.so.1 (0x2ad17000) > libcrypt.so.1 => /lib64/libcrypt.so.1 (0x2ae1f000) >

Re: Critical bug in RequestDispatcher.include(..) in Tomcat 5.5.16 ?

2006-07-01 Thread Pid
I didn't see him mention "forward", you do understand what he's saying right? j.random.programmer wrote: > You do understand that we are talking about an > include, not a > forward right ? > > --- Garth Patil <[EMAIL PROTECTED]> wrote: > >> Try using the same code in a servlet, and you won't

"filtering" / Mapping? problem after migrating TC from 4.1.x to 5.0.30

2006-07-01 Thread charly
I have a purchased webapp running on TC 4.1.30. For this webapp and the versions before I developed a filtering servlet (years ago), which filtered the Outputstream of one (ServletA) of the included webapp servlets (ServletA, ServletB, ServletC, ..) using following mappings and /or contexts: 1) p

Re: problem with doPost method - executed twice

2006-07-01 Thread Pid
'course, if you're not getting any mail from the list, you won't see these answers... if you look up the list on the web you might read this and see my "check your spam filter" hint. p Michael Jouravlev wrote: > If you submit the form from form.onsubmit, return false to tell > browser that the fo

Re: Programmatic Security

2006-07-01 Thread Bob Hall
--- John Caron <[EMAIL PROTECTED]> wrote: > I guess im fishing around for anyone who has thought > about or > implemented "programmatic security" instead of / in > addition to > "container managed security". > > Thanks for your time. > John, You might want to consider Turbine instead of "ro

Re: Error in tomcat, after logging in to the Tomcat Administration page

2006-07-01 Thread Vinu Varghese
hi Did u ever looked at the logs -> catalina.out ? - regards Vinu [EMAIL PROTECTED] wrote: Hi everyone, After logging in to the Tomcat Administration page, I am getting Error status as 500 in right frame for every link on left frame, which represetns some internal sever erro