Re: Sudden missing javax/servlet/http/HttpServlet ?
On Thu, Aug 7, 2008 at 12:18 PM, Christopher Schultz [EMAIL PROTECTED] wrote: I'm going to start looking at the Velocity and Velocity-Tools JARs to see if they might have been corrupted or something. They are stored in CVS in our project, and cvs doesn't say anything, but since I'm grasping at straws, I may as well continue. FWIW, I've had problems in the past with CVS corrupting binary files; you might want to checksum a fresh copy and compare. -- Hassan Schroeder [EMAIL PROTECTED] - 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: Sudden missing javax/servlet/http/HttpServlet ?
On Thu, Aug 7, 2008 at 1:09 PM, Christopher Schultz [EMAIL PROTECTED] wrote: Yeah, I did that and everything looks good. CVS will only destroy a binary file if you forget to disable keyword expansion (been there!). Ah, that could have been the case -- I hadn't set it up, and wasn't all that familiar with CVS at the time. One to remember. It was sure fun figuring out that a corrupt font file (yes!) was blowing up an entire Flex/Java/Oracle application :-) Anyway, I'm not coming up with any other ideas, so good luck! -- Hassan Schroeder [EMAIL PROTECTED] - 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: Sudden missing javax/servlet/http/HttpServlet ?
On Thu, Aug 7, 2008 at 5:23 PM, Christopher Schultz [EMAIL PROTECTED] wrote: | Ha ha... I didnt look at who was asking the question... guru's... always | want to build the freezer, just to get a cold beer ;) I kept trying to come up with a funny you should see what I do what I want to [indert something funny here], but for the life of me, I can't come up with anything actually funny. After the day it sounds like you had, I'd say you should just proceed straight to the beer. :-) -- Hassan Schroeder [EMAIL PROTECTED] - 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: Problems with NoClassDefFound Error in tomcat 6
On Fri, Aug 8, 2008 at 1:27 PM, Tom Cat [EMAIL PROTECTED] wrote: When I try to run it in tomcat though, i get this error: java.lang.NoClassDefFoundError: org/w3c/tidy/Tidy I don't understand why it throws this error. Tidy is in my classpath and the code compiles fine. That's nice, but is it in the classpath of your webapp? :-) I'm gonna bet no... -- Hassan Schroeder [EMAIL PROTECTED] - 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: Possible virus uploaded to Tomcat 5.5.3 - SOLVED
On Sun, Aug 10, 2008 at 2:21 PM, Len Popp [EMAIL PROTECTED] wrote: I checked my server log and found that just this morning some computer in China tried to poke at the manager app on my server. So it seems that it wasn't an isolated incident, there's someone out there trying to exploit Tomcat's manager app. Caveat administrator! +1 -- I see similar attempts in the logs of servers I'm running. -- Hassan Schroeder [EMAIL PROTECTED] - 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: Chaining Request Processing
On Tue, Aug 12, 2008 at 3:11 AM, Jeng Yu [EMAIL PROTECTED] wrote: The servlet (in Appserver A) then processes part of the form input in the doGet method and then needs to send the rest of the form to another web server (Appserver B) to process and return the results (response code or something) to the calling servlet which is waiting for it. The servlet receives the results and based on the results, sends response back to the client, all within the same doGet method. Is this doable, and What's the best way to go about it? It's certainly doable -- it's the standard use case for submitting an online order to a credit-card-authorization gateway, among others. Look at the JavaDoc for java.net.Http(s)URLConnection. HTH, -- Hassan Schroeder [EMAIL PROTECTED] - 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: tomcat5.5 site configuration.
On Tue, Aug 12, 2008 at 8:02 AM, Shahar Cohen [EMAIL PROTECTED] wrote: I have installed tomcat 5.5 on my linux and I want to configure my website so I would be able to connect to it without the need to configure host header in a virtual site but receiving requests to the ip address of the site on the specified port which are coming From multiple DNS directions. Assuming I understand what you're asking -- it does that by default. What problem are you having? -- Hassan Schroeder [EMAIL PROTECTED] - 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: Image rendering problem in Tomcat 5.5.1
On Tue, Aug 12, 2008 at 8:13 AM, Szűcs Attila [EMAIL PROTECTED] wrote: I forgot to mention that the design, when opened outside of tomcat (just the plain html file with css and images) looks all right, so the css and the html files are good. The other strange thing is that when I copy the blurry html's code and paste it in a plain html and open the file (without tomcat) everything works fine. I can't imagine how Tomcat could be influencing the display size of images -- can you send a URL demonstrating this problem? -- Hassan Schroeder [EMAIL PROTECTED]
Re: tomcat5.5 site configuration.
On Tue, Aug 12, 2008 at 8:20 AM, Shahar Cohen [EMAIL PROTECTED] wrote: when I put in my browser anyone of the URLS I don't get my web site. Engine name=Catalina defaultHost=localhost Realm className=org.apache.catalina.realm.UserDatabaseRealm resourceName=UserDatabase / # Host name=localhost appBase=webapps / I hope you don't actually have a '#' in your server.xml -- it's not an XML comment :-) In any case, your default host is set to 'localhost' ; put your actual config information there. Host name=10.10.10.12 appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false And FWIW it's not recommended to put Context elements in server.xml; name your default app ROOT (or ROOT.war) and put any config info into META-INF/context.xml in the webapp. Context path= docBase=xxx reloadable=true swallowOutput=true WatchedResourceWEB-INF/web.xml/WatchedResource /Context HTH, -- Hassan Schroeder [EMAIL PROTECTED] - 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: Redirection
On Fri, Aug 15, 2008 at 11:47 AM, Ravi Sharma [EMAIL PROTECTED] wrote: So is there any way to do this using anything in apache,tomcat to hide domain2 from everyone., You should either move everything to the higher-bandwidth server, or have your DNS identify it as a subdomain -- 'music.domain1.com' or something. FWIW, -- Hassan Schroeder [EMAIL PROTECTED] - 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 instances on different ports running as different users can anyone shutdown?
On Thu, Aug 21, 2008 at 1:07 PM, Fu-Tung Cheng [EMAIL PROTECTED] wrote: I am sure there must be an option in the stop script to require a username/password. And I'm sure that wouldn't matter -- it's simply a matter of telneting to that port and issuing the shutdown command, no script required :-) -- Hassan Schroeder [EMAIL PROTECTED] - 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: File not found exception
On Sat, Aug 23, 2008 at 12:23 AM, navigator09 [EMAIL PROTECTED] wrote: All the above attempts have failed. The reading of the .ini file is done by a third party api and hence I cannot change the way it is read by the application. Pls let me know how the matter can be solved. By asking the creators of the third party api where they expect to find the file in question? -- Hassan Schroeder [EMAIL PROTECTED] - 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: [NEWBIE]Tomcat 6.0.16-reboot required when changing the port number
On Sun, Sep 7, 2008 at 11:12 PM, Jon [EMAIL PROTECTED] wrote: No I'm stating that I had to reboot to get apache 'not running' on port 8080 and it seemed unusual, because I ran the shutdown scripts. Running the shutdown script doesn't guarantee anything -- there are any number of reasons why your Tomcat instance wouldn't shut down (or at least, not right away). Did you do a `ps` to see if the process was still active? If it is, a `kill -9` is a lot quicker than a reboot :-) FWIW, -- Hassan Schroeder [EMAIL PROTECTED] - 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: Piggybacking HTTP with binary protocol
On Tue, Sep 9, 2008 at 1:10 PM, Darryl Pentz [EMAIL PROTECTED] wrote: Thanks for that suggestion - I'll definitely look into it. In the meantime what we've done is to solve our problem in the hardware, by using 2 network cards (i.e. 2 IP addresses) Uh, you don't need multiple NICs to handle multiple IP addresses -- just configure your system to respond to them :-) FWIW, -- Hassan Schroeder [EMAIL PROTECTED] - 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: Migrating to tomcat 6 gives formatted currency amounts problem
On Thu, Sep 11, 2008 at 11:16 AM, Johnny Kewl [EMAIL PROTECTED] wrote: Its generating a pound... the question is, the webapp is not dicatation the font... so I'm asking what font is being used for the pound? Whatever the browser picks from what it has available. :-) He *is* introducing a font into a webapp No. A character, a codepoint, yes, not a font. -- Hassan Schroeder [EMAIL PROTECTED] - 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: Migrating to tomcat 6 gives formatted currency amounts problem
On Thu, Sep 11, 2008 at 12:54 PM, Johnny Kewl [EMAIL PROTECTED] wrote: Now you designing a web page... you pick Arial... have to discover the font (some how) and then you have to add that HTML to CSS code to your page Do you not understand that style information, including fonts, is just a serving suggestion? A user-agent has *no* obligation to use any given font, or any font at all. If I'm looking at your page in Lynx, the font will be whatever my own terminal window settings specify, be it Comic Sans or Copperplate Gothic Bold. If I use wget to grab a page and store it into a file or a DB, there is no font information involved at any point whatsoever -- it's just character data in some specified (or assumed!) encoding. If a user-agent is intended to generate a visual display /and/ has a font available to it with a glyph matching a specified code-point in a specified encoding, great. If not -- so sorry. Doesn't matter whether you were using HTML entities or numeric representation: ? is it. FWIW, -- Hassan Schroeder [EMAIL PROTECTED] - 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: Migrating to tomcat 6 gives formatted currency amounts problem
On Thu, Sep 11, 2008 at 2:41 PM, Johnny Kewl [EMAIL PROTECTED] wrote: http://www.kewlstuff.co.za/test/test.htm What do you see in this test page? problems :-) http://validator.w3.org/check?uri=http%3A%2F%2Fwww.kewlstuff.co.za%2Ftest%2Ftest.htmcharset=%28detect+automatically%29doctype=Inliness=1group=0verbose=1user-agent=W3C_Validator%2F1.591 -- Hassan Schroeder [EMAIL PROTECTED] - 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: Migrating to tomcat 6 gives formatted currency amounts problem
On Thu, Sep 11, 2008 at 2:53 PM, Johnny Kewl [EMAIL PROTECTED] wrote: Hassan I not arguing, you know nothing about that font... how is your client going to display it? If the page contains an invalid code-point, as the error message points out, then what should a browser display?? -- Hassan Schroeder [EMAIL PROTECTED] - 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: Migrating to tomcat 6 gives formatted currency amounts problem
On Thu, Sep 11, 2008 at 3:20 PM, Johnny Kewl [EMAIL PROTECTED] wrote: If the page contains an invalid code-point, as the error message points out, then what should a browser display?? Thats probably what I'm not getting... All I did was set the Font to Verdana and drop a registered mark in... However you created your test page, it /isn't valid UTF-8/. Until that's resolved, it has no value as a test of anything. Whether that locale stuff is intelligent enuf not to make an invalid code point... thats the question. If that were my question, I'd be testing Locale-based code :-) -- Hassan Schroeder [EMAIL PROTECTED] - 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: Balance and sync data
On Tue, Sep 16, 2008 at 6:38 AM, Martin Spinassi [EMAIL PROTECTED] wrote: I don't know yet, I didn't try it yet, I was waiting to see if there is a better solution than rsync them every minute. Why not have your upload servlet invoke rsync when a new file has been stored? -- Hassan Schroeder [EMAIL PROTECTED] - 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: Balance and sync data
On Tue, Sep 16, 2008 at 8:17 AM, Martin Spinassi [EMAIL PROTECTED] wrote: Why not have your upload servlet invoke rsync when a new file has been stored? Can you give me some more details or where to get some more info? Runtime.exec(/usr/bin/rsync) -- though you may want to instead invoke a script file containing the appropriate rsync arguments. This works fine. I've even used rsync's dry-run mode to create a list of files that differed between two systems (e.g. staging and production) to generate a form page and allow the user to pick which ones to sync. HTH, -- Hassan Schroeder [EMAIL PROTECTED] - 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: Balance and sync data
On Wed, Sep 17, 2008 at 2:57 PM, Christopher Schultz [EMAIL PROTECTED] wrote: Why not have your upload servlet invoke rsync when a new file has been stored? You're not seriously suggesting that as a viable production strategy, are you? [ IM IN UR DURECTRY COPYNG UR IMAGES ] Sure -- why not? It works nicely for a use case like this. And exec'ing a process as needed beats spawning one every minute! NFS, baby. NFS. Um, single point of failure? :-) -- Hassan Schroeder [EMAIL PROTECTED] - 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: Balance and sync data
On Thu, Sep 18, 2008 at 7:47 AM, Christopher Schultz [EMAIL PROTECTED] wrote: I suppose it depends on the frequency of image uploads. 100 images a day wouldn't be too bad. 100 images per minute would seriously suck. True, I was envisioning a relatively low-frequency operation, for no particular good reason :-) Um, single point of failure? :-) NFS /can/ be done robustly. OK, I haven't encountered an NFS cluster in the wild, but apparently they exist. So, yes, that'd be a solution, and would probably scale better than using rsync. -- Hassan Schroeder [EMAIL PROTECTED] - 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: How to redirect a web page from Tomcat to your browser?
On Mon, Sep 22, 2008 at 8:35 AM, DeanM [EMAIL PROTECTED] wrote: So, question is, how do I set up a mechanism so that you click on a link on the index page for the URL you want, Tomcat takes this and sends the request to the secure server, the secure server sends the page(s) back to Tomcat and then Tomcat throws it at your browser? You need to write (or find) a proxy/reverse-proxy servlet. Alternatively, you could use Apache httpd that purpose. More moving parts, but possibly less work. :-) FWIW, -- Hassan Schroeder [EMAIL PROTECTED] - 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: Share war file / virtual hosts
On Mon, Sep 22, 2008 at 11:36 AM, Mathias P.W Nilsson [EMAIL PROTECTED] wrote: Yes, but how should I configure those connectors? I can't add port 443 to 3 of them because then tomcat casts an error. You can if each has a separate IP address, which is what you need to make this work. -- Hassan Schroeder [EMAIL PROTECTED] - 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: Share war file / virtual hosts
On Mon, Sep 22, 2008 at 1:22 PM, Mathias P.W Nilsson [EMAIL PROTECTED] wrote: Ok! I tested with port 8080 and 8443 as ssl port with no luck. I only have 2 domains but tomcat complains about java.net.BindException: Cannot assign requested address: JVM_Bind:8080. Now I guess this isn't configured right so any pointers here would be greatly appreciated. Connector connectionTimeout=2 port=8080 address=90.2xx.xxx.x6 protocol=HTTP/1.1 redirectPort=443/ Connector connectionTimeout=2 port=8080 address=90.2xx.xxx.x7 protocol=HTTP/1.1 redirectPort=443/ Ignoring the redirect port confusion and the unneeded AJP connector, do you actually have both IP addresses configured on this box? -- Hassan Schroeder [EMAIL PROTECTED] - 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: can i compile .tag files on the fly? please help :(
On Wed, Oct 1, 2008 at 9:35 AM, LoopInfinitum [EMAIL PROTECTED] wrote: i'm looking for a definitive answer: can .tag files be compiled on the fly, or do they always require a recompile and restart for changes to take effect? Did you bother to try? In any case, I don't know if this is definitive but I've never compiled a tag file manually, nor restarted TC to see a change. FWIW, -- Hassan Schroeder [EMAIL PROTECTED] - 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: can i compile .tag files on the fly? please help :(
On Wed, Oct 1, 2008 at 10:17 AM, LoopInfinitum [EMAIL PROTECTED] wrote: haven't tried yet... i've never used jasper Nor have I, directly :-) I meant, why don't you just change a test .tag file and see what happens? Would have taken less time... so this means you edit a .tag file, hit refresh in your web-browser, and you see the change? that would be great and exactly what i want to happen. Yes. what version of tomcat are you running? 6.0.x any ideas where you configure this type of behavior? I believe it's controlled by the development parameter to the JSP servlet -- see the $CATALINA_HOME/conf/web.xml -- default setting is true, so no action necessary unless you've changed that. HTH, -- Hassan Schroeder [EMAIL PROTECTED] - 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: AddResource: how to prevent adding session id to stylesheet URL
On Mon, Oct 13, 2008 at 12:32 AM, Dave [EMAIL PROTECTED] wrote: We are using AddResource to add stylesheet dynamically, like: addResource.addStyleSheet(context, AddResource.HEADER_BEGIN, /main.css); So, wouldn't this be a question for (guessing) a MyFaces list? :-) Doesn't seem remotely Tomcat-related. H* -- Hassan Schroeder [EMAIL PROTECTED] - 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: mod_proxy_balancer
On Mon, Oct 13, 2008 at 7:17 PM, AD [EMAIL PROTECTED] wrote: If i have a tomcat app deployed at http://localhost:8080/myapp1/ and http://localhost:8080/myapp2/ and i want 2 virtualhosts in apache to map / to each one of these apps, is this possible? Possible? Sure. Good idea? Probably not. Trying something like Did your editor just drop into mode.new().generateRandomStuff()? Do you want to use port 8080 (http) or 8009 (ajp)? Proxy balancer://whatever BalancerMember http://localhost:3000 /Proxy -- Hassan Schroeder [EMAIL PROTECTED] - 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: mod_proxy_balancer
Rats, sorry, copy/paste failure there, mail sent prematurely ... Assuming port 8080 -- Proxy balancer://whatever BalancerMember http://localhost:8080/app1/ BalancerMember http://localhost:8080/app2/ /Proxy And that would be configured the same for both virtual hosts. ProxyPass / balancer://whatever/ ProxyPassReverse / balancer://whatever/ HTH, -- Hassan Schroeder [EMAIL PROTECTED] - 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: mod_proxy_balancer
On Tue, Oct 14, 2008 at 7:20 AM, AD [EMAIL PROTECTED] wrote: My issue is that the tomcat app, seems to want to redirect to /myapp1/some/file.html for a 302 (as an example) which is causing the issue. is there a way around this ? This path gets back to apache which gets back to the end user who does not know how to process /myapp1/ in the browser. Actually, no, the browser is just sending the request to your Apache httpd, which doesn't know what to do with /myapp1/. So you need to either use mod_rewrite or explicitly write your URLs without the context (dicey and portability-limiting). Any reason this is a bad idea ? Are app1 and app2 identical? If not, balancing across them makes zero sense. And even if they *are* identical -- why would you balance across two apps running in the same container? The whole /point/ of balancing is to use multipleTomcat instances, for load-balancing (and HA). From your original example, I can't begin to imagine your use case; perhaps you can explain your goal? H* -- Hassan Schroeder [EMAIL PROTECTED] - 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: How to serve two docBases under the same context path
On Thu, Oct 23, 2008 at 7:56 AM, nlif [EMAIL PROTECTED] wrote: I am trying to separate the static content from the dynamic content of my application. In production, I intend to use Apache to serve the static content, and Tomcat to process requests to the application (mainly JSP's). My problem, however, is with the development environment: I'd say you should either forget about using Apache httpd altogether or make your dev environment match production. FWIW, -- Hassan Schroeder [EMAIL PROTECTED] - 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: How to serve two docBases under the same context path
On Thu, Oct 23, 2008 at 10:23 AM, nlif [EMAIL PROTECTED] wrote: Should my dev and prod environments be identical? Really? So you deploy your source files? :-) This is one of many cases in which the development environment does not match the production environment. Well, deploying source files isn't exactly the same as having your development infrastructure reflect, at least reasonably closely, that of production. Personally I wouldn't work very long at a place that took such a haphazard approach. YMMV, but I'm not the one wasting time trying to work around this easily fixable discrepancy :-) -- Hassan Schroeder [EMAIL PROTECTED] - 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 Server .pac Script configuration for outgoing connection.
On Sun, Oct 26, 2008 at 2:12 PM, Eswaramoorthy Ramesh We have a web application that sets up a local tomcat server with an application deployed into the client machine. To complete the setup, the application on Tomcat needs to access the internet from the client machine and verify with the source system. But the client machine are within a corporate network and needs .pac script to access internet. How can we configure Tomcat for all its applications to use a pac (proxy Auto Configuration) script to determine the proxy and access the internet? Wrong way around -- Tomcat doesn't have anything to do with this. You need to design your apps to find external resources like proxy configuration info. FWIW, -- Hassan Schroeder [EMAIL PROTECTED] - 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: How can I hard code the IP address on a single server with multiple Tomcat instances.
On Wed, Oct 29, 2008 at 10:23 AM, dOE [EMAIL PROTECTED] wrote: perhaps this is where my problem is at this stage. I would need a Catalina_Home2 and have that pointing to *server2 *...? I am guessing, but would this mean I need to edit every mention of Catalina_Home to Catalina_Home2 in the *.properties files? No, just start the second instance from a shell with the appropriate value for CATALINA_HOME defined. -- Hassan Schroeder [EMAIL PROTECTED] - 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: Monitoring Tomcat availability in a load balanced capacity
On Wed, Nov 12, 2008 at 9:42 AM, Adam Gordon [EMAIL PROTECTED] wrote: We're running two Tomcat (5.5.16) instances in a load-balanced capacity behind an Apache server (2.0.55 w/ mod j/k 1.2.14). We'd like to set up some sort of monitoring that would allow us to not just check to see if the Tomcat Java processes are still running (that's easy) but to actually connect to each web server (either independently or via the load-balancer) and verify that a certain page can be returned. Since we're connecting to Tomcat via an Apache load-balancer, we don't know of a way to force the load-balancer to go to a certain Tomcat instance. Additionally, we don't know how to speak mod j/k so we can't fake a direct connection to each Tomcat instance. Simplest: add an HTTP connector to use for testing. :-) Re' forcing the instance to use -- see the entry for jvmRoute in http://tomcat.apache.org/tomcat-5.5-doc/config/engine.html FWIW, -- Hassan Schroeder [EMAIL PROTECTED] - 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: How do i specify the filename for a binary file generated by a JSP?
On Tue, Nov 18, 2008 at 5:25 PM, Jonathan Mast [EMAIL PROTECTED] wrote: How do specify the output file name from within JSP? Something like: response.setHeader(Content-disposition, attachment; filename= + encodedFileName); :: will prompt the user to `Save as` with the specified file name. HTH, -- Hassan Schroeder [EMAIL PROTECTED] - 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: java.lang.Exception: Socket bind failed: [730048]
On Thu, Nov 20, 2008 at 11:47 AM, Toby Kurien [EMAIL PROTECTED] wrote: Well, I have had this application for many years and usually restarting the whole server fixes anything, but not this time. I figure something is holding on to port 80, but I am not able to find out or terminate it. I have a bad feeling there might be a security breach or something. I have no idea what tools are available on a Windows server, but for a simple check -- what do you see when you telnet to port 80? -- Hassan Schroeder [EMAIL PROTECTED] - 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: Updating users
On Tue, Nov 25, 2008 at 6:16 PM, Cliff Binstock [EMAIL PROTECTED] wrote: I have one servlet that registers a new user. The result of this is an update of conf/tomcat-users.xml The users appear to be cached by Tomcat, and the new user can't access the webdav area until Tomcat is restarted. Uh, yeah. Exactly what it says here: http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html#MemoryRealm :: along with not designed for production use. :-) Check that page for alternatives. FWIW, -- Hassan Schroeder [EMAIL PROTECTED] - 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: Forward all subfolders/files to the root
On Tue, Dec 2, 2008 at 7:41 PM, tuckker [EMAIL PROTECTED] wrote: How do I redirect all subfolders/files to the root of the link domain.com? If it's all one context, add something like this to your web.xml: servlet servlet-namewhatever/servlet-name jsp-file/index.jsp/jsp-file /servlet servlet-mapping servlet-namewhatever/servlet-name url-pattern/*/url-pattern /servlet-mapping :: and of course, make sure there aren't other mappings that would override that with higher specificity :-) HTH! -- Hassan Schroeder [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Unable to start tomcat server 6x
On Sat, Dec 13, 2008 at 12:15 AM, Partha parthat...@gmail.com wrote: I am unable to restart apache-tomcat-6.0.18.When i try to run the startup.sh it gives the following error: touch: cannot touch `/usr/local/apache-tomcat-6.0.18/logs/catalina.out': Read-only file system Last time I saw a spontaneous read-only FS it meant the disk was going bad. You might want to manually fsck it (after running a backup!) :-) -- Hassan Schroeder hassan.schroe...@gmail.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: File system resource for static content
On Sun, Dec 14, 2008 at 11:29 AM, Robert Drescher robert.dresc...@gmail.com wrote: In other words, if /App/Reader is my reader servlet, can I include an image into jsp with img src=/App/Reader?file=image.jpg /? Of course, it's just a URL. Better, just make it img src=/App/Reader/image.jpg / (or /App/images/image.jpg, or whatever). HTH, -- Hassan Schroeder hassan.schroe...@gmail.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: File system resource for static content
On Sun, Dec 14, 2008 at 12:45 PM, André Warnier a...@ice-sa.com wrote: What if user-a uploads a file called abc.jpg and then user-b uploads a file called abc.jpg ? Who wins ? Hopefully, everyone wins, since the Klever Koder has checked first to be sure an existing file isn't being overwritten :-) -- Hassan Schroeder hassan.schroe...@gmail.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: File system resource for static content
On Sun, Dec 14, 2008 at 1:47 PM, Robert Drescher robert.dresc...@gmail.com wrote: My reader servlet accepts a param file so far, since i haven't figured out how to do the mapping and parsing to do the /WebApp/files/filename.jpg so far. But that should be a quick fix. see HttpServletRequest.getPathInfo() -- Hassan Schroeder hassan.schroe...@gmail.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Aid: Tomcat/Apache redirect (or forwarding).
On Tue, Dec 16, 2008 at 8:06 AM, TiredMan soulscaven...@gmail.com wrote: Hi. Kees de Kooter, are you sure it is possible with mod_proxy? In this case if i will set at webdomain.com something like: ProxyPass / http://localdomain.com It will just redirect user, to http://localdomain.com which is not accessible for him. Or I am missing something? Yes -- proxy does not mean redirect. -- Hassan Schroeder hassan.schroe...@gmail.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Aid: Tomcat/Apache redirect (or forwarding).
On Tue, Dec 16, 2008 at 9:11 AM, TiredMan soulscaven...@gmail.com wrote: Thank you for reply! Maybe you can also point me where I am wrong then? And when I tried to access webdomain.com from a machine which has not acees to localdomain.com directly - i did not successed. WTF does that mean? You got a 404? 500 error? What do your httpd logs say? Does your configuration check pass? Is localdomain.com resolvable from the webdomain system? Are there any iptables rules or tcp wrappers on the localdomain.com system that would block access? -- Hassan Schroeder hassan.schroe...@gmail.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Aid: Tomcat/Apache redirect (or forwarding).
On Tue, Dec 16, 2008 at 9:59 AM, TiredMan soulscaven...@gmail.com wrote: The page cannot be found message in IE when i go to http://webdomain.com You would be better off using Firefox with the Web Developer and Firebug plugins to get better error messages, but... As for httpd logs, i not sure they are configured, because i just have next files in logs dir: Should i enable it somehow? ? Logs appear to be enabled -- what do you find in them? And again, does your configuration check pass? -- Hassan Schroeder hassan.schroe...@gmail.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Problems with web.xml generated from RAD and from Ecplise.
Developer Developer wrote: As far as my problem is concered, I solved it. Tomcat (5.5) does not support 2.4 V of the servlet. That's simply not true. Whatever your RAD problem involved, that's not part of it :-) -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Configuring Tomcat for Multiple versions
Bliesner, Christopher P wrote: I am trying to setup multiple versions of Tomcat on the same server. What changes do I need to perform to the server.xml file to make this happen? Different port and/or IP on the Connector elements should do it. If you're using different IPs, of course, that implies different Host names as well. HTH, -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SEVERE: All threads are busy, waiting. Please increase maxThreads or check the servlet status75 75
Peter Kattare wrote: Does anyone know how to get rid of this message? SEVERE: All threads are busy, waiting. Please increase maxThreads or check the servlet status75 75 Sure, find out what they're waiting for :-) Double check your code for unclosed DB connections, etc. If you have a dev/test version, stressing it with JMeter or equiv might help track down the failing area quickly. For that matter, reduce the number of available threads on your test system, and get there even quicker :-) -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to change Tomcat's default page.
Saha Rabindra N wrote: When I point my browser to tomcat server, the default page showed up. That default webapps is 'ROOT' and the file is index.jsp of ROOT webapps. So every time I point to tomcat, I actually open ROOT/index.jsp Instead of that I want to point it to some other webapps so that whenever http://machinename:8080/ is hit the browser will point to webapps/mywebapps/index.jsp Can anyone please tell me how do I do it. and what all the files I need to change ? Remove the default ROOT context and replace it with your own. :-) -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: filter-mapping to tomcat DefaultServlet
Maurice Yarrow wrote: I was able to successfully use a filter to map to another servlet in my web app. However, I was not able to map to tomcat's DefaultServlet. I tried a filter-mapping to servlet-name of default and also, as the below shows, to a servlet-name with the fully qualified classname for the tomcat DefaultServlet. Neither worked. The configuration below works for me ( TC 5.5.9/JDK1.5.0 ), with or without an additional url-pattern mapping. So default is a valid servlet-name; not sure what else might cause your filter to fail. filter !-- print oink to stdout :-) -- filter-namesquealFilter/filter-name filter-classfilters.SquealFilter/filter-class /filter filter-mapping filter-namesquealFilter/filter-name servlet-namedefault/servlet-name /filter-mapping HTH! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: CGI and JRE Questions
Randy Schuster wrote: 1. CGI Parameter Passing Enabled CGI and copied the old printenv and test-cgi scripts into my cgi directory. They run fine except when I try to pass a parameter. http://myserver/cgi-bin/test-cgi works but http://myserver/cgi-bin/test-cgi?bob throws a status 500 See: SRV.4.1 HTTP Protocol Parameters ... The parameters are stored as a set of name-value pairs. Hence, your example's not valid, but http://myserver/cgi-bin/test-cgi?bob=yerUncle :: is... 2. Multiple Simulaneous Java Versions I want to run different servlets under different versions of Java on the same box. Any pointers? Different JVMs, different instances (possibly versions) of Tomcat (which implies different IP/port combinations). Tickety-boo and bob's-- well, you know the rest :-) -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: CGI and JRE Questions
Randy Schuster wrote: Same thing happens if the parameter is bob or bob=yerUncle OK, yeah, my bad -- apparently the CGI servlet doesn't care :-) test-cgi is very simple and was just copied from an older non-servlet/Tomcat Apache CGI directory I copied this into my TC 5.5.9/JDK1.5/SuSE Linux dev system and it worked fine with either style (or no) parameter. What JDK are you using? -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: CGI and JRE Questions
Randy Schuster wrote: What JDK are you using? I am not sure how to verify what JRE/JDK Tomcat or a particular servlet is using but I am pretty sure it is java -version java version 1.3.1_10 Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_10-b03) Well, you can see in catalina.sh (or whatever startup script you're using) how it's identified. If you're unsure I'm going to guess you at least have a JAVA_HOME environment variable set somewhere. :-) But wow, that's *really* old. Any chance you could try this with a more recent (i.e., at least 1.4.2) JVM? -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat 5.5.9 basic config
Michael Chaplin wrote: I'm stumped on a simple issue. I have only one webapp in my tomcat5/webapps directory called crypto my context tags within the host tag of my server.xml is: Context path= docBase=/usr/share/tomcat5/webapps debug=9 reloadable=true privileged=true allowLinking=true /Context Context path=/crypto docBase=/usr/share/tomcat5/webapps debug=9 reloadable=true privileged=true allowLinking=true /Context I would expect that browsing to http://gus.csbc.vcu.edu:8080/crypto/ (or http://gus.csbc.vcu.edu:8080) would bring up my default page, instead I get a directory listing of one directory, crypto, which when I click on it, then I get my default page! What's wrong, or is this normal? It's doing exactly what you're telling it to, looking for your app's pages in '/usr/share/tomcat5/webapps' :-) However, putting Context elements in server.xml is discouraged. You should create a file named (assuming a vanilla install): $CATALINA_HOME/conf/Catalina/localhost/ROOT.xml :: containing: Context docBase=/usr/share/tomcat5/webapps/crypto debug=9 reloadable=true privileged=true allowLinking=true /Context :: which will make it your default webapp, accessed directly using http://gus.csbc.vcu.edu:8080/;... HTH, -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat 5.5.9 basic config
michael chaplin wrote: Thanks for the advice about moving the context tag. I moved it as you suggested and it works the same. Then either you didn't do exactly as I said, or there's something else wrong in your configuration. You won't have these problems described below when your default webapp is correctly configured. To spare the list the traffic, perhaps you can send me off-list your entire server.xml file, and an `ls -lR $CATALINA_HOME/conf` listing. But, that doesn't answer the question, how do I get it so when someone browses to my webapp root they get the default page, say index.jsp, instead of a directory listing. I don't want user's to go to a directory. The reason I ask is none of my pages that use relative urls are displaying correctly (a helloworld.jsp works fine), my suspiscion is this extra directory level is throwing the relative urls off (see http://gus.csbc.vcu.edu:8080/crypto/) -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to disable Tomcat Admin directory
Jarrod Holder wrote: How can we have Tomcat no longer listen for requests to the /admin directory? Remove the admin.xml Context file for the host in question. -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 5.5 problem - container not serving up web content
Jorge Rodriguez wrote: When I access a JSP page directly on my localhost, it loads properly with images and the stylesheet. However, when I access the JSP (or any other JSP for that matter) using a filter, servlet or the struts action forward, the JSP content loads up, but anything else (images, linked CSS files) do not get served up. I've tried every single variation of the img and link tags (relative, hardcoded, with a /) but that didn't work. My guess is that there is some additional configuration that I haven't completed Nope, there isn't -- your app (or your install) is broken :-) The only possible relevant info that shows up related to errors/warnings is the following log: Nov 17, 2005 1:50:23 PM org.apache.catalina.startup.ContextConfig applicationWebConfig INFO: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[] My web.xml is located in \Web Content\WEB-INF\web.xml, which sounds like it should be ok. Sounds to me like it's *not* OK, and getting rid of that should be the first order of business. For one thing, I'd use a path without spaces in it -- the '\Web Content\' might well be the problem... HTH! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: can't get #include to work
Rob Hills wrote: !--#include file=left_nav.shtml-- Ah, this could be a problem. From the Directives section near the bottom of the Tomcat Docs page on SSI, I believe you should be using virtual instead of file here, ie: !--#include virtual=left_nav.shtml-- !--#ECHO VAR=DATE_LOCAL -- Also, not sure here, but it wouldn't surprise me if the directives were case sensitive - this might work if it were: !--#echo var=DATE_LOCAL -- No to both. I thought I'd had SSI enabled on my 5.5.9 dev machine, but it must have been an earlier setup. So just now I 1) uncommented the servlet and servlet-mapping entries for SSI in $CATALINA_HOME/conf/web.xml 2) checked for $CATALINA_HOME/server/lib/servlets-ssi.jar 3) restarted Tomcat SSI enabled. Both `file` and `virtual` work as expected, and the example ECHO works in upper or lower case. Not sure how it could be simpler. If it's not working for you, I'd say you need to take the advice about turning up the logging. :-) FWIW! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to set restrictions on the retreival of files from some directories
Alla Winter wrote: BY default it is possible to retrieve files located under the 'WEB-INF' directory. No, it's not -- that's mandated in the servlet spec (SRV 9.5). For example: www.someserver.com/WEB-INF./web.xml or www.someserver.com/WEB-INF./classes/MySer http://www.someserver.com/WEB-INF./classes/MySer%20vlet.class vlet.class Uh, what's with the '.' following the 'WEB-INF'? If that's literal, that's your problem; 'WEB-INF./' is not the same as 'WEB-INF/' :-) -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How do I force getContextPath to return
hv @ Fashion Content wrote: Is there a way have getContextPath return other than setting it up as ROOT context Not that I know of -- why is the obvious fix undesirable? I have that old problem of rewriting URLs to get rid of the pesky context path. OK, I'll bite: What old problem is that? When does a context path become pesky? -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Re site problems, here is server.xml
Scott Purcell wrote: Engine name=Catalina defaultHost=localhost Host name=www.mySite.com appBase=webapps/ unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false Context path= docBase=/mySite / /Host /Engine So, what's the issue? You have a defaultHost in your Engine element that doesn't exist; add a Host element for it. Note: it's no longer recommended to put your Context elements in server.xml -- see the docs for alternatives. -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Re site problems, here is server.xml
Scott Purcell wrote: I do not understand your comments. Could you give me a link to what part of the docs you are referring to? http://tomcat.apache.org/tomcat-5.5-doc/config/engine.html -- look at the entry for 'defaultHost' -- http://tomcat.apache.org/tomcat-5.5-doc/config/host.html http://tomcat.apache.org/tomcat-5.5-doc/config/context.html -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Help Configuring Engine/Host/Context
Scott Purcell wrote: I have one webapp that I need to configure to a DNS Entry. Below is my server.xml. My DNS is www.theuniquepear.com and it lives under webapps/unique. But with the below configuration, and when I try and hit the url it goes here: http://www.theuniquepear.com/ and does not go to the context of unique? Can anyone assist me here? If you have multiple Host elements (and you'll probably use more as you go), create an appBase *directory* for each of them, so at the simplest your server.xml (relevant section) looks like: Engine name=Standalone defaultHost=localhost Host name=localhost appBase=webapps/localhost/ Host name=www.theuniquepear.com appBase=webapps/unique/ /Engine Then, again simplified, create these three files: file {$CATALINA_HOME/conf/Catalina/localhost/ROOT.xml} contains: Context path= docBase=ROOT/ file {$CATALINA_HOME/conf/Catalina/localhost/orders.xml} contains: Context path=/orders docBase=/home/ian/orders/ file {$CATALINA_HOME/conf/Catalina/localhost/unique/ROOT.xml} contains: Context path= docBase=ROOT/ Place your unique webapp in $CATALINA_HOME/webapps/unique/ROOT and restart, and it can be accessed at http://www.theuniquepear.com And that's it :-) HTH! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to get getContextPath() to return
hv @ Fashion Content wrote: How to you get getContextPath() to return blank for a webapp ? Make that webapp the default Context for the applicable Host. -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: TryNo2: path attribute for Context element in tomcat 5.5
Akoulov, Alexandre [IT] wrote: I am just wondering if you have any comments on the following email: Is it a right way to configure a context ? You configured it one way and it didn't work. You configured it *per the documentation* and it *did* work. What kind of comment would seem to be necessary? :-) -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ssl deployment recommendations
Chris Pat wrote: I am setting up a cc processing component of my application. Can anyone recommend how to deploy the ssl layer? I'm not sure what your question is; are you talking about setting up Tomcat to use SSL for inbound connections, or doing encrypted *outbound* requests from your app to an authorization gateway? -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ssl deployment recommendations
Chris Pat wrote: Sorry I was not clear. It is for inbound connections to client browsers. Where do I begin? I assume I need to front it with Apache which means modjk, correct? Why would you assume that? You need to configure your server.xml's Connector elements properly and install your certificate -- Tomcat works just fine as a standalone Web server, including handling SSL. And, hopefully, you begin with the Fine Manual :-) -- http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html HTH, -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SSL Certificate Beginner Question
Scott Purcell wrote: How do I configure some of my pages to use https? I do not know where to begin on this? Begin with the Servlet Spec. -- SRV.12 (Security) would be apropos :-) HTH! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Upgrading Tomcat
Rhino wrote: 1. What are the major differences between the 5.0.x stream and the 5.5.x stream? The only one I really care about is 5.5 is perceptibly faster :-) 2. Are 5.5.12 and 5.0.28 both fairly stable and robust? I'm running several production sites on 5.5.9, no problems. 3. Do I need to download/install all of the different bundles for each version... Core (and manager, if you use it) are all you need, if you're running Java 1.5. 4. ...Eclipse?... Sorry, can't say -- not an Eclipse user. FWIW! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: setup for web designers?
[EMAIL PROTECTED] wrote: How do people set up their tomcat so that the web designers can work on the static content and the programmers can work on the jsp stuff without stepping on each other's toes? In my case the web designers have already been working with apache with their files in /usr/local/apache/htdocs. My first thought is to put tomcat behind apache with mod_jk but after some minimal testing I discovered that apache server side includes don't work; for example, if the html from my jsp has !--#include virtual=/header.html-- that line isn't replaced and is sent to the browser. Either Read The Fine Manual :-) http://tomcat.apache.org/tomcat-5.5-doc/ssi-howto.html :: to enable SSI in Tomcat, or use a JSP (or JSTL) include. -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: URL rewriting best practice?
Bruno Georges wrote: you can write a servlet filter for this. ... or use an existing one: http://tuckey.org/urlrewrite/ FWIW! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: MultipartRequest problem
Franklin Phan wrote: I have an old servlet that I need to recompile but cannot because it references MultipartRequest class. / I nothing about a MultipartRequest class in anyone of the above. I can venture a guess that it was a class in the javax.servlet package back in the Servlet 2.2 days, but there are no Javadocs for Servlet 2.2 implementation on the Jakarta site for me to confirm my guess. Nope, I still have the 2.2 Javadocs on my doc server (!! -- spring cleaning time approaching, methinks), and there's no such class there. Can someone give me a hint here? google 'MultipartRequest' -- first hit :-) -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: bug in manager port?
Ariel Pashtan wrote: When the standard port 8080 is used for Tomcat, there are no issues with accessing the Tomcat Manager application. However, when another port is used (defined in server.xml), access to the manager is denied. Could it be a bug, where the port number 8080 is hard-coded in some place? Nope. The manager works fine on port 80 (or for that matter any other port I've ever tried) :-) Something else in your configuration is causing your problem. -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Help me to run tomcat in cygwin.
Andrew.du wrote: How to? Just Do It :-) Seriously, what's the question? Set CATALINA_HOME, JAVA_HOME, use $CATALINA_HOME/bin/catalina.sh instead of catalina.bat. That should be all it takes... -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Configuration Question
Scott Purcell wrote: So when a user hits my site like so: http://www.xxx.com it calls the site and all is good. But here is my problem. On some search engines for whatever reason, the url shows this: http://xxx.com leaving out the www. It still brings open the site, but there is a problem. My site runs all https, and when I registered my ssl certificate, it is under the http://www.xxx.com. And when the user hits the site without the 'www' it brings up a invalid certificate. It shows the lock, but it says it is not certified by verisign. Any ideas why this is occuring, and any ideas to redirect the bad url to the good one? My configuration is the opposite -- the cert is for example.com, not www.example.com. But I use a Filter to redirect any requests for the wrong address to the preferred one. HTH! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Absolute Guide for config of JDBC Connection Pool ?
g m wrote: This problem is 'windows' (yes, spealt...B:A:D)..related. probably. :-) Same code works on the unix box. Not sure why it be different. WARNING: A docBase C:\Program Files\Apache Software Foundation\ Tomcat 5.5\webapps\DBS3 inside the host appBase ... Many people have reported problems on Windows boxes with Tomcat and Java installed in directories with spaces in the names; you might reinstall using e.g. `C:\java` and `C:`tomcat_5.5` or whatever... Having said that, what you suggest below is interesting and I will address once I have hello world on XP working I'll fix the broken configuration after I have it running? Maybe not the ideal approach. :-) FWIW! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: disable HTTP Methods DELETE, PUT
On 10/25/07, Lori Ronning [EMAIL PROTECTED] wrote: So the DELETE and PUT methods reach the application, which I assume should not happen with the configuration I have below. Maybe it does have to do with Spring, however I haven't found anything yet pointing to that. I just dropped your security constraint into an instance of TC6.0.13 and it worked as expected -- 403 response to PUT. I would suggest you create a simple test app without Spring and try it yourself :-) HTH! -- Hassan Schroeder [EMAIL PROTECTED] - 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: Virtual Host with Different IP Address
On 10/26/07, banderson [EMAIL PROTECTED] wrote: Now: server1 - mydomain.com server2 - 123.123.123.123 End result: server1 - mydomain.com server2 - sub.mydomain.com This is not a Tomcat issue, this is a DNS issue. Assign sub.mydomain.com to 123.123.123.123. -- Hassan Schroeder [EMAIL PROTECTED] - 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: Virtual Host with Different IP Address
On 10/26/07, banderson [EMAIL PROTECTED] wrote: So this can't be done with Tomcat? I don't have access to the DNS server, are there any other workarounds? If it's only for your personal use, put the name in your hosts file. Or run your own name server. The point is that *your client browser* needs a way to resolve the name sub.mydomain.com to an IP address. This is not something that Tomcat is in any way involved in. -- Hassan Schroeder [EMAIL PROTECTED] - 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: Hidden form fields not found in request
On 10/26/07, Ashok Venkat [EMAIL PROTECTED] wrote: I want to save the dimensions. After the form is posted i call a servlet to save the dimensions. I will look into using Ajax. For something like this, check out DWR -- Direct Web Remoting -- at http://getahead.org/dwr -- Hassan Schroeder [EMAIL PROTECTED] - 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: Virtual Host with Different IP Address
On 10/26/07, banderson [EMAIL PROTECTED] wrote: The site needs to be available to all of the internet. Then your system needs a DNS entry. -- Hassan Schroeder [EMAIL PROTECTED] - 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: Virtual Host with Different IP Address
On 10/26/07, banderson [EMAIL PROTECTED] wrote: Assuming my domain is hosted with godaddy, they should be able to take care of this? I'm not familiar with DNS issues, and it would be nice to know what I'm asking for %-| Who owns the netblock where this currently nameless IP resides? It sounds to me like a little independent study on DNS would be a good investment of your time :-) FWIW, -- Hassan Schroeder [EMAIL PROTECTED] - 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: Creating files dynamically and antiJarLocking
On 10/29/07, Konstantin Kolinko [EMAIL PROTECTED] wrote: Jsps are recompiled when modified, and are compiled on the first access. Thus I do not see why they cannot appear randomly. Absolutely. In my dev environment I'm constantly dropping new JSPs in, and they show up fine. If that weren't true, I'd never get /anything/ done :-) I do not remember whether it is a part of the standard, but it is a feature, and it supposedly can be turned off by some options. But the default certainly allows it, or more people would be having this same problem, I suspect... Perhaps the OP can test with a simple JSP using a fresh install? -- Hassan Schroeder [EMAIL PROTECTED] - 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: Creating files dynamically and antiJarLocking
On Oct 30, 2007 5:14 AM, Milanez, Marcus [EMAIL PROTECTED] wrote: Are you using antiJARLocking=true and antiResourcesLocking=true in your context.xml file? Whenever I drop new JSP files *without* these options set to false, they work fine, but if I do that when these options are set to true, they simply can't be found... No, never needed them... Quoting the doc on `antiResourceLocking` -- Please note that setting this to true has some side effects, including the disabling of JSP reloading in a running server: see Bugzilla 37668. If you haven't read the docs on the implications of that and also antiJARLocking, mmm, you probably should :-) FWIW, -- Hassan Schroeder [EMAIL PROTECTED] - 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: session-timeout in web.xml does not work
On Nov 2, 2007 12:08 PM, Jignesh Shah [EMAIL PROTECTED] wrote: For my application in the webapps under the WEB-INF directory I have a web.xml where I set the property session-timeout to say 10 (so 10 minutes) , but I can still use the same page after 15 minutes of inactivity. What do you mean by use the page? How are you determining that you're still in the same session as before? -- Hassan Schroeder [EMAIL PROTECTED] - 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: session-timeout in web.xml does not work
On Nov 2, 2007 12:37 PM, Jignesh Shah [EMAIL PROTECTED] wrote: I was not clear, by use the page , I meant I could still click on the buttons on the jsp and they work fine. The problem is those buttons use beans that have session validity. And you're saying the prior values are still in session? If so, I'd add a ServletContextListener to log begin/end of sessions to see what's going on. Personally, I've never had a problem with session timeouts, and I frequently change them via web.xml to test things. -- Hassan Schroeder [EMAIL PROTECTED] - 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: session-timeout in web.xml does not work
On Nov 2, 2007 12:46 PM, Hassan Schroeder [EMAIL PROTECTED] wrote: If so, I'd add a ServletContextListener to log begin/end of sessions to see what's going on. Actually, I'd stop trying to multitask /quite/ so much on a Friday :-) and implement HttpSessionListener and/or HttpSessionBindingListener interfaces... yeah. sheesh. -- Hassan Schroeder [EMAIL PROTECTED] - 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: SSL Virtual Hosts
On Nov 8, 2007 8:27 AM, Carl Vorster [EMAIL PROTECTED] wrote: I then want to run SSL hosts; but every SSL host must map to its own IP due to SSL configs. You need a separate Connector for each SSL IP. -- Hassan Schroeder [EMAIL PROTECTED] - 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: Relate URL / to a tomcat web application
On Nov 21, 2007 3:18 PM, Rocco Scappatura [EMAIL PROTECTED] wrote: If I well understood, a correct setup for a web application running under Tomcat, requires that Apache stay in the middle to: no, Apache httpd is not necessary at all. I want that the URL http://www.domain access to a web application running under Tomcat and not necessarely to the DocumentRoot of Apache. Do someone know a workaround? The workaround is to configure Tomcat per the documentation. -- Hassan Schroeder [EMAIL PROTECTED] - 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: Relate URL / to a tomcat web application
On Nov 21, 2007 10:57 PM, Rocco Scappatura [EMAIL PROTECTED] wrote: Infact, I never use Apache before, until I wolud like to deploy an application (ie: roller) and on [EMAIL PROTECTED] mailing list someone said: That was a description of *how* to use Apache httpd with Tomcat, not a claim it's necessary. Which it certainly is not -- no standard Java webapp *requires* Apache httpd in front of it. So I need to have further clarification... Not sure what you're looking for -- the best clarification would be to simply install Roller and see for yourself that it works :-) HTH, -- Hassan Schroeder [EMAIL PROTECTED] - 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 6 virtual host problem please help
On Nov 22, 2007 10:50 AM, David Gagnon [EMAIL PROTECTED] wrote: http://mysite.com:8080/toto/hello.jpg I want to access this URL using the following alias in my browser: http://alias1.com:8080/hello.jpg (note that the context name TOTO is gone) Rename toto.war to ROOT.war, which signifies the default webapp. So I need to link a virtual host to an application right? I look to but alias in the context.xml file .. I haven't found anything to specify my virtual host. Virtual hosts are specified in server.xml -- and there's a virtual hosting how-to in the docs I read the doc but since I want to deploy a war using ANT script I not sure it apply or how it should apply. How you deploy your app really doesn't have anything to do with the configuration. HTH, -- Hassan Schroeder [EMAIL PROTECTED] - 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 6 virtual host problem please help
On Nov 22, 2007 1:41 PM, Rocco Scappatura [EMAIL PROTECTED] wrote: 1) What's happen if I have 2 app which I want to assign the root URL? Sure I can't rename both WARs as ROOT.war... :-( Sure you can -- each virtual host should have a unique appBase. Again, this is covered in the virtual hosting how-to in the doc. 2) Suppose that I have another level inside the root webapps dir (eg: http://mysite.com:8080/toto/subdir/hello.jpg) and I would like to access to the URL above with http://alias1.com:8080/hello.jpg. How I behave myself in this situation? :-( Reading the docs would also be useful for this: http://tomcat.apache.org/tomcat-6.0-doc/config/context.html -- Hassan Schroeder [EMAIL PROTECTED] - 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 6 virtual host problem please help
On Nov 22, 2007 3:18 PM, Rocco Scappatura [EMAIL PROTECTED] wrote: But I get the sad surprise that indeed roller/blog is not a valid path on the filesystem. It is merely a path of a context created on the fly from data cointained in the roller data base (I suppose). /roller is a Context path -- /roller/blog is not. Have you any idea to continue toward the objetive? What *is* the objective?? Guessing: if you want a URL like http://example.com/blog, you should get that from installing roller as your default app -- that is, renamed to ROOT.war HTH, -- Hassan Schroeder [EMAIL PROTECTED] - 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: [HTTPS] more web app each one with a proper certificate
On Nov 26, 2007 11:03 AM, Christopher Schultz [EMAIL PROTECTED] wrote: Are you saying that you want to have multiple virtual hosts, each with separate certificates? I don't believe that's possible, not even with any other server. The problem is that the client contacts a particular port (usually 443 for HTTPS) and is immediately presented with the server's certificate (before any other information is transmitted). Since virtual hosting works by having the server sniff the client's Host HTTP header,... Let's clarify -- there's name-based virtual hosting, and IP-based virtual hosting. It's name-based SSL that won't work for the reasons above. IP-based virtual hosting with Tomcat works fine, by configuring a separate Connector (and keystore) for each SSL-enabled vhost. FWIW, -- Hassan Schroeder [EMAIL PROTECTED] - 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: SSL problem with Tomcat 5.5
On Nov 26, 2007 10:04 AM, Bob Grabbe [EMAIL PROTECTED] wrote: Our web site has had an ssl certificate from Godaddy for the last two years. I'm trying to update the certificate because it just expired. After the expiration, before updating I was able to get to the main page, with a certificate error. After the update of the certificaste I'm not able to get to the https page at all. Downloaded the server certificate, Godaddy certificates and recreated the keystore. ? That sounds a little off -- the keystore should have been created as a first step, followed by generating the certificate request to send off to GoDaddy. At this point I can open the http page, but if I try to open the https url I don't get anything. And the logs say ? -- Hassan Schroeder [EMAIL PROTECTED] - 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: SSL problem with Tomcat 5.5
On Nov 26, 2007 12:58 PM, Bob Grabbe [EMAIL PROTECTED] wrote: Not sure which logs would help, but I've attached a notepad file with excerpts. What would be best would be catalina.log at startup, showing whether the SSL connector started cleanly. And of course, any log entry relating specifically to an HTTPS request. I didn't generate a new csr, I figured renewing the cert shouldn't need that. Do I need to go through that or should I be able to just renew it ? Dunno about GoDaddy, but when I renew a Thawte cert for one of my sites, I have to generate a new cert request. So I just create a new keystore file, named something like keystore-example.com-2007, and use that for the new cert. HTH! -- Hassan Schroeder [EMAIL PROTECTED] - 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: SSL problem with Tomcat 5.5
On Nov 26, 2007 1:48 PM, Bob Grabbe [EMAIL PROTECTED] wrote: OK, I've attached a new file with the startup. Unfortunately I'm not seeing anything in any logs that indicate any https requests. mmm. Are you sure nothing else changed, firewall-wise? You might want to turn on the Request Dumper Valve to make sure requests are actually reaching TC. :-) Just in case, what's the command to generate a new empty keystore file ? I've seen the notes on the tomcat docs for creating the csr, but I didn't do that this time. It's all there in the SSL how-to. I'd just try it from scratch, maybe first with a self-signed cert and then go back to your cert vendor. -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]