Problem front-ending tomcat with IIS
Hi all, I am trying to configure Basic Authentication with IIS/Tomcat and have not had any success yet. Here is my operating environment: Tomcat 5.5.9 IIS 5.0 I get HTTP 401 error when I ran this setup. I have successfully ran the same setup with Apache/Tomcat. I would appreciate it if anyone could point me to any material that I might read to resolve this issue, or if anyone has had the same experience I would like to know what you did to resolve this issue. Thanks, Ike
Having problem posting to the group
Hi all, Could anyone explain to me why I can't post to [EMAIL PROTECTED] I get the following error message when I make a post to the group: Unable to deliver message to the following address(es) tomcat-user@jakarta.apache.org. Remote host said: 554 delivery error: This user doesn't have an ac I know that I subscribe to the group and I do receive postings from the members of the group. Thanks, Ike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Having problem posting to the group
Hi all, Thanks, you know when you receive that message you can never tell if your posting actually made it to the list, it is comforting to know that the problem is not unique to me alone. Ike -Original Message- From: Spammed TooMuch [mailto:[EMAIL PROTECTED] Sent: Monday, August 01, 2005 12:13 PM To: Tomcat Users List Subject: Re: Having problem posting to the group Hi Ike, I've been having the same problem since Friday. But, I did get your post. So it appears to be going out to the list, it is just also giving you the error. Which means maybe my posts worked as well -- did you see one titled WARs not being unpacked in Embedded Tomat?. Perhaps it was sent to the list. Since no one responded and I got the same error email you did, I didn't think it was posted. cheers, Chuck --- Ikonne, Ike [EMAIL PROTECTED] wrote: Hi all, Could anyone explain to me why I can't post to [EMAIL PROTECTED] I get the following error message when I make a post to the group: Unable to deliver message to the following address(es) tomcat-user@jakarta.apache.org. Remote host said: 554 delivery error: This user doesn't have an ac I know that I subscribe to the group and I do receive postings from the members of the group. Thanks, Ike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Having problem posting to the group
Hi Tom, Actually, this is the only e-mail address that I have used to subscribe to Tomcat Thanks, Ike -Original Message- From: Tom [mailto:[EMAIL PROTECTED] Sent: Monday, August 01, 2005 12:18 PM To: Tomcat Users List Subject: Re: Having problem posting to the group Maybe you subscribed with an alias (a different email address than you reply-to that also arrives in the same mailbox)? Tom Ikonne, Ike wrote: Hi all, Could anyone explain to me why I can't post to [EMAIL PROTECTED] I get the following error message when I make a post to the group: Unable to deliver message to the following address(es) tomcat-user@jakarta.apache.org. Remote host said: 554 delivery error: This user doesn't have an ac I know that I subscribe to the group and I do receive postings from the members of the group. Thanks, Ike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Having problem posting to the group
Hi Cornell, That's exactly correct ;) Ike -Original Message- From: Sternbergh, Cornell [mailto:[EMAIL PROTECTED] Sent: Monday, August 01, 2005 12:57 PM To: Tomcat Users List Subject: RE: Having problem posting to the group And I might point out that the address in the error message is tomcat-user@jakarta.apache.org which would indicate that jakarta.apache.org doesn't know about tomcat-user... except that it does, as is evidenced by the mail that comes from there ;-) Thanks Cornell Sternbergh (717) 787-6760 [EMAIL PROTECTED] -Original Message- From: Ikonne, Ike [mailto:[EMAIL PROTECTED] Sent: Monday, August 01, 2005 13:20 To: Tomcat Users List Subject: RE: Having problem posting to the group Hi Tom, Actually, this is the only e-mail address that I have used to subscribe to Tomcat Thanks, Ike -Original Message- From: Tom [mailto:[EMAIL PROTECTED] Sent: Monday, August 01, 2005 12:18 PM To: Tomcat Users List Subject: Re: Having problem posting to the group Maybe you subscribed with an alias (a different email address than you reply-to that also arrives in the same mailbox)? Tom Ikonne, Ike wrote: Hi all, Could anyone explain to me why I can't post to [EMAIL PROTECTED] I get the following error message when I make a post to the group: Unable to deliver message to the following address(es) tomcat-user@jakarta.apache.org. Remote host said: 554 delivery error: This user doesn't have an ac I know that I subscribe to the group and I do receive postings from the members of the group. Thanks, Ike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How do I get user credential in Tomcat
Hi all, I am implementing Basic authentication, I would like to make both the Principal and Credential visible to my servlet being managed by Tomcat, I know how to get the Principal, but I can't seem to find a away to get the Credential. Does anyone have an idea as to how I can get this information inside my servlet. Thanks, Ike
RE: How do I get user credential in Tomcat
Hi Chris, Thanks, the information you provided is very useful. Ike -Original Message- From: Chris Holden [mailto:[EMAIL PROTECTED] Sent: Monday, August 01, 2005 6:48 PM To: Tomcat Users List Subject: Re: How do I get user credential in Tomcat Well thanks to Frank I have been looking into filters so I'll probably use j_security_check and a filter to do what I want. I did look at BASIC authentication as an alternative, as you can extract the user:pass combo from the Authorization header with a little base64decoding, have a look at this site you might find it useful http://www.unix.org.ua/orelly/java-ent/servlet/ch08_01.htm#ch08-3-fm2xml Chris. - Original Message - From: Jo [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Tuesday, August 02, 2005 12:36 AM Subject: Re: How do I get user credential in Tomcat Previous mails on 'j-security_check sessions' could give you a useful information. Since you're looking at Basic authentication, try to extract the credential from the authorization header. Jo.- - Original Message - From: Ikonne, Ike [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Tuesday, August 02, 2005 7:30 AM Subject: How do I get user credential in Tomcat Hi all, I am implementing Basic authentication, I would like to make both the Principal and Credential visible to my servlet being managed by Tomcat, I know how to get the Principal, but I can't seem to find a away to get the Credential. Does anyone have an idea as to how I can get this information inside my servlet. Thanks, Ike !DSPAM:42ee992a207451223150608! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How do I get user credential in Tomcat
Hi Jo, Thanks, that's exactly what I was looking for. Ike -Original Message- From: Jo [mailto:[EMAIL PROTECTED] Sent: Monday, August 01, 2005 6:36 PM To: Tomcat Users List Subject: Re: How do I get user credential in Tomcat Previous mails on 'j-security_check sessions' could give you a useful information. Since you're looking at Basic authentication, try to extract the credential from the authorization header. Jo.- - Original Message - From: Ikonne, Ike [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Tuesday, August 02, 2005 7:30 AM Subject: How do I get user credential in Tomcat Hi all, I am implementing Basic authentication, I would like to make both the Principal and Credential visible to my servlet being managed by Tomcat, I know how to get the Principal, but I can't seem to find a away to get the Credential. Does anyone have an idea as to how I can get this information inside my servlet. Thanks, Ike !DSPAM:42ee992a207451223150608! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to Configure IIS/Tomcat to perform basic authentication
Hi Ben, Thanks for responding to my question, here is my operating environment: IIS 5.0 Tomcat 5.5.9 Note also that I have tried this setup with tomcat/apache and everything works, my problem comes when I do similar thing with IIS/Tomcat and I get HTTP 401 error message. Thanks, Ike -Original Message- From: Ben Ricker [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 13, 2005 6:04 PM To: Tomcat Users List Subject: Re: How to Configure IIS/Tomcat to perform basic authentication To answer your question, it would help to at least include the relevant OS and tomcat version information. In Tomcat, you can set a resource valvel that does the auth for you. Docs for 4.1: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html. Docs for 5.0: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/realm-howto.html. You may be most interested in the Memory Realm if you want simple, file-based auth. Ben Ricker On 7/13/05, Ikonne, Ike [EMAIL PROTECTED] wrote: Hi all, I have been trying to configure IIS/Tomcat to perform basic authentication and have not had any success yet, I would appreciate it if someone could give me some pointers on how to make this to work. Thanks, Ike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ben Ricker He's just this guy, you know? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to configure Tomcat and IIS to perform Basic authentication
Hi all, I have been trying to configure IIS/Tomcat to perform basic authentication and have not had any success yet, I would appreciate it if someone could give me some pointers on how to make this to work. Thanks, Ike
How to configure IIS/Tomcat to perform basic authentication
Hi all, I have been trying to configure IIS/Tomcat to perform basic authentication and have not had any success yet, I would appreciate it if someone could give me some pointers on how to make this to work. Thanks, Ike
How to Configure IIS/Tomcat to perform basic authentication
Hi all, I have been trying to configure IIS/Tomcat to perform basic authentication and have not had any success yet, I would appreciate it if someone could give me some pointers on how to make this to work. Thanks, Ike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Installing SSL
Hi all, You may use KeyTool GUI version 1.6. This has been a life-saver to me. It works with different KeyStore formats and also lets you Import Key Pairs. Google for it, it is a windows-based keytool gui. Ike -Original Message- From: Stephen Caine [mailto:[EMAIL PROTECTED] Sent: Monday, June 20, 2005 3:45 PM To: tomcat-user@jakarta.apache.org Subject: Installing SSL All, I have reviewed the man pages and java.sun.com docs for keytool. I have used keytool to import a certificate from a Certificate authority. Keytool seems to be lacking the option to import an entire prexisting private/public key pair into a JKS format keystore. Specifically I have a RSA private Key and public key files from an existing SSL enabled site. I would like to use the same keypair for a Tomcat served site. Keytool will import the public key, but gives a parsing error when trying to import the RSA private key. I am using OS X 10.4.1 (Tiger Server) and Tomcat version 5.5.7. Any assistance is appreciated. Stephen Caine Soft Breeze Systems, LLC - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How do I restrict access to webapps applications from browser users?
Hi all, I am trying to restrict access to directories under webapps/myapp and I have the following in my WEB-INF/web.xml, but users still can browse through all the directories under webapps/myapp What am I doing wrong? I have the same thing for Jetty webserver and it works. I am running tomcat 4.1 security-constraint web-resource-collection web-resource-namegeneral/web-resource-name url-pattern/html/*/url-pattern url-pattern/jsp/*/url-pattern url-pattern/help/*/url-pattern url-pattern/images/*/url-pattern http-methodGET/http-method http-methodHEAD/http-method /web-resource-collection web-resource-collection web-resource-namespecific/web-resource-name url-pattern/AdminMain/*/url-pattern http-methodGET/http-method http-methodHEAD/http-method http-methodPOST/http-method http-methodPUT/http-method /web-resource-collection /security-constraint Thanks, Ike
RE: How do I restrict access to webapps applications from browser users?
Hi Fritz, So, are you saying that I have to have basic authentication enabled in order to restrict access to certain directories? Thanks, Ike -Original Message- From: Fritz Schneider [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 11:04 AM To: 'Tomcat Users List' Subject: RE: How do I restrict access to webapps applications from browser users? Ike. You need to complete your security-constraint with authorization, login, and role information. Here is what works for me: !-- Define a Security Constraint on this Application -- security-constraint web-resource-collection web-resource-nameRestricted Files/web-resource-name url-pattern/*/url-pattern /web-resource-collection auth-constraint !-- NOTE: This role is not present in the default users file -- role-nameapp1/role-name /auth-constraint /security-constraint !-- Define the Login Configuration for this Application -- login-config auth-methodBASIC/auth-method realm-nameMy Application/realm-name /login-config !-- Security roles referenced by this web application -- security-role description The role that is required to log in to the application /description role-nameapp1/role-name /security-role You might also want to check out the single login valve. Fritz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How do I restrict access to webapps applications from browser users?
Hi Darryl, Thanks, I thought there was another way to do it other than setting up security constraints and making users to get the signon page that is associated with this. Thanks, Ike -Original Message- From: Darryl Wilburn [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 4:09 PM To: tomcat-user@jakarta.apache.org Subject: How do I restrict access to webapps applications from browser users? I lost the thread to this original message, but found what I consider good information. Ike, Here's a link to some information on using security-constraint: http://www.onjava.com/pub/a/onjava/2001/07/24/tomcat.html It also states: The login-config sub-element defines the authentication method for the defined realm. The possible values are BASIC, DIGEST, and FORM. And the realm-name sub-element names the Web resource that this login-config maps to. So it doesn't seem to require BASIC authentication. Darryl __ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How do I restrict access to webapps applications from browser users?
Hi Jason, It is more like the last thing you listed below. I know that when fronted with Apache, that can be done, I thought tomcat had similar directory control that apache has without having to setup security constraints. You basically nailed it, I may have to tell my clients to just front tomcat with Apache. Again, thanks for your response -Original Message- From: Jason Bainbridge [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 4:27 PM To: Tomcat Users List Subject: Re: How do I restrict access to webapps applications from browser users? On 4/13/05, Ikonne, Ike [EMAIL PROTECTED] wrote: Hi Darryl, Thanks, I thought there was another way to do it other than setting up security constraints and making users to get the signon page that is associated with this. Maybe you need to describe what you are actually trying to achieve by this setup. Are you trying to make it so the content can only be streamed from a JSP/servlet and not accessed directly via the web? (Often done for images and confidential stuff like documents etc) or Are you trying to lock certain users out of certain directories? If you are trying to protect static content you might be best off using Apache and utilising .htaccess files but it all depends what you are trying to do... Regards, -- Jason Bainbridge http://kde.org - [EMAIL PROTECTED] Personal Site - http://jasonbainbridge.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: URL validation
Hi Yoav, I had this in the new URL(http://4526353[EMAIL PROTECTED]@##$#$$%(()))*(*^%^%^) and it passed. I was expecting to get some error. Should I? Ike -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 08, 2004 3:43 PM To: Tomcat Users List Subject: RE: URL validation Hi, Can you give examples and/or cases that show java.net.URL doesn't meet the RFC specifications? Yoav Shapira Millennium Research Informatics -Original Message- From: Ikonne, Ike [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 08, 2004 1:52 PM To: 'Tomcat Users List' Subject: RE: URL validation Hi Steffen, Thanks, new URL(url) doesn't work consistently. I have tried it, one can throw in an url that doesn't meet RFC 1738 but URL(url) will not catch it. Thanks, Ike -Original Message- From: SH Solutions [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 08, 2004 12:30 PM To: 'Tomcat Users List' Subject: RE: URL validation Hi Here is my problem, I am looking for a way to syntactically valid a given URL without having to actually creating an URL object. try { new URL( myUrl ); return true; } catch ( Throwable t ) { return false; } Why not creating it? Javas young generation garbage collection should dispose this immediatly. So problem here. Regards, Steffen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
URL validation
Hi all, I don't know if this is the right forum to posse this question, but I will go ahead and give it a try. Here is my problem, I am looking for a way to syntactically valid a given URL without having to actually creating an URL object. Is there a piece of code out there that would enable me to do this based on RFC 1738? Any hints will be appreciated. Cheers, Ike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: URL validation
Hi Steffen, Thanks, new URL(url) doesn't work consistently. I have tried it, one can throw in an url that doesn't meet RFC 1738 but URL(url) will not catch it. Thanks, Ike -Original Message- From: SH Solutions [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 08, 2004 12:30 PM To: 'Tomcat Users List' Subject: RE: URL validation Hi Here is my problem, I am looking for a way to syntactically valid a given URL without having to actually creating an URL object. try { new URL( myUrl ); return true; } catch ( Throwable t ) { return false; } Why not creating it? Javas young generation garbage collection should dispose this immediatly. So problem here. Regards, Steffen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: URL validation
Hi James, Thanks, I will try your suggestion and let you know if it meets my requirements. Ike -Original Message- From: James Black [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 08, 2004 2:06 PM To: Tomcat Users List Subject: Re: URL validation Ikonne, Ike wrote: Hi Steffen, Thanks, new URL(url) doesn't work consistently. I have tried it, one can throw in an url that doesn't meet RFC 1738 but URL(url) will not catch it. You could try regular expressions. Here is a relatively simple one: (?:ftp\:|http\:|mailto\:)?(\w+\@)?(www\.)?\w+(\.\w+)+(\:\d+)? -- Love is mutual self-giving that ends in self-recovery. Fulton Sheen James Black[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: URL validation
Hi, No, I have not. I haven't thought about it. Ike -Original Message- From: Vy Ho [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 08, 2004 2:22 PM To: Tomcat Users List Subject: Re: URL validation Did you file a bug report at java.sun.com yet? Ikonne, Ike wrote: Hi Steffen, Thanks, new URL(url) doesn't work consistently. I have tried it, one can throw in an url that doesn't meet RFC 1738 but URL(url) will not catch it. Thanks, Ike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Does tomcat has an embeddable version like Jetty webserver?
Hi all, I would like to know if tomcat has an embeddable version like Jetty webserver provide? Thanks, Ike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Does tomcat has an embeddable version like Jetty webserver?
Hi all, Where did you say that I could find a sample on how to embedd tomcat into my application, specifically, load a war file and set all the contexts in order to have my application accept http requests? Thanks, Ike -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 9:44 AM To: Tomcat Users List Subject: RE: Does tomcat has an embeddable version like Jetty webserver? Hi, Sure, see the Embedded class JavaDoc at http://jakarta.apache.org/tomcat/tomcat-5.0-doc/catalina/docs/api/index. html. It also points you to an example usage supplied with tomcat. I won't get into an argument over who had an embedded version first, tomcat or jetty ;) Yoav Shapira Millennium Research Informatics -Original Message- From: Ikonne, Ike [mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 10:40 AM To: '[EMAIL PROTECTED]' Subject: Does tomcat has an embeddable version like Jetty webserver? Hi all, I would like to know if tomcat has an embeddable version like Jetty webserver provide? Thanks, Ike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Does tomcat has an embeddable version like Jetty webserver?
Hi Shapira, Thanks, you are great, I have actually looked at that class and I thought there was more. Anyway, I think I can handle from here on. Thanks, Ike -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 2:04 PM To: Tomcat Users List Subject: RE: Does tomcat has an embeddable version like Jetty webserver? Hi, Where did you say that I could find a sample on how to embedd tomcat into my application, specifically, load a war file and set all the contexts in order to have my application accept http requests? sigh / Posts like that make me want to give up on this list ;( I directed you to the JavaDoc for the Embedded class. That page says IMPLEMENTATION NOTE: The main() method of this class is a simple example that exercizes the features of dynamically starting and stopping various components. You can execute this by executing the following steps (on a Unix platform): cd $CATALINA_HOME ./bin/catalina.sh embedded So you can follow whatever mechanism you like to get the source of the embedded class (download a tomcat source distro, use the public Apache CVS server, whatever), and look at the main method. Yoav Shapira Thanks, Ike -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 9:44 AM To: Tomcat Users List Subject: RE: Does tomcat has an embeddable version like Jetty webserver? Hi, Sure, see the Embedded class JavaDoc at http://jakarta.apache.org/tomcat/tomcat-5.0-doc/catalina/docs/api/index . html. It also points you to an example usage supplied with tomcat. I won't get into an argument over who had an embedded version first, tomcat or jetty ;) Yoav Shapira Millennium Research Informatics -Original Message- From: Ikonne, Ike [mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 10:40 AM To: '[EMAIL PROTECTED]' Subject: Does tomcat has an embeddable version like Jetty webserver? Hi all, I would like to know if tomcat has an embeddable version like Jetty webserver provide? Thanks, Ike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
I need help with JspC
Hi all, I am new to this group, but I have a problem: I am trying to compile my jsps using the following command java -classpath javax.servlet.jar:jasper-compiler.jar:jasper-runtime.jar:commons-logging.jar org.apache.jasper.JspC -v8 newAccount.jsp But I am getting the following error messages: 2004-01-01 09:21:43 - uriRoot implicitly set to /home/nis02/iikon1/ceu2200/ceunix/src/ceuadmin 2004-01-01 09:21:43 - ERROR-the file '/jsp/newAccount.jsp' generated the following general exception: java.lang.NullPointerException error:null What am I doing wrong? Thanks, Ike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]