Re: Implicit objects in JSP pages

2002-04-15 Thread rob
I believe that's correct how are you using the 'request' reference? At 03:53 PM 4/12/2002 -0400, you wrote: According to what I've read, there should be a javax.servlet.http.HttpServletRequest instance by the name of request available to me in my JSP at compile time without my having to do

RE: login.do not found

2002-04-15 Thread rob
This is related to struts yes. Struts applications expect that there is a servlet mapping for *.do or do/* in web.xml for classes that extend org.apache.struts.action.Action (I believe). A visit to the struts home might be helpful. Rob There has to be a servlet mapping for *.do in the

JSP/JDBC/POSTGRESQL

2002-04-15 Thread Dave Anders
javax.servlet.ServletException: WEB-INF/lib/jdbc7.1-1.2.jar/org/postgresql/Driver root cause : java.lang.ClassNotFoundException: WEB-INF/lib/jdbc7.1-1.2.jar/org/postgresql/Driver Jeffrey Bonevich wrote : The above looks sorely malformed. Jeffrey, thank you very much. The .jsp

RE: Mysql and Tomcat

2002-04-15 Thread Andy Eastham
Gareth, What are the errors? We're running mysql under Tomcat and our corresponding code is: Class.forName(org.gjt.mm.mysql.Driver).newInstance(); this.connection = DriverManager.getConnection(jdbc:mysql:// + this.databaseHost +: + this.databasePort + / +

Tomcat 4.0.3 hangs when removing web application.

2002-04-15 Thread Daniel Aborg
Hi! I originally posted this message on jGuru, but got no solutions we could use. I'm hoping for a piece of the collective wisdom of the tomcat-user list in order to solve this little problem. I'm trying to upgrade to JBoss 2.4 with Tomcat 4. Unfortunately, I've encountered a rather fatal

Tomcat 3.2.1 security newbie - Basic authentication Win2k/MIIS

2002-04-15 Thread Mohr James
Hi all! I am trying to implement an Intranet/Extranet where menus are created dynamic based on the username. To determine the user, I am using REMOTE_USER and this works fine with active service pages. However, any JSP page does not seem to be able to read this correctly. Because we have to use

Re: Tomcat 4.0.3 hangs when removing web application.

2002-04-15 Thread lsmith
Daniel, Any servlet that Tomcat creates Tomcat will send a destroy to. If you start any threads or singletons from that servlet you need to pass the destroy onto them you're self. Hope this helps, Lance -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL

Re: Tomcat 4.0.3 hangs when removing web application.

2002-04-15 Thread Daniel Aborg
[EMAIL PROTECTED] wrote: Any servlet that Tomcat creates Tomcat will send a destroy to. If you start any threads or singletons from that servlet you need to pass the destroy onto them you're self. Thanks Lance. I neglected to mention that Tomcat DOES send the destroy - it just sends it

configuration pbm

2002-04-15 Thread george pinca
Hello, I'm trying to run Tomcat on Linux and getting the following error, any clue ??? Thankx, george Using classpath:

RE: please help me

2002-04-15 Thread Janarthanan, Prasanna
thanks for the clarifications, i have worked with this tomcat for the past week. it is now giving a strange error for my context added in server.xml file. just i did it like explained in the documentation. But soon after i start the tomcat and see the log files, it is giving error :

Re: Tomcat 4.0.3 hangs when removing web application.

2002-04-15 Thread Daniel Aborg
[EMAIL PROTECTED] wrote: It sounds to me like you are blocking with the connection open in you're servlet therefore not allowing Tomcat to call the destroy method untill you have released the block( released the connection ) maybe synchronizing on the class? I am not sure... That's

Re: Tomcat 4.0.3 hangs when removing web application.

2002-04-15 Thread Daniel Aborg
Daniel Aborg wrote: I'm trying to upgrade to JBoss 2.4 with Tomcat 4. Unfortunately, I've encountered a rather fatal problem: When Tomcat is asked to remove our web application, i.e. for redeploying it or when shutting down, it hangs with the following message:

RE: What does IMHO mean?

2002-04-15 Thread ce
-Original Message- From: Darrin [mailto:[EMAIL PROTECTED]] LMAO (laughing my ass off) is what you probably are talking about (a lot of fonts its hard to distinguish between 1 (one) l (lowercase L), and i (lowercase I) Possibly, but imao is also a common acronym...

RE: What does IMHO mean?

2002-04-15 Thread Stuart Stephen
IMHO = In My Honest Opinion -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 15 April 2002 12:17 To: 'Tomcat Users List' Subject: RE: What does IMHO mean? -Original Message- From: Darrin [mailto:[EMAIL PROTECTED]] LMAO (laughing my ass off) is

RE: What does IMHO mean?

2002-04-15 Thread Abhishek Pamecha
or is it in my humble opinion... ?? -Original Message- From: Stuart Stephen [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 4:49 PM To: Tomcat Users List Subject: RE: What does IMHO mean? IMHO = In My Honest Opinion -Original Message- From: [EMAIL PROTECTED]

RE: What does IMHO mean?

2002-04-15 Thread Reynir Hübner
both! now would be a good time to stop this! If there has ever been anything off topic here this is it.. ever heard of http://www.webster.com/ bye [EMAIL PROTECTED] -Original Message- From: Abhishek Pamecha [mailto:[EMAIL PROTECTED]] Sent: 15. apríl 2002 11:21 To: Tomcat Users

Re: What does IMHO mean?

2002-04-15 Thread Philip M. Meier
Hi! What means afaik? Regards, Philip M. Meier Philip M. Meier [EMAIL PROTECTED] AmambaSoft http://www.amambasoft.com Diese E-Mail Nachricht und alle beigefügten Anlagen sind nur für die Adresse bestimmt, an die sie geschickt wurde und kann vertrauliche

RE: What does IMHO mean?

2002-04-15 Thread Abhishek Pamecha
as far as i know...it is as far as i know ;) -Original Message- From: Philip M. Meier [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 4:58 PM To: Tomcat Users List Subject: Re: What does IMHO mean? Hi! What means afaik? Regards, Philip M. Meier

Re: What does IMHO mean?

2002-04-15 Thread David Rault
i guess a good answer would look like STFW (and so that no one replies to ask what it means : Search The Fucking Web) google: afaik 1st answer: as fas as i know David - Original Message - From: Philip M. Meier [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday,

Re: Tomcat 4.0.3 hangs when removing web application.

2002-04-15 Thread Craig R. McClanahan
On Mon, 15 Apr 2002, Daniel Aborg wrote: Date: Mon, 15 Apr 2002 11:45:08 +0100 From: Daniel Aborg [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Tomcat 4.0.3 hangs when removing web application. Daniel Aborg wrote:

TOMCAT, IIS 5 SSL - direction please.

2002-04-15 Thread Ernst Bekker
If anyone on the list would be so kind as to direct me to the document/url where I can get a clue as to how I should go about using ssl with both IIS and Tomcat on the same machine without requiring client requests to go directly to non-default port. Thanks in advance Regards, Ernst Bekker

Re: To have SetCookie in the Response

2002-04-15 Thread Lionel FARBOS
In fact, there is no special configuration to obtain this. Only : SessionId cookiesFirst=true noCookies=false / to authorize cookies. My problem was : I invoke LoginServlet (in which I do ...request.getSession( true );) and at the end of this servlet, I do :

Re: What does IMHO mean?

2002-04-15 Thread Matt Gregory
RTFM Read the Fine Manual according to Zope, but many others like to substitute fine with some other metaphore. LOL Laugh out loud ROFL Rolling on floor laughing ROFLMAO Rolling on floor laughing my arse off WTF What the fsck Use your imagination. IANAL I am not a llama If you don't know, you

apache+tomcat behind firewall

2002-04-15 Thread Michael Reutter
Hi! My tomcat is connected to apache with mod_jserv - and both are behind a firewall: server1.com ... firewall (connected to internet and private network) server2.intra ... apache and tomcat (private network) DNAT: server1.com:80 - server2.intra:80 (apache) server1.com:8080 -

Jspc and package names

2002-04-15 Thread Leonard Crowe
I know I've seen this mentioned before but I can't find an answer for it in the archives. I'm trying to use jspc to generate the servlets from my jsp's but the package names end up having a . appended on the end giving me a compiler error when I try and compile them. Is this a problem with jspc

Search Engine and Tomcat

2002-04-15 Thread alex
I've been very pleased with Tomcat, and have it hosting some of our jsp content. I'm now looking for an indexing/search solution that would index and allow me to create a form to search the site for search keywords and display results. Preferably i'd like to be able to index content that is

Re: Tomcat 4.0.3 hangs when removing web application.

2002-04-15 Thread Daniel Aborg
Craig R. McClanahan wrote: Here is a simple example which reproduces this behaviour: [snip] In my eyes, this should work without any problems. (It does work just fine in Tomcat 3.2.2.) No, this should not work -- and Tomcat 3.2 was broken in allowing it. Per the servlet spec, the container

RE: What does IMHO mean?

2002-04-15 Thread sharadsk
This is Tomcat Discussion List. Please stop this. And do not put such questions on this list. -S -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Mon, April 15, 2002 10:02 AM To: [EMAIL PROTECTED] Subject: RE: What does IMHO mean? IMHO == In My Humble

RE: Search Engine and Tomcat

2002-04-15 Thread Cox, Charlie
I am currently integrating lucene(http://jakarta.apache.org/lucene), into my web application. It is a search api, so you have to create the spidering of a site, but it seems to work fairly well and is very flexible. Charlie -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: Implicit objects in JSP pages

2002-04-15 Thread Brook Monroe
After looking at the generated Java file, I find that the request object is available because it's a parameter to _jspService(). I was attempting to instantiate my objects via calls to request.getAttribute() at the point of declaration, not in the first real code block in the page. Once I moved

RE: How many SSL certificates are needed for Tomcat with IIS?

2002-04-15 Thread John Roth
Also, each server sends a machine+server specific character set to Verisign (or any other certifier). For example: a keystore generated CertRequest will create a different request than an IIS generated CertRequest, all other things being equal (IP address, domain name, etc.). In a normal Web

How do I unsubscribe to this list???

2002-04-15 Thread Valdimar Óskarsson
Hi, pls. help me to unsubscribe. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

RE: Using Apache2 + Tomcat4 together

2002-04-15 Thread Rich
I think the easiest way is by using mod_proxy. It is clearly outlined in the Tomcat docs, here: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/proxy-howto.html -Original Message- From: Darrin [mailto:[EMAIL PROTECTED]] Sent: Saturday, April 13, 2002 1:46 AM To: Tomcat Users List

Tomcat 4.0.3 setup

2002-04-15 Thread Diego, Emil
Hello, I am running Redhat Linux with Apache 1.3. I am trying to setup and configure Tomcat 4.0.3 mod_webapp so I can get my apache server to handle the JSP reequests. Here is ewhat I have done so far. I got tomcat 4.0.3 setup as a stand alone server and works fine when I browse

RE: IIS 5.0 + TC 4.0.3

2002-04-15 Thread Jack Li
Did you follow the instruction at http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/? I setup the server successfully two weeks ago based on that instruction. If you have problem, call me at 734.957.8080 ext 340 by speaking Chinese. Jack Li -Original Message- From: Tomcat Huang

RE: How do I unsubscribe to this list???

2002-04-15 Thread Stuart Stephen
Read the bottom of every single email sent to this list. It tells you there. -Original Message- From: Valdimar Óskarsson [mailto:[EMAIL PROTECTED]] Sent: 15 April 2002 14:25 To: [EMAIL PROTECTED] Subject: How do I unsubscribe to this list??? Hi, pls. help me to unsubscribe. -- To

Re: How do I unsubscribe to this list???

2002-04-15 Thread Javier
On 15/04/2002 at 13:24 Valdimar Óskarsson wrote: Send an email to [EMAIL PROTECTED] and take to send it from the address which you want to unsubscribe. As a rule, you could check in the headers of each mail from the list for commands to post, sucscribe, etc. Good luck jl -- To

RE: How do I unsubscribe to this list???

2002-04-15 Thread Valdimar Óskarsson
It does not work, have been trying that for days :( -Original Message- From: Stuart Stephen [mailto:[EMAIL PROTECTED]] Sent: 15. apríl 2002 13:35 To: Tomcat Users List Subject: RE: How do I unsubscribe to this list??? Read the bottom of every single email sent to this list. It tells

RE: Session Tacking across hostnames?

2002-04-15 Thread Neil Aggarwal
Joel: In that case, I would argue that the design is mismatched to the actual usage of web applications. Thanks, Neil. -- Neil Aggarwal JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com Custom Internet DevelopmentWebsites, Ecommerce, Java, databases

RE: IIS 5.0 + TC 4.0.3

2002-04-15 Thread Tomcat Huang
hi Jack, Thank you very much for the information. I will give it a try. Thanks again. Chiming Jack Li [EMAIL PROTECTED] wrote: Did you follow the instruction at http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/? I setup the server successfully two weeks ago based on that

RE: How do I unsubscribe to this list???

2002-04-15 Thread Twele, Charles G
I've had the same problem - I've tried to unsubscribe twice, using the instructions at the bottom of the list ... Anybody with any ideas, plz pass them on ... -Original Message- From: Valdimar Óskarsson [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 9:34 AM To: Tomcat

RE: How do I unsubscribe to this list???

2002-04-15 Thread Stuart Stephen
Try emailing the bottom one then and see if they will remove you manually. But first you should check this: Have you made sure that you are removing the email address from the same email account that you subscribed to it with. For example if you subscribed with [EMAIL PROTECTED] and you try to

keystore not found in tomcat-3.3.1-dev

2002-04-15 Thread IS400 ABB
I'm running Tomcat-jakarta-3.3.1-dev with SSL. Problem: How to get SSL working when I specify the keystore path in server.xml? I have created a keystore file (.keystore) with the following command: keytool -genkey -alias tomcat -keyalg RSA -keystore /usr/cert/.keystore In server.xml i then

RE: REPOST: XXX Assert failed, buff too small -- Help!!

2002-04-15 Thread John Roth
Still troubleshooting, about ready to give up and regretfully move this portion of our application to Active Server Pages. If anyone out there has any advice or suggestions, they would be greatly appreciated. Here is the latest round of discoveries: 1. After modifying AJP*.class, we found that

RE: Session Tacking across hostnames?

2002-04-15 Thread Pekník Jan
I think this would help : when you switch from HTTP to HTTPS, add JSESSIONID to that url by calling response.encodeURL(url) -Jan -Original Message- From: Neil Aggarwal [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 14, 2002 6:49 AM To: Tomcat-User Subject: Session Tacking

RE: How do I unsubscribe to this list???

2002-04-15 Thread Javier
On 15/04/2002 at 13:34 Valdimar Óskarsson wrote: It does not work, have been trying that for days :( No, man you did something wrong. I've unsubscribed my yahoo mail address on last friday without problems ! (and re-subscribed the present address). Remember to send your mail from the

Tomcat 4.0.4 + WARP

2002-04-15 Thread Giovanni P. Tirloni
Hi, Is there anything wrong with my server.xml for virtual domains with Apache? I've that domain and in httpd.conf I have this: VirtualHost 1.2.3.4 ServerName mydomain.com ServerAlias www.mydomain.com DocumentRoot /home/mydomain.com WebAppConnection mydomain-conn warp

Re: mod_webapp and *.shtml not working

2002-04-15 Thread Duane Gran
Joseph, I read with interest your message below. I'm migrating from Tomcat 3.2.x to 4.0.3 and the behavior of Warp is a bit confusing to me. You said that you are 95% done with a document describing how to integrate Apache and Tomcat. Do you mind if I see this? I would be happy to offer

NullPointer from request.getRemoteHost()

2002-04-15 Thread Zsolt Koppany
Hi, I try to install tomcat with apache over APJ13 and it seems to work. But when I try to figure out the name of the remote host (request.getRemoteHost()),I get a null pointer. I changed (tried) to set nslookup in apache but it didn't help (or I didn't make it correct). I don't really need

Re: Tomcat 4.0.4 + WARP

2002-04-15 Thread rsequeira
First, the Host element should be nested inside the Engine element. As for the Connection duplicated error, do you have another WebAppConnection statement with the same connection name in the httpd.conf? RS Giovanni P. Tirloni [EMAIL PROTECTED] on 04/15/2002 09:28:42 AM Please respond to

RE: keystore not found in tomcat-3.3.1-dev

2002-04-15 Thread Larry Isaacs
Try: keystore=/usr/cert/.keystore and see if that works. Its hard to tell from the error output if this is the only problem. Hopefully, it is. Cheers, Larry -Original Message- From: IS400 ABB [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 9:47 AM To: [EMAIL

RE: Session Tacking across hostnames?

2002-04-15 Thread Neil Aggarwal
Jan: I am using repsonse.encodeURL, but it does not add the session id when the hostname is different. Thanks, Neil. -- Neil Aggarwal JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com Custom Internet DevelopmentWebsites, Ecommerce, Java, databases

A question about Tomcat giving up on pages and locked resources

2002-04-15 Thread Duarte Nuno Loreto
Hello! I read once that if the browser requesting a page is closed, Tomcat would throw an exception and stop processing the requested page. We have pages where we get Database connections from a connection pool. After processing, on the end of the JSP page, we return the connection to

using a servlet as welcome-file

2002-04-15 Thread Peter Romianowski
Hi there, I am using tomcat4 and want to setup a servlet as welcome file. How can I do this? Using / as servlet-mapping would not work (IMHO:). If I then try to access http://myhost/something.html then my servlet would be invoked with something.html as PathInfo, right? Please help! Thanks.

HELP!!! AUTHENTICATION PROBLEM - Apache1.3 + Tomcat4.0

2002-04-15 Thread Skladov, Victor
Hello to all! I kindly please all to help me in solving the following problem. I suppose this problem is not new, but I haven't found the answer to it in mail archives up to now. I have Apache1.3 and Tomcat4.0.1 on my Linux machine. All users are being autentificated through htpasswd programm.

FileLogger - how to get reference?

2002-04-15 Thread rob
I would like to use the FileLogger to report errors from my application. I've setup the FileLogger attributes under my Context in the server.xml but how do I get a reference to the logger from within the application in order to call log()? Thanks Rob -- To unsubscribe: mailto:[EMAIL

RE: FileLogger - how to get reference?

2002-04-15 Thread Reynir Hübner
I recomend that you reconsider your plan and use log4j loging. http://jakarta.apache.org/log4j hope it helps -reynir -Original Message- From: rob [mailto:[EMAIL PROTECTED]] Sent: 15. apríl 2002 14:51 To: [EMAIL PROTECTED] Subject: FileLogger - how to get reference? I would like to

Re: Tomcat 4.0.3 setup

2002-04-15 Thread rsequeira
Shouldn't the mod_webapp.so be placed in the libexec directory for linux? According to the docs, the modules directory is used if you are running Apache/Tomcat on Windows. Also with regards to your problem, do you have the ServerName defined for your Main server configuration. Since you aren't

Re: Session Tacking across hostnames?

2002-04-15 Thread David Cassidy
How about this ... don't use encodeIURL just emulate it ... ie do the ;jsessionid= sessionID yourself . David Neil Aggarwal wrote: Jan: I am using repsonse.encodeURL, but it does not add the session id when the hostname is different. Thanks, Neil. -- Neil Aggarwal JAMM

RE: Session Tacking across hostnames?

2002-04-15 Thread Neil Aggarwal
David: I tried that too. It did not work. I still get a new session. Thanks, Neil. -- Neil Aggarwal JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com Custom Internet DevelopmentWebsites, Ecommerce, Java, databases -Original Message- From: David

WebApp: Error 404

2002-04-15 Thread Diego, Emil
Hello, I am running Redhat Linux with Apache 1.3. I am trying to setup and configure Tomcat 4.0.3 mod_webapp so I can get my apache server to handle the JSP reequests. I got tomcat 4 configured to work with apache. I setup the examples directory. Everythin I try browsing

RE: Tomcat 4.0.3 setup

2002-04-15 Thread Diego, Emil
The only modules directory I found was in /etc/httpd/modules. That's where all the .so files where. As far as the server name. It is defined. It seems though that I had to move the entries after the ServerName setting. So i put them at the boittom of the file and that seemed to work. I am

RE: Session Tacking across hostnames?

2002-04-15 Thread Syski, Leszek
-Original Message- From: Neil Aggarwal [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 14, 2002 1:09 AM To: Tomcat Users List; Aditya Subject: RE: Session Tacking across hostnames? Adi: I tried this, but the problem is that the session id is not encoded into URLs that are not on the

Re: Session Tacking across hostnames?

2002-04-15 Thread David Cassidy
both of these two urls do actually speak to the same tomcat don't they ? Does TC get passed the headers of what server actually brought the request to it ? ajp12 vs 13 ? Have you tried virtual hosts in TC ? David... Neil Aggarwal wrote: David: I tried that too. It did not work. I still

Re: WebApp: Error 404

2002-04-15 Thread rsequeira
Did you start Tomcat after you started Apache? Wait a few secs after Tomcat comes up and start Apache RS Diego, Emil [EMAIL PROTECTED] on 04/15/2002 10:35:34 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] cc: Subject: WebApp: Error

RE: WebApp: Error 404

2002-04-15 Thread Rich
Once everything is configured, did you start Tomcat, then restart apache (in that order)? -Original Message- From: Diego, Emil [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 11:36 AM To: '[EMAIL PROTECTED]' Subject: WebApp: Error 404 Hello, I am running Redhat Linux

Character encoding problem: strange rash

2002-04-15 Thread John Wadkin
All, Tomcat 4.0.1 Apache 1.3 WARP Solaris 8 JDK 1.2/1.3 Does anyone know why a servlet would suddenly start displaying non-breaking spaces (#160;) as question marks (?) when the JDK/SDK is upgraded from 1.2 to 1.3? Very odd behaviour! Like a rash - question marks all over the place :) The

RE: WebApp: Error 404

2002-04-15 Thread Diego, Emil
yes. First i started tomcat, then restarted apache. -Original Message- From: Rich [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 11:48 AM To: Tomcat Users List Subject: RE: WebApp: Error 404 Once everything is configured, did you start Tomcat, then restart apache (in that

RE: WebApp: Error 404

2002-04-15 Thread Rich
Hmmm... When I had this problem not to long ago, I was doing two things wrong: 1) Wasn't starting apache after tomcat 2) Failing to include the document root of the webapp in the virtual host (of apache) where the WebApp deploy commands are. I'm still not sure why apache needs to know this

PLEASE HELP ME: JNDI ERROR

2002-04-15 Thread Laura
Hi all, I have found a very strange error: I have configured a indi connection (with Oracle) and all was ok. Now I have to change db: so I have changed server.xml (the part regarding JNDI connection). I have restarted Tomcat (4.0.2) and it gives me an error, a very strange error: [ERRORE]

PLEASE HELP ME: JNDI ERROR 1

2002-04-15 Thread Laura
Other information because I don't know what to do. The exception is created when I call my function getConnection(). The code is when I execute con = ds.getConnection();. The code is: static { try { Context initCtx = new InitialContext(); System.out.println([DEBUG] Dopo

A Mature Response -- Good Show Matt Gregory

2002-04-15 Thread Micael Padraig Og mac Grene
Thanks. At 08:29 AM 4/15/02 -0400, you wrote: RTFM Read the Fine Manual according to Zope, but many others like to substitute fine with some other metaphore. LOL Laugh out loud ROFL Rolling on floor laughing ROFLMAO Rolling on floor laughing my arse off WTF What the fsck Use your imagination.

AW: PLEASE HELP ME: JNDI ERROR 1

2002-04-15 Thread Ralph Einfeldt
You said that you changed user, password, and url. I would suspect, that you mistyped either the name of the server or the port or that your new database is using different parameters than your old one. -Ursprüngliche Nachricht- Von: Laura [mailto:[EMAIL PROTECTED]] Gesendet: Montag,

Re: AW: PLEASE HELP ME: JNDI ERROR 1

2002-04-15 Thread Laura
But I have controlled all. If I try to connect with sql plus, I connect to the db. Any suggestions? Laura Alle 18:30, lunedì 15 aprile 2002, hai scritto: You said that you changed user, password, and url. I would suspect, that you mistyped either the name of the server or the port or

Re: AW: PLEASE HELP ME: JNDI ERROR 1

2002-04-15 Thread peter lin
look in the tnslistener network log to see if tomcat is getting to the machine correctly. If not, it's most likely a typo someplace. If it is, the log will give you more data to debug the problem. peter lin Laura wrote: But I have controlled all. If I try to connect with sql plus, I

Re: AW: PLEASE HELP ME: JNDI ERROR 1

2002-04-15 Thread Laura
Where is nslistener network log ? This log file is on the server (where oracle is installed) or on the client? Can you explain me where it is and what I should have to find? Laura Alle 18:48, lunedì 15 aprile 2002, peter lin ha scritto: look in the tnslistener network log to see if tomcat

Re: PLEASE HELP ME: JNDI ERROR 1

2002-04-15 Thread hemant
Put a break point in between and examine Context and its contents. Also check the spelling/case of datasource lookup name. If you are creating the Datasource yourself, check for any exceptions during its registration. If the DS is on an application server, talk to your Server admin. regards

RE: AW: PLEASE HELP ME: JNDI ERROR 1

2002-04-15 Thread Angel Municio
If the Oracle database that you are trying to connect to is a different version than the old one, check for updated Oracle jdbc drivers (classes12.zip). I have found that there are many releases of this file, and newer releases are not always backwards compatible. For instance, classes12.zip

Re: PLEASE HELP ME: JNDI ERROR 1

2002-04-15 Thread Laura
I think that the context is ok bacause the log file (catalina.out) tells me: [DEBUG] InitialContext = javax.naming.InitialContext@46110f9b [DEBUG] lookup java:comp/env = org.apache.naming.NamingContext@3700f9b [DEBUG] Datasource = Resource reference to a factory for java.sql.Connection

Re: AW: PLEASE HELP ME: JNDI ERROR 1

2002-04-15 Thread Laura
I use classes12.jar (classes12.zip): well, the database my examples was ok with, was 8i. My new database I don't know what version is: if it was 9i which driver I should use? Laura Alle 19:00, lunedì 15 aprile 2002, hai scritto: If the Oracle database that you are trying to connect to is

Re: SSL redirects with mod_jk

2002-04-15 Thread Aditya
On Mon, Apr 15, 2002 at 09:26:40AM -0400, Rich wrote: I'm curious about a few things. Why did you choose mod_jk over mod_webapp? - I needed to send everything Apache receives to Tomcat - We auto-add contexts to appbase and I don't need to update the config and restart apache each time that

Re: AW: PLEASE HELP ME: JNDI ERROR 1

2002-04-15 Thread peter lin
that's probably the cause. go to oracle's site and download the latest driver Laura wrote: I use classes12.jar (classes12.zip): well, the database my examples was ok with, was 8i. My new database I don't know what version is: if it was 9i which driver I should use? Laura Alle

RE: AW: PLEASE HELP ME: JNDI ERROR 1

2002-04-15 Thread Angel Municio
I think the big problem is that Oracle didn't put much thought on the naming convention for its jdbc drivers, so basically all versions are classes12.zip. There are a very big library of releases and there is not (or at least I haven't found a central repository). You have to unzip/unjar the

RE: SSL redirects with mod_jk

2002-04-15 Thread Rich
Adi, You would prefer to have the SSL handshake to occur with Apache, right? So I'm wondering, with Tomcat configured as a standalone SSL server are you sure that apache is doing the handshake, and not Tomcat. At this point it works but I had to make the non-intuitive leap of adding the SSL

SRV 7.3 Session Scope violation

2002-04-15 Thread David S. Soleno
I just downloaded and installed Tomcat 4.0.3 on Windows 2000 with JDK 1.3.1. After trying it out for a while I found that I was able to access HttpSessions across ServletContexts. I navigate to webapp A, start an HttpSession and place some attributes in it, then use

Re: SSL redirects with mod_jk

2002-04-15 Thread Aditya
On Mon, Apr 15, 2002 at 01:39:33PM -0400, Rich wrote: You would prefer to have the SSL handshake to occur with Apache, right? So I'm wondering, with Tomcat configured as a standalone SSL server are you sure that apache is doing the handshake, and not Tomcat. notice the address that I give the

RE: IIS 5.0 + TC 4.0.3

2002-04-15 Thread Tomcat Huang
It's working now. Thanks again. Chiming Tomcat Huang [EMAIL PROTECTED] wrote: hi Jack, Thank you very much for the information. I will give it a try. Thanks again. Chiming Jack Li wrote: Did you follow the instruction at http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/? I setup

Re: AW: PLEASE HELP ME: JNDI ERROR 1

2002-04-15 Thread hemant
Thats a very good point. Also, look for any other old set of classes which Tomcat is picking up. Which may mean JNDI related classes too. I dont know if this would work but, change the time stamp's of all tomcat related .xml files by making a small change like adding a space, pressing enter etc

Mysql pooling datasource in tomcat 4

2002-04-15 Thread Daryn Nakhuda
Has any one had success creating a pooling datasource for mysql in tomcat 4? I was able to successfully create a functional datasource jdni resource based on the instructions in the jndi resources HOW-TO http://jakarta.apache.org/tomcat/tomcat-4.0-doc/jndi-resources-howto.html But there

Webappdeploy line help

2002-04-15 Thread Brian Bernardo
Help. Is there a way to use tomcat to serve up from multiple urls within one instance? After starting apache I get an instance for every WebAppDeploy line and I am not sure if this is bad or how much it effects performance/scalability. I have the following lines in my httpd.conf: IfModule

WebApps and Aliases

2002-04-15 Thread Hirani, Suhail
Hi, I have a folder under webapps, named survey. It has a servlet as a jar file under webapps/survey/WEB-INF/lib/. I want to call this servlet with an alias let's say display. I registered this servlet in /survey/webapps/WEB-INF/web.xml as: -- servlet

Re: Webappdeploy line help

2002-04-15 Thread Joseph Molnar
I suggest managing your webapps from Tomcat instead of from Apache (ie put the virtual 'links' there). You do this buy managing 'contexts' in the server.xml. In terms of instances, are you using a Unix (and if so which one), or Windows? On Linux, many of the instances you may see are actually

RE: Webappdeploy line help

2002-04-15 Thread Brian Bernardo
Backround/Env info Tomcat and Apache are running on physically different machines both on a Solaris 8 sparc platform. There is only one JVM instance running (process) but after reading the catalina.out file I can see that the installs/loads the jars all over again. Once for each webappdeploy

Virtual Hosts and Tomcat.

2002-04-15 Thread Antonio MATTA
Hi, I am a newbie with Tomcat. I manage a server that runs both apache and tomcat. I have been looking a good Howto with wich I can learn how to set virtual hosts using Tomcat: which modules do I have to set? Which configure files do I have to edit? Any help will be apreciated, Antonio. --

How to use embedded tomcat

2002-04-15 Thread Animesh Chaturvedi - US
Hi I wish to use embedded Tomcat. Can somebody let me know how can I do that?? Thanks Animesh

Re: Virtual Hosts and Tomcat.

2002-04-15 Thread Gregory Moxley Kempster
This looks pretty good for mod_webapp: http://dcb.sun.com/practices/howtos/tomcat_apache.jsp Gregory Moxley Kempster FastTrack Designs http://www.fasttrackdesigns.com 503-452-3721 - Original Message - From: Antonio MATTA [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, April 15,

Initialization in Tomcat 4.0.3

2002-04-15 Thread Subir Sengupta
Hi, In Tomcat 3 we initialized stuff with the RequestInterceptor element in web.xml like this: RequestInterceptor debug=0 className=org.apache.tomcat.init.Init / Init has a engineInit method that looks like this: public final class Init extends BaseInterceptor . . . public void

Re: Search Engine and Tomcat

2002-04-15 Thread Jeffrey Bonevich
Try Lucene (another fine product brought to you by the people of Jakarta!) - Java API for indexing and searching. Also, I have had success integrating ht://Dig (www.htdig.org) into web apps, albeit Perl-based web apps. In Java, I would just do a system call I suppose - a bit overburdensome,

RE: please help me

2002-04-15 Thread Jon Gibbs-Smith
First thing to do is look at the log. tomcat 4 is much better at logging than version 3. If you did not change the logging entry in the server.xml the examples log file will show details about what is happening when your webapp (context as Tomcat4 calls it) is loaded. If you simply see an

Re: What does IMHO mean?

2002-04-15 Thread @Basebeans.com
Subject: Re: What does IMHO mean? From: Hyunjin Kim [EMAIL PROTECTED] === hehe.. you guys are funny :) sharadsk [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... This is Tomcat Discussion List. Please stop this. And do not put such questions on this list. -S -Original

  1   2   >