Re: Web application receives request parameters sent to another application on Tomcat 6

2007-05-29 Thread Dejan Krsmanovic
I am aware of that. We are printing request parameters inside Servlet's doPost method. Dejan Len Popp wrote: It is possible that Tomcat resuses request objects. I'm not sure it does, but it might. For that reason, you're only allowed to use the request object in your servlet's doGet or doPost

Jasper compiler crashes

2007-05-29 Thread Berglas, Anthony
When I try to precompile I get a null pointer exception deep in .servlet.JasperLoader.loadClass. Happens for almost all of my .jsps. They work fine with incremental compile. They do use tags defined with JSTL .tag files. Tags call tags. tomcat-6.0.10-src If anyone knows of decent docs on

Re: Using servlet and mysql

2007-05-29 Thread Teh Noranis Mohd Aris
Dear All, I already put mysql database driver (jar file) in directory catalina_home\common\lib and changed 8080 to 3306 but I got the error java.sql.SQLException: Unable to connect to any hosts due to exception: java.net.ConnectException: Connection refused: connect. What should be the

Re: Using servlet and mysql

2007-05-29 Thread Foo Shyn
Hi, Is your login name and password correct? It shows 'root' and the password is 'root' in the code you posted there. - I put the database name, teh in directory catalina_home\webapps\ROOT\ hmm i can't really get what you meant here. Thanx. FooShyn Teh Noranis Mohd Aris wrote: Dear All,

Re: Using servlet and mysql

2007-05-29 Thread Teh Noranis Mohd Aris
Yes, the login name and password are correct. I created the database name, teh, with field username and password, using Microsoft Works Database and saved it in directory catalina_home\webapps\ROOT\. I'm not sure whether it is the correct directory to put the database. However, in the program

Re: Using servlet and mysql

2007-05-29 Thread Foo Shyn
Hi, This is getting more confusing, you mentioned earlier that you're using MySQL but now it is a Microsoft Works Database. Hmmm perhaps i'm missing something? Anyway, if the database you're using is something like an Access database, you'll just need to use the correct driver and point the

Re: Using servlet and mysql

2007-05-29 Thread Teh Noranis Mohd Aris
I'm very new to this. This is the first time I'm using mysql and servlet. I might be doing a lot of mistakes. I realized that I should not use Microsoft Works Database. How can I actually create the database name, table and its field using mysql? In which directory should I put the database?

Re: Using servlet and mysql

2007-05-29 Thread Foo Shyn
Hi, In short, to get a MySQL server up, try the following: 1) Install an instance of MySQL 2) Install the client software (you can get them from the MySQL web site too, like MySQL Administrator etc or you can try the MySQL Front for older version of MySQL) 3) Create a database using the

Re: Using servlet and mysql

2007-05-29 Thread De Haan Software Engineering
Access databases can only be accessed by ODBC (default present at 2000 / XP). MySQL has nothing to do with it. 1) First create your Access database (.mdb, I don't know what a Works database is?). It may be placed anywhere on your Tomcat Server. 2) Then configure it for usage by ODBC.

RE: Web application receives request parameters sent to another application on Tomcat 6

2007-05-29 Thread Reich, Matthias
Hi, I am experiencing a behavior that may be related to the mentioned problem. My Servlet uses the Comet interfaces of Tomcat 6. For debugging purposes, when my Servlet receives a BEGIN event, it stores a request counter in an atttribute of the HttpServletRequest object. (This is done to see in

RE: Installing ISAPI redirect for IIS

2007-05-29 Thread Peter Crowther
From: Al Sparks [mailto:[EMAIL PROTECTED] Is there an even better way of doing this? jk2's been unsupported for a couple of years; jk is probably a safer bet. - Peter - To start a new topic, e-mail:

Comet example

2007-05-29 Thread Bernd Winterstein
Hi, I'm trying to set up a prototype for a web page which asynchronous notification via comet. The szenario is to show some information upon an incoming phone call. My idea is that the telecom server will send an event via webservice to the webapp, which then notifies the browser. Is there an

Re: Unconnected sockets not implemented

2007-05-29 Thread Nencho Lupanov
hi Mark, i was having problems on configuring ssl on the client.It is ok now.Thanks. Nencho 2007/5/29, Mark Thomas [EMAIL PROTECTED]: Nencho Lupanov wrote: any idea? OS? Tomcat version? Steps you followed to configure SSL? Full stack trace? Mark

Re: Admin config

2007-05-29 Thread Albert Shih
Le 28/05/2007 à 17:12:29+0200, Mikolaj Rydzewski a écrit Albert Shih wrote: I've install from ports (FreeBSD) the tomcat 5.5 (need by my web-applications). Thanks for you answer. Forget this one. The best and easiest way is: Best maybe (if you say that I can trust you), but

tomcat comet, not working...

2007-05-29 Thread Márton Szabolcs
Hi! Ive been trying to use tomcat comet for about a week, but i have no success. I have tomcat 6.0.13, with windows xp. I install the tomcat, change the server.xml connector tag to NIO connector type. Test the chat example, and another example (push a date to the client every x sec.) But

Re: tomcat comet, not working...

2007-05-29 Thread Filip Hanik - Dev Lists
if your service method is invoked means you are not running the correct connector. You must run the NIO or the APR connector. take a look at the protocol attribute in http://tomcat.apache.org/tomcat-6.0-doc/config/http.html Filip Márton Szabolcs wrote: Hi! Ive been trying to use tomcat

Re: tomcat comet, not working...

2007-05-29 Thread Bernd Winterstein
Can you send me your examples? Bernd 2007/5/29, Filip Hanik - Dev Lists [EMAIL PROTECTED]: if your service method is invoked means you are not running the correct connector. You must run the NIO or the APR connector. take a look at the protocol attribute in

SSO session replication within TC 5.5.23 cluster

2007-05-29 Thread ROOKIE
Hi, I have created a simple TCP cluster of 2 TC 5.5.23 servers and added a Apache 2.2 (mod_proxy) load balancer in front. Our tomcat has SSO valve enabled. I wanted to know if TC 5.5.23 supports SSO session replication ? Googling tells me that a patch was submitted for this,

Re: tomcat comet, not working...

2007-05-29 Thread Márton Szabolcs
Hi! i set my connector like this. it should be correct, isnt it? Connector port=8080 protocol=org.apache.coyote.http11.Http11NioProtocol maxThreads=150 connectionTimeout=2 redirectPort=8443 / servlet servlet-nameCometSampleServlet/servlet-name

Tomcat Connection pool

2007-05-29 Thread Ligade, Shailesh (Contr) (Mission Systems)
Greetings, I am running Tomcat 5.x, and I have many webapps deployed and working under tomcat. I want my connection pool to be used from any application. When I modify server.xml in conf directory to add my connection, listed below: Server port=8010 shutdown=SHUTDOWN Listener

HttpSessionBindingListener not working

2007-05-29 Thread Gregor Schneider
Hi guys, I'm having a problem getting my HttpSessionBindingListener to work. The listener gets initialized (System.out in the constructor of the listener), however, neither valueBound nor valueUnbound gets called. In my application, the code where I'm storing an attribute to the session is

Re: Using servlet and mysql

2007-05-29 Thread David Smith
I would actually recommend steering clear of the jdbc-odbc bridge driver. It's not stable enough for production use on any level. Get MySQL (it's free), install it, configure it according to the docs and setup your db there. Docs are plentiful on the mysql website. You will be much happier

Re: tomcat comet, not working...

2007-05-29 Thread Bernd Winterstein
This is the example from the tomcat user guide. I have the same problem getting it to work. 2007/5/29, Márton Szabolcs [EMAIL PROTECTED]: Hi! i set my connector like this. it should be correct, isnt it? Connector port=8080 protocol= org.apache.coyote.http11.Http11NioProtocol maxThreads=150

Re: Using servlet and mysql

2007-05-29 Thread De Haan Software Engineering
. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ NOD32 2295 (20070529) Informatie __ Dit bericht is gecontroleerd door het NOD32 Antivirus Systeem. http://www.nod32.nl

Re: Admin config

2007-05-29 Thread Albert Shih
Le 28/05/2007 à 17:04:12+0200, Albert Shih a écrit Hi all I've a very very newbie on tomcat (first day I try to configure tomcat)... I've install from ports (FreeBSD) the tomcat 5.5 (need by my web-applications). The applications I need to run is configured by admin tomcat. Well for

content-type without charset

2007-05-29 Thread Richard Kaye
Hi I have been tearing my hair out recently with an annoying problem. I want to serve XHTML+MathML documents from a servlet. The problem is that it seems that these can only be viewed with IE and the plugin (MathPlayer) if the server sends Content-Type: application/xhtml+xml in the HTTP

Re: Tomcat Connection pool

2007-05-29 Thread Szabolcs Márton
maybe you need some settings at the web.xml as weel? (just guess) regards, Szabi 2007/5/29, Ligade, Shailesh (Contr) (Mission Systems) [EMAIL PROTECTED]: Greetings, I am running Tomcat 5.x, and I have many webapps deployed and working under tomcat. I want my connection pool to be used from

I want to Redirect to a different app

2007-05-29 Thread Roger Parkinson
I have an app running in Tomcat and it works fine. Let's say it is called Demo. I want to leave that instance of the app running just as it is. But I want to be able to do this: http://www.mydomain.com/Testapp Testapp does not exist. I want these requests to invoke Demo, not a second

Re: Tomcat Connection pool

2007-05-29 Thread Daniel Stephens
Yes post your web.xml where with your resource-ref tags. Looks like a typo in there. On 5/29/07, Ligade, Shailesh (Contr) (Mission Systems) [EMAIL PROTECTED] wrote: Greetings, I am running Tomcat 5.x, and I have many webapps deployed and working under tomcat. I want my connection pool to be

Re: Configuring Tomcat 5.5 and IIS 6

2007-05-29 Thread Rainer Jung
It looks like you want to change the URL during forwarding. Have a look at http://tomcat.apache.org/connectors-doc/reference/iis.html and search for the word rewrite. Regards, Rainer rcgeorge23 wrote: Hi Chuck, Thanks for that. I've now downloaded and attempted to set up the jk connector

Re: Tomcat stopped logging

2007-05-29 Thread Daniel Stephens
apologize for coming in late if this was resolved... Are you saying Tomcat just stop's logging to the catalina.out? On 5/9/07, Propes, Barry L [EMAIL PROTECTED] wrote: Hello, I have a strange situation. Tomcat has stopped logging today on my prod. server. Not sure why. All of the app seems

RE: Tomcat Connection pool

2007-05-29 Thread Ligade, Shailesh (Contr) (Mission Systems)
Thanks Daniel, I got to work by removing things from web.xml. Removing DefaultCOntext from server.xml. Adding a context.xml with Context ResourceLink name=jdbc/orcl global=jdbc/orcl auth=Container type=javax.sql.DataSource / /Context And placing this context.xml in conf directory

Re: Jasper compiler crashes

2007-05-29 Thread Filip Hanik - Dev Lists
What I like to do is to compile my JSPs just like Tomcat would do it runtime, so that I can keep the ability to recompile my JSP files. http://people.apache.org/~fhanik/precompile.html http://people.apache.org/~fhanik/tomcat-6-precompile.xml I just whipped up the v6 script, but I believe it to

Re: tomcat comet, not working...

2007-05-29 Thread Filip Hanik - Dev Lists
send us a link to your test WAR file, and I can give it a shot, looks good to me. Filip Márton Szabolcs wrote: Hi! i set my connector like this. it should be correct, isnt it? Connector port=8080 protocol=org.apache.coyote.http11.Http11NioProtocol maxThreads=150 connectionTimeout=2

Re: Tomcat stopped logging

2007-05-29 Thread Filip Hanik - Dev Lists
ran out of disk space or the file is too large Filip Propes, Barry L wrote: Hello, I have a strange situation. Tomcat has stopped logging today on my prod. server. Not sure why. All of the app seems to be working just fine, but the key log file stopped generating new info. I have a

SOLVED, WAS: HttpSessionBindingListener not working

2007-05-29 Thread Gregor Schneider
Sorry, I misunderstood the concept of s HttpSessionBindingListener completely I guess. The object which is bound / unbound to the HttpSession has to implement the listener... Sometimes reading really helps ;) Cheers Gregor -- what's puzzlin' you, is the nature of my game gpgp-fp:

RE: I want to Redirect to a different app

2007-05-29 Thread Caldarale, Charles R
From: Roger Parkinson [mailto:[EMAIL PROTECTED] Subject: I want to Redirect to a different app I want these requests to invoke Demo, not a second instance of Demo called Testapp, but actually Demo itself. Deploy a simple Testapp webapp that does nothing but forward requests to Demo. -

JMX TimerMBean Tomcat

2007-05-29 Thread Jaco Gillman
To Whom It May Concern: I am currently having some issues with implementing a TimerMBean for scheduling on a Tomcat instance. Basically I want to be able to have a properties file of configurations for a scheduler that cleans up a cached folder in our application and I was investigating the

RE: JMX TimerMBean Tomcat

2007-05-29 Thread Pitre, Russell
Have you taken a look at Quartz? http://www.opensymphony.com/quartz/ Quartz is a full-featured, open source job scheduling system that can be integrated with, or used along side virtually any J2EE or J2SE application - from the smallest stand-alone application to the largest e-commerce

RE: Tomcat stopped logging

2007-05-29 Thread Propes, Barry L
pretty sure it did not run out of disk space. In fact, I'd zipped a bunch of logs a week or so earlier to free up space, not that I needed to, but I still had tons of space on the server. Was the heap size not set high enough maybe? -Original Message- From: Filip Hanik - Dev Lists

Anybody using GNU Java

2007-05-29 Thread Omar Eljumaily
in a production Tomcat environment? I tried this once before a few years ago, and ran into some nasty bugs. Sun's Java, for me, is getting a bit weird, especially on Linux. I never quite know which version to download, each one having at least two or three different numbers associated with

RE: Tomcat stopped logging

2007-05-29 Thread Propes, Barry L
yeah, it did one day. It had logged up until about 11:45am one day, and then inexplicably stopped. Not sure why, because more errors did occur. I had a few logs, with one being catalina_log (prefix), the other being localhost_admin_log, another being localhost_DBTest_log, which catches most of

RE: Tomcat Connection pool

2007-05-29 Thread David Short
In your code where you reference the JNDI name jdbc, reference jdbc/orcl instead. -Original Message- From: Ligade, Shailesh (Contr) (Mission Systems) [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 29, 2007 5:16 AM To: Tomcat Users List Subject: Tomcat Connection pool Greetings, I am

Re: Configuring a DataSourceRealm

2007-05-29 Thread Paulo Vivacqua
Hello chris, Thanks again for the help.I will try to be more clear so that maybe you could help figure out what I am doing wrong. Like I said before I am trying to setup a DataSourceRealm to authenticate users by pull out the user information from a MySQL database. 1- I already created the

RE: Configuring a DataSourceRealm

2007-05-29 Thread David Short
In your code where you reference JNDI jdbc, reference jdbc/oaso instead. -Original Message- From: Paulo Vivacqua [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 29, 2007 8:37 AM To: Tomcat Users List Subject: Re: Configuring a DataSourceRealm Hello chris, Thanks again for the help.I will

Re: Anybody using GNU Java

2007-05-29 Thread David Tonhofer
Omar Eljumaily wrote: in a production Tomcat environment? I tried this once before a few years ago, and ran into some nasty bugs. Sun's Java, for me, is getting a bit weird, especially on Linux. I never quite know which version to download, each one having at least two or three different

Re: tomcat comet, not working...

2007-05-29 Thread Szabolcs Márton
i will send later, i cant ftp from here. any other ideas? i would like if somebody, who made this cometprocessor worked describe the things what have to do. I already done what is in tomcat docs (advanced NIO) regards, Saby 2007/5/29, Filip Hanik - Dev Lists [EMAIL PROTECTED]: send us a link

error 503 in middle of page with tomcat and jk connector

2007-05-29 Thread Jessica Johnson
Hi all, I finally got a mostly working install of Apache 2.2.4, Tomcat 5.5.23, and the mod_jk 1.2.22. In the general case it works fine, but for pages that take a long time to load, I get the first part of the html, and then Apache spits out OK The server is temporarily unable to service your

RE: 404 message when trying to test a servlet

2007-05-29 Thread Dean
Thanks for the info. However, I am new to tomcat and servlets and as such am still somewhat unclear as to the resolution to this problem. Can you clarify. What exactly is servlet - mapping? Thanks, D -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker

Re: tomcat comet, not working...

2007-05-29 Thread Filip Hanik - Dev Lists
you don't really have to do that much, here is mine package org.hanik.comet.test; import java.io.IOException; import java.io.InputStream; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import org.apache.catalina.CometEvent; import

Re: error 503 in middle of page with tomcat and jk connector

2007-05-29 Thread Mladen Turk
Jessica Johnson wrote: Hi all, I finally got a mostly working install of Apache 2.2.4, Tomcat 5.5.23, and the mod_jk 1.2.22. That's hard to believe, because (see below) Here is my workers.properties file. [logger] level=DEBUG file=C:/Program Files/Apache Software

Re: Anybody using GNU Java

2007-05-29 Thread Leon Rosenberg
On 5/29/07, Omar Eljumaily [EMAIL PROTECTED] wrote: So anyway, is anybody successfully using GNU Java? I dont think its possible. It simply doesnt work. If not, does anybody have any tips for installing the proper version of Sun's Java on FC6? Yes. Goto

Re: Tomcat stopped logging

2007-05-29 Thread Daniel Stephens
I can't remember off the top of my head but I think there is a 2GB limit(OS Level). but I'd have to try and find that, to be totally sure. On 5/29/07, Propes, Barry L [EMAIL PROTECTED] wrote: yeah, it did one day. It had logged up until about 11:45am one day, and then inexplicably stopped. Not

RE: Tomcat stopped logging

2007-05-29 Thread Propes, Barry L
I'm not even close to that! I'm at about 4.7 MB! For the logs anyway...isn't that the directory to which you're referring? But one thing I do wonder about...seems as if someone had told me one time there was a finite amount of folders or items that could be in a Windows directory, like 256 for

Re: Configuring a DataSourceRealm

2007-05-29 Thread Paulo Vivacqua
Hi David, Thanks for the help. I don´t have a reference to JNDI jdbc on my code. What I have is a login page with a form that´s sent to tomcat for authentication. form method=POST action=j_security_check input type=text name=j_username/br input type=password name=j_password/br

RE: Configuring a DataSourceRealm

2007-05-29 Thread David Short
Somewhere in your code, probably in j_security_check, there is a reference to a datasource, which will reference the JNDI value. You need to change that reference from jdbc to jdbc/oaso. -Original Message- From: Paulo Vivacqua [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 29, 2007 10:46

Re: error 503 in middle of page with tomcat and jk connector

2007-05-29 Thread Rainer Jung
Hi Jessica, your information looks strange. You are talking about mod_jk 1.2.22, but you present a configuration for mod_jk2, which is deprecated. mod_jk will not work with this configuration, because mod_jk uses a very different config syntax. Although I don't know your actual configs, I

Re: Tomcat stopped logging

2007-05-29 Thread David kerber
Propes, Barry L wrote: I'm not even close to that! I'm at about 4.7 MB! For the logs anyway...isn't that the directory to which you're referring? But one thing I do wonder about...seems as if someone had told me one time there was a finite amount of folders or items that could be in a Windows

Re: Configuring a DataSourceRealm

2007-05-29 Thread Paulo Vivacqua
Hi David, The j_security_check is not a real page it´s a key for communicating with tomcat. I lookup all my code and there is no reference to JNDI jdbc. If I comment my Realm declaration on server.xml i get to the login page without any problem, and the authentication works, but the user info

Re: Anybody using GNU Java

2007-05-29 Thread Martin Dubuc
I would not recommend using GNU java with Tomcat. I remember I struggled with installation of JDK 6 on FC5 or FC6 when it was first released. I figured eventually that there were some directories that were supposed to be installed by the jpackage-utils RPM that JDK was looking for that were not

Re: Anybody using GNU Java

2007-05-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Omar, Omar Eljumaily wrote: in a production Tomcat environment? I tried this once before a few years ago, and ran into some nasty bugs. Sun's Java, for me, is getting a bit weird, especially on Linux. I never quite know which version to

Re: Configuring a DataSourceRealm

2007-05-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paulo, Paulo Vivacqua wrote: Like I said before I am trying to setup a DataSourceRealm to authenticate users by pull out the user information from a MySQL database. You should remove the MemoryRealm from your configuration if you are going to use

Re: tomcat comet, not working...

2007-05-29 Thread Filip Hanik - Dev Lists
as a client I use http://people.apache.org/~fhanik/cometgui.jar The client automatically translates \n into CRLF for the HTTP protocol To do what you need to do, do this 0. java -jar cometgui.jar 1. Click Connect 2. Click Submit 3. Erase the headers, make sure the next text looks like this:

RE: Tomcat stopped logging

2007-05-29 Thread Propes, Barry L
yeah, I didn't think there was, or that I'd had trouble with the number of files in the directory before. Would seem absurd. Might be on a different OS that Windows is picky that way. -Original Message- From: David kerber [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 29, 2007 1:00 PM To:

RE: Configuring a DataSourceRealm

2007-05-29 Thread Propes, Barry L
I don't believe you can have both, Paulo...i believe it's one realm or the other if I'm not mistaken. -Original Message- From: Paulo Vivacqua [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 29, 2007 1:07 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: Configuring a DataSourceRealm

Where to find session cookies

2007-05-29 Thread lightbulb432
When testing my application that uses sessions, I don't seem to see a cookie with domain localhost in my browser's cookies folder. Does Tomcat use some internal folder to put its cookies, or am I just doing something else wrong? I do have cookies enabled, so it's not writing the session id to

RE: Where to find session cookies

2007-05-29 Thread Caldarale, Charles R
From: lightbulb432 [mailto:[EMAIL PROTECTED] Subject: Where to find session cookies When testing my application that uses sessions, I don't seem to see a cookie with domain localhost in my browser's cookies folder. Does Tomcat use some internal folder to put its cookies, Think about what

Re: Web application receives request parameters sent to another application on Tomcat 6

2007-05-29 Thread Filip Hanik - Dev Lists
What connector are you using? ie, how does the Connector element look in server.xml? Filip Dejan Krsmanovic wrote: We have two applications running on the same Tomcat instance. These two applications are used by completely different people and one of them has much higher traffic than another

Re: error 503 in middle of page with tomcat and jk connector

2007-05-29 Thread Jessica Johnson
On 5/29/07, Rainer Jung [EMAIL PROTECTED] wrote: Hi Jessica, your information looks strange. You are talking about mod_jk 1.2.22, but you present a configuration for mod_jk2, which is deprecated. mod_jk will not work with this configuration, because mod_jk uses a very different config syntax.

Re: Where to find session cookies

2007-05-29 Thread ROOKIE
If u are referring to session cookies (jsessionid and jsessionidsso) then the http servlet request contains a method called getCookies() where u can find the cookies and use them for further use by storing them im memory, once the response is received by browser it is upto it where and how it

Re: Configuring a DataSourceRealm

2007-05-29 Thread Paulo Vivacqua
Hello Christopher, It worked. Thanks very much for the tips. have a nice day Paulo Vivacqua On 5/29/07, Propes, Barry L [EMAIL PROTECTED] wrote: I don't believe you can have both, Paulo...i believe it's one realm or the other if I'm not mistaken. -Original Message- From: Paulo

Re: Where to find session cookies

2007-05-29 Thread Pid
lightbulb432 wrote: When testing my application that uses sessions, I don't seem to see a cookie with domain localhost in my browser's cookies folder. Does Tomcat use some internal folder to put its cookies, or am I just doing something else wrong? Where your browser stores it's cookies is

RE: Where to find session cookies

2007-05-29 Thread Fargusson.Alan
Session cookies are not stored on disk. This is why they are more secure then cookies (non-session). Since they only exist in RAM (ok, maybe in swap files) nobody else using that machine can find them, and they go away when the browser ends. -Original Message- From: lightbulb432

Re: error 503 in middle of page with tomcat and jk connector

2007-05-29 Thread Rainer Jung
Jessica Johnson wrote: On 5/29/07, Rainer Jung [EMAIL PROTECTED] wrote: Hi Jessica, your information looks strange. You are talking about mod_jk 1.2.22, but you present a configuration for mod_jk2, which is deprecated. mod_jk will not work with this configuration, because mod_jk uses a very

Re: error 503 in middle of page with tomcat and jk connector

2007-05-29 Thread Jessica Johnson
I just noticed something strange. It isn't exactly that the HTML is cut off. All of the parts match the output on my dev server. But it looks like the HTML has been chunked up and mixed up, for lack of a better way to describe it. For example one of the pages has two head tags, but is missing

Questions about Contexts

2007-05-29 Thread lightbulb432
How are extremely large web applications divided up into contexts (as I’d imagine these applications don’t reside within just a single WAR)? Let’s say you have different functional areas, like user registration, search, file management, etc, could each of those be divided up into its own context,

Re: error 503 in middle of page with tomcat and jk connector

2007-05-29 Thread Jessica Johnson
Thanks Rainer, I updated the workers.properties with your suggestions, and verified that there is only one timeout directive in httpd.conf. Afterwards, I found some interesting things poking through the logs. mod_jk.log snip [Tue May 29 17:44:55 2007] [1060:1860] [debug] mod_jk.c (452):

war file name

2007-05-29 Thread Tomcat
Hello there is a directive in server.xml or context file, which force us having war file name be the same as context file or the same as name of directory which war file unpacked, would you please let me know which directive it is. Thanks Adam

RE: Jasper compiler crashes

2007-05-29 Thread Berglas, Anthony
Thanks for that, but I don't see how it will help. If you look below it is the jasper2 that is causing me grief, which is essentially the same as yours. How long does it take to precompile the JSPs. Is it several JSPs per second or several seconds per JSP? My JSPs take over 20 seconds to

Re: Jasper compiler crashes

2007-05-29 Thread Rashmi Rubdi
On 5/29/07, Berglas, Anthony [EMAIL PROTECTED] wrote: Thanks for that, but I don't see how it will help. If you look below it is the jasper2 that is causing me grief, which is essentially the same as yours. How long does it take to precompile the JSPs. Is it several JSPs per second or

Re: war file name

2007-05-29 Thread Mark Thomas
Tomcat wrote: there is a directive in server.xml or context file, which force us having war file name be the same as context file or the same as name of directory which war file unpacked, would you please let me know which directive it is. There is no such directive. Mark

Re: Tomcat Netbeans Project... WildCat

2007-05-29 Thread Len Popp
On 5/29/07, Mark Thomas [EMAIL PROTECTED] wrote: Johnny Kewl wrote: I havent had a chance to test it yet, but where I'm trying to get to is the ability to debug from servlet straight into Tomcat source. This should be standard out of the box functionality. You shouldn't need any extras to get

Making a directory visible to tomcat

2007-05-29 Thread Peter Dawn
guys, i am using tomcat 5.0. now i have created a file on my server at C:\data\packet.xml. when somebody accesses my web app remotely, i want the user to type in http://ipaddress:8080/packet.xml to be able to access this file. can somebody please tell me how i can make a directory outside the

Servlet and Random Access File

2007-05-29 Thread Teh Noranis Mohd Aris
Hello All, Does anyone have an example of a servlet program that uses random access file or any useful links? I tried searching yahoo and google but could not find one that really suits my needs. Thank you. Yours Sincerely, TEH - Get your own

Re: content-type without charset

2007-05-29 Thread Mark Thomas
Richard Kaye wrote: Please could someone help me by posting a Hello-world servlet that serves a document with this Content-Type header? I have tried all the obvious things with no success... Are you using a writer? If so, try using the stream instead. Mark