Application scope Variable initialize more than onece in my web application that is running on tomcat 5.25

2004-07-27 Thread Sony George
Application scope variable initialize more than onece in my web application that is running on tomcat 5.25 hello everybody i use an application scope variable to connect to my data base. every time when the application is loaded for the first time in the web application, it creates 5 connectio

Re: Migrating from TC3.3.1 to TC4.1.30 What's changed?

2004-07-27 Thread Bill Barker
"Lemke, Michael IZ/HZA-IOR" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I have to migrate out TC3.3.1 to TC4.1.30 to support a third party application. > Apparently, the conf/server.xml has changed considerably. I can't find any > change logs or FAQs to do that sort of migration

Re: How to hide the JDBCRealm password from server.xml

2004-07-27 Thread Michael Echerer
QM wrote: On Tue, Jul 27, 2004 at 05:42:51PM -0300, Claudio Carvalho wrote: : Does anybody know how to hide the JDBCRealm password from server.xml? 1/ This has been discussed before on the list. (aka, check the archives.) The quick answer is: protect you Tomcat's server.xml from being read by un

RE: not able to create my context path

2004-07-27 Thread Pradeep Chauhan
Hi, Check stderr.log u will get the excat error. Regards, Pradeep -Original Message- From: chandrashekhar sf cs [mailto:[EMAIL PROTECTED] Sent: 28.07.2004 10:28 To: [EMAIL PROTECTED] Subject: not able to create my context path   hi if i configure server.xml like tomcat sta

not able to create my context path

2004-07-27 Thread chandrashekhar sf cs
  hi if i configure server.xml like tomcat starts but disappear from screen imadiately. if i remove my context path, tomcat starts.what wrong with me. although if i type in url http://localhost:8080/examples/servlet/CookieExample it works and page apper.what should be change in serve

Re: Tomcat 5.0.27 / JavaServer Faces

2004-07-27 Thread Hiroshi Iwatani
Sunitha Kumar wrote: where can I download 5.0.27 from? http://jakarta.apache.org/ thanks, -sunitha Filip Hanik - Dev wrote: move the Java Server Feces JAR files from WEB-INF/lib to /common/lib and try again Filip - Original Message - From: "Betto McRose G," <[EMAIL PROTECTED]> To: "Tomca

Re: tomcat 5.0.19 and NPTL

2004-07-27 Thread David Rees
QM wrote, On 7/27/2004 5:46 PM: On Tue, Jul 27, 2004 at 05:28:56PM -0700, Sunitha Kumar wrote: : Do we know if 5.0.19 can work with NPTL? This has to do with the underlying JDK, not Tomcat. If your JDK hasn't been recompiled to take advantage of NPTL then it may very well stumble through an NPTL e

running Tomcat 5.0.25 as an NT service

2004-07-27 Thread Derek B. Greer
I just spent several hours getting Tomcat 5.0.25 to run as a service on Windows XP and didn't find a lot of useful information anywhere, so I thought I'd post my findings.  The service.bat which comes with the Tomcat 5.0.25 distribution doesn't seem to pass all the proper parameters to the vers

Re: How to hide the JDBCRealm password from server.xml

2004-07-27 Thread QM
On Tue, Jul 27, 2004 at 05:42:51PM -0300, Claudio Carvalho wrote: : Does anybody know how to hide the JDBCRealm password from server.xml? 1/ This has been discussed before on the list. (aka, check the archives.) 2/ Please start new messages when you post to the list. Replying to an old message

Re: tomcat PID creation and monitoring

2004-07-27 Thread QM
On Tue, Jul 27, 2004 at 02:14:13PM -0700, Caleb Walker wrote: : PID=$! : echo $PID > $pid_file : Doing this makes tomcat create a pid file that I can then monitor with : our monitoring server. What it does is look at the PID file and : compares that with the running processes. : What is happening

Re: tomcat 5.0.19 and NPTL

2004-07-27 Thread Sunitha Kumar
QM, thanks I heard JDK 1.5 has support for NPTL. Any idea if tomcat 5.0.27 works with JDK 1.5? thanks, -sunitha QM wrote: On Tue, Jul 27, 2004 at 05:28:56PM -0700, Sunitha Kumar wrote: : Do we know if 5.0.19 can work with NPTL? This has to do with the underlying JDK, not Tomcat. If your JDK hasn

Re: Tomcat 5.0.27 / JavaServer Faces

2004-07-27 Thread Sunitha Kumar
where can I download 5.0.27 from? thanks, -sunitha Filip Hanik - Dev wrote: move the Java Server Feces JAR files from WEB-INF/lib to /common/lib and try again Filip - Original Message - From: "Betto McRose G," <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, Ju

Re: tomcat 5.0.19 and NPTL

2004-07-27 Thread QM
On Tue, Jul 27, 2004 at 05:28:56PM -0700, Sunitha Kumar wrote: : Do we know if 5.0.19 can work with NPTL? This has to do with the underlying JDK, not Tomcat. If your JDK hasn't been recompiled to take advantage of NPTL then it may very well stumble through an NPTL environment. Based on the numbe

tomcat 5.0.19 and NPTL

2004-07-27 Thread Sunitha Kumar
Hey folks: Do we know if 5.0.19 can work with NPTL? thanks, -sunitha - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tomcat installation problem

2004-07-27 Thread Julian
Hi Wendy, Thanks so much for your help by the way. I didn't actually realize that I don't need apache. It that's the case then I'll go without it for the moment. Thanks for the advice and your long reply which has made everything much clearer now. I looked up some stuff about something called j

RE: DBCP in Tomcat 5.0: must deploy some artifacts in /common/lib(classes) ?!

2004-07-27 Thread Jerome Lacoste
On Tue, 2004-07-27 at 15:34 -0400, Shapira, Yoav wrote: > Hi, > That's because Tomcat bundles DBCP. If you want to separate them > completely, put your copy in WEB-INF/lib, and the bundled copy in > server/lib, and nothing for DBCP in the common or shared classloader > repositories. I still don't

tomcat PID creation and monitoring

2004-07-27 Thread Caleb Walker
Hello, My problem is related to a tomcat installation on a RHEL 3.0. I am not sure what version of tomcat I am running, but the apache version is 1.3.28. In the tomcat.sh file I added this portion of script language under the "if [ $1 = "start" ]" section: PID=$! echo $PID > $pid_file Doing this

Re: Tomcat installation problem

2004-07-27 Thread Wendy Smoak
From: "Julian" <[EMAIL PROTECTED]> > Hi Wendy. That part works great. I get the welcome page and the samples > are good too. Okay... then where do you want to go from here? It sounds like you're wanting to put your JSP files over in your Apache document root. While you probably *could* get it to

Re: disable URL rewriting for session tracking

2004-07-27 Thread Ruth, Brice
Your fundamental problem is going to be that your container won't be able to know if a client supports cookies until the second request comes along. This is why on the first request, all URLs are rewritten, regardless of if cookies are enabled or not - the container just doesn't know yet. The

How to hide the JDBCRealm password from server.xml

2004-07-27 Thread Claudio Carvalho
Hi, Does anybody know how to hide the JDBCRealm password from server.xml? Thanks Claudio. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Broken pipe exception with every request!

2004-07-27 Thread Claudio Carvalho
Hi, Does anybody know how to hide the JDBCRealm password from server.xml? Thanks Claudio. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Broken pipe exception with every request!

2004-07-27 Thread Michael Mehrle
I got up this morning and noticed that my production server was down. So, I checked tomcat's log and found a whole bunch of these: 2004-07-27 08:09:31 [EMAIL PROTECTED]: Exception Processing ErrorPage[errorCo de=404, location=/404.jsp] ClientAbortException: java.net.SocketException: Broken pipe

disable URL rewriting for session tracking

2004-07-27 Thread Eric Allen
I need to somehow disable URL rewriting for session tracking in my application. My designer uses - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: redirect output in win 2000 from comandline

2004-07-27 Thread Alberto Marino
yes, but comand line open other cmd with Tomcat and I don´t know how redirect this cmd because "startup" initialize automaticaly. Jérôme_Duval <[EMAIL PROTECTED]> wrote:To redirect to a file put ">filename.extension" System.err will still be in your prompt window though. The only way you can red

RE: server.xml structure

2004-07-27 Thread Shapira, Yoav
Hi, At http://jakarta.apache.org/tomcat. Yoav Shapira Millennium Research Informatics >-Original Message- >From: Mohammad N. Tina [mailto:[EMAIL PROTECTED] >Sent: Tuesday, July 27, 2004 4:16 PM >To: [EMAIL PROTECTED] >Subject: server.xml structure > >Hi, >where i can find a documentatio

Re: Tomcat installation problem

2004-07-27 Thread Julian
Hi Wendy. That part works great. I get the welcome page and the samples are good too. Wendy Smoak wrote: From: "Julian" <[EMAIL PROTECTED]> I installed Tomcat and everything went without a problem. The service starts ok too. The problem is that when I load a jsp file into the browser, I don't

server.xml structure

2004-07-27 Thread Mohammad N. Tina
Hi, where i can find a documentation for server.xml, the attributes, values...etc. thanks - Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage!

Re: Tomcat 5.0.27 / JavaServer Faces

2004-07-27 Thread Filip Hanik - Dev
move the Java Server Feces JAR files from WEB-INF/lib to /common/lib and try again Filip - Original Message - From: "Betto McRose G," <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, July 27, 2004 2:58 PM Subject: Re: Tomcat 5.0.27 / JavaServer Faces well, I

Re: Tomcat installation problem

2004-07-27 Thread Wendy Smoak
From: "Julian" <[EMAIL PROTECTED]> > I installed Tomcat and everything went without a problem. The service > starts ok too. The problem is that when I load a jsp file into the > browser, I don't get the results, I get the contents of the jsp file itself. > When I installed apache, it took me a whil

Re: Website Planning

2004-07-27 Thread Dov Rosenberg
Buy my company's prebuilt CMS system that runs as a servlet and exposes all of our functionality using our JSP Custom Tag library. All of the features and functionality you want are available today. You can probably have your site running in a few days at most. On 7/27/04 1:15 PM, "Jonathan" <[

Re: Tomcat 5.0.27 / JavaServer Faces

2004-07-27 Thread Betto McRose G,
well, I'm new on this so I can consider I'm and end user :) this is the log: 2004-07-27 15:57:06 StandardContext[/login]Excepción enviando evento inicializado de contexto a instancia de escuchador de clase com.sun.faces.config.ConfigureListener java.lang.NoClassDefFoundError: javax/faces/el/Method

Tomcat installation problem

2004-07-27 Thread Julian
I'm new to the list, new to tomcat and new to jsp and would be grateful if you could help me out.. I installed Tomcat and everything went without a problem. The service starts ok too. The problem is that when I load a jsp file into the browser, I don't get the results, I get the contents of the

Re: Beyond bassic form authentication?

2004-07-27 Thread Anastasios Angelidis
Forget about thatthen.. I will just put a sign in link which will try to access the protected resource and then shoot the login page ;) Dennis Dai wrote: Then I guess you have to use your own authentication or modify the FormAuthentication class ... I believe TSS is using some kind of content m

Re: Tomcat 5.0.27 / JavaServer Faces

2004-07-27 Thread QM
On Tue, Jul 27, 2004 at 03:29:15PM -0400, Betto McRose G, wrote: : the war file has jsf files, the message is "the resource is not available" : : I also tried to run sample dirs directly copying the entire dir, but I got : always the same error The message "the resource is not available" is for t

Re: what is the preferred way to instantiate MBeans at startup

2004-07-27 Thread QM
On Tue, Jul 27, 2004 at 09:12:28PM +0200, Jerome Lacoste wrote: : One simple way would be to register all my the MBean instances manually : from a Servlet that would be ran at startup (load-on-startup), maybe I can't speak for the MBeans, but I can say this: you can use a ContextListener instead o

Re: Beyond bassic form authentication?

2004-07-27 Thread Dennis Dai
Then I guess you have to use your own authentication or modify the FormAuthentication class ... I believe TSS is using some kind of content management system (CMS), more like a home grown one. Anyways, JBoss ported PostNuke (a CMS written in PHP) to their platform, you might want to check it ou

RE: DBCP in Tomcat 5.0: must deploy some artifacts in /common/lib(classes) ?!

2004-07-27 Thread Shapira, Yoav
Hi, That's because Tomcat bundles DBCP. If you want to separate them completely, put your copy in WEB-INF/lib, and the bundled copy in server/lib, and nothing for DBCP in the common or shared classloader repositories. Yoav Shapira Millennium Research Informatics >-Original Message- >Fr

DBCP in Tomcat 5.0: must deploy some artifacts in /common/lib (classes) ?!

2004-07-27 Thread Jerome Lacoste
Hi, I am deploying a J2EE app in Tomcat 5.0.27. The application uses commons-dbcp. I've found out that if I don't put the jocl file AND the DB drivers in the $CATALINA_HOME/common/lib/ (classes) directory, the DBCP would fail. Either the config file is not found Caused by: java.sql.SQLException

Tomcat 5.0.27 / JavaServer Faces

2004-07-27 Thread Betto McRose G,
I cannot run a war file into the server the war file has jsf files, the message is "the resource is not available" I also tried to run sample dirs directly copying the entire dir, but I got always the same error Betto McRose G,

RE: Win2K3 / Tomcat 4.1 and 5.0 issues

2004-07-27 Thread Cary . Conover
Return Receipt Your RE: Win2K3 / Tomcat 4.1 and 5.0 issues document:

RE: Win2K3 / Tomcat 4.1 and 5.0 issues

2004-07-27 Thread Cary . Conover
Return Receipt Your RE: Win2K3 / Tomcat 4.1 and 5.0 issues document:

Win2K3 / Tomcat 4.1 and 5.0 issues

2004-07-27 Thread Cary . Conover
Return Receipt Your Win2K3 / Tomcat 4.1 and 5.0 issues document:

RE: Win2K3 / Tomcat 4.1 and 5.0 issues

2004-07-27 Thread Martin, David S
Cary, I am not doing any IIS redirection to Tomcat. I was asked to get IIS on that same machine to see if IIS would have the same slowness when someone tried to upload a file to it. David Martin -Origin

RE: Win2K3 / Tomcat 4.1 and 5.0 issues

2004-07-27 Thread Martin, David S
QM, Yes, they both have the same FS in the Win2K and Win2K3 machines. Well I know it's not the NIC card on the machine because I can log onto the server that is having the issue, go to the machine where the 48MB file lives and drag and drop it onto the desktop and the file transfers in ~2 min.

Re: Win2K3 / Tomcat 4.1 and 5.0 issues

2004-07-27 Thread Cary . Conover
There is additional security in IIS v6 that causes many of these issues. It is the third tab in the IIS configuration section in the Management Console on W2K3. I would experiment with identifying the specific java servlet redirector for each of the tomcats bases that are in use on the system t

RE: Win2K3 / Tomcat 4.1 and 5.0 issues

2004-07-27 Thread Cary . Conover
Return Receipt Your RE: Win2K3 / Tomcat 4.1 and 5.0 issues document:

what is the preferred way to instantiate MBeans at startup

2004-07-27 Thread Jerome Lacoste
Hi, I am looking at this J2EE application, deployed on JBoss 3.x, which could be ported easily to a pure servlet/jsp application if some of its dependencies with JBoss were cut down. One of these is the possibility to start services in JBoss using a jboss.jcml file, and to register MBean instance

Re: Win2K3 / Tomcat 4.1 and 5.0 issues

2004-07-27 Thread David Smith
I know this isn't an answer to your problem, but I've run Tomcat 5.0.19 on my Win2k3 system and it responded as fast as any of my Linux boxes. That's saying a lot considering I was running Cocoon 2 on it -- an XML publishing app that seems to eat CPU for breakfast. I didn't remove any service

Re: Win2K3 / Tomcat 4.1 and 5.0 issues

2004-07-27 Thread QM
On Tue, Jul 27, 2004 at 12:05:00PM -0700, Martin, David S wrote: : our IT guys install IIS on the machine with the issue, created a test : HTML page that has an upload field and IIS is showing the same type of : problem ... weird. Hmm... That takes Java I/O out of the picture. Same type of FS und

RE: Win2K3 / Tomcat 4.1 and 5.0 issues

2004-07-27 Thread Martin, David S
QM, As it turns out it might not be a Tomcat issue after all. I had our IT guys install IIS on the machine with the issue, created a test HTML page that has an upload field and IIS is showing the same type of problem ... weird.

Re: Tomcat Datasource -- please help..

2004-07-27 Thread David Smith
Hi. I see a couple of things different from my working setup in your setup below. First: You need a tag as below just before the block: Second, and this might not be a show stopper, change the driverClassName parameter in your block to com.mysql.jdbc.Driver unless you really are using a

RE: Failed to start application. But why?

2004-07-27 Thread LINGALA, AMARESHWAR G (SBCSI)
Well it says it cant read the file Jul 27, 2004 1:45:49 PM org.apache.catalina.core.StandardHostDeployer install INFO: Installing web application at context path /SSBilling from URL file:/appl/aaa/tomcat/webapps/SSBilling Jul 27, 2004 1:45:49 PM org.apache.catalina.core.StandardContext resources

Re: Win2K3 / Tomcat 4.1 and 5.0 issues

2004-07-27 Thread QM
On Tue, Jul 27, 2004 at 08:53:45AM -0700, Martin, David S wrote: : - : | Test | O/S, Tomcat Ver. | Time| : - : | 1| Linux, 5.0 | ~2 min | : | 2| Win2k3, 5.0 | ~20 min | : | 3| Win2k3, 4.1 | ~20

RE: Failed to start application. But why?

2004-07-27 Thread Shapira, Yoav
Hi, This error comes from StandardContext#start and in most cases it would be preceded by another warning or error in the log. Can you start it normally, not with the Manager app? Yoav Shapira Millennium Research Informatics >-Original Message- >From: LINGALA, AMARESHWAR G (SBCSI) [mai

RE: Failed to start application. But why?

2004-07-27 Thread LINGALA, AMARESHWAR G (SBCSI)
Well that's all I can find in the logs. I am using version 5.0.18 -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 27, 2004 1:26 PM To: Tomcat Users List Subject: RE: Failed to start application. But why? Hi, Is there anything else in your logs?

RE: Failed to start application. But why?

2004-07-27 Thread Shapira, Yoav
Hi, Is there anything else in your logs? What tomcat version are you using? Yoav Shapira Millennium Research Informatics >-Original Message- >From: LINGALA, AMARESHWAR G (SBCSI) [mailto:[EMAIL PROTECTED] >Sent: Tuesday, July 27, 2004 2:19 PM >To: Tomcat Users List >Subject: Failed to s

Re: Beyond bassic form authentication?

2004-07-27 Thread Anastasios Angelidis
I want to do exactly like the serverside.com You have alogin form on each unprotected page thata llows you to login So you can hit the news page, the discussion page, patterns etc... without having to login, but each section offer the login form... Dennis Dai wrote: On 7/27/2004 10:34 AM,

ANN: Install Tomcat on your IBM mainframe in an hour or less

2004-07-27 Thread Kirk Wolf
JZOS - "Java™ for z/OS®" is a set of free tools designed to make Java easier to use on the mainframe. *** JZOS Java Batch Launcher and Toolkit *** Run Java applications on z/OS or OS/390 as normal MVS batch jobs (without BPXBATCH) - * Simple yet flexible way to configure and invoke Java fro

Re: Beyond bassic form authentication?

2004-07-27 Thread Anastasios Angelidis
That what Iwas saying previously. So how can I put a login page on my home page to allow access to the protected. Resources. theserverside.com has it and all kinds of web sites. Dennis Dai wrote: On 7/27/2004 10:34 AM, Anastasios Angelidis wrote: So if I understand you... On my index page which i

Failed to start application. But why?

2004-07-27 Thread LINGALA, AMARESHWAR G (SBCSI)
Hi, I just tried to deploy a new Struts application on Tomcat. But I could not get it to start. Below is the error received. SEVERE: Exception during cleanup after start failed LifecycleException: Container StandardContext[/SSBilling] has not been started at org.apache.catalina.c

Re: Beyond bassic form authentication?

2004-07-27 Thread Dennis Dai
On 7/27/2004 10:34 AM, Anastasios Angelidis wrote: So if I understand you... On my index page which is not protected put a form with And somewhere at the top of page have something like if(getUserPrincipal()) redirect I guess we can both try it lol... No, that won't work. The login page can

RE: sendRedirect not working same after upgrade to 5...26

2004-07-27 Thread Shapira, Yoav
Hi, It's not a problem that's been discussed to death, that's for sure. Enable the AccessLogValve (it's commented out by default in server.xml) and observe the URL requested and server response code for your redirect request. As for archives, try the ones at AIMS (marc.theaimsgroup.com or someth

sendRedirect not working same after upgrade to 5...26

2004-07-27 Thread Williams, Bret M.
Hi, I recently upgraded from Tomcat 3.2.1 to 5.xxx and noticed that sendRedirect() did not work the same between the two versions. In Tomcat 5 when I tried to redirect to a servlet whose output contenttype was or I would get a blank page and be forced to refresh from the browser to see the r

RE: Webapp in Tomcat 5 SUPER SLOW!

2004-07-27 Thread Kevin . Wilson
I failed to mention that I am using the SSL http connector not the standard. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 27, 2004 11:50 AM To: Tomcat Users List Subject: RE: Webapp in Tomcat 5 SUPER SLOW! Hi, I'd question the conversion mechanis

Re: Beyond bassic form authentication?

2004-07-27 Thread Anastasios Angelidis
So if I understand you... On my index page which is not protected put a form with And somewhere at the top of page have something like if(getUserPrincipal()) redirect I guess we can both try it lol... Yiannis Mavroukakis wrote: Ok..:) Let me see if I got this right..if you put a form on th

RE: problem with servlets and tomcat

2004-07-27 Thread Shapira, Yoav
Hi, Since your servlet is mapped to /SimpleServlet, access it as /SimpleServlet, not /servlet/SimpleServlet. Yoav Shapira Millennium Research Informatics >-Original Message- >From: sowmya [mailto:[EMAIL PROTECTED] >Sent: Tuesday, July 27, 2004 1:08 PM >To: [EMAIL PROTECTED] >Subject: pr

Website Planning

2004-07-27 Thread Jonathan
OK, I'm going to ask my previous question(s) in a different way Basically, I want to build a website that has dynamic news and a dynamic navbar on the index page. This website also needs to have a forums app, and a photo gallery app. Everyplace on the site should contain the same dynamic nav a

Re: SSLServerSocketFactory not found in 4.1.27

2004-07-27 Thread David Smithson
I'm new to Tomcat, Coyote, Catalina, etc. It seemed to me that the Coyote connector would not work in 4.1.27. What would a coyote connector look like? I think the RPMs distributed with FC2 are mysteriously broken anyway. I may just trash them and install a 5.x from scratch. On Mon, 2004-07-26

problem with servlets and tomcat

2004-07-27 Thread sowmya
Hi, I am getting the HTTP 404 message - but my settings have been done - atleast, seems so to me. I access my servlet using http://local:8080/servlet/SimpleServlet and my class file is in webapps/ROOT/WEB-INF/classes. I am trying to set up Tomcat with Servlets before I can migrate my actual appli

RE: configuration of server.xml

2004-07-27 Thread Shapira, Yoav
Hi, Create the folder, populate it according to the App Developer's guide (see the "First Webapp" link in the Tomcat docs), and restart the server. Yoav Shapira Millennium Research Informatics >-Original Message- >From: chandrashekhar sf cs [mailto:[EMAIL PROTECTED] >Sent: Tuesday, July

RE: Webapp in Tomcat 5 SUPER SLOW!

2004-07-27 Thread Shapira, Yoav
Hi, I'd question the conversion mechanism and the server configuration. The same code should run at the same speed if not faster on tomcat 5 when compared to tomcat 4. Yoav Shapira Millennium Research Informatics >-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >S

configuration of server.xml

2004-07-27 Thread chandrashekhar sf cs
  hi whenever i create a folder under webapp suppose myApp the servlet and jsp don't work in browser. i am using stand alone server and win2000. what should change in server.xml. please help. chandrashekhar

Webapp in Tomcat 5 SUPER SLOW!

2004-07-27 Thread Kevin . Wilson
The same app on TC 4.1.27 loads pages almost instantly. I converted the webapps using Netbeans 3.6 and loaded it to first a 5.0.25 then a 5.0.27 tomcat server and all pages take forever to load. I have another app on the same server and it loads its pages at normal speed. App 1 does use the "no-ca

Win2K3 / Tomcat 4.1 and 5.0 issues

2004-07-27 Thread Martin, David S
Here is the environment: DELL 6650 running a fresh Win2k3 Advanced Server installation Tomcat 5.0 JDK 1.4.2 The machine is connected to our intranet at 100Mbit. Here is the problem: I got Tomcat 5.0 and my web app to install and run fine. The problem begins when I try

RE: Tomcat too slow in Windows 2000 server

2004-07-27 Thread Juan Escalante
Hi everyone, I found out where's the root of the problem, I still don't know exactly what it is though: The machine I am using as a server has 2 NICs, one to connect to the telephony network and another one to connect to the companys LAN and the Internet, I disabled the connection to the LAN and e

Re: Tomcat Datasource -- please help..

2004-07-27 Thread Ruth, Brice
Well, the way I do it is adding the data source using the admin tool, then adding a resource-ref to web.xml and a ResourceLink to the Context. This keeps things a bit cleaner in my opinion. What you're doing should work .. but I can't really give you much more than that. Try defining it through

RE: Tomcat Datasource -- please help..

2004-07-27 Thread Shapira, Yoav
Hola, Can you use Context#listBindings, iterate through that enumeration, and print out what bindings you do have in your naming context? Yoav Shapira Millennium Research Informatics >-Original Message- >From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED] >Sent: Tuesday, July 27, 2004 11:36

RE: Tomcat Datasource -- please help..

2004-07-27 Thread Shilpa Nalgonda
As you have said i am getting "jdbc not bound" exception only. But at one point i changed the env lookup to point to "prototypedb" instead of "jdbc/prototypedb".. so thats when i get prototypedb not bound error... Anyway do you think that i have put the context to the jndi resource in the wrong p

RE: Migrating from TC3.3.1 to TC4.1.30 What's changed?

2004-07-27 Thread Shapira, Yoav
Hi, >> >One problem: I launched the webapps with files like >> conf/apps-APPNAME.xml. >> >How >> >do I do that with TC4.1.x? >> > >Is there a simple solution? Yes: use Context tags inside conf/server.xml to define your applications. Set autoDeploy="false" for the Host so that only your explicit

Re: Tomcat Datasource -- please help..

2004-07-27 Thread Ruth, Brice
I believe that should work. I'm out of ideas ... it seems strange that the Exception you're getting is complaining about "prototypedb" not being bound, instead of "jdbc" not being bound ... usually that comes first. That's the only thing that sticks out to me, but I don't really know what to ma

RE: Migrating from TC3.3.1 to TC4.1.30 What's changed?

2004-07-27 Thread Lemke, Michael IZ/HZA-IOR
> From: Shapira, Yoav > Sent: Tuesday, July 27, 2004 3:01 PM > To: Tomcat Users List > Subject: RE: Migrating from TC3.3.1 to TC4.1.30 What's changed? > > Tomcat 5 supports more configuration of applications via their own xml > context configuration files than tomcat 4 does. Eek, another change

RE: Tomcat Datasource -- please help..

2004-07-27 Thread Shilpa Nalgonda
Below is the code i am using to get the connection, and datasource... Context ctx = new InitialContext(); Context env = (Context)ctx.lookup("java:comp/env"); DataSource ds = (DataSource) env.lookup("jdbc/prototypedb");

Re: Tomcat Datasource -- please help..

2004-07-27 Thread Ruth, Brice
I believe if you're defining your DataSource in the directly, not in the Global Naming Resources, then you do not need the in web.xml, nor the mentioned below. What code are you using to get to your connection? The JNDI lookup should be to java:comp/env/jdbc/prototypedb, in your particular c

Re: Eclipse users list/mail group

2004-07-27 Thread epyonne
Have you tried www.eclipse.org? They have several newsgroups there. - Original Message - From: "Sternbergh, Cornell" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, July 27, 2004 09:31 AM Subject: OT: Eclipse users list/mail group Hi First, my apologies

Re: OT: Eclipse users list/mail group

2004-07-27 Thread David Goodenough
platform seems to be where the most general questions get asked. David On Tuesday 27 July 2004 15:34, Denis Haskin wrote: > When you find it please tell the rest of us! It's unclear to me which > of the lists is a general-user list... they seem to be very specific. > > Thanks, > > dwh > > Sternb

RE: Point Apache at Tomcat Contexts

2004-07-27 Thread Shapira, Yoav
Hi, >The Tomcat Admin tool is hardly production-grade, I think we can all agree, >but the Tomcat Manager Tool allows addition and removal of contexts without >restarting Tomcat. We'd like to hang our hopes on that :-) Patches and any other contributions are always welcome ;) I think you can poi

RE: Tomcat Datasource -- please help..

2004-07-27 Thread Shilpa Nalgonda
I have defined the resource in web.xml as below... and also defined the datasouce resources under context in server.xml... even then it does not help.. I get the same error "org.apache.jasper.JasperException: Name prototypedb is not bound in this Context" Web.xml ==

RE: Beyond bassic form authentication?

2004-07-27 Thread Yiannis Mavroukakis
Ok..:) Let me see if I got this right..if you put a form on the unprotected resource that posts to j_security_check, in theory and according to the servlet spec, you should be redirected to the same url (or the requested url and be authenticated). If that is correct, you could then use getUserPrin

Re: OT: Eclipse users list/mail group

2004-07-27 Thread Denis Haskin
When you find it please tell the rest of us! It's unclear to me which of the lists is a general-user list... they seem to be very specific. Thanks, dwh Sternbergh, Cornell wrote: Hi First, my apologies for being off-topic. I've been searching eclipse.org for list/forum/group/whatever, for simple

OT: Eclipse users list/mail group

2004-07-27 Thread Sternbergh, Cornell
Hi First, my apologies for being off-topic. I've been searching eclipse.org for list/forum/group/whatever, for simple users of Eclipse, not developers, without success. Anybody know such a source? TIA Cornell - To unsubscribe,

Point Apache at Tomcat Contexts

2004-07-27 Thread Matthew Mamet
Hi, I'm a developer for a small hosting company. We currently host Java-enabled sites on a windows server. We use IIS, jk2, and Tomcat to serve Java. The problem we have is that every time the Tomcat server.xml is touched (new site, new context, etc), we have to restart Tomcat, and that affects

Re: Tomcat Datasource

2004-07-27 Thread Ruth, Brice
Very true, I stand corrected :) Shapira, Yoav wrote: Hi, I wasn't wrong, just unable to read, it appears ;) I thought it was inside a Context declaration. Yoav Shapira Millennium Research Informatics -Original Message- From: Ruth, Brice [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 27,

RE: Tomcat Datasource

2004-07-27 Thread Shapira, Yoav
Hi, I wasn't wrong, just unable to read, it appears ;) I thought it was inside a Context declaration. Yoav Shapira Millennium Research Informatics >-Original Message- >From: Ruth, Brice [mailto:[EMAIL PROTECTED] >Sent: Tuesday, July 27, 2004 10:15 AM >To: Tomcat Users List >Subject: Re

Re: Tomcat Datasource

2004-07-27 Thread Ruth, Brice
Shapira, Yoav wrote: Hi, You'll also need to define a ResourceLink in your Context, that links You only need a ResourceLink if your Resource is defined in GlobalNamingResources. This person's Resource is defined in his/her Context, so a ResourceLink is not needed. Another good idea would b

Re: Beyond bassic form authentication?

2004-07-27 Thread Anastasios Angelidis
That wont work. Try navigating to the login page of the security sample on Tomcat. and try loging in! It will throw an exception of the sort that it canot authenticate against itself Yiannis Mavroukakis wrote: Why not make the welcome page part of the secured app , let the users authenticate

RE: Tomcat Datasource

2004-07-27 Thread Shapira, Yoav
Hi, >You'll also need to define a ResourceLink in your Context, that links You only need a ResourceLink if your Resource is defined in GlobalNamingResources. This person's Resource is defined in his/her Context, so a ResourceLink is not needed. Another good idea would be to use a more recent T

RE: Win2kSP4, Apache-2.0.49 + Tomcat-5.0.27 + mod_jk2-2.0.43 - Memory Reference Error

2004-07-27 Thread Pradeep Chauhan
Hi Noah, Great news!! Regards, Pradeep -Original Message- From: Noah [mailto:[EMAIL PROTECTED] Sent: 27.07.2004 19:29 To: [EMAIL PROTECTED] Subject: RE: Win2kSP4, Apache-2.0.49 + Tomcat-5.0.27 + mod_jk2-2.0.43 - Memory Reference Error OK, it seems to have reduced the number of errors dr

Re: Tomcat Datasource

2004-07-27 Thread Ruth, Brice
In addition to defining the DataSource in Tomcat's admin tool, you'll need to define the Resource in you web.xml - something like this: Resource reference to a factory for java.sql.Connection instances that may be used for talking to a particular

RE: SocketException while writing to Outputstream

2004-07-27 Thread Shapira, Yoav
Hi, The user closed the browser while you were generating your page. Get a later version of tomcat where this has been fixed. Yoav Shapira Millennium Research Informatics >-Original Message- >From: Sreejith [mailto:[EMAIL PROTECTED] >Sent: Tuesday, July 27, 2004 8:38 AM >To: [EMAIL PRO

Re: AW: JK2 AJP13 and Content-Length

2004-07-27 Thread Hannah Li
This has been bother me for quite some time and I have searched and googled everywhere but can not find an answer. I just want to make sure whether AJPv13 reads request body sent in chunks (no Content-Length in header). If AJPv13 does handle it, I may need to find some other causes like I may n

  1   2   >