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
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
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
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
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
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
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,
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
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
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]
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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
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
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
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
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
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;
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
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
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:
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
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
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:
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
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
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
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:
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
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
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
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
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
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 =
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
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
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.
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
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
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
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.
66 matches
Mail list logo