HTTP Status 404 - /HelloServlet

2003-07-01 Thread Naveen My
Hello, I have installed Tomcat 4.1.x on JDK 1.4.x. I am able to run Tomcat and also view example JSP/servlets. I set all class paths according to the notes and trying to run simple helloWorld example I am getting HTTP Status 404 - /HelloWorld error I am going crazy

RE: HTTP Status 404 - /HelloServlet

2003-07-01 Thread Deepak Nagpal
how r u calling ur servlet, can u send ur URL. -Original Message- From: Naveen My [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 11:51 AM To: Tomcat Users List Subject: HTTP Status 404 - /HelloServlet Hello, I have installed Tomcat 4.1.x on JDK 1.4.x. I am able to run Tomcat and

Apache Apache 2.0.46 - Tomcat 4.1.18

2003-07-01 Thread Nguyen Anh Tuan
Hi, I try to setup Apache-Tomcat using Apache Apache 2.0.46, Tomcat 4.1.18 and mod_jk2-2.0.43.dll (JK2 connector), and whenever I try to browse to any JSP page, I get this error: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your

RE: HTTP Status 404 - /HelloServlet

2003-07-01 Thread Naveen My
http://12.206.145.47/servlet/HelloServlet I am following the below example from web http://javaboutique.internet.com/tutorials/Tomcat/compile.html#Test-Servlets Deepak Nagpal [EMAIL PROTECTED] wrote: how r u calling ur servlet, can u send ur URL. -Original Message- From:

RE: HTTP Status 404 - /HelloServlet

2003-07-01 Thread Naveen My
http://12.206.145.47/servlet/HelloServlet I am following the below example from web http://javaboutique.internet.com/tutorials/Tomcat/compile.html#Test-Servlets Deepak Nagpal [EMAIL PROTECTED] wrote: how r u calling ur servlet, can u send ur URL. -Original Message- From:

RE: HTTP Status 404 - /HelloServlet

2003-07-01 Thread Deepak Nagpal
I am not sure try to give the POrt No 8080. then check. http://12.206.145.47:8080/servlet/HelloServlet In the mean while i will check the link. -Original Message- From: Naveen My [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 12:26 PM To: Tomcat Users List Subject: RE: HTTP

RE: HTTP Status 404 - /HelloServlet

2003-07-01 Thread Naveen My
I set my default port to 80. Deepak Nagpal [EMAIL PROTECTED] wrote: I am not sure try to give the POrt No 8080. then check. http://12.206.145.47:8080/servlet/HelloServlet In the mean while i will check the link. -Original Message- From: Naveen My [mailto:[EMAIL PROTECTED] Sent:

RE: HTTP Status 404 - /HelloServlet

2003-07-01 Thread Naveen My
http://12.206.145.47/bat/ check this link... The first file in the directory listing is HelloServlet class Deepak Nagpal [EMAIL PROTECTED] wrote: I am not sure try to give the POrt No 8080. then check. http://12.206.145.47:8080/servlet/HelloServlet In the mean while i will check the link.

Apache Apache 2.0.46 - Tomcat 4.1.18

2003-07-01 Thread Nguyen Anh Tuan
Hi, I try to setup Apache-Tomcat using Apache Apache 2.0.46, Tomcat 4.1.18 and mod_jk2-2.0.43.dll (JK2 connector), and whenever I try to browse to any JSP page, I get this error: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your

Problem redirecting call to HTTPS

2003-07-01 Thread Abid Ali Teepo
Hello Somehow tomcat will not redirect requests to pages under a security constraint to https. Instead i get an HTTP 500 Internal Server Error In my server.xml the two connectors look like this : !-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8081 -- Connector

RE: HTTP Status 404 - /HelloServlet

2003-07-01 Thread Deepak Nagpal
check ur web.xml file. what u have specified as the servlet mapping. servlet-mapping servlet-nameHelloServlet/servlet-name url-pattern/servlet/HelloServlet/url-pattern /servlet-mapping Is it so ? then chenge ur URL accordingly. -Original Message- From: Naveen My

A simple filter question ..

2003-07-01 Thread Abid Ali Teepo
Hi I am trying to make a filter that will redirect all request that don't have a autheticated attribute set, to be redirected to the login page. Somehow my filter does not work properly even though it still is a very basic implementation that does nothing besides a few system out

Re: tomcat and log4j

2003-07-01 Thread Holger Klawitter
Am Dienstag, 1. Juli 2003 02:03 schrieb Dean A. Hoover: Thanks for responding. I'm just going by what it says in the log4j manual: The default log4j initialization is particularly useful in web-server environments. Under Tomcat 3.x and 4.x, you should place the |log4j.properties| under the

Re: HTTP Status 404 - /HelloServlet

2003-07-01 Thread Holger Klawitter
Hi, you have either to enable the invoker or you have to create a servlet-mapping in your web.xml. This is a common mistake with tomcat 4.1.x. Mit freundlichem Gruß / With kind regards Holger Klawitter -- lists at klawitter dot de

RE: HTTP Status 404 - /HelloServlet

2003-07-01 Thread Deepak Nagpal
try http://12.206.145.47/bat/servlet/HelloServlet then tell what happened. -Original Message- From: Naveen My [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 12:40 PM To: Tomcat Users List Subject: RE: HTTP Status 404 - /HelloServlet http://12.206.145.47/bat/ check this

Re: index.html

2003-07-01 Thread Oki DZ
On Fri, Jun 27, 2003 at 07:12:23AM -0400, Tim Funk wrote: Odd. I'll download the binary and take a look. I downloaded Tomcat again; now I have the daily builds (ie: jakarta-tomcat-5-bin-20030628.tar.gz). Same thing happened. I believe that's pretty strange. Oki

deleting JSP Files?

2003-07-01 Thread Thomas Weller
Hello, I have a JSP Project I want to deliver on CD. Of course I don't want to provide all sources, so I decided only to include class-files. I precompiled all JSP files to class files and then deleted the JSP files. Unfortunately, this does not seem to work. Tomcat generates a file not found

Soap-Call doesn't open IP-Connection

2003-07-01 Thread Rabl Mario
Hi, I'm running Tomcat 4 on a RedHat 7.3 server. When I try to call a Soap-Server, no TCP/IP-Socket will be opened (using tcpdump -n -nn -i eth0 host xxx.xxx.xxx.xxx to determine) and no network activity is shown up. The Test-Callup: /usr/java/j2re1.4.2/bin/java -verbose:jni -cp

Session ... Problem

2003-07-01 Thread Puneet Sachar
Kindly tell me the disadvantages of using session variables in any application.. Right now i'm working on psp. What are the points one should take care of when creating the session variables how much the value it can hold and how many session variable i can have taking all the parameters of

Re: Soap-Call doesn't open IP-Connection

2003-07-01 Thread Antonio Fiol Bonnín
Try -i lo Good luck! Antonio Fiol Rabl Mario wrote: Hi, I'm running Tomcat 4 on a RedHat 7.3 server. When I try to call a Soap-Server, no TCP/IP-Socket will be opened (using tcpdump -n -nn -i eth0 host xxx.xxx.xxx.xxx to determine) and no network activity is shown up. The Test-Callup:

RE: deleting JSP Files?

2003-07-01 Thread Edward See \(magicaLogic\)
the way I do it, i place as much java codes as possible (scriplets in jsp) inside javabeans. javabeans are distributed as .class files no need for .java files. in jsp files, minimal scriptlets that are unavoidable. jsp session variables need java processing too, so those variables are inside

Jsp problem

2003-07-01 Thread Reynir Hübner
Hi folks, I have a server, that disbehaves when ever I change any jsp page, it stops rendering it. The context has reloadable=true set. The error messages I get start like this : org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp

RE: Jsp problem: solved ... kindof

2003-07-01 Thread Reynir Hübner
Strange, I resolved this problem by running the tomcat instance on console (with the command catalina run), (not as service). I got no error messages, but now the page displayes alright, and I can close the console and start it again as service. Weird behaviour !!! -r -Original

How to create user-accounts in Tomcat (when used as a Web Server)

2003-07-01 Thread Agarwal, Naresh
Hi I'm using Tomcat as a Web Server. I want Tomcat to use the Basic HTTP autentication. For this, I have added the following to the web.xml login-config auth-methodBASIC/auth-method realm-nameTomcat/realm-name /login-config security-constraint

Tomcat 4.1.18 as NT Service JVM property

2003-07-01 Thread Renato Romano
I have to put a system property on the command line of the tomcat starting script, but I would like to start it as a Service (on a windows machine); i tried using CATALINA_OPTS defined as a system environment variable, but it doesn't seem to work. Release 4.1.18 already installs the service, but I

Re: HTTP Status 404 - /HelloServlet

2003-07-01 Thread Camron Levanger
Have you properly set things up in your web.xml file? Also have you modified sever.xml if needed? Cam Naveen My wrote: Hello, I have installed Tomcat 4.1.x on JDK 1.4.x. I am able to run Tomcat and also view example JSP/servlets. I set all class paths according to the notes and trying

Re: Jsp problem

2003-07-01 Thread Tim Funk
http://jakarta.apache.org/tomcat/faq/misc.html#compile Has some links on this issue. -Tim Reynir Hübner wrote: Hi folks, I have a server, that disbehaves when ever I change any jsp page, it stops rendering it. The context has reloadable=true set. The error messages I get start like this :

Re: How to create user-accounts in Tomcat (when used as a Web Server)

2003-07-01 Thread Tim Funk
Tomcat does this via Realms. Look at the Realms documentation. -Tim Agarwal, Naresh wrote: Hi I'm using Tomcat as a Web Server. I want Tomcat to use the Basic HTTP autentication. For this, I have added the following to the web.xml login-config

Re: deleting JSP Files?

2003-07-01 Thread Tim Funk
Have have put the mappings of the class files to your jsp's in your web.xml? JSPC should provide a mechanism to give you a snippet of XML to place in web.xml. That needs to be there for precompiling to work. -Tim Thomas Weller wrote: Hello, I have a JSP Project I want to deliver on CD. Of

Re: index.html

2003-07-01 Thread Tim Funk
What happens if you use bin/startup.sh? -Tim Oki DZ wrote: On Fri, Jun 27, 2003 at 07:12:23AM -0400, Tim Funk wrote: Odd. I'll download the binary and take a look. I downloaded Tomcat again; now I have the daily builds (ie: jakarta-tomcat-5-bin-20030628.tar.gz). Same thing happened. I

java.util.zip.ZipException: The system cannot find the path specified

2003-07-01 Thread LBERNOLE
Hello, I just tried to start using tomcat, but it won't start. I use the following: JDK:jdk1.3.0_01 Tomcat: tomcat-4.1.24.exe (to install it) Win2K JAVA_HOME C:\jdk1.3.0_01 CATALINA_HOME C:\Program Files\Apache Group\Tomcat 4.1 CLASSPATH

AW: deleting JSP Files?

2003-07-01 Thread Thomas Weller
Hi Tim, I think you mean the generated_web.xml file generated by Ant. Until now, I was unable to compile my Project with Ant, so I don't have that file. But maybe there is an XML Tag inside to tell Tomcat not to compile the sources which I could use. Is there an example file of

Re: AW: deleting JSP Files?

2003-07-01 Thread Tim Funk
Yup (for generated_web.xml file) - I never use precompiled JSP (wish I could so my experience is limited, as well as my knowledge). Tomcat5 example webapp use precompiled jsps. But the xml snippet generated by the ANT task is essential to using precompiled JSP's. That snippet declares each

Tomcat 4.1.24 with Oracle8i

2003-07-01 Thread Naveen My
Can anybody help me with tutorial links of Tomcat + oracle ? I am using Tomcat 4.1.24 and Oracle 8i. thanks in advance -naveen - Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!

Re: HTTP Status 404 - /HelloServlet

2003-07-01 Thread John Turner
FAQ http://jakarta.apache.org/tomcat/faq/misc.html#invoker John On Mon, 30 Jun 2003 23:21:26 -0700 (PDT), Naveen My [EMAIL PROTECTED] wrote: Hello, I have installed Tomcat 4.1.x on JDK 1.4.x. I am able to run Tomcat and also view example JSP/servlets. I set all class paths according to

using Tomcat's UserDatabase realm

2003-07-01 Thread Dave Naden
I'm implementing simple authentication (Tomcat 4.1.24), either BASIC or FORM-based, using the UserDataBaserealm, and tomcat's tomcat-users.xml file. My web.xml file has security-constraint and login-config tags. What I'm wondering is, why don't I also need to use security-role tags--the spec

Re: HTTP Status 404 - /HelloServlet

2003-07-01 Thread John Turner
FAQ http://jakarta.apache.org/tomcat/faq/misc.html#invoker John On Mon, 30 Jun 2003 23:55:43 -0700 (PDT), Naveen My [EMAIL PROTECTED] wrote: http://12.206.145.47/servlet/HelloServlet I am following the below example from web

Re: HTTP Status 404 - /HelloServlet

2003-07-01 Thread John Turner
FAQ http://jakarta.apache.org/tomcat/faq/misc.html#invoker John On Tue, 1 Jul 2003 12:33:49 +0530, Deepak Nagpal [EMAIL PROTECTED] wrote: I am not sure try to give the POrt No 8080. then check. http://12.206.145.47:8080/servlet/HelloServlet In the mean while i will check the link.

Re: HTTP Status 404 - /HelloServlet

2003-07-01 Thread John Turner
FAQ http://jakarta.apache.org/tomcat/faq/misc.html#invoker John On Mon, 30 Jun 2003 23:54:26 -0700 (PDT), Naveen My [EMAIL PROTECTED] wrote: http://12.206.145.47/servlet/HelloServlet I am following the below example from web

Re: How to configure TomCat4 for web applications?

2003-07-01 Thread John Turner
You must explicitly map each servlet in your application's web.xml file. Please post: - the location on your filesystem of your servlet class file (like Controller/WEB-INF/classes/... or whatever) - the exact URL you WISH to use to reach that servlet - any servlet and servlet-mapping elements

RE: Using a custom class loader to load webapp classes

2003-07-01 Thread Cox, Charlie
last I recall per this list was that this had some problems. I don't remember when that was, so check the archives and bugzilla for 'loader' Charlie -Original Message- From: Bill Barker [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 2:04 AM To: [EMAIL PROTECTED] Subject: Re:

Re: Apache Apache 2.0.46 - Tomcat 4.1.18

2003-07-01 Thread John Turner
http://www.greenfieldresearch.ca/technical/jk2_config.html John On Mon, 30 Jun 2003 23:49:06 -0700 (PDT), Nguyen Anh Tuan [EMAIL PROTECTED] wrote: Hi, I try to setup Apache-Tomcat using Apache Apache 2.0.46, Tomcat 4.1.18 and mod_jk2-2.0.43.dll (JK2 connector), and whenever I try to browse to

RE: A simple filter question ..

2003-07-01 Thread Cox, Charlie
change: public void init(FilterConfig f) {} to public void init(FilterConfig f) {setFilterConfig(f);} from one of the filter samples for the m_filterConfig: /** * The filter configuration object we are associated with. If this value * is null, this filter instance is not currently

RE: Session ... Problem

2003-07-01 Thread Shapira, Yoav
Howdy, Hmm... I was going to list a few things, and then I realize that I do it by feel. Maybe that'll work for you too: you'll know when you're putting too many things in the session. One thing to watch out for is Serializable: you should try to only put Serializable objects in the session.

Tomcat+SDK = Licencing problem?

2003-07-01 Thread Thomas Weller
Hello, When I provide my JSP project on CD, I have to deliver Tomcat and the Java SDK. Do you know a bit about the licences in this case? Do I have to let the user accept both licences before he may use my application? Thanks in advance Thomas

RE: Tomcat 4.1.24 with Oracle8i

2003-07-01 Thread Shapira, Yoav
Howdy, What do you need to know? Yoav Shapira Millennium ChemInformatics -Original Message- From: Naveen My [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 7:41 AM To: Tomcat Users List Subject: Tomcat 4.1.24 with Oracle8i Can anybody help me with tutorial links of Tomcat +

RE: tomcat and log4j

2003-07-01 Thread Shapira, Yoav
Howdy, You're not going to have file write access to xxx.log from inside a war. Ensure the File parameter for your appender in log4j.properties points to a writeable location. Yoav Shapira Millennium ChemInformatics -Original Message- From: Dean A. Hoover [mailto:[EMAIL PROTECTED]

RE: Tomcat 4.1.24 with Oracle8i

2003-07-01 Thread Gregory, Carlton
Im new to Tomcat and Oracle too. There is some good info out on technet.oracle.com on Servlets and JSPs BUT all the examples use OC4J (Oracle Containers for J2EE) not Tomcat. I am trying to learn the best way to use connection pooling. Ive been told that Oracles implementation of connection

RE: Tomcat 4.1.24 with Oracle8i

2003-07-01 Thread Shapira, Yoav
Howdy, DBCP is a generic database connection pooling implementation. You can find a Tomcat HOW-TO with examples here: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples -howto.html Yoav Shapira Millennium ChemInformatics -Original Message- From: Gregory, Carlton

RE: Tomcat+SDK = Licencing problem?

2003-07-01 Thread Stefan Radzom
The following links should provide the answers to your questions. http://www.apache.org/foundation/licence-FAQ.html#My-CD http://servlet.java.sun.com/help/legal_and_licensing/#63 Stefan -Original Message- From: Thomas Weller [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2003

RE: How to configure TomCat4 for web applications?

2003-07-01 Thread Chen, Yi
Only TomCat4, but isn't it true that I could have several versions of TomCat running on a machine as long as they use different ports? Thanks. Yi -Original Message- From: john d barreto [mailto:[EMAIL PROTECTED] Sent: Monday, June 30, 2003 5:34 PM To: [EMAIL PROTECTED] Subject: RE: How to

RE: How to configure TomCat4 for web applications?

2003-07-01 Thread Deepak Nagpal
ya this is possible. -Original Message- From: Chen, Yi [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 7:09 PM To: 'Tomcat Users List' Subject: RE: How to configure TomCat4 for web applications? Only TomCat4, but isn't it true that I could have several versions of TomCat running

Accessing databases...

2003-07-01 Thread Martín Mauri
Hi, could anyone tell me which's the best way to access databases within a tomcat webapp?? is it better to use beans or scriptlets? thanks... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

How to configure

2003-07-01 Thread TED . CURTSINGER
Tomcat URLs to NOT be case-sensitive. TIA, Ted - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Accessing databases...

2003-07-01 Thread Shapira, Yoav
Howdy, Hopefully you're not accessing DBs from a JSP at all ;) Use servlets if you can, and keep the JSPs for presentation. But you have to, an accessor bean is probably better. Yoav Shapira Millennium ChemInformatics -Original Message- From: Martín Mauri [mailto:[EMAIL PROTECTED]

AW: Tomcat+SDK = Licencing problem? Thanks

2003-07-01 Thread Thomas Weller
Thank you! That's exactly what I wanted to know. It's a good idea that apache foundation includes a non-lawyer-interpretation of their license. -Ursprungliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 1. Juli 2003 15:02 An: 'Tomcat Users List'

Re: How to configure

2003-07-01 Thread sbruton
you can't (and shouldn't ;-) from tomcat release notes... 6.6 URL's are now case sensitive on all operating systems As of Tomcat 3.2, URL's are case sensitive for all operating systems, including operating systems which have case insensitive file systems, such as Windows. This represents a

off subject - examples

2003-07-01 Thread Donald Duquaine
I know that this list is directed toward tomcat (catalina) issues specifically. But, as a user group can you direct me to some open source examples of (JSP) web apps. Is there a group within this user group that collaborate and share knowledge base about building the end product web apps. Best

Re: nullpointer when precompile jsp with tag

2003-07-01 Thread Johann Uhrmann
Hong Fan wrote: [...] The interesting thing is that these same jsps run with no problem on tomcat, i.e. tomcat will precompile/compile them at run time and they work fine Does anyone know whats going on? How can I get Ant to do the precompile. I have encountered the very same problem here.

Re: off subject - examples

2003-07-01 Thread Peter Smith
Donald, You might want to try Sun's JavaServer Pages forum. Here is the link: http://forum.java.sun.com/forum.jsp?forum=45 Peter -- Peter Smith Software Engineer InfoNow Corporation From: Donald Duquaine [EMAIL PROTECTED] Organization: Millennium Laboratories Inc. Reply-To: Tomcat Users

Re: nullpointer when precompile jsp with tag

2003-07-01 Thread Johann Uhrmann
Hi, I have a hint on that issue: The jasper compiler crashes if the TLD contains a variable-section. In my case, commenting out the following section from my TLD made jasper run without any errors: variable name-from-attributevar/name-from-attribute

Re: How to configure

2003-07-01 Thread TED . CURTSINGER
Why shouldn't I want to configure for case insensitivity? What does it really matter whether I type http://some.server.com/Folder/MyPage.jsp - or simply, without the finger gymnastics - http://some.server.com/folder/mypage.jsp --( Forwarded letter 1 follows

Re: How to configure

2003-07-01 Thread John Turner
The JDK is case sensitive. Java is case sensitive. Case sensitive web applications are portable. Case insensitive web applications are not. Case sensitive installations are portable. Case insensitive installations are not. 'nuf said. John On Tue, 1 Jul 2003 10:40:00 -0400, [EMAIL

Re: How to configure

2003-07-01 Thread Giorgio Ponza
usually an intelligent OS would considerate MyPage.jsp mypage.jsp 2 different files and i can only say this is a good approach. So, expecially for portability, Tomcat should follow this feature, i think. In any case, if you want to save finger gymnastics, you can rename your files in lower

RE: How to configure

2003-07-01 Thread Stefan Radzom
I think there is one thing left to say ;-) The spec is pretty clear on this one. SRV.11.1 says 4. [...] The container must use case-sensitive string comparisons for matching. This does not allow for any configuration options. -Stefan -Original Message- From: John Turner

RE: How to configure

2003-07-01 Thread Joe Reger, Jr.
Ted, It's a religious sort of thing (coder vs. designer) (system architect vs. usability analyst) (technology vs. sales). To make systems more stable and portable we need case sensitivity. To make systems easier to use designers relax restrictions to make systems a little easier to deal with.

Finding out version number of an existing tomcat installation

2003-07-01 Thread Misha Gale
Dear All, Can anybody tell me of a way to find out what version of jakarta-tomcat is installed on a system? More precisely, I need to know the patchlevel, I know that the installation is 4.1.xx If it helps, I think the installation date was Dec 19 2002 Having obtained this information, where can

RE: Finding out version number of an existing tomcat installation

2003-07-01 Thread Shapira, Yoav
Howdy, Can anybody tell me of a way to find out what version of jakarta-tomcat is installed on a system? More precisely, I need to know the patchlevel, I know that the installation is 4.1.xx If it helps, I think the installation date was Dec 19 2002 Programatically, via

Re: Finding out version number of an existing tomcat installation

2003-07-01 Thread sbruton
or the quick and dirty way: http://my.tomcat.server/random_gibberish The 404 will contain the server version. Of course, there are way too many reasons why this might not work, but hey... On Tue, Jul 01, 2003 at 11:15:47AM -0400, Shapira, Yoav wrote: Howdy, Can anybody tell me of a way to

Re: Accessing databases...

2003-07-01 Thread Mark
Depending on your app, you might find the the Data Access Object design pattern useful: http://java.sun.com/blueprints/corej2eepatterns/Patterns/DataAccessObject.html At 7/1/2003 10:47 AM, you wrote: Hi, could anyone tell me which's the best way to access databases within a tomcat webapp?? is

mod jk2 problem, segmetation fault

2003-07-01 Thread Przemys³aw Korona
Hi there, I have a problem with integrating tomcat and apache using jk2. System configuration: suse 8.1 apache 1.3.26 tomcat 4.1.24 Correct me if I am wrong, but to establish link bw. apache and tomcat I need to: - add a connector in server.xml

RE: mod jk2 problem, segmetation fault

2003-07-01 Thread Shapira, Yoav
Howdy, However in apache, there are some errors after restart: [Tue Jul 01 14:47:08 2003] ( info) [mod_jk2.c (284)]: mod_jk child init [Tue Jul 01 14:47:08 2003] ( info) [mod_jk2.c (292)]: mod_jk.post_config() init worker env [Tue Jul 01 14:47:08 2003] (error) [jk_logger_file.c (171)]: Can't

Re: mod jk2 problem, segmetation fault

2003-07-01 Thread John Turner
Step 1 is unnecessary. Tomcat comes with a JK2 compatible connector enabled by default on port 8009. The class name for this connector is CoyoteConnector. Ajp13Connector is for JK and is incompatible with JK2...it will never work. If you need to use JK2, you don't need to do anything to

Re: Accessing databases...

2003-07-01 Thread Micael
I wholeheartedly endorse this approach, using value objects and a composite entity pattern. The book on j2ee patterns shows a lot on how to do all this. It is a really valuable book if followed. At 11:38 AM 7/1/03 -0400, you wrote: Depending on your app, you might find the the Data Access

Re: How to configure

2003-07-01 Thread Tim Funk
http://jakarta.apache.org/tomcat/faq/windows.html#case But its a bad idea. -Tim [EMAIL PROTECTED] wrote: Tomcat URLs to NOT be case-sensitive. TIA, Ted - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Sharing a session between multiple frames

2003-07-01 Thread Mark Riddoch
I have a webapp that makes use of the session to store a key to track the current state of a user. This all works fine under Tomcat 4.0 but when I move to 4.1 on Linux I get a problem as soon as I start invoking multiple frames on a page. It seems that a different thread is used for the two

RE: Sharing a session between multiple frames

2003-07-01 Thread Shapira, Yoav
Howdy, I have a webapp that makes use of the session to store a key to track the current state of a user. This all works fine under Tomcat 4.0 but when I move to 4.1 on Linux I get a problem as soon as I start invoking multiple frames on a page. It seems that a different thread is used for the

Can't get DefaultContext value

2003-07-01 Thread Collins, Jim
Hi, I am trying to access an environment value that is defined in the server.xml file like this: DefaultContext ... ... Environment name=formatFile value=/myfile.txt type=java.lang.String override=true/ ... /DefaultContext In my code I do a lookup like this:

url-pattern in filters

2003-07-01 Thread Abid Ali Teepo
Hi Can someone direct me to information as to how i can use the url-pattern in the web.xml file for a filter. I want the filter to be used for all requests, and have put in a url-pattern /* /url-pattern. Somehow the filter is still not called for any request. Anyone got a clue ? Regards

RE: How to configure TomCat4 for web applications?

2003-07-01 Thread Chen, Yi
This worked!! I created a new web.xml and mapped the servlet in it, now I can access my Controller application. One more question is this application imports other jar files. I put all jar files under shared/lib/jarFile.Theoretically all applications can use this jarFile. But TomCat can't find

Re: mod jk2 problem, segmetation fault

2003-07-01 Thread Przemys³aw Korona
Thank you all, for your quick responses. Tomcat comes with a JK2 compatible connector enabled by default on port 8009. The class name for this connector is CoyoteConnector. You mean: org.apache.coyote.tomcat4.CoyoteConnector ? If you need to use JK2, you don't need to do anything to server.xml

RE: url-pattern in filters

2003-07-01 Thread Shapira, Yoav
Howdy, A filter mapped to /* will get called for all requests. The description of the url-pattern element and its uses is in the Servlet Specification. If you post your specific filter's code, we can help find bugs in it. Yoav Shapira Millennium ChemInformatics -Original Message-

RE: Can't get DefaultContext value

2003-07-01 Thread Collins, Jim
I am deploying my app using the manager servlet. -Original Message- From: Collins, Jim [mailto:[EMAIL PROTECTED] Sent: 01 July 2003 17:22 To: 'Tomcat Users List' Subject: Can't get DefaultContext value Hi, I am trying to access an environment value that is defined in the server.xml

Re: mod jk2 problem, segmetation fault

2003-07-01 Thread John Turner
On Tue, 01 Jul 2003 18:27:47 +0200, Przemys³aw Korona [EMAIL PROTECTED] wrote: Thank you all, for your quick responses. Tomcat comes with a JK2 compatible connector enabled by default on port 8009. The class name for this connector is CoyoteConnector. You mean:

Re: How to configure TomCat4 for web applications?

2003-07-01 Thread John Turner
Check the class loader HOWTO: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html To wit: Shared - This class loader is the place to put classes and resources that you wish to share across ALL web applications (unless Tomcat internal classes also need access, in which case

FORM-based ldap authentication problem

2003-07-01 Thread Maurice Coyle - Sun Microsystems Ireland
hi all, i've implemented form-based ldap authentication on my tomcat server. it works fine in general but from time to time when i enter my ldap username and password, i get a blank page with j_security_check in the location field. if i reload the page, i get the login_error.jsp page and upon

RE: FORM-based ldap authentication problem

2003-07-01 Thread Pitre, Russell
I've been trying to get form-based ldap authentication workingbut no luck.do you think i could see some sample code? Russ -Original Message- From: Maurice Coyle - Sun Microsystems Ireland [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 12:50 PM To: [EMAIL PROTECTED]

RE: FORM-based ldap authentication problem

2003-07-01 Thread Maurice Coyle - Sun Microsystems Ireland
by all means. there's 4 basic steps to this: 1. in server.xml paste the following (replace YOUR-SERVER with the url of the ldap server and you'll probably have to change the userBase bit too) to tell tomcat where to go to authenticate: Realm

SSL through IIS to call the Tomcat - problem with isapi_rediect.dll

2003-07-01 Thread Kannan Sundararajan
All, Can't use SSL through IIS to call the Tomcat ( crystal reports DLL ) because of problems in the isapi_redirect.dll. Any idea ? Thanks in advance, Kannan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

RE: FORM-based ldap authentication problem

2003-07-01 Thread Pitre, Russell
i'll give a shot..thanx sooo much. take care and good lucki wish i could be more of a help to you Russ -Original Message- From: Maurice Coyle - Sun Microsystems Ireland [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 1:07 PM To: [EMAIL PROTECTED] Subject: RE:

RE: FORM-based ldap authentication problem

2003-07-01 Thread Karr, David
I haven't tried to set up an LDAP authenticator in Tomcat, but shouldn't you have to specify the attribute name for the uid? You've specified the pattern for the search DN, but I would assume you'd have to specify uid separately somewhere. -Original Message- From: Maurice Coyle - Sun

RE: mod jk2 problem, segmetation fault

2003-07-01 Thread Shapira, Yoav
Howdy, Actually I have found this not to be true (the part about you can use any port). There is some kind of limitation on how high the port you use can be. For example: 8009 works 14009 works 48009 doesn't. The apache error log says that it can't connect. According to tomcat the Connector

error running javac.exe

2003-07-01 Thread updates
I've been running Tomcat 4.1.24 on my system (win2k pro) for a while now. Today I tried to add a new JSP page, and whenever I try to view it, I get the trace listed below. This does not occur with any other jsp pages in the system, only the newest one (Index.jsp). Anybody know how to fix

RE: FORM-based ldap authentication problem

2003-07-01 Thread Maurice Coyle - Sun Microsystems Ireland
i'm pretty sure the j_username is the logical attribute name for the uid. the container manages the internals of the authentication. is this what you meant? i wouldn't consider myself any sort of authority on the j_* attributes, i just tried them and they worked. i suspect that this is the

Re: mod jk2 problem, segmetation fault

2003-07-01 Thread Geralyn M Hollerman
John Turner wrote: Tomcat comes with a JK2 compatible connector enabled by default on port 8009. The class name for this connector is CoyoteConnector. Ajp13Connector is for JK and is incompatible with JK2...it will never work. Whoa! I couldn't get the CoyoteConnector to work with 4.0.4 (I

RE: mod jk2 problem, segmetation fault

2003-07-01 Thread Eric J. Pinnell
Hi, 14009 works 48009 doesn't. The apache error log says that it can't connect. According to tomcat the Connector is listening and a netstat shows the port in a LISTEN state. I have a random guess harkening back to my C days: 32767 won't work. Give it a shot. Has to do with 2^16 int

RE: mod jk2 problem, segmetation fault

2003-07-01 Thread Shapira, Yoav
Howdy, Well, that provided a bit of amusement for today ;) ;) You can put in an enhancement request to use 32bits for the port number. It's a low-priority item, not sure it will be done any time soon. Yoav Shapira 14009 works 48009 doesn't. The apache error log says that it can't connect.

IIS 5.0, jk2, Distributed Tomcats

2003-07-01 Thread Matthew Mamet
We are a traditionally ASP web development shop that is begun the process of converting to Java. That's the good news. We host all our sites on one machine, so we are trying to find a configuration that allows all our ASP and Java servlet sites to co-exist. We have successfully implemented the jk2

How to synchronize based on session? (Prevent multiple submissionsof forms)

2003-07-01 Thread Raiden
Hello, We are trying to prevent the multiple submission of a form problem, that can result when a user double-clicks the submit button. We have a process in place, but we have been unable to get the session based synchronization to work correctly. Our order page submits to a meta-refresh page

servlets fail on me

2003-07-01 Thread R. J.
I just downloaded Tomcat Windows 4.1.24 version. After I did all the configure, added application in Context tag of server.xml, I wrote a very simple HelloWorld servlet, compiled it, and restarted the Tomcat. It keeps giving me the error page like this:p btype/b Status reportP bmessage/b

  1   2   >