Re: Persistence manager ClassNotFoundException during deserialization

2005-03-09 Thread Antony Paul
It is working in 4.1.31. Thanks for the help rgds Antony Paul On Tue, 08 Mar 2005 22:52:50 +, Mark Thomas [EMAIL PROTECTED] wrote: What happens on 4.1.31? Mark Antony Paul wrote: I created a sample application and is available at http://geocities.com/antonypaul24/web.html . Any

Re: Redirect from http:// to https://

2005-03-09 Thread Peter Johnson
Or write a valve/filter to do the same thing PJ Antony Paul wrote: You use Tomcat standalone or along with Apache. In Tomcat stand alone you can 1, In index.jsp or whatever be the welcome page check response.isSecure() then redirect. 2. There is an option in web.xml in security element

Re: Trying to retrieve the ROOT context in Servlet.

2005-03-09 Thread Lionel Farbos
I'd want to say the Default context (see bug 33831 for more explanations) This is the tomcat behaviour if your put crossContext=true (but you already have solved your needs, no ?). On Tue, 8 Mar 2005 09:30:01 -0600 Jeffrey Lanham [EMAIL PROTECTED] wrote: So, hitting an invalid context gets you

stop context properly or in a forced way

2005-03-09 Thread Lionel Farbos
Hi all, When I want to upgrade my webapp, I want to stop my context without interrupting its running threads. But, for exploitation needs, I can want to force the stop of my context. For this 2 needs, Tomcat provide only one solution : within the manager, a force stop context. And they don't

Re: How to access web site from other computers

2005-03-09 Thread James T. Studebaker
When you type in http://dummy.dnsalias.net/web/JSP/login.html in the IE do you get a tomcat error or do you get a The page cannot be displayed or do you get some other error? Thank you James T. Studebaker - Original Message - From: U K Laxmi [EMAIL PROTECTED] To: Tomcat Users List

sun.jdbc.odbc.JdbcOdbcDriver not found ?

2005-03-09 Thread Philippe Couas
Hi, I use Tomcat 4.1.31 with IBM JDK1.4.1 and Class.forName(sun.jdbc.odbc.JdbcOdbcDriver); is not found why ? It seems me ODBC is inside JDK ? Regards Philippe [EMAIL PROTECTED] contentType=text/html% [EMAIL PROTECTED] import=java.sql.*% %/* * dbReadData.jsp * * @title JDBC JSP Demo

New to Tomcat

2005-03-09 Thread Amrish Bharatiya
Hi All, I am new to tomcat and want a nice tutorial for JSP Development. Can anybody suggest me some links for the same. -- Thanks in Advance, Amrish - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: New to Tomcat

2005-03-09 Thread Geertjan Wielenga
Amrish Bharatiya wrote: Hi All, I am new to tomcat and want a nice tutorial for JSP Development. Can anybody suggest me some links for the same. Here's something: http://www.netbeans.org/kb/using-netbeans/40/dbconn.html It tells you how to use Tomcat connection pooling (with the help of

Query on changing the path for catalina.out

2005-03-09 Thread mandar.mohan
Hi, I need to change the default location of Catalina.out log file. So I modified the server.xml file in the conf dir in the following way: !-- Global logger unless overridden at lower levels -- Logger className=3Dorg.apache.catalina.logger.FileLogger

RE: Query on changing the path for catalina.out

2005-03-09 Thread Dale, Matt
The location of the catalina.out log file is not controlled from server.xml. This is other log files. Look in catalina.sh for $CATALINA_BASE/logs/catalina.out 21 and change that, to change the location of catalina.out. Ta Matt -Original Message- From: [EMAIL PROTECTED]

com.sybase.jdbc2.jdbc.SybDriver error

2005-03-09 Thread PGibbonsX
Hi there, i'm sure this issue has been raised before, i get the following error when running one of my jsp pages: java.lang.ClassNotFoundException: com.sybase.jdbc2.jdbc.SybDriver Now i now this class resides in C:\Tomcat\jConnect-5_5\classes\jconn2.jar which is in my classpath. When i

Re: com.sybase.jdbc2.jdbc.SybDriver error

2005-03-09 Thread David Smith
Move jconn2.jar to C:\Tomcat\common\lib and restart. Tomcat ignores the classpath in favor of it's classloaders and eliminates a huge load of headaches with it. --David [EMAIL PROTECTED] wrote: Hi there, i'm sure this issue has been raised before, i get the following error when running one

RE: load-balancing

2005-03-09 Thread Sng Wee Jim
I am using IIS 5.0 on Win2k Server edition. Will jk 1.2.9 solve the issue for IIS too? - Jim From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: Wed 3/9/2005 2:30 AM To: Tomcat Users List Subject: Re: load-balancing Sng Wee Jim wrote: I am load-balancing

Re: load-balancing

2005-03-09 Thread Mladen Turk
Sng Wee Jim wrote: I am using IIS 5.0 on Win2k Server edition. Will jk 1.2.9 solve the issue for IIS too? IIS and Apache on Windows are single child systems so the runtime data was already shared among all clients. I speak here about 1.2.8. Previous versions have lb code broken. You'll have to

HTTP connector running out of processors under heavy load - our solution

2005-03-09 Thread Karau, Joe
In no way am I trying to say that this is the final solution to the referenced problem, but just thought I'd share what we encountered in relation to the referenced bug. Bug ID: 5735 http://issues.apache.org/bugzilla/show_bug.cgi?id=5735 Short version: Using the client VM instead of the server VM

Re: How to access web site from other computers

2005-03-09 Thread jtsbaker
I do not get a ping for dummy.dynalias.net. Is this the actual dynamic dns name you defined? - Original Message - From: James T. Studebaker [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Wednesday, March 09, 2005 5:53 AM Subject: Re: How to access web site

[Fwd: Re: How to access web site from other computers]

2005-03-09 Thread jtsbaker
What is the IP address of the machine you have the tomcat server running on. What is the port you are running tomcat on? You should be able to reach the default welcome page on the tomcat server by typing the url http://ipaddress:portnumber/. If you can reach the tomcat server from an external

Re: How to access web site from other computers

2005-03-09 Thread U K Laxmi
The actual dynamic dns name is: raghu.dnsalias.net. When accessed from other machines, it says page not accessible it seems. Since i'm not the one who is accessing from other machines, i couldn't get the proper information about actual error message. Sorry about that. By the error message, looks

development / production server

2005-03-09 Thread Ben Kim
What is the common practice to handle file sync between development server and production server? Is there a trivial way in netbeans to upload the files as frequently as I would, just by saving it locally, without using the version control systems or uploading through the manager/html page? Is

Re: JNDI LDAP Resource

2005-03-09 Thread sudip shrestha
At the moment, Tomcat does not support JNDIRealm for LDAP via SSL with . However there an alternative available and I have documented it at: http://www.geocities.com/dipsth/myDocs/LDAPRealmTomcat.txt It makes use of mozilla Java-LDAP SDKI have successfully tested it with Tomcat 5.0.x, but

Re: development / production server

2005-03-09 Thread Woodchuck
correct me if i'm wrong, but if you do that, you would be turning your production server into your development server! yikes. woodchuck --- Ben Kim [EMAIL PROTECTED] wrote: What is the common practice to handle file sync between development server and production server? Is there a trivial

RE: JDBCRealm changes from Tomcat 5.0.x to 5.5.x

2005-03-09 Thread Phillip Qin
Could any one who has tested it post his result? I am really frustrated by the sometime buggy 5.5 releases and I had to revert to 5.0.28. -Original Message- From: Remy Maucherat [mailto:[EMAIL PROTECTED] Sent: March 8, 2005 6:23 PM To: Tomcat Users List Subject: Re: JDBCRealm changes

RE: Trying to retrieve the ROOT context in Servlet.

2005-03-09 Thread Jeffrey Lanham
So, it's not called the root context but the default context? And, yes, I did solve it with the crossContext attribute in the context.xml. Thanks for the suggestion. -Original Message- From: Lionel Farbos [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 09, 2005 3:43 AM To: [EMAIL

RE: development / production server

2005-03-09 Thread Allistair Crossley
The usual way is to use a build tool (Ant say) to package up your web application code for production deployment (WAR, EAR etc..). The application server / servlet container usually takes care of deploying that. In practice, you will want to hot patch files onto a production server without

deploying a tomcat application

2005-03-09 Thread t.n.a.
The question's probably fairly simple, so I'd be thankfull for a link or two if it's been answered before, but here's what I'd like to know... I have a tapestry application I develop on a local tomcat instance and it's my first app of that type. In a couple of days I'll have to upload it to a

Re: development / production server

2005-03-09 Thread Tim Funk
Use CVS for version control. (or any version control) Write a script which - Checks out from CVS the version tagged for production - Builds and precompiles the webapp - Copies the webapp to production - Restarts the webapp (or tomcat) *Always build your production webapp from a CVS tagged

RE: Being lost in the mailing list

2005-03-09 Thread Richard Mixon (qwest)
Klaus, Was there a reason you did not use the preconfigured Java 1.4, Tomcat 5.0.19 and JK connectors that come with SuSE Pro 9.1? These are listed under the SuSE YAST Install Software panel. Just select RPM groups Productivity-Networking-Web-FrontEnds. The SuSE prepared README

Re: JDBCRealm changes from Tomcat 5.0.x to 5.5.x

2005-03-09 Thread Remy Maucherat
On Wed, 9 Mar 2005 10:40:37 -0500, Phillip Qin [EMAIL PROTECTED] wrote: Could any one who has tested it post his result? I am really frustrated by the sometime buggy 5.5 releases and I had to revert to 5.0.28. You can also use the realms form 5.5.4, as they don't have problems. The regressions

5.5.7 service.bat popup: Overlapped I/O Operation is in progress; NonAlpha 46

2005-03-09 Thread J Malcolm
On Windows Server 2003, when I run service.bat I get a popup with the message: Overlapped I/O Operation is in progress; NonAlpha 46 I can run service.bat on the 5.0 installation and add/remove the service with no problem. But it will not install 5.5.7 service. Did Tomcat start using a new port

Usint getRemoteUser() method

2005-03-09 Thread Amrish Bharatiya
Hi All, I am using Tomacat server. I want to authenticate a client making the request to this server. I have deployed my server on an Intranet and want to use Window's Domain Authentication. When i use request.getRemoteUser() method to get the user name it returns null. when i looked into its

Re: Usint getRemoteUser() method

2005-03-09 Thread Jason Bainbridge
On Wed, 9 Mar 2005 22:04:17 +0530, Amrish Bharatiya [EMAIL PROTECTED] wrote: Hi All, I am using Tomacat server. I want to authenticate a client making the request to this server. I have deployed my server on an Intranet and want to use Window's Domain Authentication. When i use

Re: stop context properly or in a forced way

2005-03-09 Thread Lionel Farbos
I receive no response, so I think there is, for now, no solution without a patch of Tomcat (for example : new Stop Context in Tomcat Manager + info added in the ServletContext...). But I am alone for this needs ? Or a lot of people need this but they don't know how to do because it is not

RE: Usint getRemoteUser() method

2005-03-09 Thread Allistair Crossley
Or easier is to use IIS and then turn tomcatAuthentication off. Read my blog at www.adcworks.com/blogs to see how to do this. IIS can pass your NTLM value to Tomcat happily without jCIFs. -Original Message- From: Jason Bainbridge [mailto:[EMAIL PROTECTED] Sent: 09 March 2005 16:39

multiple services for each Tomcat instance on NT

2005-03-09 Thread Bedrijven.nl
Hello, I installed Tomcat 557 and create several instances for development applications by using the CATALINA_BASE parameter. So I set up about 10 webapplication on my localhost that I can start with startup.bat. Now what I want to do is to create for each webapplication an own service on NT

Re: Usint getRemoteUser() method

2005-03-09 Thread Jason Bainbridge
On Wed, 9 Mar 2005 16:46:08 -, Allistair Crossley [EMAIL PROTECTED] wrote: Or easier is to use IIS and then turn tomcatAuthentication off. Read my blog at www.adcworks.com/blogs to see how to do this. IIS can pass your NTLM value to Tomcat happily without jCIFs. I disagree, setting up

RE: Usint getRemoteUser() method

2005-03-09 Thread Allistair Crossley
I disagree if you are not using Apache as a webserver, IIS - Tomcat via JK is very easy these days. Not only that, you can take advantage of IIS's point and click configuration and also get it serving out static resources nice and easily from Tomcat, all easily configurable. Plus it leverages

Re: 5.5.7 service.bat popup: Overlapped I/O Operation is in progress; NonAlpha 46

2005-03-09 Thread Jason Bainbridge
On Wed, 9 Mar 2005 10:30:23 -0600, J Malcolm [EMAIL PROTECTED] wrote: On Windows Server 2003, when I run service.bat I get a popup with the message: Overlapped I/O Operation is in progress; NonAlpha 46 I can run service.bat on the 5.0 installation and add/remove the service with no problem.

Re: multiple services for each Tomcat instance on NT

2005-03-09 Thread Mladen Turk
Bedrijven.nl wrote: Hello, I installed Tomcat 557 and create several instances for development applications by using the CATALINA_BASE parameter. So I set up about 10 webapplication on my localhost that I can start with startup.bat. Now what I want to do is to create for each webapplication an own

Re: Redirect from http:// to https://

2005-03-09 Thread Sanjeev Srivastava
Thanks a lot PJ !, It worked.. Regards, Sanjeev --- Peter Johnson [EMAIL PROTECTED] wrote: Or write a valve/filter to do the same thing PJ Antony Paul wrote: You use Tomcat standalone or along with Apache. In Tomcat stand alone you can 1, In index.jsp or whatever be the welcome page

Re: Redirect from http:// to https://

2005-03-09 Thread Sanjeev Srivastava
Thanks a lot Paul !!, It worked Regards, Sanjeev --- Antony Paul [EMAIL PROTECTED] wrote: You use Tomcat standalone or along with Apache. In Tomcat stand alone you can 1, In index.jsp or whatever be the welcome page check response.isSecure() then redirect. 2. There is an option in

RE: 5.5.7 service.bat popup: Overlapped I/O Operation is in progress; NonAlpha 46

2005-03-09 Thread J Malcolm
Resolved... OK, I dug into the bat file and learned a couple of things... I was doing service install Tomcat5.5.7 The service name must not be able to have periods in it. I just changed the default values in the bat file to Tomcat55 and the display name to Apache Tomcat 5.5. No clue how that

RE: 5.5.7 service.bat popup: Overlapped I/O Operation is in progress; NonAlpha 46

2005-03-09 Thread Caldarale, Charles R
From: J Malcolm [mailto:[EMAIL PROTECTED] Subject: RE: 5.5.7 service.bat popup: Overlapped I/O Operation is in progress; NonAlpha 46 No clue how that cryptic error message was intended to point me to the fact there are periods in the service name Looking at the code chart hanging on

RE: 5.5.7 service.bat popup: Overlapped I/O Operation is in progress; NonAlpha 46

2005-03-09 Thread J Malcolm
Intuitively obvious to the casual observer :-) J. -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 09, 2005 2:38 PM To: Tomcat Users List; Jason Bainbridge Subject: RE: 5.5.7 service.bat popup: Overlapped I/O Operation is in progress;

Re: mod_jk: download speed problem

2005-03-09 Thread Mikhail Kruk
No one responded to my previous question, so let me try again. Is anyone here running Tomcat 5.0.x + mod_jk + Apache and downloading large files through it with normal a throughput? On Tue, 8 Mar 2005, Mikhail Kruk wrote: apache 2.0.53 tomcat 5.0.29 mod_jk 1.2.8, worker configured to do

RE: mod_jk: download speed problem

2005-03-09 Thread Phillip Qin
Why don't you JkUnMount /download_dir your_worker? -Original Message- From: Mikhail Kruk [mailto:[EMAIL PROTECTED] Sent: March 9, 2005 4:46 PM To: Tomcat Users List Subject: Re: mod_jk: download speed problem No one responded to my previous question, so let me try again. Is anyone here

Re: mod_jk: download speed problem

2005-03-09 Thread Mladen Turk
Mikhail Kruk wrote: No one responded to my previous question, so let me try again. Is anyone here running Tomcat 5.0.x + mod_jk + Apache and downloading large files through it with normal a throughput? Server Software:Apache/2.0.53 Server Hostname:localhost Server Port:

Tomcat ask me for User/password?

2005-03-09 Thread Daxin Zuo
Usually I use Tomcat5.0.19 via Apache 2. Today , I try to use tomcat only: http://localhost:8080 to do a test, it asks me user name and password. I did not know the user name and password. Both Apache and Tomcat are on my computer and inslled by myself. I like to know which configuration causes

RE: Tomcat ask me for User/password?

2005-03-09 Thread Kevin.Griesmar
In your $CATALINA_HOME/conf there is a file called tomcat-users.xml. Edit the file and create an admin role and user. For example: ?xml version='1.0' encoding='utf-8'? tomcat-users role rolename=tomcat/ role rolename=role1/ role rolename=standard/ role rolename=manager/ role

RE: mod_jk: download speed problem

2005-03-09 Thread Mikhail Kruk
The large download is generated by a servlet, it's not a static file. This is secure application and it only gives out downloads to authenticated sessions. Why don't you JkUnMount /download_dir your_worker? -Original Message- From: Mikhail Kruk [mailto:[EMAIL PROTECTED] Sent:

file watcher

2005-03-09 Thread deepak suldhal
Hi, I need to keep a file watcher program running. Is it possible for me to start this automatically when tomcat is hosted. Thanks D __ Celebrate Yahoo!'s 10th Birthday! Yahoo! Netrospective: 100 Moments of the Web

Re: mod_jk: download speed problem

2005-03-09 Thread Mikhail Kruk
Document Path: /servlets-examples/test.jpg And this goes through mod_jk, right? Document Length:1513456 bytes This is on WIN32, also localhost. I've tried on RH9, SLES8.2 and FreeBSD 4.11 and found no slowdown. Can you post your config files? What did you use to get this

Re: mod_jk: download speed problem

2005-03-09 Thread Mikhail Kruk
workers.tomcat_home=/usr/local/tomcat workers.java_home=/usr/local/j2sdk ps=/ worker.list=worker1 worker.worker1.type=ajp13 worker.worker1.host=localhost worker.worker1.port=8009 #worker.worker1.lbfactor=50 #worker.worker1.cachesize=10 #worker.worker1.cache_timeout=600

RE: Tomcat ask me for User/password?

2005-03-09 Thread Daxin Zuo
Thnaks for the reply, I tried all the user/password. I still unable to login. In the Prompt window, it asks for (daxin is my computer's name) Enter username and password for XDB at http://daxin:8080 Thanks. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent:

RE: JDBCRealm changes from Tomcat 5.0.x to 5.5.x

2005-03-09 Thread alexander dosher
Phillip Qin [EMAIL PROTECTED]: Could any one who has tested it post his result? I am really frustrated by the sometime buggy 5.5 releases and I had to revert to 5.0.28. here's a summation of my experiences interpretations of answers from the list, so far: JDBCRealm (5.5.4): worked i think, but

Re: JDBCRealm changes from Tomcat 5.0.x to 5.5.x

2005-03-09 Thread Hassan Schroeder
alexander dosher wrote: DataSourceRealm (5.5.7): doesn't work or is unconfigurable by me - i've got a Server GlobalNamingResources Resource type=javax.sql.DataSource name=UserDatabase and an Engine Realm className=org.apache.catalina.realm.DataSourceRealm name=UserDatabase snip/ How

Help - Byte [] to String

2005-03-09 Thread Sanjeev Srivastava
Hi All Can anybody tell me how to convert this Byte [] to String.. byte[] buf = x509certificate.getPublicKey().getEncoded(); Please help Thanks, Sanjeev Send instant messages to your online friends http://uk.messenger.yahoo.com

RE: Tomcat ask me for User/password?

2005-03-09 Thread Ben Kim
In the Prompt window, it asks for (daxin is my computer's name) Enter username and password for XDB at http://daxin:8080 I'm not sure if it's the case, but I had the same prompt once. It was because there was an Oracle webserver running on port 8080. If oracle is a valid suspect, you may

Re:OT Help - Byte [] to String

2005-03-09 Thread Parsons Technical Services
String cert = String(buf); http://java.sun.com/j2se/1.4.2/docs/api/index.html And look up the String class Doug - Original Message - From: Sanjeev Srivastava [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Wednesday, March 09, 2005 9:35 PM Subject: Help - Byte

Re: Help - Byte [] to String

2005-03-09 Thread xue daoming
I think you can do as just below: byte[] buf = x509certificate.getPublicKey().getEncoded(); String s = new String(buf); On Thu, 10 Mar 2005 02:35:03 + (GMT), Sanjeev Srivastava [EMAIL PROTECTED] wrote: Hi All Can anybody tell me how to convert this Byte [] to String.. byte[] buf =

RE: development / production server

2005-03-09 Thread Ben Kim
Thank you all for advices. In my case I run Netbeans on my PC and deploy the result to the server. It's an addition to existing applications so overwriting production files is not a concern. I just wondered if there's a trivial way to sync files, like I would in Dreamweaver. I gather perhaps

Re: file watcher

2005-03-09 Thread Antony Paul
What you mean ?. You need a file watcher program or you have one. To start it when tomcat is started, 1. If it is servlet in web.xml use load-on-startup in servlet declaration and run it from init() method. 2. Write a ContextListener and start it from there. rgds Antony Paul On Wed, 9 Mar

Re: JDBCRealm changes from Tomcat 5.0.x to 5.5.x

2005-03-09 Thread alexander dosher
Hassan Schroeder makes my day: How about something like: (the correct answer) YES, thank you. i had a resourceName instead of a dataSourceName in my DataSourceRealm, left over from trying to use a UserDatabaseRealm, which i didn't really understand and isn't even in the docs anymore anyway.

RE: Parallel install of 5.5 with existing 5.0? (Win Server 2003)

2005-03-09 Thread Ben Kim
a popup error: Overlapped I/O Operation is in progress; NonAlpha 46 I've ... where it saying something about a 3rd party backup program that needs to be removed... (???). It seems the error happens with other software too, due to a real-time backup software. Regards, Ben Kim Database

RE: Query on changing the path for catalina.out

2005-03-09 Thread mandar.mohan
Thanks Dave, Is there any other way of doing this as in my environment, I cannot modify those files as I do not have permission for changing them. Thanks and Regards, Mandar M Kelvekar -Original Message- From: Dale, Matt [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 09, 2005 5:41

Query on mod_jk.log

2005-03-09 Thread mandar.mohan
Hi All, I need to change the location of mod_jk.log file. Presently it gets logged in /apache/logs. I need to put it in /var/log/apache. How to accomplish this? Thanks and Regards, Mandar M Kelvekar Confidentiality Notice The information contained in this electronic message and any

RE: multiple services for each Tomcat instance on NT

2005-03-09 Thread Bedrijven.nl
Hi, I tried this. But it didn't work. So you say I CAN do rename the tomcat.exe? Or MUST I do this? I changed the path to CATALINA_BASE to the directory where the instance is installed. Let CATALINA_HOME point to the original Tomcat installation and run the service.bat install applicationname.