Re: Copying large files around
Johnny Kewl wrote: --- HARBOR: http://coolharbor.100free.com/index.htm Now Tomcat is also a cool application server --- - Original Message - From: David Kerber [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Sunday, October 14, 2007 2:56 AM Subject: Re: Copying large files around If it Postgresql you using, a while a go I wrote a replication system for Postgres, and its a TC servlet. So what you could to is make a real time back up, ie as one transaction happens on the main dB its replicated on the other and visa versa dB has to be designed for it, but they always aligned. If you interested, just yell. If it was Postgres*, slaving it is possible and that is definitely more efficient/safe. p * Apparently not, as 'cost' has been referred to and the OS is Windows, which makes a commercial DB more likely. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [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 5.5.25, SSL and invalid keystore format
Hello, as I said in my original mail, the problem still persists when I define the keystore file as /tmp/tomcat.keystore for instance. Any ideas? Thanks. Best regards, Werner - Original Message - From: Martin Gainty [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, October 15, 2000 1:35 AM Subject: Re: Tomcat 5.5.25, SSL and invalid keystore format Werner--- http://tomcat.apache.org/tomcat-5.5-doc/config/http.html configure your SSL connector to define the path to your keystore file (default is .keystore) keystoreFile= Martin-- - Original Message - From: Werner Schalk [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Saturday, October 13, 2007 6:33 PM Subject: Tomcat 5.5.25, SSL and invalid keystore format Hello, I am trying to setup SSL in my Tomcat 5.5.25 (on Debian Linux) and thus downloaded a binary version of Tomcat from the Tomcat website. Now I tried to create a keystore: # keytool -genkey -v -keyalg RSA The server.xml is as follows: Connector port=8443 maxHttpHeaderSize=8192 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 enableLookups=false disableUploadTimeout=true acceptCount=100 scheme=https secure=true clientAuth=false sslProtocol=TLS / The error message in the log I am getting is: SEVERE: Catalina.start: LifecycleException: service.getName(): Catalina; Protocol handler start failed: java.io.IOException: Invalid keystore format at org.apache.catalina.connector.Connector.start(Connector.java:1097) at org.apache.catalina.core.StandardService.start(StandardService.java:457) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) What is causing this problem? Why is the keystore not valid? Has this to do with the APR or something? How would I need to create a keystore then to make it work in Tomcat? I also tried to specify the keystore location and name but that doesn't change anything...any ideas? Thank you. Best regards, Werner. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [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: 2 Tomcat
Thanks for your response. What ports your recommending? I only change the ports that appears in server.xml or I need change more choices. Thanks veru much. Regards. -- View this message in context: http://www.nabble.com/2-Tomcat-tf4618234.html#a13198987 Sent from the Tomcat - User mailing list archive at Nabble.com. - 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: 2 Tomcat
lissette wrote: What ports your recommending? I only change the ports that appears in server.xml or I need change more choices. All ports Tomcat binds to are configured in server.xml. In my previous post I said that you shouldn't forget to make sure that also the shutdown ports of your Tomcat instances are different, i. e. take a look at the top-level element in server.xml (something like Server port=8005 shutdown=SHUTDOWN ) and make sure the values of the port attribute are different for your Tomcats. Regards mks - 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: 2 Tomcat
Hello! Thanks my 2 tomcat running Ok. But I have other question, is neccesary to change redirectPort, topLostenPort, mcastPort..? And I see that a AJP 1.3 Connector on port is 8009 is correct that I put my port 8009 or I can use other port? Thanks -- View this message in context: http://www.nabble.com/2-Tomcat-tf4618234.html#a13199595 Sent from the Tomcat - User mailing list archive at Nabble.com. - 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 5.5.25, SSL and invalid keystore format
My suggestion is to regen the keystore and write down all the parameters (alias/keyalg) you specified so you can supply to the connector since you want to place the keystore in a different location use $JAVA_HOME/bin/keytool -genkey -alias WhateverAlias -keyalg RSA - keystore /tmp/tomcat.keystore write down the password (defaults to changeit) and then configure your SSL connector sslProtocol stays as TLS unless IBM when you specify SSL clientAuth is true only when you want tomcat to require all SSL clients to present client cert to use this socket SSLEnabled will require scheme and isSecure attributes to be set and passed to servlet keystoreType stays as JKS unless otherwise specified above ciphers specified only as needed algorithm stays as SunX509 unless using IBM JVM when value is assigned IbmX509 keyAlias uniquely identifies key within KeyStore (only specify when more than 1 key in KeyStore) !-- uncomment both of these in server.xml and configure as necessary Define a blocking Java SSL Coyote HTTP/1.1 Connector on port 8443 -- !-- Connector protocol=org.apache.coyote.http11.Http11Protocol port=8443 minSpareThreads=5 maxSpareThreads=75 enableLookups=true disableUploadTimeout=true acceptCount=100 maxThreads=200 scheme=https secure=true SSLEnabled=true keystoreFile=/tmp/tomcat.keystore keystorePass=changeit clientAuth=false sslProtocol=TLS/ -- -- Define a non-blocking Java SSL Coyote HTTP/1.1 Connector on port 8443 -- !-- Connector protocol=org.apache.coyote.http11.Http11NioProtocol port=8443 minSpareThreads=5 maxSpareThreads=75 enableLookups=true disableUploadTimeout=true acceptCount=100 maxThreads=200 scheme=https secure=true SSLEnabled=true keystoreFile=/tmp/tomcat.keystore keystorePass=changeit clientAuth=false sslProtocol=TLS/ --Step by step instructions available here http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html Anything missed? Martin - Original Message - From: Werner Schalk [EMAIL PROTECTED] To: Martin Gainty [EMAIL PROTECTED]; Tomcat Users List users@tomcat.apache.org Sent: Sunday, October 14, 2007 6:01 AM Subject: Re: Tomcat 5.5.25, SSL and invalid keystore format Hello, as I said in my original mail, the problem still persists when I define the keystore file as /tmp/tomcat.keystore for instance. Any ideas? Thanks. Best regards, Werner - Original Message - From: Martin Gainty [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, October 15, 2000 1:35 AM Subject: Re: Tomcat 5.5.25, SSL and invalid keystore format Werner--- http://tomcat.apache.org/tomcat-5.5-doc/config/http.html configure your SSL connector to define the path to your keystore file (default is .keystore) keystoreFile= Martin-- - Original Message - From: Werner Schalk [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Saturday, October 13, 2007 6:33 PM Subject: Tomcat 5.5.25, SSL and invalid keystore format Hello, I am trying to setup SSL in my Tomcat 5.5.25 (on Debian Linux) and thus downloaded a binary version of Tomcat from the Tomcat website. Now I tried to create a keystore: # keytool -genkey -v -keyalg RSA The server.xml is as follows: Connector port=8443 maxHttpHeaderSize=8192 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 enableLookups=false disableUploadTimeout=true acceptCount=100 scheme=https secure=true clientAuth=false sslProtocol=TLS / The error message in the log I am getting is: SEVERE: Catalina.start: LifecycleException: service.getName(): Catalina; Protocol handler start failed: java.io.IOException: Invalid keystore format at org.apache.catalina.connector.Connector.start(Connector.java:1097) at org.apache.catalina.core.StandardService.start(StandardService.java:457) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) What is causing this problem? Why is the keystore not valid? Has this to do with the APR or something? How would I need to create a keystore then to make it work in Tomcat? I also tried to specify the keystore location and name but that doesn't change anything...any ideas? Thank you. Best regards, Werner.
Re: 2 Tomcat
lissette wrote: But I have other question, is neccesary to change redirectPort, topLostenPort, mcastPort..? See the docs to get an idea what these are good for and decide for yourself if/how you have to set them. And I see that a AJP 1.3 Connector on port is 8009 is correct that I put my port 8009 or I can use other port? I don't think I understand what you want to know. You can use whatever port you wish - provided it's not in use otherwise. Regards mks - 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: newby user: processing when the server launches
On Fri, 12 Oct 2007, HODAC, Olivier wrote: I am developping my first webapp, and I need to do things at the server launching step. I understood that when a client sends the first request to the server, it loads the required classes and instanciates them. So, I have to wait for the first client to connect. Yes, pretty much everything in Java is loaded on demand. In my application, I have to perform stuff when the server starts. Where do I have to put this code? There are two ways: In old systems (where the container implements Java Servlet specification version 2.2 or earlier) you declare a servlet to be initialized on startup. You then call your application initialization routines from the init() method of this servlet. To keep things organised, it might be best that the servlet you use for application initialization does not participate in handling user events. In recent systems (so, for Servler spec v2.3 and later), you write a ServletContextListener to call your startup code. If your application contains some objects that are designed to be available for the whole lifetime of the web application, you place those objects available in the ServletContext. For the details, please see the Java Servlet Specification (pick a version that matches what is implemented by your application server). -- Wolf a.k.a. Juha Laiho Espoo, Finland (GC 3.0) GIT d- s+: a C++ ULSH$ P++@ L+++ E- W+$@ N++ !K w !O !M V PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h r+++ y ...cancel my subscription to the resurrection! (Jim Morrison) - 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: Copying large files around
Pid wrote: Johnny Kewl wrote: --- HARBOR: http://coolharbor.100free.com/index.htm Now Tomcat is also a cool application server --- - Original Message - From: David Kerber [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Sunday, October 14, 2007 2:56 AM Subject: Re: Copying large files around If it Postgresql you using, a while a go I wrote a replication system for Postgres, and its a TC servlet. So what you could to is make a real time back up, ie as one transaction happens on the main dB its replicated on the other and visa versa dB has to be designed for it, but they always aligned. If you interested, just yell. If it was Postgres*, slaving it is possible and that is definitely more efficient/safe. p * Apparently not, as 'cost' has been referred to and the OS is Windows, which makes a commercial DB more likely. Correct observation. D - 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: Does mod_jk copy memory b/w apache and tomcat (using linux, ajp13 worker)?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Moran, Moran Ben-David wrote: Apache httpd and Tomcat do not share any memory, so there is not any explicit memory-copying going on. How do they share data? For example, when Tomcat creates an HTTP response containing 50k of HTML, I assume that data exists in Tomcat's memory space. How does that data move over to apache's so it can respond to the HTTP request. If the apache and tomcat process don't use any shared buffers (in linux) wouldn't that mean the data is copied form tomcat's memory space to apache's? Yes, but not explicitly. There's no memcpy or anything like that being performed by either Tomcat or Apache httpd -- it's all being done by the TCP/IP stack. I guess that actually answers my question: the data is (probably) copied between tomcat's memory space and apache's (under ajp13). However, would there be room here for an optimization that uses a shared_buffer to communicate b/w apache tomcat on the same machine? That process is already significantly improved through the use of the loopback network interface. Remember that everything goes through the TCP/IP stack, even when the two processes are on the same machine. Most TCP/IP stacks have magic loopback devices to improve localhost-to-localhost communication. It is in the TCP/IP stack where your proposed optimization must take place, not in Tomcat or Apache httpd. However, from my understanding that can also be achieved through the jni mod_jk worker. Do you know of any good documentation on that worker? Nobody uses the jni worker anymore. The jni worker was intended to be an embedded Tomcat instance running from the mod_jk module, and is only supported in very old versions of Tomcat (3.3 IIRC). Are there limitations in doing this with newer tomcat's? Yes: it is limited in that it cannot be done. I'll bet you could hack it to work, but it would really suck. Again.. my apologies for not trying this out first.. I'm only asking because there seems to be very little in-process documentation out there (that doesn't reference very old tomcat versions). That's because the JNI options are not applicable to new versions. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHEn6D9CaO5/Lv0PARAoJBAJ0XAYO3wxRhDv4ZI9UegS0f9yX6rgCfWgD5 5xuaroN1YOCJ06+dV0AgveE= =QnjV -END PGP SIGNATURE- - 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: Does mod_jk copy memory b/w apache and tomcat (using linux, ajp13 worker)?
Chris, Thanks for taking the time to answer these. This information is very useful. I'll express more thanks with further questions. Nobody uses the jni worker anymore. The jni worker was intended to be an embedded Tomcat instance running from the mod_jk module, and is only supported in very old versions of Tomcat (3.3 IIRC). Is there any particular reason why no one is using it? It seems that with large loads of http requests and responses the in-process interface is ideal. My assumption is that the jni worker not being used anymore has something to do with apache not having good if any multi-threaded handling for modules at the time. However, with the advent of apache2's MPM worker tomcat's design (multiple threads for multiple requests) should fit like a glove. Does this make sense? Or am I am I drawing up a neat fantasy rather than a plausible story? That's because the JNI options are not applicable to new versions. Is there a way to compare how tomcat would run in-process with apache2 MPM? Do you know of any benchmarks in this direction? m - 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: Does mod_jk copy memory b/w apache and tomcat (using linux, ajp13 worker)?
Moran Ben-David [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Chris, Thanks for taking the time to answer these. This information is very useful. I'll express more thanks with further questions. Nobody uses the jni worker anymore. The jni worker was intended to be an embedded Tomcat instance running from the mod_jk module, and is only supported in very old versions of Tomcat (3.3 IIRC). Is there any particular reason why no one is using it? It seems that with large loads of http requests and responses the in-process interface is ideal. My assumption is that the jni worker not being used anymore has something to do with apache not having good if any multi-threaded handling for modules at the time. However, with the advent of apache2's MPM worker tomcat's design (multiple threads for multiple requests) should fit like a glove. Yes, that is mainly why nobody has expressed an interest in porting it to TC versions higher than 3.3. It only really works on Windows. On *nix systems you end up with multiple copies of TC running (one for each copy of httpd), with no way to control session affinity. Does this make sense? Or am I am I drawing up a neat fantasy rather than a plausible story? That's because the JNI options are not applicable to new versions. Is there a way to compare how tomcat would run in-process with apache2 MPM? Do you know of any benchmarks in this direction? You could dig up a copy of mod_jk2 and try it. I seem to remember it was relatively small. m - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [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: Perl Permissions on Tomcat
Li Ye Chen wrote: Script A (the problem script) continues to run after 2 minutes (with partial output some of the time). But script A ran under the command line (as opposed to the browser/Tomcat) is very fast -- under a second and gives full output. Script B runs under less than a second and gives full output. Sounds like you need to add some debugging to your script to figure out where the problem is. Mark - 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: Help with char encodings
Amnon Lahav wrote: Hi , i have a site configured on every possible place to utf8 , when i use it on my computer everything runs ok beside a little problem where i had to use a file uploaded with commons.fileupload , there i used get with windows1255 but everything works on my computer when i uploaded the file to the host it's not working i can see the hebrew when it comes from the DB but when i try to upload a hebrew file and read it or even hebrew in textbox it comes out as jibrish ? any udeas ? URIEncoding on the connector in server.xml perhaps? Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Fw: Does mod_jk copy memory b/w apache and tomcat (using linux, ajp13 worker)?
Ive just rebuilt mod_jk with --enable-jni according to http://tomcat.apache.org/connectors-doc/webserver_howto/apache.html and configured the connector and workers.proerties according to http://www.howtoforge.com/apache2_tomcat5_mod_jk_p3 Can I implement this new Multithreaded mod_jk.so with Apache 2.x or should I always use the prefork MPM ? M-- - Original Message - From: Bill Barker [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Sunday, October 14, 2007 5:34 PM Subject: Re: Does mod_jk copy memory b/w apache and tomcat (using linux, ajp13 worker)? Moran Ben-David [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Chris, Thanks for taking the time to answer these. This information is very useful. I'll express more thanks with further questions. Nobody uses the jni worker anymore. The jni worker was intended to be an embedded Tomcat instance running from the mod_jk module, and is only supported in very old versions of Tomcat (3.3 IIRC). Is there any particular reason why no one is using it? It seems that with large loads of http requests and responses the in-process interface is ideal. My assumption is that the jni worker not being used anymore has something to do with apache not having good if any multi-threaded handling for modules at the time. However, with the advent of apache2's MPM worker tomcat's design (multiple threads for multiple requests) should fit like a glove. Yes, that is mainly why nobody has expressed an interest in porting it to TC versions higher than 3.3. It only really works on Windows. On *nix systems you end up with multiple copies of TC running (one for each copy of httpd), with no way to control session affinity. Does this make sense? Or am I am I drawing up a neat fantasy rather than a plausible story? That's because the JNI options are not applicable to new versions. Is there a way to compare how tomcat would run in-process with apache2 MPM? Do you know of any benchmarks in this direction? You could dig up a copy of mod_jk2 and try it. I seem to remember it was relatively small. m - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [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] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat 6 failing to evaluate EL expressions, Tomcat 6 bug?!!!!
Please tell me this is not a bug in Tomcat 6, its too obvious and to some extend unacceptable I must be doing something wrong. Here is my problem, I have written my own custom component to display a div tag. the JSP is as follows: faces:view html head meta http-equiv=Content-Type content=text/html; charset=UTF-8/ titleMy Custom Tags/title /head body html:form h2Cat In The Rain/h2 mine:mytag title=#{index.title}Dancing in the rain./mine:mytag /html:form /body /html /faces:view The tag class is given below: This text #{index.title} is being interpreted as Literal text which is obviously wrong, when deployed in glassfish the code works fine. Output text in my tomcat console is MyTag.setProperties(): Title is literal text MyTag.setProperties(): title value= #{index.title} MyTag.setProperties(): Title Value expression is null The Tag class. public class MyTag extends UIComponentELTag{ private ValueExpression title; public String getComponentType() { return test.MyOutput; } public String getRendererType() { return test.MyRenderer; } @Override() protected void setProperties(UIComponent component) { super.setProperties(component); if (null!= title){ if (!title.isLiteralText()){ component.setValueExpression(component.title, title); System.out.println(MyTag.setProperties(): Its not literal text.); System.out.println(MyTag.setProperties(): title value = + title.getValue(getELContext())); } else{ component.getAttributes().put(component.title, title.getExpressionString()); System.out.println(MyTag.setProperties(): Title is literal text); System.out.println(MyTag.setProperties(): title value= + title.getExpressionString()); } } System.out.println(MyTag.setProperties(): Title Value expression is + component.getValueExpression(component.title)); } The component class. public class MyOutput extends UICommand{ public MyOutput(){ setRendererType(test.MyRenderer); } @Override() public String getFamily() { return test.MyOutput; } } The tld file ?xml version=1.0 encoding=UTF-8? taglib version=2.0 xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2eeweb-jsptaglibrary_2_0.xsd; tlib-version1.0/tlib-version short-namemine/short-name urihttp://www.my-tests.com/uri tag namemytag/name tag-classtest.MyTag/tag-class body-contentJSP/body-content description/description attribute namebinding/name requiredfalse/required rtexprvaluetrue/rtexprvalue deferred-value typetest.MyOutput/type /deferred-value description A ValueExpression that resolves to the UIComponent that corresponds to this tag. This binding allows the Java bean that contains the UIComponent to manipulate the UIComponent, its properties, and its children. /description /attribute attribute nametitle/name requiredfalse/required deferred-value typejava.lang.String/type /deferred-value description/description /attribute attribute namerendered/name requiredfalse/required deferred-value typeboolean/type /deferred-value description![CDATA[ Use the rendered attribute to indicate whether the HTML code for the component should be included in the rendered HTML page. If set to false, the rendered HTML page does not include the HTML for the component. If the component is not rendered, it is also not processed on any subsequent form submission. ]]/description /attribute attribute nameid/name requiredfalse/required rtexprvaluetrue/rtexprvalue /attribute /tag /taglib
Re: Copying large files around
--- HARBOR: http://coolharbor.100free.com/index.htm Now Tomcat is also a cool application server --- - Original Message - From: David Kerber [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Sunday, October 14, 2007 9:49 PM Subject: Re: Copying large files around Pid wrote: Johnny Kewl wrote: --- HARBOR: http://coolharbor.100free.com/index.htm Now Tomcat is also a cool application server --- - Original Message - From: David Kerber [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Sunday, October 14, 2007 2:56 AM Subject: Re: Copying large files around If it Postgresql you using, a while a go I wrote a replication system for Postgres, and its a TC servlet. So what you could to is make a real time back up, ie as one transaction happens on the main dB its replicated on the other and visa versa dB has to be designed for it, but they always aligned. If you interested, just yell. If it was Postgres*, slaving it is possible and that is definitely more efficient/safe. p * Apparently not, as 'cost' has been referred to and the OS is Windows, which makes a commercial DB more likely. Correct observation. Yes... all true, question has come along way from what initialy looked like a TC query, but yes if the user could consider replication and the required dB design, much better than moving GB files around. For a newbie it may be a little overwhelming and I just want to point out that there are many levels of replication, Microsofts replication is not like Postgres's master - slave replication, and thats a little different to my master - master replication system as well. If it is web based work that is generating these huge dB's... ie its TC that is talking to the dB, and replication is not an option on this dB, I would even look at something like a customized dB pool that duplicates transactions to a backup dB... anything to avoid huge dB backups. Then also, if it was postgres, and that was not possible even considering incremental transaction logs would be better, ie backing up a days work and not the whole dB... something like that... good luck. D - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [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]
Tomcat skips certain exceptions without logging
I am noticing this weird problem, in which tomcat randomly skips logging few exceptions. I am using tomcat 6.0.13. Can someone help me to resolve this. Regards, Prabhu - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]