Re: Performance Tuning on Tomcat 5.5.16 for site with 150,000 daily hits

2006-03-26 Thread Nikola Milutinovic
--- Leon Rosenberg <[EMAIL PROTECTED]> wrote: > On 3/27/06, Per Johnsson <[EMAIL PROTECTED]> wrote: > > Hi! > > > > One good thing you could do is make sure you have the APR installed > > (Apache Portal Runtime) apr.apache.org. APR = Apache Portable Runtime library > Why??? Well, it can spead t

Re: PHP Servlet Fails in Tomcat 5.5.15

2006-03-26 Thread Nikola Milutinovic
> *exception* > > java.io.IOException: null > net.php.servlet.send(Native Method) > net.php.servlet.service(servlet.java:207) > net.php.servlet.service(servlet.java:236) > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) This exception is not only generic, but it is a

Re: Performance Tuning on Tomcat 5.5.16 for site with 150,000 daily hits

2006-03-26 Thread Leon Rosenberg
On 3/27/06, Per Johnsson <[EMAIL PROTECTED]> wrote: > Hi! > > One good thing you could do is make sure you have the APR installed > (Apache Portal Runtime) apr.apache.org. Why??? > > /Per Jonssons Leon - To unsubscribe, e-mail:

Parameter update in an AbstractComponent

2006-03-26 Thread Ovidiu Hurducas
Hi, I’ve built a custom component that looks like this: public class MyComponent extends AbstractComponent { public abstract Set getMySet(); public void renderComponent(IMarkupWriter writer, IRequestCycle cycle) { for(String v: getMySet()) { . . . writer.begin("input"); writer.attr

IIS Integrated Authentification and Tomcat

2006-03-26 Thread Benjamin Lerman
Hi, I plan to use IIS as a front-end for a J2EE application running on Tomcat. I plan to use IIS integrated authentification to do NTLM authentification of users. I need to get the login of the authentificated user from my application. Is there any place where IIS puts this value ? Either

Re: Performance Tuning on Tomcat 5.5.16 for site with 150,000 daily hits

2006-03-26 Thread Per Johnsson
Hi! One good thing you could do is make sure you have the APR installed (Apache Portal Runtime) apr.apache.org. /Per Jonssons "Serkan Durusoy [DNA - encoding the future]" <[EMAIL PROTECTED]> 2006-03-26 22:02 Please respond to "Tomcat Users List" To cc Subject Performance Tuning on Tom

Re: IIS Isapi Redirector Not Working - 404 Error

2006-03-26 Thread Per Johnsson
Hi! Set the IIS to 5.0 compliance. Check the logfile of the isapi redirector. For some reason the log wont work when running in "6.0 mode". Se if the log gives you the answare. /Per Jonsson [EMAIL PROTECTED] 2006-03-27 08:10 Please respond to "Tomcat Users List" To users@tomcat.apache.o

Re: overheads on multiple connectors

2006-03-26 Thread David Rees
On 3/22/06, Chris Fong <[EMAIL PROTECTED]> wrote: > I have gotten request to separate traffic to multiple ports so that > Network Engineer can manage/debug network traffic easier (by port). I > totally agree this will make troubleshooting easier, but I am also > afraid there is performance cost in

sysdeo: whoa, wait a minute

2006-03-26 Thread Dola Woolfe
Hi, I'm evaluating everyone's advice (thank you, by they way!!!) concerning IDE's for jsp development and the first thing I tried was sysdeo with eclipse (webtools next, then netbeans). Boy, am I getting a surprise. So I created a Tomcat Project (right?) and pointed to the directory that already

Re: WebDAV problem with CoyoteConnector? and javax.servlet.HttpServlet

2006-03-26 Thread Samuli Elomaa
Hi, The servlet is mapped correctly and requesting doGet by through web browser works fine. What do you mean by right signature? you mean the java.security.Signature? or just the code syntax? Here's the code I use for my class which extends (the tomcat) WebDavServlet. protected void doO

IIS Isapi Redirector Not Working - 404 Error

2006-03-26 Thread EEstes
I am trying to get IIS 6.0 to redirect http requests to Tomcat 5.5 on port 8080. I have downloaded and installed the isapi_redirect.msi from this link: http://www.axint.net/apache/tomcat/tomcat-connectors/jk/binaries/win32/jk-1.2.15 / It created the "jakarta" virtual directory under the default

InputBuffer and Posting Data

2006-03-26 Thread Vikram Goyal
Hi all, I am trying to post some data via an applet to a JSP running on Tomcat 5.5.16. In my applet code, I am setting the following: postConn.setRequestMethod("POST"); postConn.setRequestProperty("Content-Length", (buf.length) + ""); postConn.setRequestProperty("Content-Type", "app

NoClassDefFoundError in SystemLogHandler during Bootstrap in binary version

2006-03-26 Thread Cody Caughlan
Tomcat version: 5.5.16 SuSE 10 OSS JDK: 1.5.06 Classpath: /usr/local/apache-tomcat-5.5.16/bin: /usr/local/apache-tomcat-5.5.16/server/lib: /usr/local/apache-tomcat-5.5.16/common/lib: /usr/local/jdk1.5.0_06/lib:/usr/local/jdk1.5.0_06/jre/lib/ext I get this error in catalina.out when I attempt to s

RE: Cluster member discovery

2006-03-26 Thread Parham, Clinton
Martin, The install on nodeB is operation. I am able to open the default Tomcat page, "If you're seeing this page via a web browser, it means you've setup Tomcat successfully." Netstat lists the http(80), mcast(45564) and receiver (4001) ports. Other ideas? This is very frustrating. Thanks. [Bi

RE: Cluster member discovery

2006-03-26 Thread Parham, Clinton
Yes, I tried removing the bind address. The behavior is the same. Any other suggestions? Thanks. -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Sunday, March 26, 2006 3:06 PM To: Tomcat Users List Subject: Re: Cluster member discovery did you try to rem

Re: Disabling put and delete http methods

2006-03-26 Thread Bill Barker
Urm, what part of 'disabled' don't you understand ;-). Tomcat has refused to pass on the request to the Servlet, since nobody is authorized to perform this Method on it (hence the 403 - Forbidden). Sending 404 is just wrong, since the resource does exist. Sending 405 would mean that Tomcat is

PHP Servlet Fails in Tomcat 5.5.15

2006-03-26 Thread Gregg Leichtman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have tried without success for several days to get the PHP servlet running under Tomcat. My environment is as follows: Suse Linux 9.3 [EMAIL PROTECTED]:~/tomcat/apache-tomcat-5.5.15/logs> uname -a Linux aragorn 2.6.11.4-21.10-default #1 Tue Nov 29 1

Re: Disabling put and delete http methods

2006-03-26 Thread Stephen More
My jakarta-tomcat-5.0.28/conf/web.xml now contains: Disallowed Location /* PUT DELETE But when I try to: DELETE /tomcat-docs/changelog.html I get 403 Access Denied instead of a 404 or 405. It does not appear that the DELETE option has been disabled. What else do I need to

Re: unable to deploy a servlet while disabling the invoker

2006-03-26 Thread Martin Gainty
Good call wendy.. personally..I steer clear of things such as invoker which supposedly auto-configure web.xml for you Much better to identify jsp,servlet, startup params in web.xml beforehand That way you always know what tomcat is supposed to do- Martin- - Original Message - From: "We

Re: Cluster member discovery

2006-03-26 Thread Martin Gainty
Bill- Make sure your tomcat install is operational check whatever the default connector (catalina) port is configured to via netstat -a | grep CatalinaPort if it isnt there then that Tomcat server never came up and you should check the logs in %CATALINA_HOME%\logs for any exceptions or errors

Re: unable to deploy a servlet while disabling the invoker

2006-03-26 Thread Wendy Smoak
On 3/26/06, Bassel Mannaa <[EMAIL PROTECTED]> wrote: > ... > In addition to making sure you're using the right URL, check your spelling in web.xml. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: unable to deploy a servlet while disabling the invoker

2006-03-26 Thread Markus Schönhaber
Bassel Mannaa wrote: > I've been trying to deploy a servlet. It worked out when I enabled the > "invoker" servlet and called my "Hello" servlet like this " > http://localhost:8080/myapp/servlet/Hello";. > but when I redisabled the invoker servlet and inserted the web.xml file in > WEB-INF and tried

RE: unable to deploy a servlet while disabling the invoker

2006-03-26 Thread Tim Lucia
How did you invoke it with the invoker servlet disabled? According to your web.xml, it would be available at: http://localhost:8080/myapp/Hello Tim -Original Message- From: Bassel Mannaa [mailto:[EMAIL PROTECTED] Sent: Sunday, March 26, 2006 6:59 PM To: users@tomcat.apache.org Subjec

RE: how to get selected value from drop down box which get from database

2006-03-26 Thread Tim Lucia
This is not a tomcat question. It is an HTML question. The answer is that the form will post a variable with the name of the input control = value of the input control, or, anyname=x where x is the selected value of anyname. i.e. 1 2 Will submit ...#?anyname=1 if loaded and submitted with

unable to deploy a servlet while disabling the invoker

2006-03-26 Thread Bassel Mannaa
greetings, I've been trying to deploy a servlet. It worked out when I enabled the "invoker" servlet and called my "Hello" servlet like this " http://localhost:8080/myapp/servlet/Hello";. but when I redisabled the invoker servlet and inserted the web.xml file in WEB-INF and tried to call the servle

Re: how to get selected value from drop down box which get from database

2006-03-26 Thread Xin Hua Sun
Hi Everyone, I have a problem with get selected value from drop down box which the data get from database. I use the following code to succefully get the data from database and dsiplay it in the drop down box. But I don't know how to get the selected value from drop down box and send it to

Re: Performance Tuning on Tomcat 5.5.16 for site with 150,000 daily hits

2006-03-26 Thread Leon Rosenberg
Hello Serkan, 18.000 hits / per hour sounds rather boring, but: 18.000 hits per hour = 5 hits per second which means, that assuming no requests have to wait for processing you must be able to finish each request in 200 ms. That's not a tomcat issue, 100 and more requests per second can be server e

RE: Run Tomcat in W2k3 as service

2006-03-26 Thread Ryan Daly
On Fri, 2006-03-24 at 09:42 -0500, Ryan Daly wrote: > On Fri, 2006-03-24 at 08:27 -0600, Benjamin Armintor wrote: > > I'm not sure about Windows services specifically, but you can start the > > JVM with a security manager generically by using the > > "-Djava.security.manager" and "-Djava.security.p

Re: Performance Tuning on Tomcat 5.5.16 for site with 150,000 daily hits

2006-03-26 Thread Peter Lin
supporting 150,000 page views a day isn't a problem. I know first hand it can handle that kind of load. the bigger question is whether or not the design of the application will scale well for 1000 virtual hosts. What I've done in the past is to get some sample traffic and then start testing a coup

Re: Cluster member discovery

2006-03-26 Thread Filip Hanik - Dev Lists
did you try to remove the bind address? Filip Parham, Clinton wrote: Hello Tomcat Users! I'm trying to setup two node clustering (nodeA & nodeB) using the following: Windows 2003, Tomcat 5.5.16 (apache-tomcat-5.5.16.exe) and JDK1.5. For some inexplicable reason, I cannot get nodeB to discover

Performance Tuning on Tomcat 5.5.16 for site with 150,000 daily hits

2006-03-26 Thread Serkan Durusoy [DNA - encoding the future]
Hello All, I am new to this mailing list, so please bare with (and warn) me if I fall into a mistake. Here is our environment followed by my question: We are currently developing a hosted content management system (CMS) solution using mainly JSP's and Java Classes. Our production environment wil

Re: WebDAV problem with CoyoteConnector? and javax.servlet.HttpServlet

2006-03-26 Thread Mark Thomas
Samuli Elomaa wrote: > Now, the problem is that instead of my servlet responding by using > doOptions, the doOptions is never called because tomcat (CoyoteConnector?) > answers before my servlet with answer like: It isn't the CoyoteConnector. It could be a couple of things. Check that the OPTION

Re: mod_jk settings for a large node cluster

2006-03-26 Thread Mark Thomas
Mohan2005 wrote: > any sugestions on this please ? http://tomcat.apache.org/faq/tomcatuser.html#why - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Cluster member discovery

2006-03-26 Thread Parham, Clinton
Hello Tomcat Users! I'm trying to setup two node clustering (nodeA & nodeB) using the following: Windows 2003, Tomcat 5.5.16 (apache-tomcat-5.5.16.exe) and JDK1.5. For some inexplicable reason, I cannot get nodeB to discover nodeA. nodeA always discovers nodeB successfully. The two nodes are iden

reject

2006-03-26 Thread Mikolaj
-- Ten list zosta³ przeskanowany przez program ArcaMail Silnik (2006-01-25/2006-03-25) This message has been scanned by ArcaMail Engine (2006-01-25/2006-03-25) http://www.mks.com.pl

RE: Recommended Specs for Oracle 10g db server

2006-03-26 Thread Wade Chandler
--- Mohan2005 <[EMAIL PROTECTED]> wrote: > > Thank you all kindly for these valuable comments and > suggestions. I have > notices somethings we have obvious problems and need > to be addressed. > > We are running this 10g on a hardware RAID-5 array > (SCSI). > > The 10g is at the backend of 12

Re: hibernate jdbc drivers question

2006-03-26 Thread Wade Chandler
Martin, I'm pretty sure you want this documentation: http://www.hibernate.org/hib_docs/v3/reference/en/html/session-configuration.html#configuration-hibernatejdbc and the mailing list and forums can be subscribed to here: http://www.hibernate.org/20.html Hope it helps, Wade --

WebDAV problem with CoyoteConnector? and javax.servlet.HttpServlet

2006-03-26 Thread Samuli Elomaa
Hi, I have been coding a little webdav servlet based on jakarta tomcat webdavservlet.java on Apache Tomcat 4.1.24. Now my problem is that, when the users webdav client connects to my servlet it sends request starting with "OPTIONS /webdav/ HTTP/1.1.." For this request it wants an response li

how to install Tomcat 5.5 in Windows 2003?

2006-03-26 Thread Cesar Ribera
Hi All. I'm just begining to use Tomcat, installed in WinXP before, with no problems, I tried to install it in Windows Server 2003 and I had a popup GPF Windows about "Memory 'read' " and I couldn't finish the installation. The Win2K3 server has IIS 6 already installed... Where

Error listenerStart solution?

2006-03-26 Thread Dean Hiller
I see lots of post on "Error listenerStart". I know what this is caused by. It is caused by your ServletContextListener throwing an exception on the contextInitialized method. I do not know however why it is not logging stack traces. It is like one will have to write a JUnit test to cal the

not logging ServletContextException anywhere

2006-03-26 Thread Dean Hiller
All I get in the logs is this(which I know is caused by an exception in contextInitialized() method of my ServletContextListener) SEVERE: Error listenerStart Mar 26, 2006 6:36:25 AM org.apache.catalina.core.StandardContext start SEVERE: Context [/projectservice] startup failed due to previou

Re: hibernate jdbc drivers question

2006-03-26 Thread Martin Gainty
Good Morning Wade- The driver is the wrong version..kinda like engine light going on your dash which will raise your blood pressure but will not deliver any useful information to whom do I send this post to? Thanks, Martin- - Original Message - From: "Wade Chandler" <[EMAIL PROTECTED

RE: Only a type can be imported. x.y.MyClass resolves to a package

2006-03-26 Thread Rob Gregory
This usually points to a missing jar file or missing classes. By missing I mean either not available on the classpath, etc. -Original Message- From: prophecy [mailto:[EMAIL PROTECTED] Sent: 22 March 2006 01:07 To: users@tomcat.apache.org Subject: Only a type can be imported. x.y.MyClass r

RE: Recommended Specs for Oracle 10g db server

2006-03-26 Thread Mohan2005
Thank you all kindly for these valuable comments and suggestions. I have notices somethings we have obvious problems and need to be addressed. We are running this 10g on a hardware RAID-5 array (SCSI). The 10g is at the backend of 12 tomcat servers load balanced thru a apache web server. Each t

Re: [5.5] path specified in context.xml not being used

2006-03-26 Thread Nic Daniau
agree with Chuck. It used to work in previous versions of Tomcat (up to 5.5.9 if I'm correct) but it stopped behaving like this in more recent versions (eg 5.5.16). The doc explicitely says not to use the path attribute in context files deployed within your war's META-INF or your server's conf/Cata

Re: problem working servlets/jsp-examples

2006-03-26 Thread Markus Schönhaber
Bassel Mannaa wrote: > I start my web browser put the link http://localhost:8080/ > the server is working however when I click on "servlet examples" I get the > "404" error with description: *The requested resource (/servlets-examples/) > is not available. > *this is the same situation I got when I