Re: tomcat 5.0.25 and windows 2003
I'm running Tomcat 5.0.25 on 2003 with Apache and JK2 and it works fine --JM zhicheng wang wrote: dear all does any one know if tomcat 5.0.25 runs on windows server 2003 smoothly? also if IIS also running (on different port), will they live in the same server well? thanks cheng = Best wishes Z C Wang ___ALL-NEW Yahoo! Messenger - so many all-new ways to express yourself http://uk.messenger.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: virtual drive
Paul wrote: what is a virtual drive, and how do you configure/create one of those? -paul. Only one I know is from Microsoft and allows you to mount ISO's. Not sure if it is available for download now. --JM - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ¿how to use tomcat.sh for starting Tomcat automatically at boot time?
Ing. Enrique de la Barrera Perez wrote: Hello Tomcat users. I have tried different ways to configure my linux to startup tomcat at boot time automatically without results. In the Tomcat setup documentation thats ships with the installation i can see this: ("The file $CATALINA_HOME/bin/jsvc/native/tomcat.sh can be used as a template for starting Tomcat automatically at boot time from /etc/init.d") I am using redhat 9, tomcat 5, jdk 1.4.2. and my tomcat runns very well, just that i need to start/stop mannually ¿anybody there have been in a similar situation than mine? ¿could somebody help me on what should a do to achieve this? Regards ebarrera I'm not using RH Linux now but off the top of my head I seem to remember there is a tool that allows you to register services and control startup/shutdown options. If you're familiar with Windows OS it looks pretty much like the Services manager. Sorry if it's not much of a help but at least gives you a hint. --JM - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Your document
Anybody else getting these messages or just me? It looks like an infected attachment but I ain't gonna open it... [EMAIL PROTECTED] wrote: Please have a look at the attached file. - 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]
JK/JK2 List
Hi folks, Does anyone know is there is a distribution list for the JK/JK2 project similar to this one? If not are there any plans or people in this list wanting to start one or aplly for setting up one so that we can start getting some real input, guidelines and orientation from the people behind the whole thinh rather than fragments and pieces of information scattered across the net that makes it hard to understand and put together... I've got Tomcat talking to Apache no problems with JK and there is quite a lot of info on this topic. When it comes to JK2 however I find it just a bit too hard and have to confess I've let it sleep for a while. Just a thought, -JM smime.p7s Description: S/MIME Cryptographic Signature
Tomcat and PHP
Hi folks, I was wondering if anyone has any experience with Tomcat serving PHP... I've looked in a lot of places so far but all I can get is pieces of information that I can't put together. Sure someone somewhere must have a 'How-To' that explains how to do this but I just can't find it... TIA, --Jo smime.p7s Description: S/MIME Cryptographic Signature
Re: Hey man, long not see you
Do we have an anti-virus software running on this list server? This message was infected... --JM [EMAIL PROTECTED] wrote: - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] smime.p7s Description: S/MIME Cryptographic Signature
RE: make rule for tomcat
Cody, Make sure you have a folder named 'Tomcat User List' otherwise it will not work. I'm assuming Yoav is referring to Microsoft Outlook and you're also using this e-mail client. -JM -Original Message- From: cody wang [mailto:[EMAIL PROTECTED] Sent: 02 October 2003 16:21 To: 'Tomcat Users List' Subject: RE: make rule for tomcat I cannot get it work. Is your working? -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 12:08 PM To: Tomcat Users List Subject: RE: make rule for tomcat Howdy, Add a personal contact named "Tomcat User List" with [EMAIL PROTECTED] as the email address. Make a rule in Outlook that says mail sent to this contact is put in the "Tomcat User List" folder. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: cody wang [mailto:[EMAIL PROTECTED] >Sent: Wednesday, October 01, 2003 3:02 PM >To: [EMAIL PROTECTED] Apache. Org >Subject: make rule for tomcat > > >Hi, > >I probably should ask this question here but outlook but I think someone >will know this. All my tomcat email goes into my MS Outlook inbox folder >that I have a problem to make a rule to move to another folder because >all the mail from is each user and to is [EMAIL PROTECTED] >I also try subject or body for tomcat...but no luck. > > >Cody Wang > > >-- >*** Incoming / Outgoing Mail scanned for known Viruses by CLUnet *** This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- *** Incoming / Outgoing Mail scanned for known Viruses by CLUnet *** -- *** Incoming / Outgoing Mail scanned for known Viruses by CLUnet *** - 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: tomcat port on the web
Bopana, You can have your Tomcat web server running on port 8080 but not a good idea since that port is normally used for the administration server. Having said that however is also true that you can change the admin server port to whatever you want assuming you have the rights to do it and that it is free. Check your 'server.xml' file under '$TOMACAT/conf' and look for the string ''. Under it you should see another string like 'mailto:[EMAIL PROTECTED] Sent: 30 September 2003 07:06 To: [EMAIL PROTECTED] Subject: tomcat port on the web Hi all, Is it nessasary to have default 80 port if tomcat is used as standalone server on the web or is it possible to put any port (say like 8080). How to configure tomcat 4.1.24 so that it can receive the http request when DNS name is typed in the browser? Any help is welcome. Thanks in advance, Bopanna, Sr. Software Engineer, RCS Technologies, Bangalore. - 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]
Tomcat on Linux
Hi folks, I've decided to start doing some testing on Tomcat under Linux for which I have installed Redhat 8 which is now up and running, downloaded the JSDK for Linux which is also setup and downloaded the Tomcat files but before I go ahead and start installing it I was wondering if you could help me out determining a few things: - Shall I create a new user, i.e. 'Tomcat' and install the server under it or shall I just put it under ROOT? I know that if I do choose to install it under a different user other than ROOT I'll have to setup special execute permissions so the server can run on port 80 for instance... - I read somewhere that in order for Tomcat to run as a daemon one will have to use the jsvc tool. Has anyone got any experience in doing it? TIA, /JM - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Accessing GlobalNamingResources
Miguel, I assume you have defined a context under your host definition. Resources can de defined under each context to make it local to that very same application and that's what I would do if I wanted for instance to define a parameter and assign a value to so I can retrieve later on in my application. Sorry if this is not exactly what you were looking for but perhaps someone in this forum might be able to shed some light to it. This is however how I would go about doing it: Create a context under your host (you probably have done that already). Under your context create as many parameter resources as you'd like. Use the following code to retrieve the values assigned to your parameters in your application: <%@ page import = "javax.naming.*" %> String parm = ""; try { InitialContext initCtx = new InitialContext(); if(initCtx == null) throw new Exception("Boom - No Context"); Context envCtx = (Context)initCtx.lookup("java:comp/env"); //replace any_parameter with the parameter name as defined under your web.xml file. parm= (String) envCtx.lookup("any_parameter"); } catch(Exception e) { out.println(e.getMessage()); e.printStackTrace(); } It works for me so it should work for you as well unless you have some specific requirements that don't allow you to use this solution. Hope this helps. /JM -Original Message- From: Miguel Vieira [mailto:[EMAIL PROTECTED] Sent: 25 September 2003 16:19 To: [EMAIL PROTECTED] Subject: RE: Accessing GlobalNamingResources Thank you for the reply João. I've tried the code with no success, all I got was: javax.naming.NameNotFoundException: Name leaders.archive is not bound in this Context ... My server.xml file has the following GlobalNamingResources: factory org.apache.catalina.users.MemoryUserDatabaseFactory pathname conf/tomcat-users.xml Do I need to create a ResourceLink in the application context in order to read a value in the GlobalNamingResources? Thanks again, Miguel Vieira > Miguel, > > > > I'm assuming you want to access the values as defined for a given > parameter in your server.xml or in your web.xml files depending on > whether you want them defined globally or per application. > > > > Try the folling code in your jsp file and replace the parameter name > with the appropriate one. > > > > <> > >String my_var = ""; > >try > >{ > > InitialContext initCtx = new InitialContext(); > > if(initCtx == null) throw new Exception("Boom - No Context"); > > //Context envContext = (Context) initialContext.lookup > ("java:comp/env"); > > Context envCtx = > (Context)initCtx.lookup("java:comp/env"); > > my_var= (String) > envCtx.lookup("my_parameter_name"); > >} > >catch(Exception e) > >{ > > out.println(e.getMessage()); > > e.printStackTrace(); > >} > > <> > > > > /JM > > > >> -Original Message- >> From: Miguel Vieira [mailto:[EMAIL PROTECTED] >> Sent: 25 September 2003 12:35 >> To: [EMAIL PROTECTED] >> Subject: Accessing GlobalNamingResources >> >> >> >> Hi, >> >> >> >> I'm using Tomcat 4.1.19 and I'd like to know if it's possible to >> access >> >> the GlobalNamingResources, defined in server.xml, from a servlet, >> >> without creating a ResourceLink in the servlet's context? >> >> >> >> Thanks, >> >> Miguel Vieira - 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]
FW: The email you authored contained a violation (either a virus or inappropriate content)
I keep on receiving this every time I reply or post to this list. Not a major issue more of a nice to have if the member in Quebec puts in a good word to the systems admin... /JM -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 25 September 2003 13:35 To: Joao Medeiros Subject: The email you authored contained a violation (either a virus or inappropriate content) Your message was not received by the recipient. The scanned document was deleted. Violation Information: The internet domain violated the content filtering rule Blocked Domains 2. No attempt was made to repair. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Accessing GlobalNamingResources
Miguel, I'm assuming you want to access the values as defined for a given parameter in your server.xml or in your web.xml files depending on whether you want them defined globally or per application. Try the folling code in your jsp file and replace the parameter name with the appropriate one. <> String my_var = ""; try { InitialContext initCtx = new InitialContext(); if(initCtx == null) throw new Exception("Boom - No Context"); //Context envContext = (Context) initialContext.lookup ("java:comp/env"); Context envCtx = (Context)initCtx.lookup("java:comp/env"); my_var= (String) envCtx.lookup("my_parameter_name"); } catch(Exception e) { out.println(e.getMessage()); e.printStackTrace(); } <> /JM -Original Message- From: Miguel Vieira [mailto:[EMAIL PROTECTED] Sent: 25 September 2003 12:35 To: [EMAIL PROTECTED] Subject: Accessing GlobalNamingResources Hi, I'm using Tomcat 4.1.19 and I'd like to know if it's possible to access the GlobalNamingResources, defined in server.xml, from a servlet, without creating a ResourceLink in the servlet's context? Thanks, Miguel Vieira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat Admin Password
Bopana, Make sure your tomcat-users.xml contains at least the following line: and the following line as well: The field 'password' in the example above is set to 'manager' but you can change it to whatever value you want. Also, if you want to be able to use the manager servlet you will need to add another role called 'manager' and to add that role to the user 'admin' as follows: /JM -Original Message- From: N.B.Bopanna [mailto:[EMAIL PROTECTED] Sent: 25 September 2003 12:58 To: Tomcat Users List Subject: Re: Tomcat Admin Password Hi All, Thanks for ur response. My tomcat-user.xml.is as follows, I can't login as user=role1 , password=tomcat or any ther usernames,passwords in the above file Bopanna -Original Message- From: "Nikola Milutinovic" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Date: Thu, 25 Sep 2003 13:38:27 +0200 Subject: Re: Tomcat Admin Password > > Hi All, > > I can't log as administrator in to Tomcat 4.1.24 using > > > > username : admin > > password : setup > > > > is this the default password? > > There is no default password, you have to enter your own in > tomcat-users.xml > > Nix. - 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: Administrator Username and Password
Bopana, The password for the user 'admin' is not 'setup'. What I meant is when you install Tomcat the username and password are setup as a step of the install procedure. Please check the tomcat-users file as explained below. /JM -Original Message- From: Joao Medeiros [mailto:[EMAIL PROTECTED] Sent: 25 September 2003 10:54 To: 'Tomcat Users List' Subject: RE: Administrator Username and Password Bopana, Default administrator name is admin and the password is setup when you install Tomcat. Check your tomcat-users.xml file under $TOMCAT_HOME/conf and you might be able to get the password for admin. /JM -Original Message- From: N.B.Bopanna [mailto:[EMAIL PROTECTED] Sent: 25 September 2003 09:51 To: [EMAIL PROTECTED] Subject: Administrator Username and Password Hi all, Could anybody tell me the default username and password for tomcat-4.1.24 Administrator? Thanks in advance. Bopanna Sr Software Engineer, RCS Technologies, Bangalore - 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: Administrator Username and Password
Bopana, Default administrator name is admin and the password is setup when you install Tomcat. Check your tomcat-users.xml file under $TOMCAT_HOME/conf and you might be able to get the password for admin. /JM -Original Message- From: N.B.Bopanna [mailto:[EMAIL PROTECTED] Sent: 25 September 2003 09:51 To: [EMAIL PROTECTED] Subject: Administrator Username and Password Hi all, Could anybody tell me the default username and password for tomcat-4.1.24 Administrator? Thanks in advance. Bopanna Sr Software Engineer, RCS Technologies, Bangalore - 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: Running Tomcat off a CD
You can also try Microsoft Netmeeting if you're using Windows 2000 or Windows XP. It allows you to connect 2 or more computers charing the same desktop (yours). Students will be able to see what you're doing and I'm not sure because I've never tried it but I think it also allows for others to interact with your desktop as well. Anyways, just another option for you to think about :-) /JM -Original Message- From: epyonne [mailto:[EMAIL PROTECTED] Sent: 29 August 2003 21:49 To: Tomcat Users List Subject: Re: Running Tomcat off a CD MessageIf you can get access to a laptop (I thought most schools have that or am I wrong?), you can install everything on it and then do your demo thru a Proxima projector. If you cannot get a laptop, you can use a portable USB2 hard-drive. That should work. Hope this helps. - Original Message - From: DeVenuto, Rob To: [EMAIL PROTECTED] Sent: Friday, August 29, 2003 02:45 PM Subject: Running Tomcat off a CD Tomcat 4.1.24 / WINXP SP1 Has anyone successfully run Tomcat off a CD? I know this is a little out of the ordinary. We have a J2EE app which I would like to teach to students. The problem is having a quick setup environment for the students with having to install minimal software. I have adjusted the variables in the startup.bat, setclasspath.bat, and catalina.bat files to point to a CD, but am still not having any luck. Any thoughts or suggestions? Thanks in advance, Rob DeVenuto -- - 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]