Re: Hi...
Am Mittwoch, 3. August 2005 17:39 schrieb Tom Spence: Hello I am rookie... I plan to download the source but it can't open by using tar command while I am using AIX 5.2. Should I download binary file? I apprecaite your help... If you can't unpack the source you'll might get the same problem with the binaries, I guess. Don't know anything about AIX but i think gunzip -c jakarta-tomcat-5.5.9.tar.gz | tar -x should be worth a try. Regards mks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Hi...
Am Mittwoch, 3. August 2005 17:51 schrieb Markus Schönhaber: gunzip -c jakarta-tomcat-5.5.9.tar.gz | tar -x Exchange jakarta-tomcat-5.5.9.tar.gz to the actual name of the file you want to unpack. Regards mks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Hi...
What about jakarta-tomcat-5.5.10.tar.gz? Or I should use 5.5.9? Markus Schönhaber [EMAIL PROTECTED] wrote: Am Mittwoch, 3. August 2005 17:51 schrieb Markus Schönhaber: gunzip -c jakarta-tomcat-5.5.9.tar.gz | tar -x Exchange jakarta-tomcat-5.5.9.tar.gz to the actual name of the file you want to unpack. Regards mks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] (__[TomCigar]___~~~
Re: Hi...
gzip -d jakarta-tomcat-5.5.9.tar.gz | tar -xf Just guessing but worth a shot Luis Markus Schönhaber wrote: Am Mittwoch, 3. August 2005 17:39 schrieb Tom Spence: Hello I am rookie... I plan to download the source but it can't open by using tar command while I am using AIX 5.2. Should I download binary file? I apprecaite your help... If you can't unpack the source you'll might get the same problem with the binaries, I guess. Don't know anything about AIX but i think gunzip -c jakarta-tomcat-5.5.9.tar.gz | tar -x should be worth a try. Regards mks - 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: Hi...
Am Mittwoch, 3. August 2005 17:58 schrieb Tom Spence: What about jakarta-tomcat-5.5.10.tar.gz? Or I should use 5.5.9? Yes, since 5.5.10 isn't yet considered stable. But your original question is about something completely different. Did you succeed in unpacking the archive (wichever that may be)? Markus Schönhaber [EMAIL PROTECTED] wrote: Am Mittwoch, 3. August 2005 17:51 schrieb Markus Schönhaber: gunzip -c jakarta-tomcat-5.5.9.tar.gz | tar -x Exchange jakarta-tomcat-5.5.9.tar.gz to the actual name of the file you want to unpack. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: hi help regarding running first servlet,jsp in Tomcat 5.x
Please take a look at http://www.moreservlets.com/Using-Tomcat-4.html#Configure-Tomcat It gives instructions on the installation of Tomcat and compiling and testing simple Servlets and JSPs. Please let us know if you still run into problems. --- K thiruthuvadas [EMAIL PROTECTED] wrote: Dear Friends, i want to subscribe to the mailing list of tomcat. I have a doubt here i successfully installed tomcat 5.x in my windows server but when i tried to run my first sample application i caould not succeed i downloaded the sample file and placed it in the webapps folder. But when i access the http://localhost:8080/sample link the browser asks for network user name and password I could not run my first application with the help available inthe tomcat website It shows when Tomcat starts, that port 8080 is in use, it throws a java.net.bind exception regards, Das __ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do you Yahoo!? All your favorites on one personal page Try My Yahoo! http://my.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: hi help regarding running first servlet,jsp in Tomcat 5.x
Dear Caroline, Thanks for the instant mail. It is amazing to find that the support is almost instantaneous for Tomcat Jakarta Webserver. I solved the problem by shutting down my IIS admin service which was occupying the 8080 port thanks again for the link http://www.moreservlets.com/Using-Tomcat-4.html#Configure-Tomcat regards, Das __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: hi help regarding running first servlet,jsp in Tomcat 5.x
Das, Two things: First, whenever writing to the list, please start a new thread instead of just clicking 'reply' from another message. To those of us using treaded mail clients, you've just hijacked someone else's thread. Second, it looks like the sample war file on the jakarta site is corrupted. For now, can download a working version here: http://issues.apache.org/bugzilla/attachment.cgi?id=13534 The url to run it will be: http://localhost:8080/myapp If you've reconfigured your port, etc.. change the url accordingly. -Ben - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Hi
Craig, FYI : There was a worm virus in one of the attachments you sent out. Time to virus scan your sun box ;o) Slim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 01 November 2004 23:43 To: [EMAIL PROTECTED] Subject: Hi Importance: High -- Virus Warning Message (on uusnwa0p) Found virus WORM_NETSKY.Z in file Informations.txt .exe (in Informations.zip) The file is deleted. - ## This email from Talgentra is intended only for the personal use of the recipient(s) named above. The email and any files transmitted with it are confidential to the intended recipient(s) and may be legally privileged or contain proprietary and private information. If you are not an intended recipient, you may not review, copy or distribute this message. If received in error, please notify the sender and delete the message from your system. Any views or opinions expressed in this email and any files transmitted with it are those of the author only and may not necessarily reflect the views of Talgentra and it does not create any legally binding rights or obligations whatsoever. Unless otherwise pre-agreed by exchange of hard copy documents signed by duly authorised representatives, contracts may not be concluded on behalf of Talgentra by email. Please note that neither Talgentra nor the sender accepts any responsibility for any viruses and it is your responsibility to scan the email and the attachments (if any). All email received and sent by Talgentra may be monitored to protect the business interests of Talgentra. ## - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Hi
Simon Kelly wrote: Craig, FYI : There was a worm virus in one of the attachments you sent out. Time to virus scan your sun box ;o) It is NOT Craig! Todays (and yesterdays) viruses forge the sender's email address. They usually pick one from the address book. So, the only thing we can conclude is that someone subscribed to this list and having Craig's e-mail in his/her address book is infected. The only way to tell for sure is to track down the IP and from that to track down the infected machine. ISP dial-in accounts can and does complicate matters. Nix. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Hi
Funnily enough, having been involved in system security for a number of years, I knew this. It was a joke. Obviously though, not a funny one. Slim -Original Message- From: Nikola Milutinovic [mailto:[EMAIL PROTECTED] Sent: 02 November 2004 08:51 To: Tomcat Users List Subject: Re: Hi Simon Kelly wrote: Craig, FYI : There was a worm virus in one of the attachments you sent out. Time to virus scan your sun box ;o) It is NOT Craig! Todays (and yesterdays) viruses forge the sender's email address. They usually pick one from the address book. So, the only thing we can conclude is that someone subscribed to this list and having Craig's e-mail in his/her address book is infected. The only way to tell for sure is to track down the IP and from that to track down the infected machine. ISP dial-in accounts can and does complicate matters. Nix. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ## This email from Talgentra is intended only for the personal use of the recipient(s) named above. The email and any files transmitted with it are confidential to the intended recipient(s) and may be legally privileged or contain proprietary and private information. If you are not an intended recipient, you may not review, copy or distribute this message. If received in error, please notify the sender and delete the message from your system. Any views or opinions expressed in this email and any files transmitted with it are those of the author only and may not necessarily reflect the views of Talgentra and it does not create any legally binding rights or obligations whatsoever. Unless otherwise pre-agreed by exchange of hard copy documents signed by duly authorised representatives, contracts may not be concluded on behalf of Talgentra by email. Please note that neither Talgentra nor the sender accepts any responsibility for any viruses and it is your responsibility to scan the email and the attachments (if any). All email received and sent by Talgentra may be monitored to protect the business interests of Talgentra. ## - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Hi
Dangerous Attachment has been Removed. The file Joke.cpl has been removed because of a virus. It was infected with the W32/Bagle.AZ-net virus. File quarantined as: . http://www.fortinet.com/VirusEncyclopedia/search/encyclopediaSearch.do?method=quickSearchDirectlyvirusName=W32%2FBagle.AZ-net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Hi
Dangerous Attachment has been Removed. The file price.cpl has been removed because of a virus. It was infected with the W32/Bagle.AZ-net virus. File quarantined as: . http://www.fortinet.com/VirusEncyclopedia/search/encyclopediaSearch.do?method=quickSearchDirectlyvirusName=W32%2FBagle.AZ-net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Hi
Hi, Craigmcc, I received a message from you with this text On Wed, 29 Sep 2004 11:23:40 -0500, Craigmcc [EMAIL PROTECTED] wrote: Dangerous Attachment has been Removed. The file price.cpl has been removed because of a virus. It was infected with the W32/Bagle.AZ-net virus. File quarantined as: . http://www.fortinet.com/VirusEncyclopedia/search/encyclopediaSearch.do?method=quickSearchDirectlyvirusName=W32%2FBagle.AZ-net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -- Carlos J, Bracho M. The significant problems we face cannot be solved at the same level of thinking we were at when we created them. Albert Einstein -- e-mail: [EMAIL PROTECTED] MSN:[EMAIL PROTECTED] -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Hi
Me too Craigmcc. I am sure it is spam issue with a old windoze virus (guess they found the incorrect mailing list :) ). What I noted is the mailing list server is forwarding those emails. Can an outside user email to the list? Does the mail daemon accept connection only when the sender hostname resolves to the ip? fabio. Carlos Bracho wrote: Hi, Craigmcc, I received a message from you with this text On Wed, 29 Sep 2004 11:23:40 -0500, Craigmcc [EMAIL PROTECTED] wrote: Dangerous Attachment has been Removed. The file price.cpl has been removed because of a virus. It was infected with the W32/Bagle.AZ-net virus. File quarantined as: . http://www.fortinet.com/VirusEncyclopedia/search/encyclopediaSearch.do?method=quickSearchDirectlyvirusName=W32%2FBagle.AZ-net - 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: Hi
Dangerous Attachment has been Removed. The file Joke.com has been removed because of a virus. It was infected with the W32/Bagle.AZ-net virus. File quarantined as: . http://www.fortinet.com/VirusEncyclopedia/search/encyclopediaSearch.do?method=quickSearchDirectlyvirusName=W32%2FBagle.AZ-net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Hi
On Sat, Aug 21, 2004 at 02:01:29AM -0700, RathinaGanesh MeenashiSundaram wrote: : Can anyone tell me the deployment steps for jsp/servlet using the latest tomcat.? Google.com, jakarta.apache.org/tomcat, java.sun.com. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Hi...
I did so.but even though my new servlet class is not loaded...when I access throu' browser... Any other idea or do I need to do something alone with this... Best Regards, Meena. ~ -- Life is a festival ... Celebrate it ... -- - Original Message - From: Janko Harej To: Tomcat Users List Sent: Friday, August 20, 2004 12:50 AM Subject: Re: Hi... Delete the .class file in TOMCAT_HOME/work/Standalone/localhost/app_name/org... directory. Tomcat will behave as at run of servlet. Also you should check context definition in server.xml and set reloadable parameter to true. See http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html Janko Meena Alagappan pravi: Hi All, I am new to this group. I have 1 problem related to tomcat 5 version. When ever I compile a servlet class and replace with old class I need to restart the Tomcat server to see the latest changes I made in the servlet java file. My question is how to reload the servlet class files without restarting the tomcat server ??? Any idea will be useful to me. Thank you in advance. Best Regards, Meena. ~ -- Life is a festival ... Celebrate it ... -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Hi...
On Fri, Aug 20, 2004 at 12:12:25PM +0530, Meena Alagappan wrote: : I did so.but even though my new servlet class is not loaded...when I access throu' browser... [I've included your earlier message below for searchability] Please search the archives, this question (and answer!) comes up a *lot* on this list. Set Context reloadable=true ... for your context. -QM : When ever I compile a servlet class and replace with old class : I need to restart the Tomcat server to see the latest changes -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Hi...
In Tomcat manager you have facility to reload the Complete Application. -Original Message- From: Meena Alagappan [mailto:[EMAIL PROTECTED] Sent: 19.08.2004 12:20 To: [EMAIL PROTECTED] Subject: Hi... Hi All, I am new to this group. I have 1 problem related to tomcat 5 version. When ever I compile a servlet class and replace with old class I need to restart the Tomcat server to see the latest changes I made in the servlet java file. My question is how to reload the servlet class files without restarting the tomcat server ??? Any idea will be useful to me. Thank you in advance. Best Regards, Meena. ~ -- Life is a festival ... Celebrate it ... -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Hi...
Delete the .class file in TOMCAT_HOME/work/Standalone/localhost/app_name/org... directory. Tomcat will behave as at run of servlet. Also you should check context definition in server.xml and set reloadable parameter to true. See http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html Janko Meena Alagappan pravi: Hi All, I am new to this group. I have 1 problem related to tomcat 5 version. When ever I compile a servlet class and replace with old class I need to restart the Tomcat server to see the latest changes I made in the servlet java file. My question is how to reload the servlet class files without restarting the tomcat server ??? Any idea will be useful to me. Thank you in advance. Best Regards, Meena. ~ -- Life is a festival ... Celebrate it ... -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: hi newbie question----help needed
Hi, are sure your tomcat's running at all? You know, that in order to run tomcat on port 80, you have to start it with root privileges! Check this out by running netstat -l . This lists you all open ports on your system Regards, Thilo Hi, I am newbie to JSP and tomcat. I tried to write the MyFirstServlet class and failed to do so. problem1 when I tried to change the port 8080 to 80 in the server.xml then Mozila browser refuses to open the tomcat welcome page.(But the book I refer says to change the port). I compile and did every thing according to the book. But still it gives The requested resource (/ch03/servlet/com.wrox.projsp.ch03.myfirstwebapp.MyFirstServlet) is not available. what could be the reason. I went through the previous mail and didn't get any help. All the spellings are correct(including cases as I use Linux) The book stated no need to have web.xml for simple servlets. Thank you for your great suggestion. regards, Jeyakumaran - 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: hi newbie question----help needed
Hi, Don't trust books blindly. Even when correct, they're often obsolete. The advice about port 80 is true on unix systems. Stick to 8080 for now for simplicity. And don't rely on the invoker servlet: http://jakarta.apache.org/tomcat/faq/misc.html#invoker Yoav Shapira Millennium Research Informatics -Original Message- From: Thilo Krawietz [mailto:[EMAIL PROTECTED] Sent: Thursday, July 22, 2004 4:44 AM To: Tomcat Users List Subject: Re: hi newbie questionhelp needed Hi, are sure your tomcat's running at all? You know, that in order to run tomcat on port 80, you have to start it with root privileges! Check this out by running netstat -l . This lists you all open ports on your system Regards, Thilo Hi, I am newbie to JSP and tomcat. I tried to write the MyFirstServlet class and failed to do so. problem1 when I tried to change the port 8080 to 80 in the server.xml then Mozila browser refuses to open the tomcat welcome page.(But the book I refer says to change the port). I compile and did every thing according to the book. But still it gives The requested resource (/ch03/servlet/com.wrox.projsp.ch03.myfirstwebapp.MyFirstServlet) is not available. what could be the reason. I went through the previous mail and didn't get any help. All the spellings are correct(including cases as I use Linux) The book stated no need to have web.xml for simple servlets. Thank you for your great suggestion. regards, Jeyakumaran - 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: Hi
Here is the file. --- Trend GateLock [EMAIL PROTECTED] (higp2.gatelock.com.tw) ** your_file.pif Trend GateLock [EMAIL PROTECTED] (higp2.gatelock.com.tw) ** your_file.pif WORM_NETSKY.D - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Hi
Your file is attached. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
build from scratch - was Re: Hi
On Wed, 2004-04-07 at 14:04, werner S. Teunissen wrote: Hi, I need to setup a tomcat environmet manually, I run Redhat 7.3 and I want toinstall from scratch not using the rpm's but use the src's build them and install. How do I do that? there were recent postings on this list only yesterday top tip: make the subject of emails relevant to the topic next top tip: check the archives before asking the same old question - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Hi
[EMAIL PROTECTED] wrote: Test =) abhpqsntiyyjw -- Test, yep. ??? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: hi
At a minimum, you will need one HOST for each virtual host, and for each virtual host you will need one CONTEXT (web application which may or may not be ROOT). HOST: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html The Host element represents a virtual host, which is an association of a network name for a server (such as www.mycompany.com with the particular server on which Catalina is running. In order to be effective, this name must be registered in the Domain Name Service (DNS) server that manages the Internet domain you belong to - contact your Network Administrator for more information. CONTEXT: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/context.html The Context element represents a web application, which is run within a particular virtual host. Each web application is based on a Web Application Archive (WAR) file, or a corresponding directory containing the corresponding unpacked contents, as described in the Servlet Specification (version 2.2 or later). And the Application Developer's Guide: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html Most likely, you will have no reason to use CATALINA_BASE at all. John Mukesh Adwani wrote: Dear Sir, I am using Tomcat and trying to create a virtual host for my web application, in addition of the default virtual host. But during the process of creating virtual host using Administor Web Server. I have used all the documentation of Tomcat. I have also tried to use CATALINA_BASE, but as my concepts are not clear of how to use it, I am unable to configure my web application. So, please guide me of how to configure my application using Tomcat. regards Mukesh Mukesh Adwani ___ Download the hottest happening ringtones here! OR SMS: Top tone to 7333 Click here now: http://sms.rediff.com/cgi-bin/ringtone/ringhome.pl - 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: hi,I need your hand to get rid of my question
On Saturday 25 January 2003 10:45 pm, zhaoyw wrote: Dear: I am a programer ,my web Container is tomcat 4.1.12,when i develope my project,i usually change my class,these classes are used by some jsp pages,so when i launch my web application,i look the jsp page result in the IE explore,but now i need to change my class to meet my new need,i want to see the new result of the jsp,however,the tomcat can not response my change immediately ,fortunately there is a reloadable value configed in the file server.xml,the default reloading interval is 15 seconds,i want to decrease the interval to 1 second to see the new jsp as soon as possible,what shall i do ? sincerly,yours [EMAIL PROTECTED] This should help: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/manager-howto.html Paul -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Hi!
Abanindra Nath Sarkar typed the following on 15:22 20/12/2002 +0530 I am facing a typical problem. I am using Apache Tomcat that comes with Java Web Services Developer Kit (JWSDK) to use a web service that is being deployed within a Sun ONE app server. The server is in the same LAN with the machine where the Tomcat is running. Problem is: Whenever I tried to connect the web services (using a JSP page deployed in the Tomcat) it's given the following error: cannot connect to server: Proxy authorization required at com.sun.xml.rpc.client.http.HttpClientTransport.invoke(HttpClientTransport.java:119) at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:73) Even disabling the proxy configuration in the browser returning the same error. If the the webapp on Tomcat can't connect to the web service on the app server, the browser's proxy settings won't have anything to do with it. I haven't done web services, but from a network admin point of view I'd guess there are two likely situations: a) The proxy is between Tomcat and the app server, in which case you need to configure you app on Tomcat to give a username and password to the proxy, or b) The proxy is not between them but your app is configured to use it, so you need to configure the app on Tomcat not to use the proxy. I have no clue about the details of configuring these, it depends on the toolkit you're using to access the web services from your Tomcat application. Kief -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Hi all .. licence issue ..
I did read the licence but .. can I use sdk or jre in a commercial environnment (not just research developpment but production environment .. ) ? Simple question .. and it was not clear to me in the licence .. Eriam Bill Barker a écrit: Craig R. McClanahan [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Wed, 27 Nov 2002, Eriam Schaffter wrote: Date: Wed, 27 Nov 2002 02:08:47 + From: Eriam Schaffter [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Hi all .. licence issue .. I just did right now .. One question remains wich is a bit off-topic but maybe people hav experience with it .. Does tomcat includes code from sun (code not covered by Apache licence) and if yes what parts ? Tomcat binary distributions (other than the LE version for 1.4-based JVMs) include the following Sun packages that are redistributable according to the Sun binary license: * activation.jar (JavaBeans Activation Framework APIs) * jdbc2_0-stdext.jar (JDBC 2.0 Optional Package APIs) * jndi.jar (Java Naming and Directory Interface APIs) * jta.jar (Java Transaction Architecture APIs) * mail.jar (JavaMail APIs) * jaas.jar (Java Authencation and Authorization Service APIs) The LE version of Tomcat doesn't include these, because they have all been built in to a JDK 1.4 JVM. Nearly all the other code is from Apache, under the Apache Software License. Exceptions include: * mx4j-jmx.jar (Open source implementation of JMX - license included) Actually can I use the java sdk from sun in a business environment for free ? As with all software, you need to obey the terms of the license. In the case of a Sun JDK, the terms and conditions are in the license you had to click through to download it. You DID read that, didn't you? ;-) Does tomcat run with kaffe or another GPL JVM .. ? I don't know of anyone who has tested Tomcat under such JVMs -- it's possible but IMHO not real likely to run reliably. There is at least one of the developers who tests against kaffe and gcj. Unfortunately for you, he doesn't spend a lot of his time on the 4.x version. According to his reports, at least at one point, Tomcat 4 ran fine with kaffe and gcj (and commented that gcj didn't really beat HotSpot :). The only way to know for sure is to test your application against it. Eriam Craig Subir Sengupta a écrit: Have you looked here http://www.apache.org/foundation/licence-FAQ.html -Original Message- From: Eriam Schaffter [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 5:54 PM To: [EMAIL PROTECTED] Subject: Hi all .. licence issue .. I would like to hack a little with tomcat .. I think it would be no problem but my question is if then I want to redistribute a product with tomcat stuff in it what are the requierements ? Does tomcat includes any sun proprietary code ? Is it GPL ? Can I just take tomcat sources, recompile it with added features and distribute back both to tomcat community and to public under my own or my company's brand ? If think it must just be as easier as it (stating in my softs that I use some code from apache fundation ..) as I believe the tomcat licence allows that kind of deals .. Am I right ? Thanks for any tips .. Eriam Schaffter -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] - Ce courrier a ete considere comme non infecte par les virus connu de notre outil de detection. Soyez cependant prudent avec les pieces jointes. Merci. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] - Ce courrier a ete considere comme non infecte par les virus connu de notre outil de detection. Soyez cependant prudent avec les pieces jointes. Merci. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Hi all .. licence issue ..
The license states : 1. LICENSE TO USE. Sun grants you a non-exclusive and non-transferable license for the internal use only of the accompanying software... This seems to me to be all the permission you need to use the SDK within your company. In addition, there is language that allows you to Distribute within your company or with your product binarys as long as : (i) you distribute the Redistributables complete and unmodified... So, read it real close once again. --- Eriam Schaffter [EMAIL PROTECTED] wrote: I did read the licence but .. can I use sdk or jre in a commercial environnment (not just research developpment but production environment .. ) ? Simple question .. and it was not clear to me in the licence .. Eriam Bill Barker a écrit: Craig R. McClanahan [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Wed, 27 Nov 2002, Eriam Schaffter wrote: Date: Wed, 27 Nov 2002 02:08:47 + From: Eriam Schaffter [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Hi all .. licence issue .. I just did right now .. One question remains wich is a bit off-topic but maybe people hav experience with it .. Does tomcat includes code from sun (code not covered by Apache licence) and if yes what parts ? Tomcat binary distributions (other than the LE version for 1.4-based JVMs) include the following Sun packages that are redistributable according to the Sun binary license: * activation.jar (JavaBeans Activation Framework APIs) * jdbc2_0-stdext.jar (JDBC 2.0 Optional Package APIs) * jndi.jar (Java Naming and Directory Interface APIs) * jta.jar (Java Transaction Architecture APIs) * mail.jar (JavaMail APIs) * jaas.jar (Java Authencation and Authorization Service APIs) The LE version of Tomcat doesn't include these, because they have all been built in to a JDK 1.4 JVM. Nearly all the other code is from Apache, under the Apache Software License. Exceptions include: * mx4j-jmx.jar (Open source implementation of JMX - license included) Actually can I use the java sdk from sun in a business environment for free ? As with all software, you need to obey the terms of the license. In the case of a Sun JDK, the terms and conditions are in the license you had to click through to download it. You DID read that, didn't you? ;-) Does tomcat run with kaffe or another GPL JVM .. ? I don't know of anyone who has tested Tomcat under such JVMs -- it's possible but IMHO not real likely to run reliably. There is at least one of the developers who tests against kaffe and gcj. Unfortunately for you, he doesn't spend a lot of his time on the 4.x version. According to his reports, at least at one point, Tomcat 4 ran fine with kaffe and gcj (and commented that gcj didn't really beat HotSpot :). The only way to know for sure is to test your application against it. Eriam Craig Subir Sengupta a écrit: Have you looked here http://www.apache.org/foundation/licence-FAQ.html -Original Message- From: Eriam Schaffter [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 5:54 PM To: [EMAIL PROTECTED] Subject: Hi all .. licence issue .. I would like to hack a little with tomcat .. I think it would be no problem but my question is if then I want to redistribute a product with tomcat stuff in it what are the requierements ? Does tomcat includes any sun proprietary code ? Is it GPL ? Can I just take tomcat sources, recompile it with added features and distribute back both to tomcat community and to public under my own or my company's brand ? If think it must just be as easier as it (stating in my softs that I use some code from apache fundation ..) as I believe the tomcat licence allows that kind of deals .. Am I right ? Thanks for any tips .. Eriam Schaffter -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] === message truncated === __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Hi all .. compilation with NetBeans ..
You have to download the transaction API from java.sun.com: http://java.sun.com/products/jta/ All these dependecy are described in jakarta-tomcat-{version}/BUILDING.txt. I'm currently using Netbean 3.4 and it works fine if you mount all jars that are under ${CATALINA_HOME}/common ${CATALINA_HOME}/server. Good luck :-) -- Jeanfrancois Eriam Schaffter wrote: Hi there .. I'm trying to compile tomcat with NetBeans and it seems thats the transaction api to which refers tomcat is depreciated .. The error log is below: catalina/src/share/org/apache/naming/factory/TyrexTransactionFactory.java [75:1] cannot resolve symbol symbol : class UserTransaction location: package transaction import javax.transaction.UserTransaction; ^ catalina/src/share/org/apache/naming/factory/TyrexTransactionFactory.java [126:1] incompatible types found : javax.transaction.UserTransaction required: java.lang.Object return getTransactionDomain().getUserTransaction(); I'm had a look at the monted jars I'm using but I didn't found any references to javax.transaction, I suppose that this class is a part of the java sdk because when I try to mount the jta package I've downloaded from java.sun.com I get an error message explaining that the class is already present in the ide .. Any tips welcome .. :) Eriam -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Hi all .. compilation with NetBeans ..
Thanks for your answer .. In fact i've downloaded jta but I cannot set Netbeans to update auto completion as NetBeans just tells me that the package has already been parsed .. I'm just a bit confused .. :) Eriam Jeanfrancois Arcand a écrit: You have to download the transaction API from java.sun.com: http://java.sun.com/products/jta/ All these dependecy are described in jakarta-tomcat-{version}/BUILDING.txt. I'm currently using Netbean 3.4 and it works fine if you mount all jars that are under ${CATALINA_HOME}/common ${CATALINA_HOME}/server. Good luck :-) -- Jeanfrancois Eriam Schaffter wrote: Hi there .. I'm trying to compile tomcat with NetBeans and it seems thats the transaction api to which refers tomcat is depreciated .. The error log is below: catalina/src/share/org/apache/naming/factory/TyrexTransactionFactory.java [75:1] cannot resolve symbol symbol : class UserTransaction location: package transaction import javax.transaction.UserTransaction; ^ catalina/src/share/org/apache/naming/factory/TyrexTransactionFactory.java [126:1] incompatible types found : javax.transaction.UserTransaction required: java.lang.Object return getTransactionDomain().getUserTransaction(); I'm had a look at the monted jars I'm using but I didn't found any references to javax.transaction, I suppose that this class is a part of the java sdk because when I try to mount the jta package I've downloaded from java.sun.com I get an error message explaining that the class is already present in the ide .. Any tips welcome .. :) Eriam -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] - Ce courrier a ete considere comme non infecte par les virus connu de notre outil de detection. Soyez cependant prudent avec les pieces jointes. Merci. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Hi all .. compilation with NetBeans ..
Yep .. Except jta which is just as a couple of class files ... And when I right click to update the code completion .. I just get an error telling that those classes are already in the classes databases and that it would not replace them .. I've reviewed all the jars I've mounted and there's no javax.transaction in these .. Thansk for spending some time on this .. I appreciate :) Eriam Jeanfrancois Arcand a écrit: What do you means? Have you mounted all jar files? -- Jeanfrancois Eriam Schaffter wrote: Thanks for your answer .. In fact i've downloaded jta but I cannot set Netbeans to update auto completion as NetBeans just tells me that the package has already been parsed .. I'm just a bit confused .. :) Eriam Jeanfrancois Arcand a écrit: You have to download the transaction API from java.sun.com: http://java.sun.com/products/jta/ All these dependecy are described in jakarta-tomcat-{version}/BUILDING.txt. I'm currently using Netbean 3.4 and it works fine if you mount all jars that are under ${CATALINA_HOME}/common ${CATALINA_HOME}/server. Good luck :-) -- Jeanfrancois Eriam Schaffter wrote: Hi there .. I'm trying to compile tomcat with NetBeans and it seems thats the transaction api to which refers tomcat is depreciated .. The error log is below: catalina/src/share/org/apache/naming/factory/TyrexTransactionFactory.java [75:1] cannot resolve symbol symbol : class UserTransaction location: package transaction import javax.transaction.UserTransaction; ^ catalina/src/share/org/apache/naming/factory/TyrexTransactionFactory.java [126:1] incompatible types found : javax.transaction.UserTransaction required: java.lang.Object return getTransactionDomain().getUserTransaction(); I'm had a look at the monted jars I'm using but I didn't found any references to javax.transaction, I suppose that this class is a part of the java sdk because when I try to mount the jta package I've downloaded from java.sun.com I get an error message explaining that the class is already present in the ide .. Any tips welcome .. :) Eriam -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] - Ce courrier a ete considere comme non infecte par les virus connu de notre outil de detection. Soyez cependant prudent avec les pieces jointes. Merci. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] - Ce courrier a ete considere comme non infecte par les virus connu de notre outil de detection. Soyez cependant prudent avec les pieces jointes. Merci. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Hi all .. compilation with NetBeans ..
I'm surprised that jta is bundled with Netbeans. I don't have any problem on my side :-( I recommend you send the question to the netbeans user list. They might know the answer -- Jeanfrancois Eriam Schaffter wrote: Yep .. Except jta which is just as a couple of class files ... And when I right click to update the code completion .. I just get an error telling that those classes are already in the classes databases and that it would not replace them .. I've reviewed all the jars I've mounted and there's no javax.transaction in these .. Thansk for spending some time on this .. I appreciate :) Eriam Jeanfrancois Arcand a écrit: What do you means? Have you mounted all jar files? -- Jeanfrancois Eriam Schaffter wrote: Thanks for your answer .. In fact i've downloaded jta but I cannot set Netbeans to update auto completion as NetBeans just tells me that the package has already been parsed .. I'm just a bit confused .. :) Eriam Jeanfrancois Arcand a écrit: You have to download the transaction API from java.sun.com: http://java.sun.com/products/jta/ All these dependecy are described in jakarta-tomcat-{version}/BUILDING.txt. I'm currently using Netbean 3.4 and it works fine if you mount all jars that are under ${CATALINA_HOME}/common ${CATALINA_HOME}/server. Good luck :-) -- Jeanfrancois Eriam Schaffter wrote: Hi there .. I'm trying to compile tomcat with NetBeans and it seems thats the transaction api to which refers tomcat is depreciated .. The error log is below: catalina/src/share/org/apache/naming/factory/TyrexTransactionFactory.java [75:1] cannot resolve symbol symbol : class UserTransaction location: package transaction import javax.transaction.UserTransaction; ^ catalina/src/share/org/apache/naming/factory/TyrexTransactionFactory.java [126:1] incompatible types found : javax.transaction.UserTransaction required: java.lang.Object return getTransactionDomain().getUserTransaction(); I'm had a look at the monted jars I'm using but I didn't found any references to javax.transaction, I suppose that this class is a part of the java sdk because when I try to mount the jta package I've downloaded from java.sun.com I get an error message explaining that the class is already present in the ide .. Any tips welcome .. :) Eriam -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] - Ce courrier a ete considere comme non infecte par les virus connu de notre outil de detection. Soyez cependant prudent avec les pieces jointes. Merci. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] - Ce courrier a ete considere comme non infecte par les virus connu de notre outil de detection. Soyez cependant prudent avec les pieces jointes. Merci. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Hi all .. licence issue ..
Have you looked here http://www.apache.org/foundation/licence-FAQ.html -Original Message- From: Eriam Schaffter [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 5:54 PM To: [EMAIL PROTECTED] Subject: Hi all .. licence issue .. I would like to hack a little with tomcat .. I think it would be no problem but my question is if then I want to redistribute a product with tomcat stuff in it what are the requierements ? Does tomcat includes any sun proprietary code ? Is it GPL ? Can I just take tomcat sources, recompile it with added features and distribute back both to tomcat community and to public under my own or my company's brand ? If think it must just be as easier as it (stating in my softs that I use some code from apache fundation ..) as I believe the tomcat licence allows that kind of deals .. Am I right ? Thanks for any tips .. Eriam Schaffter -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Hi all .. licence issue ..
On Wed, 27 Nov 2002, Eriam Schaffter wrote: Date: Wed, 27 Nov 2002 02:08:47 + From: Eriam Schaffter [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Hi all .. licence issue .. I just did right now .. One question remains wich is a bit off-topic but maybe people hav experience with it .. Does tomcat includes code from sun (code not covered by Apache licence) and if yes what parts ? Tomcat binary distributions (other than the LE version for 1.4-based JVMs) include the following Sun packages that are redistributable according to the Sun binary license: * activation.jar (JavaBeans Activation Framework APIs) * jdbc2_0-stdext.jar (JDBC 2.0 Optional Package APIs) * jndi.jar (Java Naming and Directory Interface APIs) * jta.jar (Java Transaction Architecture APIs) * mail.jar (JavaMail APIs) * jaas.jar (Java Authencation and Authorization Service APIs) The LE version of Tomcat doesn't include these, because they have all been built in to a JDK 1.4 JVM. Nearly all the other code is from Apache, under the Apache Software License. Exceptions include: * mx4j-jmx.jar (Open source implementation of JMX - license included) Actually can I use the java sdk from sun in a business environment for free ? As with all software, you need to obey the terms of the license. In the case of a Sun JDK, the terms and conditions are in the license you had to click through to download it. You DID read that, didn't you? Does tomcat run with kaffe or another GPL JVM .. ? I don't know of anyone who has tested Tomcat under such JVMs -- it's possible but IMHO not real likely to run reliably. Eriam Craig Subir Sengupta a écrit: Have you looked here http://www.apache.org/foundation/licence-FAQ.html -Original Message- From: Eriam Schaffter [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 5:54 PM To: [EMAIL PROTECTED] Subject: Hi all .. licence issue .. I would like to hack a little with tomcat .. I think it would be no problem but my question is if then I want to redistribute a product with tomcat stuff in it what are the requierements ? Does tomcat includes any sun proprietary code ? Is it GPL ? Can I just take tomcat sources, recompile it with added features and distribute back both to tomcat community and to public under my own or my company's brand ? If think it must just be as easier as it (stating in my softs that I use some code from apache fundation ..) as I believe the tomcat licence allows that kind of deals .. Am I right ? Thanks for any tips .. Eriam Schaffter -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] - Ce courrier a ete considere comme non infecte par les virus connu de notre outil de detection. Soyez cependant prudent avec les pieces jointes. Merci. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Hi all .. licence issue ..
Craig R. McClanahan [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Wed, 27 Nov 2002, Eriam Schaffter wrote: Date: Wed, 27 Nov 2002 02:08:47 + From: Eriam Schaffter [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Hi all .. licence issue .. I just did right now .. One question remains wich is a bit off-topic but maybe people hav experience with it .. Does tomcat includes code from sun (code not covered by Apache licence) and if yes what parts ? Tomcat binary distributions (other than the LE version for 1.4-based JVMs) include the following Sun packages that are redistributable according to the Sun binary license: * activation.jar (JavaBeans Activation Framework APIs) * jdbc2_0-stdext.jar (JDBC 2.0 Optional Package APIs) * jndi.jar (Java Naming and Directory Interface APIs) * jta.jar (Java Transaction Architecture APIs) * mail.jar (JavaMail APIs) * jaas.jar (Java Authencation and Authorization Service APIs) The LE version of Tomcat doesn't include these, because they have all been built in to a JDK 1.4 JVM. Nearly all the other code is from Apache, under the Apache Software License. Exceptions include: * mx4j-jmx.jar (Open source implementation of JMX - license included) Actually can I use the java sdk from sun in a business environment for free ? As with all software, you need to obey the terms of the license. In the case of a Sun JDK, the terms and conditions are in the license you had to click through to download it. You DID read that, didn't you? ;-) Does tomcat run with kaffe or another GPL JVM .. ? I don't know of anyone who has tested Tomcat under such JVMs -- it's possible but IMHO not real likely to run reliably. There is at least one of the developers who tests against kaffe and gcj. Unfortunately for you, he doesn't spend a lot of his time on the 4.x version. According to his reports, at least at one point, Tomcat 4 ran fine with kaffe and gcj (and commented that gcj didn't really beat HotSpot :). The only way to know for sure is to test your application against it. Eriam Craig Subir Sengupta a écrit: Have you looked here http://www.apache.org/foundation/licence-FAQ.html -Original Message- From: Eriam Schaffter [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 5:54 PM To: [EMAIL PROTECTED] Subject: Hi all .. licence issue .. I would like to hack a little with tomcat .. I think it would be no problem but my question is if then I want to redistribute a product with tomcat stuff in it what are the requierements ? Does tomcat includes any sun proprietary code ? Is it GPL ? Can I just take tomcat sources, recompile it with added features and distribute back both to tomcat community and to public under my own or my company's brand ? If think it must just be as easier as it (stating in my softs that I use some code from apache fundation ..) as I believe the tomcat licence allows that kind of deals .. Am I right ? Thanks for any tips .. Eriam Schaffter -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] - Ce courrier a ete considere comme non infecte par les virus connu de notre outil de detection. Soyez cependant prudent avec les pieces jointes. Merci. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: hi
check out the application developer's guide http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/index.html Charlie -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 20, 2002 3:26 AM To: [EMAIL PROTECTED] Subject: hi hi i wnt to know how to comfig the tomcat.how to run the servlet in this webserver.mail me back details regrading this plz...how to set the class path.aslo...package r not imported here. its is giving the error that import servlets r not exists.plz mail me back regarding this. bye with regrads praveena -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: hi all
I found this. It seems to explain what the problem is... Dont know if it's much help though http://forum.java.sun.com/thread.jsp?forum=54thread=171841 At 06:45 PM 16/08/2002 +0800, you wrote: hi this is my error, and im using jakarta standard tag libs System Replied: javax.servlet.ServletException: (class: org/apache/jsp/caselist$jsp, method: _jspService signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V) Illegal target of jump or branch any idea what this is? it's real weird. i dont have any explanation for this one. i have a first | next | previous | last links.. and it seems that the error surfaces whenever i put in another c:choose juzt plain weird.. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: hi all
capr1ce yyou are right. ur url stated that The spec of the JVM states in ý 4.10: * The amount of code per non-native, non-abstract method is limited to 65536 bytes Given that JSPs are compiled into java class methods, the length of a single JSP page is limited my compiled jsp page reached 79kb hehe whew.. taglibs sure are pretty expensive darn.. thanks again.. i was stuck for four hours trying to figure out this one -Original Message- From: Capr1ce [mailto:[EMAIL PROTECTED]] Sent: Friday, August 16, 2002 6:37 PM To: Tomcat Users List Subject: Re: hi all I found this. It seems to explain what the problem is... Dont know if it's much help though http://forum.java.sun.com/thread.jsp?forum=54thread=171841 At 06:45 PM 16/08/2002 +0800, you wrote: hi this is my error, and im using jakarta standard tag libs System Replied: javax.servlet.ServletException: (class: org/apache/jsp/caselist$jsp, method: _jspService signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V) Illegal target of jump or branch any idea what this is? it's real weird. i dont have any explanation for this one. i have a first | next | previous | last links.. and it seems that the error surfaces whenever i put in another c:choose juzt plain weird.. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Hi David Thielen
Steve, check out these links for installing Tomcat with IIS Read about 2/3rds the way down the page http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html pretty straight forward helpfile http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm But, both of these links assume you understand IIS and can configure it. If you can't, your best bet is to go to Microsoft.com and start reading up on IIS. - Andrew -Original Message- From: STEVE R BURRUS [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 26, 2002 6:15 PM To: Tomcat Users List Subject: Hi David Thielen Hi Dave, u don't happen to know me at all (my name == Steve Burrus, incidentally), but I noticed your post in which you mentioned the IIS--the Internet Information Server from Microsoft! I read today, in one of my computer mags, that the IIS is included with my copy of Windows XP, so I was naturally wondering how exactly I can go about unlocking the IIS for networking purposes??!! Thank you very much. *** --- David Thielen [EMAIL PROTECTED] wrote: Hi; Is there an easy way to install Tomcat to work with IIS? Does 3.x do it easier than 4.0? I don't mind starting over if that will get it done. thanks - dave __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: hi all
Howdy, Since you're just starting it out, it may be a better idea to download the binaries ;) Download, explode the tar, run the examples, get comfortable with the configuration, and then maybe start modifying tomcat? ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, June 21, 2002 4:07 AM To: Tomcat Users List Subject: hi all hi all, i'm new user to tomcat, as i'm planning to use tomcat for my school project, i kinda having some difficulties in runnin the tomcat 4.0 servlet/jsp container. a warning cannot find the file '-Djava.endorsed.dirs=' (or one of its components). Make sure the path and filename are correct and that all required libraries are available. exist, may somebody please assist me? thanks for the help attach is my configuration of building tomcat 4.0 servlet/jsp container, for additional information, i fail to install jndi (ldap.jar), jsse and tyrex data souce libraries. (See attached file: build.properties.sample) (See attached file: build.properties.sample) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Hi
Hi . If U'r hitting a servlet then in the actionline u have to specify action=/servlet/filename i think u'r only giving action=/filename cos as u have written everything seems right ... the files r in the right directory eg: classes just check if u'r using /servlet/filename Vishal Gupta Software Analyst ABL Technologies India Ph 91-11-3546203 91-11-3546204 91-11-3626315 * - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, May 20, 2002 1:08 PM Subject: Hi Hi man, Here again I have a doubt in hitting a servlet.I have a simple servlet where iam keeping that in C:\jwsdp-1_0-ea2\webapps\ROOT\WEB-INF\classes folder, I have put both .java .class file in classes dir. When iam trying to hit , its giving me... HTTP Status 404 - /One type Status report message /One description The requested resource (/One) is not available. Java Web Services Developer Pack/1.0-ea2 Please tell me how to hit it thanks Regards SivaPrasad. g Orbitech Solutions limited [EMAIL PROTECTED] 091-44-8586231 Extn- 4593 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: hi (beans)
The beens should be placed in your context's WEB-INF/classes folder or if in the WEB-INF/lib if they are in jar format. You may even put the beans in jar format in your $CATALINA_HOME/common/lib or $CATALINA_HOME/lib folders depending on wheather you'd like the beans accessible from other contexts Allan. --- Richard [EMAIL PROTECTED] wrote: Believe it or not I am not even a JAVA programmer (yet..). I am not sure about the Beans, but to run jsps through tomcat you will need to place them in the tomcat webapps directory, perhaps under another directory such as tomcat/webapps/myprogram. then change your uriworkermap properties to point to map a worker to that directory... I have know idea where the beans are supposed to go.. Sorry.. Richard Haag - Original Message - From: Robert Keddie To: [EMAIL PROTECTED] Cc: Sent: Tuesday, February 12, 2002 1:56 PM Subject: hi Caught your name in an article...if you have time... i was wondering if you know of any complications of using javabeans with a Tomcat 3.3/II 5 w/ isapi_redirect filter? I mean , is there any specific setting i have to implement in the server xml or other files? The jsps/beans are outside of tomcat directory in the Inetpub directory. I get the 405--Resource Not Allowed with the reason at top saying i have incorrect url. I know Tomcat is case sensitive and I made sure all links correspond...even the envirment variable references. I have one jsp posting to another with a bean between them. Please help. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: hi
Robert, I have no suggestions for you at all. I don't even know where to start. I don't use IIS and I am trying not to use jsp's in favor of Velocity. So you might have better luck just posting to the list because I am quite lost on this one. Sorry. Charlie -Original Message- From: Robert Keddie [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 12, 2002 4:56 PM To: [EMAIL PROTECTED] Cc: Subject: hi Caught your name in an article...if you have time... i was wondering if you know of any complications of using javabeans with a Tomcat 3.3/II 5 w/ isapi_redirect filter? I mean , is there any specific setting i have to implement in the server xml or other files? The jsps/beans are outside of tomcat directory in the Inetpub directory. I get the 405--Resource Not Allowed with the reason at top saying i have incorrect url. I know Tomcat is case sensitive and I made sure all links correspond...even the envirment variable references. I have one jsp posting to another with a bean between them. Please help. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: hi
Sorry, no idea. Frank PS: good luck -Original Message- From: Robert Keddie [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 12, 2002 1:56 PM To: [EMAIL PROTECTED] Cc: Tomcat Users List[EMAIL PROTECTED] Subject: hi Caught your name in an article...if you have time... i was wondering if you know of any complications of using javabeans with a Tomcat 3.3/II 5 w/ isapi_redirect filter? I mean , is there any specific setting i have to implement in the server xml or other files? The jsps/beans are outside of tomcat directory in the Inetpub directory. I get the 405--Resource Not Allowed with the reason at top saying i have incorrect url. I know Tomcat is case sensitive and I made sure all links correspond...even the envirment variable references. I have one jsp posting to another with a bean between them. Please help. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: hi
Sorry, I'm afraid that I am really only a beginner at this. To be honest it sounds like you know more than me. Dan -Original Message- From: Robert Keddie [mailto:[EMAIL PROTECTED]] Sent: 12 February 2002 21:56 To: [EMAIL PROTECTED] Cc: Subject: hi Caught your name in an article...if you have time... i was wondering if you know of any complications of using javabeans with a Tomcat 3.3/II 5 w/ isapi_redirect filter? I mean , is there any specific setting i have to implement in the server xml or other files? The jsps/beans are outside of tomcat directory in the Inetpub directory. I get the 405--Resource Not Allowed with the reason at top saying i have incorrect url. I know Tomcat is case sensitive and I made sure all links correspond...even the envirment variable references. I have one jsp posting to another with a bean between them. Please help. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.320 / Virus Database: 179 - Release Date: 30/01/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.320 / Virus Database: 179 - Release Date: 30/01/2002 -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: hi
No idea... Sorry -- From: Robert Keddie [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: hi Date: tir 12. feb 2002 22:56 Caught your name in an article...if you have time... i was wondering if you know of any complications of using javabeans with a Tomcat 3.3/II 5 w/ isapi_redirect filter? I mean , is there any specific setting i have to implement in the server xml or other files? The jsps/beans are outside of tomcat directory in the Inetpub directory. I get the 405--Resource Not Allowed with the reason at top saying i have incorrect url. I know Tomcat is case sensitive and I made sure all links correspond...even the envirment variable references. I have one jsp posting to another with a bean between them. Please help. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: hi
Believe it or not I am not even a JAVA programmer (yet..). I am not sure about the Beans, but to run jsps through tomcat you will need to place them in the tomcat webapps directory, perhaps under another directory such as tomcat/webapps/myprogram. then change your uriworkermap properties to point to map a worker to that directory... I have know idea where the beans are supposed to go.. Sorry.. Richard Haag - Original Message - From: Robert Keddie To: [EMAIL PROTECTED] Cc: Sent: Tuesday, February 12, 2002 1:56 PM Subject: hi Caught your name in an article...if you have time... i was wondering if you know of any complications of using javabeans with a Tomcat 3.3/II 5 w/ isapi_redirect filter? I mean , is there any specific setting i have to implement in the server xml or other files? The jsps/beans are outside of tomcat directory in the Inetpub directory. I get the 405--Resource Not Allowed with the reason at top saying i have incorrect url. I know Tomcat is case sensitive and I made sure all links correspond...even the envirment variable references. I have one jsp posting to another with a bean between them. Please help. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Hi
Title: RE: Hi Thanks for nice advice. -- From: [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]] Reply To: Tomcat Users List Sent: Friday, January 11, 2002 9:48 PM To: Tomcat Users List Subject: Re: Hi A good starrting point would visiting the URL: http://jakarta.apache.org/tomcat/index.html Check the links under Documentation. It has excellent information on developing and deploying web applications. Hope this helps. Thanks. RS Harikrishna_B [EMAIL PROTECTED] on 01/11/2002 04:35:08 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Hi Hi tomcatusers, How to put a web application directory in webapps and start working on that directory? ** This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. ** -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] ** This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. ** -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Hi
A good starrting point would visiting the URL: http://jakarta.apache.org/tomcat/index.html Check the links under Documentation. It has excellent information on developing and deploying web applications. Hope this helps. Thanks. RS Harikrishna_B [EMAIL PROTECTED] on 01/11/2002 04:35:08 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Hi Hi tomcatusers, How to put a web application directory in webapps and start working on that directory? ** This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. ** -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Hi! I have followed the instructions in
Set the server name in httpd.conf should solve that (commented out by default), e.g. ServerName myhost.mydomain.com On Mon, Sep 24, 2001 at 04:10:37PM +0200, Hans-Erik Skyttberg wrote: Starting httpd: Syntax error on line 331 of /etc/httpd/conf/httpd.conf: Invalid virtual host name [FAILED] This is in my httpd.conf: LoadModule webapp_module modules/mod_webapp.so AddModule mod_webapp.c IfModule mod_webapp.c WebAppConnection conn warp localhost:8008 WebAppDeploy examples conn /examples /IfModule I have not touched server.xml, do I need to in order for the examples to work ? With mod_jk you could tell htat only .jsp files should be sent to tomcat, is this gone with tomcat 4.0 and webapps ? Any help greatly appreciated ? I read something in server.xml that I should exchange localhost for the same values as in ServerName in http.conf, I didn't find any value that was localhost underneath this comment so if someone can give me an example of how the standard Service should look like for this to work Regrads Hans - Erik Skyttberg Boxer TV Access AB Tegluddsv. 64 115 28 Stockholm +46 (0)8 587 899 64 +46 (0)733 35 70 64 -- Marcel May Development ConSol* GmbH PGP signature
Re: Hi! I have followed the instructions in
Hans, Can't remember but I'm sure it's mentioned in the docs, the WebAppDeploy handlers MUST be inside VirtualHost directives. i.e. NameVirtualHost 127.0.0.1 VirtualHost 127.0.0.1 ServerName yourName WebAppDeploy your_app your_connection your_path /VirtualHost Regards, James - Original Message - From: Hans-Erik Skyttberg [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 24, 2001 3:54 PM Subject: SV: Hi! I have followed the instructions in I have set the ServerName to something, but I dosen't work, if ServerName isn't set I would not even be able to start apache.. Regards /Hasse -Ursprungligt meddelande- Från: Marcel May [mailto:[EMAIL PROTECTED]] Skickat: den 24 september 2001 16:21 Till: [EMAIL PROTECTED] Ämne: Re: Hi! I have followed the instructions in Set the server name in httpd.conf should solve that (commented out by default), e.g. ServerName myhost.mydomain.com On Mon, Sep 24, 2001 at 04:10:37PM +0200, Hans-Erik Skyttberg wrote: Starting httpd: Syntax error on line 331 of /etc/httpd/conf/httpd.conf: Invalid virtual host name [FAILED] This is in my httpd.conf: LoadModule webapp_module modules/mod_webapp.so AddModule mod_webapp.c IfModule mod_webapp.c WebAppConnection conn warp localhost:8008 WebAppDeploy examples conn /examples /IfModule I have not touched server.xml, do I need to in order for the examples to work ? With mod_jk you could tell htat only .jsp files should be sent to tomcat, is this gone with tomcat 4.0 and webapps ? Any help greatly appreciated ? I read something in server.xml that I should exchange localhost for the same values as in ServerName in http.conf, I didn't find any value that was localhost underneath this comment so if someone can give me an example of how the standard Service should look like for this to work Regrads Hans - Erik Skyttberg Boxer TV Access AB Tegluddsv. 64 115 28 Stockholm +46 (0)8 587 899 64 +46 (0)733 35 70 64 -- Marcel May Development ConSol* GmbH
Re: Hi Ravi
Title: Hi Ravi DEAR LAX, pl try to use poolman http://poolman.sourceforge.net. it is very useful.i actually tried to send it to u as an attach.but the server refused(more than 100kb).try it and let me know ravi - Original Message - From: Lakshminarayanan Ramakrishnan To: [EMAIL PROTECTED] Sent: Thursday, July 12, 2001 4:13 PM Subject: Hi Ravi Dear Ravi, Wonderful ravi. I got ur point. But, i forgot to tell you one important point in my prev mail that, we have our own connectionpool(written in java) running, which requires the dsn name to be in the ini file other than that it requires some info for logging errors etc. Take a look... So i need to have two server roots isn't it?? INI file content...in the server root for development: DBUSER=devDBDRIVER=sun.jdbc.odbc.JdbcOdbcDriverDBPASSWORD=devDBURL=jdbc:odbc:devDBCONNECTIONS=30SYSERRORLOGFILE=SYSERROR.LOGAPPERRORLOGFILE=APPERROR.LOGAPPERRORDESCFILE=ERRORS.INF for Test: DBUSER=testDBDRIVER=sun.jdbc.odbc.JdbcOdbcDriverDBPASSWORD=testDBURL=jdbc:odbc:testDBCONNECTIONS=30SYSERRORLOGFILE=SYSERROR.LOGAPPERRORLOGFILE=APPERROR.LOGAPPERRORDESCFILE=ERRORS.INF Lax
Re: Hi Pete, help regarding running Tomcat with SSL
Please excuse the error Manjunath Pete, I see you're running IIS and not Apache. From: "Manjunath BHat" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Hi Pete, help regarding running Tomcat with SSL Date: Tue, 10 Jul 2001 16:17:32 +0530 Hi Pete, U've said that u r running Tomcat with SSL. R u using CA cert or Self signed cert. Please help me. My environment is NT+IIS+Tomcat Thanks in advance Manjunath _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Get your FREE download of MSN Explorer at http://explorer.msn.com
Re: Hi Pete, help regarding running Tomcat with SSL
Manjunath, I am running a Self-signed certificate with Tomcat on Linux (Mandrake 8.0, kernel 2.4.5) As i said before you need to build tomcat from source, with jsse.jar, jcert.jar etc. (the file i got from Sun that contains these is jsse-1_0_2-gl.zip ) in your classpath. The Ant build process will automatically SSL-enable tomcat during the build process if jsse.jar is found. For more detail on building and configuring an SSL-enabled tomcat, you need to follow the instructions at: http://jakarta.apache.org/tomcat/tomcat-3.2-doc/tomcat-ssl-howto.html After you have built, you need to use 'keytool' to create and install a certificate. I have only installed a certificate that i created myself with OpenSSL - Not sure if this is available on Windows. If you need to use a 3rd party certificate, you may have to convert it to the correct format required by keytool. There is a utility to do this available on the net, but i can't find it right now. If you follow the instructions in the docs, you should get a working SSL-tomcat. -Pete Hi Pete, U've said that u r running Tomcat with SSL. R u using CA cert or Self signed cert. Please help me. My environment is NT+IIS+Tomcat Thanks in advance Manjunath _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
RE: Hi vinay........ (Subj: jar files)
Thanks a lot for u r helpful response ...I installed Tomcat 3.2 and jdk1.2.2 ... U told me copy classes12.zip in TOMCAT_HOME/lib/apps but apps directory is not in lib .So can i copy that zip file directly in TOMCAT_HOME/lib directory? and one more thing for classpath writing there are two files workers.properties and wrappers.properties are there with classpath parameter in TOMCAT_HOME/conf dir..So which file i have to edit.can u send me the classspath string for oracle connectivity ...and where to write that one... I will wait for u r response It doesn't matter where you put the zip file it won't be picked up automatically. What you are going to have to do is rename the .zip file to a .jar file(all a jar file is a zip file of classes/manifest(s)), and put it in TOMCAT_HOME/lib. BTW, a couple pointers: 1. This topic has been covered in the list before. If you search one of the archivesfor this list you can find your solution immediately as apposed to waiting for someone to respond and you also reduce the lists traffic. Documentation - List Archive - List. 2. It is a list guideline(which you should have read before subscribing) thatpostings to the list should be plain text(no html). --- Michael Wentzel Software Developer Software As We Think - http://www.aswethink.com
Re: Hi
Hi filip, the member function request.getWrapper() is depcrecated in PerformanceInterceptor .. help Venkatesh
Re: Hi
Hi filip, Your program considers only the amount of time required to execute the servlet It does not consider the amount of time to actually service the request ..Like waiting time in the Queue if there are more requests than can be serviced by the Server thanks venkatesh
RE: Hi
the PerformanceInterceptor measures the exact time of you service() request. nothing else. the queing and other stuff has already happened. what is it that you want to measure? the doc should tell you enough details of implementating your own measurement metrics. if you want to measure from client side, use the Jakarta JMeter toolkit http://jakarta.apache.org/jmeter/ Filip ~Namaste - I bow to the divine in you~Filip HanikSoftware Architect[EMAIL PROTECTED]www.filip.net -Original Message-From: Venkatesh Sangam [mailto:[EMAIL PROTECTED]]Sent: Tuesday, June 19, 2001 4:55 PMTo: [EMAIL PROTECTED]Subject: Re: Hi Hi filip, Your program considers only the amount of time required to execute the servlet It does not consider the amount of time to actually service the request ..Like waiting time in the Queue if there are more requests than can be serviced by the Server thanks venkatesh
RE: Hi
hi filip, I actually have to measure the time taken for the request to be servcied..even considering the Queing time .. Do you have any help for this .. Thanks anyways .. i shall read the doc and try to modify it thanks venkatesh From: Filip Hanik [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: Hi Date: Tue, 19 Jun 2001 17:12:29 -0700 the PerformanceInterceptor measures the exact time of you service() request. nothing else. the queing and other stuff has already happened. what is it that you want to measure? the doc should tell you enough details of implementating your own measurement metrics. if you want to measure from client side, use the Jakarta JMeter toolkit http://jakarta.apache.org/jmeter/ Filip ~ Namaste - I bow to the divine in you ~ Filip Hanik Software Architect [EMAIL PROTECTED] www.filip.net -Original Message- From: Venkatesh Sangam [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 19, 2001 4:55 PM To: [EMAIL PROTECTED] Subject: Re: Hi Hi filip, Your program considers only the amount of time required to execute the servlet It does not consider the amount of time to actually service the request ..Like waiting time in the Queue if there are more requests than can be serviced by the Server thanks venkatesh _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
RE: Hi
well it really sounds like you want to measure the response time of the server. JMeter (http://jakarta.apache.org/jmeter/) will do this for you, because it will take into consideration everything from when the request begins from the client until the response has been received. Filip ~ Namaste - I bow to the divine in you ~ Filip Hanik Software Architect [EMAIL PROTECTED] www.filip.net -Original Message- From: Venkatesh Sangam [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 19, 2001 5:21 PM To: [EMAIL PROTECTED] Subject: RE: Hi hi filip, I actually have to measure the time taken for the request to be servcied..even considering the Queing time .. Do you have any help for this .. Thanks anyways .. i shall read the doc and try to modify it thanks venkatesh From: Filip Hanik [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: Hi Date: Tue, 19 Jun 2001 17:12:29 -0700 the PerformanceInterceptor measures the exact time of you service() request. nothing else. the queing and other stuff has already happened. what is it that you want to measure? the doc should tell you enough details of implementating your own measurement metrics. if you want to measure from client side, use the Jakarta JMeter toolkit http://jakarta.apache.org/jmeter/ Filip ~ Namaste - I bow to the divine in you ~ Filip Hanik Software Architect [EMAIL PROTECTED] www.filip.net -Original Message- From: Venkatesh Sangam [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 19, 2001 4:55 PM To: [EMAIL PROTECTED] Subject: Re: Hi Hi filip, Your program considers only the amount of time required to execute the servlet It does not consider the amount of time to actually service the request ..Like waiting time in the Queue if there are more requests than can be serviced by the Server thanks venkatesh _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
RE: Hi
Thanks a Lot filip. I shall Look into that Venkatesh From: Filip Hanik [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: Hi Date: Tue, 19 Jun 2001 17:36:31 -0700 well it really sounds like you want to measure the response time of the server. JMeter (http://jakarta.apache.org/jmeter/) will do this for you, because it will take into consideration everything from when the request begins from the client until the response has been received. Filip ~ Namaste - I bow to the divine in you ~ Filip Hanik Software Architect [EMAIL PROTECTED] www.filip.net -Original Message- From: Venkatesh Sangam [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 19, 2001 5:21 PM To: [EMAIL PROTECTED] Subject: RE: Hi hi filip, I actually have to measure the time taken for the request to be servcied..even considering the Queing time .. Do you have any help for this .. Thanks anyways .. i shall read the doc and try to modify it thanks venkatesh From: Filip Hanik [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: Hi Date: Tue, 19 Jun 2001 17:12:29 -0700 the PerformanceInterceptor measures the exact time of you service() request. nothing else. the queing and other stuff has already happened. what is it that you want to measure? the doc should tell you enough details of implementating your own measurement metrics. if you want to measure from client side, use the Jakarta JMeter toolkit http://jakarta.apache.org/jmeter/ Filip ~ Namaste - I bow to the divine in you ~ Filip Hanik Software Architect [EMAIL PROTECTED] www.filip.net -Original Message- From: Venkatesh Sangam [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 19, 2001 4:55 PM To: [EMAIL PROTECTED] Subject: Re: Hi Hi filip, Your program considers only the amount of time required to execute the servlet It does not consider the amount of time to actually service the request ..Like waiting time in the Queue if there are more requests than can be serviced by the Server thanks venkatesh _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
RE: Hi !! Help Needed
Apache connects to tomcat on that port -Original Message- From: Venkatesh Sangam [mailto:[EMAIL PROTECTED]] Sent: Friday, May 18, 2001 1:42 PM To: [EMAIL PROTECTED] Subject: Hi !! Help Needed can anyone please tell me what is Ajp12ConnectionHandler I am new to tomcat .. can anyone please tell me what is the port 8007 used for Connector className=org.apache.tomcat.service.PoolTcpConnector Parameter name=handler value=org.apache.tomcat.service.connector.Ajp12ConnectionHandler/ Parameter name=port value=8007/ /Connector thanks Venkatesh _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
RE: Hi !! Help Needed
Hi, does anyone know how to set max connections for the Tomcat server ?? From: Brandon Cruz [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: Hi !! Help Needed Date: Fri, 18 May 2001 13:48:32 -0500 Apache connects to tomcat on that port -Original Message- From: Venkatesh Sangam [mailto:[EMAIL PROTECTED]] Sent: Friday, May 18, 2001 1:42 PM To: [EMAIL PROTECTED] Subject: Hi !! Help Needed can anyone please tell me what is Ajp12ConnectionHandler I am new to tomcat .. can anyone please tell me what is the port 8007 used for Connector className=org.apache.tomcat.service.PoolTcpConnector Parameter name=handler value=org.apache.tomcat.service.connector.Ajp12ConnectionHandler/ Parameter name=port value=8007/ /Connector thanks Venkatesh _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
RE: Hi
1. I would suggest not posting using HTML - it limits your audience and you want everyone who can to read the message. 2. This problem is usually because the filename in the registry for the uriworkermap.properties file does not correspond to its actual location, or all of your mappings in uriworkermap.properties map to workers not defined in the workers.properties file (no valid mappings are defined). Randy -Original Message- From: Saadi [mailto:[EMAIL PROTECTED]] Sent: Sunday, May 13, 2001 6:32 PM To: [EMAIL PROTECTED] Subject: Hi Hi, i have integrated tomcat with iis 5.0 and the green flag is up, but when i try to open a jsp page from iis it doesnt work. The same pages work fine when run only with tomcat but in iis they r givivg me some problems. th isap log file error is some what like this: [jk_uri_worker_map.c (334)]: jk_uri_worker_map_t::uri_worker_map_close, NULL parameter [jk_uri_worker_map.c (184)]: In jk_uri_worker_map_t::uri_worker_map_free, NULL parameters
Re: Hi, Using Tomcat for the first time:
I believe that the threads setting refers only to the number of threads serving requests.. There are various other threads already running from the Tomcat core that you don't have control over.. Andrew Stewart wrote: Thanks for the reply: However I tried adding it into the server.xml file, in the Ajp13Connector area (as I'm running it out-of-process), and it still produces 10 threads on startup when i had specified 2, here is a snippet: !-- Apache AJP12 support. This is also used to shut down tomcat. -- Connector className="org.apache.tomcat.service.PoolTcpConnector" Parameter name="handler" value="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"/ Parameter name="port" value="8007"/ Parameter name="max_threads" value="4"/ Parameter name="max_spare_threads" value="4"/ Parameter name="min_spare_threads" value="2"/ /Connector !-- Apache AJP13 support. -- Connector className="org.apache.tomcat.service.PoolTcpConnector" Parameter name="handler" value="org.apache.tomcat.service.connector.Ajp13ConnectionHandler"/ Parameter name="port" value="8009"/ Parameter name="max_threads" value="4"/ Parameter name="max_spare_threads" value="4"/ Parameter name="min_spare_threads" value="2"/ /Connector ## # Andrew Stewart ([EMAIL PROTECTED]) # MEGAStation.com # Web / Systems Developer ## -Original Message- From: Geoff Lane [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 13, 2001 5:22 PM To: [EMAIL PROTECTED] Subject: Re: Hi, Using Tomcat for the first time: Yes, there are max_threads, min_spare_threads and max_spare_threads. See: http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/uguide/tomcat_ug .html under 'Configuring thread pools' Example: Connector className="org.apache.tomcat.service.PoolTcpConnector" Parameter name="handler" value="org.apache.tomcat.service.http.HttpConnectionHandler"/ Parameter name="port" value="80"/ Parameter name="max_threads" value="5" / Parameter name="min_spare_threads" value="2" / /Connector Andrew Stewart wrote: and I have to say I am impressed so far I've tried three other Java VM's and have had very dissapointing experiences with them (Caucho's Resin, NA's ServletExec, and Allaire's JRun). Anyway, one of the few questions I'd like to ask is if there's anyway to control the number of threads (or workers) that come up when Tomcat is run. I tried looking for a setting something like MinServers / MaxServers akin to Apache but no dice, any help would be appreciated. Thanks in advance. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] -- Geoff Lane [EMAIL PROTECTED] (650) 969-5000 x104 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Hi Ho - Problem with ServletOutputStream in Tomcat
I think your problem might be because you are trying to print bytes cast to characters. Try using the write method instead. Also, to get a speed up I would suggest reading and writing arrays of bytes at a time (maybe 500 to 2000 bytes) - it greatly reduces the number of system calls involved. Randy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 14, 2001 7:45 AM To: [EMAIL PROTECTED] Subject: Hi Ho - Problem with ServletOutputStream in Tomcat I ve created an Servlet that routes Requests and Responses to and from another Server. When i try to get a Image through this Servlet i get an Error 500. I coded the app as described in the j2ee docu for sending binary data. maybee a little code snipplet and the error trace helps to understand http://127.0.0.1:8080/maria/portal/zmr/javalogo52x88.gif this is the url -- http://127.0.0.1:8080 - is my Tomcat instance /maria/portal - is my proxy servlet /zmr/javalogo52x88.gif is the image i want to display in my browser - but /zmr is another webapplication on another tomcat server heres the code for the binary data receiving and sending to the client // Setting the Headers for the Client same as the Servlet received them from the other server while ((strHeaderKey = HttpUrlCon.getHeaderFieldKey(iCounter)) != null) { strHeaderValue = HttpUrlCon.getHeaderField(iCounter); LogIt("ResponseHeader - Value: " + strHeaderKey + " - " + strHeaderValue); response.setHeader(strHeaderKey,strHeaderValue); iCounter +=1; } // figuring out which type of data the servlet is getting if (HttpUrlCon.getContentType().equals("text/html")) { // Text or HTML - thats where i use the PrintWriter PrintWriter out = response.getWriter(); int iByte; while ((iByte = brInput.read()) != -1) { out.print((char) iByte); } } else { try { // Everything else assuming its binary data so i use ServletOutputStream ServletOutputStream out = ((ServletResponse)response).getOutputStream(); int iByte; while ((iByte = brInput.read()) != -1) { out.print((char) iByte); } } catch (IOException e) { this.log("IOException !!",e); } } heres the error trace i get when i try to process it - 2001-02-14 01:26:43 - path="/maria" :proxy: ResponseHeader - Value: Content-Type - image/gif 2001-02-14 01:26:43 - path="/maria" :proxy: ResponseHeader - Value: Content-Length - 1495 2001-02-14 01:26:43 - path="/maria" :proxy: ResponseHeader - Value: Last-Modified - Tue, 13 Feb 2001 10:07:22 GMT 2001-02-14 01:26:43 - path="/maria" :proxy: ResponseHeader - Value: Servlet-Engine - Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows 2000 5.0 x86; java.vendor=Sun Microsystems Inc.) 2001-02-14 01:26:43 - path="/maria" :proxy: IOException !! - java.io.IOException: Not an ISO 8859_1 character:^ at org.apache.tomcat.core.BufferedServletOutputStream.print(BufferedServletOutp utStream.java:221) at javax.servlet.ServletOutputStream.print(ServletOutputStream.java:177) at at.gv.bmi.maria.proxy.ReturnData(proxy.java:201) at at.gv.bmi.maria.proxy.doGet(proxy.java:63) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404) at org.apache.tomcat.core.Handler.service(Handler.java:286) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79 7) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC onnectionHandler.java:210) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498) at java.lang.Thread.run(Thread.java:484) please help me, its important and i dont know how to solve this problem - in my opinion its a problem in the org.apache.tomcat.core.BufferedServletOutputStream Class ?? why does it need a ISO 8859_1 Charset for Binary Data ??? greetings Wolfgang Kremser - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To
RE: Hi Ho - Problem with ServletOutputStream in Tomcat
This is true, I wrote a multipart/form-data parser and the only character set which preserved binary data was ISO-8859-1. Conversions between bytes and characters only work with this encType, your input and output should both use this if you use characters to store binary data. Output streams are supposed to output bytes, the print in the ServletOutputStream method converts a char to a byte array, you'd be better off using the write(byte[] b) method of the base OutputStream class. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 14, 2001 12:45 PM To: [EMAIL PROTECTED] Subject: Hi Ho - Problem with ServletOutputStream in Tomcat I ve created an Servlet that routes Requests and Responses to and from another Server. When i try to get a Image through this Servlet i get an Error 500. I coded the app as described in the j2ee docu for sending binary data. maybee a little code snipplet and the error trace helps to understand http://127.0.0.1:8080/maria/portal/zmr/javalogo52x88.gif this is the url -- http://127.0.0.1:8080 - is my Tomcat instance /maria/portal - is my proxy servlet /zmr/javalogo52x88.gif is the image i want to display in my browser - but /zmr is another webapplication on another tomcat server heres the code for the binary data receiving and sending to the client // Setting the Headers for the Client same as the Servlet received them from the other server while ((strHeaderKey = HttpUrlCon.getHeaderFieldKey(iCounter)) != null) { strHeaderValue = HttpUrlCon.getHeaderField(iCounter); LogIt("ResponseHeader - Value: " + strHeaderKey + " - " + strHeaderValue); response.setHeader(strHeaderKey,strHeaderValue); iCounter +=1; } // figuring out which type of data the servlet is getting if (HttpUrlCon.getContentType().equals("text/html")) { // Text or HTML - thats where i use the PrintWriter PrintWriter out = response.getWriter(); int iByte; while ((iByte = brInput.read()) != -1) { out.print((char) iByte); } } else { try { // Everything else assuming its binary data so i use ServletOutputStream ServletOutputStream out = ((ServletResponse)response).getOutputStream(); int iByte; while ((iByte = brInput.read()) != -1) { out.print((char) iByte); } } catch (IOException e) { this.log("IOException !!",e); } } heres the error trace i get when i try to process it - 2001-02-14 01:26:43 - path="/maria" :proxy: ResponseHeader - Value: Content-Type - image/gif 2001-02-14 01:26:43 - path="/maria" :proxy: ResponseHeader - Value: Content-Length - 1495 2001-02-14 01:26:43 - path="/maria" :proxy: ResponseHeader - Value: Last-Modified - Tue, 13 Feb 2001 10:07:22 GMT 2001-02-14 01:26:43 - path="/maria" :proxy: ResponseHeader - Value: Servlet-Engine - Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows 2000 5.0 x86; java.vendor=Sun Microsystems Inc.) 2001-02-14 01:26:43 - path="/maria" :proxy: IOException !! - java.io.IOException: Not an ISO 8859_1 character:^ at org.apache.tomcat.core.BufferedServletOutputStream.print(BufferedServletOutp utStream.java:221) at javax.servlet.ServletOutputStream.print(ServletOutputStream.java:177) at at.gv.bmi.maria.proxy.ReturnData(proxy.java:201) at at.gv.bmi.maria.proxy.doGet(proxy.java:63) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404) at org.apache.tomcat.core.Handler.service(Handler.java:286) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79 7) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC onnectionHandler.java:210) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498) at java.lang.Thread.run(Thread.java:484) please help me, its important and i dont know how to solve this problem - in my opinion its a problem in the org.apache.tomcat.core.BufferedServletOutputStream Class ?? why does it need a ISO 8859_1 Charset for Binary Data ??? greetings Wolfgang Kremser - To
RE: Hi Ho - Problem with ServletOutputStream in Tomcat
What kind of translation is happening? Are you getting a few extra bytes here and there, are all (or some) shifting by a few bits? Just guess - I don't see where you get your inpustream, make sure that you aren't using a stream that expects to work with characters and is doning some form of character translation. (Any class that has a readLine or readString method is suspect to fiddling with the bytes). Randy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 14, 2001 8:39 AM To: [EMAIL PROTECTED] Subject: AW: Hi Ho - Problem with ServletOutputStream in Tomcat thx for your info i used write but my next problem is that the binary content gets somehow translated and isnt the same as before - for example gif images arent displayed correctly --- pdf are displayed wrong -- and so on ... well i dont have a clue why. greetings Wolfgang -Ursprngliche Nachricht- Von: Samson, Lyndon [IT] [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 14. Februar 2001 14:32 An: '[EMAIL PROTECTED]' Betreff: RE: Hi Ho - Problem with ServletOutputStream in Tomcat This is true, I wrote a multipart/form-data parser and the only character set which preserved binary data was ISO-8859-1. Conversions between bytes and characters only work with this encType, your input and output should both use this if you use characters to store binary data. Output streams are supposed to output bytes, the print in the ServletOutputStream method converts a char to a byte array, you'd be better off using the write(byte[] b) method of the base OutputStream class. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 14, 2001 12:45 PM To: [EMAIL PROTECTED] Subject: Hi Ho - Problem with ServletOutputStream in Tomcat I ve created an Servlet that routes Requests and Responses to and from another Server. When i try to get a Image through this Servlet i get an Error 500. I coded the app as described in the j2ee docu for sending binary data. maybee a little code snipplet and the error trace helps to understand http://127.0.0.1:8080/maria/portal/zmr/javalogo52x88.gif this is the url -- http://127.0.0.1:8080 - is my Tomcat instance /maria/portal - is my proxy servlet /zmr/javalogo52x88.gif is the image i want to display in my browser - but /zmr is another webapplication on another tomcat server heres the code for the binary data receiving and sending to the client // Setting the Headers for the Client same as the Servlet received them from the other server while ((strHeaderKey = HttpUrlCon.getHeaderFieldKey(iCounter)) != null) { strHeaderValue = HttpUrlCon.getHeaderField(iCounter); LogIt("ResponseHeader - Value: " + strHeaderKey + " - " + strHeaderValue); response.setHeader(strHeaderKey,strHeaderValue); iCounter +=1; } // figuring out which type of data the servlet is getting if (HttpUrlCon.getContentType().equals("text/html")) { // Text or HTML - thats where i use the PrintWriter PrintWriter out = response.getWriter(); int iByte; while ((iByte = brInput.read()) != -1) { out.print((char) iByte); } } else { try { // Everything else assuming its binary data so i use ServletOutputStream ServletOutputStream out = ((ServletResponse)response).getOutputStream(); int iByte; while ((iByte = brInput.read()) != -1) { out.print((char) iByte); } } catch (IOException e) { this.log("IOException !!",e); } } heres the error trace i get when i try to process it - 2001-02-14 01:26:43 - path="/maria" :proxy: ResponseHeader - Value: Content-Type - image/gif 2001-02-14 01:26:43 - path="/maria" :proxy: ResponseHeader - Value: Content-Length - 1495 2001-02-14 01:26:43 - path="/maria" :proxy: ResponseHeader - Value: Last-Modified - Tue, 13 Feb 2001 10:07:22 GMT 2001-02-14 01:26:43 - path="/maria" :proxy: ResponseHeader - Value: Servlet-Engine - Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows 2000 5.0 x86; java.vendor=Sun Microsystems Inc.) 2001-02-14 01:26:43 - path="/maria" :proxy: IOException !! - java.io.IOException: Not an ISO 8859_1 character:^ at org.apache.tomcat.core.BufferedServletOutputStream.print(BufferedServletOutp utStream.java:221) at javax.servlet.ServletOutputStream.print(ServletOutputStream.java:177) at at.gv.bmi.maria.proxy.ReturnData(proxy.java:201) at at.gv.bmi.maria.proxy.d
RE: Hi Ho - Problem with ServletOutputStream in Tomcat
You will probably find it's bytes 127dec that are getting mucked up. In the char/byte conversion the sign bit seems to do some funny stuff when converted. As a quick test create a binary file with low value ( 127 ) bytes and see if it transfers ok. You will need to make sure your reader is using ISO-8859-1 to fix the problem, or even better dont use character readers at all. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 14, 2001 1:39 PM To: [EMAIL PROTECTED] Subject: AW: Hi Ho - Problem with ServletOutputStream in Tomcat thx for your info i used write but my next problem is that the binary content gets somehow translated and isnt the same as before - for example gif images arent displayed correctly --- pdf are displayed wrong -- and so on ... well i dont have a clue why. greetings Wolfgang -Ursprüngliche Nachricht- Von: Samson, Lyndon [IT] [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 14. Februar 2001 14:32 An: '[EMAIL PROTECTED]' Betreff: RE: Hi Ho - Problem with ServletOutputStream in Tomcat This is true, I wrote a multipart/form-data parser and the only character set which preserved binary data was ISO-8859-1. Conversions between bytes and characters only work with this encType, your input and output should both use this if you use characters to store binary data. Output streams are supposed to output bytes, the print in the ServletOutputStream method converts a char to a byte array, you'd be better off using the write(byte[] b) method of the base OutputStream class. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 14, 2001 12:45 PM To: [EMAIL PROTECTED] Subject: Hi Ho - Problem with ServletOutputStream in Tomcat I ve created an Servlet that routes Requests and Responses to and from another Server. When i try to get a Image through this Servlet i get an Error 500. I coded the app as described in the j2ee docu for sending binary data. maybee a little code snipplet and the error trace helps to understand http://127.0.0.1:8080/maria/portal/zmr/javalogo52x88.gif this is the url -- http://127.0.0.1:8080 - is my Tomcat instance /maria/portal - is my proxy servlet /zmr/javalogo52x88.gif is the image i want to display in my browser - but /zmr is another webapplication on another tomcat server heres the code for the binary data receiving and sending to the client // Setting the Headers for the Client same as the Servlet received them from the other server while ((strHeaderKey = HttpUrlCon.getHeaderFieldKey(iCounter)) != null) { strHeaderValue = HttpUrlCon.getHeaderField(iCounter); LogIt("ResponseHeader - Value: " + strHeaderKey + " - " + strHeaderValue); response.setHeader(strHeaderKey,strHeaderValue); iCounter +=1; } // figuring out which type of data the servlet is getting if (HttpUrlCon.getContentType().equals("text/html")) { // Text or HTML - thats where i use the PrintWriter PrintWriter out = response.getWriter(); int iByte; while ((iByte = brInput.read()) != -1) { out.print((char) iByte); } } else { try { // Everything else assuming its binary data so i use ServletOutputStream ServletOutputStream out = ((ServletResponse)response).getOutputStream(); int iByte; while ((iByte = brInput.read()) != -1) { out.print((char) iByte); } } catch (IOException e) { this.log("IOException !!",e); } } heres the error trace i get when i try to process it - 2001-02-14 01:26:43 - path="/maria" :proxy: ResponseHeader - Value: Content-Type - image/gif 2001-02-14 01:26:43 - path="/maria" :proxy: ResponseHeader - Value: Content-Length - 1495 2001-02-14 01:26:43 - path="/maria" :proxy: ResponseHeader - Value: Last-Modified - Tue, 13 Feb 2001 10:07:22 GMT 2001-02-14 01:26:43 - path="/maria" :proxy: ResponseHeader - Value: Servlet-Engine - Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows 2000 5.0 x86; java.vendor=Sun Microsystems Inc.) 2001-02-14 01:26:43 - path="/maria" :proxy: IOException !! - java.io.IOException: Not an ISO 8859_1 character:^ at org.apache.tomcat.core.BufferedServletOutputStream.print(BufferedServletOutp utStream.java:221) at javax.servlet.ServletOutputStream.print(ServletOutputStream.java:177) at at.gv.bmi.maria.proxy.ReturnData(proxy.java:201) at at.gv.bmi.maria.proxy.doGet(proxy.java:63) at javax.servlet.http.HttpServlet.service(Ht
Re: Hi, Using Tomcat for the first time:
Yes, there are max_threads, min_spare_threads and max_spare_threads. See: http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/uguide/tomcat_ug.html under 'Configuring thread pools' Example: Connector className="org.apache.tomcat.service.PoolTcpConnector" Parameter name="handler" value="org.apache.tomcat.service.http.HttpConnectionHandler"/ Parameter name="port" value="80"/ Parameter name="max_threads" value="5" / Parameter name="min_spare_threads" value="2" / /Connector Andrew Stewart wrote: and I have to say I am impressed so far I've tried three other Java VM's and have had very dissapointing experiences with them (Caucho's Resin, NA's ServletExec, and Allaire's JRun). Anyway, one of the few questions I'd like to ask is if there's anyway to control the number of threads (or workers) that come up when Tomcat is run. I tried looking for a setting something like MinServers / MaxServers akin to Apache but no dice, any help would be appreciated. Thanks in advance. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] -- Geoff Lane [EMAIL PROTECTED] (650) 969-5000 x104 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Hi, Using Tomcat for the first time:
You can alter the server.xml portion under !connectors- to look like something like this !-- Normal HTTP -- Connector className="org.apache.tomcat.service.PoolTcpConnector" Parameter name="handler" value="org.apache.tomcat.service.http.HttpConnectionHandler"/ Parameter name="port" value="8585"/ Parameter name="max_threads" value="75"/ Parameter name="max_spare_threads" value="25"/ Parameter name="min_spare_threads" value="10" / /Connector this might help cheers vijay -Original Message- From: Andrew Stewart [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 13, 2001 4:42 PM To: '[EMAIL PROTECTED]' Subject: Hi, Using Tomcat for the first time: and I have to say I am impressed so far I've tried three other Java VM's and have had very dissapointing experiences with them (Caucho's Resin, NA's ServletExec, and Allaire's JRun). Anyway, one of the few questions I'd like to ask is if there's anyway to control the number of threads (or workers) that come up when Tomcat is run. I tried looking for a setting something like MinServers / MaxServers akin to Apache but no dice, any help would be appreciated. Thanks in advance. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Hi
Sudhir wrote: Why request.getPathInfo() is giving null . Is there any settings to be done to get the pathInfo Well, it's probably returning null because the URI for the request doesn't include any path info. See the servlet spec, pages 28 29 (section 5.4, "Request Path Elements"). dwh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Hi
You should put it in tomcat's lib (not your webapp's) if you want it universally available to all webapps (one with tomcat). You probably cant make tomcat load it but you could make all your servlets by perhaps inheriting from HttpServlet and adding an static reference. Meaning public class MyNewServletWhichLoadsThisOnlyOnce extends HttpServlet { static ImportantLibrary myImportantLibrary = new ImportantLibrary(); ... } all your servlets should extend from MyNewServletWhichLoadsThisOnlyOnce replace ImportantLibrary with the name of your class. This would cause it to be loaded on construction of the first construction of your first servlet that extends MyNew... and all instances of everything that extended MyNew... would use the same instance (hence static). You could make tomcat load your servlet on startup. Now this would make the same instance universally available from all instances of classes that inherit from MyNew... Not JSPs etc. For that consider maybe an accessor class made into a servlet. Or perhaps making an EJB (www.jboss.org) out of it. -Andy I have a problem of persistance .. I have a package that is not a servlet nor a Server side component .I want it instantiated along with the start up of tomcat and there after there should be only one instance of these objects in one instance of Tomcat !!Can someone help me to establish this please ?Thanks iin advance ,Eswar Subramanyam Canal+ Techno ___ Do not judge, and you will never be mistaken. - Jean-Jacques Rousseau (1712-1778)
Re: Hi
I suggest you to use GetServletContext instead of static class in your servlets to have benefit of load-balancing. public void init() throws ServletException { ImportantLibrary lib = (ImportantLibrary) getServletContext().getAttribute( "important_library_key" ); if ( lib == null ) { lib = new ImportantLibrary() getServletContext().setAttribute( "important_library_key", lib ); } } Lib is created and put in context only the first time. Andy wrote: [EMAIL PROTECTED]"> You should put it in tomcat's lib (not your webapp's) if you want it universally available to all webapps (one with tomcat). You probably cant make tomcat load it but you could make all your servlets by perhaps inheriting from HttpServlet and adding an static reference. Meaning public class MyNewServletWhichLoadsThisOnlyOnce extends HttpServlet { static ImportantLibrary myImportantLibrary = new ImportantLibrary(); ... } all your servlets should extend from MyNewServletWhichLoadsThisOnlyOnce replace ImportantLibrary with the name of your class. This would cause it to be loaded on construction of the first construction of your first servlet that extends MyNew... and all instances of everything that extended MyNew... would use the same instance (hence static). You could make tomcat load your servlet on startup. Now this would make the same instance universally available from all instances of classes that inherit from MyNew... Not JSPs etc. For that consider maybe an accessor class made into a servlet. Or perhaps making an EJB (www.jboss.org) out of it. -Andy I have a problem of persistance .. I have a package that is not a servlet nor a Server side component .I want it instantiated along with the start up of tomcat and there after there should be only one instance of these objects in one instance of Tomcat !!Can someone help me to establish this please ?Thanks iin advance ,Eswar SubramanyamCanal+ Techno___Do not judge, and you will never be mistaken.- Jean-Jacques Rousseau (1712-1778) Olivier Tourdes E-mail: [EMAIL PROTECTED] Site: http://www.i-tipi.fr
Re: Hi folks!
First day in this mailing list and first question: Does anyone know something about the Basic Authentication mechanism with Tomcat? It was supposed to be fixed in this release. Did anyone try it? Is it working? Thanks, Vittorio It's working for me, *but* you need to following in web.xml: login-config auth-methodBASIC/auth-method realm-nameYour realm/realm-name /login-config Jon