Re: JNDI Datasource in Tomcat

2001-05-07 Thread Dave Weis
Which database drivers are you using with poolman? I'm trying to use Oracle, but it's giving me null pointer exceptions when I run the test. Could you send your poolman.xml file? Thanks dave eric chacon wrote: > You'll need some connection pooling software which doesn't appear to come > bundle

NEWBIE: having problem starting new app

2001-05-07 Thread Ajay Ejantkar
I am setting up a test app, using the Ant tool. The files go into the proper directory I have setup (/webapps/myapps), but when I try to access them on the browser it doesn't work properly unless I use the port number. I have to type http://localhost:8080/myapp/, if I type just http://localhost/m

AW: My growing memory problem resolved

2001-05-07 Thread Ralph Einfeldt
You have to separate two things: - memory usage inside the vm this is what you see if you print out: Runtime.getRuntime().totalMemory() Runtime.getRuntime().freeMemory() You have hardly any control about the execution of the garbage collector. The only contract that

mod_jk problems ...

2001-05-07 Thread root
Hello I am trying to configure the Tomcat 3.2.1 to work with Apache 1.3.19+mod_ssl. on a Linux SUSE 7.1 system. I have compiled the mod_jk.so, but I can't make it working with the Apache.. What I get when I'm trying to start apache with ssl enabled is : Syntax error on line 8 of /usr/local/tomc

RE: petstore problem

2001-05-07 Thread Swamy
Yeap. Ran the populate script. Also used 'select * from users' to check if the inserts were successful. Thanks. Swamy -Original Message- From: Noel E. Lecaros [SMTP:[EMAIL PROTECTED]] Sent: Monday, May 07, 2001 4:11 AM To: [EMAIL PROTECTED] Subject:Re: petstore problem HI

Re: NT Service question

2001-05-07 Thread Sachin Phatak
Dear Stefan, You want a system to pre defines TOMCAT_HOME & JAVA_HOME, right? Do that using the basic NT Environment variables settings. In W2K this is can be done by right clck on My computer => Propertities Page => Advanced Tab => Environment Variables. This could help. thanks sachin - Or

getResource() for files such as /WEB-INF/app.properties?

2001-05-07 Thread Torgeir Veimo
In the J2EE blueprint, there is an example of a configuration file residing in the /WEB-INF/ directory which is loaded using getResource(), see eg. http://java.sun.com/j2ee/blueprints/sample_application/qanda/ excerpt; "Here is some sample code that gets a configuration file from the WEB-INF/ di

Re: trusted application

2001-05-07 Thread Jeff Waugh
In $TOMCAT_HOME/conf/server.xml -Jeff - Original Message - From: "Erik Hellman" <[EMAIL PROTECTED]> To: "Tomcat-User@Jakarta. Apache. Org" <[EMAIL PROTECTED]> Sent: Monday, May 07, 2001 7:19 AM Subject: trusted application > I get the following error when accessing

Re: NT Service question

2001-05-07 Thread Hari Yellina
please set it in tomcat.bat - Original Message - From: Stefan Henke <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 07, 2001 6:29 PM Subject: NT Service question > Hi, > > I set up Tomcat to work as NT service and it works fine. > Now I want to install Tomcat on several oth

j_security_check not working on web pages

2001-05-07 Thread Antony Bowesman
Hi, In the security example when I try to access the protected directory it redirects me to the login.jsp page. It shows in the log 2001-05-07 02:38:37 - ContextManager: AccessInterceptor: checking /jsp/security/protected/index.jsp 2001-05-07 02:38:37 - ContextManager: AccessInterceptor: m

mod_jk error shortly after starting tomcat

2001-05-07 Thread Fritz Thielemann
Hi friends, shortly after starting tomcat some requests are going wrong (error 500 visible in the browser). mod_jk.log says: jk_ajp13_worker.c (203): connection_tcp_get_message: Error - jk_tcp_socket_recvfull failed jk_ajp13_worker.c (619): Error reading request after a while this error doesn't

trusted application

2001-05-07 Thread Erik Hellman
I get the following error when accessing the /admin pages and trying to "view all contexts": Error: 500 Location: /admin/contextAdmin/contextAdmin.jsp You must mark the administration application as trusted How and where do i do this? // Erik

IIS (SBS) + LINUX Help....

2001-05-07 Thread Jitu Somaiya
I am trying to set-up IIS on SBS2000 (Small Business Server 2000) to work with TOMCAT on LINUX, but not having much luck. I obtain the dreaded "ISAPI_redirect.dll" failed to load. Any help will be appreciated. I think I have performed all the tasks mentioned in the "Tomcat IIS HowTO". My regis

modified classes location

2001-05-07 Thread C Santosh Kumar
Hi Tomcat supports automatic class re-loading allowing us to modify class files at runtime. This is enabled by setting a reloadable flag server.xml. The following method in the Loader class(from TC source) allows us to specify additional directories containing source files possible getting modif

Re: My growing memory problem resolved

2001-05-07 Thread Wolle
Hei Eric, thank you for your reply, i will answer your questions below: eric chacon wrote: > Wolle, > > I think the problem may lie in your JVM: Setting a reference to the object > to null does not automatically free the memory--it just allows the garbage > collector to clear it whenever it runs

Re: JSP/ASP Coexistance

2001-05-07 Thread Leon Palermo
Yes. A single PWS or IIS web server can support both ASP and JSP similtaniously. Leon > I DID RTFM, but saw nothing that answered the following basic/newbie > question: > > On both IIS/ASP and PWS/ASP environments, can subject sets of pages both be > handled? (I.e., would foo.asp and foo.jsp e

RE: Linux Startscript

2001-05-07 Thread GOMEZ Henri
There is one in RPM :) ===> #!/bin/sh # # Startup script for Tomcat, the Apache Servlet Engine # # chkconfig: 345 80 20 # description: Tomcat is the Apache Servlet Engine # processname: tomcat # pidfile: /var/run/tomcat.pid # # Gomez Henri <[EMAIL PROTECTED]> # # version 1.02 - Removed initlog s

AW: HANDLER THREAD PROBLEM when accessing servlet

2001-05-07 Thread Gerteis, Roman
Hay, yes it's necessary to compile mod_jk.so, but it's really easy. get the Tomcat ressources and do exactly what is said in: http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/mod_jk-howto.html#s6 2 The build depends on OS and Apache Version so normally the distributed binary is matching e

Re: AW: wired CLASSPATH behaviour

2001-05-07 Thread Benoit Jacquemont
Hi Roman, It is not a limitation of the classloader, but it's just about the way Tomcat works: it only appends jar files to its own classpath (which seems not to be the same classpath that you define within your system) which are in the WEB-INF/lib directory of the application. So, as jar file

Re: petstore problem

2001-05-07 Thread Noel E. Lecaros
HI, Swamy Did you create the datastore by running the "populate" script? Regards, Noel Lecaros Swamy wrote: > > Hi, >I have been trying to install the pet store implementation. After jumping > a few hoops this last one has been testing me for a while now. Here is the > environment : > j2sd

HANDLER THREAD PROBLEM when accessing servlet

2001-05-07 Thread Artigas, Ricardo Y.
is it really necessary to recompile the mod_jk.so just so that Tomcat will run fine with Apache? I have Apache web server and jakarta-tomcat-3.2.1 running on red hat linux 6. I am running tomcat using the startup.sh script (I guess this means it's stand-alone). I get an error while accessing a s

AW: wired CLASSPATH behaviour

2001-05-07 Thread Gerteis, Roman
hay Noel, no I have not tried this. I thought about, but this would mean that the classloader does not support .zip files anymore. And I have not heard about any change like this. But it's still a good idea. I will give it a try and report results. thx roman -Ursprüngliche Nachricht- V

Re: wired CLASSPATH behaviour

2001-05-07 Thread Noel E. Lecaros
Hi, Roman Just a thought, but have you tried RENAMING the file db2java.zip to db2java.jar? Regards, Noel Lecaros "Gerteis, Roman" wrote: > > Hay there, > > when I was deploying a application on Tomcat 3.2.1 we had some really wired > Problems with CLASSPATH issues. > > First of all this is t

wired CLASSPATH behaviour

2001-05-07 Thread Gerteis, Roman
Hay there, when I was deploying a application on Tomcat 3.2.1 we had some really wired Problems with CLASSPATH issues. First of all this is the environment: * apache 1.3.14 * mod_jk.so * tomcat 3.2.1 on Redhat 6.2 JVM 1.3 (Sun distribution) ok. So we were putting JDBC Drivers of IBM (db2java.zi

URL rewriting + RequestDispatcher.forward(...)

2001-05-07 Thread Zimmerer, Ralf
Hello, our configuration is as follows: Production: RedHat 6.1 IBM JDK 1.1.8 Apache httpd 1.3 9 Tomcat 3.2.1 Development: Win NT 4.0/Win 98 IBM JDK 1.1.8 Apache httpd 1.3 9 Tomcat 3.2.1 The developed application works fine with cookie browser

Building mod_jk for solaris

2001-05-07 Thread mo be
Hi! I'm trying to compile mod_jk.so under solaris 2.6 . Using ./build-solaris.sh of jakarta-tomcat-3.3-m2 + Apache/1.3.12 (Unix) I get only this weird msg "Command failed with rc=..." from apxs. java -version = "Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0) Java HotSpot(TM) Cl

NT Service question

2001-05-07 Thread Stefan Henke
Hi, I set up Tomcat to work as NT service and it works fine. Now I want to install Tomcat on several other computers. As Tomcat is installed in different paths on the different computers, I have to change the wrapper.properties (JAVA_HOME and TOMCAT_HOME) manually. My question is: Can I tell Tom

Re: Tomcat/Xalan

2001-05-07 Thread Jim Rudnicki
>> The problem is with the DOM level used by the different xml packages. >>Tomcat 3.x exposes the interfaces in its xml package to all >Tomcat 3.· does not suffer this problemit has a classloading scheme >where webapps obtain a clean classloader with only servlet.jar in it.. >So is not 3.

tomcat starts taking full CPU

2001-05-07 Thread Geert Vandensteen
Hi, we have a problem with our tomcat 3.2.1 and Apache 1.3.12. (JDK 1.3.0_02 on Redhat 6.2) After about a day of operation, a couple of processes of tomcat start taking full CPU (for example, 4 processes at more or less 25% each, or 2 processes at more or less 50%). This is without tomcat even b

Re: Compiling mod_jserv on AIX 4.3 for Apache 1.3.12

2001-05-07 Thread Charles Epaillard
I have spent 3 days to make it work on my AIX Box !!! So : Autochange has not to be include in the mod_jserv so compile it with : apxs -c mod_jserv.c jserv*.c Then , I've some probleme with the linking so, you must modify the apxs script : my $CFG_LDFLAGS_SHLIB = q( -bexpall -bM:SRE -bnoentry

<    1   2