Re: Lb_factor didn't work as expected

2003-03-31 Thread karthikeyan.balasubramanian
Just Wondering. Can we do load balancing between tomcats on the same system. Does it works out good or its should both be in a separate server. Have a great day. Karthikeyan B - Original Message - From: LAGALISSE Eric To: [EMAIL PROTECTED] Sent: Friday, March 21, 2003 7:48

Multiple jre's in single tomcat server

2003-03-31 Thread Surendra Kumar
Hi All We are using Tomcat version 3.3.1 in our application. We have 2 webapps. We want one of the web-app to run in jre 1.3.1 and another web-app in jre 1.4. Is this possible to do ? If yes please let me know how to do it. Thanks Surendra

Re: JNDI resources

2003-03-31 Thread Greg Speechley
I am trying to use tomcat's DBCP and access it by setting variables in server.xml and web.xml as outlined in the documentation. However it is not getting any of the values that are set in server.xml. Here is my java code: Context initCtx = new InitialContext(); Context envCtx = (Context)

RE: Tomcat context ...: list

2003-03-31 Thread graghupathy
how do i make my application 'trusted' ?? -Original Message- From: Bill Barker [mailto:[EMAIL PROTECTED] Sent: 29 March 2003 05:10 To: [EMAIL PROTECTED] Subject: Re: Tomcat context ...: list Unless you mark you app as 'trusted', you can't (since it's a major security hole). For

RE: JNDI resources

2003-03-31 Thread Roberts, Eric
Hi, What is in your web.xml relating to the datasource? If the datasource is correctly defined in server.xml, there is no need to define it in web.xml, but if you do, web.xml will supersede server.xml, and if web.xml does not have all the correct parameters, you will get this problem. HTH

Deploying a HttpSessionListener

2003-03-31 Thread Balaji
Hi, I'm trying to write a sample session listener for Tomcat 4.1.18 . The code is as follows. package com.myCompany; import javax.servlet.http.*; public class SessionCounter implements HttpSessionListener { private static int activeSessions = 0; public SessionCounter() {

Re: Multiple jre's in single tomcat server

2003-03-31 Thread Bill Barker
It's easy enough to do in general (you set 'tomcat.home' to be the Tomcat installation directory for both, and set 'tomcat.install' to point to the individual directories that have the web-apps defined.). The tricky part is how you are accessing them. If they are on seperate vhosts, then it is

Re: mutual SSL authentication

2003-03-31 Thread Janne Ruuttunen
Hi Mark, you need to use a Coyote HTTP1.1 connector, configured to use a org.apache.coyote.tomcat4.CoyoteServerSocketFactory with the clientAuth property set to true. See the Coyote part in the config reference. I agree that more should be said about this in the SSL howto. Note that Java

Session Destroyed Notification

2003-03-31 Thread Balaji
Hi, Can anyone tell me the conditions when a session is deemed to be destroyed. If there is a maximumInactiveInterval to be specified, where do I say it and is this variable global or applied to each and every application? TIA Bala

Re: Multiple jre's in single tomcat server

2003-03-31 Thread Surendra Kumar
What should be the JAVA_HOME ? Is there anyway i can define this for each web-app. Actually we have found a way to do it ie) by running Multiple Instances of Tomcat and each tomcat instance will have it's own server.xml.But we are looking for a way with single instance of Tomcat. Can you explain

RE: Multiple jre's in single tomcat server

2003-03-31 Thread Ralph Einfeldt
That is not possible. One tomcat instance can only have one vm and java home. -Original Message- From: Surendra Kumar [mailto:[EMAIL PROTECTED] Sent: Monday, March 31, 2003 1:16 PM To: Tomcat Users List Subject: Re: Multiple jre's in single tomcat server What should be the

Re: ?? Simple Newbie Question about Root Context ??

2003-03-31 Thread Tony LaPaso
Well, it sounds like a guess... - Original Message - From: Micael [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, March 31, 2003 12:33 AM Subject: Re: ?? Simple Newbie Question about Root Context ?? The reason has to be, then, that the startup of the webapp

modjk2 problems

2003-03-31 Thread Enrico Donelli
Hello everybody, I'm triyng to use apache 2.0.44 with tomcat 4.1.24 on a linux box (RedHat 7.3) I followed (I think!) the instructions reported on jakarta site (http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/installhowto.html), but in the apache error log I always get the followin

Non DBCP Solutions

2003-03-31 Thread Marco Rossi
Hi, it's possible to configure Tomcat 4.1.24 to use a Oracle DataSource, and not DBCP? Thanks in advance, marco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

how to print multi page report from jsp

2003-03-31 Thread anto paul
Hi, I have developed an intranet application using jsp/servlets. I need to print a multipage report which have common header and footer. Also I have to specify the page size and font. For single page printing I was using javascript function window.print(). But it is impossible to use in it in

Starange Problem, TOmcat compiling each time

2003-03-31 Thread Rakesh Tiwari
Hi Folks, I have a strange problem. I have a application working wit tomcat 4.1.12 on windows 2000. The problem is that for each request the JSP's are recompiled and that makes the application very slow. Is there a way by which I can tell tomcat not to compile each time ?? Waiting for any healp

Re: how to print multi page report from jsp

2003-03-31 Thread Marco Rossi
Try JasperReports (http://jasperreports.sourceforge.net/); it's an open source project to create reports server-side. Marco Hi, I have developed an intranet application using jsp/servlets. I need to print a multipage report which have common header and footer. Also I have to specify the

Re: mutual SSL authentication

2003-03-31 Thread Mark W. Webb
Is there a way that I can have apache handle all of the SSL? This would allow tomcat to only handle the servlet processing. Also, if there is a way to do this, could tomcat still get the user certificate information? I do not want to get into storing client certs in the cacerts file. I am

Re: Anygood Howto on Multiple Virtual Hosts Apache, mod_jk and Tomcat

2003-03-31 Thread John Turner
Archives. Archives. Originally posted by Glenn Nielsen in Aug 2002. See attached. John On Fri, 28 Mar 2003 09:31:15 -0800, Richie Chauhan [EMAIL PROTECTED] wrote: Hi All, With the help of everyone here - I have managed to tie together all the bits and pieces to get apache mod_jk tomcat to

RE: best practices on rotating tomcat logs

2003-03-31 Thread Shapira, Yoav
Howdy, We use nightly rotated (at midnight) log4j logs, using log4j's DailyRollingFileAppender class. It's worked very well for us. The files are automatically renamed, e.g. from x.txt to x.txt.2003-03-31, and we archive them that way. We cat them all together periodically for traffic analysis

RE: Deploying a HttpSessionListener

2003-03-31 Thread Shapira, Yoav
Howdy, Am I right in saying that I need to add this listener to the server.xml file ? If I do so, I get the following Exception. Can anyone help me getting it to work? No, you're wrong in saying that. Put the listener in your web.xml, not in tomcat's server.xml, as follows: listener

RE: how to print multi page report from jsp

2003-03-31 Thread Shapira, Yoav
Howdy, It can get tricky and unfortunately support for these type features on the client side vary dramatically from browser to browser. There are some server-side solutions, which typically let you export reports rather than try to print the HTML. This may be OK for your needs? There are also

RE: iPlanet and Tomcat 4.1.24

2003-03-31 Thread Shapira, Yoav
Howdy, OK I will come clean: I have to use Netegrity's Siteminder (4.56) for SSO services. My organization is gun shy about useing Netegrity's J2EE AppServer agents (I don't know why, I think the reason is ignorance of ASA). So I am stuck with frontending all my J2EE work with iWS (even when

Re: Multiple databases for basic auth

2003-03-31 Thread Michael D. Kirkpatrick
Thanks for you help. That worked out well enough to do the job. Craig R. McClanahan wrote: On Fri, 28 Mar 2003, Michael D. Kirkpatrick wrote: Date: Fri, 28 Mar 2003 17:04:37 -0600 From: Michael D. Kirkpatrick [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL

RE: it's always the simplest things (redeploy)

2003-03-31 Thread Shapira, Yoav
Howdy, Set unpackWARS=false and autodeploy=true in your Host element in server.xml. Make sure you app can run inside a packed WAR, i.e. it doesn't try to read/write from Files using the FileReader/Writer-type APIs. Then you can use the Ant tasks that come with tomcat to redeploy a WAR file to a

RE: Library management for Tomcat using ant

2003-03-31 Thread Shapira, Yoav
Howdy, This question has both tomcat and ant facets, as you mentioned ;) For the Ant part: you can define patternsets for your different apps in one file, giving each patternset a different ID obviously. You can then include this file in your build file, and refer to the patternset using the

RE: URGENT: java.lang.OutOfMemoryError

2003-03-31 Thread Raible, Matt
I experienced lots of OutOfMemoryError's with 4.1.18. I don't think I've seen any since upgrading to 4.1.24. HTH, Matt -Original Message- From: Galbayar Dorjgotov [mailto:[EMAIL PROTECTED] Sent: Saturday, March 29, 2003 6:26 PM To: Tomcat Users List Subject: URGENT:

RE: Multiple jre's in single tomcat server

2003-03-31 Thread Shapira, Yoav
Howdy, The general rule is one tomcat instance, one JVM. Hence one JVM version for all webapps on one tomcat instance. If you try to work around this, you are probably just cruising for a bruising... ;) How about using two separate tomcat instances? Yoav Shapira Millennium ChemInformatics

GUI for ant ...

2003-03-31 Thread graghupathy
Hi, Being a newbie to ant ( have to use it ) ... can any one give me a link to a s/w with GUI for ant ??? Gurumoorthy Raghupathy Aegon Benefit Solution Email : [EMAIL PROTECTED] Phone : 0044 20 72404801 Mobile : 07745988336

Redirecting to URL in virtual host declaration in server.xml

2003-03-31 Thread Minh Kama Yie
Hi all, My apologies if this has been addressed but I've combed both the mailing list archives and the web for something similar without any luck. My question concerns redirecting requests to a virtual host to a specified url soley using tomcat. I am currently running Apache with Tomcat

RE: Session Destroyed Notification

2003-03-31 Thread Shapira, Yoav
Howdy, The session timeout is specified in web.xml. See the Servlet Specification, v2.3. An application can also invalidate a session using the eponymous method in the HTTPSession class: see the javadocs for that method. Does invalidation equal destruction? Write a listener and you can see ;)

RE: iPlanet and Tomcat 4.1.24

2003-03-31 Thread Fred Welland
Wow, thanks for your comments. I too have very little static content; so we are in the same boat on that part. I'd be curious to know about your Siteminder ASA solution. Our SiteMinder people here say that ASA is too hard or tricky to get working and stuff like that. I am not sure I buy

Re: Multiple jre's in single tomcat server

2003-03-31 Thread Surendra Kumar
Yes , We have kept that option open. If we can't do that in single instance, we will proceed with multiple instances. Thanks Surendra - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, March 31, 2003 8:16 PM Subject: RE:

RE: Switching between releases during runtime

2003-03-31 Thread Shapira, Yoav
Howdy, Several other approaches, all I think better than your context pointer idea: - Have the context XML definition file (tomcat 4.1 or later) name a symlink as the docBase. That symlink would point to myapp-1.0 and could be changed to myapp-1.1 etc. - Have the context entry itself in the

RE: Deploying a HttpSessionListener

2003-03-31 Thread Balaji
Thanks for your response.I have it up and running. :-) Bala At 09:29 AM 3/31/2003 -0500, you wrote: Howdy, Am I right in saying that I need to add this listener to the server.xml file ? If I do so, I get the following Exception. Can anyone help me getting it to work? No, you're wrong in saying

question on storing application level config information

2003-03-31 Thread Mark W. Webb
I have some config information that I set up for my servlets. This information is stored in serialized files. I will need my servlets to access this information in their normal processing. Is there some mechanism either in the servlet API or tomcat that will allow me to 'cache' this

Not wholly a Tomcat question but

2003-03-31 Thread Sandra Patricia Hunter
Now I did a search of the archives, and found someone else with this same problem. It seemed to open a whole kettle of resentment, and I do not wish to reopen an old wound. However the question never really got answered in a way I can understand. I have found the members of this group so helpful

RE: question on storing application level config information

2003-03-31 Thread Shapira, Yoav
Howdy, It'd be very difficult for this mechanism to figure out what the object type in your serialized files is, wouldn't it? ;) What you can do: - Deserialize the files on startup, into some object (let's call it MyServletConfig). - Write or use (they are a dime a dozen out there) a

RE: Tomcat context ...: list

2003-03-31 Thread Shapira, Yoav
Howdy, You have to sign its jars with a certificate authority (CA) certificate, like x.509, and have the appropriate .policy file installed on your client accessing this webapp. Yoav Shapira Millennium ChemInformatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

RE: Tomcat-users.xml getting erased

2003-03-31 Thread Shapira, Yoav
Howdy, Several weeks ago, someone asked why the comments they were putting into tomcat-users.xml get erased all the time. This is because the UserDatabase implementation reads the tomcat-users.xml file at startup and writes it at shutdown. This class doesn't maintain comments or spacing. Your

RE: Not wholly a Tomcat question but

2003-03-31 Thread Shapira, Yoav
Howdy, Does the bean (or GetData) have a package? It should. If it doesn't have a package, Jasper will put in the org.apache.jsp package which is not what you want. Jasper uses Javac in order to compile the servlets that come out of the JSPs, so you're using Javac indirectly if you are

Re: question on storing application level config information

2003-03-31 Thread Mark W. Webb
thanks for the information. The serialized files would have a mapping from file-class. This would make the deserialization simple. Thank you for the information. This is what I had designed, but was hoping that tomcat had some way of telling the servlets to reload configuration

JNDI and mod_webapp

2003-03-31 Thread Steve Gums
I have a situation when using mod-webapp with tomcat 4.1.18 running on Solaris 2.9. The situation is as follows. I have a JNDI resource configured (shown below) Which work fine when accessing through the standard 8080 port. However my resource is no longer available when using the apache connector

Re: GUI for ant ...

2003-03-31 Thread Jean-Francois Arcand
www.netbeans.org www.eclipse.org Those are IDE who integrate ANT and have a simili GUI around ANT. -- Jeanfrancois [EMAIL PROTECTED] wrote: Hi, Being a newbie to ant ( have to use it ) ... can any one give me a link to a s/w with GUI for ant ???

RE: Where to store files in a portable app?

2003-03-31 Thread Shapira, Yoav
Howdy, There have been several approaches mentioned, and all of them seem reasonable to some extent, so I'm not going to offer any more. I just wanted to disagree with this statement: I think the decision about where the locally stored data should go should be done at build time. While that

Tomcat redirect to 8080 Help please?

2003-03-31 Thread Taylor, Robert
When I browse to my Tomcat server examples from the web, I have no problems. When I browse to my WebApp and add the port 8080 I have no problems. But when I browse to my Web App without the 8080 the request does not seem to get redirected to Tomcat. Why can I find the Tomcat Examples without

RE: URGENT: java.lang.OutOfMemoryError

2003-03-31 Thread Shapira, Yoav
Howdy, First, you need to tell if you're really leaking memory. You can do this with a Profiler, e.g. OptimizeIt or JProbe. It may be that you're not leaking memory, you just need more than the default 64MB. There are many JVM runtime parameters available for tuning the heap, the key of which

RE: Not wholly a Tomcat question but

2003-03-31 Thread Sandra Patricia Hunter
Sometimes Yoav I frighten myself with how ignorant I am. I say at the top of the bean: package idcard, and then I keep it in the idcard folder with all the other classes that are part of the app. Do I need to do anything else to make it a package? How would I use JIKES instead? Is it a classpath

Casting DBCP Connection to OracleConnection

2003-03-31 Thread Chakravarthy, Sundar
HI, I am using Tomcat 4.1.18 with Oracle 9i. When I try to cast the Connection returned from DBCP to OracleConnection I get a ClassCastException . Anyone here know how to cast correctly ? Thanks - To unsubscribe, e-mail:

Re: GUI for ant ...

2003-03-31 Thread Michele Neylon :: Blacknight Solutions
Hi, Being a newbie to ant ( have to use it ) ... can any one give me a link to a s/w with GUI for ant ??? As far as I know there isn't one, though I could be wrong. You should only have to type in 'ant' to run it. -- Mr. Michele Neylon Blacknight Solutions

DataSource implementation

2003-03-31 Thread Marco Rossi
Hi, it's possible to configure Tomcat 4.1.24 to use another DataSource implementation, and not DBCP? Thanks, marco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Anygood Howto on Multiple Virtual Hosts Apache, mod_jk and Tomcat

2003-03-31 Thread Michele Neylon :: Blacknight Solutions
John Turner is rumoured to have said http://www.galatea.com - there are a couple of Flash Guides that should help. -- Mr. Michele Neylon Blacknight Solutions http://www.blacknightsolutions.com/ Reseller plans now available This e-mail messages has been scanned by MailScanner and is

RE: Not wholly a Tomcat question but

2003-03-31 Thread Shapira, Yoav
Howdy, Sometimes Yoav I frighten myself with how ignorant I am. It doesn't seem like your ignorant at all ;) You can be sure for every question you ask, at least 3 people on the list have run into the problem, and most people on this list aren't at all clueless... I say at the top of the

Re: Casting DBCP Connection to OracleConnection

2003-03-31 Thread Marco Rossi
I have the same problem. If you find a solution, please reply HI, I am using Tomcat 4.1.18 with Oracle 9i. When I try to cast the Connection returned from DBCP to OracleConnection I get a ClassCastException . Anyone here know how to cast correctly ? Thanks

Re: DataSource implementation

2003-03-31 Thread Jeff Mesnil
Hi, Marco Rossi wrote: Hi, it's possible to configure Tomcat 4.1.24 to use another DataSource implementation, and not DBCP? yes. Tomcat can be configured to use another DataSource than DBCP by modifying its server.xml file (see JNDI DataSource HOWTO[1]). AS an example, I've done it to use a

Re: Casting DBCP Connection to OracleConnection

2003-03-31 Thread Tim Funk
All dbcp objects have a getDelegate() method (I think). But you'll need to do 2 casts. - dbcpConn = (DBCPClassCast)conn-- The dbcp connection - myOraConn = (OraClassCast)dbcpConn.getDelegate() -- Get the underlying implementation Look at the DBCP javadocs for the correct class names. BUT

RE: Not wholly a Tomcat question but

2003-03-31 Thread Sandra Patricia Hunter
It doesn't seem like your ignorant at all ;) Ah mush, it'll win me over every time! Okay: So I mucked around a very little bit: My bean DOES say package idcard; and always has, yet the $jsp.java file says package org.apache.jsp like you said. I have restarted Tomcat several times since this

RE: Casting DBCP Connection to OracleConnection

2003-03-31 Thread Chakravarthy, Sundar
I tried the following with no success, 1. PoolableConnection pc = (PoolableConnection)conn; 2. OracleConnection oc = (OracleConnection)pc.getDelegate(); Fails in line 2 -Sundar -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Monday, March 31, 2003 10:34 AM To:

RE: Not wholly a Tomcat question but

2003-03-31 Thread Shapira, Yoav
Howdy, Try stopping tomcat, removing the contents of the work directory, and restarting tomcat. Tomcat recompiles JSP files on an as-needed bases, e.g. when they change. If they don't change, but one of the classes they depend on does change, the JSP will not be recompiled automatically. Yoav

RE: Tomcat redirect to 8080 Help please?

2003-03-31 Thread Brian Menke
By default, tomcat serves EVERYTHING on port 8080. You can easily change it to serve on port 80 so that you don't need to add any port numbers to your url. You make this change in the tomcat_install_dir\conf\server.xml file. Look for Connector

RE: Not wholly a Tomcat question but I FIXED IT!

2003-03-31 Thread Sandra Patricia Hunter
It was stupid microsoft thing: I had changed the file name from getData to GetData and microsoft didn't recognize the difference in the two names but java and tomcat sure did. Thanks for your help. Again!+ - To unsubscribe,

RE: Not wholly a Tomcat question but

2003-03-31 Thread Filip Hanik
does your JSP have the import statements? [EMAIL PROTECTED] import=idcard.*% also, have you tried in your JSP file to do % idcard.GenData data = null; % instead of % GenData data = null; % Filip -Original Message- From: Sandra Patricia Hunter [mailto:[EMAIL PROTECTED] Sent:

Re: Casting DBCP Connection to OracleConnection

2003-03-31 Thread Tim Funk
Compile fail or run-time fail? If compile fail - you need a nightly of dbcp. If run-time fail, you may need to use getInnermostDelegate() instead -Tim Chakravarthy, Sundar wrote: I tried the following with no success, 1. PoolableConnection pc = (PoolableConnection)conn; 2. OracleConnection oc =

Re: mutual SSL authentication

2003-03-31 Thread Janne Ruuttunen
- Original Message - From: Mark W. Webb [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, March 31, 2003 4:54 PM Subject: Re: mutual SSL authentication Is there a way that I can have apache handle all of the SSL? This would allow tomcat to only handle the servlet

RE: Tomcat redirect to 8080 Help please?

2003-03-31 Thread Taylor, Robert
I am puzzeled by this behavior though. I currently have IIS running on 80 and when I browse to http://IP/examples It works properly, and Tomcat serves up the proper pages based on the Servlets. When I browse to http://IP/myApp Tomcat never gets the call. When I browse to http://IP:8080/myApp

RE: Casting DBCP Connection to OracleConnection

2003-03-31 Thread Chakravarthy, Sundar
Run-time failure using both getInnermostDelegate() and getDelegate(). Any other alternatives ? -Sundar -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Monday, March 31, 2003 10:49 AM To: Tomcat Users List Subject: Re: Casting DBCP Connection to OracleConnection

[OT] Re: Casting DBCP Connection to OracleConnection

2003-03-31 Thread Tim Funk
What kind of run-time failure? Is it a class-cast exception? If so what is the exception? -Tim Chakravarthy, Sundar wrote: Run-time failure using both getInnermostDelegate() and getDelegate(). Any other alternatives ? -Sundar -Original Message- From: Tim Funk [mailto:[EMAIL

RE: [OT] Re: Casting DBCP Connection to OracleConnection

2003-03-31 Thread Chakravarthy, Sundar
Here is part of the stacktrace , 2003-03-31 10:47:41 Exception - SearchInventory:doSearch()java.lang.ClassCastException java.lang.ClassCastException at doas.inventory.SearchInventory.doSearch(SearchInventory.java:189) at

RE: Casting DBCP Connection to OracleConnection

2003-03-31 Thread Filip Hanik
hi Sundar, as an alternative, why don't you print the class names to know what you are doing for example System.out.println(delegate=+conn.getDelegate().getClass().getName()); and do that for all of the things you try to cast, that way you can see what you are accessing before you try to cast

Strange mod_jk 1.2.2 behavior?

2003-03-31 Thread Andy Meadows
We are experiencing a weird behavior with DirectoryIndex using apache (actually, it's IBM HttpServer 1.3.26) and mod_jk 1.2.2 on AIX 4.3.3 (I think). There is an application hosted by the web server that specifically states it's DirectoryIndex is index.php. That's it, nothing else. Now, when

Problems with ajp13, mod_jk, and load balancer

2003-03-31 Thread Jeff . Edwards
Hi, I'm having problems getting ajp13 working reliably with mod_jk and the load balancer. Here is my configuration: - Linux machines with Red Hat 7.2 - Apache 1.3.27 - Tomcat 4.1.x - JDK 1.4.0_01 - Running Apache AXIS web-services I have setup the workers.properties file to load balance

RE: Casting DBCP Connection to OracleConnection

2003-03-31 Thread Chakravarthy, Sundar
Strange .. the getDelegate().getClass().getName() returns oracle.jdbc.driver.OracleConnection . But the cast fails at runtime. Sundar -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent: Monday, March 31, 2003 11:05 AM To: Tomcat Users List Subject: RE: Casting DBCP

RE: Casting DBCP Connection to OracleConnection - Solved IT!

2003-03-31 Thread Chakravarthy, Sundar
I was using ojdbc_g.jar instead of classes12.zip ( i.e classes12.jar ) Sundar -Original Message- From: Chakravarthy, Sundar Sent: Monday, March 31, 2003 11:11 AM To: Tomcat Users List Subject: RE: Casting DBCP Connection to OracleConnection Strange .. the

Re: ?? Simple Newbie Question about Root Context ??

2003-03-31 Thread Micael
No, it is not a guess. I mean has to be. The default has to be hardcoded somewhere, since it is not configured and it does not happen magically. At 05:59 AM 3/31/03 -0600, you wrote: Well, it sounds like a guess... - Original Message - From: Micael [EMAIL PROTECTED] To: Tomcat Users

RE: Casting DBCP Connection to OracleConnection - Solved IT!

2003-03-31 Thread Marco Rossi
Where do you find ojdbc_g.jar? I was using ojdbc_g.jar instead of classes12.zip ( i.e classes12.jar ) Sundar -Original Message- From: Chakravarthy, Sundar Sent: Monday, March 31, 2003 11:11 AM To: Tomcat Users List Subject: RE: Casting DBCP Connection to OracleConnection Strange ..

having a problem with undeploy in tomcat web manager

2003-03-31 Thread Blohm, Ed
I am having problems with the tomcat web manager. When I try to undeploy my webapp using the ant task undeploy, I get an error that looks like: undeploy: [undeploy] FAIL - Cannot remove document base for path / I can stop, start and reload my webapp using the ant tasks, but not undeploy or

Re: Memory Woes

2003-03-31 Thread Jacob Kjome
Possibly this StringBufffer.toString() memory leak bug in j2sdk1.4.1? What JDK do you use? j2sdk1.4.0 doesn't suffer from this issue... http://developer.java.sun.com/developer/bugParade/bugs/4724129.html Jake At 03:05 PM 3/30/2003 -0500, you wrote: Actually, this is 100% servlet-powered... no

RE: Casting DBCP Connection to OracleConnection - Solved IT!

2003-03-31 Thread Chakravarthy, Sundar
In my tomcat common/lib; apparently it is the debug version of Oracle's jdbc implentation. Download classes12.zip ( and rename to classes12.jar ) from Oracle site. Sundar -Original Message- From: Marco Rossi [mailto:[EMAIL PROTECTED] Sent: Monday, March 31, 2003 11:25 AM To: Tomcat

Re: ?? Simple Newbie Question about Root Context ??

2003-03-31 Thread Jacob Kjome
ROOT is sort of a magical directory/WAR name that Tomcat recognizes and, if present, will be treated as the no-path context whether it has a Context ... entry or not. I think one thing you need to watch out for is having th ROOT directory present when, at the same time, you use another

Re: Re: shared resources

2003-03-31 Thread Pat McGroin
Paul, That worked *BUT* the documentation says otherwise: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html For classes and resources that must be shared across all web applications, place unpacked classes and resources under $CATALINA_HOME/shared/classes, or place JAR

RE: Casting DBCP Connection to OracleConnection - Solved IT!

2003-03-31 Thread Marco Rossi
I'm sorry, but i think to have an old release of commons-dbcp.jar, and i don't' find the getDelegate() method. It's in org.apache.commons.dbcp.PoolableConnection class?? In my tomcat common/lib; apparently it is the debug version of Oracle's jdbc implentation. Download classes12.zip ( and rename

RE: JNDI resources

2003-03-31 Thread Jacob Kjome
No, that is absolutely not true and very misleading. The spec actually declares that it should definitely be specified in web.xml no matter what. Tomcat doesn't enforce this, but if you want your webapp to be portable, then you should include it in web.xml. Remember, server.xml is Tomcat's

RE: Re: shared resources

2003-03-31 Thread Shapira, Yoav
Howdy, I believe the documentation is correct. If you've searched this list's archives for topics like this one, you'll find they come up all the time ;(. I usually chime in with the following: What do you gain from sharing a jar across webapps? With some notable exceptions, e.g. a JDBC

RE: JNDI resources

2003-03-31 Thread Steve Gums
Not that I really have a clue what I am talking about, but I receive the same error if I remove/reload the webapp with ant without restarting the tomcat application. From reading below it sounds like the entire declaration should be in the web.xml instead of the server.xml That being said, try

Re: GUI for ant ...

2003-03-31 Thread Kristján Bjarni Guðmundsson
Well it depends on what you mean, if you mean a grapchical designer for ant build xml files then I don't think there is any. But if you mean a GUI tool to run ant build files, well I personally use JEdit (http://www.jedit.org) and it has a graphical plugin (AntFarm) for runnint ant targets.

RE: GUI for ant ...

2003-03-31 Thread Reynir Hübner
Hi guys.. How about http://ant.apache.org/projects/antidote/index.html -reynir -Original Message- From: Kristján Bjarni Guðmundsson [mailto:[EMAIL PROTECTED] Sent: 31. mars 2003 16:41 To: Tomcat Users List Subject: Re: GUI for ant ... Well it depends on what you mean, if you

RE: JNDI resources

2003-03-31 Thread Jacob Kjome
No, it shouldn't be entirely in the web.xml. Consider the stuff in web.xml to be the interface, not the implementation (speaking in Java terms). The implementation, DBCP, is provided in the server's proprietary configuration. Apps are portable because the standard configuration such as

Re: having a problem with undeploy in tomcat web manager

2003-03-31 Thread Jacob Kjome
Did you originally use the Ant manager tasks to deploy the application? If not, you need to use install and remove. deploy and undeploy are a special case for remote deployment of a .war file using HTTP PUT which normal browsers don't support. So, if you didn't use the Ant manager deploy

RE: JNDI resources

2003-03-31 Thread Steve Gums
Sorry Jake, I am still trying to get the hang on this stuff, it's rather new to me. I have gotten this style of resource to work but I do have to restart tomcat after a reload otherwise I get a null datasource as well. Not sure why this is, but this is what I have seen. -Original

Re: it's always the simplest things (redeploy)

2003-03-31 Thread Dan Allen
If you don't mind me asking, where did you get the impression that the solution just seems to be 'just use resin for development' ? Many people on the struts mailinglist and in private have told me that resin is smart enough to be able to unpack a new version of a war and delete any files

Apache Tomcat 5 website administration

2003-03-31 Thread Aziz Panjwani
Hi, I just recently installed Apache Tomcat 5 on my windows 2000 system for development. Upon opening the default website (http://localhost:8080) I was unable to log in as the Administrator or Manager, two links found under the Administration group on the left navigation. Where in the

Re: Apache Tomcat 5 website administration

2003-03-31 Thread Kevin Hartig
Aziz Panjwani wrote: The documentation at this point is kinda sparse. Soon to be more complete I'm sure. The user/password definitions for the Administrator and Manger should be defined in the conf/tomcat-users.xml file. -kevin. Hi, I just recently installed Apache Tomcat 5 on my windows

RE: it's always the simplest things (redeploy)

2003-03-31 Thread Shapira, Yoav
Howdy, What every person defines as reasonable for their needs if subjective by definition. For example, Many people on the struts mailinglist and in private have told me that resin is smart enough to be able to unpack a new version of a war and delete any files which are no longer needed. For

RE: having a problem with undeploy in tomcat web manager

2003-03-31 Thread Blohm, Ed
Since the application is at root I cannot deploy or install my webapp first. I need to be able to disable the app and free up the context path. But undeploy and remove both give me the same error. Eddie -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED] Sent: Monday, March

RE: Tomcat 4.1.24- do not follow symbolic link- works finein4.0 .6

2003-03-31 Thread Raible, Matt
You must do it for your test context - not the example context. Please post these messages to the list rather than to me directly - you'll get better support from the list. Matt -Original Message- From: Ajay Agrawal [mailto:[EMAIL PROTECTED] Sent: Monday, March 31, 2003 11:04 AM To:

Re: Re: shared resources

2003-03-31 Thread Pat McGroin
Hello. If the docs are correct, then why are my JAR files in $CATALINA_HOME/shared/lib not being loaded? The utility class in the JAR file was loaded just fine when I placed the JAR in $CATALINA_HOME/common/lib, but the docs say this is not the right place to put it. I need to share a few

Local DTDs not working

2003-03-31 Thread Simon MacMullen
I'm building a web application (or two) with Tomcat (4.1.18 LE, Windows 2000). Every time my connection to the internet goes down (or Sun's website...), Tomcat stops working, unable to resolve DTDs. Is this the correct behaviour? From googling, I gather that Tomcat is supposed to keep a local

why has tomcat just crashed

2003-03-31 Thread JS
Hi All, I recently began using the Java Web Services Devloper Pack (JWSDP) installation of tomcat, which had been running fine up until now.I changed the server.xml file briefly to try and install a new context for my app, but later replaced my changes with the original backup of the server.xml

RE: why has tomcat just crashed

2003-03-31 Thread Shapira, Yoav
Howdy, The error you posted seems to be network-related, not specific to tomcat. What happens when you try to do nslookup www.cnn.com (or whatever other site you like)? Yoav Shapira Millennium ChemInformatics -Original Message- From: JS [mailto:[EMAIL PROTECTED] Sent: Monday, March

Re: Anygood Howto on Multiple Virtual Hosts Apache, mod_jk andTomcat

2003-03-31 Thread Richard Anderson
Is there something similar for mod_jk2? --Rick On Mon, 2003-03-31 at 10:22, Michele Neylon :: Blacknight Solutions wrote: John Turner is rumoured to have said http://www.galatea.com - there are a couple of Flash Guides that should help. -- Mr. Michele Neylon Blacknight Solutions

  1   2   >