RE: JDK is not enough. SDK is needed

2002-11-27 Thread Robert L Sowders
I couldn't disagree with you more Yoav. The very reason there are so many users how to's up on the web, and being used, tells you that the web site for Jakarta is poorly planned. You must put on the shoes of the beginner who is seeking information to understand. Sure now that I've been

Re: Is there a secureCookie type of paramater for Tomcat 4.1.12?

2002-11-27 Thread Bill Barker
Raiden [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello, Anyone have any ideas if there is a solution to this problem in 4.1.12, or are we better off reverting back to Tomcat 3.3.2 to restore the old behavior of not making the sessionId cookie a secure

RE: JDK is not enough. SDK is needed

2002-11-27 Thread Ben Deany
I must admit that I find the Jakata web-site a little difficult to navigate. I am a developer, so I am somewhat used to moving through websites to find what I need, but I would imagine that someone with less experience would be a bit confused. It's a great site in general, and I am a big fan of

Is there a plug-in for JSP support in Eclipse

2002-11-27 Thread sathya
hi all, Is there a plug-in in Eclipse for JSP Support available for free as in Sun One..?? Thx in advance Sathya -Original Message- From: Peter Lin [mailto:[EMAIL PROTECTED]] Sent: Friday, November 22, 2002 7:39 AM To: Tomcat Users List Subject: [OT] Re: is there a free ide that

RE: Response.ContentType - not always setting contentType in Header

2002-11-27 Thread David Tildesley
I think you cannot set contenttype after putting out any response body - so double check that you set the content type as the very first thing before sending any response body. HTH -Original Message- From: neal [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 27 November 2002 8:18 a.m. To:

Re: tomcat setup

2002-11-27 Thread Martin Jacobson
Mark Walker wrote: I have 4.1.12 installed on a Wallstreet G3 Powerbook and it is running great! There's a document in Apple's Developer Forum (http://developer.apple.com/internet/java/tomcat1.html) that covers installing Tomcat on the Mac. It refers to 4.0.1 but should work fine for you.

Re: JSP Bean in Tomcat - Urgent

2002-11-27 Thread bido
Where does your bean live relative to your webapp? I have no problems if put them under .../webapps/myapp/WEB-INF/classes/beans The JSP should have a tag that looks like: jsp:useBean id=fundProfileToDB class=beans.fundProfileToDB scope=session / On Tuesday, November 26, 2002, at 11:21

RE: JSP Bean in Tomcat - Urgent

2002-11-27 Thread Laxmikanth M.S.
Hi bido. the problem is solved.already barker replied .the constructors were not public so couldn't load the beananyways thanks for the concern Regards Laxmikanth M S Off* : 6610330 extn 1256 Res* : 5267150 http://www.sonata-software.com Coming together is the beginning,

Integrate Tomcat 4.1.12 to Apache 1.3.22 on ASPLinux

2002-11-27 Thread
Hello everybody I work on ASPLinux 7.2. I installed: - Apache/1.3.22 (Unix) - mod_jk-ap13-1.2.0-1 - tomcat4-4.1.12 and configured: - worker.property: worker.list=ajp13 worker.ajp13.port=8009 worker.ajp13.host=localhost

Re: Tomcat Filter with RequestDispatcher - IncompatibleClassChangeError

2002-11-27 Thread Stephen Riek
Ok, after further investigating, I realize I must have screwed up my Tomcat installation somewhere along the line because a Request Dispatcher that worked several months ago no longer works and give the same errors below. Based on this, I can rule out the Filter code being wrong and turn my

Re: Is there a secureCookie type of paramater for Tomcat 4.1.12?

2002-11-27 Thread Raiden
Hello, I will see what I can do, after I get a bit more familiar with the Tomcat architecture. It appears that this may involve modifications to the connectors. As a quick fix for anyone that is interested, and if you are using mod_jk to connect to Apache like myself, you can comment out the

Tomcat 4.1.12 not responding after few requests

2002-11-27 Thread P Sasidhar
After few requests my Tomcat server 4.1.12 is not responding and gives lots of null pointer exception and following message in the end: Nov 26, 2002 11:50:28 AM org.apache.tomcat.util.log.CommonLogHandler log INFO: All threads are busy, waiting. Please increase maxThreads or check the ser vlet

Re: Hi all .. licence issue ..

2002-11-27 Thread Eriam Schaffter
I did read the licence but .. can I use sdk or jre in a commercial environnment (not just research developpment but production environment .. ) ? Simple question .. and it was not clear to me in the licence .. Eriam Bill Barker a écrit: Craig R. McClanahan [EMAIL PROTECTED] wrote in

Re: Tomcat Filter with RequestDispatcher - IncompatibleClassChangeError

2002-11-27 Thread karthikeyan.balasubramanian
Dear Stephen, You got to remove your xerces.jar from the classpath. This one should be conflicting with your existing jaxp classes. I had this problem when i moved xerces.jar into the classpath and i couldnt able to run my files. Hope this helps. karthikeyan. - Original Message -

Re: NoSuchMethodError

2002-11-27 Thread Carsten Ziegert
The reason *could* be an old version of servlet.jar in $JAVA_HOME/jre/lib Carsten Am Dienstag, 26.11.02, um 19:55 Uhr (Europe/Berlin) schrieb Abhijat Thakur: Hi, When i am trying to access a servlet through tomcat it gives me a java.lang.NoSuchMethodError. From the stack trace at

Re: Hi all .. licence issue ..

2002-11-27 Thread Carl Trusiak
The license states : 1. LICENSE TO USE. Sun grants you a non-exclusive and non-transferable license for the internal use only of the accompanying software... This seems to me to be all the permission you need to use the SDK within your company. In addition, there is language that allows you to

Load on Tomcat 4.1.12

2002-11-27 Thread P Sasidhar
Hi All, I need urgent help! I have installed my small webapp on Tomcat 4.1.12 on Windows NT machine but after few requests it is getting hung. Is there any load factor to be configured? What is the maximum no of users it can take? I had downloaded this Tomcat form Jakarta.apache.org site. Where

Unexpected excpetion... error message with web.xml file

2002-11-27 Thread Panos Konstantinidis
Hello, I am using Tomcat 4.1 under Windows NT (with service pack 2 installed) and jdk1.3. I have configured a JDBC realm in my server.xml file (to connect to a MSAccess database through JDBC:ODBC bridge) by doing the following for my web app: Context path=/dasreiseportal

RE: Load on Tomcat 4.1.12

2002-11-27 Thread Deepa Raja
Hi, If you are connecting to the database make sure it closes the connection. I had a similar problem before when the database pooling failed to work leaving behind several abandon connections. As time goes the number of open connections increased and applications becomes very slow. Hope this

RE: Load on Tomcat 4.1.12

2002-11-27 Thread P Sasidhar
Hi Deepa, Thanks for your suggestion.But infact i am closing all the connections.But still it is throwing exception saying that Increase the mex threads in pool.even I did that.but the problem is still there.. Thanks sasi -Original Message- From: Deepa Raja [mailto:[EMAIL

Server failure

2002-11-27 Thread Alberto Puerta
Hi all. I have installed Apache 2.0.43 + Tomcat 4.1.12 + jk2 connector. All works fine but sometimes the server don't work and when i make top i find a process java or javac with a 98% CPU and in memory a lot of minutes (200 min) or others with 0% CPU in memory for hours. I made a script to

Host Context - Unpacking of WARs

2002-11-27 Thread Andoni
Hello, I have two configurations: 1st one works 2nd doesn't. I want to get the 2nd to work though as it stops .war files unpacking. Can anyone tell me how to make the 2nd one work? The error I get is: Forbidden You don't have permission to access / on this server. But I think that's coming

Coyote:: ArrayIndexOutOfBoundsException

2002-11-27 Thread Reynir Hübner
Hi, When using version tc. 4.1.14 this exception sometimes occures : java.lang.ArrayIndexOutOfBoundsException at org.apache.coyote.http11.InternalOutputBuffer.write(InternalOutputBuffer.java:615) at

Failed JK connection

2002-11-27 Thread Scherbinko Timur
Hi, I have installed - Apache/1.3.22 (Unix) - mod_jk-ap13-1.2.0-1 - tomcat4-4.1.12 At start Tomcat4 gives out a mistake Starting service Tomcat-Standalone Nov 26, 2002 7:52:31 PM org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on tcp port 8009 Nov

Re: Unexpected excpetion... error message with web.xml file

2002-11-27 Thread Panos Konstantinidis
Further information, I just figured out that the exception is thrown in the following lines of my web.xml file: auth-constraint role-namedasreiseportal/role-name /auth-constraint If I completely take out the role-name tag then the web application works fine (but I do not have the

RE: Load on Tomcat 4.1.12

2002-11-27 Thread JOAN INTERD4U
Hi, I found a similar problem using connections poolling. When I executed a close() method, the connection wasn't returned to the pool. When i reached the maximum limit, I cannot do more connections. I tried the following and it worked: (..) Connection conn = null; conn = ds.getConnection();

RE: Response.ContentType - not always setting contentType in Header

2002-11-27 Thread neal
Yes you are correct I believe - you must set the contentType prior to writing to out. But ... I am. And, still 2 of my more important pages are not showing the contentType as being defined...those same two pages show a contentLength of 0, and yet those same two pages seem to work perfectly fine.

RE: Unexpected excpetion... error message with web.xml file

2002-11-27 Thread P Sasidhar
Hi, Create the role name which you have mentioned in your web.xml in tomcat_users.xml under TOMCAT-HOME/conf directory. I think this should solve the problem sasi -Original Message- From: Panos Konstantinidis [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 27, 2002 5:25 PM

RE: Unexpected excpetion... error message with web.xml file

2002-11-27 Thread Panos Konstantinidis
Hello Sasi, thank you for your reply. I am using the JDBC realm in order to configure a pay site. As we already have setup a database (in which we add all the new users that register) using the memory realm would not do. The thing is that I have set up all the roles and the usernames in the

RE: HTTP to HTTPS redirect

2002-11-27 Thread Joel Werginz
It works fine when I put in BASIC Authentication (which I really don't want to do) where I have to use a username and password to get to the Login Page; however, as soon as I remove this, I get the error mentioned about access control. Joel Werginz -Original Message- From: mech

RE: tomcat setup

2002-11-27 Thread Price, Erik
-Original Message- From: Mark Walker [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 6:33 PM To: [EMAIL PROTECTED] Subject: Re: tomcat setup I have 4.1.12 installed on a Wallstreet G3 Powerbook and it is running great! There's a document in Apple's Developer

Re: Coyote:: ArrayIndexOutOfBoundsException

2002-11-27 Thread David Brown
Reynir Hübner writes: Hi, When using version tc. 4.1.14 this exception sometimes occures : java.lang.ArrayIndexOutOfBoundsException at org.apache.coyote.http11.InternalOutputBuffer.write(InternalOutputBuffer.java:615) at

Apache and Tomcat port mapping

2002-11-27 Thread Brian Dixon
I have recently installed Tomcat 3.3.1 along with Apache. The two are working well together, and I have no complaints except that my Apache pages all have the xxx.mydomain.org/ structure while my Tomcat pages are isolated and appear under the xxx.mydomain.org:8080/ structure. Is there a way to

Re: Load on Tomcat 4.1.12

2002-11-27 Thread David Brown
P Sasidhar writes: Hi All, I need urgent help! I have installed my small webapp on Tomcat 4.1.12 on Windows NT machine but after few requests it is getting hung. Is there any load factor to be configured? What is the maximum no of users it can take? I had downloaded this Tomcat form

Re: Failed JK connection

2002-11-27 Thread Glenn Nielsen
It looks like you have mod_jk 1.2 installed in Apache but have JK2 configured in Tomcat. These two are not compatible. Posting your apache mod_jk config and the connector portion of your tomcat server.xml would make it much easier to answer your question. I would also recommend upgrading apache

REPOST: Coyote:: ArrayIndexOutOfBoundsException

2002-11-27 Thread Reynir Hübner
Hello, Sorry I probably did not provide enough information in the first request, so this is my second attempt: Well it looks as if it's an exception being thrown from coyote http connector, that I am using, in a tomcat-standalone setup (no apache/IIS isntl) As this is a server running more

Re: Host Context - Unpacking of WARs

2002-11-27 Thread Andoni
unpackwars=false should only mean that the app runs from the packed .war file, or so the Tomcat documentation seems to say. I do also have a web.xml but I don't see where this comes in to the configuration of the Host elements? Andoni. - Original Message - From: David Brown [EMAIL

Re: Coyote:: ArrayIndexOutOfBoundsException

2002-11-27 Thread Remy Maucherat
Reynir Hübner wrote: Hi, When using version tc. 4.1.14 this exception sometimes occures : java.lang.ArrayIndexOutOfBoundsException at org.apache.coyote.http11.InternalOutputBuffer.write(InternalOutputBuffer.java:615) at

Re: Tomcat 4.1.12 not responding after few requests

2002-11-27 Thread David Brown
P Sasidhar writes: After few requests my Tomcat server 4.1.12 is not responding and gives lots of null pointer exception and following message in the end: Nov 26, 2002 11:50:28 AM org.apache.tomcat.util.log.CommonLogHandler log INFO: All threads are busy, waiting. Please increase maxThreads or

Re: Host Context - Unpacking of WARs

2002-11-27 Thread Glenn Nielsen
Your second Host config sets the appBase to a war file, this is not valid, it has to be a directory. Glenn Andoni wrote: Hello, I have two configurations: 1st one works 2nd doesn't. I want to get the 2nd to work though as it stops .war files unpacking. Can anyone tell me how to make the 2nd

RE: Apache and Tomcat port mapping

2002-11-27 Thread Laxmikanth M.S.
use connector mod_jk Regards Laxmikanth M S Off* : 6610330 extn 1256 Res* : 5267150 http://www.sonata-software.com Coming together is the beginning, staying together is progress and working together is Success What lies behind us and what lies before us are tiny matters compared to what lies

RE: Coyote:: ArrayIndexOutOfBoundsException

2002-11-27 Thread Reynir Hübner
Thanx remy! -reynir -Original Message- From: Remy Maucherat [mailto:[EMAIL PROTECTED]] Sent: 27. nóvember 2002 13:11 To: Tomcat Users List Subject: Re: Coyote:: ArrayIndexOutOfBoundsException Reynir Hübner wrote: Hi, When using version tc. 4.1.14 this exception

Re: Integrate Tomcat 4.1.12 to Apache 1.3.22 on ASPLinux

2002-11-27 Thread Glenn Nielsen
If you are using mod_jk 1.2 for Apache your Connector on the Tomcat side needs to be Ajp13 instead of Coyote. Here is an example: Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10

Problem downloading binary files, why no one helped me?

2002-11-27 Thread Vy Ho
-- Forwarded message -- Date: Tue, 26 Nov 2002 21:30:36 -0500 (EST) From: Vy Ho [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Weird error using file download I got a very weird error and here is the situation: The app I used:

Search engine for the tomcat-user mailing list

2002-11-27 Thread Luca Ventura
Hello everybody! Is there a search engine for the tomcat-user and tomcat-dev mailing list? I would like to find and read old posts using key-words. Thanks to everybody in advance! Luca

Re: Pb with HEAD request

2002-11-27 Thread Cédric Viaud
Hi Kristján, in fact, i've first check the RFC of HTTP 1.1 (see after the mail what it says about HEAD command). So i've look to the servlet specification .And haven't seen the doHead method. Next to your reply , i've checked again, and discover that i MISSED it :-( So i've coded the doHead

Re: Apache/Tomcat Security

2002-11-27 Thread Glenn Nielsen
Run Tomcat with the Java SecurityManager (-security startup option) and only grant the minimum permissions necessary to your webapp. See the Security Manager HOWTO in the Tomcat docs. Glenn Anderson, M. Paul wrote: I am preparing to launch my first web site utilizing an Apache/Tomcat

Re: Problem downloading binary files, why no one helped me?

2002-11-27 Thread xyber
enable http 1.1 in ie Vy Ho wrote: -- Forwarded message -- Date: Tue, 26 Nov 2002 21:30:36 -0500 (EST) From: Vy Ho [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Weird error using file download I got a very weird error and here

Re: Granting security permissions not working

2002-11-27 Thread Glenn Nielsen
In Tomcat 4.0 the URL used for the codeBase for jar files located in /WEB-INF/lib starts with jar:file:..., your grant below starts with file: Those are two different codeBases! The SecurityManager is very picky about where code comes from when granting permissions, the URL must start with

OFF-TOPIC: creating classes

2002-11-27 Thread Felipe Schnack
Hi all, I know this is off-topic, but I just had a crazy idea and couldn't find about it anywhere... There is a way to modify/create java classes at runtime? I mean, create plain new classes, or add attributes/methods to an existing, etc? Maybe I'm asking for Java++? :-) -- Felipe

Re: Why does Tomcat 4 suspend itself?

2002-11-27 Thread David Brown
Luca Ventura writes: Hello! I have Tomcat 4.0.4-b3 as Servlet Container (I use it as a plug-in of IIS 5, using the ISAPI filter isapi_redirector.dll )and I have seen that sometimes the following strange thing happens When Tomcat doesn't receive user's requests (forwarded from IIS) for a

RE: Tomcat Filter with RequestDispatcher - IncompatibleClassChangeError

2002-11-27 Thread Cox, Charlie
what you compile against and what tomcat is using *could* be two different things if your classpath is not identical to /common/lib(and WEB-INF/lib), which it looks like yours is very different. Therefore if your class was compiled against some library that contains a different version of any

Re: security manager problem

2002-11-27 Thread Glenn Nielsen
Start tomcat with the property javax.security.debug=access,failure so that you can capture debug information for the SecurityManager. Also read the SecurityManager-HOWTO that comes with tomcat. Glenn Mok Swee Loong wrote: Dear all, Just started with tomcat 4.1.2, i am trying to run things a

Re: OFF-TOPIC: creating classes

2002-11-27 Thread Kristján Bjarni Guðmundsson
You could check out BCEL. http://jakarta.apache.org/bcel/index.html Felipe Schnack [EMAIL PROTECTED] wrote on 27.11.2002 13:40:59: Hi all, I know this is off-topic, but I just had a crazy idea and couldn't find about it anywhere... There is a way to modify/create java classes at

Apache + tomcat - request.getRemoteUser() = null?

2002-11-27 Thread Michael Nicholson
So, I'm working in an University setting, where someone else has set up Tomcat 4.03 and Apache 1.3 together, with the Apache SSL module and the Apache Kerberos 3rd party module installed. The Kerberos module sets the authenication header w/ a basic attribute and a representation of the

Re: OFF-TOPIC: creating classes

2002-11-27 Thread David Brown
Kristján Bjarni Guðmundsson writes: You could check out BCEL. http://jakarta.apache.org/bcel/index.html Felipe Schnack [EMAIL PROTECTED] wrote on 27.11.2002 13:40:59: Hi all, I know this is off-topic, but I just had a crazy idea and couldn't find about it anywhere... There is a way

RE: Pb with HEAD request

2002-11-27 Thread Cox, Charlie
this is a similar thread - see if helps at all: http://marc.theaimsgroup.com/?l=tomcat-userw=2r=1s=filters+running+twice; q=b Charlie -Original Message- From: Cédric Viaud [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 27, 2002 8:31 AM To: Tomcat Users List Subject: Re: Pb

Re: Search engine for the tomcat-user mailing list

2002-11-27 Thread David Brown
Luca Ventura writes: Hello everybody! Is there a search engine for the tomcat-user and tomcat-dev mailing list? I would like to find and read old posts using key-words. Thanks to everybody in advance! Luca Hello Luca, try this:

R: Search engine for the tomcat-user mailing list

2002-11-27 Thread Luca Ventura
Ok, thanks a lot! :-) Luca -Messaggio originale- Da: Carsten Ziegert [mailto:[EMAIL PROTECTED]] Inviato: mercoledì 27 novembre 2002 14.57 A: Tomcat Users List Oggetto: Re: Search engine for the tomcat-user mailing list See: http://nagoya.apache.org/eyebrowse/

RE: Pb with HEAD request

2002-11-27 Thread Andy Eastham
Cedric, The servlet container automatically handles head requests by calling doGet but then only returns the headers. This can be very inefficient in cases such as yours. The O'Reilly Java Servlet Programming book suggests at the top of doGet() do:

RE: Apache Tomcat 4.1 and RMI

2002-11-27 Thread Shapira, Yoav
Howdy, have a servlet which serves up a page that contains an applet. Tomcat 4.1 is my application server and I have it installed on my machine Terminology caution: usually application server refers to a J2EE (or .Not) server. Most people prefer to call tomcat a servlet/JSP container. A

RE: Coyote:: ArrayIndexOutOfBoundsException

2002-11-27 Thread Shapira, Yoav
Hi, java.lang.ArrayIndexOutOfBoundsException at org.apache.coyote.http11.InternalOutputBuffer.write(InternalOutputBuffe r.ja snip The exception can be ignored (it might happen only in the case of a client disconnect, so at this point, what happens doesn't really matter anymore; this

Re[2]: Failed JK connection

2002-11-27 Thread Scherbinko Timur
Hello, GN It looks like you have mod_jk 1.2 installed in Apache but have GN JK2 configured in Tomcat. These two are not compatible. GN Posting your apache mod_jk config and the connector portion of your GN tomcat server.xml would make it much easier to answer your question. GN I would also

Re: Apache + tomcat - request.getRemoteUser() = null?

2002-11-27 Thread Michael Nicholson
Oh yes, I left out relevent information... using the modwebapp (warp) connector. Don't know if that changes anything... Mike - Original Message - From: Jacob Kjome [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, November 27, 2002 9:24 PM Subject: Re: Apache +

RE: JDK is not enough. SDK is needed

2002-11-27 Thread Shapira, Yoav
Howdy, The very reason there are so many users how to's up on the web, and being used, tells you that the web site for Jakarta is poorly planned. You I disagree with that interpretation. It means the web site doesn't have all the information people want, that the documentation isn't as

RE: Search engine for the tomcat-user mailing list

2002-11-27 Thread Shapira, Yoav
Hi, My fav is AIMS, http://marc.theaimsgroup.com/?w=2 Yoav Shapira Millennium ChemInformatics -Original Message- From: Luca Ventura [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 27, 2002 8:29 AM To: tomcat-user Subject: Search engine for the tomcat-user mailing list Hello

RE: Coyote:: ArrayIndexOutOfBoundsException

2002-11-27 Thread Neil Milne
You can see the fix in CVS - it was just a case of moving a few lines of code within the commit() method. Thanks to Remy for that! Neil. -- Neil MilneHippo IT Consultants Ltd -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

How to get user:password from page header?

2002-11-27 Thread Andrew Guts
Hi all, I am porting an old CGI application to JSP/servlets. I need to port user authentication code also. But getHeader(authorization) returns encoded string like Basic YW5kcmV3Og==. How to get original value like USER:PASSWORD ? Thanks ahead Andrew -- To unsubscribe, e-mail:

RE: servlet compilation

2002-11-27 Thread Shapira, Yoav
Howdy, That's strange. As a matter of practice, I would not install tomcat, or have on my classpath, any directory with a space in it, e.g. c:\...\tomcat 4.1\ It's been a long time since I compiled on the command-line, not using Ant or another tool, especially on windows. Did you try using

Re: Apache + tomcat - request.getRemoteUser() = null?

2002-11-27 Thread Jacob Kjome
hmm As I understand it, mod_webapp is not being worked on anymore. If it doesn't support the same kind of functionality that mod_jk provides with tomcatAuthentication=false then it probably never will. My recommendation is to move to mod_jk or mod_jk2. I know next to nothing about

Re: Apache + tomcat - request.getRemoteUser() = null?

2002-11-27 Thread Michael Nicholson
Thanks for the advice... maybe I can talk our guy into switching... until then, it's time to digest the authorization header... woohoo... what a system! :) Mike - Original Message - From: Jacob Kjome [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, November 27,

Re: Host Context - Unpacking of WARs

2002-11-27 Thread David Brown
Andoni writes: unpackwars=false should only mean that the app runs from the packed .war file, or so the Tomcat documentation seems to say. I do also have a web.xml but I don't see where this comes in to the configuration of the Host elements? Andoni. - Original Message - From: David

Tomcat Configuration Question

2002-11-27 Thread karthikeyan.balasubramanian
Hi All, I have this question. One of my friend is running a web hosting business and i m helping him to configure tomcat with apache using warp as connecter. I have sucessfully integrated it and i am also able to run my application inside webapps with calling tomcat with port number but by

RE: RMI and Tomcat

2002-11-27 Thread Greg Trasuk
You don't want your remote application's classes to be resident in the access webapp. I'd suggest we go back to the original problem and try to solve that; take the application classes out of examples/WEB-IF/classes. (Aside-- While you're at it, it's worth taking an hour or two to

RE: Tomcat Filter with RequestDispatcher - IncompatibleClassChangeError

2002-11-27 Thread Price, Erik
This also leaves me wondering how I'm supposed to go about compiling all of my classes that use XML/JAXP on my machine, now that I've removed it all. I've been learning about Ant recently. Perhaps it can help you in this respect. Erik -- To unsubscribe, e-mail: mailto:[EMAIL

Howto specify servlets directory

2002-11-27 Thread Rafael Angarita
Hi, I want to configure tomcat to handle servlets in the URL /servlet and in /some_dir/servlet, is it necesary to indicate something in the config files? or change anything? I'm using tomcat 3.2.4 Thanks in advance, -- Rafael Angarita -- To unsubscribe, e-mail:

How do I integrate my CLASSPATH on Tomcat?

2002-11-27 Thread Emma Johansson
Hi! I'm wondering how I should do to make tomcat use the paths that are in my CLASSPATH? Regards, / Emma -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Host Context - Unpacking of WARs

2002-11-27 Thread Andoni
Unfortunately I have followed all the instructions to the letter and things are not well. I can get my whole config to work but I can't get the perks I was really looking forward to having. 1. I have to manually unzip .war files into the webapps directory 2. I can't have webapps work directly

RE: How do I integrate my CLASSPATH on Tomcat?

2002-11-27 Thread Shapira, Yoav
Howdy, I'm wondering how I should do to make tomcat use the paths that are in my CLASSPATH? Put everything on your classpath (that's not already in tomcat's common/lib directory) in your webapp's /WEB-INF/lib directory. You may want to read:

Re: How to get user:password from page header?

2002-11-27 Thread Andreas Probst
Hi Andrew, there's the class org.apache.util.Base64 to encode from user input to encoded: Base64 base64 = new Base64(); String base64Encoded = new String(base64.encode(userPass.getBytes())); What you want is to decode. I suppose method decode would do. Regards, Andreas On 27 Nov

RE: How do I integrate my CLASSPATH on Tomcat?

2002-11-27 Thread Shapira, Yoav
Howdy, Use a script or TC catalina script to include your CLASSPATH. While this may be simpler, it violates the spirit of the design of tomcat's classloader. In the long run, this will only lead to more problems. The app will be less container-independent, and less portable. I really think

RE: NoSuchMethodError

2002-11-27 Thread jon wingfield
The compiled tomcat code (class org.apache.catalina.session.StandardSession) is calling a method not available at runtime. That probably means that the tomcat code was compiled with a later version of either the jdk or the servlet jars than the version you are running tomcat with. I've just

intercept jsp:include (InstanceEvent.BEFORE_DISPATCH_EVENT ?)

2002-11-27 Thread AAron nAAs
I'm trying to intercept a jsp:include so that I can adjust the requested file (ie: /include.html) to a different directory/file (ie: /otherdir/otherfile.html). If there is an easy way (Filter, Valve, Listener, ...) just let me know. NOTE: I've already created and installed a request filter in

Re: How do I integrate my CLASSPATH on Tomcat?

2002-11-27 Thread Pae Choi
As I said, that's a simpler way. That did not meant that's the only way. Long run? I've been watching TC a long enough and have changed a number of times the scheme of including the CLASSPTH. In the long run, are you absolutely sure what is going right now will be stay same ... say in next 5

SV: Problems running VeriSign trial sertificate in Tomcat.

2002-11-27 Thread Morten mot. Tollefsen
Any ideas? Please help me with this problem! Morten Tollefsen -Opprinnelig melding- Fra: Morten Tollefsen [mailto:[EMAIL PROTECTED]] Sendt: 25. november 2002 12:03 Til: '[EMAIL PROTECTED]' Emne: Problems running VeriSign trial sertificate in Tomcat. Problem with running Tomcat

RE: How do I integrate my CLASSPATH on Tomcat?

2002-11-27 Thread Keates, Mark
What's the recommendation for Oracle JDBC drivers? I've opted to include this in the Tomcat service startup: %CATALINA_HOME%\bin\tomcat.exe -install Tomcat %JAVA_HOME%\jre\bin\hotspot\jvm.dll -Djava.class.path=%CATALINA_HOME%\bin\bootstrap.jar;%JAVA_HOME%\lib\tools.j

Re: Apache and Tomcat port mapping

2002-11-27 Thread David Brown
Brian Dixon writes: I have recently installed Tomcat 3.3.1 along with Apache. The two are working well together, and I have no complaints except that my Apache pages all have the xxx.mydomain.org/ structure while my Tomcat pages are isolated and appear under the xxx.mydomain.org:8080/

RE: How do I integrate my CLASSPATH on Tomcat?

2002-11-27 Thread Shapira, Yoav
Howdy, What's the recommendation for Oracle JDBC drivers? Everyone I know turns the .zip into a jar (there's a reason the newer drivers are distributed as ojdbc14.jar, not ojdbc14.zip) and puts in their /WEB-INF/lib directory. That's because everyone I know wants their app to be

setting Context attributes in web.xml/server.xml?

2002-11-27 Thread Rasputin
Hi folks, I'm porting a servlet-based reporting system from iPlanet to TOmcat 4.1.12, and it initialises itself based on a context attribute 'baseDir'. iPlanet lets you set initial context attributes through the server. How do I set these in Tomcat4? Is it even possible? If iPlanet 4 has a

Re: How do I integrate my CLASSPATH on Tomcat?

2002-11-27 Thread David Brown
Emma Johansson writes: Hi! I'm wondering how I should do to make tomcat use the paths that are in my CLASSPATH? Regards, / Emma -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] Hello Emma, it should not be necessary to

RE: setting Context attributes in web.xml/server.xml?

2002-11-27 Thread Shapira, Yoav
Howdy, You can do this in your app's web.xml: context-param param-namebaseDir/param-name param-value/foo/bar/param-value /context-param And then in your servlet: String baseDir = getServletContext().getInitParameter(baseDir); If iPlanet 4 has a feature tomcat doesn't, I'd be amazed. If it

Tomcat 3.3.1 vs Tomcat 4.0.x vs Tomcat 4.1.x

2002-11-27 Thread Fenlason, Josh
I'm investigating the different versions of Tomcat to see which will better suit our needs. Which ever version we go with, we will be committed to for a while, so I want to make an educated decision. Since we will make a long term commitment to the version, I would be inclined to go with the

Re: Howto specify servlets directory

2002-11-27 Thread David Brown
Rafael Angarita writes: Hi, I want to configure tomcat to handle servlets in the URL /servlet and in /some_dir/servlet, is it necesary to indicate something in the config files? or change anything? I'm using tomcat 3.2.4 Thanks in advance, -- Rafael Angarita -- To

Re: How do I integrate my CLASSPATH on Tomcat?

2002-11-27 Thread Emma Johansson
Hi David, I thought I had to integrate my classpath on Tomcat so that Tomcat is able to use the jar files in my classpath. My web service on tomcat should be able to send an ldap message to another server. When I try to do this I get the following root cause: javax.servlet.ServletException:

Re: How do I integrate my CLASSPATH on Tomcat?

2002-11-27 Thread Pae Choi
First, let me copy the initial inquriy to refresh your memory. I'm wondering how I should do to make tomcat use the paths that are in my CLASSPATH? Does it say or imply to move JARs or packages to a specific location? The question was simple and the my reply included a simple suggestion

RE: How do I integrate my CLASSPATH on Tomcat?

2002-11-27 Thread Shapira, Yoav
Howdy, I won't comment on the personal attack parts, although they are amusing. ;) I'm wondering how I should do to make tomcat use the paths that are in my CLASSPATH? Does it say or imply to move JARs or packages to a specific location? The question was simple and the my reply included a simple

Re: Problem downloading binary files, why no one helped me?

2002-11-27 Thread Vy Ho
Hi xyber, Thank you very much for helping me out. I checked my IE setting, under Option-Advanced-HTTP 1.1 settings, the box Use HTTP1.1 was checked, and the box Use Http1.1 through proxy connections was not. However, I don't think I use any proxy or anything, just connect through my own

Re: setting Context attributes in web.xml/server.xml?

2002-11-27 Thread Rasputin
* Andy Eastham [EMAIL PROTECTED] [1140 16:40]: Rasputin, It's in web.xml Sorry, I can't see it. There's a context-param element, but I need a context *attribute*, and I don't think they can be set in tomcat. See sample chapter on www.moreservlets.com for more info. Actually, I bought

Hi all .. compilation with NetBeans ..

2002-11-27 Thread Eriam Schaffter
Hi there .. I'm trying to compile tomcat with NetBeans and it seems thats the transaction api to which refers tomcat is depreciated .. The error log is below: catalina/src/share/org/apache/naming/factory/TyrexTransactionFactory.java [75:1] cannot resolve symbol symbol : class UserTransaction

Re: How do I integrate my CLASSPATH on Tomcat?

2002-11-27 Thread Andreas Probst
Hi Emma, don't move everything to Tomcat, copy it. Keep your system %classpath% as you have and want it. BUT, put (copy) all the resources you need in your webapp in the appropriate directory, i.e. WEB-INF/lib or if they are classes to WEB-INF/classes. Maybe the Application Developers' Guide

  1   2   3   >