Re: Sending mail with JavaMail
== Date: Fri, 07 Oct 2005 11:46:45 +0200 From: =?ISO-8859-1?Q?Andr=E9s_Reyes?= [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: Re: Sending mail with JavaMail == I have them both in /tomcat4/common/lib and included in the CLASSPATH and the servlet doesn't work (the same javax/activation/datasource exception in the line which MimeMessage is initialized). I think that another jar is required to send the mail. It is activation.jar, check for it... G. -- Giuseppe Briotti [EMAIL PROTECTED] Alme Sol, curru nitido diem qui promis et celas aliusque et idem nasceris, possis nihil urbe Roma visere maius. (Orazio) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
common\lib and shared\lib in tomcat embedded
We are using tomcat 4.1.29 embedded in jboss 3.2.3. It is possible to know how common\lib and shared\lib of stand-alone tomcat are mapped in tomcat embedded? TIA G. -- Giuseppe Briotti [EMAIL PROTECTED] Alme Sol, curru nitido diem qui promis et celas aliusque et idem nasceris, possis nihil urbe Roma visere maius. (Orazio) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Sending mail with JavaMail
== Date: Fri, 07 Oct 2005 12:04:37 +0200 From: =?ISO-8859-1?Q?Andr=E9s_Reyes?= [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: Re: Sending mail with JavaMail == activation.jar and mail.jar are placed both in /common/lib, and in /WEB-INF/lib (and also in JAVA_HOME/lib) ¿Any other place? ;) shared\lib? but all the jars must be placed in the same dir, I think... G. -- Giuseppe Briotti [EMAIL PROTECTED] Alme Sol, curru nitido diem qui promis et celas aliusque et idem nasceris, possis nihil urbe Roma visere maius. (Orazio) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
PrivilegedActionException
] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) 2005-09-28 11:21:27,795 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) 2005-09-28 11:21:27,795 ERROR [STDERR] at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684) 2005-09-28 11:21:27,795 ERROR [STDERR] at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:575) 2005-09-28 11:21:27,795 ERROR [STDERR] at org.apache.catalina.core.ApplicationDispatcher.access$100(ApplicationDispatcher.java:116) 2005-09-28 11:21:27,795 ERROR [STDERR] at org.apache.catalina.core.ApplicationDispatcher$PrivilegedInclude.run(ApplicationDispatcher.java:147) 2005-09-28 11:21:27,795 ERROR [STDERR] ... 112 more 2005-09-28 11:21:27,795 ERROR [org.apache.struts.taglib.tiles.InsertTag] ServletException in '/richieste/lstRichiesta.jsp': null org.apache.jasper.JasperException at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684) -- Giuseppe Briotti [EMAIL PROTECTED] Alme Sol, curru nitido diem qui promis et celas aliusque et idem nasceris, possis nihil urbe Roma visere maius. (Orazio) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: What to put into JAVA_HOME on Windows xp
== Date: Wed, 28 Sep 2005 12:47:07 +0200 (MEST) From: Markus Hapke [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: Re: What to put into JAVA_HOME on Windows xp == Hello All, now it works ! when runing tomcat_root\bin\startup.bat instead of tomcat_root\\bin\tomcat5w.exe //ES//Tomcat5 and then pressing START. For what the tomcat5w.exe should be used ? Markus In tomcat bin directory there are several batchs that perform all the environment settings, THEN execute tomcat.exe... The startup is the first one of the chain... G. -- Giuseppe Briotti [EMAIL PROTECTED] Alme Sol, curru nitido diem qui promis et celas aliusque et idem nasceris, possis nihil urbe Roma visere maius. (Orazio) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Capturing User Passwords
== Date: Wed, 28 Sep 2005 14:29:04 +0100 From: [EMAIL PROTECTED] [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Subject: Capturing User Passwords == I am trying to find a way of capturing a user's password so that I can have the user login to one of my web applications (which acts as a client), and pass it to a second application (which acts as the server). It sounds like you are trying to implement a Single sign on... -- Giuseppe Briotti [EMAIL PROTECTED] Alme Sol, curru nitido diem qui promis et celas aliusque et idem nasceris, possis nihil urbe Roma visere maius. (Orazio) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: web.xml, lt;url-pattern
== Date: Fri, 9 Sep 2005 01:07:37 +0200 From: =?iso-8859-1?Q?Trond_Hersl=F8v?= [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: web.xml, url-pattern == But, if I try using wildcards, eg. url-pattern/*foxer/url-pattern What if url-pattern*foxer/url-pattern instead? i.e. remmove the slash... G. -- Giuseppe Briotti [EMAIL PROTECTED] Alme Sol, curru nitido diem qui promis et celas aliusque et idem nasceris, possis nihil urbe Roma visere maius. (Orazio) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT] photo album software for web site
== Date: Wed, 13 Jul 2005 21:13:33 -0500 From: epyonne [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Subject: [OT] photo album software for web site == All, Sorry about this off topic post, but I am looking for a couple free software for the pictures on my web sites. One is to display pictures as slide show, and the other one is to display pictures as thumbnails (clickable for full size). They must be able to run on UNIX server and do not require any database. Currently, I am using some Java applets but they are taking up too much desktop's resources to open up. Any help will be very much appreciated. There is a simple program (in windows, but perhaps in Linux too) that is able to prepare some html pages with a little bit of javascript. It is called Irfanview or something like this... G. -- Giuseppe Briotti [EMAIL PROTECTED] Alme Sol, curru nitido diem qui promis et celas aliusque et idem nasceris, possis nihil urbe Roma visere maius. (Orazio) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RE: CATALINA_BASE
== Date: Wed, 13 Jul 2005 01:54:18 -0700 From: Kenneth B. Harwood [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: RE: CATALINA_BASE == it turns-out that my problem was defining CATALINA_BASE improperly for the Win2K service. i was setting CATALINE_BASE as an Enviroment variable. for example: MS-DOS CATALINA_BASE=... and then i Start'ed the Service. wrong! that is NOT how to define config params for the Tomcat (all MS-Windows?) Service. as a result, when my Tomcat Service started, it had no knowledge of my environment variable and just defaulted CATALINA_BASE to CATALINA_HOME. i fixed the problem by running the Service Management GUI (tomcat5w.exe). under startup options i added a line: -Dcatalina.base=G:/tomcatuser and that did the job. shame on me for developing under Win2K instead of FreeBSD. h... this is always true, of course :-) But I think that it is worst how you setup an environment variable in W2K :-))) Check the control panel-system and you can find a tab to setup such variable, for services too :- G. -- Giuseppe Briotti [EMAIL PROTECTED] Alme Sol, curru nitido diem qui promis et celas aliusque et idem nasceris, possis nihil urbe Roma visere maius. (Orazio) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RE: [Q] when to share jars
== Date: Tue, 14 Jun 2005 11:43:04 +0100 (BST) From: Charl Gerber [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: RE: [Q] when to share jars == yep, shared/lib. I suspect struts also needs to be in every webapp, but its gets tricky when you consider all the jars struts require, eg commons-related stuff. mmmh, no, I don't think so. We have just one struts jar in shared/lib G. -- Giuseppe Briotti [EMAIL PROTECTED] Alme Sol, curru nitido diem qui promis et celas aliusque et idem nasceris, possis nihil urbe Roma visere maius. (Orazio) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: high cpu usage during xslt processing (resending)
== Date: Thu, 9 Jun 2005 08:51:38 +0100 (BST) From: kamal r [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Subject: high cpu usage during xslt processing (resending) == (Resending as earlier mail had bounced) Bounced? If you subscribe a mailing list, all the message you post will be resend to your email address... G. -- Giuseppe Briotti [EMAIL PROTECTED] Alme Sol, curru nitido diem qui promis et celas aliusque et idem nasceris, possis nihil urbe Roma visere maius. (Orazio) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Minimal server
== Date: Tue, 24 May 2005 10:42:46 -0700 (PDT) From: Dola Woolfe [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: Re: Minimal server == Yes, I think Will captured what I'm trying to do. Let me give you a slightly more specific description because I would like to hear what you guys have to say. I basically want to write a relatively small application which has nothing to with being a web server. What it will have a significant GUI component, mostly of static nature. Now I've written a million GUIs in my life in Motif, QT, gtk, tcl/tk, Glut, Swing, and even SAS and Matlab. My experience tells me that all are a pain in the butt in one way or another. The use of these tookits is often unavoidable. But I have concluded over the years that if I can talk to my program through a browser it is worth doing so. I can enter input parameters, it can serve back data, charts or anything you want, I can talk to my program from anywhere in the world and, most importantly, I find HTML forms very easy to code and maintain. There are a number of other little advantages, such as being able to drive the program w/o a browser. The niuance that prompted my original post is that now I would like to write a program (with a browser based gui) that I will distribute to others. It would be easy to simply distribute it as a jsp webapp, but then the intended users will need to have Tomcat installed which, of course, is prohibitive. (I need to admit that having switched to TC5.5 I have been unable to figure out how to install it properly and have been running it out of the DOS shell. Shame on me!) Anyway, that's where I am. Dola Tell me if I understood properly: 1. you need a simple gui (thus browser) 2. you need to install such application on several client 3. this client must be able to respond on a http request 4. you have enough control on such clients to install a servlet server such Tomcat and a jre compatible with your Tomcat version IMHO: 1. the easiest way for interfaces developing is Visual Basic ;-) 2. when I need features as 2 and 3 I'm oriented on services and socket programming G. -- Giuseppe Briotti [EMAIL PROTECTED] Alme Sol, curru nitido diem qui promis et celas aliusque et idem nasceris, possis nihil urbe Roma visere maius. (Orazio) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Minimal server
== Date: Mon, 23 May 2005 13:15:33 -0700 (PDT) From: Dola Woolfe [EMAIL PROTECTED] To: Tom Cat tomcat-user@jakarta.apache.org Subject: Minimal server == Hi, Perhaps this is a strange question. Basically, I believe that (for many purposes) the browser provides the easiest way to create a GUI. [cut] Are you sure about this? G. -- Giuseppe Briotti [EMAIL PROTECTED] Alme Sol, curru nitido diem qui promis et celas aliusque et idem nasceris, possis nihil urbe Roma visere maius. (Orazio) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Session listener
== Date: Mon, 14 Mar 2005 17:09:35 -0600 (CST) From: Christian Rebollar [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org, [EMAIL PROTECTED] Subject: Re: Session listener == I don't know, but when I closed the browser the listener class catch sessionDestroyed event. How do you close the browser? By a link on the page itself? By closing the window? G. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Trouble w/ remote debugging w/ Tomcat 5.5 and JDK 5.0
== Date: Tue, 15 Mar 2005 08:12:07 -0500 From: Fenderbosch, Eric [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Subject: Trouble w/ remote debugging w/ Tomcat 5.5 and JDK 5.0 == Firewall of SP2 enabled? G. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: EJB
== Date: Wed, 2 Mar 2005 19:23:19 +0300 From: Bogomolov Sergey [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Subject: EJB == Dear Friends, please tell me, whether server TomCat with EJB is able to work Thank you for answer. Best regards, Sergey Bogomolov Hi, Sergey, Tomcat is a web application container (i.e. for JSP and Servlet) You need a EJB container to manage them (such as JBoss), then connect Tomcat and EJB container. With JBoss you can have Tomcat embedded too. Bye G. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT] Request an app test (free beer!)
Well, these are the results: Suse 9.1 = Linux Windows 98 = Windows 98 Windows XP SP1 = Windows XP Mandrake 10.0 = Linux Mandrake 10.1 = Linux All tests made with J2SDK 1.4.2 G. - Original Message - From: Peter Maas [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: Commons User commons-user@jakarta.apache.org; Struts User user@struts.apache.org; Tomcat User tomcat-user@jakarta.apache.org Sent: Monday, December 20, 2004 11:38 PM Subject: Re: [OT] Request an app test (free beer!) On Debian GNU/Linux: Linux --p On Mon, 2004-12-20 at 17:26 -0500, Frank W. Zammetti wrote: I was informed last OT post I made that the subject should always include the word beer. I added the free to get your attention :) I'm working on something for which I need to know what the os.name property on various OS's is. I would greatly appreciate it if some folks could try the following: public class test { public static void main(String[] args) { System.out.println(System.getProperty(os.name)); } } I'm particularly interested in various *nix variants, Linux, Mac and such. Windows I already have answers for (although some verification to be sure nothing fishy is going on wouldn't hurt). If you could just post your OS and what the result was, I would greatly appreciate it. Thanks in advance! -- Peter Maas Application Architect / Streaming Noterik Multimedia BV Prins Hendrikkade 120 1011 AM Amsterdam The Netherlands Tel: +31 (0)205929966 Fax: +31 (0)204688405 Gsm: +31 (0)624687952 Web: www.noterik.nl -- Take a look at our streaming solutions: http://www.streamedit.com/demo.html Get firefox: http://www.mozilla.org/products/firefox/ --- :wq! - 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: Currency Problem with Tomcat on Windows
What about the settings on the clients? This randomly means randomly on the same client at different time? Did you check this? G. == Date: Wed, 15 Dec 2004 14:57:34 + From: John Gardner [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Currency Problem with Tomcat on Windows == I wonder if anyone can help me. We have a number of applications that are installed at various clients, and are all running under Tomcat on Windows. One of our clients has started to exhibit a strange problem when the application displays currency. It alters between USD ($) and GBP (£) randomly, making the value displayed either in dollars or pounds at different times. Now, because Tomcat is running as a service, I have had to altered the registry entry: HKEY_USERS/.DEFAULT/Control Panel/International/sCurrency so that it is set to £ rather than $ and this seemed to work for a while, but it seems to still randomly display both $ and £ signs. Does anyone have any ideas of how to cure this changing currency symbol? Thanks John - 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]
Error getting client certs
JBoss 3.2.3 + Tomcat 4.1.29 embedded + SSL At each page called, I have this exception: 2004-11-03 16:53:12,294 DEBUG [org.apache.tomcat.util.net.jsse.JSSE14Support] Error getting client certs javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated at com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificates(DashoA6275) at org.apache.tomcat.util.net.jsse.JSSE14Support.getX509Certificates(JSSE14Support.java:151) at org.apache.tomcat.util.net.jsse.JSSESupport.getPeerCertificateChain(JSSESupport.java:166) at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:954) at org.apache.coyote.Response.action(Response.java:226) at org.apache.coyote.tomcat4.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:303) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:195) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:605) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:677) at java.lang.Thread.run(Thread.java:534) This is the https and http connector conf.: Connector className = org.apache.coyote.tomcat4.CoyoteConnector address=${jboss.bind.address} port = 8443 scheme = https secure = true Factory className = org.apache.coyote.tomcat4.CoyoteServerSocketFactory keystoreFile=${jboss.home.dir}/keys/MyKeyStore.jks keystorePass=j2eejboss clientAuth=false protocol = TLS/ /Connector Connector className=org.apache.coyote.tomcat4.CoyoteConnector address=${jboss.bind.address} port=8080 redirectPort=8443 minProcessors=5 maxProcessors=100 enableLookups=true acceptCount=10 debug=0 connectionTimeout=2 useURIValidationHack=false/ Any hints? TIA G - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
PureTLSImplementation
I have JBoss 3.2.3 + Tomcat 4.1.29 embedded + SSL Everthing seems working properly, but when I check the JBoss server log I found this exception, that occours at JBoss start up. Error loading SSL Implementation org.apache.tomcat.util.net.puretls.PureTLSImplementation java.lang.ClassNotFoundException: No ClassLoaders found for: org.apache.tomcat.util.net.puretls.PureTLSImplementation Any ideas? Can this exception ignored? TIA G - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: OT 32/64 bit classes
Every JVM on this planet uses the same Java ByteCode, which means that there are no 32-bit or 64-bit Java Classes, just Java Classes. This is not really true ;-) The java byte code depends on target option for javac ;-) G - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: which Linux Platform is best for Tomcat?
I use both Suse 9.1 and Mandrake 10 and all works great! :-) G - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
File retrieving
Hi all! I need to retrieve a file from inside a servlet. If I try: Url myURL = servletcontext.getResource(/WEB-INF/myFile.xml); File myFile = myURL.getFile(); If I try this, I obtain a different behaviour depending on the web container: on Tomcat 4 myURL contains \localhost\myapp\WEB-INF\myFile.xml i.e. path relative to the host running application on Jetty myURL contains c:\mywebserver\myapp... i.e. absolute path Thus, I think that there is a better method to retrieve the file, isn't it? Any ideas or suggestions? G - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RE: File retrieving
Hi, There's no requirement that the URL you get back from the getResource call be identical across implementations. Such a requirement would be impossible to implement in a portable manner anyways. What IS required, and what you can rely on, is that the URL is resolvable to a resource within the JVM. Yoav Shapira Millennium Research Informatics Thank you Yoav. Thus, cannot you suggest a better way to access file? Maybe by JNDI? As you cand understand, I don't have a good knowledge of JSP Servlet specs. TIA G - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: File retrieving
Thanks to Tim, QM and, last but not least, Yoav! G - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: target release conflicts with default source?
== [javac] Compiling 63 source files to D:\Program_Files\jakarta\jakarta-tomcat -5.0.25-src\jakarta-tomcat-5\build\classes [javac] javac: target release 1.1 conflicts with default source release 1.5 BUILD FAILED I'm using Java 1.5 beta. Is that a no-no? -- Joel [EMAIL PROTECTED] Quite strange... the option target 1.1 in javac is for compiling applet source in java1 for backward compatibility (due to the changing of byte code since java 1.3, if I remember correctly). G -- Giuseppe Briotti [EMAIL PROTECTED] Alme Sol, curru nitido diem qui promis et celas aliusque et idem nasceris, possis nihil urbe Roma visere maius. (Orazio) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: startup error
But where am I suppost to point? my install is: c:\tomcat Thus for you %CATALINA_HOME% = C:\tomcat G -- Giuseppe Briotti [EMAIL PROTECTED] Alme Sol, curru nitido diem qui promis et celas aliusque et idem nasceris, possis nihil urbe Roma visere maius. (Orazio) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RE: startup error
Hi, when in your command prompt and you execute echo %CATALINA_HOME% do you actually see c:\tomcat being printed? Because I don't think that %CATALINA_HOME%=c:\tomcat is going to work. Should be something like SET CATALINA_HOME=c:\tomcat greetz Hans Of course Hans, you're right :- The problem is that the guy didn't tell us wich SO he's running :-))) Thus my post means: put C:\tomcat in CATALINA_HOME :-D G -- Giuseppe Briotti [EMAIL PROTECTED] Alme Sol, curru nitido diem qui promis et celas aliusque et idem nasceris, possis nihil urbe Roma visere maius. (Orazio) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: question
Hi I'm sorry but i don't understand. may someone explain it? I want to know the procedure of making an application running, please Angelo http://cymulacrum.net/writings/tomcat5/book1.html Hi Angelo, the chapter 4 of Pascal's book is exactly what you need... Check the howto about deploying (and running) application at http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/index.html G -- Giuseppe Briotti [EMAIL PROTECTED] Alme Sol, curru nitido diem qui promis et celas aliusque et idem nasceris, possis nihil urbe Roma visere maius. (Orazio) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Please introduce a good Tomcat debug tool
== Date: Tue, 15 Jun 2004 12:12:41 -0700 From: Daxin Zuo [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Please introduce a good Tomcat debug tool == I currently run Tomcat 4.1.9 (without apache) to run JSP and ervlet. How to debug JSP and Servelt in TOMCAT? Thanks. NetBeans. It is available with a Tomcat embedded too. G -- Giuseppe Briotti [EMAIL PROTECTED] Alme Sol, curru nitido diem qui promis et celas aliusque et idem nasceris, possis nihil urbe Roma visere maius. (Orazio) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: question
== Date: Wed, 16 Jun 2004 16:35:26 +0200 From: [EMAIL PROTECTED] [EMAIL PROTECTED] To: tomcat-user [EMAIL PROTECTED] Subject: question == Question, please. I have a web application... named matrici/web so i have a tree like this matrici/web/ -many jsp files -WEB-INF/ --web.xml --classes/ --lib/ my application is under $CATALINA_HOME/webapps/ROOT I put my extern class, CreaServizio.class in WEB-INF/classes/ is it right? do i have to create a package for that class? It returns me an error cannot resolve symbol symbol : variable CreaServizio CreaServizio is a class Angelo A little bit more information, please: 1. CreaServizio is servlet? 2. the error is a compilation one? G -- Giuseppe Briotti [EMAIL PROTECTED] Alme Sol, curru nitido diem qui promis et celas aliusque et idem nasceris, possis nihil urbe Roma visere maius. (Orazio) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 5.0.24 won't start
IP or NIC interface problem, perhaps? G I've installed Tomcat before, but this time I'm stuck: RH 9 Tomcat 5.0.24 Sun jdk 1.4.2 The server seems to start but then I get this in catalina.out StandardServer.await: create[8005]: java.net.BindException: Cannot assign requested address There is nothing else running on 8005 or 8080; I don't have another Tomcat running. (Checked netstat -an) Appreciate any thoughts. Thanks. jim -- Giuseppe Briotti [EMAIL PROTECTED] Alme Sol, curru nitido diem qui promis et celas aliusque et idem nasceris, possis nihil urbe Roma visere maius. (Orazio) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RE: Is there any way to check # of Records in RecordSet
== Date: 20 May 2004 17:45:23 +0100 From: Adam Buglass [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Is there any way to check # of Records in RecordSet == I was just surprised because I've never run into that behaviour before and I've never changed the defaults. I'm sure you're right though, I probably set some global variable somewhere and forgot about it! Mmmhhh... global variable? What is global variable? ;-))) G -- Giuseppe Briotti [EMAIL PROTECTED] Alme Sol, curru nitido diem qui promis et celas aliusque et idem nasceris, possis nihil urbe Roma visere maius. (Orazio) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: jsp-examples problem.....
Precompiled JSP? G == Date: Sat, 24 Apr 2004 13:03:07 -0700 (PDT) From: Savitha 'n' Narahari [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: jsp-examples problem. == Hello All: JDK USED : 1.4.2 TOMCAT USED : 5.0.19 OS used : WINDOWS XP. Machine rebooted, made the change to jsp file. I have one quick problem that I have no idea why it is happening. I went to the cal folder under jsp-examples. I modified the cal1.jsp page. I changed . . TABLE WIDTH=60% BGCOLOR=lightblue BORDER=1 CELLPADDING=10 TR TH Time /TH . ... to . . TABLE WIDTH=60% BGCOLOR=lightblue BORDER=1 CELLPADDING=10 TR TH Times Test /TH ... I started Tomcat, and pointed to http://localhost:8080/jsp-examples/cal/login.html and then entered data and continued. The next page I got was http://localhost:8080/jsp-examples/cal/cal1.jsp?name=test[EMAIL PROTECTED]action=Submit. However I did not get the Times Test displayed at all. I do not know why. Is there some disconnect somewhere that I am missing. Sorry if this question has been asked before. One more thing, it is not just cal1.jsp, any example under jsp-examples, if I modify does not show the modified data on the screen. Thanks -Narahari __ Do you Yahoo!? Yahoo! Photos: High-quality 4x6 digital prints for 25¢ http://photos.yahoo.com/ph/print_splash - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Giuseppe Briotti [EMAIL PROTECTED] Alme Sol, curru nitido diem qui promis et celas aliusque et idem nasceris, possis nihil urbe Roma visere maius. (Orazio) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RE: question about jsp:element and jsp:attribute
I think that the problem is due to the evaluation of the if, as stated in a previous message. Can you change the code as follows: jsp:element name=fo:table-column jsp:attribute name=column-width jsp:expressionwidths[i]/jsp:expression /jsp:attribute jsp:scriptlet if (bgColors[i] = null) { bgColors[i] = a default value } /jsp:scriptlet jsp:attribute name=background-color jsp:expressionbgColors[i]/jsp:expression /jsp:attribute /jsp:element where default value can be the background color of the page... Another way (more complicated) is to use a bean and a tag :-) Bye G -- Giuseppe Briotti [EMAIL PROTECTED] Alme Sol, curru nitido diem qui promis et celas aliusque et idem nasceris, possis nihil urbe Roma visere maius. (Orazio) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: connexion tomcat/mysql: IP vs localhost
== Date: Mon, 29 Mar 2004 11:03:11 +0200 jdbc:mysql://localhost:3306/appli jdbc:mysql://212.xxx.xxx.xxx:3306/appli quite strange... what happens if you put 127.0.0.1 (i.e. the IP address for localhost)? I think that, because you are working on a box (i.e. client and server on the same PC) this behaviour is related to your net configuration... check your hosts file. G -- Giuseppe Briotti [EMAIL PROTECTED] Alme Sol, curru nitido diem qui promis et celas aliusque et idem nasceris, possis nihil urbe Roma visere maius. (Orazio) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RE: Java IDE for Tomcat
You can also try Netbeans 3.6 RC1 I had this with Java SDK 1.4.2 (and Tomcat 4.1.?? was in the package too) and it works fine :- G -- Giuseppe Briotti [EMAIL PROTECTED] Alme Sol, curru nitido diem qui promis et celas aliusque et idem nasceris, possis nihil urbe Roma visere maius. (Orazio) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RE: OracleConnectionPoolDataSource creates too many connections
Hi, I'm a newbie, and I need to learn more about connection pool. Can you suggest a tutorial or a web site where I can find more information? TIA Giuseppe Hi, You still need to create a connection cache with that datasource, so something like : OracleConnectionPoolDataSource ocpds = new OracleConnectionPoolDataSource(); ... OracleConnectionCache oracleConnectionCache = new OracleConnectionCacheImpl(ocpds); You can then call the following to get connections from the pool : oracleConnectionCache.getConnection(); Be sure to close all your connection when you are done so they are returned to the pool. Ryan. -- Giuseppe Briotti [EMAIL PROTECTED] Alme Sol, curru nitido diem qui promis et celas aliusque et idem nasceris, possis nihil urbe Roma visere maius. (Orazio) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RE: Tomcat 3.3.1 vs Tomcat 4.1.29
== Date: Wed, 18 Feb 2004 16:00:51 +0100 From: CLEMENT Eric [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Tomcat 3.3.1 vs Tomcat 4.1.29 == Sounds rigth. Any idea where I can get the good one? Thanks Check the jakarta web site: there are several jar file with different servlet releases. Moreover, there is a corrispondence between the Tomcat and servlet releases! (i.e. you must install the correct servlet release for each Tomcat version) Bye G -- Giuseppe Briotti [EMAIL PROTECTED] Alme Sol, curru nitido diem qui promis et celas aliusque et idem nasceris, possis nihil urbe Roma visere maius. (Orazio) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Startup scripts not executable?
No, sometimes this problem occours (it is also reported in several HowTo's related to Apache and Cocoon :- G == Date: Wed, 18 Feb 2004 16:09:16 -0500 From: Roy Smith [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: Roy Smith [EMAIL PROTECTED] Subject: Startup scripts not executable? == I downloaded Tomcat-5.0.18 onto my Mac OSX-10.3.2 system. The scripts in $CATALINA_HOME/bin (startup.sh, catalina.sh, etc) all got unpacked without the execute bit set. I had to do chmod +x *.sh to get things to work. Is this a bug? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Giuseppe Briotti [EMAIL PROTECTED] Alme Sol, curru nitido diem qui promis et celas aliusque et idem nasceris, possis nihil urbe Roma visere maius. (Orazio) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RE: $JAVA_HOME error
Hi Tony, I have just installed Tomcat on my Mandrake 9.1 box. I have the Power Pack, which offers the Java RE 1.4.1 and, at the beginning, I installed it by the drake tools. First of all, I noticed that the JAVA_HOME point to /usr/lib/j2re1.4.1_01/bin (and this is uncorrect for Tomcat, because it refers to /bin subdirectory). Moreover, because I need to develope some JSP, I installed the J2 SDK 1.4.2, downloaded from the SUN site. I installed Java SDK as stated in the SUN html pages and overwrite the old JAVA_HOME with a new one pointing at my j2se1.4.2 directory. Now all works fine :-) By Giuseppe -- Giuseppe Briotti [EMAIL PROTECTED] Alme Sol, curru nitido diem qui promis et celas aliusque et idem nasceris, possis nihil urbe Roma visere maius. (Orazio) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: TOMCAT and JNI problem...
Then I made a script to start the tomcat with the LD_LIBRARY_PATH environment variable set up: - #!/bin/sh export JAVA_HOME=/opt/java export CATALINA_HOME=/usr/local/jakarta-tomcat export PATH=${JAVA_HOME}/bin:${PATH} export JAVA_PATH=${JAVA_HOME} # path to load the libhtd.so shared library export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/home/myuser/lib cd /usr/local/jakarta-tomcat/bin sh startup.sh - Did you try to startup Tomcat with the same script, without using your library, in order to check if the script works right? Sometimes I had such error when I forgot to set JAVA_HOME or CATALINA_HOME properly :-))) G -- Giuseppe Briotti [EMAIL PROTECTED] Alme Sol, curru nitido diem qui promis et celas aliusque et idem nasceris, possis nihil urbe Roma visere maius. (Orazio) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]