Re: Catalina.out is getting to big

2006-08-22 Thread Markus Schönhaber
Oliver Enders wrote: > I have a problem concerning the size of the catalina.out file. > It is getting to big and I´m not shure where to set the verbosity. > doesent seem to work ?!? Is there a difference to the 4.x. > versions of Tomcat ?? > I´m using the following constelation: > > -SunOS 5.9 > -

Catalina.out is getting to big

2006-08-22 Thread Oliver Enders
Hy, I have a problem concerning the size of the catalina.out file. It is getting to big and I´m not shure where to set the verbosity. doesent seem to work ?!? Is there a difference to the 4.x. versions of Tomcat ?? I´m using the following constelation: -SunOS 5.9 -Tomcat 5.5 Where can I set ve

Different request.getLocalName() values

2006-08-22 Thread Mohsen Saboorian
Hi, I tested request.getLocalName() on two different WinXP machines, one returning "127.0.0.1" and the other "localhost". What is the problem? Thanks in advance. - To start a new topic, e-mail: users@tomcat.apache.org To unsubsc

Re: Tomcat 5.5 class loader question.

2006-08-22 Thread Mark Thomas
Borut Hadžialić wrote: > However, when we move those Jira dependencies from > $CATALINA_HOME/common/lib/ to $CATALINA_BASE/shared/lib/ > Jira starup fails - it throws several ClassDefNotFoundException > (for org.postgresql.Driver and other classes) > > Does anyone know why is this happening? Prob

Re: IIS 5.0 - Jboss with Tomcat 5.5 - JK 1.2.15 - NTLM

2006-08-22 Thread Pulkit Singhal
Hi Scott, I'm not exactly an expert on this but I'm quite sure that if you strictly want to use NTLM...you do not need to this: 2> set the auth-method to CLIENT-CERT in the web.xml unless ofcourse you are doing it because you want a secure channel between your IIS server and the tomcat instance

Re: one docbase, many paths

2006-08-22 Thread Hassan Schroeder
On 8/22/06, Kallin Nagelberg <[EMAIL PROTECTED]> wrote: What is the best way to setup multiple paths all pointing to the same docbase? Have only one Context and use a Filter to forward from the fake "paths"? :-) -- Hassan Schroeder [EMAIL PROTECTED] --

one docbase, many paths

2006-08-22 Thread Kallin Nagelberg
What is the best way to setup multiple paths all pointing to the same docbase? IE, I want 'www.mysite.com', 'www.mysite.com/brand1', 'www.mysite.com/brand2' etc., to all point to the same folder (say tomcat5.5/webapps/myapp). I have been able to do this by placing multiple context tags within th

IIS 5.0 - Jboss with Tomcat 5.5 - JK 1.2.15 - NTLM

2006-08-22 Thread Scott Shaver
Okay I have Jboss set up on my machine with a simple one page web app that has an Active Directory security realm set up. I have another machine running IIS 5 with the isapi_redirect.dll installed as an ISAPI filter to redirect the requests to Tomcat on my machine. I can access the web app via I

Re: JK 1.2.18 win32 dll not working

2006-08-22 Thread Jessica
Hi Julie, I`m facing exactly the same problem as you described. Have you found any solution yet? Has anyone else succeded in getting jk-1.2.18 to run under IIS? An answer would help in isolating the problem to IIS or JK. When googling for IIS isapi filters I came across this link: http://blogs.m

RE: Import user defined class not working

2006-08-22 Thread Level, Haroldo (Jr)
Hello all, The issue was solved. The error was not related to tomcat but to an error in the code that I missed, thanks Hassan for your help. And thanks everybody else for your sugestions I will look into them Regards, Haroldo Level -Original Message- From: Lou Caudell [mailto:[EMAIL PR

Re: Log4j and Tomcat problem

2006-08-22 Thread Boris Unckel
Original-Nachricht Datum: Tue, 22 Aug 2006 07:09:58 -0700 (PDT) Von: pompiuses <[EMAIL PROTECTED]> An: users@tomcat.apache.org Betreff: Log4j and Tomcat problem > > I'm using Tomcat 5.0.30 running on Ubuntu Linux (6.06). > > I've made a small webapp which runs fine under Tomca

Re: Import user defined class not working

2006-08-22 Thread Lou Caudell
Markus Schönhaber wrote: Level, Haroldo (Jr) wrote: Im trying to import a class into a JSP file. At the beginning I got the an error saying "Generated servlet error: Only a type can be imported. SDTDeal resolves to a package" After a lot of googling I found I wasn't placing my class files

Log4j and Tomcat problem

2006-08-22 Thread pompiuses
I'm using Tomcat 5.0.30 running on Ubuntu Linux (6.06). I've made a small webapp which runs fine under Tomcat on Windows, but on Linux I've got a problem with log4j. I've put "commons-logging-1.1.jar" and "log4j-1.2.13.jar" in the webapp libs directory ($CATALINA_HOME/webapps/ROOT/WEB-INF/lib).

Re: Import user defined class not working

2006-08-22 Thread Markus Schönhaber
Level, Haroldo (Jr) wrote: > Im trying to import a class into a JSP file. > > At the beginning I got the an error saying "Generated servlet error: > Only a type can be imported. SDTDeal resolves to a package" > > After a lot of googling I found I wasn't placing my class files in the > WEB-INF\clas

Import user defined class not working

2006-08-22 Thread Level, Haroldo (Jr)
Hello all, Im trying to import a class into a JSP file. At the beginning I got the an error saying "Generated servlet error: Only a type can be imported. SDTDeal resolves to a package" After a lot of googling I found I wasn't placing my class files in the WEB-INF\classes\ directory and my cla

Tomcat 5.5 class loader question.

2006-08-22 Thread Borut Hadžialić
Hello, I have a question related to class loading in tomcat. http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html Tomcat documentation says this: *** Therefore, from the perspective of a web application, class or resource loading looks in the following repositories, in this order: Bo

Re: Tomcat BUILD FAILED, error=2

2006-08-22 Thread Martin Gainty
agreed..assuming they are not blocking ICMP ping the repository host to verify reachability- M- * This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this e

Re: Restriciting maximum post size in Tomcat

2006-08-22 Thread Krish B
hi , this works. I had set wrong encoding in the FORM. It should be application/x-www-form-urlencoded Tx, Krishnakumar On 8/22/06, Krish B <[EMAIL PROTECTED]> wrote: I set the maxPostSize=1000 in the server.xml and started the server. If i post > 1000 i dont get a error. ( ) How to get

Re: Parsing keyvalue pairs in POST data

2006-08-22 Thread Santosh Puranshettiwar
Looking into the code finally helped. The problem is like this. Before the first call to getParameter(), the parameters map is built by parsing the message body in POST request. Parsing happends only when Content-Type: application/x-www-form-urlencoded and Content-Length is sent. The J2ME app

Re: Solved Problem with Emailappender of Log4j

2006-08-22 Thread Mario Bittermann
Problem is solved. We used wrong Mail API. With 1.4 everything works fine. Mario Original-Nachricht Datum: Tue, 22 Aug 2006 09:27:22 +0200 Von: "Mario Bittermann" <[EMAIL PROTECTED]> An: "Tomcat Users List" Betreff: Re: Problem with Emailappender of Log4j > Here are the codes:

Restriciting maximum post size in Tomcat

2006-08-22 Thread Krish B
I set the maxPostSize=1000 in the server.xml and started the server. If i post > 1000 i dont get a error. ( ) How to get this feature to work. I have searched all over the place and dont have answers. I have tried 5.5.17 & 15 tomcat. I use a FORM to POST a file of large size. Thanks for an

Re: How to get tomcat configuration inside a servlet

2006-08-22 Thread Mikolaj Rydzewski
Mikolaj Rydzewski wrote: But we still need to get tomcat ssl configuration inside a servlet. The reason: In our strange architecture (struts-flavour) a servlet is a wrapper for actions with states. Only some of these states have to be secured. Have anybody an idea how to get that information?

Re: How to get tomcat configuration inside a servlet

2006-08-22 Thread Mikolaj Rydzewski
Miguel Alcalde wrote: Mikolaj Rydzewski escribió: You don't have to worry about it. Read about redirectPort attribute at http://tomcat.apache.org/tomcat-5.5-doc/config/http.html Thanks, mate. It solves 90% of our problems. But we still need to get tomcat ssl configuration inside a servlet. T

Re: Parsing keyvalue pairs in POST data

2006-08-22 Thread Santosh Puranshettiwar
The J2ME application that sends the data to my server is built on the MIDP 2.0 profile. And MIDP 2.0 does support Unicode. Moreover, could it really be a problem related to encoding? I unable to correlate it with the peculiar behavior I am observing whereby the server fails to parse the parame

Re: How to get tomcat configuration inside a servlet

2006-08-22 Thread Miguel Alcalde
Mikolaj Rydzewski escribió: You don't have to worry about it. Read about redirectPort attribute at http://tomcat.apache.org/tomcat-5.5-doc/config/http.html Thanks, mate. It solves 90% of our problems. But we still need to get tomcat ssl configuration inside a servlet. The reason: In our stran

Re: Problem with Emailappender of Log4j

2006-08-22 Thread Mario Bittermann
Here are the codes: Javacode: Logger logger = Logger.getLogger(CreditLimitEditActionFromList.class.getName()); try { // some code where exceptions can occur } catch (Exception e) { logger.error("unhandled exception: ",e); } Log4j-config: log4j.rootLogger=ERROR, email log4j.appender.email = or