Re: Problems with Tomcat as service on Windows Server 2003

2009-02-12 Thread André Warnier
monesseldeur wrote: Thank you both for the very comprehensible explanation. So I followed the steps awarnier suggested: (0) stopped banging the head and had a good cup of coffee =) That was probably the most important part of the solution. So it's clear now the problem is starting the

Re: Filter versus Valve

2009-02-12 Thread Kees de Kooter
Could you post the code of your valve and your filter? Please also not that a Valve is a tomcat specific thing i.e. not portable to other app servers. A Filter is part of the servlet spec and portable. On Thu, Feb 12, 2009 at 06:13, Jake Vang vangj...@googlemail.com wrote: I've been looking

Re: Apache/mod_jk serves random files from tomcat

2009-02-12 Thread Yuval Perlov
I actually upgraded from mod_jk 1.2.26 to 27 to try and make the problem go away. I see the mixup in the file sizes so thought a trace was not necessary. The mixup occurs only in tomcat originated data - the static stuff coming from httpd stays fine. Moreover, in the past I had it setup so

Re: Weblogic library and Tomcat

2009-02-12 Thread Mikolaj Rydzewski
Mark Thomas wrote: As well as JDBC drivers, logging frameworks are frequent culprits for causing this. What about commons-logging and log4j? I use following pattern in my code: import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; private static final Log

Re: Running tomcat from my code

2009-02-12 Thread André Warnier
антон кузнецов wrote: Hello. How can i start and stop tomcat from my own code? Something like startTomcat() and stopTomcat() methods, which in its turn calls to some of tomcat methods. (There is a problem that doesn't allow me to simply calls *.bat(*.sh) files). tomcat version = 6.0.13. Thanks

Re: Running tomcat from my code

2009-02-12 Thread Gregor Schneider
The main question is: - Of which type is the OP's application-code? Java? C? C++? Lisp? ;) But most important. What is the OP trying to achieve? It might well be that there's a smarter solution to the original request. Rgds Gregor -- just because your paranoid, doesn't mean they're not after

Re: Running tomcat from my code

2009-02-12 Thread André Warnier
антон кузнецов wrote: Hello. How can i start and stop tomcat from my own code? Something like startTomcat() and stopTomcat() methods, which in its turn calls to some of tomcat methods. (There is a problem that doesn't allow me to simply calls *.bat(*.sh) files). tomcat version = 6.0.13. Thanks

Re: Running tomcat from my code

2009-02-12 Thread Mikolaj Rydzewski
André Warnier wrote: You can probably stop and start individual *applications* within Tomcat programmatically, since that is what the Manager application does. Since that application's source code is available, you can peek in it to see how it works. Use JMX for such purpose. But to start

RE: Problems with Tomcat as service on Windows Server 2003

2009-02-12 Thread Peter Crowther
From: monesseldeur [mailto:raymondesseld...@gmail.com] I made a small Java web-application which prints pdf-files - on-demand - on the server. [...] When I start the server with the startup.bat, I have no problem at all. But unfortunately, that's no option. Services can't interact with the

Manage Transaction with Tomcat

2009-02-12 Thread Beguine
Hello, Its possible to manage transactions with remote calls to EJB in jboss-cointainer? Example: 1) start transaction 2) first insert with remote ejb 3) second insert with remore ejb 4) commit or rollback Thanks, Luca - --- Beguine Java Web Developer ---

Re: Running tomcat from my code

2009-02-12 Thread André Warnier
Mikolaj Rydzewski wrote: [...] You can embed Tomcat in your code as well. I'm not so good at Tomcat, and even less at Java. So this is pure curiosity on my part, but maybe it could also interest the OP. Can you elaborate a bit on the above, in just 2 lines ? Don't go too deep in Java, or I

Re: Weblogic library and Tomcat

2009-02-12 Thread Mark Thomas
Mikolaj Rydzewski wrote: Mark Thomas wrote: As well as JDBC drivers, logging frameworks are frequent culprits for causing this. What about commons-logging and log4j? I use following pattern in my code: import org.apache.commons.logging.Log; import

Re: Why is my page repeatedly invoking itself?

2009-02-12 Thread Tim Funk
Use Firefox + LiveHttpHeaders and discover that the page is probably being invoked many times (probaly due to a bad image tag or other media asset) -Tim Jonathan Mast wrote: Here's my setup: Java 1.4.2 Tomcat 5.5.17 Windows XP I'm developing in NetBeans 6.5 (which is invoking Tomcat) The page

Re: Weblogic library and Tomcat

2009-02-12 Thread Pieter Temmerman
Hi guys, I've been trying YourKit profiler, as Mark suggested. However, I am a little bit stuck. Tomcat will clear the references it has created but you are responsible for clearing the references you create. Once all the references are cleared gc will remove it. You need to find which

Re: Weblogic library and Tomcat

2009-02-12 Thread Gregor Schneider
Just a shot from the hip: Is your Webapp using RMI to communicate with WebLogic? Gregor -- just because your paranoid, doesn't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371

Re: Weblogic library and Tomcat

2009-02-12 Thread Pieter Temmerman
I'm not the developer of this webapp, so I'm afraid I cannot answer that question. On Thu, 2009-02-12 at 12:44 +0100, Gregor Schneider wrote: Just a shot from the hip: Is your Webapp using RMI to communicate with WebLogic? Gregor -- Pieter Temmerman email: ptemmerman@sadiel.es skype:

org.apache.jasper.JasperException in compiling class for JSP (tomcat4.x, apache2, mod_jk)

2009-02-12 Thread Shweta Parakh -X (shparakh - Infosys at Cisco)
Hi All, I am using Tomcat 4.1.30, Apache2.2.11 and mod_jk1.2.27. Could someone please help me with below error ? I have JAVA_HOME variable set correctly. I also tried adding below env variables to tomcat.sh but of no use. _RUNJAVA=$JAVA_HOME\bin\java _RUNJAVAW=$JAVA_HOME\bin\javaw

Re: Weblogic library and Tomcat

2009-02-12 Thread Pieter Temmerman
Is your Webapp using RMI to communicate with WebLogic? Don't know if this will answer your question, but I see that the following class is loaded: weblogic.iiop.PortableRemoteObjectDelegateImpl |--proDelegate of javax.rmi.PortableRemoteObject [Class]

Re: Trouble with cluster and JMX

2009-02-12 Thread Filip Hanik - Dev Lists
Eric B. wrote: Filip Hanik - Dev Lists devli...@hanik.com wrote in message news:49937f4b.9050...@hanik.com... sure turn on org.apache.catalina.ha.level = FINE org.apache.catalina.tribes.level = FINE in logging.properties however, regular membership discovery over multicast show up even

Problem with lib version jasper-el.jar on tomcat 6.0.18

2009-02-12 Thread ruben rubens
Hello, I found a posible bug or weird performance with tomcat 6.0.18. I'm using faces for MVC, when the context is setting the values for bean atributes from an empty input (input with null value) I don´t finally get a null value as I expect, I finally get a primitive default value. For example,

Re: Running tomcat from my code

2009-02-12 Thread André Warnier
Mikolaj Rydzewski wrote: [...] You can embed Tomcat in your code as well. I'm not so good at Tomcat, and even less at Java. So this is pure curiosity on my part, but maybe it could also interest the OP. Can you elaborate a bit on the above, in just 2 lines ? Don't go too deep in Java, or I

Re: strange problem w/ connection pool and Oracle

2009-02-12 Thread ovidiu asiminei
Hi John, This is my context.xml !-- Valve className=org.apache.catalina.valves.CometConnectionManagerValve / -- Resource name=jdbc/dev auth=Container scope=Shareable type=oracle.jdbc.pool.OracleDataSource

Re: Filter versus Valve

2009-02-12 Thread Jake Vang
The code for the Filter implementation: public class SimpleFilter implements Filter { public void destroy() { } public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException {

Re: Running tomcat from my code

2009-02-12 Thread Mikolaj Rydzewski
André Warnier wrote: I'm not so good at Tomcat, and even less at Java. So this is pure curiosity on my part, but maybe it could also interest the OP. Can you elaborate a bit on the above, in just 2 lines ? Don't go too deep in Java, or I would be lost. Use google ;-)

of the different methods to get a user-id

2009-02-12 Thread André Warnier
Hi. I am currently testing/comparing two user authentication methods for webapps, in a Windows NTLM context. Despite my abysmal lack of knowledge in matters Java and Tomcat, I notice a difference between the two, and I would like to ask here if it matters, and if yes how. Both authentication

Re: Running tomcat from my code

2009-02-12 Thread André Warnier
Mikolaj Rydzewski wrote: André Warnier wrote: I'm not so good at Tomcat, and even less at Java. So this is pure curiosity on my part, but maybe it could also interest the OP. Can you elaborate a bit on the above, in just 2 lines ? Don't go too deep in Java, or I would be lost. Use google

Re: Weblogic library and Tomcat

2009-02-12 Thread Mikolaj Rydzewski
Pieter Temmerman wrote: In my case (according to the catalina.out errors), the problem is most certainly caused by references to/from the weblogic classes. INFO: Illegal access: This instance of the web application has already been stopped. Could not load weblogic.common.T3MiscLogger.

Re: Problem with lib version jasper-el.jar on tomcat 6.0.18

2009-02-12 Thread Mark Thomas
ruben rubens wrote: Hello, I found a posible bug or weird performance with tomcat 6.0.18. I'm using faces for MVC, when the context is setting the values for bean atributes from an empty input (input with null value) I don´t finally get a null value as I expect, I finally get a primitive

Re: Weblogic library and Tomcat

2009-02-12 Thread Gregor Schneider
On Thu, Feb 12, 2009 at 1:19 PM, Pieter Temmerman ptemmerman@sadiel.es wrote: Is your Webapp using RMI to communicate with WebLogic? Don't know if this will answer your question, but I see that the following class is loaded: weblogic.iiop.PortableRemoteObjectDelegateImpl

Re: Problem with lib version jasper-el.jar on tomcat 6.0.18

2009-02-12 Thread ruben rubens
Thanks Mark, you helped me! 2009/2/12 Mark Thomas ma...@apache.org ruben rubens wrote: Hello, I found a posible bug or weird performance with tomcat 6.0.18. I'm using faces for MVC, when the context is setting the values for bean atributes from an empty input (input with null value)

Re: of the different methods to get a user-id

2009-02-12 Thread Tim Funk
Personally - I would expect request.getRemoteUser() == request.getUserPrincipal().getName() But there no literature which says that must be so. So in that absence of that - you'll probably need a RemoteUserHackFilter to unify the various behaviors and then you standardize on one model and

Re: of the different methods to get a user-id

2009-02-12 Thread André Warnier
Tim Funk wrote: Personally - I would expect request.getRemoteUser() == request.getUserPrincipal().getName() But there no literature which says that must be so. And the reality shows it isn't. So somehow there must be two distinct underlying thingies in Tomcat where the two different

Tomcat unexpectedly shuts down

2009-02-12 Thread Adlane ACHAB
hi, below is my tomcat config Tomcat VersionJVM VersionJVM VendorOS NameOS VersionOS ArchitectureApache Tomcat/6.0.181.6.0-b105Sun Microsystems Inc.Linux2.6.23.12i386 Essentially what happens is this: The server is running along fine, and then all of a sudden, for no apparent reason that we

Re: Tomcat unexpectedly shuts down

2009-02-12 Thread Mark Thomas
Adlane ACHAB wrote: hi, below is my tomcat config Tomcat VersionJVM VersionJVM VendorOS NameOS VersionOS ArchitectureApache Tomcat/6.0.181.6.0-b105Sun Microsystems Inc.Linux2.6.23.12i386 Essentially what happens is this: The server is running along fine, and then all of a sudden, for

Re: Tomcat unexpectedly shuts down

2009-02-12 Thread Adlane ACHAB
no, idon't find any exception on logs 2009/2/12 Mark Thomas ma...@apache.org Adlane ACHAB wrote: hi, below is my tomcat config Tomcat VersionJVM VersionJVM VendorOS NameOS VersionOS ArchitectureApache Tomcat/6.0.181.6.0-b105Sun Microsystems Inc.Linux2.6.23.12i386 Essentially what

RE: Tomcat unexpectedly shuts down

2009-02-12 Thread Peter Crowther
From: Adlane ACHAB [mailto:adlane.ac...@gmail.com] Tomcat VersionJVM VersionJVM VendorOS NameOS VersionOS ArchitectureApache Tomcat/6.0.181.6.0-b105Sun Microsystems Inc.Linux2.6.23.12i386 Essentially what happens is this: The server is running along fine, and then all of a sudden, for no

RE: Tomcat unexpectedly shuts down

2009-02-12 Thread Caldarale, Charles R
From: Mark Thomas [mailto:ma...@apache.org] Subject: Re: Tomcat unexpectedly shuts down The server is running along fine, and then all of a sudden, for no apparent reason that we can find, the server shuts down. Linux OOM killer? Or perhaps code in one of your webapps calling

RE: Tomcat unexpectedly shuts down

2009-02-12 Thread Caldarale, Charles R
From: Adlane ACHAB [mailto:adlane.ac...@gmail.com] Subject: Re: Tomcat unexpectedly shuts down no, idon't find any exception on logs There won't be any messages in the Tomcat logs, since the kernel just terminates the entire selected process without warning when the OOM killer fires up. -

RE: Running tomcat from my code

2009-02-12 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Running tomcat from my code You can embed Tomcat in your code as well. Can you elaborate a bit on the above, in just 2 lines ? Don't go too deep in Java, or I would be lost. You have to be lost before you can be found:

Re: Tomcat unexpectedly shuts down

2009-02-12 Thread Adlane ACHAB
no, i grep System.exit and no result found 2009/2/12 Caldarale, Charles R chuck.caldar...@unisys.com From: Mark Thomas [mailto:ma...@apache.org] Subject: Re: Tomcat unexpectedly shuts down The server is running along fine, and then all of a sudden, for no apparent reason that we can

Re: Tomcat unexpectedly shuts down

2009-02-12 Thread Gregor Schneider
What's Linux /var/log/syslog saying? Anything in there? @Chuck: never heard about the OOM-killer. But what I almost can't believe is that if such a thing exists, that it doesn't carve it's footprints into syslog... Puzzled... Gregor -- just because your paranoid, doesn't mean they're not after

Re: Running tomcat from my code

2009-02-12 Thread Mikolaj Rydzewski
André Warnier wrote: Anyway, to get back to the OP's question thus, that was not really a simple answer to his problem, was it ? He didn't say he needs simple answer. -- Mikolaj Rydzewski m...@ceti.pl - To unsubscribe,

RE: Tomcat unexpectedly shuts down

2009-02-12 Thread Caldarale, Charles R
From: Gregor Schneider [mailto:rc4...@googlemail.com] Subject: Re: Tomcat unexpectedly shuts down @Chuck: never heard about the OOM-killer. GIYF. A nasty beast, at best. But what I almost can't believe is that if such a thing exists, that it doesn't carve it's footprints into syslog...

Re: Tomcat unexpectedly shuts down

2009-02-12 Thread Adlane ACHAB
I don't think that's a memory problem [image: daily graph] 2009/2/12 Caldarale, Charles R chuck.caldar...@unisys.com From: Adlane ACHAB [mailto:adlane.ac...@gmail.com] Subject: Re: Tomcat unexpectedly shuts down no, idon't find any exception on logs There won't be any messages in the

RE: Re: Trouble with cluster and JMX

2009-02-12 Thread Jorge Medina
To get more verbose messages, the documentation mentions to use the key org.apache.catalina.tribes.MESSAGES I am currently trying it... -Jorge -Original Message- From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric B. Sent: Wednesday, February 11, 2009 11:55 PM To:

RE: Tomcat unexpectedly shuts down

2009-02-12 Thread Caldarale, Charles R
From: Adlane ACHAB [mailto:adlane.ac...@gmail.com] Subject: Re: Tomcat unexpectedly shuts down no, i grep System.exit and no result found And did you look inside all jars that your webapps might be using as libraries? You can disable System.exit() with a SecurityManager, if desired. Do the

Re: Weblogic library and Tomcat

2009-02-12 Thread Pieter Temmerman
Thanks Gregor, I'll pass that info on to the developer. Btw, I wrote a small contextListener just to play with it. In the contextDestroyed method, I print a message. The weird thing is that in catalina.out I first see a message that my application is redeploying (when I redeploy obviously)

Re: Tomcat unexpectedly shuts down

2009-02-12 Thread Adlane ACHAB
no, nothing about shutdown in tomcat logs, it just abruptly stop I will check for jar files 2009/2/12 Caldarale, Charles R chuck.caldar...@unisys.com From: Adlane ACHAB [mailto:adlane.ac...@gmail.com] Subject: Re: Tomcat unexpectedly shuts down no, i grep System.exit and no result found

RE: Tomcat unexpectedly shuts down

2009-02-12 Thread Caldarale, Charles R
From: Adlane ACHAB [mailto:adlane.ac...@gmail.com] Subject: Re: Tomcat unexpectedly shuts down no, nothing about shutdown in tomcat logs, it just abruptly stop Then it is almost definitely the Linux OOM killer. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE

RE: Weblogic library and Tomcat

2009-02-12 Thread Caldarale, Charles R
From: Pieter Temmerman [mailto:ptemmerman@sadiel.es] Subject: Re: Weblogic library and Tomcat I would rather expect my debug message before seeing the app redeploy. Sounds normal to me; the redeployment request triggers the call to the contextDestroyed() method. You might want to log a

Re: Running tomcat from my code

2009-02-12 Thread André Warnier
Mikolaj Rydzewski wrote: André Warnier wrote: Anyway, to get back to the OP's question thus, that was not really a simple answer to his problem, was it ? He didn't say he needs simple answer. Not in so many words, Pan Mikolaj, but the general tone of the question kind of implied that. Which

Re: Tomcat unexpectedly shuts down

2009-02-12 Thread Adlane ACHAB
but I think that we have enough memory,so the Linux OOM killer will not act. will do? 2009/2/12 Caldarale, Charles R chuck.caldar...@unisys.com From: Adlane ACHAB [mailto:adlane.ac...@gmail.com] Subject: Re: Tomcat unexpectedly shuts down no, nothing about shutdown in tomcat logs, it

Re: Tomcat unexpectedly shuts down

2009-02-12 Thread Gregor Schneider
Again: Anything in /var/log/syslog? If OOMKiller was invoked, there should be somehhing like Dec 16 10:31:17 velo kernel: [611084.971774] kded invoked oom-killer: gfp_mask=0x1201d2, order=0, oomkilladj=0 Rgds Gregor -- just because your paranoid, doesn't mean they're not after you...

Re: of the different methods to get a user-id

2009-02-12 Thread Pid
André Warnier wrote: Tim Funk wrote: Personally - I would expect request.getRemoteUser() == request.getUserPrincipal().getName() But there no literature which says that must be so. And the reality shows it isn't. So somehow there must be two distinct underlying thingies in Tomcat

Re: Tomcat unexpectedly shuts down

2009-02-12 Thread André Warnier
Gregor Schneider wrote: @Chuck: never heard about the OOM-killer. The Tomcat security team have been trying to find this guy for several years now, but they're being very discreet about it. One of the difficulties is that he cleans up after himself by wiping out any memory of its

Re: Tomcat unexpectedly shuts down

2009-02-12 Thread Adlane ACHAB
no, I check the var/log/syslog, no trace of oom killer 2009/2/12 Gregor Schneider rc4...@googlemail.com Again: Anything in /var/log/syslog? If OOMKiller was invoked, there should be somehhing like Dec 16 10:31:17 velo kernel: [611084.971774] kded invoked oom-killer: gfp_mask=0x1201d2,

Re: Tomcat unexpectedly shuts down

2009-02-12 Thread Pieter Temmerman
What about attaching strace to the tomcat process? Try executing strace ./bin/catalina.sh run On Thu, 2009-02-12 at 18:01 +0100, Adlane ACHAB wrote: no, I check the var/log/syslog, no trace of oom killer 2009/2/12 Gregor Schneider rc4...@googlemail.com Again: Anything in

Re: Tomcat unexpectedly shuts down

2009-02-12 Thread Adlane ACHAB
I think that will produce a hugh log file,The problem is that, tomcat didn't shutdown directly after start, it can run for one or two days and stop unexpectedly 2009/2/12 Pieter Temmerman ptemmerman@sadiel.es What about attaching strace to the tomcat process? Try executing strace

deploying web application on remote server

2009-02-12 Thread Sneha Manohar
Hi ,   I have developed web application using netbeans , I wish to deploy on remote server . I have placed files under / webapps  directory of remote server. Tomcat is unable to locate libraries .  how do I make tomcat locate libraries which are under WEB-INF/lib folder   sneha Connect

Re: strange problem w/ connection pool and Oracle

2009-02-12 Thread John Cartwright
Thanks to all who responded. Chuck seemed to hit the nail on the head - as soon as I removed the duplicate JDBC driver from the WEB-INF/lib, the problem went away. I didn't intend to have the duplicate driver there, it was the result of omitting the scopeprovided/scope in my pom.xml.

RE: of the different methods to get a user-id

2009-02-12 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: of the different methods to get a user-id I would expect request.getRemoteUser() == request.getUserPrincipal().getName() But there no literature which says that must be so. And the reality shows it isn't. So somehow there must

Re: JSP Bean not working

2009-02-12 Thread David Smith
Have you considered putting Client in a package and then referencing the package? While people occasionally get away with packageless classes, it's highly recommended that all classes be in a package. --David John Byrne wrote: Hello all, I can’t get a simple form to work. The error I’m

RE: JSP Bean not working

2009-02-12 Thread Caldarale, Charles R
From: John Byrne [mailto:jby...@snbw.org] Subject: JSP Bean not working 8: jsp:useBean id=client scope=request class=Client / JSPs are not allowed to use the default (empty) package; you need to add a package statement to your Client class and include that in the JSP. - Chuck THIS

Re: deploying web application on remote server

2009-02-12 Thread Pid
Sneha Manohar wrote: Hi , I have developed web application using netbeans , I wish to deploy on remote server . I have placed files under / webapps directory of remote server. Tomcat is unable to locate libraries . how do I make tomcat locate libraries which are under WEB-INF/lib

RE: JSP Bean not working

2009-02-12 Thread Caldarale, Charles R
From: David Smith [mailto:d...@cornell.edu] Subject: Re: JSP Bean not working it's highly recommended that all classes be in a package. For JSPs, it's not just recommended, it's required by the spec. Servlets can get away with an empty package, JSPs can't. - Chuck THIS COMMUNICATION MAY

Hello

2009-02-12 Thread Okey Kene
Hi, Am using windows vista and i wish to know what version of apache tomcat to download.cheers! Regards...Okey Kene   

Re: JSP Bean not working

2009-02-12 Thread David Smith
Caldarale, Charles R wrote: From: David Smith [mailto:d...@cornell.edu] Subject: Re: JSP Bean not working it's highly recommended that all classes be in a package. For JSPs, it's not just recommended, it's required by the spec. Servlets can get away with an empty package, JSPs

Re: Hello

2009-02-12 Thread Kees Jan Koster
Dear Okey, Am using windows vista and i wish to know what version of apache tomcat to download. Any version you like. -- Kees Jan http://java-monitor.com/forum/ kjkos...@kjkoster.org 06-51838192 Rule 1 for being in a hole: stop digging.

Re: Hello

2009-02-12 Thread Steve
Okey Kene wrote: Hi, Am using windows vista and i wish to know what version of apache tomcat to download. cheers! ** ** ** ** * * /Regards.../ /Okey Kene / either 5.x or 6.0 64bit or 32

RE: Hello

2009-02-12 Thread Caldarale, Charles R
From: Okey Kene [mailto:keneo...@yahoo.com] Subject: Hello Am using windows vista and i wish to know what version of apache tomcat to download. Resisting the temptation to answer 42, you should be aware that Tomcat is pure Java, so any of the downloadable packages are acceptable for use on

Re: deploying web application on remote server

2009-02-12 Thread Kees Jan Koster
Dear sneha, I have developed web application using netbeans , I wish to deploy on remote server . I have placed files under / webapps directory of remote server. Tomcat is unable to locate libraries . how do I make tomcat locate libraries which are under WEB-INF/lib folder Why don't

Re: Hello

2009-02-12 Thread Steve
Caldarale, Charles R wrote: From: Okey Kene [mailto:keneo...@yahoo.com] Subject: Hello Am using windows vista and i wish to know what version of apache tomcat to download. Resisting the temptation to answer 42, .. i was going to say the unisex version. but i did answer more appropriately.

RE: Hello

2009-02-12 Thread Mehrotra, Anurag
If you are using vista 64 bit, do not use the windows installer/exe. Instead unzip the tomcat zip file and then create shortcuts to startup and shutdown batch file found under ../bin folder. You will also have to install JRE 1.5.0. Tomcat complained about the JRE when I tried using the 64 bit

RE: Hello

2009-02-12 Thread Caldarale, Charles R
From: Mehrotra, Anurag [mailto:amehro...@telebright.com] Subject: RE: Hello If you are using vista 64 bit, do not use the windows installer/exe. Not true, the installer works fine on my Vista 64 box. The tomcat6.exe program in the installer (and also in the .zip download) is set up for a

Re: Hello

2009-02-12 Thread Bill Davidson
Okey Kene wrote: Am using windows vista and i wish to know what version of apache tomcat to download. Are you planning to write webapps or are you only wishing to deploy webapps you've acquired from other sources? If you wish to learn to write JEE webapps, then I recommend the latest version

Re: Problems with Tomcat as service on Windows Server 2003

2009-02-12 Thread monesseldeur
I experience that it's not that simple to find a freeware pdf viewer that can be run headless from the command line. But I keep looking on the net. Any suggestion is welcome. -- View this message in context:

Oracle connection pooling

2009-02-12 Thread Hamacher, Eric
Hello: I am in a bind. I am getting: javax.naming.NameNotFoundException: Name jdbc is not bound in this Context at org.apache.naming.NamingContext.lookup(NamingContext.java:770) at org.apache.naming.NamingContext.lookup(NamingContext.java:153) at

Re: Problems with Tomcat as service on Windows Server 2003

2009-02-12 Thread André Warnier
monesseldeur wrote: I experience that it's not that simple to find a freeware pdf viewer that can be run headless from the command line. But I keep looking on the net. Any suggestion is welcome. if it is to run headless/gui-less, I suggest you look for a pdf printer however. A viewer would

Re: Hello

2009-02-12 Thread André Warnier
Okey Kene wrote: Hi, Am using windows vista and i wish to know what version of apache tomcat to download. Smartass answer : You can download any version you like, using IE or Firefox. ;-) .. Less smartass : If you intend to also run Tomcat under Vista : (and as a redemption for

Re: Problems with Tomcat as service on Windows Server 2003

2009-02-12 Thread monesseldeur
Yes I know but at least I have a few more options to check when I look at viewers =^D awarnier wrote: m -- View this message in context: http://www.nabble.com/Problems-with-Tomcat-as-service-on-Windows-Server-2003-tp21965181p21985418.html Sent from the Tomcat - User mailing list archive

RE: Re: Trouble with cluster and JMX

2009-02-12 Thread Jorge Medina
I did not manage to get more logging from the tribes package. Did you? I am using the default tomcat-juli configuration, I didn't get any ouput about sessions replicating other than the initial startup messages. -Original Message- From: Jorge Medina [mailto:jmed...@e-dialog.com]

RE: Oracle connection pooling

2009-02-12 Thread Jorge Medina
Try ds = (DataSource)context.lookup(java:/comp/env/jdbc/GFDataSource); -Original Message- From: Hamacher, Eric [mailto:eric_hamac...@gallup.com] Sent: Thursday, February 12, 2009 3:52 PM To: users@tomcat.apache.org Subject: Oracle connection pooling Hello: I am in a bind. I am

Re: Problems with Tomcat as service on Windows Server 2003

2009-02-12 Thread André Warnier
monesseldeur wrote: Yes I know but at least I have a few more options to check when I look at viewers =^D awarnier wrote: m I also found this somewhere : AcroRd32.exe filename - Executes the Reader and displays a file.. AcroRd32.exe /p filename - Executes the Reader and prints a file..

RE: Oracle connection pooling

2009-02-12 Thread Jorge Medina
Is your Oracle database port and is the name of your SID SID? We use Oracle jdbc driver with Oracle 10g. I set the attributes on the resource to: type=javax.sql.DataSource driverClassName=oracle.jdbc.OracleDriver and no factory -Original Message- From: Hamacher, Eric

Failed installing 'Tomcat5' service

2009-02-12 Thread boraldo
Please help me with this problem. From this message I even can't understand what is going wrong. I'm installing Tomcat 5.5.17 as a Service on Windows Vista Home Basic -- View this message in context: http://www.nabble.com/Failed-installing-%27Tomcat5%27-service-tp21986081p21986081.html Sent

Re: [OT] Problems with Tomcat as service on Windows Server 2003

2009-02-12 Thread André Warnier
monesseldeur wrote: Yes I know but at least I have a few more options to check when I look at viewers =^D awarnier wrote: m I have now marked this off-ttopic, because it is getting a bit far from Tomcat issues.. You are running Tomcat under Windows. On the other hand, on my Windows

RE: Oracle connection pooling

2009-02-12 Thread Propes, Barry L
Mine differs slightly, though I see you're obviously on a diff. version of Tomcat than I am. Context initCtx = new InitialContext(); Context envCtx = (Context) initCtx.lookup(java:comp/env); // Look up our data source DataSource ds = (DataSource) envCtx.lookup(jdbc/myoracle); // Allocate and

Re: deploying web application on remote server

2009-02-12 Thread Sneha Manohar
Hi , Thanks for your reply ,  remote server is on ubuntu Operating system . Version of tomcat - 6 Version of java - jdk1.6.   I  try to load driver com.mysql.jdbc.Driver , I have put mysql-connector-java-5.1.5-bin in WEB-INF /lib folder , I get class not found exception error .   I wish to

RE: Oracle connection pooling

2009-02-12 Thread Propes, Barry L
Yeah -- looked like an odd port to me, too -- I've only seen 1521, 1526 and 1527 before. I figured his SID was just a generic placeholder for his real SID. -Original Message- From: Jorge Medina [mailto:jmed...@e-dialog.com] Sent: Thursday, February 12, 2009 4:12 PM To: Tomcat

Re: Failed installing 'Tomcat5' service

2009-02-12 Thread André Warnier
boraldo wrote: Please help me with this problem. From this message I even can't understand what is going wrong. Neither can we, unfortunately. We're good, but not /that/ good. That's a bit short in terms of information. You may want to have a look at the Windows Event logs, to see if

Re: Apache/mod_jk serves random files from tomcat

2009-02-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yuval, On 2/12/2009 3:12 AM, Yuval Perlov wrote: I actually upgraded from mod_jk 1.2.26 to 27 to try and make the problem go away. Ha! Okay. Sorry for a bad tip. ;) So, I'm definitely not going to be able to help you from here on out, but I know

Re: Weblogic library and Tomcat

2009-02-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark and Mikolaj, On 2/12/2009 6:19 AM, Mark Thomas wrote: Mikolaj Rydzewski wrote: Mark Thomas wrote: As well as JDBC drivers, logging frameworks are frequent culprits for causing this. What about commons-logging and log4j? [snip] If

Re: Problems with Tomcat as service on Windows Server 2003

2009-02-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 monesseldeur, On 2/12/2009 3:47 PM, monesseldeur wrote: I experience that it's not that simple to find a freeware pdf viewer that can be run headless from the command line. But I keep looking on the net. Any suggestion is welcome. If you have a

RE: Hello

2009-02-12 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Hello Vista 32-bit - 32-bit Java JDK or JRE Vista 64-bit - 64-bit Java JDK or JRE Not necessarily true. I run both 32- and 64-bit versions of the JVM on my Vista 64 box, because some browsers only come in 32-bit versions and

Re: deploying web application on remote server

2009-02-12 Thread Pid
Sneha Manohar wrote: Hi , Thanks for your reply , remote server is on ubuntu Operating system . Version of tomcat - 6 Version of java - jdk1.6. I try to load driver com.mysql.jdbc.Driver , I have put mysql-connector-java-5.1.5-bin in WEB-INF /lib folder , I get class not found

Re: Oracle connection pooling

2009-02-12 Thread Anurag Kapur
ds = (DataSource)context.lookup(java:/comp/env/jdbc/GFDataSource); The above works fine for me as well. But your original email mentions that you have tried it. That's weird! Anyway, try the attributes Jorge mentioned. Your context.xml /server.xml definitions look like a problem to me. The code

Re: deploying web application on remote server

2009-02-12 Thread Anurag Kapur
I try to load driver com.mysql.jdbc.Driver , I have put mysql-connector-java-5.1.5-bin in WEB-INF /lib folder , I get class not found exception error . Tomcat filters out all files with except those with a .jar extension in a lib folder. Any file except a *.jar will be ignored in the WEB-INF/lib

unable to connect to mysql on remote server

2009-02-12 Thread Sneha Manohar
Hi , I am trying to connect to mysql on remote server using following code Class.forName(com.mysql.jdbc.Driver).newInstance();      String connectionURL = jdbc:mysql://remoteHostIp:3306/test;         Connection connection = DriverManager.getConnection(connectionURL, root, );   I

Re: deploying web application on remote server

2009-02-12 Thread Sneha Manohar
Hi  Anurag ,  are you from India ..Thanks for your reply --- On Fri, 13/2/09, Anurag Kapur anuragka...@gmail.com wrote: From: Anurag Kapur anuragka...@gmail.com Subject: Re: deploying web application on remote server To: Tomcat Users List users@tomcat.apache.org, sneha_hams...@yahoo.co.in

Re: unable to connect to mysql on remote server

2009-02-12 Thread Gregor Schneider
By default, MySQL only listens on localhost. If you have configured MySQL to listen for remote connections, happy getting hacked... However, to solve your issue: - Make sure you can connect to the remote MySQL from the server where you're running Tomcat: mysql -h YOUR_HOST_HERE - u USER -p If

  1   2   >