Re: Embedded Tomcat and SSL?

2005-10-07 Thread lmuxer-mailinglists
PROTECTED] wrote: are you using Apace with Tomcat? I have done embedded Tomcat and SSL, but it was Apache sitting in front of Tomcat. On 10/6/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I am using an embedded tomcat instance within my application. I am trying to set up

Re: Embedded Tomcat and SSL? [255821:132351]

2005-10-07 Thread RTE - Meridian Club
] Received: 10/7/2005 5:45 PM To: Tomcat Users List tomcat-user@jakarta.apache.org; Mark [EMAIL PROTECTED] Subject: Re: Embedded Tomcat and SSL? I am using Tomcat as standalone and not with Apache. I got it to work after playing with it for a while. You have to set these undocumented

Embedded Tomcat and SSL?

2005-10-06 Thread lmuxer-mailinglists
Hi, I am using an embedded tomcat instance within my application. I am trying to set up a connector using SSL. When I start the server, it creates the connector and bind to the port successfully. When I request a page from the web browser, I get the following error in my browser: The connection

Re: Embedded Tomcat and SSL?

2005-10-06 Thread Mark
are you using Apace with Tomcat? I have done embedded Tomcat and SSL, but it was Apache sitting in front of Tomcat. On 10/6/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I am using an embedded tomcat instance within my application. I am trying to set up a connector using SSL. When I

Re: Embedded Tomcat and shared objects...

2005-09-28 Thread Darryl L. Pierce
Leon Rosenberg wrote: Aehm, without looking deeper into context initialization, just a short guess: what about making your configuration objects a singleton with public static CLASSNAME getInstance() or provide a factory for them? Because the class in question is created by Spring's

Re: Embedded Tomcat and shared objects...

2005-09-28 Thread Leon Rosenberg
still, spring can use the same factory. If not, use a container that can use factories :-) If nothing works, the hack would be: class MyObjectInstanceHolder{ private static MyObject instance; public set/getInstance... } ? regards leon On 9/28/05, Darryl L. Pierce [EMAIL PROTECTED] wrote:

Re: Embedded Tomcat and shared objects...

2005-09-28 Thread Mark
I have done something like this. The Factory and Singleton design patters work perfectly for this type of thing. If you create an abstraction layer, then there should be no problems On 9/28/05, Leon Rosenberg [EMAIL PROTECTED] wrote: still, spring can use the same factory. If not, use a

Embedded Tomcat and shared objects...

2005-09-27 Thread Darryl L. Pierce
I have embedded Tomcat 5.0.28 into an application I'm writing. Tomcat is being used primarily as the configuration system. I would like to, from the servlet running within Tomcat, access objects that are a part of the main application itself, specific some configuration objects. Is there a way

Re: Embedded Tomcat and shared objects...

2005-09-27 Thread Leon Rosenberg
Aehm, without looking deeper into context initialization, just a short guess: what about making your configuration objects a singleton with public static CLASSNAME getInstance() or provide a factory for them? regards leon On 9/27/05, Darryl L. Pierce [EMAIL PROTECTED] wrote: I have embedded

Can't use packed WARs with embedded Tomcat?

2005-07-29 Thread Spammed TooMuch
Hi, Appreciate a little help. I am using 4.1 Tomcat's Embedded class. I have worked most things but but can not get it to use packed WAR files. I have the context's set up, I think, because if I expand the war file the index.html file in the resulting directory is found. Is Embedded suppose to

Re: Admin account - embedded tomcat in netbeans

2005-07-14 Thread Geertjan Wielenga
/administer the embedded tomcat server. Can't seem to get past the admin login screen. I have read the docs, edited the tomcat_users.xml file. Any and all assistance would be appreciated. ** Thanks, Jay Huffman DST Systems, Inc Special Products

Classpath issues with embedded tomcat

2005-07-12 Thread Ryan LeCompte
Hello all, I'm running embedded tomcat 5.5.9. Let's say that I have one version of X.jar in my main classpath when I launch my embedded Tomcat, and also a different version of X.jar in a deployed webapp under WEB-INF/lib. Is there a way to force tomcat to use the X.jar version that it's in WEB

Problem configuring context resource in embedded tomcat 5.5.9

2005-07-11 Thread Ryan LeCompte
Hello all, I'm trying to manually configure a context resource using embedded Tomcat 5.5.9. I'm not sure if ordering is important in the code below, but perhaps one of you could shed some light. I don't get any exceptions or anything, but my webapp isn't able to find the resource. Here

Admin account - embedded tomcat in netbeans

2005-07-06 Thread JAHuffman
All - I have installed netbeans and want to use/administer the embedded tomcat server. Can't seem to get past the admin login screen. I have read the docs, edited the tomcat_users.xml file. Any and all assistance would be appreciated

RE: Embedded Tomcat SSL

2005-06-23 Thread Diarmuid McDonald
Hi Freddie, Unfortunately I havent found a solution. If anyone has done Java Embedded Tomcat using SSL, could they post a simple test program. -Original Message- From: Freddie Willis [mailto:[EMAIL PROTECTED] Sent: 21 June 2005 10:23 To: tomcat-user@jakarta.apache.org Subject: RE

RE: Embedded Tomcat SSL

2005-06-23 Thread Caldarale, Charles R
From: Diarmuid McDonald [mailto:[EMAIL PROTECTED] Subject: RE: Embedded Tomcat SSL Unfortunately I havent found a solution. If anyone has done Java Embedded Tomcat using SSL, could they post a simple test program. Can't really comment about how it's done, but it is possible, since JBoss

RE: Embedded Tomcat SSL

2005-06-21 Thread Freddie Willis
Hi Diarmuid, I was investigating running Embedded Tomcat, I also ran into problems running SSL, getting a SSLHandshakeException. Did you find a s solution Thanx, Freddie -Original Message- From: Diarmuid McDonald [mailto:[EMAIL PROTECTED] Sent: 09 June 2005 14:40 To: Tomcat Users

RE: Embedded Tomcat SSL

2005-06-09 Thread Diarmuid McDonald
Hi Mark, thanks for your replies. Is there any chance you could mail your complete code, for getting embedded Tomcat and SSL working. I Implemented creating a Connector this way however, I was unsuccessful and got the following Error. I have no idea what property it is looking for. 11:33:36

Embedded Tomcat SSL

2005-06-08 Thread Diarmuid McDonald
Hi, Can anyone help me with regard to running Embedded Tomcat 5.5.9 with SSL. I found a mail archive before that has the same problem, however there is no resolution. http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg153661.html I have included my code and errors that I am

Re: Embedded Tomcat SSL

2005-06-08 Thread Mark
I do not think that you need an SSL connector. I have an embedded tomcat working using mutual authenticated SSL and the connector is not SSL enabled. On 6/8/05, Diarmuid McDonald [EMAIL PROTECTED] wrote: Hi, Can anyone help me with regard to running Embedded Tomcat 5.5.9 with SSL. I found

Re: Embedded Tomcat SSL

2005-06-08 Thread Atul
Hi Mark, On a similar note, would you be able to point me on how to get CRL validator invoked by tomcat 5.x for ssl/mutual. thnks On 6/8/05, Mark [EMAIL PROTECTED] wrote: I do not think that you need an SSL connector. I have an embedded tomcat working using mutual authenticated SSL

RE: Embedded Tomcat SSL

2005-06-08 Thread Diarmuid McDonald
Message- From: Mark [mailto:[EMAIL PROTECTED] Sent: 08 June 2005 16:12 To: Tomcat Users List Subject: Re: Embedded Tomcat SSL I do not think that you need an SSL connector. I have an embedded tomcat working using mutual authenticated SSL and the connector is not SSL enabled. On 6/8/05

Re: Embedded Tomcat SSL

2005-06-08 Thread Mark
, false); Could you elaborate as to how you got SSL working, or do you have sample code I could use -Original Message- From: Mark [mailto:[EMAIL PROTECTED] Sent: 08 June 2005 16:12 To: Tomcat Users List Subject: Re: Embedded Tomcat SSL I do

Embedded Tomcat SSL

2005-05-31 Thread tom ONeill
Hi all, Can anybody show me how I might get SSL working with embedded Tomcat. When creating a Connector I have set the value of the secure parameter equals to true but after this I am not sure what else I need to do. I have taken a look at the code of Embedded and I notice

Re: Embedded Tomcat SSL

2005-05-31 Thread Aleksandar Valchev
You have to tell tomcat where to find keystore file: IntrospectionUtils.setProperty(connector, sslProtocol, TLS); IntrospectionUtils.setProperty(connector, keypass, keystore-password); IntrospectionUtils.setProperty(connector, keystore, path-to-keystore); Hope this helps Aleksandar

Re: Embedded Tomcat SSL

2005-05-31 Thread tom ONeill
(); // Any ideas what I am doing wrong (I forgot to mention that I am using embedded Tomcat 5.5.9). Cheers, Tom From: Aleksandar Valchev [EMAIL PROTECTED] Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org To: Tomcat Users List tomcat-user@jakarta.apache.org Subject

Re: Embedded Tomcat SSL

2005-05-31 Thread tom ONeill
(); // Any ideas what I am doing wrong (I forgot to mention that I am using embedded Tomcat 5.5.9). Cheers, Tom From: Aleksandar Valchev [EMAIL PROTECTED] Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: Re: Embedded

Re: Embedded Tomcat SSL

2005-05-31 Thread Aleksandar Valchev
( httpConnector ); embedded.start(); /// /// Any ideas what I am doing wrong (I forgot to mention that I am using embedded Tomcat 5.5.9). Cheers, Tom From: Aleksandar Valchev [EMAIL PROTECTED] Reply

Re: Embedded Tomcat SSL

2005-05-31 Thread tom ONeill
[EMAIL PROTECTED] Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: Re: Embedded Tomcat SSL Date: Tue, 31 May 2005 13:14:14 +0300 On Tuesday 31 May 2005 12:39, tom ONeill wrote: You see tomcat home page on http://localhost:443

Embedded Tomcat JDBC Issue

2005-05-31 Thread Joe Reger, Jr.
Reger, Jr. [mailto:[EMAIL PROTECTED] Sent: Sunday, May 29, 2005 3:56 PM To: tomcat-user@jakarta.apache.org Subject: Embedded Tomcat JNDI/JDBC Configuration Questions Hi! I've successfully created a project that embeds Tomcat. Excellent! I can see the sample page and the manager app, reporting

Embedded Tomcat JNDI/JDBC Configuration Questions

2005-05-29 Thread Joe Reger, Jr.
configured correctly and/or isn't available to the code from the .war file running inside of the embedded tomcat. Questions: 1) Is my jndiPrePend variable correct? It works for a standard deployment on a non-embedded tomcat. 2) Is there anything special I need to do to get a jndi/jdbc resource

Embedded Tomcat - adding Connectors on the fly

2005-04-26 Thread Sander A. Smith
I have a copy of Tomcat embedded inside my application, and it runs great. During the processing, I'd like to open another port to service requests on. The documentation on the Embedded object states: After normal operations have begun, you can add and remove Connectors, Engines, Hosts, and

Adding Connectors to embedded Tomcat on the fly

2005-04-22 Thread Sander A. Smith
I've got an embedded Tomcat application that's running on 5.0.24 and it works great. Something I need to do is open and close ports while the application runs. The documentation says that you can do this on the fly in the form of adding/deleting Connectors to the Embedded object. I've got

Re: Launching an embedded Tomcat from Maven 1.x

2005-04-21 Thread Bill Barker
Since you are using Embedded, your class needs to be loaded by the same ClassLoader that loads Tomcat. You might want to look at the examples for loading Tomcat from ant in commons-modeler, as an alternative way of doing what you want. Alonso Dominguez [EMAIL PROTECTED] wrote in message

Manager app for embedded tomcat?

2005-04-21 Thread Ted Weatherly
files. Restarting tomcat through the manager was also quicker than a full restart. Now I'm using embedded tomcat and I want to do the same thing. Is there a manager app for embedded tomcat? If so, does anyone have tips for configuring it? I couldn't find anything relevant on: http

Launching an embedded Tomcat from Maven 1.x

2005-04-20 Thread Alonso Dominguez
Hi there! I'm working to embed a Tomcat server as a servlet container inside an Avalon Framework with a Loom engine. I looked for information how to launch the Catalina service from Java and finally I wrote the next file: package org.jlabase.framework.tomcat.startup; import java.io.File; import

Embedded tomcat ussage

2005-03-31 Thread Renat Zubairov
Hello All! I have a question concerning embedded tomcat. How to make it even more embedded as it is? I.e. do not extract war file somewhere but getting a files from it directly? Is there any standart way to acomplish it? BR Renat

Re: Embedded tomcat ussage

2005-03-31 Thread QM
On Thu, Mar 31, 2005 at 03:18:30PM +0200, Renat Zubairov wrote: : I have a question concerning embedded tomcat. : How to make it even more embedded as it is? : I.e. do not extract war file somewhere but getting a files from it directly? : Is there any standart way to acomplish it? It depends

Problem with using xerces 2.6.2 in embedded tomcat 5.5

2005-02-21 Thread Vy Ho
I have class not found exception: Exception in thread AWT-EventQueue-0 javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:104) at

Programmatically add ClassLoader for Embedded tomcat

2005-01-17 Thread Iwan Vosloo
Hi there, Assuming I have programmatic access to tomcat only (I run am Embedded tomcat), how can I either: a) append more paths to search for classes in an existing ClassLoader; or b) create and add my own custom Loader or ClassLoader in the chain? Thanks -Iwan Vosloo Powered by Tiscali - http

Embedded tomcat without any config on disk

2004-12-24 Thread Iwan Vosloo
Hi there. I am trying to start an embedded tomcat instance, but I would like to supply it with a servlet to run, and supply no config files and directories etc. I am following the example at http://www.onjava.com/pub/a/onjava/2002/04/03/tomcat.html, and the mail: http://nagoya.apache.org

Re: Queries on Embedded Tomcat Server

2004-12-01 Thread Jean-Francois Arcand
on how to make this always available ? I recommend you start a Thread that start Tomcat and lock on an object. When you stop you app, just unlock thin thread. Hope that help -- Jeanfrancois Thanks, Mohamed Rafi S Mohamed Rafi S wrote: Hi All, I need to run a Embedded Tomcat server in my

Re: Queries on Embedded Tomcat Server

2004-12-01 Thread Mohamed Rafi S
/ successfully without any issue. So, any pointers on how to make this always available ? Thanks, Mohamed Rafi S Mohamed Rafi S wrote: Hi All, I need to run a Embedded Tomcat server in my application. For this, I checked the sample code and docs, and did the needful. My application's main class

Re: Queries on Embedded Tomcat Server

2004-12-01 Thread DJohnson
under your control. If this simple class is your whole application, then I'd suggest you run Tomcat standalone. Please respond to Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:Re: Queries on Embedded Tomcat Server Hi, Even when I dont do

Queries on Embedded Tomcat Server

2004-11-30 Thread Mohamed Rafi S
Hi All, I need to run a Embedded Tomcat server in my application. For this, I checked the sample code and docs, and did the needful. My application's main class is ApplicationLoader.java, and in the main() method of my ApplicationLoader.java, I am doing a appLoader.startTomcat(). However

Re: Queries on Embedded Tomcat Server

2004-11-30 Thread Jeanfrancois Arcand
Mohamed Rafi S wrote: Hi All, I need to run a Embedded Tomcat server in my application. For this, I checked the sample code and docs, and did the needful. My application's main class is ApplicationLoader.java, and in the main() method of my ApplicationLoader.java, I am doing

Re: Queries on Embedded Tomcat Server

2004-11-30 Thread Mohamed Rafi S
? Thanks, Mohamed Rafi S Mohamed Rafi S wrote: Hi All, I need to run a Embedded Tomcat server in my application. For this, I checked the sample code and docs, and did the needful. My application's main class is ApplicationLoader.java, and in the main() method of my ApplicationLoader.java, I am

Re: Queries on Embedded Tomcat Server

2004-11-30 Thread Peik Feng
, Mohamed Rafi S Mohamed Rafi S wrote: Hi All, I need to run a Embedded Tomcat server in my application. For this, I checked the sample code and docs, and did the needful. My application's main class is ApplicationLoader.java, and in the main() method of my ApplicationLoader.java

Re: Embedded Tomcat error (tomcat 5.5.4)

2004-11-23 Thread Vy Ho
the following error when trying to run Embedded tomcat v5.5.4 (I have modified Embedded.java to print out the error) java.lang.NullPointerException at org.apache.tomcat.util.IntrospectionUtils.setProperty(IntrospectionUt ils.java:267) at org.apache.catalina.startup.Embedded.createConnector

RE: Embedded Tomcat error (tomcat 5.5.4)

2004-11-23 Thread Shapira, Yoav
is using the embedded is low. Maybe you've heard of this one thing using Embedded Tomcat, it's called JBoss ;) You're far from alone. Yoav Shapira http://www.yoavshapira.com This e-mail, including any attachments, is a confidential business communication, and may contain information

Re: Embedded Tomcat error (tomcat 5.5.4)

2004-11-23 Thread Remy Maucherat
been paid to the docs. The connector creation issue was a bug in 5.5.4 (fixed in CVS). I am afraid of the amount of testing and the number of people is using the embedded is low. Maybe you've heard of this one thing using Embedded Tomcat, it's called JBoss ;) You're far from alone. Well

Embedded Tomcat error (tomcat 5.5.4)

2004-11-21 Thread Peik Feng
Hi, I'm getting the following error when trying to run Embedded tomcat v5.5.4 (I have modified Embedded.java to print out the error) java.lang.NullPointerException at org.apache.tomcat.util.IntrospectionUtils.setProperty(IntrospectionUt ils.java:267

Error while starting up Embedded tomcat server

2004-11-19 Thread Mohamed Rafi S
Hi, I am getting an error while try to bring up my Embedded Tomcat server. Following is given as the root cause of the Exception: at EmbeddedTomcat.main(EmbeddedTomcat.java:126) Caused by: java.util.MissingResourceException: Can't find bundle for base name

Error while trying to start the Embedded Tomcat Server:

2004-11-18 Thread Mohamed Rafi S
Hi All, I am trying to have a Embedded Tomcat Server. I got the examples to do so from the web, and modified the code, so that my Tomcat server is embedded along with the Web Application. However, when I run the Embedded Tomcat class, it, I am getting the following error: StandardManager

RE: Error while trying to start the Embedded Tomcat Server:

2004-11-18 Thread Shapira, Yoav
Hi, org.apache.catalina.servlets.DefaultServlet at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.ja v a:865) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:776) at

Re: Error while trying to start the Embedded Tomcat Server:

2004-11-18 Thread Mohamed Rafi S
Yes, following is the root cause given from the exception logs...: - Root Cause - java.lang.ExceptionInInitializerError at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorA

RE: Embedded Tomcat deploying WAR with URL of type jar:

2004-11-17 Thread Shapira, Yoav
Hi, Or the Manager webapp docs, which show example WAR URLs. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 16, 2004 6:34 PM To: Tomcat Users List Subject: Re: Embedded Tomcat deploying WAR with URL of type

Embedded Tomcat deploying WAR with URL of type jar:

2004-11-16 Thread Joe Reger, Jr.
Hi. I have a question regarding the embedded version of Tomcat. I'd like to have a java program start an instance of Tomcat and then deploy a WAR file to it. ... URL warFile = new URL(jar:C:/source/ROOT.war); Deployer deployer = (Deployer)host; deployer.install(/ROOT, warFile); ... I get the

Re: Embedded Tomcat deploying WAR with URL of type jar:

2004-11-16 Thread Ben Souther
Hi Joe, URL warFile = new URL(jar:C:/source/ROOT.war); Take a look at the syntax for the JarURLConnection class. http://java.sun.com/j2se/1.4.2/docs/api/java/net/JarURLConnection.html -Ben Souther F.W. Davison Co, Inc. ;-) On Tue, 2004-11-16 at 17:59, Joe Reger, Jr. wrote: Hi. I have a

Good tutorial on embedded Tomcat

2004-11-13 Thread V D
I try to find good information on programming with embedded Tomcat, but did not find much. I managed to get it running. However, if there's more indepth information, it would be much easier. I didn't see much information on Tomcat website. Did I miss something? There's the API, which

Re: Good tutorial on embedded Tomcat

2004-11-13 Thread Remy Maucherat
On Sat, 13 Nov 2004 11:05:49 -0500, V D [EMAIL PROTECTED] wrote: I try to find good information on programming with embedded Tomcat, but did not find much. I managed to get it running. However, if there's more indepth information, it would be much easier. I didn't see much information

Re: Good tutorial on embedded Tomcat

2004-11-13 Thread sven morales
The new book on Tomcat5 Unleashed by Moczar covers embedded tomcat, but for only a chapter. The wrox book professional tomcat 5 also has chapter, but you know, a chapter can't possibly cover it in-depth. The book which probably covers Tomcat in-depth programmaticallywise is the How Tomcat

Problem running Embedded Tomcat

2004-10-29 Thread Kang, Kamaljeet K.
Hi, Can somebody help me with the following null pointer which is happening when I am trying to run tomcat as embedded application. java.lang.NullPointerException at org.apache.catalina.startup.DigesterFactory.register(DigesterFactory.jav a:174) at

Embedded Tomcat NullPointer Exception

2004-10-28 Thread Kang, Kamaljeet K.
Hi, I am trying to run Tomcat(5.0.28) as embedded application and I am getting following exception. Oct 28, 2004 5:16:33 PM org.apache.catalina.startup.Embedded start INFO: Starting tomcat server Oct 28, 2004 5:16:33 PM org.apache.catalina.core.StandardEngine start INFO: Starting

CLASSPATH Classloaders - Embedded Tomcat

2004-10-23 Thread sven morales
What are the CLASSPATH and Classloaders used when attempting to use the Embedded class to get a Tomcat 5 working? On a regular bundled Tomcat5, the catalina/common/lib, catalina/server/lib, catalina/common/endorsed are automatically searched for jars and loads them. Furthermore environment

Embedded tomcat

2004-10-22 Thread Steffen Heil
Hi Is there any place where I can find information about embedded tomcat? I mean beyond the docs - Examples and such? Regards, Steffen smime.p7s Description: S/MIME cryptographic signature

RE: Embedded tomcat

2004-10-22 Thread Shapira, Yoav
[mailto:[EMAIL PROTECTED] Sent: Friday, October 22, 2004 7:17 AM To: 'Tomcat Users List' Subject: Embedded tomcat Hi Is there any place where I can find information about embedded tomcat? I mean beyond the docs - Examples and such? Regards, Steffen This e-mail, including any attachments

Embedded Tomcat + JMX

2004-10-22 Thread sven morales
I tried the Embedded class to work with Tomcat5 from the jakarta-tomcat-5.0.28-embed.tar.gz and am not getting very far, ie not able to deploy even the /manager webapp included in the webapps/. I also tried the JMX style using an xml file (not exactly sure why is this better than starting

RE: Embedded Tomcat + JMX

2004-10-22 Thread Shapira, Yoav
Hi, Maybe ask the book's author ;) Yoav Shapira http://www.yoavshapira.com -Original Message- From: sven morales [mailto:[EMAIL PROTECTED] Sent: Friday, October 22, 2004 3:12 PM To: [EMAIL PROTECTED] Subject: Embedded Tomcat + JMX I tried the Embedded class to work with Tomcat5

RE: Embedded Tomcat + JMX

2004-10-22 Thread sven morales
:[EMAIL PROTECTED] Sent: Friday, October 22, 2004 3:12 PM To: [EMAIL PROTECTED] Subject: Embedded Tomcat + JMX I tried the Embedded class to work with Tomcat5 from the jakarta-tomcat-5.0.28-embed.tar.gz and am not getting very far, ie not able to deploy even the /manager webapp included

Basic installation question - embedded Tomcat for Apache?

2004-09-03 Thread simonst
I need to install Tomcat for Sterling's Connect:Direct Browser User Interface. The release notes list as a requirement Apache HTTP Server 1.3 with Tomcat 3.2.3 servlet on HPUX-11.00 (we're running Apache 2.0.43 Java 1.4, with SSL-client-auth to control access). I've looked at the docs at

Re: Basic installation question - embedded Tomcat for Apache?

2004-09-03 Thread Wendy Smoak
From: [EMAIL PROTECTED] I need to install Tomcat for Sterling's Connect:Direct Browser User Interface. The release notes list as a requirement Apache HTTP Server 1.3 with Tomcat 3.2.3 servlet on HPUX-11.00 (we're running Apache 2.0.43 Java 1.4, with SSL-client-auth to control access). Wow,

Embedded Tomcat and resources in the wrapping application

2004-08-27 Thread Dani Irinchev
Hi all, I have embedded Tomcat according to the onjava article (created Embedded,Engine,Host, Context). I can access resources in the wrapping application from my servlets via static calls for example. What would be the proper way of passing references of objects that I have created in my

Using catalina security manager in embedded tomcat application?

2004-08-23 Thread Bill Hughey
Our application has several catalina engines embedded in it and I am trying to determine if it makes sense or is even possible to use the catalina security manager in this setting. Specifically, what takes the place of the '-security' switch on tomcat in an embedded scenario? BH

Re: Using catalina security manager in embedded tomcat application?

2004-08-23 Thread Jean-Francois Arcand
Bill Hughey a écrit : Our application has several catalina engines embedded in it and I am trying to determine if it makes sense or is even possible to use the catalina security manager in this setting. Specifically, what takes the place of the '-security' switch on tomcat in an embedded

Embedded Tomcat with no war or webapps

2004-07-20 Thread Michael Banks
I have successfully embedded Tomcat 5 into an application, but I would like to be able to load servlets without using a .war file or a webapps directory and no web.xml file. In Jetty I can do the following: ServletHolder holder = handler.addServlet( MYSERVLET, /myservlet

RE: Embedded Tomcat with no war or webapps

2004-07-20 Thread Shapira, Yoav
: Tuesday, July 20, 2004 10:16 AM To: [EMAIL PROTECTED] Subject: Embedded Tomcat with no war or webapps I have successfully embedded Tomcat 5 into an application, but I would like to be able to load servlets without using a .war file or a webapps directory and no web.xml file. In Jetty I can do

Embedded tomcat

2004-07-06 Thread Glen Stampoultzis
Just trying to embed tomcat. I'm using the tomcat 5 embedded release. I'm using the following code: Embedded embeddedTomcat = new Embedded(); MemoryRealm memRealm = new MemoryRealm(); embeddedTomcat.setRealm( memRealm ); Engine engine =

Re: Second try: Embedded Tomcat 5.0: servlet mappings added to context after start do not work. Looking for suggestions...

2004-06-09 Thread Jeanfrancois Arcand
[EMAIL PROTECTED] wrote: I have an application which embeds tomcat 4.1.12. It dynamically creates contexts, adding wrappers for servlets, etc. Due to the dynamic nature of this application, it can add and remove servlet mappings after the context has been started (added into a host in the

Second try: Embedded Tomcat 5.0: servlet mappings added to context after start do not work. Looking for suggestions...

2004-06-08 Thread DJohnson
I have an application which embeds tomcat 4.1.12. It dynamically creates contexts, adding wrappers for servlets, etc. Due to the dynamic nature of this application, it can add and remove servlet mappings after the context has been started (added into a host in the started engine). This works

Embedded Tomcat 5.0: servlet mappings added to context after start do not work

2004-05-26 Thread DJohnson
I have an application which embeds tomcat 4.1.12. It dynamically creates contexts, adding wrappers for servlets, etc. Due to the dynamic nature of this application, it can add and remove servlet mappings after the context has been started (added into a host in the started engine). This works

Embedded Tomcat and SSL

2004-05-21 Thread Sander Smith
I have a problem that I'm unfortunately finding little documentation to help. I'm writing a servlet and embedding it in a larger Java program by using the org.apache.catalina.startup.Embedded class. Things have been working fine up until now. I'm currently trying to add SSL support so that the

Re: Embedded Tomcat and SSL

2004-05-21 Thread Jeanfrancois Arcand
Sander Smith wrote: I have a problem that I'm unfortunately finding little documentation to help. I'm writing a servlet and embedding it in a larger Java program by using the org.apache.catalina.startup.Embedded class. Things have been working fine up until now. I'm currently trying to add

Use of RemoteAddrValve class to restrict client access to Web Application deployed in Embedded Tomcat

2004-04-19 Thread Chirayu Shah
Hello, I am trying to set request filter at host level programatticaly for Embedded Tomcat. It doesn't seem like working. Anyone can point out what i am doing wrong or what i am supposed to do. Here, is the Code Snippet that i am using: host = embedded.createHost(localhost, getPath

embedded tomcat 5 and classloading

2004-03-24 Thread Yanick Duchensne
To embed Tomcat 5, Ive followed the explanations at the following: http://www.onjava.com/pub/a/onjava/2002/04/03/tomcat.html I register the manager webapp that comes with the Tomcat embedded distribution as follows: tc.registerWAR(/manager, new URL(file:/ + dir + /webapps/manager));

Embedded tomcat and classpath

2004-03-24 Thread Michael Thomas
run TomcatWrapper.main() and leave off the tomcat jars from the classpath, then I can create the embedded tomcat, but I get an error when it runs (see exception trace below). The exception appears to indicate that the WebappClassLoader can't find jasper-compiler.jar in common/lib, even though

Embedded Tomcat and Classpath issues.

2004-02-23 Thread Brian Krisler
Hello, I have an application that has Tomcat embedded, running Xindice. I would like to start Tomcat when my application starts which works just fine if Tomcat jars are the only jars specified on the VM classpath. However I also need to have Xindice jars on the classpath since my application

Problem with embedded Tomcat and JSP compilation.

2004-01-08 Thread benjamin . cassan
Hi, I wrote an application running an embedded Tomcat, based on the sample code of the onJava site (an org.apache.catalina.startup.Embedded class with manual configuration of things usually found in server.xml). I use Tomcat 4.1.27 and Java 1.3.1. Tomcat starts well, but is not able to compile

Embedded Tomcat startup java class

2003-10-24 Thread Mark W. Webb
Knowing that Tomcat is moving towards JMX, I was wondering if anyone has ported Embedded.java into the a format that will support the JMX integration. Knowing that there is a build.xml file that will launch tomcat in an embedded state, is there an equivalent .java file for doing this? thank

embedded tomcat 5

2003-10-21 Thread Mark W. Webb
I want to used tomcat 5 in the embedded format. Are there any docs/suggestions/hints to doing this? I especially want the source for this. Should I just use the standart tomcat 5 source tarball? thanks. - To unsubscribe,

Re: embedded tomcat 5

2003-10-21 Thread Mark W. Webb
://jakarta.apache.org/tomcat/tomcat-5.0-doc/catalina/docs/api/org/ap ache/catalina/startup/Embedded.html It's largely the same for tomcat 5 as tomcat 4. There are several articles, references, etc online for using embedded tomcat 4: google. It's the same distribution (binary or source). Yoav Shapira Millennium

RE: embedded tomcat 5

2003-10-21 Thread Shapira, Yoav
Howdy, The standard distribution should be fine. Yoav Shapira Millennium ChemInformatics -Original Message- From: Mark W. Webb [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 2:50 PM To: Tomcat Users List Subject: Re: embedded tomcat 5 looking at the directory: http

Re: embedded tomcat 5

2003-10-21 Thread Jean-Francois Arcand
embedded tomcat 4: google. Or use the JMX way (only in Tomcat 5). The Embedded interface still work, but the JMX way is more easy (IMO). -- Jeanfrancois It's the same distribution (binary or source). Yoav Shapira Millennium ChemInformatics -Original Message- From: Mark W. Webb [mailto

Re: embedded tomcat 5

2003-10-21 Thread Mark W. Webb
the same for tomcat 5 as tomcat 4. There are several articles, references, etc online for using embedded tomcat 4: google. Or use the JMX way (only in Tomcat 5). The Embedded interface still work, but the JMX way is more easy (IMO). -- Jeanfrancois It's the same distribution (binary or source). Yoav

Re: embedded tomcat 5

2003-10-21 Thread Remy Maucherat
Mark W. Webb wrote: could you please give more information on the JMX way. thanks http://apache.crihan.fr/dist/jakarta/tomcat-5/v5.0.12-beta/bin/jakarta-tomcat-5.0.12-embed.tar.gz -- x Rémy Maucherat Senior Developer Consultant JBoss Group (Europe) SàRL

Re: How do I config EMBEDDED Tomcat to only service requests from localhost?

2003-09-26 Thread Jean-Francois Arcand
Try org.apache.catalina.startup.Embedded.addValve(...) or use the JMX Embedded API. -- Jeanfrancois Mike Kellstrand wrote: OK, adding a Valve to server.xml worked great for a standalone Tomcat. Now Part II, how do I do this with an embedded Tomcat? I get the impression that embedded doesn't

Re: How do I config EMBEDDED Tomcat to only service requests from localhost?

2003-09-25 Thread Mike Kellstrand
OK, adding a Valve to server.xml worked great for a standalone Tomcat. Now Part II, how do I do this with an embedded Tomcat? I get the impression that embedded doesn't use a server.xml file. Is there a way to make it read a partial one with the element I need, or another way to set up this valve

[OT] RE: How do I config EMBEDDED Tomcat to only service requests from localhost?

2003-09-25 Thread Robert Priest
PROTECTED] Sent: Thursday, September 25, 2003 2:34 PM To: Tomcat Users List Subject: Re: How do I config EMBEDDED Tomcat to only service requests from localhost? OK, adding a Valve to server.xml worked great for a standalone Tomcat. Now Part II, how do I do this with an embedded Tomcat? I get

RE: [OT] RE: How do I config EMBEDDED Tomcat to only service requests from localhost?

2003-09-25 Thread Shapira, Yoav
] Sent: Thursday, September 25, 2003 2:44 PM To: 'Tomcat Users List' Subject: [OT] RE: How do I config EMBEDDED Tomcat to only service requests from localhost? So is there really any difference between the intentions of a Valve and the intentions of a Filter? http://java.sun.com/products/servlet

RE: How do I config EMBEDDED Tomcat to only service requests from localhost?

2003-09-25 Thread Shapira, Yoav
Subject: Re: How do I config EMBEDDED Tomcat to only service requests from localhost? OK, adding a Valve to server.xml worked great for a standalone Tomcat. Now Part II, how do I do this with an embedded Tomcat? I get the impression that embedded doesn't use a server.xml file. Is there a way

  1   2   >