Re: Embedded example
You can google for tomcat embedded and should be able to find examples. Most of the setup for embedded is same as in 4.1 except for setting some properties... Sandeep On 7/2/05, Steffen Heil <[EMAIL PROTECTED]> wrote: > Hi > > Can someone tell me where to find an example with tomcat 5.5 embedded? > It seems there is nothing... > > Or even better: Is there a way to use the http(s) connector without tomcat? > I want to direct ALL requests to ONE pure servlet and there do not need most > parts of tomcat. > > Regards, > Steffen > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Logging setup in Embedded mode
Hi, Has anyone tried setting up tomcat logging using log4j or java logging when running tomcat 5.5.9 in embedded mode? In tomcat 4.1, I used FileLogger but this has changed in 5.5.9. Any help would be appreciated... Thanks, Sandeep - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Exception -- Tomcat 4.1.30
Hi, I am seeing the following exception happen once in a while. I am using tomcat 4.1.30 and running in standalone mode. Any idea of what the issue is?? Is it fixed in a later version??? Thanks, Sandeep java.util.ConcurrentModificationException at java.util.AbstractList$Itr.remove(Unknown Source) at java.util.AbstractCollection.remove(Unknown Source) at org.apache.coyote.RequestGroupInfo.removeRequestProcessor(RequestGroupInfo.j ava:17) at org.apache.coyote.RequestInfo.setGlobalProcessor(RequestInfo.java:96) at org.apache.coyote.http11.Http11Protocol$MXPoolListener.threadEnd(Http11Proto col.java:630) at org.apache.tomcat.util.threads.ThreadPool.removeThread(ThreadPool.java:281) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:731) at java.lang.Thread.run(Unknown Source)
Tomcat in embedded mode
Hi, I am running tomcat in embedded mode. Everything seem to work fine but I see the following log in the standard out: CoyoteConnector Coyote can't register jmx for protocol Any idea of what might be the problem?? I don't need jmx for my application. Is there anyway to stop this from initializing? Thanks, Sandeep
Denial of Service support
Hi, Does tomcat have any built-in support to avoid for DOS attacks? Thanks, Sandeep _ Looking to buy a house? Get informed with the Home Buying Guide from MSN House & Home. http://coldwellbanker.msn.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat sending connection close message
Hi, I am using Tomcat 4.1.24 with Axis 1.1 final and I am using persistent connections. Once in a while I see that a http message which doesn't have content-length and is not chunk-encoded. Also this message has connection header as close. I have attached the headers of the http message. content-type Value = text/xml;charset=utf-8 Header = connection Value = close Header = server Value = Apache-Coyote/1.1 Does anyone know what might cause this message to be sent by the server?? Thanks _ Best Restaurant Giveaway Ever! Vote for your favorites for a chance to win $1 million! http://local.msn.com/special/giveaway.asp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Max Number of Http connections
Hi, I am using tomcat 4.1.30 with Axis 1.1 final. I am using persistent http connections. So each client has couple of http connections open at a time. The problem I am running into is that after a certain number of connections, the server sends a connection close header in the http response. I have seen this problem after 50 to 60 concurrent connections. Is there a limit on max number of tcp/http connections? Is there a way to print the http messages on the server side? Thanks, Sandeep _ Watch LIVE baseball games on your computer with MLB.TV, included with MSN Premium! http://join.msn.com/?page=features/mlb&pgmarket=en-us/go/onm00200439ave/direct/01/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to use HTTP1.0 by default
Hi, I want Tomcat to generate HTTP 1.0 responses by default. What config needs to be changed on tomcat for this? Thanks, Sandeep _ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat with Axis
Hi, I am using tomcat as a servlet container for Axis SOAP engine. I just need this aspect of tomcat and nothing else but when I start tomcat, it seem to be starting lot of other things. I removed some of them but is there any document specifying what components are for what ? And also is it possible to straighten the directory structure and have only those directories that are required? The version of tomcat being used is 4.1.24 LE jdk1.4. Any information would be helpful. Thanks in advance, Sandeep _ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Classpath problem with Tomcat running in Embedded mode
Thanks for your reply. Iam calling the BootStrap.main directly from a thread in my jvm. Iam using Tomcat 4.1.24. I have the catalina.home set to tomcat directory. It recognizes the classes in tomcat directory but none of the classes in the classpath I specify while starting the jvm. Sandeep From: Sriram N <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> To: Tomcat Users List <[EMAIL PROTECTED]> Subject: Re: Classpath problem with Tomcat running in Embedded mode Date: Wed, 11 Jun 2003 20:55:42 -0700 (PDT) Hi, This is a ClassLoader visibility issue. Read the ClassLoader howto in the Tomcat Docs. How exactly are you running Embedded ? Are you invoking the main method on it straight out ? Which Tomcat release are you using ? -- Sriram --- sandeep arshanapally <[EMAIL PROTECTED]> wrote: > > Hi, > > Iam running tomcat in an embedded mode i.e. launching it from with in > my jvm and using it with Axis for SOAP processing. I am having a problem > with the classes and classpath. The SOAP implementation class files need to > be there /webapps/axis/WEB-INF/classes otherwise it doesn't work and if Iam > referencing any other classes from there, it throws a > ClassNotFoundException. > Is there anyway that I can specify the classpath so that the classes do not > have to be in that directory? > > > Thanks in advance, > > Sandeep > > _ > MSN 8 with e-mail virus protection service: 2 months FREE* > http://join.msn.com/?page=features/virus > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > __ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Classpath problem with Tomcat running in Embedded mode
Hi, Iam running tomcat in an embedded mode i.e. launching it from with in my jvm and using it with Axis for SOAP processing. I am having a problem with the classes and classpath. The SOAP implementation class files need to be there /webapps/axis/WEB-INF/classes otherwise it doesn't work and if Iam referencing any other classes from there, it throws a ClassNotFoundException. Is there anyway that I can specify the classpath so that the classes do not have to be in that directory? Thanks in advance, Sandeep _ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]