Re: J2EE on Mac
Tomcat is not J2EE, and Glassfish is not J2EE. J2EE is a set of specs. Tomcat contains implementations of some of them. Glassfish happens to bundle implementation of all of them. Tomcat provides a piece of the EE stack, installing the Glassfish application server bundle will you get one implementation of the entire stack. The statement installing JEE usually causes problems implies JEE is something apart from Tomcat that doesn't play well with it. That's wrong. You can install other J2EE pieces along side Tomcat just fine and they don't have to be from Glassfish. For example you can install JMS from ActiveMQ and get your JMS piece of the EE stack from them. What you are really trying to say is that installing other Servlet implementations along side Tomcat's can cause problems. Even that statement is incorrect. I run Tomcat along side a full Glassfish install just fine, you just have to point to the libraries you want to use (Tomcat's or Glassfish's servlet API for example) on a per project basis depending on where your project is going to be deployed. The question for the OP is how much of the J2EE stack do you want/need? On Mon, Feb 23, 2009 at 9:12 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Mighty Tornado [mailto:mighty.torn...@gmail.com] Subject: Fwd: J2EE on Mac Can somebody please tell me where I can download the latest J2EE for Mac? You do not need or want J2EE in order to compile servlets (and JSPs); the regular JDK is enough. Since you state Tomcat is already running, you must have at least a JRE installed already, and most likely a full JDK. If you can run javac, you're ready - nothing more is needed. Installing the JEE usually causes problems, due to conflicts with libraries already supplied by Tomcat. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: J2EE on Mac
A system wide CLASSPATH is a bad idea to begin with. Keep you classpath scoped to you application/application server and you will never have this issue. On Mon, Feb 23, 2009 at 9:52 AM, Martin Gainty mgai...@hotmail.com wrote: as chuck mentioned you have 2 different environments that deploy web archives If you absolutely positively need GF (which I do) then keep it on a separate drive and do NOT place common servlet*.jar on system classpath you want to avoid GF and TC contending for the same resource(servlet-api.jar.. (a tug of war where neither side will win) Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. Date: Mon, 23 Feb 2009 02:05:59 -0500 Subject: Fwd: J2EE on Mac From: mighty.torn...@gmail.com To: users@tomcat.apache.org Hi, I installed Tomcat on my mac OS X and it's running. I also have Eclipse Europa. Now I don't think I have J2EE installed - How do I do it? I went to Sun's website and it gave me an archive with GlassFish which I don't need. Can somebody please tell me where I can download the latest J2EE for Mac? What I need to do to compile servlets with it in Eclipse? Thank you. _ It's the same Hotmail(R). If by same you mean up to 70% faster. http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_AE_Same_022009
Re: Tomcat 5.5.26 SSL Issue - Windows 2003
It's also going to work a lot slower. APR is the way to go on Windows if you need SSL and care about performance. On Wed, Apr 16, 2008 at 2:12 PM, Sean Bababeigi [EMAIL PROTECTED] wrote: Thank you so much Charles. I renamed the file tcnative-1.dll and it works fine. Thanks again. Sean Technical Support Specialist Caldarale, Charles R wrote: From: Sean Bababeigi [mailto:[EMAIL PROTECTED] Subject: Tomcat 5.5.26 SSL Issue - Windows 2003 We are trying to enable the SSL on a stand-alone tomcat installation on Win2003. Do you have APR installed with Tomcat on your Windows box? If so, the SSL configuration is very different: http://tomcat.apache.org/tomcat-5.5-doc/apr.html#HTTPS If you want to use the JCE version of SSL, delete tcnative-1.dll from Tomcat's bin directory. - Chuck
Re: Using DefaultServlet for directory outside of webapps
You could write a simple servlet to serve up these images from any accessible file system. The URL for it would look something like this: http://yourtomcatserver/yourwebappcontext/getImage?name=Foo.gif The the servlet would know what directory to look for images in and handle streaming them out to the client. That would be a very flexible way of solving the problem. On Thu, Apr 17, 2008 at 11:48 AM, Zengfa Gao [EMAIL PROTECTED] wrote: Hi, For our application, we want to list/show a list of gif files. Currently we are using DefaultServlet with listings=true (web.xml). As the result, we can list the names of the file, and open the gif file under the our.war directory. For security reason, we are trying to list/show gif under other directory, not the directory of our.war. Is any setting for us to redirectory DefaultServlet to look at other defined directory? For example, if we put files under /var/opt/ourshare directory, how can we do it? Thanks a lot! Jeff Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Vista Win x64 and Tomcat 5.5.25 Support
Hi, I'm looking for precompiled Tomcat.exe, Tomcat5w.exe and tcnative-1.dllbinaries for x64 (Windows Vista Enterprise). Also, looking for OpenSSL support for this platform and tcnative. Can someone point me in the right direction (sure would be nice for this to be a standard dist. option on the Tomcat d/l page for each release). TIA NBW
Problem configuring JDBC DataSource Tomcat 5.5.23 / MySQL 5.0
(BasicDataSource.java:773) ... 36 more What is interesting is when I look at Catalina's MBeans using JConsole I can see the following DataSource /myApp - localhost - javax.sql.DataSource jdbc/MyDB but most of its attributes are empty (eg. username, url, password) and the ones which do have values such as maxIdle have defauls (eg. maxIdle is set to 8) whereas my context Resource sets it to 30. I've been over and over the config. and don't see where I am doing anything different then the documentation suggests. Does anyone have any advice? TIA. -NBW - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem configuring JDBC DataSource Tomcat 5.5.23 / MySQL 5.0
For the record I discovered the problem. Somehow there was a context.xml file located in %TOMCAT_HOME%\conf\Catalina\localhost for my web apps context which contained an empty context node. Once I deleted that one and redeployed the correct context.xml was put in there. Not sure why the one from my webapps META-INF directory wasn't replacing that one to begin with like it did after I deleted it. On Nov 8, 2007 2:07 PM, NBW [EMAIL PROTECTED] wrote: Hi Gabe, I'd seen those instructions and that was one of the first things I tried but I'm still getting the same exception. I've tried placing mysql-connector-java-5.1.5-bin.jar in %TOMCAT_HOME%/common/lib. I've also tried with it just in my web app's lib directory and I've tried with it in both locations. Based on what I am seeing in Catalina's MBean attributes for the DataSource (see my original post) I feel like this has something to do with the Resource configuration but since it agrees with the documentation I'm at a bit of a loss. On Nov 8, 2007 1:18 PM, Gabe Wong [EMAIL PROTECTED] wrote: Refer to the following topic in the same URL you provided above: 1. Install Your JDBC Driver Use of the /JDBC Data Sources/ JNDI Resource Factory requires that you make an appropriate JDBC driver available to both Tomcat internal classes and to your web application. This is most easily accomplished by installing the driver's JAR file(s) into the |$CATALINA_HOME/common/lib| directory, which makes the driver available both to the resource factory and to your application. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem configuring JDBC DataSource Tomcat 5.5.23 / MySQL 5.0
Hi Gabe, I'd seen those instructions and that was one of the first things I tried but I'm still getting the same exception. I've tried placing mysql-connector-java-5.1.5-bin.jar in %TOMCAT_HOME%/common/lib. I've also tried with it just in my web app's lib directory and I've tried with it in both locations. Based on what I am seeing in Catalina's MBean attributes for the DataSource (see my original post) I feel like this has something to do with the Resource configuration but since it agrees with the documentation I'm at a bit of a loss. On Nov 8, 2007 1:18 PM, Gabe Wong [EMAIL PROTECTED] wrote: Refer to the following topic in the same URL you provided above: 1. Install Your JDBC Driver Use of the /JDBC Data Sources/ JNDI Resource Factory requires that you make an appropriate JDBC driver available to both Tomcat internal classes and to your web application. This is most easily accomplished by installing the driver's JAR file(s) into the |$CATALINA_HOME/common/lib| directory, which makes the driver available both to the resource factory and to your application. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat thread dump: unable to open the event mutex
Not sure if this pertains to your environment but I have experience this when I try to get a thread dump (of a 5.5.23 on Win2003 Server) and I am logged into the server over an RDP (Remote Desktop) connection. I find it works when I am at the console. -Noah On 5/25/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, I have installed the latest Tomcat (6.0.13) right out of the box (using the Windows Installer) on a Windows 2003 server. I deploy a web app and everything works perfectly fine. I have done essentially no configuration other than deploying the web app. However, when I right click on the Tomcat service system tray icon and select menu Thread Dump I get a windows message box saying: The system can not find the file specified. Unable to open the Event Mutex. My question is: what configuration needs to be done to get the Thread Dump feature working in a Tomcat installed with Windows Installer? Best regards, Henrik Nyberg H M Hennes Mauritz AB, Publikt Bolag (Publ), Org.nr: 556042-7220, Registered Office Stockholm, Sweden The information contained in this e-mail message may be privileged, confidential, and protected from disclosure. Any unauthorized use, printing, copying, disclosure or dissemination of this communication may be subject to legal restriction or sanction. If you think that you have received this e-mail message in error, please reply to the sender and delete this message from your computer.