Invoking webservice from servlet

2005-12-19 Thread Lincoln Dalgado
Hi, I am invoking a SSL based web service from inside a servlet. The service is invoked successfully when I use startup.bat to start tomcat. However if I start tomcat as a service, I get a Caused by: sun.security.validator.ValidatorException: No trusted certificate found at sun.security.valida

deploy failed

2005-12-19 Thread Nehal Sangoi
Hi, I am facing problem for deploying applications using manager-deployer with my ant build script. What happens is, when i add context details (releated to jdbc connections) in my application's server.xml, and try to deploy the application using build script, it gives me follwoing error. deploy

Please Help! Error in using Packages

2005-12-19 Thread Teh Noranis Mohd Aris
Hi, I'm learning to use packages from a book example to create my own servlet instead of putting the code in the examples webapp. However the following error occurs: HTTP Status 404 - /ch03/servlet/com.wrox.projsp.ch03.myfirstwebapp.MyFirstServlet type Stat

RE: servlet.jar - where is it from?

2005-12-19 Thread Caldarale, Charles R
> From: hanasaki [mailto:[EMAIL PROTECTED] > Subject: servlet.jar - where is it from? > > Where does the Tomcat 5 Servlet.jar come from? There is no servlet.jar (capitalized or otherwise) in Tomcat. There is a servlet-api.jar, which is a subset of the J2EE download available from Sun. You have

RE: Which is better Option

2005-12-19 Thread Karthik
Hi Form *Which Option [ advantages /limitations ] is Better ?* Certenly yes ,but need more clarifications [ assuming running on same JVM ] with regards Karthik -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Monday, December 19, 2005 7:18 PM To: Tomcat Users L

RE: how are relative pages/images retrieved?

2005-12-19 Thread Caldarale, Charles R
> From: hanasaki [mailto:[EMAIL PROTECTED] > Subject: how are relative pages/images retrieved? > > the page > http://localhost/a/b/c > has an href to > ../images/image1.gif > > how is it that the websever knows to convert this into > http://localhost/a/b/images.gif I believe t

Re: Which is better Option

2005-12-19 Thread Raja Neravati
You cannot define by these parameters which should be the best, because you need to consider lot of other factors as well. But with the given information by you this is what my opinion would be: - 1. Using a servlet would be a request/response mechanism and you make user wait for response. As y

how are relative pages/images retrieved?

2005-12-19 Thread hanasaki
How are relative resources found? ex: the page http://localhost/a/b/c has an href to ../images/image1.gif how is it that the websever knows to convert this into http://localhost/a/b/images.gif This seems to imply some sort of state in the server but this cannot be

servlet.jar - where is it from?

2005-12-19 Thread hanasaki
Hello, I notice Sun no longer has the Servlet.jar available for download off the java.sun.com website. Where does the Tomcat 5 Servlet.jar come from? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

Re: Tomcat 5.5.12 clustering - messages lost under high load

2005-12-19 Thread Yogesh Prajapati
Please ignore the first "," for "import" attribute.. it should be javaImport.jsp: <%@ page import=" java.lang.* , java.sql.* , java.util.* , java.io.* , java.text.* , javax.mail.* , javax.mail.internet.* , org.apache.commons.fileupl

Re: Tomcat 5.5.12 clustering - messages lost under high load

2005-12-19 Thread Yogesh Prajapati
On 12/18/05, Peter Rossbach <[EMAIL PROTECTED] > wrote: > > Hey, > > a) Servlet Spec say: You must have sticky session when you use > distributable web apps. Session Replication is only used when primary node > crashed!! I looked into the servlet spec (V 2.4). I did not find anything like "stic

RE: TC 5.5.12 WARNING: A docBase XXX inside the host appBase has been specified, and will be ignored

2005-12-19 Thread Caldarale, Charles R
> From: Jason Novotny [mailto:[EMAIL PROTECTED] > Subject: Re: TC 5.5.12 WARNING: A docBase XXX inside the host > appBase has been specified, and will be ignored > > Ok, I changed my context file from gridsphere.xml to portal.xml. > However it still does not work. This may well go back to

Re: TC 5.5.12 WARNING: A docBase XXX inside the host appBase has been specified, and will be ignored

2005-12-19 Thread Jason Novotny
Hi Chuck, Ok, I changed my context file from gridsphere.xml to portal.xml. However it still does not work. As I said, I do NOT want to change the name of my web application. It is currently located in $CATALINA_HOME/webapps/gridsphere. Previously my understanding of the path and docBase

RE: TC 5.5.12 WARNING: A docBase XXX inside the host appBase has been specified, and will be ignored

2005-12-19 Thread Caldarale, Charles R
> From: Jason Novotny [mailto:[EMAIL PROTECTED] > Subject: Re: TC 5.5.12 WARNING: A docBase XXX inside the host > appBase has been specified, and will be ignored (Please don't crosspost - it really makes it hard to keep track of a thread.) > The context now looks like: > > reloadable="false"

Re: Tomcat 5.5.12 clustering high load

2005-12-19 Thread Yogesh Prajapati
Remy, Yup, I had noticed that when build the newest tomcat source (5.5.15 SVN head) as Peter asked to me to look into other bugs. BTW thanks for reminding. Yogesh On 12/18/05, Remy Maucherat <[EMAIL PROTECTED]> wrote: > > On 12/16/05, Yogesh Prajapati <[EMAIL PROTECTED]> wrote: > > Is there some

Re: TC 5.5.12 WARNING: A docBase XXX inside the host appBase has been specified, and will be ignored

2005-12-19 Thread Jason Novotny
Hi Yoav and Chuck, Thanks for your help. I have taken out the Logger element and I still get the same error. Let me explain better what I'm trying to do and maybe you can suggest the correct configuration. Our portal is deployed to Tomcat as well as a context fragment, gridsphere.xml

RE: TC 5.5.12 WARNING: A docBase XXX inside the host appBase has been specified, and will be ignored

2005-12-19 Thread Caldarale, Charles R
> From: Jason Novotny [mailto:[EMAIL PROTECTED] > Subject: TC 5.5.12 WARNING: A docBase XXX inside the host > appBase has been specified, and will be ignored > > Using Tomcat 5.5.12 and my servlet context fragment: > > reloadable="false" crossContext="true"> > prefix="localhost_gr

RE: Tomcat applet not working

2005-12-19 Thread Bliesner, Christopher P
Well, I opened up the Invoker with the mappings in the main Web.xml file and plus I added the 'url-mapping'/'servlet-mapping' to the application web.xml file and it seemed to do the trick...however, I have some apps where the applet is not working and I get the following error...any ideas? "Starte

apache + tomcat jkmount question

2005-12-19 Thread rusty+tomcat
Can I mount subdirectories with jkmount and have them be the top level directory on the tomcat side? For example, in my apache config file, if I have the following JkMount/labs/printing/*.jspajp13 In my tomcat/webapps/labs folder do I need to have the directory printing with the j

Tomcat 5.0.28/Axis 1.2.1/Java 1.4.2 causing high cpu usage on RHEL 3.0

2005-12-19 Thread Jon Savian
I am running Tomcat 5.0.28 and Axis 1.2.1 using Java 1.4.2. For some it is causing my server to become very slow. When doing a "top" i notice that the load average is very high. Tomcat's/Axis' usage of java is causing this. The only modification we made to Tomcat was increasing it's jvm heap si

Re: JDBC Resources, context file, Tomcat 5.0.x -> 5.5.x

2005-12-19 Thread Bruce Tong
Here's an example that's working for me. On 12/19/05, Diego Ballve <[EMAIL PROTECTED]> wrote: > > Hello, > > I'm trying to migrate a context descriptor for a webapp named omar, from > Tomcat 5.0.x to 5.5.x but I had no luck. This is my new > /conf/Catalina/localhost/omar.xml: > > >

TC 5.5.12 WARNING: A docBase XXX inside the host appBase has been specified, and will be ignored

2005-12-19 Thread Jason Novotny
Hi, Using Tomcat 5.5.12 and my servlet context fragment: reloadable="false" crossContext="true"> prefix="localhost_gridsphere_log." suffix=".txt" timestamp="true"/> doesn't seem to work-- I get this message in my logfile: WARNING: A docBase /Users/novotny/Jakarta/tomcat-5.5.12

JDBC Resources, context file, Tomcat 5.0.x -> 5.5.x

2005-12-19 Thread Diego Ballve
Hello, I'm trying to migrate a context descriptor for a webapp named omar, from Tomcat 5.0.x to 5.5.x but I had no luck. This is my new /conf/Catalina/localhost/omar.xml: When I try to start the server i get the following in catalina.out: Cannot create JDBC driver of class '' for connect UR

Re: Re: problem with stopping Tomcat

2005-12-19 Thread marju jalloh
no I did not use apt. It was working but now on rebooting I got the following error INFO: Initializing Coyote HTTP/1.1 on http-8080 ServerLifecycleListener: createMBeans: MBeanException java.lang.Exception: ManagedBean is not found with Ajp13Connector at org.apache.catalina.mbeans.MBeanUtils.c

Re: Tomcat 4.1.31, Weird problem. Once in a while an attribute i n the session is not found... look like a RACE?! Is that possible????

2005-12-19 Thread David Gagnon
Hum I tried and haven't be able to reproduce.. but so far that the best explanation about what can cause the race... Thanks I will put some code in to avoid double submit! Regards /David Tobias Meyer wrote: >Just a thought - What would happen to your application if the user >double-clicked the

RE: Tomcat Servlets not working

2005-12-19 Thread Bliesner, Christopher P
Tried opening up the Invoker Servlet but that didn't seem to fix it. Everything I've read so far seems that you should be able to bring your webapps straight across from TC4 into TC5...but my servlets are not working... -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent:

RE: Tomcat 4.1.31, Weird problem. Once in a while an attribute i n the session is not found... look like a RACE?! Is that possible????

2005-12-19 Thread Tobias Meyer
Just a thought - What would happen to your application if the user double-clicked the login button? (or whatever causes the page to load) We also sometimes see such errors if some page loads too slow and the user gets annoyed and logges in again (the login screen invalidates the old session in our

Re: Tomcat 4.1.31, Weird problem. Once in a while an attribute in the session is not found... look like a RACE?! Is that possible????

2005-12-19 Thread David Gagnon
Hi, In catalina.out I get nothing more than the null pointer exception. I also included the log from localhost_log.2005-12-15 where we can see the actual request. Thanks for you help! Regards /David localhost_log.2005-12-15 2005-12-15 15:19:56 StandardContext[/webCatalog]: Mapp

Re: Tomcat 4.1.31, Weird problem. Once in a while an attribute in the session is not found... look like a RACE?! Is that possible????

2005-12-19 Thread Martin Gainty
Good Morning David- What does the log say? Martin- - Original Message - From: "David Gagnon" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, December 19, 2005 7:40 AM Subject: Tomcat 4.1.31, Weird problem. Once in a while an attribute in the session is not found... look like

Re: Which is better Option

2005-12-19 Thread Tim Funk
jms - JMS can live in the same JVM or be moved to a new JVM without changing any servlet code. (Only some config changes) -Tim Karthik wrote: Hi Form Please somebody specify Which Option [ advantages /limitations ] is Better ? 1) Using a Servlet to created a seperate Thread for proce

Which is better Option

2005-12-19 Thread Karthik
Hi Form Please somebody specify Which Option [ advantages /limitations ] is Better ? 1) Using a Servlet to created a seperate Thread for processing a Bulk DB Task [ Off the limits of session time] 2) Using JMS to handle the Bulk DB Task. with regards Karthik --

Re: Re: problem with stopping Tomcat

2005-12-19 Thread Warren Pace
Did you originally install Tomcat using apt? The Debian package configures Tomcat to listen on port 8180. > > From: marju jalloh <[EMAIL PROTECTED]> > Date: 2005/12/18 Sun PM 04:52:50 EST > To: Tomcat Users List > Subject: Re: problem with stopping Tomcat > > Sorry that I did`nt include thes

Re: RE: Add application

2005-12-19 Thread Warren Pace
Yep! Thanks, Chuck. > > From: "Caldarale, Charles R" <[EMAIL PROTECTED]> > Date: 2005/12/18 Sun PM 04:58:05 EST > To: "Tomcat Users List" > Subject: RE: Add application > > > From: Warren Pace [mailto:[EMAIL PROTECTED] > > Subject: Re: Add application > > > > or create an xml file with the sa

Tomcat 4.1.31, Weird problem. Once in a while an attribute in the session is not found... look like a RACE?! Is that possible????

2005-12-19 Thread David Gagnon
Hi all, I have a really wreird problem. I have a web site and I get a NullPointerException once in a while because the WcPresentationConstants.CURRENT_RESOURCE is null. UkResource resource = (UkResource) param.request.getSession().getAttribute(WcPresentationConstants.CURRENT_RESOURCE); But this

[Repost...] Tomcat 5.0 : 401 errors do NOT send back a www-authenticate field :(

2005-12-19 Thread Francis Galiegue
[I don't know why, looks like the original message didn't make it to the list... Sorry if it's a double send] Hello, As the subject says, we have a problem with Tomcat 5.0 (5.0.27 through 5.0.30 to be precise) where a servlet invoked from tomcat5 does NOT send a www-authenticate header back, resu

Tomcat 5.0 : 401 errors do NOT send back a www-authenticate field :(

2005-12-19 Thread Francis Galiegue
Hello, As the subject says, we have a problem with Tomcat 5.0 (5.0.27 through 5.0.30 to be precise) where a servlet invoked from tomcat5 does NOT send a www-authenticate header back, resulting in a definitive 401 error. This violates RFC 2616 (paragraph 14.47). As we suspected Apache first, I shu

RE: Tomcat 5.0.28 + Oracle9i

2005-12-19 Thread nikita berdikov
Thats my source code of registration page. When i click submit, the error occurs. Please, help, whats wrong? On Resin it works well, but Tomcat not. And i don't want to use Resin instead of Tomcat!!! <%@ page contentType="text/html;charset=windows-1251" pageEncoding="windows-1251"%> <% reque

Re: Re: Re: Help, Tomcat 4.1.31 no response

2005-12-19 Thread kartwall
kartwall,您好! Sorry, I made a big mistake. These threads were released successfully. I think the "defunct" showed in Optimizeit must be the same as the Linux's Thread while actually these threads were freed by gc. Sorry again. === 2005-12-19 15:36:00 您在来信中写道:=== >Hello, Mart

About possible memory leak in Tomcat 5.x

2005-12-19 Thread Andrievsky Dmaitry
Hello users, About a half a year ago I've found that my webapp works fine in development environment, but leaks memory in production one. I've searched through all the code, found a few minor errors, but it didn't help. (of course, tag pooling are disabled completely) So then i've tried to use pr

Re: Critical problem with Tomcat worker threads

2005-12-19 Thread Mirek Kopriva
Hi Thomas, Were you able to resolve you problem yet. Could you post the solution if yes, please? thanks a lot, Mirek On 12/7/05, Mirek Kopriva <[EMAIL PROTECTED]> wrote: > > Well, > We were using our own connection pool and first thing, which came into > my mind was exactly this. So we changed it

Re: Adjusting Memory

2005-12-19 Thread Rafal Zawadzki
### Mark Thomas <[EMAIL PROTECTED]> wrote message to Tomcat Users List ### ### this is reply for: Re: Adjusting Memory ### > When starting a new thread (ie sending a message to the list about a > new topic) please do not reply to an existing message and change the > subject line. To many of the l