Configuring Virtual host for Apache - JServ

2001-01-12 Thread arnold
Hi Guys, I need some help here with configuring Apache with JServ. I defined two Virtual hosts in "httpd.conf" file for Apache. One is for development environment and the other for Production environment. Both the virtual hosts have same IP but different ports. Now , I want to create two

not runing admin context

2001-01-12 Thread niraj
hello everybody my problem is that i want to access /admin context of tomcat web server. when i go to http://localhost:8080/admin the index page is coming but when i goto admincontext it asking for password what is that password? i used my nt password but its not working. i also used

Re: Is ANYONE doing this?? TC3.2.1 standalone + SSL + multiple instances on multiple IP's

2001-01-12 Thread Nick Holloway
[EMAIL PROTECTED] writes: Each server directory under tomcat-servers contains a complete copy of Tomcat at this point. (If someone can suggest a way to reduce the duplication while still being able to run multiple instances that are not aware of or affected by each other I'm open to

WML not served in Tomcat

2001-01-12 Thread Ivan
Hi all! My question is about how to store WML and XML files toghether in a Cocoon working directory served by Tomcat. I'm using Tomcat 3.2 and Cocoon 1.8. I already know how to tell Cocoon that I would like to serveXML if the client is a web browser, and WML if the client isa Wap Browser

Re: ClassCastException on servlet instantiation

2001-01-12 Thread Markus Albrecht
I'm using already jakarta-tomcat-4.0-b1.tar.gz from January 5th. Markus Albrecht Craig R. McClanahan wrote: Markus Albrecht wrote: Hello! I'm having a web application perfectly running on tomcat 3.x Now, I'm trying to switch to new tomcat version 4. I'll recompiled code with new

Two questions from a new user

2001-01-12 Thread Collins, Jim
Hi, I am new to this mailing list and I have two questions I would like to ask (sorry if they have been asked before). 1. Is there an archive of this list I can search to avoid asking questions that have already been asked. 2. Two I am getting a NoClassDefFoundError, I know that the class is

Re: howto implement global applications?

2001-01-12 Thread Orestes Mas
It's the same problem I have... Few days ago, I managed myself to configure Tomcat to serve XML-XSL files through Cocoon. As Cocoon (http://xml.apache.org ) is itself a servlet, I treated it as another web application and created a new context to place Cocoon into (as documentation suggested).

Problem

2001-01-12 Thread anilt2k
Dear Sir, I m new to jsp and in learning phase. i am testing a program of "hello world" in jsp. but i don't know how to run it. as i hv jdk1.2, jsdk2.0, jws1.1.3, tomcat-4. now where i should store my file? is it required it to make a class file. very confused now. please help me to run it.

Embedding Catalina Engine

2001-01-12 Thread Jon Baer
I have read the documentation inside class catalina.startup.Embedded but dont quite understand the process as I would like to create a seperate method by which to *start* and *stop* a server/engine at any time from this GUI. However, my server application is actually a web application inside

Problem installing under Win2000

2001-01-12 Thread Marino Vittorio
This is the message I get when I try to execute the startup script: Using CLASSPATH: ..\bin\bootstrap.jar;C:\jdk1.1.8\lib\tools.jar I did set JAVA_HOME, TOMCAT_HOME. I don't have tools.jar with my jdk1.1.8 distribution. The server does not start at all, I see a flashing dos shell and that's it!

Re: WML not served in Tomcat

2001-01-12 Thread Orestes Mas
Hola Ivn. Els arxius XML o WAP els pots posar on vulguis, per si estan fora de l'arbre principal de l'Apache has de crear un lies a l'Apache per tal que el client els pugui trobar d'alguna manera. Suposo que ja ho has fet. Tamb s'ha d'instruir el mdul corresponant (mod_JServ o mod_jk) que

error msg when build mod_jk~~help!!

2001-01-12 Thread george
when i build the mod_jk : www# apxs -o mod_jk.so -I../jk -I/usr/local/jdk1.2.2/include -I/usr/local/jdk1.2 .2/include/linux -c *.c ../jk/*.c gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite -fpic -DSHARED_CORE -DSH ARED _MODULE -I/usr/local/apache/include -I../jk

RE: Problem installing under Win2000

2001-01-12 Thread David Oxley
In your command prompt. cd into %TOMCAT_HOME%\bin and type 'tomcat run'. This will tell you the error because it starts it in the same window. But the error is probably that java 1.1 doesn't have a tools.jar, it has a classes.zip. Add that to your classpath. Dave. [EMAIL PROTECTED]

Tomcat 3.2.1 load balancing with mod_jk

2001-01-12 Thread Mathias Herberts
Hi, I've been lurking around the mod_jk and Tomcat 3.2.1 source tree looking for the load balancing related code. I've seen that the load balancing possibilities of Apache JServ were transfered into Tomcat but saw no example of their use. I did put together a very simplistic Interceptor which

RE: Tomcat 3.2.1 load balancing with mod_jk

2001-01-12 Thread GOMEZ Henri
I've been lurking around the mod_jk and Tomcat 3.2.1 source tree looking for the load balancing related code. I've seen that the load balancing possibilities of Apache JServ were transfered into Tomcat but saw no example of their use. You can use like this : - workers.properties -

Portal Authentication via Servlet Security

2001-01-12 Thread Drasko Kokic
Craig, this looks really great (still having some minor problems using JDBCRealm instead of the SimpleRealm on the security example) I was wondering if somebody (you?) have already come across the following requirement: We have already implemented portal protection (multiple sites within same

Re: What is JDBCRealm?

2001-01-12 Thread Drasko Kokic
JDBCRealm is just an implementation of the Servlet Security Realm using the JDBC interface to check user passwords and roles. HTH Drasko --- kamesh jayachandran [EMAIL PROTECTED] wrote: I am having Postgresql db and using tomcat 3.2.1.I am accessing the DB using JDBC.The JDBC Driver for

Re: [HELP]Tomcat3.2beta4 SecurityManager--Does it really work?

2001-01-12 Thread Drasko Kokic
Just out of interest ... why wouldn't you like to upgrade to the Tomcat release version?! --- "Ye, Tao" [EMAIL PROTECTED] wrote: Hi, all, Thanks for reading this far, now don't give up yet... I'm trying to use Tomcat standalone with security turned on (with tomcat.bat run -security),

Re: Two questions from a new user

2001-01-12 Thread Ted Husted
On 1/12/2001 at 10:06 AM Collins, Jim wrote: 1. Is there an archive of this list I can search to avoid asking questions that have already been asked. The official archive listed on the Web site isn't really searchable, but the one at mail-archive.com is. (Look for Tomcat-User).

Re: AW: Configuring Virtual host for Apache - JServ

2001-01-12 Thread arnold
Hi again, I tried that out. But I get the below stated error when i start Apache. . .These are my file contents . . 131 # Enable the Apache JServ status handler with the URL of 132 # "http://servername/jserv/" (note the trailing slash!) 133 # Change the "deny"

AW: AW: Configuring Virtual host for Apache - JServ

2001-01-12 Thread Ralph Einfeldt
Replace /VirtuaHost with /VirtualHost -Ursprngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 12. Januar 2001 12:50 An: [EMAIL PROTECTED] Betreff: Re: AW: Configuring Virtual host for Apache - JServ

RE: Multipart/form-data

2001-01-12 Thread Randy Layman
An Internal Server Error is caused by an uncaught exception in your code. Probably a NullPointerException, but it could be anything that extends java.lang.Runtime exception. Randy -Original Message- From: Saikat Chatterjee [mailto:[EMAIL PROTECTED]] Sent: Friday,

Re: TOMCAT PROBLEM of disconection

2001-01-12 Thread Andrew Robson
Are you using Redhat 7.0? This sounds similiar to a known bug I came across recently. Tomcat dies and spits out # # HotSpot Virtual Machine Error, Unexpected Signal 11 # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # # Error ID: 4F533F4C494E55580E43505005BC # #

Follow up Two questions from a new user

2001-01-12 Thread Collins, Jim
Hi, Someone pointed me to where the archives are (thanks Graham) and I believe that the problem is that the code I am calling is a native method wrapper and the native code library that the wrapper class is supposed to load cannot be found. Someone else posted a similar problem and they were

RE: TOMCAT PROBLEM of disconection

2001-01-12 Thread Khaled Ben Mohamed
No i am using a mandrake 7.1 Someone says to me that it 's because of the apache version , another that it 's because of SSL can anyone help me ? -Message d'origine- De : Andrew Robson [mailto:[EMAIL PROTECTED]] Envoy : vendredi 12 janvier 2001 15:02 : [EMAIL PROTECTED] Objet : Re:

RE: TOMCAT PROBLEM of disconection

2001-01-12 Thread Khaled Ben Mohamed
What about a comunication failure in a sql execption with JSP files in tomcat 3.1 -Message d'origine- De : Khaled Ben Mohamed [mailto:[EMAIL PROTECTED]] Envoy : vendredi 12 janvier 2001 15:17 : '[EMAIL PROTECTED]' Objet : RE: TOMCAT PROBLEM of disconection No i am using a mandrake 7.1

protect

2001-01-12 Thread Carlos
How can i protect a directory with a passwd a user name in tomcat? i have create a directory in TOMCAT_HOME/webapps how can i protect this directory with a passwd and username? thanks Carlos - To unsubscribe, e-mail: [EMAIL

FORWARD ERROR

2001-01-12 Thread Khaled Ben Mohamed
What's happen ? I have two files myfile.jsp and otherfile.jsp with forward between the two files My tomcat dead sometimes and i understand nothing !!! How can i know that it is a JVM error or a tomcat error or a apache redirection error or a ssl error ??? Thanks in advance Error: 500

Re: howto implement global applications?

2001-01-12 Thread Matt Goss
mall, add your connection pool object to the ServletContext like so: getServletConfig().getServletContext().setAttribute("poolname", pool); then when you want to get a connection just get a reference to your pool object like so: PoolObject mypool =

Problems with GET parameters on jakarta/apache

2001-01-12 Thread Konrad Rokicki
I'm having an odd problem.. I've installed tomcat/apache1.3/mod_jk under solaris. I run tomcat on port 8090 and apache with mod_jk/tomcat under port 8080. Servlets seem to work on 8090. They also execute on 8080, however, when I try something like:

RES: Multipart/form-data

2001-01-12 Thread Jose Euclides da Silva Junior - DIGR.O
Try to use a try/catch command in your code, so you can control some exceptions. Regards, Jos Euclides Jnior __ E-mail: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] http://euclides.8m.com -Mensagem original- De:

Re: Servlet to JSP

2001-01-12 Thread Matt Goss
Edimar, What you need to do is create a Bean to hold your "query" data and then add it to the session, the request, or the ServletConfig in order to give it session, request, or application scope. Then you can reference the bean via jsp:useBean id="beanname" class="beanClass"

Please Unsubscribe Me

2001-01-12 Thread neild5
Please unsubscribe me This message was sent by Easymail - http://www.easynet.co.uk/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

Clarification

2001-01-12 Thread Samson, Lyndon [IT]
Hi All I'm asking this even though I'm pretty sure of the answer and I'm sure its come up before. Short version is, what is the class path search order of WEB-INF/lib ? If it containts a.jar and b.jar and they both contain class C, which class C is instantiated by a servlet? I think its

Unsubscribe me

2001-01-12 Thread PAPIREDDY Poreddy
-Original Message- From: Jose Euclides da Silva Junior - DIGR.O [mailto:[EMAIL PROTECTED]] Sent: Friday, January 12, 2001 9:14 PM To: [EMAIL PROTECTED] Subject: RES: Multipart/form-data Try to use a try/catch command in your code, so you can control some exceptions. Regards, Jos

RE: Multipart/form-data

2001-01-12 Thread mayan
I posted a similar message regarding the Oreilly upload package, contacted the author of the package, Mr. Jason Hunter, and also did a lot of experiment of my own. The conclusion is this is MAYBE a problem between mod_jk and apache. Here are the results of my investigation:

frustration installing tomcat 3.2.1 + apache + virtual hosts

2001-01-12 Thread Stefanos Karasavvidis
I'm successfully using JServ + GNUjsp + Apache and tried to setup a similar system using Tomcat 3.2.1 + Apache, but I got confused with the configuration files and nothing seems to work right now. I want to setup the following system: -An Apache server with several virtual hosts -A servlet

RE: How to detect Tomcat running on linux?/.

2001-01-12 Thread kiril
Title: RE: How to detect Tomcat running on linux?/. try ps -x |grep tomcat or ps -x |grep Kaffe either of those should work. -Original Message- From: blueless [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 11, 2001 11:39 PM To: [EMAIL PROTECTED] Subject: How to detect

RE: Clarification

2001-01-12 Thread Wang, Jianming
In order to use class C, you have to import the package which the class C belongs to. So the order of the import determines which class C is used. -Original Message- From: Samson, Lyndon [IT] [mailto:[EMAIL PROTECTED]] Sent: Friday, January 12, 2001 9:58 AM To: '[EMAIL PROTECTED]'

Web Security (tomcat)

2001-01-12 Thread Mick Sullivan
Hi Anyone have an information on web security to do with tomcat?(i.e. credit card etc) Thanks in advancce, Mick _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

RE: Clarification

2001-01-12 Thread Samson, Lyndon [IT]
Sorry I should have been clearer. My example meant the default package, and the question was in relation to what would happen if classes/packages were the same. ie WEB-INF/lib/a.jar contains; org.apache.C WEB-INF/lib/b.jar contains; org.apache.C Which C is loaded? thx lcs

Where IS the tomcat log?

2001-01-12 Thread kiril
Title: Where IS the tomcat log? I can find mod_jk.log, jasper.log, and servlet.log, but is there a generic tomcat log file somewhere? Also, anyone who can answer my previous question about java.net.SocketException would make me the happiest man alive... I'd really love to get Tomcat to,

RE: Where IS the tomcat log?

2001-01-12 Thread Troy Landers
My tomcat.log is in TOMCAT_HOME/logs. It looks like this is specified in my conf/server.xml file where I have the following: Logger name="tc_log" path="logs/tomcat.log" customOutput="yes" / Troy -Original Message- From: kiril [mailto:[EMAIL PROTECTED]]

RE: It is getting closer to make mod_jk.so, but??

2001-01-12 Thread Ed Gomolka
This is what worked for me with that same configuration: The order of arguments was critical, as were the apxs settings. This was the command that worked: /usr/local/apache/bin/apxs -o mod_jk.so -c -I /usr/java/include -I /usr/java/include/solaris -I ../jk -DSOLARIS -l posix4 *.c ../jk/*.c

RE: Multipart/form-data

2001-01-12 Thread Ed Gomolka
If you're using mod_jk with binary multipart/form-data, avoid AJP13, as it has a bug. Use AJP12. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, January 12, 2001 9:11 AM To: [EMAIL PROTECTED] Subject: RE: Multipart/form-data I posted a

shutdown.sh not working

2001-01-12 Thread kiril
Title: shutdown.sh not working Why doesn't shutdown.sh work? Whenever I want to shutdown or restart tomcat, I have to 'kill' its process.

mod_jk on hpux 10.20?

2001-01-12 Thread Bob Brown
I'm trying to install mod_jk on hpux 10.20. I have apache 1.3, tomcat 3.2 and the java developer kit installed. When I run the apxs command to compile mod_jk, I get an error because it can't find sys/select.h This file doesn't appear on any of my hpux systems. If I remove the reference to it,

RE: shutdown.sh not working

2001-01-12 Thread Kitching Simon
Try running the shutdown command several times. On HP-UX, I need to run it 3 times to shut tomcat down; on solaris I only need to run the script once. It appears to be related to the way different JVMs handle interrupting threads; I've asked several times on this group but no-one seems to have

RE: Possible Jasper/introspecthelper bug...

2001-01-12 Thread Muehlmann, Fred
Robert, It looks like the INPUT ... should have an equal sign INPUT type="hidden" name="actionType" value"%=dbBean.ACTION_INTERFACE_ADD_USER%" here ^ making it: INPUT type="hidden" name="actionType" value="%=dbBean.ACTION_INTERFACE_ADD_USER%" Fred [EMAIL

Something wrong with ajp???

2001-01-12 Thread kiril
Title: Something wrong with ajp??? I get this error when trying to run java server pages, and a similar error (but with Ajp12) when I try to run shutdown.sh... is there something wrong with ajp? is this a bug? is there some config file I need to fix? Please help! (Red Hat 6.2, Apache 1.3,

Re: shutdown.sh not working

2001-01-12 Thread Rick Bosch
Title: Re: shutdown.sh not working if you have any servlet that throws an uncought exception on startup it screws up the main process which results in shutdown.sh not working. From: kiril [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Fri, 12 Jan 2001 10:53:42 -0500 To: Jakarta \(E-mail\)

Compiling .java to .class

2001-01-12 Thread Mick Sullivan
This is probably an easy question, but how do you compile a .java file in Jbuilder to a .class file? _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

RE: Compiling .java to .class

2001-01-12 Thread Wang, Jianming
use Build -Original Message- From: Mick Sullivan [mailto:[EMAIL PROTECTED]] Sent: Friday, January 12, 2001 11:15 AM To: [EMAIL PROTECTED] Subject: Compiling .java to .class This is probably an easy question, but how do you compile a .java file in Jbuilder to a .class file?

New User help required

2001-01-12 Thread Jason Norton
Hi,=20 I have just started to use Apache and would like to get Tomcat operational = and I am having some minor problems. I have both tomcat and apache up and = running and servicing pages as individuals (http://localhost and = http://localhost:8080), but am having some problem getting them to

getInitParameter

2001-01-12 Thread Luk Smolders
Hi, I'm using the following command in my servlet : value = config.getInitParameter("AddressList"); Can someone tell me how to configure Tomcat to get the value assigned to AddressList. I don't know where I have to put the information (what file ... ?) Thanks, Luk

RE: Clarification

2001-01-12 Thread Michael Wentzel
Sorry I should have been clearer. My example meant the default package, and the question was in relation to what would happen if classes/packages were the same. ie WEB-INF/lib/a.jar contains; org.apache.C WEB-INF/lib/b.jar contains; org.apache.C Which C is loaded? The

Re: getInitParameter

2001-01-12 Thread William Brogden
Luk Smolders wrote: Hi, I'm using the following command in my servlet : value = config.getInitParameter("AddressList"); Can someone tell me how to configure Tomcat to get the value assigned to AddressList. I don't know where I have to put the information (what file ... ?) Thanks,

mod_jk.so and Apache generates undefined symbol error at runtime

2001-01-12 Thread Art Taylor
Tomcat gurus, I've managed to compile the mod_jk.so under Mandrake Linux (RedHat 6.2 and then some) but when I try to run the module with Apache 1.3.14 I get an undefined symbol error (see below).I used the Tomcat source in jakarta-tomcat-3.2.1-src to create the shared object. The following

Catalina configuration

2001-01-12 Thread Federico Delpino
Hi people, I just moved to Tomcat 4. Servlets examples run well, on the contrary JSP examples and my JSP pages all report the following error: == org.apache.jasper.JasperException: Unable to compile class for

RE: Multipart/form-data

2001-01-12 Thread mayan
Thanks, this is exactly where the problem is. I just switched my application from ajp13 to ajp12, it works fine with uploading both binary and text files. I never thought it could be the connector problem on the tomcat side. Can somebody tell me where to find all the known problems of tomcat,

Re: howto implement global applications?

2001-01-12 Thread fud fudmore
From: Matt Goss [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: howto implement global applications? Date: Fri, 12 Jan 2001 09:41:54 -0500 mall, add your connection pool object to the ServletContext like so:

Tomcat Usage

2001-01-12 Thread Art Taylor
Tomcat-Users, I'm in the process of writing a technical book that features the Tomcat server. I'm looking for stories/testimonials from people (real people) that are using this server in small to medium-sized production environments,i.e., the real world. I know that Tomcat is

wrapper.properties

2001-01-12 Thread Caspar Boekhoudt
Hi I have Tomcat 3.1 and 3.2 installed on different machines. I'm trying to run them as a service under windows2000, bu following the file: http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/NT-Service-howto.htm l I can't seem to find the wrapper.properties that is mentioned. Thank you,

RE: New User help required

2001-01-12 Thread Samson, Lyndon [IT]
Just as a matter of interest, you don't actually need apache to serve out http requests. tomcat can do that on its own. Only if you req the features of apache ( performance/config etc ) should you use it. If your primary interest is servlets/JSP/taglibs etc just use tomcat on its own. lcs

Un subscribe me............................

2001-01-12 Thread PAPIREDDY Poreddy
-Original Message- From: fud fudmore [mailto:[EMAIL PROTECTED]] Sent: Friday, January 12, 2001 10:17 PM To: [EMAIL PROTECTED] Subject: Re: howto implement global applications? From: Matt Goss [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: howto

jsp:usebean documentation

2001-01-12 Thread Shahed Ali
Hi, Where can I find documentation that acctually explains how the jsp:useBean tag works ? The Servlet API / JSP api are very complex. The JSP tag refrence does not explain the scope of the bean. For example I know that if I have a bean residing in the session and I use the usebean tag with

RE: Tomcat 3.2.1 load balancing with mod_jk

2001-01-12 Thread Jord Sonneveld
Title: RE: Tomcat 3.2.1 load balancing with mod_jk Hi Mathias, I've been playing around a fair amount with the loadbalancing code in mod_jk. You might want to read through the jakarta-tomcat/src/native/jk/jk_lb_worker.c file to get a feeling for how it works. As far as I can tell is

RE: How to detect Tomcat running on linux?/.

2001-01-12 Thread Ed Gomolka
Title: RE: How to detect Tomcat running on linux?/. Tomcat is just another Java process. You need to enter: ps -ef|grep java. The command output doesn't explicitly tell you that Tomcat is running, but it will list whatever options you added to the java command, so you should have enough

error

2001-01-12 Thread Pablo Trujillo
I am working with Tomcat and Apache. Now I am trying to install Apache1.3.14 and mod_ssl. Copy the I module mod_jserv in libexec and add the line include /apache-tomcat.conf in the file httpd.conf. it gives me the following error when lifting the Apache: invalid command LoadModule. What

NT/Tomcat/Logout

2001-01-12 Thread Edson Carlos Ericksson Richter
When I do and Logout with Tomcat installed as service, all the things stop working. Anyone can help-me? Edson Richter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

Large Scale Tomcat use

2001-01-12 Thread A Yang
Hi, I was just curious - if I wanted to architect a multi-tier web app environment, what would be the best approach in terms of scalability, performance and security: 1. Apache -- Firewall -- Standalone Tomcat -- Firewall -- DB 2. Apache -- Firewall -- Apache/Tomcat -- Firewall -- DB 3.

Re: Large tomcat log

2001-01-12 Thread Robert Wohleb
You can always set the log to show on stderr or /dev/null I think... ~Rob Pete Ehli wrote: I think it is set in the server.xml. Use error. or comment out the use of the log. The key words here is "I think" :-) -- Pete -- - Original Message - From: [EMAIL PROTECTED] To: [EMAIL

RE: Large Scale Tomcat use

2001-01-12 Thread Michael Wentzel
1. Apache -- Firewall -- Standalone Tomcat -- Firewall -- DB 2. Apache -- Firewall -- Apache/Tomcat -- Firewall -- DB 3. Apache/Tomcat -- Firewall -- Standalone Tomcat -- Firewall -- DB 4. Apache/Tomcat -- Firewall -- Apache/Tomcat -- Firewall -- DB 6. Apache/Tomcat -- Firewall --

Re: problem accessing admin context

2001-01-12 Thread Robert Wohleb
Make sure you comment out the simpleRealm section. If you don't and you have both simpleRealm and JDBCRealm defined, they will conflict. Your problem might be the result. At least in my *nix dist the simpleRealm definition comes right before the sample JDBCRealm def. ~Rob [EMAIL PROTECTED]

Re: Portal Authentication via Servlet Security

2001-01-12 Thread Robert Wohleb
I think this suggestion has been made for other questions, and I'll make it here. You can always extend the simpleRealm or JDBRealm class to handle such a process. ~Rob Drasko Kokic wrote: Craig, this looks really great (still having some minor problems using JDBCRealm instead of the

Re: Where IS the tomcat log?

2001-01-12 Thread Robert Wohleb
If you don't specify the path, then it goes to stderr I believe. In my development environ, this works out great for debugging. I restart httpd (tomcat is started before apache in the /etc/rc.d/init.d/httpd) explicitly in a shell though to see the stderr. ~Rob Troy Landers wrote: My

RE: mod_jk.so and Apache generates undefined symbol error at runtime

2001-01-12 Thread kiril
Title: RE: mod_jk.so and Apache generates undefined symbol error at runtime sounds like a bad compile, I got similar errors when I hadn't compiled mod_jk.so properly. did you get any errors when compiling? -Original Message- From: Art Taylor [mailto:[EMAIL PROTECTED]] Sent:

HELP! JSP and Beans - Error 500

2001-01-12 Thread Irina Pragin
Hi all, JSP location: tomcat/webapps/examples/jsp/irina/getData.jsp bean location: tomcat/webapps/examples/WEB-INF/classes/irina/IndustryGroupData(.java and .class) This is how Bean is called from JSP: jsp:useBean id="getData" class="irina.IndustryGroupData"

FIRST JSP PRGRAM - PLEASE HELP!

2001-01-12 Thread Mick Sullivan
Hi I need help!! I think this problem will be easy to solveas this is my first attempt at a JSP application. I am copying a JSP program from the java.sun.com website and attempting to run it on tomcat. The program is a simple one, the user enters his name into a text box and presses submit. His

Re: tomcat-user Digest 12 Jan 2001 15:11:28 -0000 Issue 531

2001-01-12 Thread Edilmar Alves
But, how to send the Query processed into Servlet to a Bean. My servlet has many complex logical and I think its hard to convert all the code to a Bean. Edilmar, What you need to do is create a Bean to hold your "query" data and then add it to the session, the request, or the ServletConfig

Help on Internal server Error 500??

2001-01-12 Thread Mary McCarthy
Hi Im writing my first little program that will welcome a user once she enters and submits her details into a web page.There is no problem Writing the JSP files but I cannot start a new .java file in Jbuilder, so I write it in Homesite, save it as .java and attempt to compile it to .class in

How to map all requests to a JSP...

2001-01-12 Thread britt
I would like to map all incomming requests to a single JSP that will include content based on the URI. I'm currently running Tomcat standalone. I know how to map servlets in web.xml but am not sure about JSP pages. Could someone point me in the right direction? Thanks, Britt [EMAIL

Re: WML not served in Tomcat

2001-01-12 Thread Craig R. McClanahan
Note that the mime-mapping> entries you describe below are only used (by Tomcat) when *static* files are served. When dynamic files are served (as they are by Cocoon), it is totally up to the servlet to set the appropriate content type. Craig McClanahan Ivan wrote: Hi all!My question is

Re: Embedding Catalina Engine

2001-01-12 Thread Craig R. McClanahan
Jon Baer wrote: I have read the documentation inside class catalina.startup.Embedded but dont quite understand the process as I would like to create a seperate method by which to *start* and *stop* a server/engine at any time from this GUI. That is not really what the Embedded class is for

Using a servlet to handle a HTTP PUT

2001-01-12 Thread Brett Perkes
I have Tomcat installed and running nicely but can't get Apache to direct a PUT to a servlet. I have a servlet named "attach" which is called with this url http://server/vault/servlet/attach. The doGet method is being executed nicely but the doPut method is never executed. In httpd.conf I have

Re: Catalina configuration

2001-01-12 Thread Craig R. McClanahan
Federico Delpino wrote: Hi people, I just moved to Tomcat 4. Servlets examples run well, on the contrary JSP examples and my JSP pages all report the following error: Which build of Tomcat 4 are you using? I would suggest trying this with beta-1. I know that there have

RE: FIRST JSP PRGRAM - PLEASE HELP!

2001-01-12 Thread Hosahalli, RaghavendraX
Hi Mick, Better you try compiling the namehandler.java in command line "javac". like "javac namehandler.java -dC:\jakarta-tomcat\webapps\Hello\Web-inf\Classes" this should create a directory "hello" for your package under "C:\jakarta-tomcat\webapps\Hello\Web-inf\Classes" and

Re: jsp:usebean documentation

2001-01-12 Thread Craig R. McClanahan
Shahed Ali wrote: Hi, Where can I find documentation that acctually explains how the jsp:useBean tag works ? The best place to start is the specifications that actually define what JSP pages and servlets actually do. For example, the discussion of what jsp:useBean actually does is on

Re: How to map all requests to a JSP...

2001-01-12 Thread Craig R. McClanahan
britt wrote: I would like to map all incomming requests to a single JSP that will include content based on the URI. I'm currently running Tomcat standalone. I know how to map servlets in web.xml but am not sure about JSP pages. Could someone point me in the right direction? You can use

Re: Servlet to JSP

2001-01-12 Thread Brian Engel
Yes you can use request.getParameter("Parm Name") in your JSP to get 'get' and 'post' data. The best way, IMO, is to make a Java Bean that builds this HTML table. Kinda off topic but you may want to use a String buffer instead of a String for your HTML return var. For large tables this will

please unsubscribe

2001-01-12 Thread pinstall
would you please unsubscribe [EMAIL PROTECTED] from the list [EMAIL PROTECTED] Patrick Install ([EMAIL PROTECTED]) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

Re: need help using bean

2001-01-12 Thread William Brogden
Kervin Pierre wrote: Hello, I can't seem to get this to work. The bean compiles OK but when I try to load it, I get a "Error: 500" below saying that my package couldn't be loaded. ... org.apache.jasper.JasperException: Unable to compile class for

Re: please unsubscribe

2001-01-12 Thread Robert Wohleb
Everyone makes mistakes, but this has happened more than once in the last week. Doesn't anyone read the bottom of emails anymore? At the bottom of every email are the instructions... ~Rob [EMAIL PROTECTED] wrote: would you please unsubscribe [EMAIL PROTECTED] from the list [EMAIL PROTECTED]

Re: Multipart/form-data

2001-01-12 Thread Bill Fox
Saikat- I had a problem with the O'Reilly MultiPartRequest object as well. My error was an IO exception. It was suggested to me on this list (by Ed Gomolka) that Ajp13 has some bugs for file uploading, and that Ajp12 is more stable. Change your mod_jk config to use the Ajp12 worker and see

Re: FIRST JSP PRGRAM - PLEASE HELP!

2001-01-12 Thread Ramkumar Manoharan
In your JBuider environment, you will be having a project(xxx.jpr) and all the java files that use will be under this project(you may to create the project if you haven't done already). Right click on the xxx.jpr and click properties.You will get a window.Under the source tab,u have got to

RE: Problem installing under Win2000

2001-01-12 Thread Marino Vittorio
there's no tomcat script in tomcat v4.0b1 btw I've downloaded v3.2 and now I can manage to run the server but I get this msg when I send requests: 2001-01-12 11:47:04 - ContextManager: Error reading request, ignored - java.lang.NullPointerException at

Problem installing on Win2000 (Part II)

2001-01-12 Thread Marino Vittorio
Tomcat v3.2 Windows 2000 Jdk1.1.8 The server starts properly: 2001-01-12 12:14:50 - ContextManager: Starting endpoint port="8050" handler="org .apache.tomcat.service.http.HttpConnectionHandler" 2001-01-12 12:14:50 - ContextManager: Starting endpoint port="8007" handler="org

Re: Calling the same servlet regardless of the URL

2001-01-12 Thread Ramkumar Manoharan
Maybe you can try doing this in the web.xml: servlet servlet-name ServletX /servlet-name servlet-class ServletX /servlet-class init-param param-namepathinfo/param-name

Re: Help on Internal server Error 500??

2001-01-12 Thread Mick Sullivan
Good man, Good man Thanks a million!! Original Message Follows From: "Ramkumar Manoharan" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Help on Internal server Error 500?? Date: Fri, 12 Jan 2001 13:09:55 -0800 In your JBuider environment,

Red Hat Tomcat successful user?

2001-01-12 Thread kiril
Title: Red Hat Tomcat successful user? Is there anyone out there successfully runnint Tomcat 3.2.1 w/ Apache 1.3 on Red Hat 6.2 or something similar, using AJP13, who could perhaps show me some config files or give me some hints as to why my install isn't working? Getting a

  1   2   >