Re: Patches to french translation of manager webapp
Ok, great ! Done : 48295, 48296 and 48297. > > Please open a bugzilla issue and attach your patches there. > > Best regards, > Konstantin Kolinko > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Newbie Question
Hi All, I am trying to understand basic architecture of tomcat server and also started to look into the code. What should me my starting point (also source code wise) to understand basic workflow of tomcat server? Chinmoy
Re: Patches to french translation of manager webapp
2009/11/27 Marc Paquette : > Hello Tomcat committers, > > I have a small set of patches for french translations of text in the /manager > webapp. > > Not sure the users list is the right place for this : I looked at the dev > list, The dev list is the right place to discuss development. > but it looks like it is inhabited by robots rather by human beings :-) (I > mean, lots of automated messages from svn and bugzilla)... That means that there is more progress and less talks. ;) While the messages are automated, they originate from human actions. > > I do not have commit access, so here are the diffs attached. > None of the attachments have reached the list. Please open a bugzilla issue and attach your patches there. > The reason I submit 2 set of patches is because the first one > (eacute-instead) is pretty straightforward, while the second ones might > need a second pair of (french) eyes ! Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Tomcat Native with Apr not initializing on 8443 with SSL
Hi all, I am running Ubuntu (Hardy), have tomcat5.5 installed for hardy repo, Apr 1.2.11 ( libapr1-dev), OpenSSL 0.9.8g (libssl-dev), tcnative 1.1.13, jsvc 1.0.2, openjdk-6-jdk and openjdk-6-jre. Now without SSL set ( not listening on 8443) in server.xml, the tomcat server starts up fine. With SSL Nov 27 00:52:01 emr jsvc.exec[13418]: Nov 27, 2009 12:52:01 AM org.apache.coyote.http11.Http11AprProtocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 It just waits there forever no error messages either, I need to have SSL implemented in tcnative, any ideas... -- View this message in context: http://old.nabble.com/Tomcat-Native-with-Apr-not-initializing-on-8443-with-SSL-tp26535888p26535888.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Patches to french translation of manager webapp
Hello Tomcat committers, I have a small set of patches for french translations of text in the /manager webapp. Not sure the users list is the right place for this : I looked at the dev list, but it looks like it is inhabited by robots rather by human beings :-) (I mean, lots of automated messages from svn and bugzilla)... I do not have commit access, so here are the diffs attached. eacute-instead-of-ecircumflex-fr.patch : can be applied to both tc6.0.x/trunk and trunk i18n-french-updates-tc6.0.x.patch : more fixes, synced up with english file (some properties were missing); against tc6.0.x/trunk, after first patch above have been applied. i18n-french-updates-trunk.patch : same as above, but against trunk (so patch won't fail on some hunks). Again, this patch was made after first patch above have been applied. The reason I submit 2 set of patches is because the first one (eacute-instead) is pretty straightforward, while the second ones might need a second pair of (french) eyes ! Hope this helps ! Marc Paquette - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
404 error message
Hi, I am getting this 404 error on the second request to the same page. First time its is working fine. hwta might be the reason? Thanks -- View this message in context: http://old.nabble.com/404-error-message-tp26535875p26535875.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Problems with mod_proxy_ajp and Apache 2
"ArthIT" wrote in message news:26531167.p...@talk.nabble.com... > > Hi, > > we are facing some weird problems at one of our customers. > Our application is running on a tomcat server behind a Apache2 Webserver > which does SSL. > The servers are connected with mod_proxy_ajp. > The network is a slow 2MBit WAN which is used to capacity. > > Within this infrastructure we periodically get Broken Pipe Exceptions > which > are caused by an IOException in JKInputStream. > > Conspicuous is the following: When an IOException occurs in most of the > cases (not in all) it is followed by another one, exactly 30seconds later. > I think Apache tries to resend the request to tomcat after a timout is > reached. > > The IOExceptions in JKInputStream are thrown on AjaxRequests only > (realised > with wicktes AjaxFormSubmittingBehavior), which are done on every "onblur" > javascript event. Our app contains pretty complex forms, with many input > fields (>200). If one is tabbing fast through the form many ajax events > are > fired... > > I tried to reproduce this at our companies network with FireFox Network > throttling plugin (500Byte/s up and download), without luck. > > Note: > The customer uses IE6 and IE7. > This problem arises at the special WAN Network only. Our customer has > another internal production system (same application) at a LAN network, > which does not face these Exceptions. > > > Does anybody has a hint or idea what could be going on? That would be > great! > Many thanks in advance to everybody who investigates on this. > The first Exception below is harmless, since it is just Tomcat trying to tell Apache that it is ready for the next request, but Apache has stopped listening. It just results in the Thread going back to the pool. The second Exception below is from Tomcat requesting the POST body from Apache, but not getting it. My best guess is that Apache is timing out when trying to read the request body from the WAN. It then tells mod_proxy_ajp that it couldn't get the data it wants. Then mod_proxy_ajp thinks that the client has gone away, so signals this to Tomcat by closing the connection. This results in the second Exception below when Tomcat is trying to read from a closed connection. The Apache logs would be the place to look for more information. > See bellow the stack traces: > > catalina.out: > 20.11.2009 10:22:29 org.apache.jk.core.MsgContext action > WARNUNG: Error sending end packet > java.net.SocketException: Broken pipe > at java.net.SocketOutputStream.socketWrite0(Native Method) > at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) > at java.net.SocketOutputStream.write(SocketOutputStream.java:136) > at org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:537) > at org.apache.jk.common.JkInputStream.endMessage(JkInputStream.java:127) > at org.apache.jk.core.MsgContext.action(MsgContext.java:305) > at org.apache.coyote.Response.action(Response.java:183) > at org.apache.coyote.Response.finish(Response.java:305) > at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:205) > at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) > at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773) > at > org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703) > at > org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895) > at > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) > at java.lang.Thread.run(Thread.java:595) > > application.log: > 2009-11-20 10:22:29,042 WARN [TP-Processor2] > org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/customer] > - > Exception thrown whilst processing POSTed parameters > java.io.IOException > at org.apache.jk.common.JkInputStream.receive(JkInputStream.java:205) > at org.apache.jk.common.JkInputStream.doRead(JkInputStream.java:179) > at org.apache.coyote.Request.doRead(Request.java:419) > at > org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:264) > at org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:403) > at org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:279) > at > org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStream.java:193) > at org.apache.catalina.connector.Request.readPostBody(Request.java:2420) > at > org.apache.catalina.connector.Request.parseParameters(Request.java:2399) > at org.apache.catalina.connector.Request.getParameter(Request.java:1005) > at > org.apache.catalina.connector.RequestFacade.getParameter(RequestFacade.java:353) > at > COM.customer.foo.servlets.WrappedRequest.getParameter(WrappedRequest.java:134) > at > org.apache.wicket.protocol.http.servlet.ServletWebRequest.getParameter(ServletWebRequest.java:105) > at > org.apache.wicket.protocol.http.request.WebRequestCodingStrategy.decode(WebRequestCodingStrategy.java:198) > at org.apache.wicket.Request.getRequestParameters(Request.java:171) >
Re: mod_jk.log errors
Hi, On 25.11.2009 17:56, Steve Neidinger wrote: > Greetings, > > I'm setting up a new apache system using mod_jk to talk to 8 JBoss > instances on a separate server and I'm seeing a lot of entries in the > mod_jk.log that I find troubling. Here is a snippet: > > [Wed Nov 25 10:32:31.727 2009] [9435:2088340368] [info] > ajp_send_request::jk_ajp_common.c (1402): > (jbossjvmnumber8server-app01) failed sending request, socket -1 > prepost cping/cpong failure (errno=0) > [Wed Nov 25 10:32:31.755 2009] [8698:2812140432] [info] > ajp_send_request::jk_ajp_common.c (1402): > (jbossjvmnumber2server-app01) failed sending request, socket -1 > prepost cping/cpong failure (errno=0) > [Wed Nov 25 10:32:31.779 2009] [9229:2885569424] [info] > ajp_send_request::jk_ajp_common.c (1402): > (jbossjvmnumber5server-app01) failed sending request, socket -1 > prepost cping/cpong failure (errno=0) > [Wed Nov 25 10:32:31.797 2009] [9538:2610826128] [warn] > ajp_handle_cping_cpong::jk_ajp_common.c (883): awaited reply cpong, > received 3 instead > [Wed Nov 25 10:32:31.848 2009] [9849:2140789648] [info] > ajp_send_request::jk_ajp_common.c (1402): > (jbossjvmnumber1server-app01) failed sending request, socket -1 > prepost cping/cpong failure (errno=0) > [Wed Nov 25 10:32:31.868 2009] [8691:2948508560] [info] > ajp_send_request::jk_ajp_common.c (1402): > (jbossjvmnumber1server-app01) failed sending request, socket -1 > prepost cping/cpong failure (errno=0) > [Wed Nov 25 10:32:31.869 2009] [9229:2990467984] [info] > ajp_send_request::jk_ajp_common.c (1402): > (jbossjvmnumber1server-app01) failed sending request, socket -1 > prepost cping/cpong failure (errno=0) > [Wed Nov 25 10:32:31.869 2009] [9229:2990467984] [info] > ajp_send_request::jk_ajp_common.c (1456): > (jbossjvmnumber1server-app01) all endpoints are disconnected, detected > by connect check (0), cping (1), send (0) > [Wed Nov 25 10:32:31.873 2009] [9538:2526907280] [warn] > ajp_handle_cping_cpong::jk_ajp_common.c (883): awaited reply cpong, > received 3 instead > [Wed Nov 25 10:32:31.913 2009] [8689:2035891088] [warn] > ajp_handle_cping_cpong::jk_ajp_common.c (883): awaited reply cpong, > received 3 instead > [Wed Nov 25 10:32:31.916 2009] [8689:2969488272] [warn] > ajp_handle_cping_cpong::jk_ajp_common.c (883): awaited reply cpong, > received 3 instead > [Wed Nov 25 10:32:31.918 2009] [8698:2298137488] [warn] > ajp_handle_cping_cpong::jk_ajp_common.c (883): awaited reply cpong, > received 3 instead > [Wed Nov 25 10:32:31.933 2009] [9952:2591853456] [warn] > ajp_handle_cping_cpong::jk_ajp_common.c (883): awaited reply cpong, > received 3 instead > [Wed Nov 25 10:32:31.938 2009] [9538:2610826128] [info] > ajp_send_request::jk_ajp_common.c (1402): > (jbossjvmnumber4server-app01) failed sending request, socket -1 > prepost cping/cpong failure (errno=0) > [Wed Nov 25 10:32:31.938 2009] [9538:2610826128] [info] > ajp_send_request::jk_ajp_common.c (1456): > (jbossjvmnumber4server-app01) all endpoints are disconnected, detected > by connect check (0), cping (1), send (0) > [Wed Nov 25 10:32:32.002 2009] [8764:2130299792] [warn] > ajp_handle_cping_cpong::jk_ajp_common.c (883): awaited reply cpong, > received 3 instead > [Wed Nov 25 10:32:32.030 2009] [9538:2526907280] [info] > ajp_send_request::jk_ajp_common.c (1402): > (jbossjvmnumber4server-app01) failed sending request, socket -1 > prepost cping/cpong failure (errno=0) > [Wed Nov 25 10:32:32.030 2009] [9538:2526907280] [warn] > ajp_handle_cping_cpong::jk_ajp_common.c (883): awaited reply cpong, > received 3 instead > [Wed Nov 25 10:32:32.068 2009] [8689:2035891088] [info] > ajp_send_request::jk_ajp_common.c (1402): > (jbossjvmnumber4server-app01) failed sending request, socket -1 > prepost cping/cpong failure (errno=0) > > Here is a portion of my worker.properties file: > > # Define the common template > worker.template.type=ajp13 > worker.template.port=8009 > worker.template.lbfactor=1 > worker.template.socket_connect_timeout=5000 > worker.template.connection_pool_timeout=600 > worker.template.ping_mode=A > worker.template.ping_timeout=1 > worker.template.reply_timeout=30 > worker.template.fail_on_status=404,500,503 > worker.template.recovery_options=7 > worker.template.connection_pool_minsize=0 > worker.template.socket_keepalive=True > worker.template.retries=2 > > I've googled and can't find any specific help on these errors. > Hopefully someone can help on this. I guess this is a known JBoss bug. I had to analyze it recently. The JBoss server in that case sended an additional response packet of size 0 after the final response packet. That's a protocol violation. When mod_jk sends a cping in front of the next request, JBoss answers correctly with a cpong, but mod_jk reading from the network buffer first gets the empty response packet left over from the previous response and complains, because it's not the cpong packet. You should file a bug at JBoss for this. Regards, Rainer --
Re: How to deploy my first War in Tomcat 6?
On 26/11/2009 09:41, Jack Morton wrote: Thanx for replying p :) I'm sorry for multiples posts, is there tools automating/facilitating deployment ? a) for facilating deployment, you can have a look to these links: http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html#Executing%20Manager%20Commands%20With%20Ant http://mojo.codehaus.org/tomcat-maven-plugin/deployment.html and more with google b) for automating deployment, you can use a Integration Continuous server (like Hudson) that will build your war and deploy it (if the build is OK) with ant or maven on tomcat after every SCM modifications (if you use an SCM for your webapp) or at scheduled datetime. the job of the IC server is to trigger the build and maven or ant will do the deployment... hope this help. S. (Reply to the list please.) In what sense do you mean automating it? If you have a .war file, copying it to the appropriate location on the file system is all you need to do. The Manager app, (also in the docs), supplied with Tomcat provides information and a web UI for uploading and deploying applications. p On Thu, 2009-11-26 at 09:24 +, Pid wrote: > On 26/11/2009 09:00, jackm wrote: > > > > Hi all, > > > > I'm newbie, I installed Tomcat 6 on Ubuntu Karmic, how should I proceed to > > Deploy my first war ? > > > > Best Regards > > > > Jack > > (We got all 3 messages) > > Have you read the documentation? > > http://tomcat.apache.org/tomcat-6.0-doc/appdev/index.html > > > p - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Problems with mod_proxy_ajp and Apache 2
Hi, we are facing some weird problems at one of our customers. Our application is running on a tomcat server behind a Apache2 Webserver which does SSL. The servers are connected with mod_proxy_ajp. The network is a slow 2MBit WAN which is used to capacity. Within this infrastructure we periodically get Broken Pipe Exceptions which are caused by an IOException in JKInputStream. Conspicuous is the following: When an IOException occurs in most of the cases (not in all) it is followed by another one, exactly 30seconds later. I think Apache tries to resend the request to tomcat after a timout is reached. The IOExceptions in JKInputStream are thrown on AjaxRequests only (realised with wicktes AjaxFormSubmittingBehavior), which are done on every "onblur" javascript event. Our app contains pretty complex forms, with many input fields (>200). If one is tabbing fast through the form many ajax events are fired... I tried to reproduce this at our companies network with FireFox Network throttling plugin (500Byte/s up and download), without luck. Note: The customer uses IE6 and IE7. This problem arises at the special WAN Network only. Our customer has another internal production system (same application) at a LAN network, which does not face these Exceptions. Does anybody has a hint or idea what could be going on? That would be great! Many thanks in advance to everybody who investigates on this. See bellow the stack traces: catalina.out: 20.11.2009 10:22:29 org.apache.jk.core.MsgContext action WARNUNG: Error sending end packet java.net.SocketException: Broken pipe at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) at java.net.SocketOutputStream.write(SocketOutputStream.java:136) at org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:537) at org.apache.jk.common.JkInputStream.endMessage(JkInputStream.java:127) at org.apache.jk.core.MsgContext.action(MsgContext.java:305) at org.apache.coyote.Response.action(Response.java:183) at org.apache.coyote.Response.finish(Response.java:305) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:205) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Thread.java:595) application.log: 2009-11-20 10:22:29,042 WARN [TP-Processor2] org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/customer] - Exception thrown whilst processing POSTed parameters java.io.IOException at org.apache.jk.common.JkInputStream.receive(JkInputStream.java:205) at org.apache.jk.common.JkInputStream.doRead(JkInputStream.java:179) at org.apache.coyote.Request.doRead(Request.java:419) at org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:264) at org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:403) at org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:279) at org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStream.java:193) at org.apache.catalina.connector.Request.readPostBody(Request.java:2420) at org.apache.catalina.connector.Request.parseParameters(Request.java:2399) at org.apache.catalina.connector.Request.getParameter(Request.java:1005) at org.apache.catalina.connector.RequestFacade.getParameter(RequestFacade.java:353) at COM.customer.foo.servlets.WrappedRequest.getParameter(WrappedRequest.java:134) at org.apache.wicket.protocol.http.servlet.ServletWebRequest.getParameter(ServletWebRequest.java:105) at org.apache.wicket.protocol.http.request.WebRequestCodingStrategy.decode(WebRequestCodingStrategy.java:198) at org.apache.wicket.Request.getRequestParameters(Request.java:171) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1233) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1353) at org.apache.wicket.RequestCycle.request(RequestCycle.java:493) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:355) at org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:145) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at COM.customer.foo
Re: Logging to one file
On 26/11/2009 13:26, Thomas Zastrow wrote: Hello, I'm new to this list and I have a simple question. I activated the Aapche-HTTPD-style logging in Tomcat 6 with the line in the server.xml. It works fine, but Tomcat creates every day a new log file. I was wondering, if there is a possibility to write all the logging information to one big file instead of creating every day a new file? As far as I read in the documentation, this seems to be not possible? http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html Really? "rotatable" seems to do what you want it to, "fileDateFormat" may also be useful. p Thank you ver much! Best, Tom - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Logging to one file
Hello, I'm new to this list and I have a simple question. I activated the Aapche-HTTPD-style logging in Tomcat 6 with the line directory="logs" prefix="localhost_access_log." suffix=".log" pattern="combined" resolveHosts="true"/> in the server.xml. It works fine, but Tomcat creates every day a new log file. I was wondering, if there is a possibility to write all the logging information to one big file instead of creating every day a new file? As far as I read in the documentation, this seems to be not possible? Thank you ver much! Best, Tom -- Thomas Zastrow Seminar fuer Sprachwissenschaft Universitaet Tuebingen Wilhelm Str. 19 D-72074 Tuebingen http://www.thomas-zastrow.de Tel.: 07071/29-73968 Fax: 07071/29-5214 - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Use java 1.5 apps with tomcat 6
Am Thu, 26 Nov 2009 10:54:08 +0100 schrieb Jimmy Spam : > By default, system is using jre1.6 and If I uninstall it, tomcat 6 > doesn't work, so How can do for that tomcat use jre1.5 without crash? Please have a look at the beginning of the catalina.sh of your Tomcat-installation. There is a brief documentation how to set the intended JVM. If Opensuse is using another script to start Tomcat you will have to check if there is a setting of the environment variable JAVA_HOME. Basically you will have to set the variable JAVA_HOME to "/usr/java/latest", "/usr/java/jdk1.6.0_17" or "/usr/java/jre1.5.x_y" or where-ever the bin-directory of your JVM is. You can have dozens of different JVM under /usr/java/ (typical place for JDKs under Linux) installed. The selection happens through a "JAVA_HOME=/usr/java/latest", etc.. Usually it shouldn't be necessary to export this variable as long as catalina.sh and the environment variable setting happens in the same process. This way the impact for the rest of the OS is kept to a minimum. RU, Tobias. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Use java 1.5 apps with tomcat 6
On 26/11/2009 10:47, Jimmy Spam wrote: I'm using opensuse official package. Maybe I should try the official tomcat build and test it. The programmers says that they need jre 1.5 since his apps doesn't have tested on jre 1.6. Our programmers are dinosaurs. If they could, they continue using cobol. Well, in that case it's up to you as to whether you risk 1.6 or not. Members of this list usually recommend installing Tomcat from an apache.org download because we can't keep track of where all the different linux variants distribute parts of the server around the OS. The Tomcat Documentation is comprehensive: http://tomcat.apache.org/tomcat-6.0-doc/setup.html there's also the README file in the download itself. If you are having trouble after reading these, get back to us explaining what the problem is and what you've already tried. p Regards Pid escribió: On 26/11/2009 09:54, Jimmy Spam wrote: I understand. I'm using OpenSuse 11.1 with Tomcat 6. I've installed on my system, jre1.5, jre 1.6 and tomcat6. By default, system is using jre1.6 and If I uninstall it, tomcat 6 doesn't work, so How can do for that tomcat use jre1.5 without crash? Are you using some kind of OpenSuse packaging system, or are you installing from JREs downloaded from Sun's website & Tomcat from tomcat.apache.org? Why do you need jre1.5? As I said, in most cases jre1.6 is better - faster at least. p Thank you very much. Pid escribió: On 26/11/2009 09:03, Jimmy Spam wrote: Hi! I'm new in this mailing list, my english is a bit poor, so I can't extend so much with my presentation, hehe :-) I have a doubt since I'm using Tomcat 6. I think tomcat 6 need jre 1.6 for running itself, but, Can I configure it to use jre 1.5 or 1.6 for each application? I have applications wich uses java 1.5 and other wich uses java 1.6, but I have only a tomcat 6 server installed, so I want know If I can use this tomcat for running all my apps or need another instance of tomcat 5.5 for applications wich need java 1.5. Regards, Spamis When you start Tomcat 6, you actually start a single JVM (1.5 or 1.6) and Tomcat runs *inside* the JVM. Your applications run *inside* Tomcat. You can use either 1.5 or 1.6, but the last one is usually considered to be much better. Most 1.5 apps will run on 1.6 without modification. Tomcat does not start JVM's for each of your applications. p - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Use java 1.5 apps with tomcat 6
I'm using opensuse official package. Maybe I should try the official tomcat build and test it. The programmers says that they need jre 1.5 since his apps doesn't have tested on jre 1.6. Our programmers are dinosaurs. If they could, they continue using cobol. Regards Pid escribió: On 26/11/2009 09:54, Jimmy Spam wrote: I understand. I'm using OpenSuse 11.1 with Tomcat 6. I've installed on my system, jre1.5, jre 1.6 and tomcat6. By default, system is using jre1.6 and If I uninstall it, tomcat 6 doesn't work, so How can do for that tomcat use jre1.5 without crash? Are you using some kind of OpenSuse packaging system, or are you installing from JREs downloaded from Sun's website & Tomcat from tomcat.apache.org? Why do you need jre1.5? As I said, in most cases jre1.6 is better - faster at least. p Thank you very much. Pid escribió: On 26/11/2009 09:03, Jimmy Spam wrote: Hi! I'm new in this mailing list, my english is a bit poor, so I can't extend so much with my presentation, hehe :-) I have a doubt since I'm using Tomcat 6. I think tomcat 6 need jre 1.6 for running itself, but, Can I configure it to use jre 1.5 or 1.6 for each application? I have applications wich uses java 1.5 and other wich uses java 1.6, but I have only a tomcat 6 server installed, so I want know If I can use this tomcat for running all my apps or need another instance of tomcat 5.5 for applications wich need java 1.5. Regards, Spamis When you start Tomcat 6, you actually start a single JVM (1.5 or 1.6) and Tomcat runs *inside* the JVM. Your applications run *inside* Tomcat. You can use either 1.5 or 1.6, but the last one is usually considered to be much better. Most 1.5 apps will run on 1.6 without modification. Tomcat does not start JVM's for each of your applications. p - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: How to deploy my first War in Tomcat 6?
On 26/11/2009 09:41, Jack Morton wrote: Thanx for replying p :) I'm sorry for multiples posts, is there tools automating/facilitating deployment ? (Reply to the list please.) In what sense do you mean automating it? If you have a .war file, copying it to the appropriate location on the file system is all you need to do. The Manager app, (also in the docs), supplied with Tomcat provides information and a web UI for uploading and deploying applications. p On Thu, 2009-11-26 at 09:24 +, Pid wrote: > On 26/11/2009 09:00, jackm wrote: > > > > Hi all, > > > > I'm newbie, I installed Tomcat 6 on Ubuntu Karmic, how should I proceed to > > Deploy my first war ? > > > > Best Regards > > > > Jack > > (We got all 3 messages) > > Have you read the documentation? > > http://tomcat.apache.org/tomcat-6.0-doc/appdev/index.html > > > p - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Use java 1.5 apps with tomcat 6
On 26/11/2009 09:54, Jimmy Spam wrote: I understand. I'm using OpenSuse 11.1 with Tomcat 6. I've installed on my system, jre1.5, jre 1.6 and tomcat6. By default, system is using jre1.6 and If I uninstall it, tomcat 6 doesn't work, so How can do for that tomcat use jre1.5 without crash? Are you using some kind of OpenSuse packaging system, or are you installing from JREs downloaded from Sun's website & Tomcat from tomcat.apache.org? Why do you need jre1.5? As I said, in most cases jre1.6 is better - faster at least. p Thank you very much. Pid escribió: On 26/11/2009 09:03, Jimmy Spam wrote: Hi! I'm new in this mailing list, my english is a bit poor, so I can't extend so much with my presentation, hehe :-) I have a doubt since I'm using Tomcat 6. I think tomcat 6 need jre 1.6 for running itself, but, Can I configure it to use jre 1.5 or 1.6 for each application? I have applications wich uses java 1.5 and other wich uses java 1.6, but I have only a tomcat 6 server installed, so I want know If I can use this tomcat for running all my apps or need another instance of tomcat 5.5 for applications wich need java 1.5. Regards, Spamis When you start Tomcat 6, you actually start a single JVM (1.5 or 1.6) and Tomcat runs *inside* the JVM. Your applications run *inside* Tomcat. You can use either 1.5 or 1.6, but the last one is usually considered to be much better. Most 1.5 apps will run on 1.6 without modification. Tomcat does not start JVM's for each of your applications. p - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: How to deploy my first War in Tomcat 6?
2009/11/26 jackm : > > Hi all, > > I'm newbie, I installed Tomcat 6 on Ubuntu Karmic, how should I proceed to > Deploy my first war ? Jack, did you install it via download from the Tomcat site (http://tomcat.apache.org) or via Ubuntu's installation process? If you installed it via Ubuntu, I'd recommend asking on an Ubuntu support list. Many (most!) Linux distributions put files in very different places from the Tomcat default, and we can spend a lot of time guessing where they've chosen for each distribution. If you installed it by unzipping the download from the Tomcat site, you should be able to deploy your war simply by copying it into Tomcat's webapps directory. But it's certainly worth reading the link that Pid pointed you to, if you haven't already. - Peter - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Use java 1.5 apps with tomcat 6
I understand. I'm using OpenSuse 11.1 with Tomcat 6. I've installed on my system, jre1.5, jre 1.6 and tomcat6. By default, system is using jre1.6 and If I uninstall it, tomcat 6 doesn't work, so How can do for that tomcat use jre1.5 without crash? Thank you very much. Pid escribió: On 26/11/2009 09:03, Jimmy Spam wrote: Hi! I'm new in this mailing list, my english is a bit poor, so I can't extend so much with my presentation, hehe :-) I have a doubt since I'm using Tomcat 6. I think tomcat 6 need jre 1.6 for running itself, but, Can I configure it to use jre 1.5 or 1.6 for each application? I have applications wich uses java 1.5 and other wich uses java 1.6, but I have only a tomcat 6 server installed, so I want know If I can use this tomcat for running all my apps or need another instance of tomcat 5.5 for applications wich need java 1.5. Regards, Spamis When you start Tomcat 6, you actually start a single JVM (1.5 or 1.6) and Tomcat runs *inside* the JVM. Your applications run *inside* Tomcat. You can use either 1.5 or 1.6, but the last one is usually considered to be much better. Most 1.5 apps will run on 1.6 without modification. Tomcat does not start JVM's for each of your applications. p - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: How to deploy my first War in Tomcat 6?
On 26/11/2009 09:00, jackm wrote: Hi all, I'm newbie, I installed Tomcat 6 on Ubuntu Karmic, how should I proceed to Deploy my first war ? Best Regards Jack (We got all 3 messages) Have you read the documentation? http://tomcat.apache.org/tomcat-6.0-doc/appdev/index.html p - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Use java 1.5 apps with tomcat 6
On 26/11/2009 09:03, Jimmy Spam wrote: Hi! I'm new in this mailing list, my english is a bit poor, so I can't extend so much with my presentation, hehe :-) I have a doubt since I'm using Tomcat 6. I think tomcat 6 need jre 1.6 for running itself, but, Can I configure it to use jre 1.5 or 1.6 for each application? I have applications wich uses java 1.5 and other wich uses java 1.6, but I have only a tomcat 6 server installed, so I want know If I can use this tomcat for running all my apps or need another instance of tomcat 5.5 for applications wich need java 1.5. Regards, Spamis When you start Tomcat 6, you actually start a single JVM (1.5 or 1.6) and Tomcat runs *inside* the JVM. Your applications run *inside* Tomcat. You can use either 1.5 or 1.6, but the last one is usually considered to be much better. Most 1.5 apps will run on 1.6 without modification. Tomcat does not start JVM's for each of your applications. p - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Use java 1.5 apps with tomcat 6
Hi! I'm new in this mailing list, my english is a bit poor, so I can't extend so much with my presentation, hehe :-) I have a doubt since I'm using Tomcat 6. I think tomcat 6 need jre 1.6 for running itself, but, Can I configure it to use jre 1.5 or 1.6 for each application? I have applications wich uses java 1.5 and other wich uses java 1.6, but I have only a tomcat 6 server installed, so I want know If I can use this tomcat for running all my apps or need another instance of tomcat 5.5 for applications wich need java 1.5. Regards, Spamis
How to deploy my first War in Tomcat 6?
Hi all, I'm newbie, I installed Tomcat 6 on Ubuntu Karmic, how should I proceed to Deploy my first war ? Best Regards Jack -- View this message in context: http://old.nabble.com/How-to-deploy-my-first-War-in-Tomcat-6--tp26525293p26525293.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
How to deploy my first War in Tomcat 6?
Hi all, I'm newbie, I installed Tomcat 6 on Ubuntu Karmic, how should I proceed to Deploy my first war ? Best Regards Jack -- View this message in context: http://old.nabble.com/How-to-deploy-my-first-War-in-Tomcat-6--tp26525287p26525287.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
How to deploy my first War in Tomcat 6?
Hi all, I'm newbie, I installed Tomcat 6 on Ubuntu Karmic, how should I proceed to Deploy my first war ? Best Regards Jack -- View this message in context: http://old.nabble.com/How-to-deploy-my-first-War-in-Tomcat-6--tp26525286p26525286.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: AD Authentication
On Wednesday 25 November 2009 14:40:35 Caldarale, Charles R wrote: > > From: Samuel Penn [mailto:s...@glendale.org.uk] > > Subject: RE: AD Authentication > > > > I take it I need to configure debug through log4j now then? > > No, set the desired level of information capture in > conf/logging.properties. Sorry, that's what I meant (I'm sure it used to be log4j though). -- Be seeing you, http://www.glendale.org.uk Sam.Mail/IM (Jabber): s...@glendale.org.uk - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org