Problem stopping 5.0.28 Tomcat on Solaris
Hi, I am running into a situation when running shutdown.sh fails to shutdown tomcat on Solaris. The scenario is as follows: (1) I am running out of my own CATALINA_BASE directory on Solaris. (2) After starting and running for some time I edit the context xml (I'm not sure this has anything to do with the problem. Note: reloadable=false). (3) I then run shutdown.sh which results in a Socket exception (java.net.SocketException: Invalid argument). (4) I ps -ef | grep java and can see the tomcat process still running. (5) I run shutdown.sh again and this time it seems to work. I have come across this problem a couple of times since I moved onto Solaris. So it seems to be quite reproducible. The output from Catalina.out is as follows: Jul 5, 2005 1:52:05 PM org.apache.catalina.core.StandardHostDeployer remove INFO: Removing web application at context path /npdb Jul 5, 2005 1:52:05 PM org.apache.catalina.core.StandardHostDeployer install INFO: Processing Context configuration file URL file:/export/home/npsadm/npshome/var/lsmsweb/conf/Catalina/localhost/lsms.xm l AbandonedObjectPool is used ([EMAIL PROTECTED]) LogAbandoned: false RemoveAbandoned: true RemoveAbandonedTimeout: 60 Jul 5, 2005 1:52:09 PM org.apache.catalina.loader.WebappClassLoader loadClass INFO: Illegal access: this web application instance has been stopped already (the eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact) Jul 5, 2005 1:53:25 PM org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http-8099 Jul 5, 2005 1:53:25 PM org.apache.jk.common.ChannelSocket acceptConnections WARNING: Exception executing accept java.net.SocketException: Invalid argument at java.net.PlainSocketImpl.socketSetOption(Native Method) at java.net.PlainSocketImpl.setOption(PlainSocketImpl.java:240) at java.net.Socket.setSoLinger(Socket.java:814) at org.apache.jk.common.ChannelSocket.accept(ChannelSocket.java:300) at org.apache.jk.common.ChannelSocket.acceptConnections(ChannelSocket.java:638) at org.apache.jk.common.SocketAcceptor.runIt(ChannelSocket.java:847) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:683) at java.lang.Thread.run(Thread.java:534) Jul 5, 2005 1:53:26 PM org.apache.catalina.core.StandardService stop INFO: Stopping service Catalina Jul 5, 2005 1:53:26 PM org.apache.catalina.core.StandardHostDeployer remove INFO: Removing web application at context path /npdb Jul 5, 2005 1:53:26 PM org.apache.catalina.core.StandardHostDeployer remove INFO: Removing web application at context path Jul 5, 2005 1:53:26 PM org.apache.catalina.logger.LoggerBase stop INFO: unregistering logger Catalina:type=Logger,host=localhost Jul 5, 2005 1:53:26 PM org.apache.catalina.logger.LoggerBase stop INFO: unregistering logger Catalina:type=Logger Jul 5, 2005 1:53:26 PM org.apache.coyote.http11.Http11Protocol destroy INFO: Stopping Coyote HTTP/1.1 on http-8099 Any help would be much appreciated. Thanks, Stuart
Implementing my own realm
Hi everybody, I'm planning to write my own realm, because the JDBCRealm doesn't suit me very well. I would like to implement something else which only needs 3 more lines. The problem is that I don't know if I have to: - add this new realm in Tomcat sources (create my own java file) - then recompile all Tomcat - and eventually use my new catalina.jar library into my running Tomcat or if it is possible to implement it outside the library and use it either in it own jar file or directly in the webapp. Any idea? Tell me if I wasn't clear, or if you need details. Regards, Laurent - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: plugin-like structure
Thanks Laurent... I've forgotten to say that in my example org.toto.ui depends on org.toto.domain and org.toto.common, ie for performing an action, ui could/will use classes or ressources from domain or common... ideally I would like to have the same Application name (MyAppli) as root for the three subdirectories... regards Xavier Laurent FALLET a écrit : There is a way to do this in Tomcat. I'm a beginner in Tomcat's administration but I know there are some ways to do this. In tomcat conf file, server.xml, create some host / tags (there is already one by default for localhost). Then I would say that if the content of your webapp is depending of the domain name, create multiple webapps. host name=org.toto.common appBase=directoryWhereYourWebappIs1 / host name=org.toto.domain appBase=directoryWhereYourWebappIs2 / host name=org.toto.ui appBase=directoryWhereYourWebappIs3 / More info here: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/host.html Hope this helps, Laurent 2005/7/5, Xavier Méhaut [EMAIL PROTECTED]: Hello, I would like to build a Tomcat application which can be accessed through http://myWebAddress:8080/MyAppli/index.jsp but which the directory structure should be (as we used to have in eclipse) like the following one : MyAppli/ org.toto.common/ WEB-INF/ classes/ lib/ src/ org.toto.domain/ WEB-INF/ classes/ lib/ src/ org.toto.ui/ index.jsp jsp/ WEB-INF/ classes/ lib/ src/ Is there a means to do this easily in Tomcat (through web.xml files for instance) and how? Thanks in davance Xavier - 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]
apache and tomcat
hi guys .. i am confused now.. i need help undeerstanding apache and tomcat .. what purpose each serve and how to link both them ... i want to know how to link html and applets in tomcat htdoc folder to jsp codes in tomcat webapps folder .. thank you guys.. i am new apache and tomcat .. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Logging (Log4J) with Tomcat 4.1.x
No, you have to put each application log4j.xml in each WEB-INF/classes or WEB-INF/lib (in a jar) The first time you declare a Logger in your app, log4j.xml is searched in the ClassLoader; but, I don´t know why (maybe some log4j initialization static code), some log4j class is loaded by the Tomcat's Common ClassLoader, not by your WebappX classloader. Because of this, log4j.lib must be in the common dir. The log4j.xml is loaded by the WebappX, so each application may have its own log4j.xml. Each time you redeploy an application, the log4j.xml is searched again. 2005/7/4, Peter Verhoye [EMAIL PROTECTED]: log4j lib must bin in the Tomcat's common/lib There are multiple webapps deployed on the server. Will adding log4j to common/lib not activate log for all of them? BB Peter 2005/7/4, Anoop kumar V [EMAIL PROTECTED]: A log4j mailing list might give u a more effective answer Try and change the appender to be ConsoleAppender (please check the name) - see if the output displays on the tomcat console.Then u can debug from there... HTH, Anoop On 7/4/05, Peter Verhoye [EMAIL PROTECTED] wrote: Hi all, I must be getting stupid or so but the logging in my webapp doesn't work anymore. I've the log4j.properties file in WEB-INF/classes log4j.jar is in WEB-INF/lib My properties are: # # Configures Log4j as the Tomcat system logger # # # Configure the logger to output info level messages into a rolling log file. # log4j.rootLogger=DEBUG, R # # Configuration for a rolling log file (tomcat.log). # log4j.appender.R=org.apache.log4j.DailyRollingFileAppender log4j.appender.R.DatePattern='.'-MM-dd # # Edit the next line to point to your logs directory. # The last part of the name is the log file name. # log4j.appender.R.File=C:/data/apps/jakarta-tomcat-4.1.31/logs/tomcat.log log4j.appender.R.layout=org.apache.log4j.PatternLayout # # Print the date in ISO 8601 format # log4j.appender.R.layout.ConversionPattern=%d [%t] %-5p %c - %m%n I don't see the tomcat.log file anywhere :( Someone has any idea? BB Peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Thanks and best regards, Anoop - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Peter Verhoye Synergetic Solutions nv (www.synergetic-solutions.behttp://www.synergetic-solutions.be ) Crystal Palace Paalstraat 14 B-1080 Brussel Tel : +32 (0)2 219.10.12 Fax : +32 (0)2 219.40.28 GSM : +32 (0)475 60.12.61 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Web Server Authentication on Tomcat (5.5)
Title: Nachricht Hello, I want to use Tomcat together with IIS to let IIS do the Windows based authentication. I've managed to install and configure isapi_redirect-1.2.13, and everything seems to work. When I call "request.getUserPrincipal()" in my servlet, I get a principal object with the correct name. But the problem is: this principal object (a CoyotePrincipal) is generated very early in request processing, not by the installed realm. No authenticate() method of the realm is ever called, so depending on the kind of realm I use, this simply doesn't work. (The realm I'm using, guess what, is JBossSecurityMgrRealm - the result is that the JBoss LoginModules are completely ignored because Tomcat doesn't authenticate().) Which is the right way? Can anybody help? Many thanks!! Regards, Marcus. _ prosystems IT GmbH Anwendungsentwicklung Postfach 31 51 53021 Bonn (Germany) Tel: 0228 / 3366 - 3329, Fax: 0228 / 3366 - 73329 mailto:[EMAIL PROTECTED] http://www.prosystemsIT.de Amtsgericht Bonn - HR B 13189 Der Austausch von Nachrichten mit der prosystems IT GmbH via E-Mail dient ausschliesslich Informationszwecken. Rechtsgeschaeftliche Erklaerungen duerfen ueber dieses Medium nicht ausgetauscht werden. Verfaelschungen des urspruenglichen Inhaltes dieser Nachricht bei der Datenuebertragung koennen nicht ausgeschlossen werden. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Implementing my own realm
We've implemented our own realm. The step's are quite easy: 1) Implement your custom Realm, we subclassed RealmBase. 2) compile your Realm class with catalina.jar in the classpath 3) jar up your Realm class and any helper classes 4) deploy realm jar to server/lib The only thing you really need to worry about is classloader issues: try to keep any references to your webapp classes out of the Realm and just deal with standard types like Principal otherwise you could end up deploying half your webapp classes to common/lib. Not good. HTH, Jon Laurent FALLET wrote: Hi everybody, I'm planning to write my own realm, because the JDBCRealm doesn't suit me very well. I would like to implement something else which only needs 3 more lines. The problem is that I don't know if I have to: - add this new realm in Tomcat sources (create my own java file) - then recompile all Tomcat - and eventually use my new catalina.jar library into my running Tomcat or if it is possible to implement it outside the library and use it either in it own jar file or directly in the webapp. Any idea? Tell me if I wasn't clear, or if you need details. Regards, Laurent - 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: apache and tomcat
ganesan malairaja writes: hi guys .. i am confused now.. i need help undeerstanding apache and tomcat .. what purpose each serve and how to link both them ... Apache is a web server - with lots of usage and good experience with in terms of security facing the internet. You can get modules for it to run scripting languages (for instance php), but it doesn't run java applications. Tomcat is primarily an engine for running web based applications in java, but it also has the ability to serve static html. In this latter process it does not have the security background of apache - so whilst it could be used as a web server and an application server, it is normal to separate the two (the web server may run in the dmz, the application server may run behind a second firewall). In order to link the two, you need to set up the mod_jk module. i want to know how to link html and applets in tomcat htdoc folder to jsp codes in tomcat webapps folder .. It is possible (if the two servers are running on the same machine) to map the apache location around the tomcat directory via an alias statement (I think there is a mod_jk directive - something like jkautoalias that does the same thing) -- Alan Chandler [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Configuration Tomcat after upgrading Java SDK
Hi all I have upgraded my java sdk and jre to j2sdk1.4.2_08 from j2sdk1.4.1_01. How do I configure Tomcat 4.1.30 so that it runs from the j2sdk1.4.2_08 instead of the old copy? Do I have to reinstall Tomcat or is there a configuration that I can change? I have changed my JAVA_HOME environmental variable, but it doesn't seem to have an effect. Also, when I attempt to start the apache tomcat windows service, I get the following error message: The Apache Tomcat 4.1 service on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service. Thanks for the help =) Cheers, Lily - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Webapp security by IP range
Thanks. I was hoping that was not going to be the answer though. I thought about doing it this way, but wanted to avoid the overhead of managing two application directories. Maybe it's unavoidable in tomcat. Jared. -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: 04 July 2005 20:13 To: Tomcat Users List Subject: Re: Webapp security by IP range Cope, Jared wrote: I was wondering if it is possible to apply some webapp security that will kick in for connections made from a certain IP range, and will not kick in for another set of IP ranges. How about: - deploy the app twice under different contexts - use a remote address filter valve for the internal users - use normal web app security for the external users Mark - 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]
deny directory listing in tomcat
hi, iam using tomcat5.0, I have developed a web application on my server and I want to deny directory listing in tomcat so that if any one types even http://localhost:8080 it should deny the listings. I tried by changing in web.xml listings falselistings tag, but by this method I can prevent only my application. Can any one suggest the solution please. Thanks G.Vishwam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: deny directory listing in tomcat
On 7/5/05, vishwam [EMAIL PROTECTED] wrote: hi, iam using tomcat5.0, I have developed a web application on my server and I want to deny directory listing in tomcat so that if any one types even http://localhost:8080 it should deny the listings. I tried by changing in web.xml listings falselistings tag, but by this method I can prevent only my application. Can any one suggest the solution please. put index.jsp or index.html in every folder. -- rgds Antony Paul http://www.geocities.com/antonypaul24/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: deny directory listing in tomcat
Change in tomcat\conf\web.xml servlet servlet-namedefault/servlet-name servlet-class org.apache.catalina.servlets.DefaultServlet /servlet-class init-param param-namedebug/param-name param-value0/param-value /init-param init-param param-namelistings/param-name param-valuetrue/param-value /init-param load-on-startup1/load-on-startup /servlet To servlet servlet-namedefault/servlet-name servlet-class org.apache.catalina.servlets.DefaultServlet /servlet-class init-param param-namedebug/param-name param-value0/param-value /init-param init-param param-namelistings/param-name param-valuefalse/param-value /init-param load-on-startup1/load-on-startup /servlet Listing : false Regards Guru -Original Message- From: Antony Paul [mailto:[EMAIL PROTECTED] Sent: 05 July 2005 11:55 To: Tomcat Users List Subject: Re: deny directory listing in tomcat On 7/5/05, vishwam [EMAIL PROTECTED] wrote: hi, iam using tomcat5.0, I have developed a web application on my server and I want to deny directory listing in tomcat so that if any one types even http://localhost:8080 it should deny the listings. I tried by changing in web.xml listings falselistings tag, but by this method I can prevent only my application. Can any one suggest the solution please. put index.jsp or index.html in every folder. -- rgds Antony Paul http://www.geocities.com/antonypaul24/ - 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]
Connection Pool
Hi: I´m working with Tomcat4 and a Connection Pool for accesing MySQL. But, when I use the following code in a jsp: %@ page import =java.sql.*, javax.sql.* % %@ page import =javax.naming.InitialContext, javax.naming.Context % htmlbody % Context mInitCtx = null; DataSource mDs = null; Connection mConexion = null; Statement mStmt = null; ResultSet mRs= null; mInitCtx = new InitialContext(); mDs = (DataSource) mInitCtx.lookup(java:comp/env/jdbc/PoolConexiones); mConexion = mDs.getConnection(); mStmt = mConexion.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE); mRs = mStmt.executeQuery(SELECT * FROM PRECIOS); for(int i=1; i=10; i++) { mRs.moveToInsertRow(); mRs.updateInt(ORDEN,i); mRs.insertRow(); mRs.moveToInsertRow(); } % OK /body/html I get the error: ResultSet not updatable Why is it? Thank you ¿Quieres conocer el futuro inmediato de la radio digital? Reportajes y noticias del mundo de la Tecnología. ¡Ponte al día! http://tecnologia.tiscali.es/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Silent runtime replace of a class
Hi, we have a new user requriement: to be able to modifiy the application without affecting user work. Is there any way to achieve this under tomcat? Currently we're building war file. Is there any way to replace a class (maybe jsp class) runtime, without restarting the tomcat? any information is welcome thanks. robert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Silent runtime replace of a class
This is tricky. Concerning jsp, you can simply replace old jsp with new one, they'll get recompiled. But what do you mean by replacing a class without affecting user work? This is practically impossible to do, because you can't change the class of an existing instance, all you can do is load new instances with the new .class. Howevr that mean datas saved in sessions and the new class will indeed be different (so things like (MyClass)session.get(someKey), will fail because someKey is of the old type. If what you want is redeploy a war without restarting tomcat, no problem, tomcat doens only restart the redeployed webapp. Le Mardi 5 Juillet 2005 14:21, Gal Robert a écrit : Hi, we have a new user requriement: to be able to modifiy the application without affecting user work. Is there any way to achieve this under tomcat? Currently we're building war file. Is there any way to replace a class (maybe jsp class) runtime, without restarting the tomcat? any information is welcome thanks. robert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- David Delbecq Royal Meteorological Institute of Belgium - Is there life after /sbin/halt -p? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Silent runtime replace of a class
--- Gal Robert [EMAIL PROTECTED] wrote: Hi, we have a new user requriement: to be able to modifiy the application without affecting user work. Is there any way to achieve this under tomcat? Currently we're building war file. Is there any way to replace a class (maybe jsp class) runtime, without restarting the tomcat? any information is welcome JSPs are recompiled and reloaded when ever the JSP source file is changed. If you have other .class files such (including servlets), then you need to create a context.xml as per the documentation provided at http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html You'll could place the context.xml in either the conf directory, or in the war's WEB-INF folder. Just ensure that the reloadable attribute is set to true. Since you've not specified which Tomcat version you're using, I've pointed you to the latest Tomcat 5.5 documentation. thanks. robert -- Sriram Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Silent runtime replace of a class
From: Sriram N [mailto:[EMAIL PROTECTED] --- Gal Robert [EMAIL PROTECTED] wrote: we have a new user requriement: to be able to modifiy the application without affecting user work. That's a very broad requirement, and may not be achievable in its full form. Does this mean that users must be able to continue working while a new version is deployed, unaware that a new version is being deployed under their feet, keeping all session context and so on? If so, I think you're onto a loser unless you can cluster your Tomcat instances - at which point you can point all your users to one of your instances (call it instance1) until there are none on instance2, upgrade instance2, point new users to instance2 until there are none on instance1, upgrade instance1, then go back to using both instances if you wish. This requires other software or hardware to keep track of which user sessions are using which instance. You'll could place the context.xml in either the conf directory, or in the war's WEB-INF folder. Just ensure that the reloadable attribute is set to true. Note that reloading a webapp when you have made changes may not allow the user to continue working - for example, if you've changed what's in the session then they may get errors. - Peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
non-web app in tomcat
Hello all, I need an advice : I have to develop an application which will be called by other apps in the same server -- all the callers are wep apps stored in a tomcat instance. This application is not a web app, but it has to access the same resources (database), so I thought that the easiest would be to store this non-web app in tomcat too. This app has to be launchable : - case 1 : by web apps stored in tomcat - case 2 : by a scheduled task My question is : which framework/technology should I use to develop this app ? What communication ways would you advice me to use in both cases ? Thanks ! Philippe - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Silent runtime replace of a class
--- Peter Crowther [EMAIL PROTECTED] wrote: From: Sriram N [mailto:[EMAIL PROTECTED] --- Gal Robert [EMAIL PROTECTED] wrote: we have a new user requriement: to be able to modifiy the application without affecting user work. snip/ You'll could place the context.xml in either the conf directory, or in the war's WEB-INF folder. Just ensure that the reloadable attribute is set to true. Note that reloading a webapp when you have made changes may not allow the user to continue working - for example, if you've changed what's in the session then they may get errors. Indeed. For e.g., if you've some objects in the session, and the web app is being reloaded, then active sessions would be serialized (along with the objects within them). Once the web app is reloaded completely and the sessions are reactivated, you may face problems in case you've changed the classes of those objects that were serialized within the session. - Peter -- Sriram __ 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: Automatic Realm login?
I'm using 5.5.9. Do you need to set a session timeout variable? I imagine I'll run into login timeouts as well, but my quick signup page seems to work with the referral for now. There's also this issue of simple redirects putting passwords into the log files which is insecure. I'm looking for a method of redirecting with the post method. --- Chirag [EMAIL PROTECTED] wrote: The Following Error Comes when I try to use the method which you suggest. I am working on Tomcat 5.5.2 What are you working on? Bye for now CSJakharia HTTP Status 408 - The time allowed for the login process has been exceeded. If you wish to continue you must either click back twice and re-click the link you requested or close and re-open your browser type Status report message The time allowed for the login process has been exceeded. If you wish to continue you must either click back twice and re-click the link you requested or close and re-open your browser description The client did not produce a request within the time that the server was prepared to wait (The time allowed for the login process has been exceeded. If you wish to continue you must either click back twice and re-click the link you requested or close and re-open your browser). Apache Tomcat/5.5.2 Subscribe to bermudaEmail: [input] [input] Browse Archives at groups-beta.google.com __ Yahoo! Mail Mobile Take Yahoo! Mail with you! Check email on your mobile phone. http://mobile.yahoo.com/learn/mail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Automatic Realm login?
I don't think this is a session issue but I think they must be inserting something extra rather than username and password so that they can come to know that the persons have comed from the login screen But I can't figure out the way out As I have done much part of the work in Tomcat 5.5.2 and am stuck up Bye for now CSJakharia --- Mark Winslow [EMAIL PROTECTED] wrote: I'm using 5.5.9. Do you need to set a session timeout variable? I imagine I'll run into login timeouts as well, but my quick signup page seems to work with the referral for now. There's also this issue of simple redirects putting passwords into the log files which is insecure. I'm looking for a method of redirecting with the post method. --- Chirag [EMAIL PROTECTED] wrote: The Following Error Comes when I try to use the method which you suggest. I am working on Tomcat 5.5.2 What are you working on? Bye for now CSJakharia HTTP Status 408 - The time allowed for the login process has been exceeded. If you wish to continue you must either click back twice and re-click the link you requested or close and re-open your browser type Status report message The time allowed for the login process has been exceeded. If you wish to continue you must either click back twice and re-click the link you requested or close and re-open your browser description The client did not produce a request within the time that the server was prepared to wait (The time allowed for the login process has been exceeded. If you wish to continue you must either click back twice and re-click the link you requested or close and re-open your browser). Apache Tomcat/5.5.2 Subscribe to bermudaEmail: [input] [input] Browse Archives at groups-beta.google.com __ Yahoo! Mail Mobile Take Yahoo! Mail with you! Check email on your mobile phone. http://mobile.yahoo.com/learn/mail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com Subscribe to bermudaEmail: [input] [input] Browse Archives at groups-beta.google.com Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Embedded example
You can google for tomcat embedded and should be able to find examples. Most of the setup for embedded is same as in 4.1 except for setting some properties... Sandeep On 7/2/05, Steffen Heil [EMAIL PROTECTED] wrote: Hi Can someone tell me where to find an example with tomcat 5.5 embedded? It seems there is nothing... Or even better: Is there a way to use the http(s) connector without tomcat? I want to direct ALL requests to ONE pure servlet and there do not need most parts of tomcat. Regards, Steffen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Silent runtime replace of a class
I'll give you the user- requirement, to understand better the problem: pre-defined subsystems or modules should be upgraded or patched without interfering/interrupting system usage (defined by the supplier). Often happens, that we must correct a little error in business logic. In these cases we usually patch a class file, and replace it in the application, then redeploy it. From your (and other) responses it seems, there's no correct way to do such a patch without redeploying the application. On the other hand, your idea about tomcat clustering, and redirecting requests sounds quite interesting. I think, this would satisfy the above requirement. Can you give me some more information about your idea? Does it require a deep know-how? thank you and others Peter Crowther wrote: From: Sriram N [mailto:[EMAIL PROTECTED] --- Gal Robert [EMAIL PROTECTED] wrote: we have a new user requriement: to be able to modifiy the application without affecting user work. That's a very broad requirement, and may not be achievable in its full form. Does this mean that users must be able to continue working while a new version is deployed, unaware that a new version is being deployed under their feet, keeping all session context and so on? If so, I think you're onto a loser unless you can cluster your Tomcat instances - at which point you can point all your users to one of your instances (call it instance1) until there are none on instance2, upgrade instance2, point new users to instance2 until there are none on instance1, upgrade instance1, then go back to using both instances if you wish. This requires other software or hardware to keep track of which user sessions are using which instance. You'll could place the context.xml in either the conf directory, or in the war's WEB-INF folder. Just ensure that the reloadable attribute is set to true. Note that reloading a webapp when you have made changes may not allow the user to continue working - for example, if you've changed what's in the session then they may get errors. - Peter - 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]
[OT] Relating source code to class code
Hi, Is there a way to build a webapp so that once deployed when an error is thrown that the stack trace will include the line in the java code which caused the error? Instead of (Unknown Source) coming up, have for example (LoginAction.java:115) as it does with other classes. Anybody know the steps to do this? Thanks application.db.DataManagerException: There was an error trying to sign user in at application.db.SQLManager.doLogin(Unknown Source) at application.actions.LoginAction.verifyUser(Unknown Source) at application.actions.LoginAction.execute(Unknown Source) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces sor.java:484) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525) at javax.servlet.http.HttpServlet.service(HttpServlet.java:763) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:284) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:204) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:257) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.java:151) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext Valve.java:245) _ Ciaran Hanley Software Development Sentenial Ltd. Tel: 00 353 (1) 629 2403 Fax: 00 353 (1) 629 2147 Mob: 00 353 (0) 87 916 4943 E-Mail: [EMAIL PROTECTED] Web: www.sentenial.ie http://www.sentenial.ie/ _ Notice: The information in this e-mail is intended only for the named recipient and may be privileged or confidential. If you are not the intended recipient, please notify us immediately and do not copy, distribute or take any action based on this e-mail. Sentenial Ltd will not be liable for direct, special, indirect or consequential loss as a result of any virus being passed on or arising from alteration of the contents of this e-mail by a third party. All e-mail sent to or from this address is subject to archive and review by someone other than the intended recipient. Any opinions expressed in this e-mail are those of the individual and not necessarily those of Sentenial Ltd. All Personal Data acquired by Sentenial Ltd for which the Data Protection Act 1998 (the Act) applies shall be stored and processed in accordance with the Act. Should you wish to check, amend or remove the details of your Personal Data held by Sentenial Ltd, please contact us at mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]
Intermittent 500 Error
Hello All I am running Apache 2.0.52 with Tomcat 5.5.9. I am running a virtualhost in this setup (which has protected resources with RSA ClearTrust). After logging in, the user is forwarded to a legal page where he/she is prompted to agree to terms and conditions (tc). However, there is an intermittent 500 Error in between a successful logon and the display of the tc page. Has anyone else encountered this or provide some insight? Thanks! This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT] Relating source code to class code
Wehn you compile, you have to included debugging information. This can be done with the javac task in ant (debug=true), or on the commnad line for javac using the -g option. Larry On 7/5/05, Ciaran Hanley [EMAIL PROTECTED] wrote: Hi, Is there a way to build a webapp so that once deployed when an error is thrown that the stack trace will include the line in the java code which caused the error? Instead of (Unknown Source) coming up, have for example (LoginAction.java:115) as it does with other classes. Anybody know the steps to do this? Thanks application.db.DataManagerException: There was an error trying to sign user in at application.db.SQLManager.doLogin(Unknown Source) at application.actions.LoginAction.verifyUser(Unknown Source) at application.actions.LoginAction.execute(Unknown Source) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces sor.java:484) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525) at javax.servlet.http.HttpServlet.service(HttpServlet.java:763) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:284) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:204) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:257) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.java:151) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext Valve.java:245) _ Ciaran Hanley Software Development Sentenial Ltd. Tel: 00 353 (1) 629 2403 Fax: 00 353 (1) 629 2147 Mob: 00 353 (0) 87 916 4943 E-Mail: [EMAIL PROTECTED] Web: www.sentenial.ie http://www.sentenial.ie/ _ Notice: The information in this e-mail is intended only for the named recipient and may be privileged or confidential. If you are not the intended recipient, please notify us immediately and do not copy, distribute or take any action based on this e-mail. Sentenial Ltd will not be liable for direct, special, indirect or consequential loss as a result of any virus being passed on or arising from alteration of the contents of this e-mail by a third party. All e-mail sent to or from this address is subject to archive and review by someone other than the intended recipient. Any opinions expressed in this e-mail are those of the individual and not necessarily those of Sentenial Ltd. All Personal Data acquired by Sentenial Ltd for which the Data Protection Act 1998 (the Act) applies shall be stored and processed in accordance with the Act. Should you wish to check, amend or remove the details of your Personal Data held by Sentenial Ltd, please contact us at mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [OT] Relating source code to class code
That easy! Thanks :) -Original Message- From: Larry Meadors [mailto:[EMAIL PROTECTED] Sent: 05 July 2005 18:24 To: Tomcat Users List Subject: Re: [OT] Relating source code to class code Wehn you compile, you have to included debugging information. This can be done with the javac task in ant (debug=true), or on the commnad line for javac using the -g option. Larry On 7/5/05, Ciaran Hanley [EMAIL PROTECTED] wrote: Hi, Is there a way to build a webapp so that once deployed when an error is thrown that the stack trace will include the line in the java code which caused the error? Instead of (Unknown Source) coming up, have for example (LoginAction.java:115) as it does with other classes. Anybody know the steps to do this? Thanks application.db.DataManagerException: There was an error trying to sign user in at application.db.SQLManager.doLogin(Unknown Source) at application.actions.LoginAction.verifyUser(Unknown Source) at application.actions.LoginAction.execute(Unknown Source) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces sor.java:484) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525) at javax.servlet.http.HttpServlet.service(HttpServlet.java:763) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:284) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:204) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:257) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.java:151) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext Valve.java:245) _ Ciaran Hanley Software Development Sentenial Ltd. Tel: 00 353 (1) 629 2403 Fax: 00 353 (1) 629 2147 Mob: 00 353 (0) 87 916 4943 E-Mail: [EMAIL PROTECTED] Web: www.sentenial.ie http://www.sentenial.ie/ _ Notice: The information in this e-mail is intended only for the named recipient and may be privileged or confidential. If you are not the intended recipient, please notify us immediately and do not copy, distribute or take any action based on this e-mail. Sentenial Ltd will not be liable for direct, special, indirect or consequential loss as a result of any virus being passed on or arising from alteration of the contents of this e-mail by a third party. All e-mail sent to or from this address is subject to archive and review by someone other than the intended recipient. Any opinions expressed in this e-mail are those of the individual and not necessarily those of Sentenial Ltd. All Personal Data acquired by Sentenial Ltd for which the Data Protection Act 1998 (the Act) applies shall be stored and processed in accordance with the Act. Should you wish to check, amend or remove the details of your Personal Data held by Sentenial Ltd, please contact us at mailto:[EMAIL PROTECTED] [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]
Map network drive
Hi, We used to use an older version of Tomcat. The old version did not run as a service. On the old version, we have an Java aplication that needs to access mapped network drives. With the new Tomcat 5.x, the Tomcat is ran as a service, and I do not know how to map a network drive in this case. Is there any instruction on how to do this? Thanks. Johnnie - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
obscure tomcat 5.5 text file display bug?
hihi all, i'm having an obscure problem relating to the display of regular plain .txt files hosted withing Tomcat. on Tomcat 4.1 links to .txt files would diplay within the browser and the text files would preserve the text formatting (ie. spaces) *because* the text file contents would be displayed in plain text font (ie. fixed-width font) however in Tomcat 5.5 links to the same .txt files would also display within the browser, but the formatting is stripped because the text file contents are being displayed in a non-fixed width font (looks like courier true type) and all the spaces are stripped away. i'm using the same browser to test. and the only difference is the Tomcat version difference. does anyone know why this is happening? and more importantly how to fix it so that .txt files are displayed using fixed-width fonts in Tomcat 5.5? (i suspect it's the way Tomcat is telling the browser what type of file it's sending back... some kind of header info.. but i'm not sure how to go about debugging this) thx in advance, woodchuck __ Do you Yahoo!? Yahoo! Mail - Find what you need with new enhanced search. http://info.mail.yahoo.com/mail_250 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Connection Pool
should this be: CONCUR_UPDATEABLE? Sapales wrote: Hi: I´m working with Tomcat4 and a Connection Pool for accesing MySQL. But, when I use the following code in a jsp: %@ page import =java.sql.*, javax.sql.* % %@ page import =javax.naming.InitialContext, javax.naming.Context % htmlbody % Context mInitCtx = null; DataSource mDs = null; Connection mConexion = null; Statement mStmt = null; ResultSet mRs= null; mInitCtx = new InitialContext(); mDs = (DataSource) mInitCtx.lookup(java:comp/env/jdbc/PoolConexiones); mConexion = mDs.getConnection(); mStmt = mConexion.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE); mRs = mStmt.executeQuery(SELECT * FROM PRECIOS); for(int i=1; i=10; i++) { mRs.moveToInsertRow(); mRs.updateInt(ORDEN,i); mRs.insertRow(); mRs.moveToInsertRow(); } % OK /body/html I get the error: ResultSet not updatable Why is it? Thank you ¿Quieres conocer el futuro inmediato de la radio digital? Reportajes y noticias del mundo de la Tecnología. ¡Ponte al día! http://tecnologia.tiscali.es/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- ~ Where liberty dwells there is my country. Ancient Latin phrase - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: obscure tomcat 5.5 text file display bug?
(i suspect it's the way Tomcat is telling the browser what type of file it's sending back... some kind of header info.. but i'm not sure how to go about debugging this) thx in advance, woodchuck I like using FireFox for debugging this type of thing, and the liveheaders plugin http://livehttpheaders.mozdev.org/ VERY handy. There is probably an IE equivalent of some sort, but haven't heard of a really good one. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Map network drive
If I were you I would use UNC paths if possible instead of relying on mapped drives. However, having said that, you should be able to setup the service to run as a particular user. I believe it should be a domain user. Then log into the server using that domain login and map the drive persistently. Then logout. The mapped drive should be available to the service when it runs. I came across a windows scheduled task just a few months ago that was setup to write out to a file on a mapped drive like this and it seemed to work. I converted it to UNC and unmapped the drive though because I didn't like doing that. -Dave On Tuesday 05 July 2005 13:40, Johnnie Chang wrote: Hi, We used to use an older version of Tomcat. The old version did not run as a service. On the old version, we have an Java aplication that needs to access mapped network drives. With the new Tomcat 5.x, the Tomcat is ran as a service, and I do not know how to map a network drive in this case. Is there any instruction on how to do this? Thanks. Johnnie - 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: Silent runtime replace of a class
This article may help... http://www.fawcette.com/javapro/2002_09/magazine/columns/proshop/ Gal Robert wrote: Hi, we have a new user requriement: to be able to modifiy the application without affecting user work. Is there any way to achieve this under tomcat? Currently we're building war file. Is there any way to replace a class (maybe jsp class) runtime, without restarting the tomcat? any information is welcome thanks. robert - 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: obscure tomcat 5.5 text file display bug?
thanks GB Developer! i will definitely give this a try! woodchuck --- GB Developer [EMAIL PROTECTED] wrote: (i suspect it's the way Tomcat is telling the browser what type of file it's sending back... some kind of header info.. but i'm not sure how to go about debugging this) thx in advance, woodchuck I like using FireFox for debugging this type of thing, and the liveheaders plugin http://livehttpheaders.mozdev.org/ VERY handy. There is probably an IE equivalent of some sort, but haven't heard of a really good one. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[OT] UK tomcat hosting recommendations?
Having some fun with my current ISP and was wondering if any of you have UK tomcat recommendations? My technical needs are pretty small; just tomcat 5.0+ installed with mysql 4.0+ etc. My main non-technical requirement is a good UK based support, and any recommendations would be appreciated. P.S. I know I could use a blank Linux hosting option and install it myself but this is not appropriate at the moment, I may consider that in the future.
RE: obscure tomcat 5.5 text file display bug?
From: Woodchuck [mailto:[EMAIL PROTECTED] Subject: obscure tomcat 5.5 text file display bug? however in Tomcat 5.5 links to the same .txt files would also display within the browser, but the formatting is stripped because the text file contents are being displayed in a non-fixed width font (looks like courier true type) and all the spaces are stripped away. Can't help you with the missing spaces, but all forms of Courier are fixed-pitch fonts, by definition. - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: obscure tomcat 5.5 text file display bug? [Bugzilla candidate?]
GB Developer, thanks so much for your suggestion, Live HTTP Headers is awesome! and my hunch was correct. the problem is Tomcat 5.5 does not produce any Content-Type information at all when serving back the .txt file. here is the relevant header info from Tomcat 4.1: HTTP/1.x 200 OK Etag: W/1706-1120587147968 Last-Modified: Tue, 05 Jul 2005 18:12:27 GMT Content-Type: text/plain Content-Length: 1706 Date: Tue, 05 Jul 2005 20:59:46 GMT Server: Apache Coyote/1.0 Proxy-Connection: Keep-Alive and here is the relevant header info from Tomcat 5.5: If-Modified-Since: Sun, 03 Jul 2005 18:42:58 GMT If-None-Match: W/1706-1120416178619 HTTP/1.x 304 Not Modified Server: Apache-Coyote/1.1 Date: Tue, 05 Jul 2005 19:57:35 GMT as it clearly shows, the header info produced by Tomcat 5.5 does not have any Content-Type or even Content-Length. is this a bug that i should enter into BugZilla? or is this something that can be fixed via Tomcat configuration? thanks in advance, woodchuck --- GB Developer [EMAIL PROTECTED] wrote: (i suspect it's the way Tomcat is telling the browser what type of file it's sending back... some kind of header info.. but i'm not sure how to go about debugging this) thx in advance, woodchuck I like using FireFox for debugging this type of thing, and the liveheaders plugin http://livehttpheaders.mozdev.org/ VERY handy. There is probably an IE equivalent of some sort, but haven't heard of a really good one. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: obscure tomcat 5.5 text file display bug? [Bugzilla candidate?]
From: Woodchuck [mailto:[EMAIL PROTECTED] Subject: RE: obscure tomcat 5.5 text file display bug? [Bugzilla candidate?] here is the relevant header info from Tomcat 4.1: HTTP/1.x 200 OK Etag: W/1706-1120587147968 Last-Modified: Tue, 05 Jul 2005 18:12:27 GMT Content-Type: text/plain Content-Length: 1706 Date: Tue, 05 Jul 2005 20:59:46 GMT Server: Apache Coyote/1.0 Proxy-Connection: Keep-Alive and here is the relevant header info from Tomcat 5.5: If-Modified-Since: Sun, 03 Jul 2005 18:42:58 GMT If-None-Match: W/1706-1120416178619 HTTP/1.x 304 Not Modified Server: Apache-Coyote/1.1 Date: Tue, 05 Jul 2005 19:57:35 GMT You've got apples and oranges here. The 1st response actually includes the text, whereas the 2nd just tells the browser to use what it has already cached. You need to try it again with the cache cleared prior to each request. - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Map network drive
Hi, We have a lot of documents linked using the mapped drive. To switched to UNC will require me to change all the links. I had already tried what you suggested 2 weeks ago. It didn't work. It didn't work even on a clean installation. The mapped drive seem to work on our production server, but I am not able to reproduce the same setup on another computer. Johnnie -Original Message- From: David F. Newman [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 05, 2005 12:29 PM To: Tomcat Users List Subject: Re: Map network drive If I were you I would use UNC paths if possible instead of relying on mapped drives. However, having said that, you should be able to setup the service to run as a particular user. I believe it should be a domain user. Then log into the server using that domain login and map the drive persistently. Then logout. The mapped drive should be available to the service when it runs. I came across a windows scheduled task just a few months ago that was setup to write out to a file on a mapped drive like this and it seemed to work. I converted it to UNC and unmapped the drive though because I didn't like doing that. -Dave On Tuesday 05 July 2005 13:40, Johnnie Chang wrote: Hi, We used to use an older version of Tomcat. The old version did not run as a service. On the old version, we have an Java aplication that needs to access mapped network drives. With the new Tomcat 5.x, the Tomcat is ran as a service, and I do not know how to map a network drive in this case. Is there any instruction on how to do this? Thanks. Johnnie - 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]