javax.servlet.ServletException: Cannot create resource instance

2006-08-31 Thread Sameer Acharya
Hi, Iam using Tomcat 5.5.9 and trying to define a bean resource and get an instance of the same inside a jsp thru JNDI lookup,Iam getting the following exception in the browser : - javax.servlet.ServletException: Cannot create resource instance org.apache.jasper.runtime.PageContextImp

Re: Problem moving from HTTP to HTTPS

2006-08-31 Thread Bill Barker
Yeah, you need to delete the entire ... to allow everyone. However, for MSIE, you may still get problems due to the restricted caching headers that Tomat adds. "Filip Hanik - Dev Lists" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > * > > the "*" means all the roles that you h

Re: Deployment and virtual hosts

2006-08-31 Thread Mark Thomas
Marcelo Chryssovergis wrote: > Hello list! > > I´m having a problem to deploy an aplication that is configured as a > virtual domain in server.xml. 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 lin

Re: mulit-byte character username in DataSoureRealm

2006-08-31 Thread Mark Thomas
Toshiaki Kikuchi wrote: > Hi, > > I would like to use username with multi-byte character(Shift-JIS) > in FORM BASED Authentication of DataSourceRealm. But it does not work. > username with ascii character works well. > The reason seems that encoding of ServletRequest.getParameter() in > FormAuthen

Re: tomcat not finding servlet....

2006-08-31 Thread Filip Hanik - Dev Lists
hmm, have you tried putting the servlet in a package, to see if that makes a difference? it shouldn't, but you can easily rule it out. after that, it would have to come down to some debugging. Filip [EMAIL PROTECTED] wrote: OK i fixed the warning. The second.xml file located in the >>> C:\P

Re: tomcat not finding servlet....

2006-08-31 Thread jmensinger
OK i fixed the warning. The second.xml file located in the >>> C:\Program Files\Apache Software Foundation\Tomcat 5.5\conf\Catalina\localhost\second needed to be changed to just say: Restarted Tomcat (no error message) but I am still getting a 404 on my servlets. I also wanted to mention that

Re: Problem moving from HTTP to HTTPS

2006-08-31 Thread Filip Hanik - Dev Lists
* the "*" means all the roles that you have defined in web.xml, since you haven't defined any roles in web.xml, there is nothing to authenticate, hence its gonna deny the request Filip Glen Mazza wrote: Hello, I have developed a simple web application running on Tomcat that asks for a

Re: tomcat not finding servlet....

2006-08-31 Thread Filip Hanik - Dev Lists
WARNING: A docBase C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\second inside the host appBase has been specified, and will be ignored try correcting the above error first, then continue your troubleshooting [EMAIL PROTECTED] wrote: The only entries that look abnormal in t

Problem moving from HTTP to HTTPS

2006-08-31 Thread Glen Mazza
Hello, I have developed a simple web application running on Tomcat that asks for a database username and password and then returns a report in PDF. I'm *not* using any of Tomcat's security features for this--no roles for example. In testing it has been running fine on HTTP, but I would like

Why cannot I put JSVC into a shell script to run

2006-08-31 Thread Patrick Wang
Hi, I can only copy/paste the contents from startTomcat.sh to the console, everything works fine. But when I run the command from the console startTomcat.sh, it gave me no error, however the to

RE: tomcat not finding servlet....

2006-08-31 Thread jmensinger
The only entries that look abnormal in the logs are as follows: >From catalina.xxx NFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Apache Software Foundation\Tomcat 5.5\bin;.;C:\WINDOWS\

RE: tomcat not finding servlet....

2006-08-31 Thread Propes, Barry L
are you getting any kind of SAX error when you start up tomcat? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, August 31, 2006 4:19 PM To: users@tomcat.apache.org Subject: tomcat not finding servlet Hello everyone I am running windows xp, to

tomcat not finding servlet....

2006-08-31 Thread jmensinger
Hello everyone I am running windows xp, tomcat 5.5.17, java jdk1.5.0_08. I have created an webapp called "second" have created the file: C:\Program Files\Apache Software Foundation\Tomcat 5.5\conf\Catalina\localhost\second which contains: In /webapps/second I have a index.jsp file which

Deployment and virtual hosts

2006-08-31 Thread Marcelo Chryssovergis
Hello list! I´m having a problem to deploy an aplication that is configured as a virtual domain in server.xml. When I deploy the application it works fine IF I use the default url. But when I use my subdomain (x.y.com) , the application is not deployed!! I have to restart tomcat, and then t

Re: Memory Profiling

2006-08-31 Thread Garthfield Carter
Thanks Reynir, Sorry, I guess I should have added what I was thinking at the time. I know I can Google in an instant a shedload of Profilers what I really wanted to know was what profile do you guys recommend. I'm looking for the easiest one to install and use. Garthfield Reynir Hubner wrot

Re: Memory Profiling

2006-08-31 Thread Reynir Hubner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi, You can use a java profiler such as jprobe, JProfiler or really almost any other profiler application to profile your webapp. You can also use webapplications such as lambdaprobe : http://www.lambdaprobe.org/d/index.htm I guess alot of other solu

Memory Profiling

2006-08-31 Thread Garthfield Carter
Hello, Does anyone know the name of a piece of software that I can use to find out how much memory a web application is using please? Garthfield - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail:

Re: redirecting Root to app? (index.jsp??)

2006-08-31 Thread David Smith
The index.jsp in the ROOT webapp packaged with tomcat is precompiled. Changes to the index.jsp file will be ignored until you remove the servlet mapping in ROOT/WEB-INF/web.xml. --David Michael J. Prichard wrote: How the heck can I get my container to redirect to another deployed applicatio

redirecting Root to app? (index.jsp??)

2006-08-31 Thread Michael J. Prichard
How the heck can I get my container to redirect to another deployed application when the user goes to the root URL? What I mean is if the user goes to: http://foo.com:8080/ they get redirected to http://foo.com:8080/blah/ I thought I could modify the index.jsp page in Root but that seems to b

RE: Apache + Tomcat configuration: static / dynamic content (with ROOT applicati

2006-08-31 Thread Jim Weir
From: "Chris Berthold" <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" To: "Tomcat Users List" Subject: RE: Apache + Tomcat configuration: static / dynamic content (with ROOT application deployed) Date: Thu, 31 Aug 2006 12:27:28 -0400 Place the static content in Apache in the directories th

Binary install question?

2006-08-31 Thread Michael J. Prichard
If I just installed Tomcat 5.5 in /usr/local/ and I am going to use it to serve a web application what steps should I take to lock it down? Should I chroot, etc? Examples? Thanks! Michael - To start a new topic, e-mail:

mulit-byte character username in DataSoureRealm

2006-08-31 Thread Toshiaki Kikuchi
Hi, I would like to use username with multi-byte character(Shift-JIS) in FORM BASED Authentication of DataSourceRealm. But it does not work. username with ascii character works well. The reason seems that encoding of ServletRequest.getParameter() in FormAuthenticator.java does not work. Is it pos

RE: Apache + Tomcat configuration: static / dynamic content (with ROOT application deployed)

2006-08-31 Thread Chris Berthold
Place the static content in Apache in the directories that would be referenced by Tomcat. The way you did it will work but it is not recommended especially if you would like to deploy WAR files quickly and the static content does not change often. You can deploy the files to a different document

Re: HTTP/1.1 400 Bad Request --- Tomcat 5.0.28/IIS6 (Win2003)/JK-1.2.15

2006-08-31 Thread Darryl Miles
Piero Cavalieri wrote: The get: GET /geonetwork/srv/en/main.search?extended=off&remote=off&attrset=geo&any=&hitsPerPage=10 HTTP/1.1 The response: HTTP/1.1 400 Bad Request Content-Type: text/html Date: Thu, 31 Aug 2006 10:02:04 GMT Connection: close Content-Length: 35 Is it because you are m

Re: HTTP/1.1 400 Bad Request --- Tomcat 5.0.28/IIS6 (Win2003)/JK-1.2.15

2006-08-31 Thread Reynir Hubner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, sorry I do not know the answer to your problem, but you might want to try to update your ISAPI_redirect.dll Check : http://ftp.rhnet.is/pub/apache/tomcat/tomcat-connectors/jk/binaries/win32/jk-1.2.18/ hope it helps - -reynir Piero Cavalieri wr

Re: HTTP/1.1 400 Bad Request --- Tomcat 5.0.28/IIS6 (Win2003)/JK-1.2.15

2006-08-31 Thread Piero Cavalieri
It don't tell me anything, because when I have the error, it's no logged I only saw the last succesfull GET. The servlet ouput is enbedded inside an aspx page via iframe. .NET is 2.0. On XP no problem. On Win2003 only one servlet give me this problem. Further with IE6 very often (always),

Re: HTTP/1.1 400 Bad Request --- Tomcat 5.0.28/IIS6 (Win2003)/JK-1.2.15

2006-08-31 Thread Reynir Hubner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi, post your isapi log, you can set the loglevel to debug via the registry. usually this tells alot. hope it helps - -reynir Piero Cavalieri wrote: > The get: > GET > /geonetwork/srv/en/main.search?extended=off&remote=off&attrset=geo&any=&hitsP

HTTP/1.1 400 Bad Request --- Tomcat 5.0.28/IIS6 (Win2003)/JK-1.2.15

2006-08-31 Thread Piero Cavalieri
The get: GET /geonetwork/srv/en/main.search?extended=off&remote=off&attrset=geo&any=&hitsPerPage=10 HTTP/1.1 The response: HTTP/1.1 400 Bad Request Content-Type: text/html Date: Thu, 31 Aug 2006 10:02:04 GMT Connection: close Content-Length: 35 Serving the request directly from Apache doesn'

Re: blank pages

2006-08-31 Thread David N. Smith
=== David Smith Network Operations Supervisor Cornell University Department of Entomology 2121 Comstock Hall Ithaca, NY 14853 Phone: (607) 255-9571 Fax: (607) 255-0939 > kalin mintchev wrote: >>> >>> hi all.. >>> >>> here is a situation: >>> >>> after

Reposting this( precompilation issues with tomcat5.5.17)

2006-08-31 Thread Raju Balugu
Hi All, I did the precompilation while build the image and installed this image and tried to launch the pages , throwing the errors.I inverstigated those errors and suspected the problem with work directory ,deleted the work directory and stop and started the tomcat and launched the pages withou