Is there a tomcat manager API? (tomcat 4.1.12)

2002-11-12 Thread Steinar Bang
I would like to reload our user webapp from our own manager webapp, when properties have been changed in the manager webapp. Is there a .jar file I could include into our own manager webapp, and an API I can access? Or is the proper way to use the HTTP interface, described here?

filter doesn't work at Tomcat4.1.12!?

2002-11-12 Thread Johnny Cui
Hi all, I have check every possible error according to some friends suggestion, however, my own filter still doesn't work.It is just a authenticater filter. the weird things is, I can see the print out lines in the filter.init() methods, this means the container has create a instance for my

JSP to JSP

2002-11-12 Thread Sudhir Kumar
i need to communicate between two jsp's which are running on 2 remote machines. both the jsp's are running on tomcat. i need to pass some data between these jsp's. both the jsp's are connected to two seperate databases. is it possible to get the data of a remote database by invoking the jsp

JNDI Connection pooling defaults

2002-11-12 Thread Madocke TomCat users
Hi guys, I realize this might be slightly off-topic, but I've got no other place to turn. I'm using Tomcat's default connection pool using the mm.mysql JDBC driver. It seems that my program creates a little too many database connections when I load about 20-30 pages at the same time. My

AW: JSP to JSP

2002-11-12 Thread Power-Netz \(Schwarz\)
is it possible to get the data of a remote database by invoking the jsp running at that location ???. Any help in this regard will be helpfull.. Why don't you connect to the other database directly ??? If you won't do that, send your data via a normal POST form to the other JSP M.Schwarz

T 3.2.1 - Single JVM?

2002-11-12 Thread Andoni
The following is in the Tomcat Users Guide for tomcat 3.2 http://jakarta.apache.org/tomcat/tomcat-3.2-doc/uguide/tomcat_ug.html bThe need for improved virtual host support/b Having each virtual host implemented by a different JVM is a huge scalability problem. The next versions of Tomcat will

Re: T 3.2.1 - Single JVM?

2002-11-12 Thread Jon Eaves
And also, just because they are different web apps doesn't mean they are different hosts. Provided it's all addressed by: www.myhost.com/webapp1 www.myhost.com/webapp2 and www.myhost.com/webapp3 Then you should be fine. Caveat: I've not used the Tomcat 3.x series in recent times. Cheers, --

Re: How to configure an URLContextFactory for tomcat

2002-11-12 Thread Jose Antonio Martinez
do you have an application server working together with tomcat? i think tomcat cant serve ejb itself --- Christian Surlykke [EMAIL PROTECTED] escribió: Hi I'm trying to call an EJB running on OC4J from a servlet. I want to use a ejb-ref element in web.xml like: ejb-ref

Re: T 3.2.1 - Single JVM? - How, with workers?

2002-11-12 Thread Andoni
How do I do this? Do I use separate Workers? Thanks, Andoni. - Original Message - From: Ralph Einfeldt [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, November 12, 2002 10:35 AM Subject: RE: T 3.2.1 - Single JVM? You don't have to install 3 JRE's. You can

Virtual Hosting without Apache?

2002-11-12 Thread John Menke
Do you need Apache to do Virtual Hosting with Tomcat? Can tomcat handle by itself? -jm -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org

RE: windows iis machine + linux tomcat machine

2002-11-12 Thread Andy Eastham
Install Apache on the Linux machine and everything will work perfectly ;-) -Original Message- From: Jose Antonio Martinez [mailto:lfbbes;yahoo.es] Sent: 12 November 2002 11:22 To: [EMAIL PROTECTED] Subject: windows iis machine + linux tomcat machine what do you think is the best

Re: Virtual Hosting without Apache?

2002-11-12 Thread Jose Antonio Martinez
tomcat can serve static and jsp/servlets request. It can be used for virtual hosting itself but considere that static request are served faster with apache. --- John Menke [EMAIL PROTECTED] escribió: Do you need Apache to do Virtual Hosting with Tomcat? Can tomcat handle by itself? -jm

RE: windows iis machine + linux tomcat machine

2002-11-12 Thread Jose Antonio Martinez
yes i know, but i cant. I want to process asp and jsp too. i know there are asp solutions for apache but i prefer to run them on windows/iis. nfs? samba? --- Andy Eastham [EMAIL PROTECTED] escribió: Install Apache on the Linux machine and everything will work perfectly ;-) -Original

Re: How to configure an URLContextFactory for tomcat

2002-11-12 Thread Christian Surlykke
Yes - OC4J (= Oracle Containers For Java) is an j2ee 1.3 compliant EJB application server. The EJB is running on OC4J and I want to open a connection to it from a servlet. The reason I want to use ejb-ref is to remove direct references to the url (ormi://localhost...) from servlet code. br.

Re: How to configure an URLContextFactory for tomcat

2002-11-12 Thread Philippe de M. Sevestre
Check the JBoss docs for a similar configuration. In short, you have to figure out how to setup the JNDI InitialContext in you app. BTW,I think you're misusing the ebj-link item. From the servlet DTD: !-- The ejb-link element is used in the ejb-ref or ejb-local-ref elements to specify that an

Re: windows iis machine + linux tomcat machine

2002-11-12 Thread Philippe de M. Sevestre
Why not SMBFS ? - Original Message - From: Jose Antonio Martinez [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: terça-feira, 12 de novembro de 2002 08:22 Subject: windows iis machine + linux tomcat machine what do you think is the best way to make work together this configuration:

RE: filter doesn't work at Tomcat4.1.12!?

2002-11-12 Thread Cox, Charlie
if your filter is not being called, then the mapping is probably not correct. Please provide the relevant portions of your web.xml. Also provide the url that your are using for testing. You can change names to protect the innocent. did you look in the logs to see if there are any messages?

Re: How to configure an URLContextFactory for tomcat

2002-11-12 Thread Christian Surlykke
There was a discussion on tomcat-dev regarding the use of ejb-link. See http://w6.metronet.com/~wjm/tomcat/2001/Mar/msg00292.html and the reply. I took the reply to mean that you _can_ link to an EJB in another app-server. br. Christian On Tuesday 12 November 2002 14:38, Philippe de M.

Re: Basic Setup Question...

2002-11-12 Thread mlh
FWIW, you do not have to do ANYTHING to the server.xml as distributed to be able to have apache forward *.jsp's to tomcat. All you have to do is install mod_jk in apache, edit apache's httpd.conf and write the mod_jk.conf. Of these 3, building and installing the mod_jk.so is perhaps the most

RE: Basic Setup Question...

2002-11-12 Thread Chuck Williams
Matt, Thanks, I've got everything working now! Charles Williams Sr. Solutions Architect Document Switch Team 703-338-5162 http://www.vitria.com -Original Message- From: mlh [mailto:mlh;zip.com.au] Sent: Tuesday, November 12, 2002 7:27 AM To: Tomcat Users List Subject: Re: Basic Setup

RE: Basic Setup Question...

2002-11-12 Thread Turner, John
You need a workers.properties file, as well. You will need to change server.xml if you use virtual host names...the default server.xml has Host elements defined for localhost only. John -Original Message- From: mlh [mailto:mlh;zip.com.au] Sent: Tuesday, November 12, 2002 7:27 AM

RE: Virtual Hosting without Apache?

2002-11-12 Thread Turner, John
No, you do not need Apache. In Tomcat, virtual hosts are configured via Host elements in server.xml. John -Original Message- From: John Menke [mailto:jm;basebeans.com] Sent: Tuesday, November 12, 2002 6:52 AM To: Tomcat Users List Subject: Virtual Hosting without Apache? Do

What is Realm

2002-11-12 Thread Hari Yellina
Hi All, What is Realm. From Hari. -Original Message- From: McBrayer, Roy [mailto:Roy.McBrayer;mail.va.gov] Sent: Saturday, November 09, 2002 05:44 AM To: '[EMAIL PROTECTED]' Subject: Configuring tomcat to use different realms with different applications I cannot get TomCat 4.1.12 to

Re: JSP to JSP

2002-11-12 Thread Kris Schneider
If all you want to do is include the output of a JSP, you might want to check into JSTL's c:include action. Unlike the standard JSP jsp:include action, it can access external resources. You can provide c:param nested actions to add request paramaters. If you need to process the output before

RE: windows iis machine + linux tomcat machine

2002-11-12 Thread Turner, John
Keep it simple. You keep trying to worry about syncing drives up. I think that's more complex than things need to be. In your .properties file on the IIS machine, just use the FQDN of the Tomcat server and be done with it. IIS is horrendously slow using mapped drives to serve content. I'm

Re: JSP to JSP

2002-11-12 Thread Kris Schneider
Erg - change that to c:import... Quoting Kris Schneider [EMAIL PROTECTED]: If all you want to do is include the output of a JSP, you might want to check into JSTL's c:include action. Unlike the standard JSP jsp:include action, it can access external resources. You can provide c:param

RE: Apache + one TC for each webapp

2002-11-12 Thread Turner, John
Set up 4.1.12 in a completely different directory. Modify server.xml so there are no port conflicts with your 3.x instance. In httpd.conf add JkMounts for app2, point them to a different worker than app1. Assign a different port to the new worker in workers.properties. Make sure the Coyote/JK2

RE: windows iis machine + linux tomcat machine

2002-11-12 Thread Jose Antonio Martinez
imagine i want to offer jboss too... then i would have to have: windows+iis+tomcat+jboss , and linux+apache+tomcat+jboss ... and few people using it. --- Turner, John [EMAIL PROTECTED] escribió: Keep it simple. You keep trying to worry about syncing drives up. I think that's more complex

ServletContextListener::Initial paramters

2002-11-12 Thread Reynir Hübner
Hello, I am implementing a ServletContextListener. I am wondering if it is possible to get initial parameters into it from web.xml ? From the javadocs it doesn't seem possible http://jakarta.apache.org/tomcat/tomcat-4.1-doc/servletapi/javax/servlet/ServletContextListener.html In other

RE: how to exclude a jar from being deployed

2002-11-12 Thread Shapira, Yoav
Hi, Per the servlet specification, if a jar is in WEB-INF/lib it must be available to the classloader, i.e. deployed. If you don't want it deployed, don't put it there. ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Etienne Deleflie

RE: ServletContextListener::Initial paramters

2002-11-12 Thread Shapira, Yoav
Hi, That's what context-parameters are for. Use context-param. Yoav Shapira Millennium ChemInformatics -Original Message- From: Reynir Hübner [mailto:reynir;hugsmidjan.is] Sent: Tuesday, November 12, 2002 8:42 AM To: Tomcat Users List Subject: ServletContextListener::Initial paramters

RE: ServletContextListener::Initial paramters

2002-11-12 Thread Ralph Einfeldt
What about ServletContextEvent.getServletContext().getInitParameter() ? -Original Message- From: Reynir Hübner [mailto:reynir;hugsmidjan.is] Sent: Tuesday, November 12, 2002 2:42 PM To: Tomcat Users List Subject: ServletContextListener::Initial paramters I am implementing a

RE: ServletContextListener::Initial paramters

2002-11-12 Thread Reynir Hübner
Thanx for the replies, Am I correct when saying I must specify the contex parameters in server.xml like this : context-param param-nameparamName/param-name param-valueparmam Value string foobar/param-value /context-param I could use that, but I rather set it in web.xml if possible, is it

RE: ServletContextListener::Initial paramters

2002-11-12 Thread Shapira, Yoav
Hi, context-param's ARE set in web.xml ;) You're not correct when saying they must be specified in server.xml. Yoav Shapira Millennium ChemInformatics -Original Message- From: Reynir Hübner [mailto:reynir;hugsmidjan.is] Sent: Tuesday, November 12, 2002 8:59 AM To: Tomcat Users List

RE: ServletContextListener::Initial paramters

2002-11-12 Thread Collins, Jim
You can specify them in your web.xml Regards Jim -Original Message- From: Reynir Hübner [mailto:reynir;hugsmidjan.is] Sent: 12 November 2002 13:59 To: Tomcat Users List Subject: RE: ServletContextListener::Initial paramters Thanx for the replies, Am I correct when saying I

RE: ServletContextListener::Initial paramters

2002-11-12 Thread Reynir Hübner
Great, I'll use it then, thanx -reynir -Original Message- From: Collins, Jim [mailto:jim.collins;uk.nomura.com] Sent: 12. nóvember 2002 14:14 To: 'Tomcat Users List' Subject: RE: ServletContextListener::Initial paramters You can specify them in your web.xml Regards Jim

RE: how to exclude a jar from being deployed

2002-11-12 Thread Kris Schneider
Right. And really don't put them there (or anywhere else under WEB-INF) if you expect a Web Start app (or any other HTTP client) to be able to access them directly. For Web Start 1.0.1: http://java.sun.com/products/javawebstart/docs/downloadservletguide.html For Web Start 1.2:

RE: ServletContextListener::Initial paramters

2002-11-12 Thread Collins, Jim
If you have any problems look in the servlet spec it contains a dtd for the web.xml file. Regards Jim. -Original Message- From: Reynir Hübner [mailto:reynir;hugsmidjan.is] Sent: 12 November 2002 14:19 To: Tomcat Users List Subject: RE: ServletContextListener::Initial paramters

help in Jakarta tomcat server

2002-11-12 Thread Lea
Hi, I work with Jakarta tomcat server 4.0.1 and I have some problem. Where I try to send http request parameter 'when it is equal to = character and in jip file I try to get this value (=), I got null value instance of = character But when I try other characters (+,*.) it is ok ' I got them

help in Jakarta tomcat server

2002-11-12 Thread Kristján Bjarni Guðmundsson
Return Receipt Your help in Jakarta tomcat server document :

RE: ServletContextListener::Initial paramters

2002-11-12 Thread Reynir Hübner
Of course, I did already, and no problems, it runs fine like this. It's also listed out here : http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/context.html Thanx -reynir -Original Message- From: Collins, Jim [mailto:jim.collins;uk.nomura.com] Sent: 12. nóvember 2002 14:29

RE: Cannot create Oracle driver not matter what I do!

2002-11-12 Thread Eddie Liang
Download the ojdbc14.jar from Oracle, replace the classes12.zip, then try again. Eddie Liang Database Architect Phone: 630-810-9669 x253 -Original Message- From: [EMAIL PROTECTED] [mailto:ira.waxberg;japan.bnpparibas.com] Sent: Monday, November 11, 2002 9:54 PM To: [EMAIL PROTECTED]

include : no exception

2002-11-12 Thread Roland Juergens
Hello everybody Is there anybody else having the same problem with Tomcat 4.0.3 ? Tomcat doesn´t throw an exception although it should do. For example I try to use a class name that definitely does not exist. Then I don´t get a ClassNotFoundException as expected but just an empty page in the

Re: Apache mod_jk's session not sticky

2002-11-12 Thread Michael Schulz
I had a problem like this, and determined that the jvmRoute value in my server.xml did not match the names of the tomcat workers in the workers.properties file. If your workers.properties file defines workers, t1 and t2, and worker.loadbalancer.balanced_workers=t1,t2, then your server.xml

Re: Cannot create Oracle driver not matter what I do!

2002-11-12 Thread Larry Meadors
On a related note, There may also be problems with the classes12 file - for some unknown reason, it contains the javax.sql package. I have seen cases where JDK 14x just flat refuses to load it. You may want to unzip the jar, remove those classes and repackage it without them. Larry [EMAIL

Root context

2002-11-12 Thread Mark Diana
Once again I hate to ask a question that has been asked and answered, but I can't seem to get this working with the info from the docs and archives. I have a simple set up with Tomcat 4.1.12 and Apache 1.3 and mod_jk on a Linux box. It's not a big site and all I really want is for the whole

Re: ServletContextListener::Initial paramters

2002-11-12 Thread Cees van de Griend
Op dinsdag 12 november 2002 14:42, schreef Reynir Hübner: Hello, I am implementing a ServletContextListener. I am wondering if it is possible to get initial parameters into it from web.xml ? void contextInitialized(ServletContextEvent sce) { ServletContext sc = sce.getServletContext();

System call problem on Tomcat

2002-11-12 Thread Richard Wong
Dear Sir/Madam, I have written a servlet that will make a system call using following statement: Runtime.getRuntime().exec(ls); The servlet failed (even cause tomcat to shutdown) and the following error occurs: StandardServer.await: accept:

Re: Problem in Tomcat Servlet calling JBoss EJB running on a different machine

2002-11-12 Thread Giuseppe Sorce
Thanks Anthony, I tried to use -nonaming swhitch, but, it seems that tomcat don't recognize this argument. Details: - Apache Tomcat/4.1.12 running on a Win2K Server box - From the command line: D:\jakarta-tomcat-4.1.12\bin startup.bat -nonaming Then another DOS window appears and then quickly

Re: JSP to JSP

2002-11-12 Thread Wilhelm Colln
Yes I did it once, but some servers gives you limited permissions, so that the database can only be accessed locally. Wilhelm Colln Peru Sudhir Kumar wrote: i need to communicate between two jsp's which are running on 2 remote machines. both the jsp's are running on tomcat. i need to pass some

Tomcat 4.x as NT service

2002-11-12 Thread Richard Hartley
Hi Is it possible to set up jakarta-tomcat-4.0.5 as a windows service? There is documentation detailing how to do this for Tomcat 3.x, but not it seems for Tomcat 4.x. Thanks R Hartley

Re: Tomcat 4.x as NT service

2002-11-12 Thread Mark Eggers
1. Download the binary .exe install package 2. Choose 'run as NT service' during installation. /mde/ just my two cents . . . . __ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2 -- To unsubscribe, e-mail:

Upgrade from 4.0 to 4.1

2002-11-12 Thread Björn Bergenheim
Are there any differences in the config-files, or is it possible to just copy the server.xml and such? Another question, running on debian3, with tomcat4.0.4 and apache1.3.2 , using jk, with a webpage with just using servlets,using pajes (www.pajes.org), some textcaching and connection

RE: Tomcat 4.x as NT service

2002-11-12 Thread Wagoner, Mark
It is even easier to run 4.x as a service. It is one of the options when you run the Tomcat installer. -Original Message- From: Richard Hartley [mailto:r.hartley;umist.ac.uk] Sent: Tuesday, November 12, 2002 10:53 AM To: [EMAIL PROTECTED] Subject: Tomcat 4.x as NT service Hi Is it

Remotely debugging Tomcat 4.1.12 - No code at that line in class?

2002-11-12 Thread Paul Legato
Hi, I'm trying to remotely debug classes deployed into Tomcat 4.1.12 on Linux. I have tried JVM's version 1.4.1_01 and 1.4.0 with the same results. If I deploy a class and try to debug it, everything works fine. I can set breakpoints, etc. with no problems. If I turn dynamic class reloading on

Re: Tomcat 4.x as NT service

2002-11-12 Thread Jacob Kjome
Hello Richard, See http://www.mattkelli.com/tech/tomcat/ntservice.htm Jake Tuesday, November 12, 2002, 9:53:01 AM, you wrote: RH Hi RH Is it possible to set up jakarta-tomcat-4.0.5 as a windows service? RH There is documentation detailing how to do this for Tomcat 3.x, but not RH it seems for

Removing default Contexts in production...

2002-11-12 Thread Stone, Timothy
List, I'm deploying the rather simple Lucene demo on Tomcat 4.0.6. I would like to remove the examples and ROOT contexts to further harden the development deployment on the production servers. I see a /conf/server-noexamples.xml.config file that seems to provide exactly what I'm looking for.

Problem with xsl transformation in tomcat 3.3.1 and tomcat 4.0.*on Linux

2002-11-12 Thread Chris Hazen
I've got a strange problem with tomcat transforming an xml document with xsl apparently only on Linux. Below is a small portion of the style sheet that is relevant: xsl:template match=/ xsl:apply-templates/ /xsl:template xsl:template match=grammar:rule !--Make sure this

security manager

2002-11-12 Thread Jose Antonio Martinez
I am using the default security configuration at manager 'catalina.policy' file, but when i try to access files which are under the webapp directory who i am executing i have an exception: javax.servlet.ServletException: Servlet execution threw an exception at

RE: Tomcat 4.x as NT service

2002-11-12 Thread Stone, Timothy
The short answer is Yes, Tomcat 4.0.x can run as a service. The longer answers include reading HOW-TOs, like Jake's suggestion below, consulting the manual on tomcat.exe and some creative understanding of UNIX and Win2k environments. As the tomcat.exe is not very well documented in the

Re: security manager

2002-11-12 Thread Jeanfrancois Arcand
Which version of Tomcat are you using? -- Jeanfrancois Jose Antonio Martinez wrote: I am using the default security configuration at manager 'catalina.policy' file, but when i try to access files which are under the webapp directory who i am executing i have an exception:

Re: security manager

2002-11-12 Thread Jose Antonio Martinez
tomcat 4.0.5 --- Jeanfrancois Arcand [EMAIL PROTECTED] escribió: Which version of Tomcat are you using? -- Jeanfrancois Jose Antonio Martinez wrote: I am using the default security configuration at manager 'catalina.policy' file, but when i try to access files which are under the

Re: security manager

2002-11-12 Thread Jeanfrancois Arcand
Strange. Can you post you entire log file (to see more exception info)? -- Jeanfrancois Jose Antonio Martinez wrote: tomcat 4.0.5 --- Jeanfrancois Arcand [EMAIL PROTECTED] escribió: Which version of Tomcat are you using? -- Jeanfrancois Jose Antonio Martinez wrote: I am using the

Ports Number Used in Tomcat 5.0

2002-11-12 Thread Fredro Harjanto
Hi: I used Tomcat 5.0 behind router (containing firewall). I have opened the Port: 8080 and 8009 for my servlets classes to be accessible from outside. However, these ports are seemed not enough. First, I access http://localhost:8080 successfully. But when I try to view

Re: security manager

2002-11-12 Thread Jose Antonio Martinez
I have developed a servlet that recives from a form (post method) the name of a file and write its content. --- Jeanfrancois Arcand [EMAIL PROTECTED] escribió: Strange. Can you post you entire log file (to see more exception info)? -- Jeanfrancois Jose Antonio Martinez wrote: tomcat

Re: Problem with xsl transformation in tomcat 3.3.1 and tomcat 4.0.* on Linux

2002-11-12 Thread Jacob Kjome
Hello Chris, Try putting xalan-2.4.0.jar in JAVA_HOME/jre/lib/endorsed. Make sure you stop all java processes before doing this. Then restart Tomcat. Jake Tuesday, November 12, 2002, 10:43:29 AM, you wrote: CH I've got a strange problem with tomcat transforming an xml document with CH xsl

Re: security manager

2002-11-12 Thread Jeanfrancois Arcand
You need to add the following line in catalina.policy, under // == WEB APPLICATION PERMISSIONS = // These permissions are granted by default to all web applications // In addition, a web application will be given a read FilePermission // and

RE: SSL in tomcat vs. apache

2002-11-12 Thread Lloyd Meinholz
Thanks, that's kind of what I thought. I was curious if there were any large show-stopper type of issues that I wasn't aware of and there doesn't appear to be. I know certificate management will be a little awkward compared to what I'm used to, but I can deal with that. I will experiment with both

RE: jk2 + sticky session

2002-11-12 Thread Claudio Pracilio
For those interested This problem is resolved by ensuring that the 'Engine' definition in the Tomcat's server.xml configuration has a 'jvmRoute' attribute which matches the tomcatID in the channels being defined in apache's workers2.properties. -Original Message- From: Claudio

Re: security manager

2002-11-12 Thread Jose Antonio Martinez
it seems dont work --- Jeanfrancois Arcand [EMAIL PROTECTED] escribió: You need to add the following line in catalina.policy, under // == WEB APPLICATION PERMISSIONS = // These permissions are granted by default to all web applications //

Tomcat - Access Connection.

2002-11-12 Thread Andoni
Hello, Where can I get a driver to connect tomcat to MS Access? Do I need a driver like I do with SQLServer? Thanks, Andoni. -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org

Re: Tomcat - Access Connection.

2002-11-12 Thread Jeanfrancois Arcand
The JDBC-ODBC bridge is probably the only solution available. -- Jeanfrancois Andoni wrote: Hello, Where can I get a driver to connect tomcat to MS Access? Do I need a driver like I do with SQLServer? Thanks, Andoni. -- To unsubscribe, e-mail:

RE: Removing default Contexts in production...

2002-11-12 Thread Stone, Timothy
For posterity, etc... I try to seek feedback as a learning process for myself and others. Feel free to comment: I have deployed the server-noexamples.xml.config successfully in my development environment. The reason for the no examples deployment of course is to deny crackers any unknown

RE: Tomcat - Access Connection.

2002-11-12 Thread Stone, Timothy
Ditto. I believe JDBC-OBDC bridge (sun.jdbc.odbc.JdbcOdbcDriver) is the MS-Access option (I have two O'Reilly books here that present this class as the MS-Access option). Tim -Original Message- From: Jeanfrancois Arcand [mailto:jfarcand;apache.org] Sent: Tuesday, November 12, 2002

Apache 2.0.42 Tomcat 4.1.12 - mod_jk2 on Win2k

2002-11-12 Thread Francesca Arecco
Hi everybody, I have the following configuration: Win2k SP3 JDK 1.4.0_01 Apache 2.0.42 Tomcat 4.1.12 mod_jk2_2.0.42.dll Has anyone this configuration worker properly? Has anyone a workers2.properties and jk2.properites example files? My servlets seem to work fine, while when I

OFF_TOPIC: How to convert JSP page into an EXCEL format

2002-11-12 Thread Nagpal, Vikas
Hi EveryBody, 1) I have a JSP page which contains the TABLE. Now i want to send this JSP page as an EXCEL email attachment so that as soon as people opens this attachment they can view there JSP page as an EXCEL worksheet. I have downloaded JINTEGRA.JAR from the web. I have put this package into

Re: What's wrong with my Context in my Server.xml???

2002-11-12 Thread Philippe de M. Sevestre
All, I have no idea why this isn't working. Suggestions? !-- indemand Context -- Context docBase=indemand path=/indemand reloadable=true source=indemand Resource name=jdbc/indemand auth=SERVLET ^

RE: OFF_TOPIC: How to convert JSP page into an EXCEL format

2002-11-12 Thread Turner, John
For number 1, you don't need to do anything, nor do you need any special JAR files or other libraries. Excel understands HTML just fine. TR = Excel row, TD = Excel column. All you have to do is set the correct content type in your JSP page so that the client browser knows to send the response

RE: OFF_TOPIC: How to convert JSP page into an EXCEL format

2002-11-12 Thread Stone, Timothy
Vikas Nagpal, Hmmm... someone correct me if I'm wrong, but can't you do this by setting the MIME type javax.servlet.ServletResponse.setContentType(String s)? ... response.setContentType(application/vnd.ms-excel); ... One could generate the response to a file (myExcelResponse.xls) and mail it

RE: Tomcat - Access Connection.

2002-11-12 Thread Craig R. McClanahan
On Tue, 12 Nov 2002, Stone, Timothy wrote: Date: Tue, 12 Nov 2002 13:25:03 -0500 From: Stone, Timothy [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Tomcat - Access Connection. Ditto. I believe JDBC-OBDC bridge

JDBC Error, cannot establish socket - Tomcat 4.0.6/SQL Server 2000

2002-11-12 Thread John Mattos
I'm getting the following error trying to connect to my SQL Server Database java.sql.SQLException: [Microsoft][SQLServer JDBC Driver]Error establishing socket. I'm using the driver com.microsoft.jdbc.sqlserver.SQLServerDriver, and the 3 necessary jar files are in C:\Tomcat4.0.6\lib

RE: Tomcat - Access Connection.

2002-11-12 Thread Stone, Timothy
Craig makes a valid point. I should further qualify my answer however and say I was only seconding the original reply noting sun.jdbc.odbc.JdbcOdbcDriver may be the only option for MS-Access. (I can't think of any others off the top of my head and had to see what the books were saying on the

RE: JDBC Error, cannot establish socket - Tomcat 4.0.6/SQL Server 2000

2002-11-12 Thread Turner, John
Yup. It's network related. Probably the name of the database server can't be resolved into an IP address, or a connection request is being made on the wrong port. SQL Server's default port is 1433, I believe. John -Original Message- From: John Mattos [mailto:mattosj;yahoo.com]

RE: JDBC Error, cannot establish socket - Tomcat 4.0.6/SQL Server 2000

2002-11-12 Thread John Mattos
Hmm. I have the app specified in my server.xml as follows. dows anything jump out at you? I even used the IP instead of the DNS entry for the DB machine !-- iN DEMAND Clearinghouse Context -- Context docBase=indemand path=/indemand reloadable=true source=indemand

RE: JDBC Error, cannot establish socket - Tomcat 4.0.6/SQL Server 2000

2002-11-12 Thread Turner, John
We're using 4.1.12, ours looks like this: Resource name=jdbc/name auth=SERVLET type=com.microsoft.jdbcx.sqlserver.SQLServerDataSource/ ResourceParams name=jdbc/name parameter namefactory/name valuecom.microsoft.jdbcx.sqlserver.SQLServerDataSourceFactory/value /parameter

RE: Java returns bunk date!?

2002-11-12 Thread Sexton, George
If you don't need the time portion, I once wrote a replacement for the calendar that handles just dates. Unlike all of the bizarre manipulations required by a calendar, with mine you can just call object.add(7) to add 7 days to a date. It uses an internal Julian date field. Checking for elapsed

RE: JDBC Error, cannot establish socket - Tomcat 4.0.6/SQL Server 2000

2002-11-12 Thread Sexton, George
Change jdbc:inetdae7:10.10.0.84:1433?database=TibcoClearHouse to jdbc:microsoft:sqlserver://10.10.0.84:1433;DatabaseName=TibcoClearHouse George Sexton MH Software, Inc. Home of Connect Daily Web Calendar Software http://www.mhsoftware.com/connectdaily.htm Voice: 303 438 9585 -Original

RE: windows iis machine + linux tomcat machine

2002-11-12 Thread Sexton, George
Get the ISAPI redirector module and install it on IIS, configure it to point to the linux server. -Original Message- From: Jose Antonio Martinez [mailto:lfbbes;yahoo.es] Sent: 12 November, 2002 4:22 AM To: [EMAIL PROTECTED] Subject: windows iis machine + linux tomcat machine what do you

RE: Rare request delay of 100 seconds

2002-11-12 Thread Sexton, George
At this point, my only recommendation would be to upgrade the kernel to the current RedHat 7.2 patch release of 2.4.18-7.x There have been a ton of things fixed in 9 kernel releases and this could be related to one of them. -Original Message- From: Randy Watler [mailto:rwatler;finali.com]

RE: mod_jk.log entries

2002-11-12 Thread Chad Cannell
Is there an error reference guide or chart. I need to look into the folowing errors: I am seeing a lot of chatter in my mod_jk.log: [jk_ajp13_worker.c (326)]: Error ajp13_process_callback - write failed [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close,NULL parameter

RE: mod_jk.log entries

2002-11-12 Thread Turner, John
I think the callback errors are because the response cannot be completed. For example, the user closing their browser, or browsing to another page before the page is completed. I don't know about the connecting to Tomcat process error. John -Original Message- From: Chad Cannell

RE: mod_jk.log entries

2002-11-12 Thread Turner, John
The reference would be the source code. John -Original Message- From: Chad Cannell [mailto:ccannell;elogex.com] Sent: Tuesday, November 12, 2002 3:38 PM To: Tomcat Users List Subject: RE: mod_jk.log entries Is there an error reference guide or chart. I need to look into the

RE: mod_jk.log entries

2002-11-12 Thread Koes, Derrick
This might help. http://www.faqchest.com/prgm/tomcat-l/tmct-01/tmct-0104/tmct-010470/tmct0104 3017_27782.html -Original Message- From: Turner, John [mailto:JTurner;AAS.com] Sent: Tuesday, November 12, 2002 3:40 PM To: 'Tomcat Users List' Subject: RE: mod_jk.log entries The

Tomcat Application on Port 443 or 8080?

2002-11-12 Thread Manoj Kithany
Hi Experts: My Apache+SSL is working now - thanks to you all. I checked it using https://www.kithany.com. However, I have a small Application which contains JSP+Servlets which calls Oracle DB via JDBC. This application is working fine when I type http://www.kithany.com:8080/kithany/index.jsp

Re: windows iis machine + linux tomcat machine

2002-11-12 Thread Jose Antonio Martinez
i know. The question here is that it is needed that jsp files be on the tomcat machine (linux). People have an ftp account in the windows machine but some files must go to the linux machine (jsp ones) - Original Message - From: Sexton, George [EMAIL PROTECTED] To: Tomcat Users List

RE: windows iis machine + linux tomcat machine

2002-11-12 Thread Sexton, George
You could use SMB to mount the files from the Windows machine to the Linux machine. If you need high performance, this will have a hit. Alternatively, you could write a shell script that will sync the files on Windows over to the Linux machine using ftp. ncftpget is pretty nice for an ftp program

RE: Tomcat Application on Port 443 or 8080?

2002-11-12 Thread Turner, John
The default Tomcat SSL port is 8443. Unless you start an SSL Connector on port 8080, you will never get a response for https://some.host:8080 as there is nothing on the server end to negotiate the SSL connection with the browser making the request. John -Original Message- From:

Re: Rare request delay of 100 seconds

2002-11-12 Thread Randy Watler
George, Thanks for the cycles. We have been pondering this move already and have it on the evaluation queue. Meanwhile, we will continue to try to find the root cause. Of course, we will post any findings here! Thanks again, Randy Watler Finali Corporation Sexton, George wrote: At this

remove the need for :8443 in URLs needing https:

2002-11-12 Thread Qmail List
Hello, It is more difficult to re-write urls as: https://www.domain.com:8443/index.jsp as opposted to https://www.domain.com/index.jsp How can I configure Tomcat (and/or underlying Unix box) to not need the :8443 explicit port reference in the url? I tried changing the https

Re: Tomcat Application on Port 443 or 8080?

2002-11-12 Thread Pae Choi
The recommend way is either you [1]configure Apache/HTTP(S) and TOMCAT(TC) with connentor or [2]make a direct conection to TC. So the first case will be accessed as follows: [1]https://domain/context/url-pattern This will use the port # 443. And the second case will be accessed as

  1   2   >