files with .jsp suffix

2004-02-02 Thread TeamGrumman
How can I get the software to open.jsp   files on my macintosh?

Gary


Re: Yet another OT question.

2004-02-02 Thread Antonio Fiol Bonnín
When we insert duplicates, we do get SQLException as a response. We are 
using Oracle 9.2, however.

No idea why they behave differently. What does the DB do if you insert 
duplicates from "sqlplus" or a similar tool?

Antonio Fiol

George Sexton wrote:

The error is signaled by getting 0 back as the number of affected
records.
-Original Message-
From: David Short [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 02, 2004 10:16 PM
To: 'Tomcat Users List'
Subject: RE: Yet another OT question.

My statement is performing an insert, which would not return a result
set.
An executeQuery() would return a result set.  I too, read the
description
about returning an int.  I intentionally tried inserting a duplicate
value
in the index, trying to force an error, and no error was generated.  The
return value was 0.  So, it is returning zero (nothing was inserted) but
that's it.  No SQLException.  There's got to be a way to catch an error
like
this.
-Original Message-
From: George Sexton [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 8:10 PM
To: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: Yet another OT question.
I broke out my JDBC handbook (JDBC API Tutorial and Reference, Second
Edition) and it says:
"Returns an int indicating the number of rows affeted by an
INSERT,UPDATE, or DELETE statement; 0 if no rows were affected or the
statement executed was a DDL statement."
"Throws SQLException if the sepcified argument is a statement that
generates a result set."
From reading this, it appears the driver is compliant and working per
the specification.

-Original Message-
From: David Short [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 7:59 PM
To: 'Tomcat Users List'
Subject: RE: Yet another OT question.
I pulled the latest (1.2 for Oracle 8.1.7) off of Oracle's web site
today.
-Original Message-
From: George Sexton [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 6:33 PM
To: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: Yet another OT question.
Probably a flake in the Oracle driver. Check you are using the latest
one.
-Original Message-
From: David Short [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 4:18 PM
To: 'Tomcat Users List'
Subject: Yet another OT question.
It seems like a slow day on the list so, thought I'd throw my issue out
there.
I'm working with Tomcat 4.1.0, Oracle 8.1.7 and JDBC 1.2.  It seems that
the
JDBC executeUpdate() method doesn't raise an exception when I pass an
incorrect SQL statement.  It returns 0 rows, but no exception.  Anyone
seen
this before?
 




smime.p7s
Description: S/MIME Cryptographic Signature


{Virus?} test

2004-02-02 Thread tomcat-user
Warning: This message has had one or more attachments removed
Warning: (document.scr).
Warning: Please read the "VirusWarning.txt" attachment(s) for more information.

I^&·8‡µ
ËŒ5nÛ®Öµµ
ßÉtòrŒWù¸»ìÇø¼"®wö?eûòûû½À̯µ`¨õ~ÌQR¡ËÉ^¡duò&¤Ÿ­{LqL›*ö‡Éñf°®âÙºX6 
‚ÃK|Ê8ìÚÆÛœ3Ù"ÐIpׂ´zñíÏäÄšî²gùe?Dqi”¯,?cië7´!z´!^~ò
]ÖIîQX®"?H2ÑR?Æ™ÌÊMA«…ÌîDŽ$}Û¡1ìNXĺüÉánËN®–
ƒãMp_«ƒJ\]öàŠÆ5m’˜?Wú¶Ö–Ÿ–9YÆôpÌhç:w¦È¡Bç®Ô$ÞêËS
S
wãrª¸Z?¨ŸÁ½yC3ízÓ¾]«ûL, ÖˆU|ÄoŠ8üC?î&9¬þdëˆÌíÇÊìOXñ{RWß—½|7¡ŸÇŽ‹\œ$Žùü,ÐÝ´°¦úϺ³ú³»–6‰o1¸ä[ÞDŸNÔÒ‚ry"øy?
7‘sÖ¤7zÇ¡` ]7­iotUóÄQù³‹MÀ“ŒØ‹­vwæOMÒ£±fcôßù7½cÉÏ1Ø8Ò¬±AkÐOZDwò¢ze^S C½&´wÎ賡\ñþI)Ž`;‹á"n
ÏÆQv»ÚLÈ¡Íc´LI©Î›ymêÞá–ššfŠ6]œœ©Ne50ò<*Šuf˜ m}?âB
£¢?ªL44ðo¦Q®ö­‘×ÏîÄCÞ¹lø§”³MzÕþ¬¸Ú½v?Ñ?äã÷ ”0«ÈRm!ømÔž¯RoÍ[“£—ª»¾ºÒ_g:x´úÖYÔlXãþÈ—WmV
º²f[àå{¹ª©aS¾žï¿‰ UR)>g5ºàíÊt½~û¦ˆòH·Šyó2 ?YãXô™ÆäXÖñB*îv–¶êÚ³¼ÆŸ
œõŠñA眜6³K†¼­r*3Ö§0YHRÛ?k'âUt\l—‘¤íì§ÕÎ,eÍ°”¾‰8Gh
­?É^ú$2?ÕDhu_Y“>µ¥³”–ˆ7;‰3æÏŒ¿Õ¥,s ˜ìmS9aùYpßpçgÝ,õ拪°

This is a message from the MailScanner E-Mail Virus Protection Service
--
The original e-mail attachment "document.scr"
is on the list of unacceptable attachments for this site and has been
replaced by this warning message.

Due to limitations placed on us by the Regulation of Investigatory Powers
Act 2000, we were unable to keep a copy of the original attachment.

At Tue Feb  3 01:23:56 2004 the virus scanner said:
   Windows Screensavers are often used to hide viruses (document.scr)

-- 
Postmaster

Mailscanner thanks transtec Computers for their support

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

jsvc and -config?

2004-02-02 Thread Mark Woon
With the old startup script (startup.sh), there's a -config parameter to 
pass in a specific server.xml to use.  Is there an equivalent parameter 
with jsvc?  If not, is there any way to achieve the same objective?

Thanks,
-Mark
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Yet another OT question.

2004-02-02 Thread David Short
How about replying to one email address or the other. ok?  I'm getting
duplicate messages.  Don't get me wrong, I appreciate your help. I just
don't need the same message twice.

-Original Message-
From: George Sexton [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 9:20 PM
To: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: Yet another OT question.


The error is signaled by getting 0 back as the number of affected
records.

-Original Message-
From: David Short [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 10:16 PM
To: 'Tomcat Users List'
Subject: RE: Yet another OT question.


My statement is performing an insert, which would not return a result
set.
An executeQuery() would return a result set.  I too, read the
description
about returning an int.  I intentionally tried inserting a duplicate
value
in the index, trying to force an error, and no error was generated.  The
return value was 0.  So, it is returning zero (nothing was inserted) but
that's it.  No SQLException.  There's got to be a way to catch an error
like
this.

-Original Message-
From: George Sexton [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 8:10 PM
To: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: Yet another OT question.


I broke out my JDBC handbook (JDBC API Tutorial and Reference, Second
Edition) and it says:

"Returns an int indicating the number of rows affeted by an
INSERT,UPDATE, or DELETE statement; 0 if no rows were affected or the
statement executed was a DDL statement."

"Throws SQLException if the sepcified argument is a statement that
generates a result set."

>From reading this, it appears the driver is compliant and working per
the specification.

-Original Message-
From: David Short [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 7:59 PM
To: 'Tomcat Users List'
Subject: RE: Yet another OT question.


I pulled the latest (1.2 for Oracle 8.1.7) off of Oracle's web site
today.

-Original Message-
From: George Sexton [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 6:33 PM
To: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: Yet another OT question.


Probably a flake in the Oracle driver. Check you are using the latest
one.

-Original Message-
From: David Short [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 4:18 PM
To: 'Tomcat Users List'
Subject: Yet another OT question.


It seems like a slow day on the list so, thought I'd throw my issue out
there.

I'm working with Tomcat 4.1.0, Oracle 8.1.7 and JDBC 1.2.  It seems that
the
JDBC executeUpdate() method doesn't raise an exception when I pass an
incorrect SQL statement.  It returns 0 rows, but no exception.  Anyone
seen
this before?



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Yet another OT question.

2004-02-02 Thread George Sexton
The error is signaled by getting 0 back as the number of affected
records.

-Original Message-
From: David Short [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 02, 2004 10:16 PM
To: 'Tomcat Users List'
Subject: RE: Yet another OT question.


My statement is performing an insert, which would not return a result
set.
An executeQuery() would return a result set.  I too, read the
description
about returning an int.  I intentionally tried inserting a duplicate
value
in the index, trying to force an error, and no error was generated.  The
return value was 0.  So, it is returning zero (nothing was inserted) but
that's it.  No SQLException.  There's got to be a way to catch an error
like
this.

-Original Message-
From: George Sexton [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 8:10 PM
To: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: Yet another OT question.


I broke out my JDBC handbook (JDBC API Tutorial and Reference, Second
Edition) and it says:

"Returns an int indicating the number of rows affeted by an
INSERT,UPDATE, or DELETE statement; 0 if no rows were affected or the
statement executed was a DDL statement."

"Throws SQLException if the sepcified argument is a statement that
generates a result set."

>From reading this, it appears the driver is compliant and working per
the specification.

-Original Message-
From: David Short [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 7:59 PM
To: 'Tomcat Users List'
Subject: RE: Yet another OT question.


I pulled the latest (1.2 for Oracle 8.1.7) off of Oracle's web site
today.

-Original Message-
From: George Sexton [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 6:33 PM
To: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: Yet another OT question.


Probably a flake in the Oracle driver. Check you are using the latest
one.

-Original Message-
From: David Short [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 4:18 PM
To: 'Tomcat Users List'
Subject: Yet another OT question.


It seems like a slow day on the list so, thought I'd throw my issue out
there.

I'm working with Tomcat 4.1.0, Oracle 8.1.7 and JDBC 1.2.  It seems that
the
JDBC executeUpdate() method doesn't raise an exception when I pass an
incorrect SQL statement.  It returns 0 rows, but no exception.  Anyone
seen
this before?



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Yet another OT question.

2004-02-02 Thread David Short
My statement is performing an insert, which would not return a result set.
An executeQuery() would return a result set.  I too, read the description
about returning an int.  I intentionally tried inserting a duplicate value
in the index, trying to force an error, and no error was generated.  The
return value was 0.  So, it is returning zero (nothing was inserted) but
that's it.  No SQLException.  There's got to be a way to catch an error like
this.

-Original Message-
From: George Sexton [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 8:10 PM
To: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: Yet another OT question.


I broke out my JDBC handbook (JDBC API Tutorial and Reference, Second
Edition) and it says:

"Returns an int indicating the number of rows affeted by an
INSERT,UPDATE, or DELETE statement; 0 if no rows were affected or the
statement executed was a DDL statement."

"Throws SQLException if the sepcified argument is a statement that
generates a result set."

>From reading this, it appears the driver is compliant and working per
the specification.

-Original Message-
From: David Short [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 7:59 PM
To: 'Tomcat Users List'
Subject: RE: Yet another OT question.


I pulled the latest (1.2 for Oracle 8.1.7) off of Oracle's web site
today.

-Original Message-
From: George Sexton [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 6:33 PM
To: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: Yet another OT question.


Probably a flake in the Oracle driver. Check you are using the latest
one.

-Original Message-
From: David Short [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 4:18 PM
To: 'Tomcat Users List'
Subject: Yet another OT question.


It seems like a slow day on the list so, thought I'd throw my issue out
there.

I'm working with Tomcat 4.1.0, Oracle 8.1.7 and JDBC 1.2.  It seems that
the
JDBC executeUpdate() method doesn't raise an exception when I pass an
incorrect SQL statement.  It returns 0 rows, but no exception.  Anyone
seen
this before?



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Yet another OT question.

2004-02-02 Thread George Sexton
I broke out my JDBC handbook (JDBC API Tutorial and Reference, Second
Edition) and it says:

"Returns an int indicating the number of rows affeted by an
INSERT,UPDATE, or DELETE statement; 0 if no rows were affected or the
statement executed was a DDL statement."

"Throws SQLException if the sepcified argument is a statement that
generates a result set."

>From reading this, it appears the driver is compliant and working per
the specification.

-Original Message-
From: David Short [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 02, 2004 7:59 PM
To: 'Tomcat Users List'
Subject: RE: Yet another OT question.


I pulled the latest (1.2 for Oracle 8.1.7) off of Oracle's web site
today.

-Original Message-
From: George Sexton [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 6:33 PM
To: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: Yet another OT question.


Probably a flake in the Oracle driver. Check you are using the latest
one.

-Original Message-
From: David Short [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 02, 2004 4:18 PM
To: 'Tomcat Users List'
Subject: Yet another OT question.


It seems like a slow day on the list so, thought I'd throw my issue out
there.

I'm working with Tomcat 4.1.0, Oracle 8.1.7 and JDBC 1.2.  It seems that
the
JDBC executeUpdate() method doesn't raise an exception when I pass an
incorrect SQL statement.  It returns 0 rows, but no exception.  Anyone
seen
this before?



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: WHY? Tomcat 5 maxThreads too low, set to 10

2004-02-02 Thread David Rees
On Mon, February 2, 2004 at 6:28 pm, Josh Rehman wrote:
>
> This brings up an interesting point. I'm too lazy to test it, but what
> happens if you tomcat needs more threads than it is allowed? Does the
> user get a 404?

No.  If the acceptCount is set to more than 0, the request will sit in the
accept queue until acceptCount is exceeded at which point the user will
get a connection refused error.

-Dave

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Yet another OT question.

2004-02-02 Thread David Short
I pulled the latest (1.2 for Oracle 8.1.7) off of Oracle's web site today.

-Original Message-
From: George Sexton [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 6:33 PM
To: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: Yet another OT question.


Probably a flake in the Oracle driver. Check you are using the latest
one.

-Original Message-
From: David Short [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 02, 2004 4:18 PM
To: 'Tomcat Users List'
Subject: Yet another OT question.


It seems like a slow day on the list so, thought I'd throw my issue out
there.

I'm working with Tomcat 4.1.0, Oracle 8.1.7 and JDBC 1.2.  It seems that
the
JDBC executeUpdate() method doesn't raise an exception when I pass an
incorrect SQL statement.  It returns 0 rows, but no exception.  Anyone
seen
this before?



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Query about remote_user header & Tomcat 5.0.16

2004-02-02 Thread David Smith
I've googled to every relevant doc I can find on this and can't seem to 
locate a reason for it.  Hopefully someone on the list can help.

Here's the setup:

Apache 1.3.28 web server acts as a front-end to the public.  It has a 
special home-grown authentication module for use here at Cornell used to 
protect some web pages with Kerberos identities and sets a header, 
HTTP_REMOTE_USER, with the username of the successfully authenticated 
user.  No big deal.  I was just using mod_rewrite to proxy the request back 
to Tomcat for processing and Cocoon would pick up the header as 
remote_user.  Tomcat wouldn't even see the request unless the user was 
authenticated.

Here's the problem:

I had to switch to Struts for an app I'm working on and now I can't get the 
remote_user header any more unless I use the mod_jk connector.  Is there 
any reason the HTTP_REMOTE_USER header isn't accepted by the Coyote 
connector?  As far as I can tell, this isn't a Struts issue.  Struts code 
appears to simply give the action class an instance of HttpServletRequest 
with out alteration.  I'd prefer to use mod_rewrite and proxy the Tomcat 
service as much as possible because it allows me more flexibility in 
mapping requests back to Tomcat.

Thanks for any help you can offer.

--David

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Yet another OT question.

2004-02-02 Thread George Sexton
Probably a flake in the Oracle driver. Check you are using the latest
one.

-Original Message-
From: David Short [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 02, 2004 4:18 PM
To: 'Tomcat Users List'
Subject: Yet another OT question.


It seems like a slow day on the list so, thought I'd throw my issue out
there.

I'm working with Tomcat 4.1.0, Oracle 8.1.7 and JDBC 1.2.  It seems that
the
JDBC executeUpdate() method doesn't raise an exception when I pass an
incorrect SQL statement.  It returns 0 rows, but no exception.  Anyone
seen
this before?



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: WHY? Tomcat 5 maxThreads too low, set to 10

2004-02-02 Thread Josh Rehman


David Rees wrote:
1. Recompile Tomcat 5, lowering the hard-coded minimum.
2. Implement a filter or some other type of synchronization in your
servlet which keeps track of the number of currently executing requests
and redirects the user to a different page with a meta refresh letting
them know that their request is being queued until the other outstanding
requests finish.
This brings up an interesting point. I'm too lazy to test it, but what 
happens if you tomcat needs more threads than it is allowed? Does the 
user get a 404?

--
Thanks,
Josh Rehman
Citysearch Toolsdev, 3559
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


deploying and undeploying web applications at run time

2004-02-02 Thread Abhijat Thakur

Hi,

I am using tomcat version 4.1.27. I start up my tomact by setting all the system 
properties and class path and then making a call 

org.apache.catalina.startup.Bootstrap.main("start").

After this has been done then at run time i want to deploy and undelpoy applications. 
How can i do that? I was reading the Manager application and it seems like a web based 
application for the same purpose. How can i embed the deploying and undelploying of 
applications in my code ?

thanks

abhijat

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Jk2 and IIS Filters: Can I setup chain of filter between JSP and other engines

2004-02-02 Thread Evan Borysko
For IIS 5.1 / WinXP
and IIS 6 / Win2k3
I've been reading MS descriptions about ISAPI filter actions, and from 
thier description, filters execute inorder from highest presented to 
lowest and in the order they appear in the configuration.
Is my understanding correct?

What I'm atempting to do is setup a filter chain where Servlet/Filter 
would intercept a HTTP request and preform some authentication and add 
some custom header information. It would then allow the page to be 
processed by the ColdFusion or ASP engine if the page extension ended 
with "cfml" or "asp".

Is this possible?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: anyone running tomcat-4.1.29 with commons-daemons?

2004-02-02 Thread Jeff Barrett
Was there ever a resolution here?  I'm getting exactly the same error 
using 4.1.x and the below linked "Tomcat.sh" script (modified to my paths).

Thanks,
+jeff
Bill Barker wrote:

I've been using commons-daemon happily with Tomcat 4.1.x for quite some time
now.  I'd suggest starting from
http://cvs.apache.org/viewcvs/jakarta-commons/daemon/src/native/unix/native/Tomcat.sh?rev=1.1.1.1&content-type=text/vnd.viewcvs-markup
and modifying as nessary.
- Original Message - 
From: "Marten Lehmann" <[EMAIL PROTECTED]>
Newsgroups: gmane.comp.jakarta.tomcat.user
Sent: Thursday, December 04, 2003 9:46 AM
Subject: anyone running tomcat-4.1.29 with commons-daemons?



Hello,

I'm trying to use the commons-daemons package as of 20031204.tar.gz with
jakarta-tomcat-4.1.29, everything should be in the right place, but jsvc
exits with
java.lang.NoSuchMethodException:
org.apache.catalina.startup.BootstrapService.init([Ljava.lang.String;)
at java.lang.Class.getMethod1(Class.java:1888)
at java.lang.Class.getMethod(Class.java:1056)
at
org.apache.commons.daemon.support.DaemonLoader.load(DaemonLoader.java:165)
jsvc.exec error: Cannot load daemon
jsvc.exec error: Service exit with a return value of 3
commons-daemon.jar and bootstrap.jar are available at the defined place.
Does this release maybe only work with tomcat 5? Any help would be great!
Regards
Marten
Regards
Marten




This message is intended only for the use of the person(s) listed above as the intended recipient(s), and may contain information that is PRIVILEGED and CONFIDENTIAL.  If you are not an intended recipient, you may not read, copy, or distribute this message or any attachment. If you received this communication in error, please notify us immediately by e-mail and then delete all copies of this message and any attachments.

In addition you should be aware that ordinary (unencrypted) e-mail sent through the Internet is not secure. Do not send confidential or sensitive information, such as social security numbers, account numbers, personal identification numbers and passwords, to us via ordinary (unencrypted) e-mail.





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: anyone running tomcat-4.1.29 with commons-daemons?

2004-02-02 Thread Jeff Barrett
Was there ever a resolution here?  I'm getting exactly the same error 
using 4.1.x and the below linked "Tomcat.sh" script (modified to my paths).

Thanks,
+jeff
Bill Barker wrote:

I've been using commons-daemon happily with Tomcat 4.1.x for quite some time
now.  I'd suggest starting from
http://cvs.apache.org/viewcvs/jakarta-commons/daemon/src/native/unix/native/Tomcat.sh?rev=1.1.1.1&content-type=text/vnd.viewcvs-markup
and modifying as nessary.
- Original Message - 
From: "Marten Lehmann" <[EMAIL PROTECTED]>
Newsgroups: gmane.comp.jakarta.tomcat.user
Sent: Thursday, December 04, 2003 9:46 AM
Subject: anyone running tomcat-4.1.29 with commons-daemons?



Hello,

I'm trying to use the commons-daemons package as of 20031204.tar.gz with
jakarta-tomcat-4.1.29, everything should be in the right place, but jsvc
exits with
java.lang.NoSuchMethodException:
org.apache.catalina.startup.BootstrapService.init([Ljava.lang.String;)
at java.lang.Class.getMethod1(Class.java:1888)
at java.lang.Class.getMethod(Class.java:1056)
at
org.apache.commons.daemon.support.DaemonLoader.load(DaemonLoader.java:165)
jsvc.exec error: Cannot load daemon
jsvc.exec error: Service exit with a return value of 3
commons-daemon.jar and bootstrap.jar are available at the defined place.
Does this release maybe only work with tomcat 5? Any help would be great!
Regards
Marten
Regards
Marten




This message is intended only for the use of the person(s) listed above as the intended recipient(s), and may contain information that is PRIVILEGED and CONFIDENTIAL.  If you are not an intended recipient, you may not read, copy, or distribute this message or any attachment. If you received this communication in error, please notify us immediately by e-mail and then delete all copies of this message and any attachments.

In addition you should be aware that ordinary (unencrypted) e-mail sent through the Internet is not secure. Do not send confidential or sensitive information, such as social security numbers, account numbers, personal identification numbers and passwords, to us via ordinary (unencrypted) e-mail.





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


{Virus?} Hello

2004-02-02 Thread tomcat-user
Warning: This message has had one or more attachments removed
Warning: (readme.zip).
Warning: Please read the "VirusWarning.txt" attachment(s) for more information.

The message cannot be represented in 7-bit ASCII encoding and has been sent as a 
binary attachment.

This is a message from the MailScanner E-Mail Virus Protection Service
--
The original e-mail attachment "readme.zip"
was believed to be infected by a virus and has been replaced by this warning
message.

If you wish to receive a copy of the *infected* attachment, please
e-mail helpdesk and include the whole of this message
in your request. Alternatively, you can call them, with
the contents of this message to hand when you call.

At Mon Feb  2 15:53:40 2004 the virus scanner said:
   readme.zip contains Worm.SCO.A 

Note to Help Desk: Look on the MailScanner in 
/var/spool/MailScanner/quarantine/20040202 (message 1Annsn-0001aG-G6).
-- 
Postmaster
Mailscanner thanks transtec Computers for their support

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

RE: [OT]:Jsp page won't refresh

2004-02-02 Thread Yansheng Lin
If you really want to use jsp, you code should work.  You might have to delete
/work so that your jsp page gets recompiled.  

I don't recommend it though.  

-Original Message-
From: Januski, Ken [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 02, 2004 4:04 PM
To: Tomcat Users List
Subject: RE: [OT]:Jsp page won't refresh


I thought that response.setHeader("Refresh","30") was supposed to be a
shortcut for the meta code you suggest.

But since it just won't work for me I may try your suggestion.

Thanks,

Ken


-Original Message-
From: Yansheng Lin [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 6:00 PM
To: 'Tomcat Users List'
Subject: RE: [OT]:Jsp page won't refresh


so you want you page to refresh every 30 seconds, right?  You can use the

tag, something like
  

Hope this helps.

-Yan

-Original Message-
From: Januski, Ken [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 02, 2004 3:39 PM
To: Tomcat Users List
Subject: [OT]:Jsp page won't refresh


Sorry for this sort of OT question. I'm trying to get a jsp page to refresh
with either response.setHeader("Refresh","30") or
response.setIntHeader("Refresh", 30). But I can find no sign of any
refreshing going on.

Does anyone have any clues as to what might prevent the refresh?

Exact code is: 
<% response.setIntHeader("Expires",30); %>

Thanks for any ideas,

Ken


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: WHY? Tomcat 5 maxThreads too low, set to 10

2004-02-02 Thread David Rees
On Mon, February 2, 2004 at 2:38 pm, Parris, Edward G wrote:
> I tried a similar configuration on Tomcat 5.0.18 but noticed a ThreadPool
> warning on startup stating that my maxThreads setting was too low and that
> it would be reset to 10.
>
> WARNING: maxThreads setting (3) too low, set to 10
>
> Does anyone have any ideas how I can rectify this situation? 10 concurrent
> threads is too many (at peak each heavy-weight can consume ~1GB of
> memory). Simply increasing the memory limits is not going to do it.

10 is the hard-coded minimum set in Tomcat.  You have two choices:

1. Recompile Tomcat 5, lowering the hard-coded minimum.
2. Implement a filter or some other type of synchronization in your
servlet which keeps track of the number of currently executing requests
and redirects the user to a different page with a meta refresh letting
them know that their request is being queued until the other outstanding
requests finish.

-Dave

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Yet another OT question.

2004-02-02 Thread David Short
It seems like a slow day on the list so, thought I'd throw my issue out
there.

I'm working with Tomcat 4.1.0, Oracle 8.1.7 and JDBC 1.2.  It seems that the
JDBC executeUpdate() method doesn't raise an exception when I pass an
incorrect SQL statement.  It returns 0 rows, but no exception.  Anyone seen
this before?



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [OT]:Jsp page won't refresh

2004-02-02 Thread Januski, Ken
Yangshen,

As soon as I tried your method it worked just as it should have. But I'm
still stymied why response.setHeader and setIntHeader don't seem to work.
But users will be happy it refreshes, which is what's most important. It's
now more of a theoretical question as to why response.setHeader doesn't seem
to.

Ken


-Original Message-
From: Januski, Ken [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 6:04 PM
To: Tomcat Users List
Subject: RE: [OT]:Jsp page won't refresh


I thought that response.setHeader("Refresh","30") was supposed to be a
shortcut for the meta code you suggest.

But since it just won't work for me I may try your suggestion.

Thanks,

Ken


-Original Message-
From: Yansheng Lin [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 6:00 PM
To: 'Tomcat Users List'
Subject: RE: [OT]:Jsp page won't refresh


so you want you page to refresh every 30 seconds, right?  You can use the

tag, something like
  

Hope this helps.

-Yan

-Original Message-
From: Januski, Ken [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 02, 2004 3:39 PM
To: Tomcat Users List
Subject: [OT]:Jsp page won't refresh


Sorry for this sort of OT question. I'm trying to get a jsp page to refresh
with either response.setHeader("Refresh","30") or
response.setIntHeader("Refresh", 30). But I can find no sign of any
refreshing going on.

Does anyone have any clues as to what might prevent the refresh?

Exact code is: 
<% response.setIntHeader("Expires",30); %>

Thanks for any ideas,

Ken


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: [OT]:Jsp page won't refresh

2004-02-02 Thread Januski, Ken
I thought that response.setHeader("Refresh","30") was supposed to be a
shortcut for the meta code you suggest.

But since it just won't work for me I may try your suggestion.

Thanks,

Ken


-Original Message-
From: Yansheng Lin [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 6:00 PM
To: 'Tomcat Users List'
Subject: RE: [OT]:Jsp page won't refresh


so you want you page to refresh every 30 seconds, right?  You can use the

tag, something like
  

Hope this helps.

-Yan

-Original Message-
From: Januski, Ken [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 02, 2004 3:39 PM
To: Tomcat Users List
Subject: [OT]:Jsp page won't refresh


Sorry for this sort of OT question. I'm trying to get a jsp page to refresh
with either response.setHeader("Refresh","30") or
response.setIntHeader("Refresh", 30). But I can find no sign of any
refreshing going on.

Does anyone have any clues as to what might prevent the refresh?

Exact code is: 
<% response.setIntHeader("Expires",30); %>

Thanks for any ideas,

Ken


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: [OT]:Jsp page won't refresh

2004-02-02 Thread Yansheng Lin
so you want you page to refresh every 30 seconds, right?  You can use the 
tag, something like
  

Hope this helps.

-Yan

-Original Message-
From: Januski, Ken [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 02, 2004 3:39 PM
To: Tomcat Users List
Subject: [OT]:Jsp page won't refresh


Sorry for this sort of OT question. I'm trying to get a jsp page to refresh
with either response.setHeader("Refresh","30") or
response.setIntHeader("Refresh", 30). But I can find no sign of any
refreshing going on.

Does anyone have any clues as to what might prevent the refresh?

Exact code is: 
<% response.setIntHeader("Expires",30); %>

Thanks for any ideas,

Ken


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Oscar Carrillo
The method I describe may not work w/ mod_jk2. Frankly, I don't know. But
I did a search and found this site, which seems to show that you can
define these things in workers2.properties

http://www.pixelfreak.net/howto/apache2_jk2_tomcat/socket.html

Oscar
http://www.linuxjava.net/howto/webapp/

On Mon, 2 Feb 2004, Oscar Carrillo wrote:

> Hi,
> 
> The JkMount directives tell Apache to pass these request thru the 
> Connector to Tomcat.
> 
> I do this very same thing for jWebMail, cause I don't want it accessible 
> thru http, only https. Here's my ssl.conf config section for it:
> --
> 
> #Other stuff about your ssl host
> 
> #Webmail
> # Static files
> Alias /webmail "/usr/local/tomcat/webapps/webmail"
> 
> 
> Options Indexes FollowSymLinks
> DirectoryIndex index.jsp
> 
> 
> 
> AllowOverride None
> deny from all
> 
> 
> 
> AllowOverride None
> deny from all
> 
> 
> JkMount /webmail/do/*  ajp13
> JkMount /webmail/*.jsp  ajp13
> JkMount /webmail/WebMail  ajp13
> JkMount /webmail/WebMail/*  ajp13
> ---
> 
> Does that help? BTW, this is all on my site but there's quite a bit of stuff there 
> that you can miss it.
> 
> Oscar
> http://www.linuxjava.net/howto/webapp/
> 
> 
> 
> On Mon, 2 Feb 2004, Ralf Schneider wrote:
> 
> > Am Montag, 2. Februar 2004 21:26 schrieb Oscar Carrillo:
> > > I believe you need to setup a VirtualHost section in httpd.conf even if
> > > you don't really need Virtual Hosting.
> > 
> > I did that.
> > 
> > > Also try Redirecting the whole site. I'm not sure if I've tried just the
> > > webapp. I'm not sure if you need to compile the rewrite module for the
> > > redirect, but I don't think so.
> > >
> > > #httpd.conf VirtualHost section of myhost.mydomain
> > > Redirect / https://myhost.mydomain/mywebapp
> > 
> > But I don't want to do this with the whole site, because there are parts that 
> > should be accessible with normal HTTP.
> > 
> > > Also, you can't include the mod_jk configuration. You must put the mount
> > > commands explicitly in each virtual host. If you include the modjk conf
> > > file "Include mod_jk.conf", then it will be global and all hosts will get
> > > access. This is likely your problem especially if you haven't put mod_jk
> > > mount commands in "ssl.conf".
> > 
> > I did not put any JKMount statements in ssl.conf. Which do I need? Something 
> > like this:
> > 
> > JKMount /demo_02/* ajp13
> > 
> > Or anything else? I think I did not understood correctly what this JkMount 
> > does.
> > 
> > Ralf.
> > 
> > 
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



WHY? Tomcat 5 maxThreads too low, set to 10

2004-02-02 Thread Parris, Edward G

I have a single server running Tomcat supporting several webapps. The web apps fall 
into two categories:
 webapps that require quick response but that use few system resources
 webapps that are expected to process for a long period and consume large amounts of 
system resources

The goal is to create a tomcat configuration that supports these two categories of 
applications. My difficulty is that the number of simultaneous requests supportable 
within the system's memory constraints is very different.

In the past (Tomcat 4.1.27) I created two HTTP connectors with different 
minProcessors, maxProcessors and acceptCount values. Web apps were registered/accessed 
via different ports effectively managing the resources of the server. The connector on 
port 9080 supports a large number of light-weight apps while the connector on 9081 
queues up concurrent heavy-weight requests beyond some configurable limit (3).





I tried a similar configuration on Tomcat 5.0.18 but noticed a ThreadPool warning on 
startup stating that my maxThreads setting was too low and that it would be reset to 
10.

WARNING: maxThreads setting (3) too low, set to 10

Does anyone have any ideas how I can rectify this situation? 10 concurrent threads is 
too many (at peak each heavy-weight can consume ~1GB of memory). Simply increasing the 
memory limits is not going to do it.

Thanks much,
Ed



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[OT]:Jsp page won't refresh

2004-02-02 Thread Januski, Ken
Sorry for this sort of OT question. I'm trying to get a jsp page to refresh
with either response.setHeader("Refresh","30") or
response.setIntHeader("Refresh", 30). But I can find no sign of any
refreshing going on.

Does anyone have any clues as to what might prevent the refresh?

Exact code is: 
<% response.setIntHeader("Expires",30); %>

Thanks for any ideas,

Ken


WHY? Tomcat 5 maxThreads too low, set to 10

2004-02-02 Thread Parris, Edward G

I have a single server running Tomcat supporting several webapps. The web apps fall 
into two categories:
 webapps that require quick response but that use few system resources
 webapps that are expected to process for a long period and consume large amounts of 
system resources

The goal is to create a tomcat configuration that supports these two categories of 
applications. My difficulty is that the number of simultaneous requests supportable 
within the system's memory constraints is very different.

In the past (Tomcat 4.1.27) I created two HTTP connectors with different 
minProcessors, maxProcessors and acceptCount values. Web apps were registered/accessed 
via different ports effectively managing the resources of the server. The connector on 
port 9080 supports a large number of light-weight apps while the connector on 9081 
queues up concurrent heavy-weight requests beyond some configurable limit (3).





I tried a similar configuration on Tomcat 5.0.18 but noticed a ThreadPool warning on 
startup stating that my maxThreads setting was too low and that it would be reset to 
10.

WARNING: maxThreads setting (3) too low, set to 10

Does anyone have any ideas how I can rectify this situation? 10 concurrent threads is 
too many (at peak each heavy-weight can consume ~1GB of memory). Simply increasing the 
memory limits is not going to do it.

Thanks much,
Ed


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: URLRewrite help needed

2004-02-02 Thread Duane Burchell
> Howdy,
> Take a look at tomcat 5's balancer webapp, and/or
> http://jakarta.apache.org/tomcat/tomcat-5.0-doc/balancer-howto.html

Okay - stupid question.  I'm running Tomcat 4.1.  Can this be made to work
on it?

Has anyone used the filter from tuckey.org successfully?

Thanks,
Duane

>
> Yoav Shapira
> Millennium ChemInformatics
>
>
> >-Original Message-
> >From: Duane Burchell [mailto:[EMAIL PROTECTED]
> >Sent: Monday, February 02, 2004 1:23 PM
> >To: Tomcat Users List
> >Subject: URLRewrite help needed
> >
> >
> >Hello
> >I'm relatively new to using Tomcat, and need help with what (should be)
> an
> >easy task.  I've searched through the archives, but haven't found the
> >information I need.
> >
> >I'm basically trying to do a mod_rewrite, but using tomcat (without
> apache
> >installed).  I've read up on the tuckey.org/urlrewrite, and this
> >filter seems to handle exactly what I want.  But I can't get it to
> work.
> >
> >As I understand it, the steps would be :
> >1 ) Download the jar files and put them into a urlrewrite directory off
> >the WEB-INF directory.
> >2)  Alter the web.xml file to include this filter (using code straight
> >form the tuckey.org site)
> >3)  Alter the urlrewrite file to include the rules that I want (some
> basic
> >substitutions from google-searchable URLs ex.  /pageid/ ->  &pageid= )
> >4)  Restart tomcat.
> >
> >However, as soon as I add the filter code into the web.xml file, all
> >requests return a 404 error (whether the request uses the filter or
> not).
> >
> >This seems like such an easy task, but I can't get it to work.  If
> anybody
> >can please point out something I'm overlooking, I would appreciate it.
> >
> >I'm using tomcat 4.1 on Win2K server.
> >
> >Thanks,
> >Duane

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: access log

2004-02-02 Thread Yansheng Lin
Hi, How about just log errors and warnings to the db?  So for other types of log
entry, it will still be file based; but when there is an error or a warning, in
log4j, you set it up so it writes to two places.  I don't notice any performance
issue with this setup. But just want to confirm.

Thanks!

-Yan

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 02, 2004 11:53 AM
To: Tomcat Users List
Subject: RE: access log



Howdy,

>re: asynchronous DB writes - Tim pointed out the JDBCAccessLogValve. I
>assume you are thinking that this would quickly become a bottleneck?

Yeah, that's what I'm thinking.  Writing the access log valve should be
very very quick, very very scalable, or it easily becomes a bottleneck.
Remember, for example, that a single page request with 9 images is 10
access log writes.  10 users asking for that page concurrently means 100
concurren access log writes, etc etc.

Yoav Shapira



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to whom
it is addressed, and may not be saved, copied, printed, disclosed or used by
anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 5.0.18 : Bad Cookie Names, the return ?

2004-02-02 Thread Yansheng Lin
Do you get this error when you try to access the webapp inside of your firewall?

For example, on the Win2K server itself with http://localhost:80/.  

Sorry I cannot be much of help there since we use a different network setup, and
Apache-Tomcat combo. 

Speaking of sniffer, I found Burp proxy really cool. 

-Original Message-
From: Papillon [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 02, 2004 2:59 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat 5.0.18 : Bad Cookie Names, the return ?


Thanks a lot for your answer.
I'm using Tomcat-StandAlone (port 80)
So, I don't have this type of problems on anothers computers with the same
classes and jsdk.
I have used a sniffer and all cookies seems to have an argument. I will
retry and be carefull on this point.

Best regards

-Original Message-
From: Yansheng Lin [mailto:[EMAIL PROTECTED] 
Sent: lundi 2 février 2004 17:44
To: 'Tomcat Users List'
Subject: RE: Tomcat 5.0.18 : Bad Cookie Names, the return ?

Take a look at your request header(or response hearder).  In this case, it's
more likely to be the request.  You are trying to set a cooking with no
argument, you web container will throw an IllegalArgumentException. The
syntax for cookie in request header:

Cookie: NAME1=OPAQUE_STRING1; NAME2=OPAQUE_STRING2 ...

Btw, do you use Tomcat-StandAlone or with Apache?  

-Original Message-
From: Papillon [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 01, 2004 6:55 AM
To: [EMAIL PROTECTED]
Subject: Tomcat 5.0.18 : Bad Cookie Names, the return ?


I've installed Tomcat 5.0.18 (binary release) and J2SE v 1.4.2_02 on a
windows server 2000 OS.

When Tomcat receive a request (or respond ?) I have pratically each time
this type of error :

23 janv. 2004 07:12:22 org.apache.coyote.tomcat5.CoyoteAdapter parseCookies
GRAVE: Bad Cookie Name: expires /Value: Fri
java.lang.IllegalArgumentException: Le nom de cookie "expires" est un
"token" rÚservÚ
at javax.servlet.http.Cookie.(Cookie.java:185)
at
org.apache.coyote.tomcat5.CoyoteAdapter.parseCookies(CoyoteAdapter.java:424)
at
org.apache.coyote.tomcat5.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:
332)
at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:204)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:700)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:683)
at java.lang.Thread.run(Thread.java:534)

another one (cookie's name is different...)

23 janv. 2004 07:12:22 org.apache.coyote.tomcat5.CoyoteAdapter parseCookies
GRAVE: Bad Cookie Name: path /Value: /
java.lang.IllegalArgumentException: Le nom de cookie "path" est un "token"
rÚservÚ
at javax.servlet.http.Cookie.(Cookie.java:185)

at java.lang.Thread.run(Thread.java:534)

I've undestand that "path","expire","domain",etc are reserved names for
cookies. All run fine with the same classes on an "oldest" tomcat
version(3.3 who seems to have and similary corrected bug and or a tomcat
4.0.x) or when I copy the complete context (Tomcat 5 rep and Java rep) on
anothers machines (windows 2000 pro or Mac OS X).

A difference between the server and the computers : The server is behind
a firewall and have two adress. All accesses are done by the WAN adress
because using NAT.

thanks for any informations, any help, any idea ;)


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[INFO] ChannelSocket - -connection timeout reached

2004-02-02 Thread Asif Chowdhary
Hi

I am running the RH linux with apache and mod_jk2. On the window machine I have tomcat.
When I run the examples I see this message in the windows console where tomcat is 
running.

[INFO] ChannelSocket - -connection timeout reached

Do I need to increase the time in server.xml or jk2.properties

Thanks




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Oscar Carrillo
Hi,

The JkMount directives tell Apache to pass these request thru the 
Connector to Tomcat.

I do this very same thing for jWebMail, cause I don't want it accessible 
thru http, only https. Here's my ssl.conf config section for it:
--

#Other stuff about your ssl host

#Webmail
# Static files
Alias /webmail "/usr/local/tomcat/webapps/webmail"


Options Indexes FollowSymLinks
DirectoryIndex index.jsp



AllowOverride None
deny from all



AllowOverride None
deny from all


JkMount /webmail/do/*  ajp13
JkMount /webmail/*.jsp  ajp13
JkMount /webmail/WebMail  ajp13
JkMount /webmail/WebMail/*  ajp13
---

Does that help? BTW, this is all on my site but there's quite a bit of stuff there 
that you can miss it.

Oscar
http://www.linuxjava.net/howto/webapp/



On Mon, 2 Feb 2004, Ralf Schneider wrote:

> Am Montag, 2. Februar 2004 21:26 schrieb Oscar Carrillo:
> > I believe you need to setup a VirtualHost section in httpd.conf even if
> > you don't really need Virtual Hosting.
> 
> I did that.
> 
> > Also try Redirecting the whole site. I'm not sure if I've tried just the
> > webapp. I'm not sure if you need to compile the rewrite module for the
> > redirect, but I don't think so.
> >
> > #httpd.conf VirtualHost section of myhost.mydomain
> > Redirect / https://myhost.mydomain/mywebapp
> 
> But I don't want to do this with the whole site, because there are parts that 
> should be accessible with normal HTTP.
> 
> > Also, you can't include the mod_jk configuration. You must put the mount
> > commands explicitly in each virtual host. If you include the modjk conf
> > file "Include mod_jk.conf", then it will be global and all hosts will get
> > access. This is likely your problem especially if you haven't put mod_jk
> > mount commands in "ssl.conf".
> 
> I did not put any JKMount statements in ssl.conf. Which do I need? Something 
> like this:
> 
> JKMount /demo_02/* ajp13
> 
> Or anything else? I think I did not understood correctly what this JkMount 
> does.
> 
> Ralf.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Ralf Schneider
Am Montag, 2. Februar 2004 21:47 schrieb Oscar Carrillo:
> You must only mount (no global include mod_jk2.conf") the webapp in
> "ssl.conf", and additionally you can redirect http to https in
> "httpd.conf" so that ppl automatically get moved to https.

I added the following three lines to ssl.conf (according to your howto):

JkMount /demo_02/*.jsp ajp13
JkMount /demo_02 ajp13
JkMount /demo_02/* ajp13

But then I get an error when restarting Apache:

Syntax error on line 114 of /usr/local/apache2/conf/ssl.conf:
Invalid command 'JkMount', perhaps mis-spelled or defined by a module not 
included in the server configuration

Did the syntax change from mod_jk to mod_jk2 for JkMount?

Ralf.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat5 RH ES mod_jk2 Apache2

2004-02-02 Thread Oscar Carrillo
Absotively! Long-live the Source.

Oscar

On Mon, 2 Feb 2004, Rich Baldwin wrote:

> Ok.  I'm ready to partially retract all of the mean things that I said 
> about tomcat.  If anyone thinks that they will be saving themselves time 
> by installing an rpm of mod_jk2.so, think again; re-build from the 
> source!  Thanks to all you responded.   Rich
> 
> Hamilton Andrew wrote:
> 
> >I have RH AS and I use Tomcat5, mod_jk2, and apache2 and they all work fine.
> >I use the uri's you say don't work, ie
> >[uri:/servlets-examples/*] works just fine for me.  You are free to do what
> >you like as far as switching to a different framework.  I see several people
> >are trying to help you and it might help to post your entire current
> >workers2.properties and your jk2.properties.  Does everything work properly
> >when you use just Tomcat and not apache?  
> >
> >Here is my workers2.properties:
> >#
> >[logger.apache2]
> >level=DEBUG
> >
> >[shm]
> >file=/www/apache2/logs/shm.file
> >size=1048576
> >
> ># Define the communication channel
> >[channel.socket:localhost:8009]
> >info=Ajp13 forwarding over socket
> >tomcatId=localhost:8009
> >
> ># define the worker
> >[ajp13:localhost:8009]
> >channel=channel.socket:localhost:8009
> >
> >[uri:/jsp-examples/*]
> >info=Map the jsp-examples webapp
> >worker=ajp13:localhost:8009
> >
> >[uri:/servlets-examples/*]
> >info=Map the servlets-examples webapp
> >worker=ajp13:localhost:8009
> >#
> >
> >And my jk2.properties:
> >
> >#
> ># Set the desired handler list
> >handler.list=channelSocket,request
> >#
> ># Override the default port for the socketChannel
> ># channelSocket.port=8019
> ># Default: 
> ># channelUnix.file=${jkHome}/work/jk2.socket
> ># Just to check if the the config  is working
> ># shm.file=${jkHome}/work/jk2.shm
> >
> ># In order to enable jni use any channelJni directive
> ># channelJni.disabled = 0
> ># And one of the following directives:
> ># apr.jniModeSo=/www/apache2/modules/mod_jk2.so
> ># If set to inprocess the mod_jk2 will Register natives itself
> ># This will enable the starting of the Tomcat from mod_jk2
> ># apr.jniModeSo=inprocess
> >#
> >
> >
> >-Original Message-
> >From: Rich Baldwin [mailto:[EMAIL PROTECTED]
> >Sent: Monday, February 02, 2004 2:04 PM
> >To: Tomcat Users List
> >Subject: Re: Tomcat5 RH ES mod_jk2 Apache2
> >
> >
> >
> >
> >Well.  I have gotten Tomcat5, RH ES, mod_jk2, and apache2 all working.  
> >I've come to the conclusion that the clowns
> >who developed this stuff sit back and watch the traffic on the list and 
> >laugh.  Here is what you need to do in your workers2.properites file:
> >
> >For every servlet you need to define a worker in worker2.properties.
> >
> >[uri:/servlets-examples/*]  This won't work, but this will
> >
> >[uri:/servlets-examples/servlet/HelloWorldExample]
> >[uri:/servlets-examples/servlet/RequestInfoExample]
> >etc.
> >
> >[uri:/servlets-examples/servlet/*] won't work
> >[uri:/servlets-examples/servlet/*.*] won't work
> >[uri:/servlets-examples/servlet/*e] will work, but all of your servlets must
> >end with the letter 'e'
> >
> >Unless one of you fine developers want to clear this up.  I'm going to
> >switch to Jetty.  Tomcat is crap!!!
> >
> >
> >
> >Yiannis Mavroukakis wrote:
> >
> >  
> >
> >>Curious...Send me your entire workers2.properties file and I'll have a
> >>
> >>
> >look.
> >  
> >
> >>Also, what are the urls you are using to access your html/jsp/servlets?
> >>
> >>
> >Feel
> >  
> >
> >>free to use 'localhost' if you don't want to reveal sensitive server
> >>hostname/ip's
> >>
> >>Yiannis
> >>
> >>-Original Message-
> >>From: Rich Baldwin [mailto:[EMAIL PROTECTED]
> >>Sent: 02 February 2004 15:22
> >>To: Tomcat Users List
> >>Subject: Re: Tomcat5 RH ES mod_jk2 Apache2
> >>
> >>
> >>Same as in the past works fine on port 8080.  Jsp stuff works on port 
> >>80.  Html in servlets-examples works fine.  Servlets cannot be found???
> >>
> >>Yiannis Mavroukakis wrote:
> >>
> >> 
> >>
> >>
> >>
> >>>Hmm ok.. :)
> >>>you don't need
> >>>channelSocket.address=127.0.0.1
> >>>in jk2.properties.
> >>>Add the following under [channel.socket:localhost:8009]
> >>>host=localhost
> >>>port=8009
> >>>
> >>>and under [ajp13:localhost:8009] add this
> >>>channel=channel.socket:localhost:8009
> >>>
> >>>Before you go about making those changes, make sure that your servlets
> >>>are working OK on standalone tomcat :)
> >>>
> >>>Good luck,
> >>>
> >>>Yiannis.
> >>>
> >>>-Original Message-
> >>>From: Rich Baldwin [mailto:[EMAIL PROTECTED]
> >>>Sent: 02 February 2004 14:10
> >>>To: Tomcat Users List
> >>>Subject: Re: Tomcat5 RH ES mod_jk2 Apache2
> >>>
> >>>
> >>>The jsp is working but not the servlets.  I've double check /alias and 
> >>>workers for typos. Other suggestions??
> >>>
> >>>Yiannis Mavroukakis wrote:
> >>>
> >>>
> >>>
> >>>   
>

RE: RE: Please help Console Problem in tomcat 5.0.16

2004-02-02 Thread Yansheng Lin

In your web.xml:
package1.structure.HelloServlet

You package declaration is:
package package.structure

They don't exactly match each other.  

-cheers:).

-Original Message-
From: Avinash Sridhar [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 02, 2004 10:08 AM
To: Tomcat Users List
Cc: Bodycombe,Andrew
Subject: Re: RE: Please help Console Problem in tomcat 5.0.16


Hi,
  Thanks for the reply.How do I correct the invalid server.xml file.

Kindly let me know.


server.xml file for the same directory structure.




Thanks 
AS


On Mon, 02 Feb 2004 Bodycombe, Andrew wrote :
>This indicates your server.xml is invalid.
>
>-Original Message-
> From: Avinash Sridhar [mailto:[EMAIL PROTECTED]
>Sent: 02 February 2004 16:07
>To: [EMAIL PROTECTED]
>Subject: Please help Console Problem in tomcat 5.0.16
>
>
>have my own directory as "sampleapp" which has the necessary structure and
>the .class file is put into the following directory structure.
>classes/package1/structure/HelloServlet.class.
>
>All in the %TOMCAT% home directory.
>
>My question is in %TOMCAT%/conf/server.xml file how is the 
> tag written.
>I have written it like this
>
>
>
>
>The directory structure of sampleapp is as follows..
>%TOMCAT%/webapps/sampleapp/WEB-INF/classes
>/lib
>/sourcefiles
>/web.xml.
>The classes directory has the structure like this..
>
>classes/package1/structure/HelloServlet class file.
>
>My Web.xml file looks like this
>
>/ web.xml /
>
>
>
>PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
>"http://java.sun.com/dtd/web-app_2_3.dtd";>
>
>
>Servlet 2.4 Examples
> Servlet 2.4 Examples 
>
>
>
>
>
>HelloServlet
>package1.structure.HelloServlet
>
>
>
>
>HelloServlet
>/sampleapp
>
>
>
>
>
>/* web.xml **/
>
>
>/*** Console error */
>Feb 2, 2004 8:33:19 AM org.apache.commons.digester.Digester fatalError
>SEVERE: Parse Fatal Error at line 3 column 6: The processing instruction
>target
>matching "[xX][mM][lL]" is not allowed.
>/*** Console error */
>
>Let me know if any changes are to be made.
>
>Help greatly apreciated.
>
>Thanks
>AS
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Oscar Carrillo
You're right it's for mod_jk.

But the httpd.conf would mostly be the same, which is where your problem 
is.

You must only mount (no global include mod_jk2.conf") the webapp in
"ssl.conf", and additionally you can redirect http to https in 
"httpd.conf" so that ppl automatically get moved to https.

Oscar
http://www.linuxjava.net/howto/webapp/

On Mon, 2 Feb 2004, Ralf Schneider wrote:

> Am Montag, 2. Februar 2004 21:21 schrieb Oscar Carrillo:
> > Please try what I describe in my earlier post, and check my web page for
> > a better description:
> >
> > http://www.linuxjava.net/howto/webapp/
> 
> I took a look at it, but it seems to be a howto for mod_jk with Tomcat 4.1.x. 
> But I have used mod_jk2 with Tomcat 5.0.16. Does the Howto also work with 
> these newer versions?
> 
> Ralf.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Ralf Schneider
Am Montag, 2. Februar 2004 21:26 schrieb Oscar Carrillo:
> I believe you need to setup a VirtualHost section in httpd.conf even if
> you don't really need Virtual Hosting.

I did that.

> Also try Redirecting the whole site. I'm not sure if I've tried just the
> webapp. I'm not sure if you need to compile the rewrite module for the
> redirect, but I don't think so.
>
> #httpd.conf VirtualHost section of myhost.mydomain
> Redirect / https://myhost.mydomain/mywebapp

But I don't want to do this with the whole site, because there are parts that 
should be accessible with normal HTTP.

> Also, you can't include the mod_jk configuration. You must put the mount
> commands explicitly in each virtual host. If you include the modjk conf
> file "Include mod_jk.conf", then it will be global and all hosts will get
> access. This is likely your problem especially if you haven't put mod_jk
> mount commands in "ssl.conf".

I did not put any JKMount statements in ssl.conf. Which do I need? Something 
like this:

JKMount /demo_02/* ajp13

Or anything else? I think I did not understood correctly what this JkMount 
does.

Ralf.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat5 RH ES mod_jk2 Apache2

2004-02-02 Thread Rich Baldwin
Ok.  I'm ready to partially retract all of the mean things that I said 
about tomcat.  If anyone thinks that they will be saving themselves time 
by installing an rpm of mod_jk2.so, think again; re-build from the 
source!  Thanks to all you responded.   Rich

Hamilton Andrew wrote:

I have RH AS and I use Tomcat5, mod_jk2, and apache2 and they all work fine.
I use the uri's you say don't work, ie
[uri:/servlets-examples/*] works just fine for me.  You are free to do what
you like as far as switching to a different framework.  I see several people
are trying to help you and it might help to post your entire current
workers2.properties and your jk2.properties.  Does everything work properly
when you use just Tomcat and not apache?  

Here is my workers2.properties:
#
[logger.apache2]
level=DEBUG
[shm]
file=/www/apache2/logs/shm.file
size=1048576
# Define the communication channel
[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
tomcatId=localhost:8009
# define the worker
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009
[uri:/jsp-examples/*]
info=Map the jsp-examples webapp
worker=ajp13:localhost:8009
[uri:/servlets-examples/*]
info=Map the servlets-examples webapp
worker=ajp13:localhost:8009
#
And my jk2.properties:

#
# Set the desired handler list
handler.list=channelSocket,request
#
# Override the default port for the socketChannel
# channelSocket.port=8019
# Default: 
# channelUnix.file=${jkHome}/work/jk2.socket
# Just to check if the the config  is working
# shm.file=${jkHome}/work/jk2.shm

# In order to enable jni use any channelJni directive
# channelJni.disabled = 0
# And one of the following directives:
# apr.jniModeSo=/www/apache2/modules/mod_jk2.so
# If set to inprocess the mod_jk2 will Register natives itself
# This will enable the starting of the Tomcat from mod_jk2
# apr.jniModeSo=inprocess
#
-Original Message-
From: Rich Baldwin [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 2:04 PM
To: Tomcat Users List
Subject: Re: Tomcat5 RH ES mod_jk2 Apache2


Well.  I have gotten Tomcat5, RH ES, mod_jk2, and apache2 all working.  
I've come to the conclusion that the clowns
who developed this stuff sit back and watch the traffic on the list and 
laugh.  Here is what you need to do in your workers2.properites file:

For every servlet you need to define a worker in worker2.properties.

[uri:/servlets-examples/*]  This won't work, but this will

[uri:/servlets-examples/servlet/HelloWorldExample]
[uri:/servlets-examples/servlet/RequestInfoExample]
etc.
[uri:/servlets-examples/servlet/*] won't work
[uri:/servlets-examples/servlet/*.*] won't work
[uri:/servlets-examples/servlet/*e] will work, but all of your servlets must
end with the letter 'e'
Unless one of you fine developers want to clear this up.  I'm going to
switch to Jetty.  Tomcat is crap!!!


Yiannis Mavroukakis wrote:

 

Curious...Send me your entire workers2.properties file and I'll have a
   

look.
 

Also, what are the urls you are using to access your html/jsp/servlets?
   

Feel
 

free to use 'localhost' if you don't want to reveal sensitive server
hostname/ip's
Yiannis

-Original Message-
From: Rich Baldwin [mailto:[EMAIL PROTECTED]
Sent: 02 February 2004 15:22
To: Tomcat Users List
Subject: Re: Tomcat5 RH ES mod_jk2 Apache2
Same as in the past works fine on port 8080.  Jsp stuff works on port 
80.  Html in servlets-examples works fine.  Servlets cannot be found???

Yiannis Mavroukakis wrote:



   

Hmm ok.. :)
you don't need
channelSocket.address=127.0.0.1
in jk2.properties.
Add the following under [channel.socket:localhost:8009]
host=localhost
port=8009
and under [ajp13:localhost:8009] add this
channel=channel.socket:localhost:8009
Before you go about making those changes, make sure that your servlets
are working OK on standalone tomcat :)
Good luck,

Yiannis.

-Original Message-
From: Rich Baldwin [mailto:[EMAIL PROTECTED]
Sent: 02 February 2004 14:10
To: Tomcat Users List
Subject: Re: Tomcat5 RH ES mod_jk2 Apache2
The jsp is working but not the servlets.  I've double check /alias and 
workers for typos. Other suggestions??

Yiannis Mavroukakis wrote:



  

 

Make these additions/ammendments to workers2

[ajp13:localhost:8009]
channel=channel.socket:localhost:809
[shm]
file=/tmp/shm.file
size=100
Yiannis.
-Original Message-
From: Rich Baldwin [mailto:[EMAIL PROTECTED]
Sent: 30 January 2004 18:27
To: [EMAIL PROTECTED]
Subject: Tomcat5 RH ES mod_jk2 Apache2
I finally made some progress configuring Tomcat5 Apache2 and mod_jk2 
running on RedHat Enterprise Server.  I get html over port 80, but no 
jsp or servlets will run.  Don't know what I may have missed.

jk2.properties
handler.list=channelSocket,request
channelSocket.port=8009
channelSocket.address=127.0.0.1
workers2.properties
[channel.socket:localhost:8009]
[ajp13:localhost

problems shutting down server when enabling the SimpleTcpCluster

2004-02-02 Thread Aadi Deshpande
  
Hi,

we have 2 tomcat instances that are clustered via the 
SimpleTcpReplication cluster.

When they start up, i see that they are both communicating and they seem 
to be working OK.

However, whenever I try to shut down an instance using the 
$TOMCAT_HOME/bin/catalina.sh script, the server never fully dies.

It seems like there around 20 threads still hanging around, all doing 
something related to persisting these sessions.

This is in a development instance so we have maybe 4 or 5 sessions at 
best at any given time,so I'm not sure why replication would take so long.
These servers hang around forever and can only be killed via a  "kill 
-9" .  Any further attempts to run 'catalina.sh stop'  results in the 
connection refused error, presumably because the instance has stopped 
listening on that port for requests. 

And i know the server is attempting to shut down since i get the 
"Unregistering..." messages in my log files.

Any help is much appreciated,

Thanks in advance,

Aadi Deshpande



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Tomcat 5.0.18 : Bad Cookie Names, the return ?

2004-02-02 Thread Papillon
Thanks a lot for your answer.
I'm using Tomcat-StandAlone (port 80)
So, I don't have this type of problems on anothers computers with the same
classes and jsdk.
I have used a sniffer and all cookies seems to have an argument. I will
retry and be carefull on this point.

Best regards

-Original Message-
From: Yansheng Lin [mailto:[EMAIL PROTECTED] 
Sent: lundi 2 février 2004 17:44
To: 'Tomcat Users List'
Subject: RE: Tomcat 5.0.18 : Bad Cookie Names, the return ?

Take a look at your request header(or response hearder).  In this case, it's
more likely to be the request.  You are trying to set a cooking with no
argument, you web container will throw an IllegalArgumentException. The
syntax for cookie in request header:

Cookie: NAME1=OPAQUE_STRING1; NAME2=OPAQUE_STRING2 ...

Btw, do you use Tomcat-StandAlone or with Apache?  

-Original Message-
From: Papillon [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 01, 2004 6:55 AM
To: [EMAIL PROTECTED]
Subject: Tomcat 5.0.18 : Bad Cookie Names, the return ?


I've installed Tomcat 5.0.18 (binary release) and J2SE v 1.4.2_02 on a
windows server 2000 OS.

When Tomcat receive a request (or respond ?) I have pratically each time
this type of error :

23 janv. 2004 07:12:22 org.apache.coyote.tomcat5.CoyoteAdapter parseCookies
GRAVE: Bad Cookie Name: expires /Value: Fri
java.lang.IllegalArgumentException: Le nom de cookie "expires" est un
"token" rÚservÚ
at javax.servlet.http.Cookie.(Cookie.java:185)
at
org.apache.coyote.tomcat5.CoyoteAdapter.parseCookies(CoyoteAdapter.java:424)
at
org.apache.coyote.tomcat5.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:
332)
at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:204)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:700)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:683)
at java.lang.Thread.run(Thread.java:534)

another one (cookie's name is different...)

23 janv. 2004 07:12:22 org.apache.coyote.tomcat5.CoyoteAdapter parseCookies
GRAVE: Bad Cookie Name: path /Value: /
java.lang.IllegalArgumentException: Le nom de cookie "path" est un "token"
rÚservÚ
at javax.servlet.http.Cookie.(Cookie.java:185)

at java.lang.Thread.run(Thread.java:534)

I've undestand that "path","expire","domain",etc are reserved names for
cookies. All run fine with the same classes on an "oldest" tomcat
version(3.3 who seems to have and similary corrected bug and or a tomcat
4.0.x) or when I copy the complete context (Tomcat 5 rep and Java rep) on
anothers machines (windows 2000 pro or Mac OS X).

A difference between the server and the computers : The server is behind
a firewall and have two adress. All accesses are done by the WAN adress
because using NAT.

thanks for any informations, any help, any idea ;)


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Ralf Schneider
Am Montag, 2. Februar 2004 21:21 schrieb Oscar Carrillo:
> Please try what I describe in my earlier post, and check my web page for
> a better description:
>
> http://www.linuxjava.net/howto/webapp/

I took a look at it, but it seems to be a howto for mod_jk with Tomcat 4.1.x. 
But I have used mod_jk2 with Tomcat 5.0.16. Does the Howto also work with 
these newer versions?

Ralf.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 5.0.18 : Bad Cookie Names, the return ?

2004-02-02 Thread Yansheng Lin
Take a look at your request header(or response hearder).  In this case, it's
more likely to be the request.  You are trying to set a cooking with no
argument, you web container will throw an IllegalArgumentException. The syntax
for cookie in request header:

Cookie: NAME1=OPAQUE_STRING1; NAME2=OPAQUE_STRING2 ...

Btw, do you use Tomcat-StandAlone or with Apache?  

-Original Message-
From: Papillon [mailto:[EMAIL PROTECTED] 
Sent: Sunday, February 01, 2004 6:55 AM
To: [EMAIL PROTECTED]
Subject: Tomcat 5.0.18 : Bad Cookie Names, the return ?


I've installed Tomcat 5.0.18 (binary release) and J2SE v 1.4.2_02 on a
windows server 2000 OS.

When Tomcat receive a request (or respond ?) I have pratically each time
this type of error :

23 janv. 2004 07:12:22 org.apache.coyote.tomcat5.CoyoteAdapter parseCookies
GRAVE: Bad Cookie Name: expires /Value: Fri
java.lang.IllegalArgumentException: Le nom de cookie "expires" est un
"token" rÚservÚ
at javax.servlet.http.Cookie.(Cookie.java:185)
at
org.apache.coyote.tomcat5.CoyoteAdapter.parseCookies(CoyoteAdapter.java:424)
at
org.apache.coyote.tomcat5.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:
332)
at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:204)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:700)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:683)
at java.lang.Thread.run(Thread.java:534)

another one (cookie's name is different...)

23 janv. 2004 07:12:22 org.apache.coyote.tomcat5.CoyoteAdapter parseCookies
GRAVE: Bad Cookie Name: path /Value: /
java.lang.IllegalArgumentException: Le nom de cookie "path" est un "token"
rÚservÚ
at javax.servlet.http.Cookie.(Cookie.java:185)

at java.lang.Thread.run(Thread.java:534)

I've undestand that "path","expire","domain",etc are reserved names for
cookies. All run fine with the same classes on an "oldest" tomcat
version(3.3 who seems to have and similary corrected bug and or a tomcat
4.0.x) or when I copy the complete context (Tomcat 5 rep and Java rep) on
anothers machines (windows 2000 pro or Mac OS X).

A difference between the server and the computers : The server is behind
a firewall and have two adress. All accesses are done by the WAN adress
because using NAT.

thanks for any informations, any help, any idea ;)


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Oscar Carrillo
I believe you need to setup a VirtualHost section in httpd.conf even if
you don't really need Virtual Hosting.

Also try Redirecting the whole site. I'm not sure if I've tried just the 
webapp. I'm not sure if you need to compile the rewrite module for the 
redirect, but I don't think so.

#httpd.conf VirtualHost section of myhost.mydomain
Redirect / https://myhost.mydomain/mywebapp

Also, you can't include the mod_jk configuration. You must put the mount 
commands explicitly in each virtual host. If you include the modjk conf 
file "Include mod_jk.conf", then it will be global and all hosts will get 
access. This is likely your problem especially if you haven't put mod_jk 
mount commands in "ssl.conf".

Oscar
http://www.linuxjava.net/howto/webapp/

On Mon, 2 Feb 2004, Ralf Schneider wrote:

> Am Montag, 2. Februar 2004 21:01 schrieb Oscar Carrillo:
> > I think what the user is looking for is this in httpd.conf for your
> > virtual host:
> >
> > #httpd.conf VirtualHost section of myhost.mydomain
> > Redirect /mywebapp https://myhost.mydomain/mywebapp
> 
> I tried this, but it doesn't seem to work. I added this line to the virtual 
> host block for the Non-SSL part of the website in httpd.conf:
> 
> Redirect /demo_02 https://localhost/demo_02
> 
> But I still can access the webapp with both http://localhost/demo_02 and
> https://localhost/demo_02.
> 
> Ralf.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT

2004-02-02 Thread Kumar Abhay-CAK203C
I tried this also .. No success 


Best Regards
Abhay Kumar

-Original Message-
From: Keshav Sarin [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 02, 2004 1:10 PM
To: [EMAIL PROTECTED]
Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT


You need to remove all references to the database driver from the system and web app 
classpath. Don't put the driver in web-inf/lib directory. Just keep the driver in the 
tomcat_home/common/lib directory. 


>>> [EMAIL PROTECTED] 02/02/04 10:34AM >>>
This is setenv file:
 
set 
classpath=.;C:\j2sdk1.4.2_03\lib\tools.jar;..\web-inf\classes;..\web-inf\lib\cos.jar;..\web-inf\lib\jnlp.jar;..\web-inf\lib\log4j.jar;..\web-inf\lib\xml4j.jar;..\web-inf\lib\ldapjdk.jar;..\web-inf\lib\ldapsearch.jar..\web-inf\lib\classes12.jar;%classpath%
 
and Class path set in system is :
 
.;C:\Estimation;C:\Tomcat\common\lib\servlet.jar;C:\Tomcat\common\lib\mail.jar;C:\Tomcat\common\lib\activation.jar;C:\Tomcat\common\lib\jndi.jar;C:\Tomcat\common\lib\jdbc2_0-stdext.jar;C:\Tomcat\common\lib\ojdbc14.jar
 
ANy Bug ??

Regards
Abhay



-Original Message-
From: Mike Curwen [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 02, 2004 11:25 AM
To: 'Tomcat Users List'
Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT


Just to be sure.. you tried classes12.**jar**  (renamed .zip to .jar) ?


> -Original Message-
> From: Kumar Abhay-CAK203C [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 02, 2004 11:12 AM
> To: 'Tomcat Users List'
> Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
> Importance: High
> 
> 
> 
> I hv tried this also .. No success
> 
> Abhay
> 
> 
> 
> -Original Message-
> From: Chakravarthy, Sundar [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 02, 2004 10:56 AM
> To: Tomcat Users List
> Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
> 
> 
> Trying using classes12.jar in /common/lib
> 
> -Original Message-
> From: Kumar Abhay-CAK203C [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 02, 2004 11:50 AM
> To: 'Tomcat Users List'
> Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
> Importance: High
> 
> Path of the dB driver is as follows: Still the same error
> 
> C:\Tomcat\common\lib\ojdbc14.jar
> 
> Abhay
> 
> -Original Message-
> From: Keshav Sarin [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 02, 2004 10:44 AM
> To: [EMAIL PROTECTED] 
> Subject: Re: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
> 
> 
> Put the database driver in tomcat_home/common/lib directory and 
> restart tomcat.
> 
> 
> >>> [EMAIL PROTECTED] 02/02/04 09:35AM >>>
> Hi ,
> 
> I am getting the following error in JDBC conn. Error log and other 
> details are as follows:
> 
> Please help !!
> 
> Regards
> Abhay
> 
> --
> --
> -
> I am using :==
> Apache Tomcat/4.1.29
> SQL*Plus: Release 9.0.1.4.0 - Production on Mon Feb 2 09:39:33 2004 
> Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production 
> j2sdk1.4.2_03 
> ojdbc14.jar 
> --
> --
> --
> 
>  type="java.lang.Integer" value="30"/>  auth="Container" description="User database that can be 
> updated and saved" name="UserDatabase" scope="Shareable" 
> type="org.apache.catalina.UserDatabase"/>
>  type="javax.sql.DataSource"/>  name="UserDatabase">  factory 
> org.apache.catalina.users.MemoryUserDatabaseFactory
> 
> 
> pathname
> conf/tomcat-users.xml
> 
> 
> 
> 
> validationQuery
> select sysdate from dual
> 
> 
> maxWait
> 5000
> 
> 
> maxActive
> 4
> 
> 
> password
> eppsys
> 
> 
> url 
> jdbc:oracle:thin:@oswego.comm.mot.com:1521:DEV
> 
> 
> driverClassName 
> oracle.jdbc.driver.OracleDriver
> 
> 
> maxIdle
> 2
> 
> 
> username
> eppsys
> 
> 
> 
> --
> Feb 2, 2004 9:38:47 AM org.apache.coyote.http11.Http11Protocol init 
> INFO: Initializing Coyote HTTP/1.1 on port 80 
> Starting service Tomcat-Standalone 
> Apache Tomcat/4.1.29 
> Feb 2, 2004 9:38:56 AM
org.apache.struts.util.PropertyMessageResources
> 
> INFO: Initializing, config='org.apache.struts.util.LocalStrings',
> returnNull=true 
> Feb 2, 2004 9:38:56 AM
org.apache.struts.util.PropertyMessageResources
> 
> INFO: Initializing,
config='org.apache.struts.action.ActionResources',
> returnNull=true
> Feb 2, 2004 9:39:02 AM
org.apache.struts.util.PropertyMessageResources
> 
> INFO: Initializing, 
> config='org.apache.webapp.admin.ApplicationResources', 
> returnNull=true 
> Looking up jdbc/estimation 
> Found 
> Feb 2, 2004 9:39:23 AM org.apache.coyote.http11.Http11Protocol start

> INFO: Starting Coyote HTTP/1.1 on port 80
> Feb 2, 2004 9:39:23 AM org.apache.jk.common.ChannelSocket init 
> INFO: JK2: ajp13 listening on /0.0.0.0:8009 
> Feb 2, 2004 9:39:23 AM org.apache.jk.server.JkMain start 
> INFO: Jk running ID=0 time=30/220 
> config=C:\Tomcat\bin\..\conf\jk2.prop

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Oscar Carrillo
Please try what I describe in my earlier post, and check my web page for 
a better description:

http://www.linuxjava.net/howto/webapp/

Oscar

On Mon, 2 Feb 2004, Ralf Schneider wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Am Montag, 2. Februar 2004 17:30 schrieb Yiannis Mavroukakis:
> > Use the Location directive and stick SSLRequireSSL in it.
> >
> > 
> > SSLRequireSSL
> > 
> 
> I tried this, but it doesn't seem to work. I actually have three location 
> sections in the virtual host section for SSL in my ssl.conf:
> 
> 
> SSLRequireSSL
>   Order Allow,Deny
>   Allow from All
> 
> 
> 
> AllowOverride None
> deny from all
> 
> 
> 
> AllowOverride None
> deny from all
> 
> 
> But I still can access the webapp with both http://localhost/demo_02 and 
> https://localhost/demo_02. 
> 
> Ralf.
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.2.1 (GNU/Linux)
> 
> iD8DBQFAHsJC7YyyfykA0YkRAl5SAJ94hC0SroJZOBZsCwykdNJS885sHwCghuqD
> aR4aGgAWV+oEpv1QO8huIpA=
> =ye1K
> -END PGP SIGNATURE-
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Ralf Schneider
Am Montag, 2. Februar 2004 21:01 schrieb Oscar Carrillo:
> I think what the user is looking for is this in httpd.conf for your
> virtual host:
>
> #httpd.conf VirtualHost section of myhost.mydomain
> Redirect /mywebapp https://myhost.mydomain/mywebapp

I tried this, but it doesn't seem to work. I added this line to the virtual 
host block for the Non-SSL part of the website in httpd.conf:

Redirect /demo_02 https://localhost/demo_02

But I still can access the webapp with both http://localhost/demo_02 and
https://localhost/demo_02.

Ralf.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Ralf Schneider
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am Montag, 2. Februar 2004 17:30 schrieb Yiannis Mavroukakis:
> Use the Location directive and stick SSLRequireSSL in it.
>
> 
>   SSLRequireSSL
> 

I tried this, but it doesn't seem to work. I actually have three location 
sections in the virtual host section for SSL in my ssl.conf:


SSLRequireSSL
Order Allow,Deny
Allow from All



AllowOverride None
deny from all



AllowOverride None
deny from all


But I still can access the webapp with both http://localhost/demo_02 and 
https://localhost/demo_02. 

Ralf.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFAHsJC7YyyfykA0YkRAl5SAJ94hC0SroJZOBZsCwykdNJS885sHwCghuqD
aR4aGgAWV+oEpv1QO8huIpA=
=ye1K
-END PGP SIGNATURE-


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OFF-TOPIC] CSInline decrypt error 2

2004-02-02 Thread Oscar Carrillo
Do you mean to say that it doesn't happen when NOT using Ant?

Just wondering. Not too much to add.

I'm assuming this is the JDBC driver's inability to handle the streaming
for Blobs.

What database and driver are you using? I could try it with Postgres 7.4.1 
in the near future.

I don't really know anything about Blobs, so take what I say with a grain 
of salt :)

Oscar

On Mon, 2 Feb 2004, Shapira, Yoav wrote:

> 
> Hi,
> Has anyone seen an error message with the title in the subject line
> before?  I get it when I run a java class using ant that contains the
> following construction:
> ResultSet rs = ...
> Blob blob = rs.getBlob(columnName);
> String str = new String(blob.getBytes(1, (int) blob.length());
> 
> The method with the above code is declared to throw SQLException, and
> the calling method has a System.exit(1) if an exception is thrown, but
> it's some kind of internal error because my java program keeps going,
> printing to stderr:
> Error - CSInline decript error 2
> (nothing else, no stack trace etc, just the above line repeating once
> per row in my result set).
> 
> If I change the code to do reading via blob.getBinaryStream, to a
> StringWriter, the errors goes away.   So I have a fix, and this is
> nothing urgent, just a curiosity that became even more interesting when
> I didn't see any google references for this error.  Has anyone else seen
> it before?
> 
> Yoav Shapira
> Millennium ChemInformatics
> 
> 
> 
> 
> 
> This e-mail, including any attachments, is a confidential business communication, 
> and may contain information that is confidential, proprietary and/or privileged.  
> This e-mail is intended only for the individual(s) to whom it is addressed, and may 
> not be saved, copied, printed, disclosed or used by anyone else.  If you are not 
> the(an) intended recipient, please immediately delete this e-mail from your computer 
> system and notify the sender.  Thank you.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[OFF-TOPIC] CSInline decrypt error 2

2004-02-02 Thread Shapira, Yoav

Hi,
Has anyone seen an error message with the title in the subject line
before?  I get it when I run a java class using ant that contains the
following construction:
ResultSet rs = ...
Blob blob = rs.getBlob(columnName);
String str = new String(blob.getBytes(1, (int) blob.length());

The method with the above code is declared to throw SQLException, and
the calling method has a System.exit(1) if an exception is thrown, but
it's some kind of internal error because my java program keeps going,
printing to stderr:
Error - CSInline decript error 2
(nothing else, no stack trace etc, just the above line repeating once
per row in my result set).

If I change the code to do reading via blob.getBinaryStream, to a
StringWriter, the errors goes away.   So I have a fix, and this is
nothing urgent, just a curiosity that became even more interesting when
I didn't see any google references for this error.  Has anyone else seen
it before?

Yoav Shapira
Millennium ChemInformatics





This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Oscar Carrillo
Hi,

It sounds like you're talking about configuring Tomcat to do SSL, but I 
assume the user is using Apache for SSL. In the normal scenario the 
connector would ONLY communicate on port 8009. Port 8443 is generally for 
Tomcat to serve pages directly using SSL.

I think what the user is looking for is this in httpd.conf for your 
virtual host:

#httpd.conf VirtualHost section of myhost.mydomain
Redirect /mywebapp https://myhost.mydomain/mywebapp

Oscar
http://www.linuxjava.net/howto/webapp/

On Mon, 2 Feb 2004, Jeff Tulley wrote:

> You can also put a transport guarantee of "CONFIDENTIAL" in web.xml  
> When you do make sure that your redirect ports on the Apache connector
> in server.xml are correct (default is 8443, needs to be 443 if you are
> using Apache for SSL).
> 
> 
> >>> [EMAIL PROTECTED] 2/2/04 10:32:51 AM >>>
> I describe this in my HOWTO.
> 
> http://www.linuxjava.net/howto/webapp/ 
> 
> You either redirect traffic from http to https for that virtual host,
> or 
> you only mount the webapp in the http virtual host and not for the
> https.
> 
> Oscar Carrillo
> 
> On Mon, 2 Feb 2004, Ralf Schneider wrote:
> 
> > Am Montag, 2. Februar 2004 13:55 schrieb Yiannis Mavroukakis:
> > > Best remove that line, stick it in your httpd.conf instead along
> with the
> > > hostname.
> > 
> > This wasn't the problem. I did not notice that mod_ssl was not
> compiled into 
> > httpd :-( After a rebuild of Apache (now with SSL support :-) and
> works now.
> > 
> > My last problem to solve (I hope :-) is how can I prevent user from
> accessing 
> > the webapp with the normal HTTP protocol instead of HTTPS? At the
> moment both 
> > works, but I only want it to work with HTTPS.
> > 
> > Ralf.
> > 
> > 
> >
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED] 
> > For additional commands, e-mail: [EMAIL PROTECTED]
> 
> > 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED] 
> For additional commands, e-mail: [EMAIL PROTECTED] 
> 
> 
> Jeff Tulley  ([EMAIL PROTECTED])
> (801)861-5322
> Novell, Inc., The Leading Provider of Net Business Solutions
> http://www.novell.com
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Java Job in Williamsburg VA, USA

2004-02-02 Thread Angus Mezick
GuideStar, an Internet-based organization located in historic
Williamsburg, VA seeks an experienced JAVA programmer to work in the
Information Technology department. Successful candidate will have 3+
years of Java programming experience and web based application
development. Specifically, applicants should have experience with the
following technologies: Servlets, Java Beans, JSPs (Java Server Pages),
XML, Java Script, and working knowledge of Object Oriented Modeling and
Design (UML) and relational databases. Experience with .Net a plus.
Bachelor's degree in Computer Science or related experience required.
Qualified candidates should send cover letter and resume to Director of
Human Resources, GuideStar, 427 Scotland St., Williamsburg, VA 23185, or
e-mail mailto:[EMAIL PROTECTED] Visit our web site at:
www.guidestar.org.

More information at:
http://www.guidestar.org/search/report/classified_more.jsp?classifiedId=
15583&ein=54-1774039


This is a fulltime position, on location, and there are no relocation
expenses.  We have a tomcat/apache front end using hibernate to connect
to SQLServer. (don't ask)

REPLY TO [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Insufficient Error messages on jsp error

2004-02-02 Thread Martin Gainty
Dan
I would recommend setting up an ANT http://ant.apache.org/ script with
jsp-precompiling right after you freshen source from source control (and
before general java compile step)..this is an absolutely necessary
methodology you should utilise if you will be doing enterprise wide
development.
For that reason I use IDEs for incremental local builds only.
Regards,
Martin
P.S.
Offline topic for Dan-What did you think of the Monster ad during the
Superbowl??

- Original Message -
From: "Daniel Gibby" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Monday, February 02, 2004 3:20 PM
Subject: Re: Insufficient Error messages on jsp error


> Maybe this has to do with the level of debug you have on.
>
> Daniel Gibby
>
> Lukas Österreicher wrote:
>
> >Hello.
> >
> >Since I upgraded to Tomcat 5 it's been bugging me that on errors in jsp
files
> >(I think both compile and runtime) I just get an error like:
> >
> >[ServletException in:/programtracklist.jsp] null'
> >
> >and
> >
> >2004-01-16 14:58:44 ApplicationDispatcher[/yarf] Servlet.service() for
servlet jsp threw exception
> >java.lang.ThreadDeath
> > at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1253)
> > at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1213)
> > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
> > at org.apache.log4j.spi.LoggingEvent.(LoggingEvent.java:145)
> > at org.apache.log4j.Category.forcedLog(Category.java:372)
> >
> >in the logfile, wheras in Tomcat 4 on exactly the same error it gives the
following error
> >that one can work with to fix the error:
> >
> >[ServletException in:/programtracklist.jsp] Unable to compile class for
JSP An error occurred at line: 162 in the jsp file: /programtracklist.jsp
Generated servlet error:
> >[javac] Compiling 1 source file E:\Programme\Apache Group\Tomcat
4.1\work\Standalone\localhost\yarf\programtracklist_jsp.java:480: cannot
resolve symbol
> >symbol : method setValue (int) location: class
org.apache.struts.taglib.html.HiddenTag
_jspx_th_html_hidden_4.setValue(programtracks[0].getProgram_track()); ^ 1
> >error '
> >
> >2004-01-16 15:03:08 Error compiling file: E:\Programme\Apache
Group\Tomcat 4.1\work\Standalone\localhost\yarf\/programtracklist_jsp.java
[javac] Compiling 1
> >source file
> >
> >E:\Programme\Apache Group\Tomcat
4.1\work\Standalone\localhost\yarf\programtracklist_jsp.java:480: cannot
resolve symbol
> >symbol  : method setValue (int)
> >location: class org.apache.struts.taglib.html.HiddenTag
> >
_jspx_th_html_hidden_4.setValue(programtracks[0].getProgram_track());
> >^
> >1 error
> >
> >2004-01-16 15:03:08 ApplicationDispatcher[/yarf] Servlet.service() for
servlet jsp threw exception
> >org.apache.jasper.JasperException: Unable to compile class for JSP
> >
> >An error occurred at line: 162 in the jsp file: /programtracklist.jsp
> >
> >Generated servlet error:
> >[javac] Compiling 1 source file
> >
> >E:\Programme\Apache Group\Tomcat
4.1\work\Standalone\localhost\yarf\programtracklist_jsp.java:480: cannot
resolve symbol
> >symbol  : method setValue (int)
> >location: class org.apache.struts.taglib.html.HiddenTag
> >
_jspx_th_html_hidden_4.setValue(programtracks[0].getProgram_track());
> >^
> >1 error
> >
> >
> > at
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandle
r.java:120)
> > at
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:2
93)
> > at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:313)
> > at org.apache.jasper.compiler.Compiler.compile(Compiler.java:324)
> >
> >
> >Can you tell me why this is?
> >Is it possible to configure tomcat 5 to display an error message
> >as before in Tomcat 4?
> >
> >Thanx in Advance,
> >Lukas Österreicher
> >
> >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: tomcat and apache

2004-02-02 Thread Yansheng Lin
Hi, you might get more answers if you ask this question on httpd mail list.
This is not a tomcat problem, rather it's the proxy configuration in httpd
that's giving you grief.  You might want to take a look on how you define you
 and  directives.  Without looking at your directives, it's
hard to say where the problem could be...


-Original Message-
From: Mark Tebong [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 02, 2004 7:50 AM
To: Tomcat Users List (E-mail)
Subject: tomcat and apache


I have a little problem with my web site. It has to do with the session
disconnecting on my proxy server.
Basically, I have an apache 2.0 server that acts as a web proxy. Its IP is
192.168.11.11. I also have another server which is internal, and running tomcat
with IP 192.168.11.211. On the proxy server, I have it configured so that when a
request for a URL (say www.mydom1.com) comes in, the proxy sends it to
192.168.11.211/mydom1. 
www.mydom1.com maintains a session. When I access the pages of the site that use
the session thru www.mydom1.com, I get an exception. When I access it through
192.168.11.211/mydom1, it works fine. I am accessing it from IP 192.168.11.40.
But from outsite, the only way to access it is through the domain name, and it
gives the same error. 
Similarly, The web site has large graphics, and what happens is that half the
graphics is displayed when you try to access through the proxy, but when you
access it directly, everything is fine. 
This happens the same way from different computers.
I looked at the tomcat logs and I saw that the session was disconnecting when
you used the proxy. 
I have looked everywhere on the web, and I can't find any solutions. 
PLEASE HELP.

Thanks


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Jeff Tulley
You can also put a transport guarantee of "CONFIDENTIAL" in web.xml  
When you do make sure that your redirect ports on the Apache connector
in server.xml are correct (default is 8443, needs to be 443 if you are
using Apache for SSL).


>>> [EMAIL PROTECTED] 2/2/04 10:32:51 AM >>>
I describe this in my HOWTO.

http://www.linuxjava.net/howto/webapp/ 

You either redirect traffic from http to https for that virtual host,
or 
you only mount the webapp in the http virtual host and not for the
https.

Oscar Carrillo

On Mon, 2 Feb 2004, Ralf Schneider wrote:

> Am Montag, 2. Februar 2004 13:55 schrieb Yiannis Mavroukakis:
> > Best remove that line, stick it in your httpd.conf instead along
with the
> > hostname.
> 
> This wasn't the problem. I did not notice that mod_ssl was not
compiled into 
> httpd :-( After a rebuild of Apache (now with SSL support :-) and
works now.
> 
> My last problem to solve (I hope :-) is how can I prevent user from
accessing 
> the webapp with the normal HTTP protocol instead of HTTPS? At the
moment both 
> works, but I only want it to work with HTTPS.
> 
> Ralf.
> 
> 
>
-
> To unsubscribe, e-mail: [EMAIL PROTECTED] 
> For additional commands, e-mail: [EMAIL PROTECTED]

> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 


Jeff Tulley  ([EMAIL PROTECTED])
(801)861-5322
Novell, Inc., The Leading Provider of Net Business Solutions
http://www.novell.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Insufficient Error messages on jsp error

2004-02-02 Thread Daniel Gibby
Maybe this has to do with the level of debug you have on.

Daniel Gibby

Lukas Österreicher wrote:

Hello.

Since I upgraded to Tomcat 5 it's been bugging me that on errors in jsp files
(I think both compile and runtime) I just get an error like:
[ServletException in:/programtracklist.jsp] null' 

and

2004-01-16 14:58:44 ApplicationDispatcher[/yarf] Servlet.service() for servlet jsp 
threw exception
java.lang.ThreadDeath
at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1253)
at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1213)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at org.apache.log4j.spi.LoggingEvent.(LoggingEvent.java:145)
at org.apache.log4j.Category.forcedLog(Category.java:372)
in the logfile, wheras in Tomcat 4 on exactly the same error it gives the following 
error
that one can work with to fix the error:
[ServletException in:/programtracklist.jsp] Unable to compile class for JSP An error occurred at line: 162 in the jsp file: /programtracklist.jsp Generated servlet error: 
[javac] Compiling 1 source file E:\Programme\Apache Group\Tomcat 4.1\work\Standalone\localhost\yarf\programtracklist_jsp.java:480: cannot resolve symbol 
symbol : method setValue (int) location: class org.apache.struts.taglib.html.HiddenTag _jspx_th_html_hidden_4.setValue(programtracks[0].getProgram_track()); ^ 1 
error ' 

2004-01-16 15:03:08 Error compiling file: E:\Programme\Apache Group\Tomcat 4.1\work\Standalone\localhost\yarf\/programtracklist_jsp.java [javac] Compiling 1 
source file

E:\Programme\Apache Group\Tomcat 
4.1\work\Standalone\localhost\yarf\programtracklist_jsp.java:480: cannot resolve symbol
symbol  : method setValue (int)
location: class org.apache.struts.taglib.html.HiddenTag
 _jspx_th_html_hidden_4.setValue(programtracks[0].getProgram_track());
   ^
1 error
2004-01-16 15:03:08 ApplicationDispatcher[/yarf] Servlet.service() for servlet jsp 
threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 162 in the jsp file: /programtracklist.jsp

Generated servlet error:
   [javac] Compiling 1 source file
E:\Programme\Apache Group\Tomcat 
4.1\work\Standalone\localhost\yarf\programtracklist_jsp.java:480: cannot resolve symbol
symbol  : method setValue (int)
location: class org.apache.struts.taglib.html.HiddenTag
 _jspx_th_html_hidden_4.setValue(programtracks[0].getProgram_track());
   ^
1 error
at 
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:120)
at 
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:313)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:324)
Can you tell me why this is?
Is it possible to configure tomcat 5 to display an error message
as before in Tomcat 4?
Thanx in Advance,
Lukas Österreicher


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: About_tomcat5_manager_and_status_application

2004-02-02 Thread Josh Rehman
I think the answer was, "You can't". Not, "if you change some libraries 
it might work".

Ingmars Rubenis wrote:
Do You know what libraries Should I change like common.jar
May be I should change all server/lib libraries and also common?
Yoav> Howdy,


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT

2004-02-02 Thread Josh Rehman
Maybe the best thing to do is to try to bulk unsubscribe everyone on the 
list. All the autoresponders will go away. Normal people will stay.

My recommendation is to require subscribers to do something in the 
reply, like type a word.

Filip Hanik (lists) wrote:
yes,
but the user will not get unsubscribed unless he replies, so you could not
unsubscribe me for example
Filip

-Original Message-
From: Mike Curwen [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 10:11 AM
To: 'Tomcat Users List'
Subject: RE:  'Getty=001-016-162'Error in JDBC conn / Apache
Tomcat/4.1.29 URGENT
so can anyone do this?


-Original Message-
From: Filip Hanik (lists) [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 12:08 PM
To: Tomcat Users List
Subject: RE:  'Getty=001-016-162'Error in JDBC conn /
Apache Tomcat/4.1.29 URGENT
and here is the syntax to unsubscribe an auto replyer

[EMAIL PROTECTED]

this would unsubscribe [EMAIL PROTECTED] if he autoreplies

Filip

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 9:52 AM
To: Tomcat Users List
Subject: RE:  'Getty=001-016-162'Error in JDBC conn /
Apache Tomcat/4.1.29 URGENT


Howdy,


writing rules will still take up our bandwidth, so it is in
everyones

interestest to get these off the list as opposed to filtering them
Of course.  I just said that people can't count on IMMEDIATE
removal of the offending user.  I left unsaid my wish that
people wouldn't complain when the offender isn't removed
within a couple of hours because, well, people will always complain ;)
Yoav Shapira



This e-mail, including any attachments, is a confidential
business communication, and may contain information that is
confidential, proprietary and/or privileged.  This e-mail is
intended only for the individual(s) to whom it is addressed,
and may not be saved, copied, printed, disclosed or used by
anyone else.  If you are not the(an) intended recipient,
please immediately delete this e-mail from your computer
system and notify the sender.  Thank you.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Thanks,
Josh Rehman
Citysearch Toolsdev, 3559
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Insufficient Error messages on jsp error

2004-02-02 Thread Lukas Österreicher
Hello.

Since I upgraded to Tomcat 5 it's been bugging me that on errors in jsp files
(I think both compile and runtime) I just get an error like:

[ServletException in:/programtracklist.jsp] null' 

and

2004-01-16 14:58:44 ApplicationDispatcher[/yarf] Servlet.service() for servlet jsp 
threw exception
java.lang.ThreadDeath
at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1253)
at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1213)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at org.apache.log4j.spi.LoggingEvent.(LoggingEvent.java:145)
at org.apache.log4j.Category.forcedLog(Category.java:372)

in the logfile, wheras in Tomcat 4 on exactly the same error it gives the following 
error
that one can work with to fix the error:

[ServletException in:/programtracklist.jsp] Unable to compile class for JSP An error 
occurred at line: 162 in the jsp file: /programtracklist.jsp Generated servlet error: 
[javac] Compiling 1 source file E:\Programme\Apache Group\Tomcat 
4.1\work\Standalone\localhost\yarf\programtracklist_jsp.java:480: cannot resolve 
symbol 
symbol : method setValue (int) location: class org.apache.struts.taglib.html.HiddenTag 
_jspx_th_html_hidden_4.setValue(programtracks[0].getProgram_track()); ^ 1 
error ' 

2004-01-16 15:03:08 Error compiling file: E:\Programme\Apache Group\Tomcat 
4.1\work\Standalone\localhost\yarf\/programtracklist_jsp.java [javac] Compiling 1 
source file

E:\Programme\Apache Group\Tomcat 
4.1\work\Standalone\localhost\yarf\programtracklist_jsp.java:480: cannot resolve symbol
symbol  : method setValue (int)
location: class org.apache.struts.taglib.html.HiddenTag
  _jspx_th_html_hidden_4.setValue(programtracks[0].getProgram_track());
^
1 error

2004-01-16 15:03:08 ApplicationDispatcher[/yarf] Servlet.service() for servlet jsp 
threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 162 in the jsp file: /programtracklist.jsp

Generated servlet error:
[javac] Compiling 1 source file

E:\Programme\Apache Group\Tomcat 
4.1\work\Standalone\localhost\yarf\programtracklist_jsp.java:480: cannot resolve symbol
symbol  : method setValue (int)
location: class org.apache.struts.taglib.html.HiddenTag
  _jspx_th_html_hidden_4.setValue(programtracks[0].getProgram_track());
^
1 error


at 
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:120)
at 
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:313)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:324)


Can you tell me why this is?
Is it possible to configure tomcat 5 to display an error message
as before in Tomcat 4?

Thanx in Advance,
Lukas Österreicher



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT

2004-02-02 Thread Chakravarthy, Sundar
Try using JDBC in a stand-alone Java app instead of Tomcat.
Just to make sure you have the right driver/classes .

-Original Message-
From: Keshav Sarin [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 02, 2004 2:10 PM
To: [EMAIL PROTECTED]
Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT

You need to remove all references to the database driver from the system
and web app classpath. Don't put the driver in web-inf/lib directory.
Just keep the driver in the tomcat_home/common/lib directory. 


>>> [EMAIL PROTECTED] 02/02/04 10:34AM >>>
This is setenv file:
 
set
classpath=.;C:\j2sdk1.4.2_03\lib\tools.jar;..\web-inf\classes;..\web-inf
\lib\cos.jar;..\web-inf\lib\jnlp.jar;..\web-inf\lib\log4j.jar;..\web-inf
\lib\xml4j.jar;..\web-inf\lib\ldapjdk.jar;..\web-inf\lib\ldapsearch.jar.
.\web-inf\lib\classes12.jar;%classpath%

 
and Class path set in system is :
 
.;C:\Estimation;C:\Tomcat\common\lib\servlet.jar;C:\Tomcat\common\lib\ma
il.jar;C:\Tomcat\common\lib\activation.jar;C:\Tomcat\common\lib\jndi.jar
;C:\Tomcat\common\lib\jdbc2_0-stdext.jar;C:\Tomcat\common\lib\ojdbc14.ja
r
 
ANy Bug ??

Regards
Abhay



-Original Message-
From: Mike Curwen [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 02, 2004 11:25 AM
To: 'Tomcat Users List'
Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT


Just to be sure.. you tried classes12.**jar**  (renamed .zip to .jar)
?


> -Original Message-
> From: Kumar Abhay-CAK203C [mailto:[EMAIL PROTECTED] 
> Sent: Monday, February 02, 2004 11:12 AM
> To: 'Tomcat Users List'
> Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
> Importance: High
> 
> 
> 
> I hv tried this also .. No success
> 
> Abhay
> 
> 
> 
> -Original Message-
> From: Chakravarthy, Sundar [mailto:[EMAIL PROTECTED] 
> Sent: Monday, February 02, 2004 10:56 AM
> To: Tomcat Users List
> Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
> 
> 
> Trying using classes12.jar in /common/lib
> 
> -Original Message-
> From: Kumar Abhay-CAK203C [mailto:[EMAIL PROTECTED] 
> Sent: Monday, February 02, 2004 11:50 AM
> To: 'Tomcat Users List'
> Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
> Importance: High
> 
> Path of the dB driver is as follows: Still the same error
> 
> C:\Tomcat\common\lib\ojdbc14.jar
> 
> Abhay
> 
> -Original Message-
> From: Keshav Sarin [mailto:[EMAIL PROTECTED] 
> Sent: Monday, February 02, 2004 10:44 AM
> To: [EMAIL PROTECTED] 
> Subject: Re: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
> 
> 
> Put the database driver in tomcat_home/common/lib directory
> and restart tomcat.
> 
> 
> >>> [EMAIL PROTECTED] 02/02/04 09:35AM >>>
> Hi ,
> 
> I am getting the following error in JDBC conn. Error log and
> other details are as follows:
> 
> Please help !!
> 
> Regards
> Abhay
> 
> --
> --
> -
> I am using :==
> Apache Tomcat/4.1.29 
> SQL*Plus: Release 9.0.1.4.0 - Production on Mon Feb 2 09:39:33 2004 
> Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production 
> j2sdk1.4.2_03 
> ojdbc14.jar 
> --
> --
> --
> 
>  type="java.lang.Integer" value="30"/>  auth="Container" description="User database that can be 
> updated and saved" name="UserDatabase" scope="Shareable" 
> type="org.apache.catalina.UserDatabase"/>
>  type="javax.sql.DataSource"/>  name="UserDatabase">  factory 
> org.apache.catalina.users.MemoryUserDatabaseFactory
> 
> 
> pathname
> conf/tomcat-users.xml
> 
> 
> 
> 
> validationQuery
> select sysdate from dual
> 
> 
> maxWait
> 5000
> 
> 
> maxActive
> 4
> 
> 
> password
> eppsys
> 
> 
> url 
> jdbc:oracle:thin:@oswego.comm.mot.com:1521:DEV
> 
> 
> driverClassName 
> oracle.jdbc.driver.OracleDriver
> 
> 
> maxIdle
> 2
> 
> 
> username
> eppsys
> 
> 
> 
> --
> Feb 2, 2004 9:38:47 AM org.apache.coyote.http11.Http11Protocol init 
> INFO: Initializing Coyote HTTP/1.1 on port 80 
> Starting service Tomcat-Standalone 
> Apache Tomcat/4.1.29 
> Feb 2, 2004 9:38:56 AM
org.apache.struts.util.PropertyMessageResources
>  
> INFO: Initializing, config='org.apache.struts.util.LocalStrings',
> returnNull=true 
> Feb 2, 2004 9:38:56 AM
org.apache.struts.util.PropertyMessageResources
>  
> INFO: Initializing,
config='org.apache.struts.action.ActionResources',
> returnNull=true 
> Feb 2, 2004 9:39:02 AM
org.apache.struts.util.PropertyMessageResources
>  
> INFO: Initializing, 
> config='org.apache.webapp.admin.ApplicationResources', 
> returnNull=true 
> Looking up jdbc/estimation 
> Found 
> Feb 2, 2004 9:39:23 AM org.apache.coyote.http11.Http11Protocol start

> INFO: Starting Coyote HTTP/1.1 on port 80 
> Feb 2, 2004 9:39:23 AM org.apache.jk.common.ChannelSocket init 
> INFO: JK2: ajp13 listening on /0.0.0.0:8009 
> Feb 2, 2004 9:39:23 AM org.apache.jk.server.JkMain start 
> INFO: Jk 

RE: Tomcat5 RH ES mod_jk2 Apache2

2004-02-02 Thread Hamilton Andrew
I have RH AS and I use Tomcat5, mod_jk2, and apache2 and they all work fine.
I use the uri's you say don't work, ie
[uri:/servlets-examples/*] works just fine for me.  You are free to do what
you like as far as switching to a different framework.  I see several people
are trying to help you and it might help to post your entire current
workers2.properties and your jk2.properties.  Does everything work properly
when you use just Tomcat and not apache?  

Here is my workers2.properties:
#
[logger.apache2]
level=DEBUG

[shm]
file=/www/apache2/logs/shm.file
size=1048576

# Define the communication channel
[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
tomcatId=localhost:8009

# define the worker
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009

[uri:/jsp-examples/*]
info=Map the jsp-examples webapp
worker=ajp13:localhost:8009

[uri:/servlets-examples/*]
info=Map the servlets-examples webapp
worker=ajp13:localhost:8009
#

And my jk2.properties:

#
# Set the desired handler list
handler.list=channelSocket,request
#
# Override the default port for the socketChannel
# channelSocket.port=8019
# Default: 
# channelUnix.file=${jkHome}/work/jk2.socket
# Just to check if the the config  is working
# shm.file=${jkHome}/work/jk2.shm

# In order to enable jni use any channelJni directive
# channelJni.disabled = 0
# And one of the following directives:
# apr.jniModeSo=/www/apache2/modules/mod_jk2.so
# If set to inprocess the mod_jk2 will Register natives itself
# This will enable the starting of the Tomcat from mod_jk2
# apr.jniModeSo=inprocess
#


-Original Message-
From: Rich Baldwin [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 2:04 PM
To: Tomcat Users List
Subject: Re: Tomcat5 RH ES mod_jk2 Apache2




Well.  I have gotten Tomcat5, RH ES, mod_jk2, and apache2 all working.  
I've come to the conclusion that the clowns
who developed this stuff sit back and watch the traffic on the list and 
laugh.  Here is what you need to do in your workers2.properites file:

For every servlet you need to define a worker in worker2.properties.

[uri:/servlets-examples/*]  This won't work, but this will

[uri:/servlets-examples/servlet/HelloWorldExample]
[uri:/servlets-examples/servlet/RequestInfoExample]
etc.

[uri:/servlets-examples/servlet/*] won't work
[uri:/servlets-examples/servlet/*.*] won't work
[uri:/servlets-examples/servlet/*e] will work, but all of your servlets must
end with the letter 'e'

Unless one of you fine developers want to clear this up.  I'm going to
switch to Jetty.  Tomcat is crap!!!



Yiannis Mavroukakis wrote:

>Curious...Send me your entire workers2.properties file and I'll have a
look.
>
>Also, what are the urls you are using to access your html/jsp/servlets?
Feel
>free to use 'localhost' if you don't want to reveal sensitive server
>hostname/ip's
>
>Yiannis
>
>-Original Message-
>From: Rich Baldwin [mailto:[EMAIL PROTECTED]
>Sent: 02 February 2004 15:22
>To: Tomcat Users List
>Subject: Re: Tomcat5 RH ES mod_jk2 Apache2
>
>
>Same as in the past works fine on port 8080.  Jsp stuff works on port 
>80.  Html in servlets-examples works fine.  Servlets cannot be found???
>
>Yiannis Mavroukakis wrote:
>
>  
>
>>Hmm ok.. :)
>>you don't need
>>channelSocket.address=127.0.0.1
>>in jk2.properties.
>>Add the following under [channel.socket:localhost:8009]
>>host=localhost
>>port=8009
>>
>>and under [ajp13:localhost:8009] add this
>>channel=channel.socket:localhost:8009
>>
>>Before you go about making those changes, make sure that your servlets
>>are working OK on standalone tomcat :)
>>
>>Good luck,
>>
>>Yiannis.
>>
>>-Original Message-
>>From: Rich Baldwin [mailto:[EMAIL PROTECTED]
>>Sent: 02 February 2004 14:10
>>To: Tomcat Users List
>>Subject: Re: Tomcat5 RH ES mod_jk2 Apache2
>>
>>
>>The jsp is working but not the servlets.  I've double check /alias and 
>>workers for typos. Other suggestions??
>>
>>Yiannis Mavroukakis wrote:
>>
>> 
>>
>>
>>
>>>Make these additions/ammendments to workers2
>>>
>>>[ajp13:localhost:8009]
>>>channel=channel.socket:localhost:809
>>>
>>>[shm]
>>>file=/tmp/shm.file
>>>size=100
>>>
>>>
>>>Yiannis.
>>>-Original Message-
>>>From: Rich Baldwin [mailto:[EMAIL PROTECTED]
>>>Sent: 30 January 2004 18:27
>>>To: [EMAIL PROTECTED]
>>>Subject: Tomcat5 RH ES mod_jk2 Apache2
>>>
>>>
>>>I finally made some progress configuring Tomcat5 Apache2 and mod_jk2 
>>>running on RedHat Enterprise Server.  I get html over port 80, but no 
>>>jsp or servlets will run.  Don't know what I may have missed.
>>>
>>>jk2.properties
>>>handler.list=channelSocket,request
>>>channelSocket.port=8009
>>>channelSocket.address=127.0.0.1
>>>
>>>workers2.properties
>>>[channel.socket:localhost:8009]
>>>
>>>[ajp13:localhost:8009]
>>>
>>>[status:status]
>>>[uri:/sjstatus/*]
>>>group=status:status
>>>
>>>[uri:/servlets-ex

OFF TOPIC: email postage should be of interest to those who use OSS newslists

2004-02-02 Thread David Wall
Sorry for this off topic posting, but it should be of interest to those in the OSS 
communities since it threatens us.

The following story appeared in the New York Times as well as various local papers 
(like the one here in Seattle).

http://www.nytimes.com/2004/02/02/technology/02spam.html

The gist is that Microsoft, Yahoo and others are trying to create a scam in which they 
charge postage for email.  Note that this would be used against all open source 
projects that rely heavily on free emails going out to developers and users.  Note 
that spam filters in the big ISPs will only be made more restrictive in order to 
increase utilization of the postage scam.  After all, nearly every email sent arrives 
at its destination today, so nobody will pay.  But as they tighten the rules, more 
legit email will get blocked as spam, thus forcing us into paying for postage that 
provides no added services, and of course would cripple OSS projects that rely on 
email.

Below is my letter to the editor of the NYT and a few quotes from the article for 
those who aren't registered on the NYT site.

Thanks,
David



Re: "Gates Backs E-Mail Stamp in War on Spam," 
http://www.nytimes.com/2004/02/02/technology/02spam.html

Dear Mr. Hansell:

Postage for sending email?  That sounds like a greedy attempt to charge
twice without providing any added services.

Our tax dollars paid to create the Internet and the communications protocols
freely used by Microsoft and Yahoo.  But now there's a new land grab to try
to privatize our public, worldwide network that promotes freedom.

Our monthly ISP and telephone fees already pay for our usage of the Internet.

Now we're told that for our own good, we should pay for each email sent,
even though we've already paid for that privilege.  Open source projects
rely heavily on email for developer communications and for user support.  Is
it surprising that Microsoft likes such a scheme?  Will we next have to pay
for each instant message or each web page we visit?

A typical email, like this one, is about 2 KB in size.  Today's MSN homepage
is 100 KB, with lots of unsolicited ads.  Unsolicited popup ads often run in
the 13-20KB range.  Should Microsoft have to pay me to view these ads?
Their web page consumes 50 times more bandwidth than this email.

Lastly, there are commercials services today like Yozons.com that charge for
sending secure messages that have no spam or viruses, but at least they
offer lots of features beyond email (working return receipts, encrypted delivery
to ensure privacy, electronic signatures, status tracking of messages sent, etc.) 
so many find it worth the extra money spent.

We'll pay for services we want, but paying twice for no added service is bad
all around.

Sincerely,
David Wall

+

Some quotes from the NYT story, since I realize I cannot post the entire story here 
for copyright reasons:

"Ten days ago, Bill Gates, Microsoft's chairman, told the World Economic Forum in 
Davos, Switzerland, that spam would not be a problem in two years, in part because of 
systems that would require people to pay money to send e-mail. Yahoo, meanwhile, is 
quietly evaluating an e-mail postage plan being developed by Goodmail, a Silicon 
Valley start-up company."

""Damn if I will pay postage for my nice list," said David Farber, a professor at 
Carnegie Mellon University, who runs a mailing list on technology and policy with 
30,000 recipients. He said electronic postage systems are likely to be too complex and 
would charge noncommercial users who should be able to send e-mail free."

"But for the big Internet access providers, or I.S.P.'s, the prospect of e-mail 
postage creating a new revenue stream that could help offset the cost of their e-mail 
systems is undeniably attractive"

Re: Session disconnect

2004-02-02 Thread Antonio Fiol Bonnín
Sessions do not, but the underlying cookies may. It was just a suggestion.

Antonio Fiol

Mark Tebong wrote:

I don't think it has anythin to so with cookies because sessions don't
use paths. 

-Original Message-
From: Antonio Fiol Bonnin [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 01, 2004 3:30 AM
To: Tomcat Users List
Subject: Re: Session disconnect


Mark Tebong wrote:

 

I have it configured so that when a request for a URL (say
   

www.mydom1.com) comes in, the proxy sends it to 192.168.11.211/mydom1. 
 



   

 

When I access the pages of the site that use the session thru
   

www.mydom1.com, I get an exception. When I access it through
192.168.11.211/mydom1, it works fine.
 



   

 

I looked at the tomcat logs and I saw that the session was
   

disconnecting when you used the proxy. 
 



   

Hi,

No idea about the "images" stuff, but...

Could you be having trouble because of the "path" attribute of the
cookies?
If Tomcat (or your webapp) is setting it to "/mydom1" then browsers will

not send it when accessing "/".

HTH,

Antonio Fiol

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 




smime.p7s
Description: S/MIME Cryptographic Signature


RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT

2004-02-02 Thread Keshav Sarin
You need to remove all references to the database driver from the system
and web app classpath. Don't put the driver in web-inf/lib directory.
Just keep the driver in the tomcat_home/common/lib directory. 


>>> [EMAIL PROTECTED] 02/02/04 10:34AM >>>
This is setenv file:
 
set
classpath=.;C:\j2sdk1.4.2_03\lib\tools.jar;..\web-inf\classes;..\web-inf\lib\cos.jar;..\web-inf\lib\jnlp.jar;..\web-inf\lib\log4j.jar;..\web-inf\lib\xml4j.jar;..\web-inf\lib\ldapjdk.jar;..\web-inf\lib\ldapsearch.jar..\web-inf\lib\classes12.jar;%classpath%
 
and Class path set in system is :
 
.;C:\Estimation;C:\Tomcat\common\lib\servlet.jar;C:\Tomcat\common\lib\mail.jar;C:\Tomcat\common\lib\activation.jar;C:\Tomcat\common\lib\jndi.jar;C:\Tomcat\common\lib\jdbc2_0-stdext.jar;C:\Tomcat\common\lib\ojdbc14.jar
 
ANy Bug ??

Regards
Abhay



-Original Message-
From: Mike Curwen [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 02, 2004 11:25 AM
To: 'Tomcat Users List'
Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT


Just to be sure.. you tried classes12.**jar**  (renamed .zip to .jar)
?


> -Original Message-
> From: Kumar Abhay-CAK203C [mailto:[EMAIL PROTECTED] 
> Sent: Monday, February 02, 2004 11:12 AM
> To: 'Tomcat Users List'
> Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
> Importance: High
> 
> 
> 
> I hv tried this also .. No success
> 
> Abhay
> 
> 
> 
> -Original Message-
> From: Chakravarthy, Sundar [mailto:[EMAIL PROTECTED] 
> Sent: Monday, February 02, 2004 10:56 AM
> To: Tomcat Users List
> Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
> 
> 
> Trying using classes12.jar in /common/lib
> 
> -Original Message-
> From: Kumar Abhay-CAK203C [mailto:[EMAIL PROTECTED] 
> Sent: Monday, February 02, 2004 11:50 AM
> To: 'Tomcat Users List'
> Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
> Importance: High
> 
> Path of the dB driver is as follows: Still the same error
> 
> C:\Tomcat\common\lib\ojdbc14.jar
> 
> Abhay
> 
> -Original Message-
> From: Keshav Sarin [mailto:[EMAIL PROTECTED] 
> Sent: Monday, February 02, 2004 10:44 AM
> To: [EMAIL PROTECTED] 
> Subject: Re: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
> 
> 
> Put the database driver in tomcat_home/common/lib directory
> and restart tomcat.
> 
> 
> >>> [EMAIL PROTECTED] 02/02/04 09:35AM >>>
> Hi ,
> 
> I am getting the following error in JDBC conn. Error log and
> other details are as follows:
> 
> Please help !!
> 
> Regards
> Abhay
> 
> --
> --
> -
> I am using :==
> Apache Tomcat/4.1.29 
> SQL*Plus: Release 9.0.1.4.0 - Production on Mon Feb 2 09:39:33 2004 
> Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production 
> j2sdk1.4.2_03 
> ojdbc14.jar 
> --
> --
> --
> 
>  type="java.lang.Integer" value="30"/>  auth="Container" description="User database that can be 
> updated and saved" name="UserDatabase" scope="Shareable" 
> type="org.apache.catalina.UserDatabase"/>
>  type="javax.sql.DataSource"/>  name="UserDatabase">  factory 
> org.apache.catalina.users.MemoryUserDatabaseFactory
> 
> 
> pathname
> conf/tomcat-users.xml
> 
> 
> 
> 
> validationQuery
> select sysdate from dual
> 
> 
> maxWait
> 5000
> 
> 
> maxActive
> 4
> 
> 
> password
> eppsys
> 
> 
> url 
> jdbc:oracle:thin:@oswego.comm.mot.com:1521:DEV
> 
> 
> driverClassName 
> oracle.jdbc.driver.OracleDriver
> 
> 
> maxIdle
> 2
> 
> 
> username
> eppsys
> 
> 
> 
> --
> Feb 2, 2004 9:38:47 AM org.apache.coyote.http11.Http11Protocol init 
> INFO: Initializing Coyote HTTP/1.1 on port 80 
> Starting service Tomcat-Standalone 
> Apache Tomcat/4.1.29 
> Feb 2, 2004 9:38:56 AM
org.apache.struts.util.PropertyMessageResources
>  
> INFO: Initializing, config='org.apache.struts.util.LocalStrings',
> returnNull=true 
> Feb 2, 2004 9:38:56 AM
org.apache.struts.util.PropertyMessageResources
>  
> INFO: Initializing,
config='org.apache.struts.action.ActionResources',
> returnNull=true 
> Feb 2, 2004 9:39:02 AM
org.apache.struts.util.PropertyMessageResources
>  
> INFO: Initializing, 
> config='org.apache.webapp.admin.ApplicationResources', 
> returnNull=true 
> Looking up jdbc/estimation 
> Found 
> Feb 2, 2004 9:39:23 AM org.apache.coyote.http11.Http11Protocol start

> INFO: Starting Coyote HTTP/1.1 on port 80 
> Feb 2, 2004 9:39:23 AM org.apache.jk.common.ChannelSocket init 
> INFO: JK2: ajp13 listening on /0.0.0.0:8009 
> Feb 2, 2004 9:39:23 AM org.apache.jk.server.JkMain start 
> INFO: Jk running ID=0 time=30/220 
> config=C:\Tomcat\bin\..\conf\jk2.properties 
> org.apache.commons.dbcp.SQLNestedException: Cannot create 
> JDBC driver of class '' for connect URL 'null', cause: 
> java.sql.SQLException: No suitable driver 
> at java.sql.DriverManager.getDriver(DriverManager.java:243) 
> at 
> org.apache.c

Re: Tomcat5 RH ES mod_jk2 Apache2

2004-02-02 Thread Rich Baldwin


Well.  I have gotten Tomcat5, RH ES, mod_jk2, and apache2 all working.  
I've come to the conclusion that the clowns
who developed this stuff sit back and watch the traffic on the list and 
laugh.  Here is what you need to do in your workers2.properites file:

For every servlet you need to define a worker in worker2.properties.

[uri:/servlets-examples/*]  This won't work, but this will

[uri:/servlets-examples/servlet/HelloWorldExample]
[uri:/servlets-examples/servlet/RequestInfoExample]
etc.
[uri:/servlets-examples/servlet/*] won't work
[uri:/servlets-examples/servlet/*.*] won't work
[uri:/servlets-examples/servlet/*e] will work, but all of your servlets must end with 
the letter 'e'
Unless one of you fine developers want to clear this up.  I'm going to switch to Jetty.  Tomcat is crap!!!



Yiannis Mavroukakis wrote:

Curious...Send me your entire workers2.properties file and I'll have a look.

Also, what are the urls you are using to access your html/jsp/servlets? Feel
free to use 'localhost' if you don't want to reveal sensitive server
hostname/ip's
Yiannis

-Original Message-
From: Rich Baldwin [mailto:[EMAIL PROTECTED]
Sent: 02 February 2004 15:22
To: Tomcat Users List
Subject: Re: Tomcat5 RH ES mod_jk2 Apache2
Same as in the past works fine on port 8080.  Jsp stuff works on port 
80.  Html in servlets-examples works fine.  Servlets cannot be found???

Yiannis Mavroukakis wrote:

 

Hmm ok.. :)
you don't need
channelSocket.address=127.0.0.1
in jk2.properties.
Add the following under [channel.socket:localhost:8009]
host=localhost
port=8009
and under [ajp13:localhost:8009] add this
channel=channel.socket:localhost:8009
Before you go about making those changes, make sure that your servlets
are working OK on standalone tomcat :)
Good luck,

Yiannis.

-Original Message-
From: Rich Baldwin [mailto:[EMAIL PROTECTED]
Sent: 02 February 2004 14:10
To: Tomcat Users List
Subject: Re: Tomcat5 RH ES mod_jk2 Apache2
The jsp is working but not the servlets.  I've double check /alias and 
workers for typos. Other suggestions??

Yiannis Mavroukakis wrote:



   

Make these additions/ammendments to workers2

[ajp13:localhost:8009]
channel=channel.socket:localhost:809
[shm]
file=/tmp/shm.file
size=100
Yiannis.
-Original Message-
From: Rich Baldwin [mailto:[EMAIL PROTECTED]
Sent: 30 January 2004 18:27
To: [EMAIL PROTECTED]
Subject: Tomcat5 RH ES mod_jk2 Apache2
I finally made some progress configuring Tomcat5 Apache2 and mod_jk2 
running on RedHat Enterprise Server.  I get html over port 80, but no 
jsp or servlets will run.  Don't know what I may have missed.

jk2.properties
handler.list=channelSocket,request
channelSocket.port=8009
channelSocket.address=127.0.0.1
workers2.properties
[channel.socket:localhost:8009]
[ajp13:localhost:8009]

[status:status]
[uri:/sjstatus/*]
group=status:status
[uri:/servlets-examples/*]
worker=ajp13:localhost:8009
debug=0
Appreciate any help,  Rich

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs.
Note:__
This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please immediately delete it and
all copies of it from your system, destroy any hard copies of it and
notify the sender. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. Jaguar Freight Services and any of its subsidiaries
each reserve the right to monitor all e-mail communications through its
networks.
Any views expressed in this message are those of the individual sender,
except where the message states otherwise and the sender is authorized
to state them to be the views of any such entity.

This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs.
  

 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs.
Note:__
This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you re

RE: access log

2004-02-02 Thread Shapira, Yoav

Howdy,

>re: asynchronous DB writes - Tim pointed out the JDBCAccessLogValve. I
>assume you are thinking that this would quickly become a bottleneck?

Yeah, that's what I'm thinking.  Writing the access log valve should be
very very quick, very very scalable, or it easily becomes a bottleneck.
Remember, for example, that a single page request with 9 images is 10
access log writes.  10 users asking for that page concurrently means 100
concurren access log writes, etc etc.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: access log

2004-02-02 Thread Adam Hardy
On 02/02/2004 02:54 PM Shapira, Yoav wrote:
- if anyone was thinking of adapting it to write to a database via
jdbc?
Too slow, unless done very carefully asynchronously (and then you have
to really take care to keep entries in the right order, etc -- it's a
nightmare).
There are no open bugs against JDBCAccessLogValve.

re: asynchronous DB writes - Tim pointed out the JDBCAccessLogValve. I 
assume you are thinking that this would quickly become a bottleneck?

Adam
--
struts 1.1 + tomcat 5.0.16 + java 1.4.2
Linux 2.4.20 Debian
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Oscar Carrillo
BTW, there's sample http.conf, ssl.conf, and server.xml files there.

In the config files, I denote your host that resolves to an IP as
"myhost.mydomain", and your virtual host as "host1.domain".

http://www.linuxjava.net/howto/webapp/install_files/

Oscar

On Mon, 2 Feb 2004, Oscar Carrillo wrote:

> I describe this in my HOWTO.
> 
> http://www.linuxjava.net/howto/webapp/
> 
> You either redirect traffic from http to https for that virtual host, or 
> you only mount the webapp in the http virtual host and not for the https.
> 
> Oscar Carrillo
> 
> On Mon, 2 Feb 2004, Ralf Schneider wrote:
> 
> > Am Montag, 2. Februar 2004 13:55 schrieb Yiannis Mavroukakis:
> > > Best remove that line, stick it in your httpd.conf instead along with the
> > > hostname.
> > 
> > This wasn't the problem. I did not notice that mod_ssl was not compiled into 
> > httpd :-( After a rebuild of Apache (now with SSL support :-) and works now.
> > 
> > My last problem to solve (I hope :-) is how can I prevent user from accessing 
> > the webapp with the normal HTTP protocol instead of HTTPS? At the moment both 
> > works, but I only want it to work with HTTPS.
> > 
> > Ralf.
> > 
> > 
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Oscar Carrillo
I describe this in my HOWTO.

http://www.linuxjava.net/howto/webapp/

You either redirect traffic from http to https for that virtual host, or 
you only mount the webapp in the http virtual host and not for the https.

Oscar Carrillo

On Mon, 2 Feb 2004, Ralf Schneider wrote:

> Am Montag, 2. Februar 2004 13:55 schrieb Yiannis Mavroukakis:
> > Best remove that line, stick it in your httpd.conf instead along with the
> > hostname.
> 
> This wasn't the problem. I did not notice that mod_ssl was not compiled into 
> httpd :-( After a rebuild of Apache (now with SSL support :-) and works now.
> 
> My last problem to solve (I hope :-) is how can I prevent user from accessing 
> the webapp with the normal HTTP protocol instead of HTTPS? At the moment both 
> works, but I only want it to work with HTTPS.
> 
> Ralf.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: 'Getty=001-016-162'Error in JDBC conn / Apache Tomc at/4.1.29 URGENT

2004-02-02 Thread Hamilton Andrew
Yeah, I tried as well.  They didn't bounce but I also got no response back.

Drew

-Original Message-
From: Mike Curwen [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 1:32 PM
To: 'Tomcat Users List'
Subject: RE:  'Getty=001-016-162'Error in JDBC conn / Apache
Tomcat/4.1.29 URGENT


and in the case of 
unsubscribe this email:  [EMAIL PROTECTED]
 
it's unlikely it will make it past their * Mail Server.  They've
probably gone 'restrictive' during the email storm.  I tried sending
email to [EMAIL PROTECTED] and [EMAIL PROTECTED], and both bounced.  My
subject was "information" and my body said "please send me information".
 


> -Original Message-
> From: Tim Funk [mailto:[EMAIL PROTECTED] 
> Sent: Monday, February 02, 2004 12:24 PM
> To: Tomcat Users List
> Subject: Re:  'Getty=001-016-162'Error in JDBC conn / 
> Apache Tomcat/4.1.29 URGENT
> 
> 
> Well you can start the unsubscribe for someone else. But the unsub is 
> complete only when the user responds to the reply-to in the 
> request for 
> confirmation. Who knows if auto responders to the reply-to.
> 
> -Tim
> 
> Mike Curwen wrote:
> 
> > so can anyone do this?
> > 
> > 
> >>-Original Message-
> >>From: Filip Hanik (lists) [mailto:[EMAIL PROTECTED]
> >>Sent: Monday, February 02, 2004 12:08 PM
> >>To: Tomcat Users List
> >>Subject: RE:  'Getty=001-016-162'Error in JDBC conn / 
> >>Apache Tomcat/4.1.29 URGENT
> >>
> >>
> >>and here is the syntax to unsubscribe an auto replyer
> >>
> >>[EMAIL PROTECTED]
> >>
> >>this would unsubscribe [EMAIL PROTECTED] if he autoreplies
> >>
> >>Filip
> >>
> >>-Original Message-
> >>From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
> >>Sent: Monday, February 02, 2004 9:52 AM
> >>To: Tomcat Users List
> >>Subject: RE:  'Getty=001-016-162'Error in JDBC conn /
> >>Apache Tomcat/4.1.29 URGENT
> >>
> >>
> >>
> >>Howdy,
> >>
> >>
> >>>writing rules will still take up our bandwidth, so it is in
> >>
> >>everyones
> >>
> >>>interestest to get these off the list as opposed to filtering them
> >>
> >>Of course.  I just said that people can't count on IMMEDIATE
> >>removal of the offending user.  I left unsaid my wish that 
> >>people wouldn't complain when the offender isn't removed 
> >>within a couple of hours because, well, people will always 
> complain ;)
> >>
> >>Yoav Shapira
> >>
> >>
> >>
> >>This e-mail, including any attachments, is a confidential
> >>business communication, and may contain information that is 
> >>confidential, proprietary and/or privileged.  This e-mail is 
> >>intended only for the individual(s) to whom it is addressed, 
> >>and may not be saved, copied, printed, disclosed or used by 
> >>anyone else.  If you are not the(an) intended recipient, 
> >>please immediately delete this e-mail from your computer 
> >>system and notify the sender.  Thank you.
> >> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: 'Getty=001-016-162'Error in JDBC conn / Apache Tomc at/4.1.29 URGENT

2004-02-02 Thread Hamilton Andrew
Yoav,

Thanks for the efforts in keeping the list clean.  But I have a question.
You said below that this particular user is not a member.  How about anyone
from leds.com domain?  The reply would lead me to believe that the
Administrator catches the email bound for someone else in that domain.

Thanks again.

Drew

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 1:09 PM
To: Tomcat Users List
Subject: RE:  'Getty=001-016-162'Error in JDBC conn / Apache
Tomcat/4.1.29 URGENT



Howdy,

>Would you care to make one more best effort?
>
>unsubscribe this email:  [EMAIL PROTECTED]

For the umpteenth time: this address is not on the list.  I just checked
again to make sure, even though I've tried many times already.

Yoav Shapira



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: URLRewrite help needed

2004-02-02 Thread Shapira, Yoav

Howdy,
Take a look at tomcat 5's balancer webapp, and/or
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/balancer-howto.html

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Duane Burchell [mailto:[EMAIL PROTECTED]
>Sent: Monday, February 02, 2004 1:23 PM
>To: Tomcat Users List
>Subject: URLRewrite help needed
>
>
>Hello
>I'm relatively new to using Tomcat, and need help with what (should be)
an
>easy task.  I've searched through the archives, but haven't found the
>information I need.
>
>I'm basically trying to do a mod_rewrite, but using tomcat (without
apache
>installed).  I've read up on the tuckey.org/urlrewrite, and this
>filter seems to handle exactly what I want.  But I can't get it to
work.
>
>As I understand it, the steps would be :
>1 ) Download the jar files and put them into a urlrewrite directory off
>the WEB-INF directory.
>2)  Alter the web.xml file to include this filter (using code straight
>form the tuckey.org site)
>3)  Alter the urlrewrite file to include the rules that I want (some
basic
>substitutions from google-searchable URLs ex.  /pageid/ ->  &pageid= )
>4)  Restart tomcat.
>
>However, as soon as I add the filter code into the web.xml file, all
>requests return a 404 error (whether the request uses the filter or
not).
>
>This seems like such an easy task, but I can't get it to work.  If
anybody
>can please point out something I'm overlooking, I would appreciate it.
>
>I'm using tomcat 4.1 on Win2K server.
>
>Thanks,
>Duane
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT

2004-02-02 Thread Filip Hanik \(lists\)
is there a user with the leadingedgedesign.com email?



-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 10:09 AM
To: Tomcat Users List
Subject: RE:  'Getty=001-016-162'Error in JDBC conn / Apache
Tomcat/4.1.29 URGENT



Howdy,

>Would you care to make one more best effort?
>
>unsubscribe this email:  [EMAIL PROTECTED]

For the umpteenth time: this address is not on the list.  I just checked
again to make sure, even though I've tried many times already.

Yoav Shapira



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT

2004-02-02 Thread Mike Curwen
and in the case of 
unsubscribe this email:  [EMAIL PROTECTED]
 
it's unlikely it will make it past their * Mail Server.  They've
probably gone 'restrictive' during the email storm.  I tried sending
email to [EMAIL PROTECTED] and [EMAIL PROTECTED], and both bounced.  My
subject was "information" and my body said "please send me information".
 


> -Original Message-
> From: Tim Funk [mailto:[EMAIL PROTECTED] 
> Sent: Monday, February 02, 2004 12:24 PM
> To: Tomcat Users List
> Subject: Re:  'Getty=001-016-162'Error in JDBC conn / 
> Apache Tomcat/4.1.29 URGENT
> 
> 
> Well you can start the unsubscribe for someone else. But the unsub is 
> complete only when the user responds to the reply-to in the 
> request for 
> confirmation. Who knows if auto responders to the reply-to.
> 
> -Tim
> 
> Mike Curwen wrote:
> 
> > so can anyone do this?
> > 
> > 
> >>-Original Message-
> >>From: Filip Hanik (lists) [mailto:[EMAIL PROTECTED]
> >>Sent: Monday, February 02, 2004 12:08 PM
> >>To: Tomcat Users List
> >>Subject: RE:  'Getty=001-016-162'Error in JDBC conn / 
> >>Apache Tomcat/4.1.29 URGENT
> >>
> >>
> >>and here is the syntax to unsubscribe an auto replyer
> >>
> >>[EMAIL PROTECTED]
> >>
> >>this would unsubscribe [EMAIL PROTECTED] if he autoreplies
> >>
> >>Filip
> >>
> >>-Original Message-
> >>From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
> >>Sent: Monday, February 02, 2004 9:52 AM
> >>To: Tomcat Users List
> >>Subject: RE:  'Getty=001-016-162'Error in JDBC conn /
> >>Apache Tomcat/4.1.29 URGENT
> >>
> >>
> >>
> >>Howdy,
> >>
> >>
> >>>writing rules will still take up our bandwidth, so it is in
> >>
> >>everyones
> >>
> >>>interestest to get these off the list as opposed to filtering them
> >>
> >>Of course.  I just said that people can't count on IMMEDIATE
> >>removal of the offending user.  I left unsaid my wish that 
> >>people wouldn't complain when the offender isn't removed 
> >>within a couple of hours because, well, people will always 
> complain ;)
> >>
> >>Yoav Shapira
> >>
> >>
> >>
> >>This e-mail, including any attachments, is a confidential
> >>business communication, and may contain information that is 
> >>confidential, proprietary and/or privileged.  This e-mail is 
> >>intended only for the individual(s) to whom it is addressed, 
> >>and may not be saved, copied, printed, disclosed or used by 
> >>anyone else.  If you are not the(an) intended recipient, 
> >>please immediately delete this e-mail from your computer 
> >>system and notify the sender.  Thank you.
> >> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: 'Getty=001-016-162'Error in JDBC conn / Apache Tomc at/4.1.29 URGENT

2004-02-02 Thread Kannan Sundararajan
I guess this is a spam email and the bug tries to gets into various email
address. It would be waste of time in finding it out of like
"[EMAIL PROTECTED]", since most of spams are send thru bogus email
address. I dont know what is the solution to stop this. But based on this a
good people should not be removed since the spam is utilizing their email
address. 

Thanks to Yoav, for his efforts of supporting tomcat and solutions. 

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 1:09 PM
To: Tomcat Users List
Subject: RE:  'Getty=001-016-162'Error in JDBC conn / Apache
Tomcat/4.1.29 URGENT



Howdy,

>Would you care to make one more best effort?
>
>unsubscribe this email:  [EMAIL PROTECTED]

For the umpteenth time: this address is not on the list.  I just checked
again to make sure, even though I've tried many times already.

Yoav Shapira



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: URLRewrite help needed

2004-02-02 Thread Duane Burchell

I need to pay better attention to what I type.

> As I understand it, the steps would be :
> 1 ) Download the jar files and put them into a urlrewrite directory off
> the WEB-INF directory.

This should read :
1)  Download the jar files, which will extract into a lib subdirectory off
the WEB-INF directory.  The urlrewrite.xml and web.xml files are in the
WEB-INF directory.

Sorry.
- Duane

> 2)  Alter the web.xml file to include this filter (using code straight
> form the tuckey.org site)
> 3)  Alter the urlrewrite file to include the rules that I want (some basic
> substitutions from google-searchable URLs ex.  /pageid/ ->  &pageid= )
> 4)  Restart tomcat.
>
> However, as soon as I add the filter code into the web.xml file, all
> requests return a 404 error (whether the request uses the filter or not).
>
> This seems like such an easy task, but I can't get it to work.  If anybody
> can please point out something I'm overlooking, I would appreciate it.
>
> I'm using tomcat 4.1 on Win2K server.
>
> Thanks,
> Duane
k

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT

2004-02-02 Thread Tim Funk
Well you can start the unsubscribe for someone else. But the unsub is 
complete only when the user responds to the reply-to in the request for 
confirmation. Who knows if auto responders to the reply-to.

-Tim

Mike Curwen wrote:

so can anyone do this?


-Original Message-
From: Filip Hanik (lists) [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 02, 2004 12:08 PM
To: Tomcat Users List
Subject: RE:  'Getty=001-016-162'Error in JDBC conn / 
Apache Tomcat/4.1.29 URGENT

and here is the syntax to unsubscribe an auto replyer

[EMAIL PROTECTED]

this would unsubscribe [EMAIL PROTECTED] if he autoreplies

Filip

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 9:52 AM
To: Tomcat Users List
Subject: RE:  'Getty=001-016-162'Error in JDBC conn / 
Apache Tomcat/4.1.29 URGENT



Howdy,


writing rules will still take up our bandwidth, so it is in 
everyones 

interestest to get these off the list as opposed to filtering them
Of course.  I just said that people can't count on IMMEDIATE 
removal of the offending user.  I left unsaid my wish that 
people wouldn't complain when the offender isn't removed 
within a couple of hours because, well, people will always complain ;)

Yoav Shapira



This e-mail, including any attachments, is a confidential 
business communication, and may contain information that is 
confidential, proprietary and/or privileged.  This e-mail is 
intended only for the individual(s) to whom it is addressed, 
and may not be saved, copied, printed, disclosed or used by 
anyone else.  If you are not the(an) intended recipient, 
please immediately delete this e-mail from your computer 
system and notify the sender.  Thank you.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


URLRewrite help needed

2004-02-02 Thread Duane Burchell

Hello
I'm relatively new to using Tomcat, and need help with what (should be) an
easy task.  I've searched through the archives, but haven't found the
information I need.

I'm basically trying to do a mod_rewrite, but using tomcat (without apache
installed).  I've read up on the tuckey.org/urlrewrite, and this
filter seems to handle exactly what I want.  But I can't get it to work.

As I understand it, the steps would be :
1 ) Download the jar files and put them into a urlrewrite directory off
the WEB-INF directory.
2)  Alter the web.xml file to include this filter (using code straight
form the tuckey.org site)
3)  Alter the urlrewrite file to include the rules that I want (some basic
substitutions from google-searchable URLs ex.  /pageid/ ->  &pageid= )
4)  Restart tomcat.

However, as soon as I add the filter code into the web.xml file, all
requests return a 404 error (whether the request uses the filter or not).

This seems like such an easy task, but I can't get it to work.  If anybody
can please point out something I'm overlooking, I would appreciate it.

I'm using tomcat 4.1 on Win2K server.

Thanks,
Duane

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT

2004-02-02 Thread Filip Hanik \(lists\)
yes,
but the user will not get unsubscribed unless he replies, so you could not
unsubscribe me for example

Filip

-Original Message-
From: Mike Curwen [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 10:11 AM
To: 'Tomcat Users List'
Subject: RE:  'Getty=001-016-162'Error in JDBC conn / Apache
Tomcat/4.1.29 URGENT


so can anyone do this?

> -Original Message-
> From: Filip Hanik (lists) [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 02, 2004 12:08 PM
> To: Tomcat Users List
> Subject: RE:  'Getty=001-016-162'Error in JDBC conn /
> Apache Tomcat/4.1.29 URGENT
>
>
> and here is the syntax to unsubscribe an auto replyer
>
> [EMAIL PROTECTED]
>
> this would unsubscribe [EMAIL PROTECTED] if he autoreplies
>
> Filip
>
> -Original Message-
> From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 02, 2004 9:52 AM
> To: Tomcat Users List
> Subject: RE:  'Getty=001-016-162'Error in JDBC conn /
> Apache Tomcat/4.1.29 URGENT
>
>
>
> Howdy,
>
> >writing rules will still take up our bandwidth, so it is in
> everyones
> >interestest to get these off the list as opposed to filtering them
>
> Of course.  I just said that people can't count on IMMEDIATE
> removal of the offending user.  I left unsaid my wish that
> people wouldn't complain when the offender isn't removed
> within a couple of hours because, well, people will always complain ;)
>
> Yoav Shapira
>
>
>
> This e-mail, including any attachments, is a confidential
> business communication, and may contain information that is
> confidential, proprietary and/or privileged.  This e-mail is
> intended only for the individual(s) to whom it is addressed,
> and may not be saved, copied, printed, disclosed or used by
> anyone else.  If you are not the(an) intended recipient,
> please immediately delete this e-mail from your computer
> system and notify the sender.  Thank you.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT

2004-02-02 Thread Mike Curwen
so can anyone do this?

> -Original Message-
> From: Filip Hanik (lists) [mailto:[EMAIL PROTECTED] 
> Sent: Monday, February 02, 2004 12:08 PM
> To: Tomcat Users List
> Subject: RE:  'Getty=001-016-162'Error in JDBC conn / 
> Apache Tomcat/4.1.29 URGENT
> 
> 
> and here is the syntax to unsubscribe an auto replyer
> 
> [EMAIL PROTECTED]
> 
> this would unsubscribe [EMAIL PROTECTED] if he autoreplies
> 
> Filip
> 
> -Original Message-
> From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 02, 2004 9:52 AM
> To: Tomcat Users List
> Subject: RE:  'Getty=001-016-162'Error in JDBC conn / 
> Apache Tomcat/4.1.29 URGENT
> 
> 
> 
> Howdy,
> 
> >writing rules will still take up our bandwidth, so it is in 
> everyones 
> >interestest to get these off the list as opposed to filtering them
> 
> Of course.  I just said that people can't count on IMMEDIATE 
> removal of the offending user.  I left unsaid my wish that 
> people wouldn't complain when the offender isn't removed 
> within a couple of hours because, well, people will always complain ;)
> 
> Yoav Shapira
> 
> 
> 
> This e-mail, including any attachments, is a confidential 
> business communication, and may contain information that is 
> confidential, proprietary and/or privileged.  This e-mail is 
> intended only for the individual(s) to whom it is addressed, 
> and may not be saved, copied, printed, disclosed or used by 
> anyone else.  If you are not the(an) intended recipient, 
> please immediately delete this e-mail from your computer 
> system and notify the sender.  Thank you.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Redeployment of War over and over Supported?

2004-02-02 Thread Seth Ladd
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Shapira, Yoav wrote:
| Howdy,
|
|
|>Wow, OK, thanks for the great insight.  In other words, it's safe to
|>assume to always restart Tomcat when deploying webapps.  That, of
|>course, is less than ideal.  For testing, that just makes the
|>development time longer (and more complicated, since now we have to
|>remember to restart Tomcat every X deployment times).  And for
|>production, of course we don't want to take anything down.
|
|
| In practice, it's also common to have one webapp per tomcat instance, so
| that should anything go wrong (e.g. OutOfMemoryError, malicious code),
| only one webapp is affected even if you have to restart the tomcat
| server.  So that above is not bad from that perspective.
Thanks for the tip.  I agree completely with this one.  Hopefully we'll
move to this soon.  It certainly makes production deployments easier.
Seth
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAHpKT5EIB1scRes8RArQXAJ9Nru3aBPjH/WrVJa3CVLzaDqs7swCdFzBx
/qgT+4izSep+vF7gkb1bHW0=
=tsG6
-END PGP SIGNATURE-
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT

2004-02-02 Thread Shapira, Yoav

Howdy,

>Would you care to make one more best effort?
>
>unsubscribe this email:  [EMAIL PROTECTED]

For the umpteenth time: this address is not on the list.  I just checked
again to make sure, even though I've tried many times already.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT

2004-02-02 Thread Filip Hanik \(lists\)
and here is the syntax to unsubscribe an auto replyer

[EMAIL PROTECTED]

this would unsubscribe [EMAIL PROTECTED] if he autoreplies

Filip

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 9:52 AM
To: Tomcat Users List
Subject: RE:  'Getty=001-016-162'Error in JDBC conn / Apache
Tomcat/4.1.29 URGENT



Howdy,

>writing rules will still take up our bandwidth, so it is in everyones
>interestest to get these off the list as opposed to filtering them

Of course.  I just said that people can't count on IMMEDIATE removal of
the offending user.  I left unsaid my wish that people wouldn't complain
when the offender isn't removed within a couple of hours because, well,
people will always complain ;)

Yoav Shapira



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: trouble load balancing with mod_jk2

2004-02-02 Thread Yiannis Mavroukakis
Not sure about lb, but an shm file of  is bound to get you into trouble
:)

-Original Message-
From: Aadi Deshpande [mailto:[EMAIL PROTECTED]
Sent: 02 February 2004 17:18
To: [EMAIL PROTECTED]
Subject: trouble load balancing with mod_jk2



Greetings,

(Not sure if this is the place for mod_jk2 questions or if there is 
another mailing list)

I'm having trouble figuring out how loadbalancing should work using 
mod_jk2 with Apache2 and Tomcat 5.0.18.


I have 2 tomcat instances on 2 machines ( running with different port 
numbers )

I set them up in a single lb group, using the same lb factor of 80 ( a 
number I picked arbitrarily )

my lb configuration is set to graceful=1, stickySession=1, and timeout=0 
( i've appended my workers2.properties as additional info ).

However, it seems that when i turn on the apache2 and monitor the 
server, all the instances start going to the first instance in the list 
and bog that instance down.  There doesn't seem to be any load balancing 
going on, nor is there any sort of failover when the instance becomes 
unusable ( the thread pool hits the maximum of 200 )

The documentation on mod_jk2 isn't all that clear and a lot of it seems 
to be geared for implementing the jni mechanism as opposed to the 
channel socket ajp mechanism.

I must clearly be doing something wrong, but I can't figure it out.
Additional q's :

the mod_jk2 instance is constantly initing and shutting down.  Is this 
normal operating procedure?
does a higher lb factor or lower lb factor increase that machine's 
chances of being selected?
do  dashes ( - ) in the  server name have any effect?




I've listed my workers2.properties file inline for review.


Thanks in advance for any help.

Aadi Deshpande


##workers2.properties
[logger]
level=DEBUG
 


[config:]
file=${serverRoot}/conf/workers2.properties
debug=0
debugEnv=0
 


[uriMap:]
info=Maps the requests. Options: debug
debug=0
 


# Alternate file logger
#[logger.file:0]
#level=DEBUG
#file=${serverRoot}/logs/jk2.log
 


[shm:]
info=Scoreboard. Required for reconfiguration and status with 
multiprocess servers
file=${serverRoot}/logs/jk2.shm
size=
debug=0
disabled=0
 


[workerEnv:]
info=Global server options
timing=1
debug=0
# Default Native Logger (apache2 or win32 )
# can be overriden to a file logger, useful
# when tracing win32 related issues
#logger=logger.file:0
 


[status:]
info=Status worker, display runtime information
 


[uri:/jkstatus/*]
info=Display status information and check the config file
group=status:
 


[lb:lb]
info=Default load balancer.
debug=0
stickySession=1
timeout=0
 [channel.socket:tc-server2:6090]
info=Ajp13 forwarding over socket
graceful=1
debug=0
lb_factor=80
group=lb
tomcatId=tc-server2:6090

[channel.socket:tc-server2:6190]
info=Ajp13 forwarding over socket
graceful=1
debug=0
lb_factor=80
group=lb
tomcatId=tc-server2:6190

[channel.socket:tc-server2:6290]
info=Ajp13 forwarding over socket
graceful=1
debug=0
lb_factor=80
group=lb
tomcatId=tc-server2:6290

[channel.socket:tc-server1:6090]
info=Ajp13 forwarding over socket
graceful=1
debug=0
lb_factor=80
group=lb
tomcatId=tc-server1:6090

[channel.socket:tc-server1:6190]
info=Ajp13 forwarding over socket
graceful=1
debug=0
lb_factor=80
group=lb
tomcatId=tc-server1:6190
   [channel.socket:tc-server1:6290]
info=Ajp13 forwarding over socket
graceful=1
debug=0
lb_factor=80
group=lb
tomcatId=tc-server1:6290


[uri:/*.jsp]
info=Map the whole webapp
[uri:/*.sx]
info=Map the whole webapp



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs.


Note:__
This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please immediately delete it and
all copies of it from your system, destroy any hard copies of it and
notify the sender. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. Jaguar Freight Services and any of its subsidiaries
each reserve the right to monitor all e-mail communications through its
networks.
Any views expressed in this message are those of the individual sender,
except where the message states otherwise and the sender is authorized
to state them to be the views of any such entity.

This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs.

RE: 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT

2004-02-02 Thread Shapira, Yoav

Howdy,

>writing rules will still take up our bandwidth, so it is in everyones
>interestest to get these off the list as opposed to filtering them

Of course.  I just said that people can't count on IMMEDIATE removal of
the offending user.  I left unsaid my wish that people wouldn't complain
when the offender isn't removed within a couple of hours because, well,
people will always complain ;)

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT

2004-02-02 Thread Mike Curwen
Would you care to make one more best effort?

unsubscribe this email:  [EMAIL PROTECTED]



> -Original Message-
> From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
> Sent: Monday, February 02, 2004 11:36 AM
> To: Tomcat Users List
> Subject: RE:  'Getty=001-016-162'Error in JDBC conn / 
> Apache Tomcat/4.1.29 URGENT
> 
> 
> 
> Howdy,
> I unsubscribed this user.  But there will be others like 
> that, with different message lines, different subjects, 
> different from addresses. Instead of relying on immediate 
> response (remember, I and the moderators/owners of other 
> lists don't get paid to sit and watch the listserv 24/7/365 
> -- it's a best-effort on our part rather than any
> guarantee) to these worms/viruses/whatever, I suggest you get 
> proficient at composing rules on your end to filter out these 
> messages.
> 
> Yoav Shapira
> Millennium ChemInformatics
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



some question about JSPX and the output format

2004-02-02 Thread Eric Suen
Hi,

I have a jspx like this:



]>
http://www.w3.org/1999/XSL/Format";
xmlns:jsp="http://java.sun.com/JSP/Page";>
 


it can be parsed by xerces2.6, but when I run it, server throw exception
like this:
org.apache.jasper.JasperException: /blank.jspx(5,96) Element type "fo:root"
must be declared.
 at
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.
java:83)
 at
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:402
)
 at
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:126
)
 at
org.apache.jasper.compiler.JspDocumentParser.parse(JspDocumentParser.java:23
4)
 at
org.apache.jasper.compiler.ParserController.parse(ParserController.java:224)
 at
org.apache.jasper.compiler.ParserController.parse(ParserController.java:149)
 at
org.apache.jasper.compiler.ParserController.parse(ParserController.java:135)
 at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:237)
 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:456)
 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
 at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:5
52)
 at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
91)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

Another question is about output format, the source xml code is:

but the output changes to:


I want use jspx as template engine, but the output format is not as
expected.
as I understand, jsp just for generating dynamic content, why it acted like
xml validator and xml formatter?

I use tomcat 5.0.18

Regards,

Eric




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT

2004-02-02 Thread Edson Alves Pereira
You must put your jdbc driver in $TOMCAT_HOME/common/lib

> --
> De:   Kumar Abhay-CAK203C[SMTP:[EMAIL PROTECTED]
> Responder:Tomcat Users List
> Enviada:  segunda-feira, 2 de fevereiro de 2004 14:34
> Para: 'Tomcat Users List'
> Assunto:  RE: Error in JDBC conn / Apache Tomcat/4.1.29  URGENT
> Prioridade:   Alta
> 
> This is setenv file:
>  
> set
> classpath=.;C:\j2sdk1.4.2_03\lib\tools.jar;..\web-inf\classes;..\web-inf\l
> ib\cos.jar;..\web-inf\lib\jnlp.jar;..\web-inf\lib\log4j.jar;..\web-inf\lib
> \xml4j.jar;..\web-inf\lib\ldapjdk.jar;..\web-inf\lib\ldapsearch.jar..\web-
> inf\lib\classes12.jar;%classpath%
>  
> and Class path set in system is :
>  
> .;C:\Estimation;C:\Tomcat\common\lib\servlet.jar;C:\Tomcat\common\lib\mail
> .jar;C:\Tomcat\common\lib\activation.jar;C:\Tomcat\common\lib\jndi.jar;C:\
> Tomcat\common\lib\jdbc2_0-stdext.jar;C:\Tomcat\common\lib\ojdbc14.jar
>  
> ANy Bug ??
> 
> Regards
> Abhay
> 
> 
> 
> -Original Message-
> From: Mike Curwen [mailto:[EMAIL PROTECTED] 
> Sent: Monday, February 02, 2004 11:25 AM
> To: 'Tomcat Users List'
> Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
> 
> 
> Just to be sure.. you tried classes12.**jar**  (renamed .zip to .jar) ?
> 
> 
> > -Original Message-
> > From: Kumar Abhay-CAK203C [mailto:[EMAIL PROTECTED]
> > Sent: Monday, February 02, 2004 11:12 AM
> > To: 'Tomcat Users List'
> > Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
> > Importance: High
> > 
> > 
> > 
> > I hv tried this also .. No success
> > 
> > Abhay
> > 
> > 
> > 
> > -Original Message-
> > From: Chakravarthy, Sundar [mailto:[EMAIL PROTECTED]
> > Sent: Monday, February 02, 2004 10:56 AM
> > To: Tomcat Users List
> > Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
> > 
> > 
> > Trying using classes12.jar in /common/lib
> > 
> > -Original Message-
> > From: Kumar Abhay-CAK203C [mailto:[EMAIL PROTECTED]
> > Sent: Monday, February 02, 2004 11:50 AM
> > To: 'Tomcat Users List'
> > Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
> > Importance: High
> > 
> > Path of the dB driver is as follows: Still the same error
> > 
> > C:\Tomcat\common\lib\ojdbc14.jar
> > 
> > Abhay
> > 
> > -Original Message-
> > From: Keshav Sarin [mailto:[EMAIL PROTECTED]
> > Sent: Monday, February 02, 2004 10:44 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
> > 
> > 
> > Put the database driver in tomcat_home/common/lib directory
> > and restart tomcat.
> > 
> > 
> > >>> [EMAIL PROTECTED] 02/02/04 09:35AM >>>
> > Hi ,
> > 
> > I am getting the following error in JDBC conn. Error log and
> > other details are as follows:
> > 
> > Please help !!
> > 
> > Regards
> > Abhay
> > 
> > --
> > --
> > -
> > I am using :==
> > Apache Tomcat/4.1.29 
> > SQL*Plus: Release 9.0.1.4.0 - Production on Mon Feb 2 09:39:33 2004 
> > Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production 
> > j2sdk1.4.2_03 
> > ojdbc14.jar 
> > --
> > --
> > --
> > 
> >  > type="java.lang.Integer" value="30"/>  > auth="Container" description="User database that can be 
> > updated and saved" name="UserDatabase" scope="Shareable" 
> > type="org.apache.catalina.UserDatabase"/>
> >  > type="javax.sql.DataSource"/>  > name="UserDatabase">  factory 
> > org.apache.catalina.users.MemoryUserDatabaseFactory
> > 
> > 
> > pathname
> > conf/tomcat-users.xml
> > 
> > 
> > 
> > 
> > validationQuery
> > select sysdate from dual
> > 
> > 
> > maxWait
> > 5000
> > 
> > 
> > maxActive
> > 4
> > 
> > 
> > password
> > eppsys
> > 
> > 
> > url 
> > jdbc:oracle:thin:@oswego.comm.mot.com:1521:DEV
> > 
> > 
> > driverClassName 
> > oracle.jdbc.driver.OracleDriver
> > 
> > 
> > maxIdle
> > 2
> > 
> > 
> > username
> > eppsys
> > 
> > 
> > 
> > --
> > Feb 2, 2004 9:38:47 AM org.apache.coyote.http11.Http11Protocol init 
> > INFO: Initializing Coyote HTTP/1.1 on port 80 
> > Starting service Tomcat-Standalone 
> > Apache Tomcat/4.1.29 
> > Feb 2, 2004 9:38:56 AM org.apache.struts.util.PropertyMessageResources
> >  
> > INFO: Initializing, config='org.apache.struts.util.LocalStrings',
> > returnNull=true 
> > Feb 2, 2004 9:38:56 AM org.apache.struts.util.PropertyMessageResources
> >  
> > INFO: Initializing, config='org.apache.struts.action.ActionResources',
> > returnNull=true 
> > Feb 2, 2004 9:39:02 AM org.apache.struts.util.PropertyMessageResources
> >  
> > INFO: Initializing, 
> > config='org.apache.webapp.admin.ApplicationResources', 
> > returnNull=true 
> > Looking up jdbc/estimation 
> > Found 
> > Feb 2, 2004 9:39:23 AM org.apache.coyote.http11.Http11Protocol start 
> > INFO: Starting Coyote HTTP/1.1 on port 80 
> > Feb 2, 2004 9:39:23 AM org.apache.jk.common.Cha

RE: 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT

2004-02-02 Thread Filip Hanik \(lists\)
writing rules will still take up our bandwidth, so it is in everyones
interestest to get these off the list as opposed to filtering them

what is the email address that you can unsub someone with?

something like

[EMAIL PROTECTED]

how do you fill in the value ?

Filip

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 9:36 AM
To: Tomcat Users List
Subject: RE:  'Getty=001-016-162'Error in JDBC conn / Apache
Tomcat/4.1.29 URGENT



Howdy,
I unsubscribed this user.  But there will be others like that, with
different message lines, different subjects, different from addresses.
Instead of relying on immediate response (remember, I and the
moderators/owners of other lists don't get paid to sit and watch the
listserv 24/7/365 -- it's a best-effort on our part rather than any
guarantee) to these worms/viruses/whatever, I suggest you get proficient
at composing rules on your end to filter out these messages.

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Daniel Gibby [mailto:[EMAIL PROTECTED]
>Sent: Monday, February 02, 2004 12:32 PM
>To: Tomcat Users List
>Subject: Re:  'Getty=001-016-162'Error in JDBC conn / Apache
>Tomcat/4.1.29 URGENT
>
>Yes, PLEASE!
>
>Allistair Crossley wrote:
>
>>Can someone stop these messages??? Just put a block on subjects with
>Getty= in them? I had nearly 50 of these in the last 2 days!
>>
>>
>>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT

2004-02-02 Thread Kumar Abhay-CAK203C
This is setenv file:
 
set 
classpath=.;C:\j2sdk1.4.2_03\lib\tools.jar;..\web-inf\classes;..\web-inf\lib\cos.jar;..\web-inf\lib\jnlp.jar;..\web-inf\lib\log4j.jar;..\web-inf\lib\xml4j.jar;..\web-inf\lib\ldapjdk.jar;..\web-inf\lib\ldapsearch.jar..\web-inf\lib\classes12.jar;%classpath%
 
and Class path set in system is :
 
.;C:\Estimation;C:\Tomcat\common\lib\servlet.jar;C:\Tomcat\common\lib\mail.jar;C:\Tomcat\common\lib\activation.jar;C:\Tomcat\common\lib\jndi.jar;C:\Tomcat\common\lib\jdbc2_0-stdext.jar;C:\Tomcat\common\lib\ojdbc14.jar
 
ANy Bug ??

Regards
Abhay



-Original Message-
From: Mike Curwen [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 02, 2004 11:25 AM
To: 'Tomcat Users List'
Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT


Just to be sure.. you tried classes12.**jar**  (renamed .zip to .jar) ?


> -Original Message-
> From: Kumar Abhay-CAK203C [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 02, 2004 11:12 AM
> To: 'Tomcat Users List'
> Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
> Importance: High
> 
> 
> 
> I hv tried this also .. No success
> 
> Abhay
> 
> 
> 
> -Original Message-
> From: Chakravarthy, Sundar [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 02, 2004 10:56 AM
> To: Tomcat Users List
> Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
> 
> 
> Trying using classes12.jar in /common/lib
> 
> -Original Message-
> From: Kumar Abhay-CAK203C [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 02, 2004 11:50 AM
> To: 'Tomcat Users List'
> Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
> Importance: High
> 
> Path of the dB driver is as follows: Still the same error
> 
> C:\Tomcat\common\lib\ojdbc14.jar
> 
> Abhay
> 
> -Original Message-
> From: Keshav Sarin [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 02, 2004 10:44 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
> 
> 
> Put the database driver in tomcat_home/common/lib directory
> and restart tomcat.
> 
> 
> >>> [EMAIL PROTECTED] 02/02/04 09:35AM >>>
> Hi ,
> 
> I am getting the following error in JDBC conn. Error log and
> other details are as follows:
> 
> Please help !!
> 
> Regards
> Abhay
> 
> --
> --
> -
> I am using :==
> Apache Tomcat/4.1.29 
> SQL*Plus: Release 9.0.1.4.0 - Production on Mon Feb 2 09:39:33 2004 
> Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production 
> j2sdk1.4.2_03 
> ojdbc14.jar 
> --
> --
> --
> 
>  type="java.lang.Integer" value="30"/>  auth="Container" description="User database that can be 
> updated and saved" name="UserDatabase" scope="Shareable" 
> type="org.apache.catalina.UserDatabase"/>
>  type="javax.sql.DataSource"/>  name="UserDatabase">  factory 
> org.apache.catalina.users.MemoryUserDatabaseFactory
> 
> 
> pathname
> conf/tomcat-users.xml
> 
> 
> 
> 
> validationQuery
> select sysdate from dual
> 
> 
> maxWait
> 5000
> 
> 
> maxActive
> 4
> 
> 
> password
> eppsys
> 
> 
> url 
> jdbc:oracle:thin:@oswego.comm.mot.com:1521:DEV
> 
> 
> driverClassName 
> oracle.jdbc.driver.OracleDriver
> 
> 
> maxIdle
> 2
> 
> 
> username
> eppsys
> 
> 
> 
> --
> Feb 2, 2004 9:38:47 AM org.apache.coyote.http11.Http11Protocol init 
> INFO: Initializing Coyote HTTP/1.1 on port 80 
> Starting service Tomcat-Standalone 
> Apache Tomcat/4.1.29 
> Feb 2, 2004 9:38:56 AM org.apache.struts.util.PropertyMessageResources
>  
> INFO: Initializing, config='org.apache.struts.util.LocalStrings',
> returnNull=true 
> Feb 2, 2004 9:38:56 AM org.apache.struts.util.PropertyMessageResources
>  
> INFO: Initializing, config='org.apache.struts.action.ActionResources',
> returnNull=true 
> Feb 2, 2004 9:39:02 AM org.apache.struts.util.PropertyMessageResources
>  
> INFO: Initializing, 
> config='org.apache.webapp.admin.ApplicationResources', 
> returnNull=true 
> Looking up jdbc/estimation 
> Found 
> Feb 2, 2004 9:39:23 AM org.apache.coyote.http11.Http11Protocol start 
> INFO: Starting Coyote HTTP/1.1 on port 80 
> Feb 2, 2004 9:39:23 AM org.apache.jk.common.ChannelSocket init 
> INFO: JK2: ajp13 listening on /0.0.0.0:8009 
> Feb 2, 2004 9:39:23 AM org.apache.jk.server.JkMain start 
> INFO: Jk running ID=0 time=30/220 
> config=C:\Tomcat\bin\..\conf\jk2.properties 
> org.apache.commons.dbcp.SQLNestedException: Cannot create 
> JDBC driver of class '' for connect URL 'null', cause: 
> java.sql.SQLException: No suitable driver 
> at java.sql.DriverManager.getDriver(DriverManager.java:243) 
> at 
> org.apache.commons.dbcp.BasicDataSource.createDataSource(Basic
> DataSource
> .java:743)
> 
> at
> org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDat
> aSource.ja
> va:518)
> 
> at com.mot.iDEN.webapp.oes.servlet.TestServlet.doGet(TestServlet.
> java:42) 

RE: 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT

2004-02-02 Thread Shapira, Yoav

Howdy,
I unsubscribed this user.  But there will be others like that, with
different message lines, different subjects, different from addresses.
Instead of relying on immediate response (remember, I and the
moderators/owners of other lists don't get paid to sit and watch the
listserv 24/7/365 -- it's a best-effort on our part rather than any
guarantee) to these worms/viruses/whatever, I suggest you get proficient
at composing rules on your end to filter out these messages.

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Daniel Gibby [mailto:[EMAIL PROTECTED]
>Sent: Monday, February 02, 2004 12:32 PM
>To: Tomcat Users List
>Subject: Re:  'Getty=001-016-162'Error in JDBC conn / Apache
>Tomcat/4.1.29 URGENT
>
>Yes, PLEASE!
>
>Allistair Crossley wrote:
>
>>Can someone stop these messages??? Just put a block on subjects with
>Getty= in them? I had nearly 50 of these in the last 2 days!
>>
>>
>>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Run Tomcat 5 as Root or Tomcat User?

2004-02-02 Thread Kumar, Sunitha
Use sudo

-Original Message-
From: Nadia Kunkov [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 02, 2004 7:02 AM
To: Tomcat help (E-mail)
Subject: Run Tomcat 5 as Root or Tomcat User?


Hi, I installed Tomcat 5.0.16 as root.  Now it means that I have to
start and stop it being root unless I change ownership on a number of
directories including $TOMCAT_HOME/bin. My question is should I run
Tomcat as root or should I create a Tomcat User with the rights to start
and stop tomcat and change ownership on ALL Tomcat directories to that
user? I don't think Tomcat 5 comes with startup scripts.  I'm trying to
write a startup script but inside the script I have to 'su root' and
that means I'll be prompted to enter the password.  I'd like Tomcat to
start at boot so I need to avoid the password prompt. What is the proper
way of doing it since it's my first time.? Thanks for your help.

NK

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT

2004-02-02 Thread Graham Reeds
I've attempted to contact Getty Images about this but they use those
annoying web forms.  What ever happened to real email addresses?

G.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



'Getty=001-016-696'Error in JDBC conn / Apache Tomcat/4.1. 29 URGENT

2004-02-02 Thread Getty Images USA License
Hello and thank you for your email. We strive to respond to all email inquiries within 
one business day. If your issue cannot wait that long, please call us at 877-438-8966. 
Our hours are 6:00 a.m. to 6:00 p.m. Pacific Standard Time, Monday through Friday. 

For reference, your assigned case ID is:1016696



-Original Message-
From: Mike Curwen [EMAIL PROTECTED]
Sent: Monday, Feb 2 2004 9:27AM
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT



Just to be sure.. you tried classes12.**jar**  (renamed .zip to .jar) ? 


> -Original Message- 
> From: Kumar Abhay-CAK203C [ mailto:[EMAIL PROTECTED]  ] 
> Sent: Monday, February 02, 2004 11:12 AM 
> To: 'Tomcat Users List' 
> Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT 
> Importance: High 
> 
> 
> 
> I hv tried this also .. No success 
> 
> Abhay 
> 
> 
> 
> -Original Message- 
> From: Chakravarthy, Sundar [ mailto:[EMAIL PROTECTED]  ] 
> Sent: Monday, February 02, 2004 10:56 AM 
> To: Tomcat Users List 
> Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT 
> 
> 
> Trying using classes12.jar in /common/lib 
> 
> -Original Message- 
> From: Kumar Abhay-CAK203C [ mailto:[EMAIL PROTECTED]  ] 
> Sent: Monday, February 02, 2004 11:50 AM 
> To: 'Tomcat Users List' 
> Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT 
> Importance: High 
> 
> Path of the dB driver is as follows: Still the same error 
> 
> C:\Tomcat\common\lib\ojdbc14.jar 
> 
> Abhay 
> 
> -Original Message- 
> From: Keshav Sarin [ mailto:[EMAIL PROTECTED]  ] 
> Sent: Monday, February 02, 2004 10:44 AM 
> To: [EMAIL PROTECTED] 
> Subject: Re: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT 
> 
> 
> Put the database driver in tomcat_home/common/lib directory 
> and restart tomcat. 
> 
> 
> >>> [EMAIL PROTECTED] 02/02/04 09:35AM >>> 
> Hi , 
> 
> I am getting the following error in JDBC conn. Error log and 
> other details are as follows: 
> 
> Please help !! 
> 
> Regards 
> Abhay 
> 
> -- 
> -- 
> - 
> I am using :== 
> Apache Tomcat/4.1.29 
> SQL*Plus: Release 9.0.1.4.0 - Production on Mon Feb 2 09:39:33 2004 
> Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production 
> j2sdk1.4.2_03 
> ojdbc14.jar 
> -- 
> -- 
> -- 
>  
>  type="java.lang.Integer" value="30"/>  auth="Container" description="User database that can be 
> updated and saved" name="UserDatabase" scope="Shareable" 
> type="org.apache.catalina.UserDatabase"/> 
>  type="javax.sql.DataSource"/>  name="UserDatabase">  factory 
> org.apache.catalina.users.MemoryUserDatabaseFactory 
>  
>  
> pathname 
> conf/tomcat-users.xml 
>  
>  
>  
>  
> validationQuery 
> select sysdate from dual 
>  
>  
> maxWait 
> 5000 
>  
>  
> maxActive 
> 4 
>  
>  
> password 
> eppsys 
>  
>  
> url 
> jdbc:oracle:thin:@oswego.comm.mot.com:1521:DEV 
>  
>  
> driverClassName 
> oracle.jdbc.driver.OracleDriver 
>  
>  
> maxIdle 
> 2 
>  
>  
> username 
> eppsys 
>  
>  
>  
> -- 
> Feb 2, 2004 9:38:47 AM org.apache.coyote.http11.Http11Protocol init 
> INFO: Initializing Coyote HTTP/1.1 on port 80 
> Starting service Tomcat-Standalone 
> Apache Tomcat/4.1.29 
> Feb 2, 2004 9:38:56 AM org.apache.struts.util.PropertyMessageResources 
>  
> INFO: Initializing, config='org.apache.struts.util.LocalStrings', 
> returnNull=true 
> Feb 2, 2004 9:38:56 AM org.apache.struts.util.PropertyMessageResources 
>  
> INFO: Initializing, config='org.apache.struts.action.ActionResources', 
> returnNull=true 
> Feb 2, 2004 9:39:02 AM org.apache.struts.util.PropertyMessageResources 
>  
> INFO: Initializing, 
> config='org.apache.webapp.admin.ApplicationResources', 
> returnNull=true 
> Looking up jdbc/estimation 
> Found 
> Feb 2, 2004 9:39:23 AM org.apache.coyote.http11.Http11Protocol start 
> INFO: Starting Coyote HTTP/1.1 on port 80 
> Feb 2, 2004 9:39:23 AM org.apache.jk.common.ChannelSocket init 
> INFO: JK2: ajp13 listening on /0.0.0.0:8009 
> Feb 2, 2004 9:39:23 AM org.apache.jk.server.JkMain start 
> INFO: Jk running ID=0 time=30/220 
> config=C:\Tomcat\bin\..\conf\jk2.properties 
> org.apache.commons.dbcp.SQLNestedException: Cannot create 
> JDBC driver of class '' for connect URL 'null', cause: 
> java.sql.SQLException: No suitable driver 
> at java.sql.DriverManager.getDriver(DriverManager.java:243) 
> at 
> org.apache.commons.dbcp.BasicDataSource.createDataSource(Basic 
> DataSource 
> .java:743) 
> 
> at 
> org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDat 
> aSource.ja 
> va:518) 
> 
> at 
> com.mot.iDEN.webapp.oes.servlet.TestServlet.doGet(TestServlet. 
> java:42) 
> at javax.servlet.http.HttpServlet.ser

Re: 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT

2004-02-02 Thread Daniel Gibby
Yes, PLEASE!

Allistair Crossley wrote:

Can someone stop these messages??? Just put a block on subjects with Getty= in them? I had nearly 50 of these in the last 2 days!

 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


'Getty=001-015-865'Error in JDBC conn / Apache Tomcat/4.1. 29 URGENT

2004-02-02 Thread Getty Images USA License
Hello and thank you for your email. We strive to respond to all email inquiries within 
one business day. If your issue cannot wait that long, please call us at 877-438-8966. 
Our hours are 6:00 a.m. to 6:00 p.m. Pacific Standard Time, Monday through Friday. 

For reference, your assigned case ID is:1015865



-Original Message-
From: Sundar Chakravarthy [EMAIL PROTECTED]
Sent: Monday, Feb 2 2004 8:57AM
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT



Trying using classes12.jar in /common/lib 

-Original Message- 
From: Kumar Abhay-CAK203C [ mailto:[EMAIL PROTECTED]  ] 
Sent: Monday, February 02, 2004 11:50 AM 
To: 'Tomcat Users List' 
Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT 
Importance: High 

Path of the dB driver is as follows: Still the same error 

C:\Tomcat\common\lib\ojdbc14.jar 

Abhay 

-Original Message- 
From: Keshav Sarin [ mailto:[EMAIL PROTECTED]  ] 
Sent: Monday, February 02, 2004 10:44 AM 
To: [EMAIL PROTECTED] 
Subject: Re: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT 


Put the database driver in tomcat_home/common/lib directory and restart 
tomcat. 


>>> [EMAIL PROTECTED] 02/02/04 09:35AM >>> 
Hi , 

I am getting the following error in JDBC conn. Error log and other 
details are as follows: 

Please help !! 

Regards 
Abhay 

 
- 
I am using :== 
Apache Tomcat/4.1.29 
SQL*Plus: Release 9.0.1.4.0 - Production on Mon Feb 2 09:39:33 2004 
Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production 
j2sdk1.4.2_03 
ojdbc14.jar 
 
-- 
 
  
  
 factory 
org.apache.catalina.users.MemoryUserDatabaseFactory 
 
 
pathname 
conf/tomcat-users.xml 
 
 
 
 
validationQuery 
select sysdate from dual 
 
 
maxWait 
5000 
 
 
maxActive 
4 
 
 
password 
eppsys 
 
 
url 
jdbc:oracle:thin:@oswego.comm.mot.com:1521:DEV 
 
 
driverClassName 
oracle.jdbc.driver.OracleDriver 
 
 
maxIdle 
2 
 
 
username 
eppsys 
 
 
 
-- 
Feb 2, 2004 9:38:47 AM org.apache.coyote.http11.Http11Protocol init 
INFO: Initializing Coyote HTTP/1.1 on port 80 
Starting service Tomcat-Standalone 
Apache Tomcat/4.1.29 
Feb 2, 2004 9:38:56 AM org.apache.struts.util.PropertyMessageResources 
 
INFO: Initializing, config='org.apache.struts.util.LocalStrings', 
returnNull=true 
Feb 2, 2004 9:38:56 AM org.apache.struts.util.PropertyMessageResources 
 
INFO: Initializing, config='org.apache.struts.action.ActionResources', 
returnNull=true 
Feb 2, 2004 9:39:02 AM org.apache.struts.util.PropertyMessageResources 
 
INFO: Initializing, 
config='org.apache.webapp.admin.ApplicationResources', returnNull=true 
Looking up jdbc/estimation 
Found 
Feb 2, 2004 9:39:23 AM org.apache.coyote.http11.Http11Protocol start 
INFO: Starting Coyote HTTP/1.1 on port 80 
Feb 2, 2004 9:39:23 AM org.apache.jk.common.ChannelSocket init 
INFO: JK2: ajp13 listening on /0.0.0.0:8009 
Feb 2, 2004 9:39:23 AM org.apache.jk.server.JkMain start 
INFO: Jk running ID=0 time=30/220 
config=C:\Tomcat\bin\..\conf\jk2.properties 
org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of 
class '' for connect URL 'null', cause: 
java.sql.SQLException: No suitable driver 
at java.sql.DriverManager.getDriver(DriverManager.java:243) 
at 
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource 
.java:743) 

at 
org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.ja 
va:518) 

at 
com.mot.iDEN.webapp.oes.servlet.TestServlet.doGet(TestServlet.java:42) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) 
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica 
tionFilterChain.j 

ava:247) 
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt 
erChain.java:193) 

at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv 
e.java:256) 

at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i 
nvokeNext(Standar 

dPipeline.java:643) 
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 
80) 

at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) 
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv 
e.java:191) 

at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i 
nvokeNext(Standar 

dPipeline.java:643) 
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 
80) 

at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) 
at 
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:241 
7) 

at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java 

RE: 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT

2004-02-02 Thread Allistair Crossley


 
---
QAS Ltd.
Developers of QuickAddress Software
http://www.qas.com";>www.qas.com
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---

Can someone stop these messages??? Just put a block on subjects with Getty= in them? I 
had nearly 50 of these in the last 2 days!

-Original Message-
From: Getty Images USA License [mailto:[EMAIL PROTECTED]
Sent: 02 February 2004 17:23
To: Tomcat Users List
Subject:  'Getty=001-016-162'Error in JDBC conn / Apache
Tomcat/4.1.29 URGENT


Hello and thank you for your email. We strive to respond to all email inquiries within 
one business day. If your issue cannot wait that long, please call us at 877-438-8966. 
Our hours are 6:00 a.m. to 6:00 p.m. Pacific Standard Time, Monday through Friday. 

For reference, your assigned case ID is:1016162



-Original Message-
From: Kumar Abhay-CAK203C [EMAIL PROTECTED]
Sent: Monday, Feb 2 2004 9:14AM
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT




I hv tried this also .. No success 

Abhay 



-Original Message- 
From: Chakravarthy, Sundar [ mailto:[EMAIL PROTECTED]  ] 
Sent: Monday, February 02, 2004 10:56 AM 
To: Tomcat Users List 
Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT 


Trying using classes12.jar in /common/lib 

-Original Message- 
From: Kumar Abhay-CAK203C [ mailto:[EMAIL PROTECTED]  ] 
Sent: Monday, February 02, 2004 11:50 AM 
To: 'Tomcat Users List' 
Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT 
Importance: High 

Path of the dB driver is as follows: Still the same error 

C:\Tomcat\common\lib\ojdbc14.jar 

Abhay 

-Original Message- 
From: Keshav Sarin [ mailto:[EMAIL PROTECTED]  ] 
Sent: Monday, February 02, 2004 10:44 AM 
To: [EMAIL PROTECTED] 
Subject: Re: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT 


Put the database driver in tomcat_home/common/lib directory and restart tomcat. 


>>> [EMAIL PROTECTED] 02/02/04 09:35AM >>> 
Hi , 

I am getting the following error in JDBC conn. Error log and other details are as 
follows: 

Please help !! 

Regards 
Abhay 

 
- 
I am using :== 
Apache Tomcat/4.1.29 
SQL*Plus: Release 9.0.1.4.0 - Production on Mon Feb 2 09:39:33 2004 
Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production 
j2sdk1.4.2_03 
ojdbc14.jar 
 
-- 
 
 


 
  factory 
org.apache.catalina.users.MemoryUserDatabaseFactory

 
 
pathname 
conf/tomcat-users.xml 
 
 
 
 
validationQuery 
select sysdate from dual 
 
 
maxWait 
5000 
 
 
maxActive 
4 
 
 
password 
eppsys 
 
 
url jdbc:oracle:thin:@oswego.comm.mot.com:1521:DEV 
 
 
driverClassName oracle.jdbc.driver.OracleDriver 
 
 
maxIdle 
2 
 
 
username 
eppsys 
 
 
 
-- 
Feb 2, 2004 9:38:47 AM org.apache.coyote.http11.Http11Protocol init 
INFO: Initializing Coyote HTTP/1.1 on port 80 
Starting service Tomcat-Standalone 
Apache Tomcat/4.1.29 
Feb 2, 2004 9:38:56 AM org.apache.struts.util.PropertyMessageResources 
 
INFO: Initializing, config='org.apache.struts.util.LocalStrings', 
returnNull=true 
Feb 2, 2004 9:38:56 AM org.apache.struts.util.PropertyMessageResources 
 
INFO: Initializing, config='org.apache.struts.action.ActionResources', 
returnNull=true 
Feb 2, 2004 9:39:02 AM org.apache.struts.util.PropertyMessageResources 
 
INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', 
returnNull=true 
Looking up jdbc/estimation 
Found 
Feb 2, 2004 9:39:23 AM org.apache.coyote.http11.Http11Protocol start 
INFO: Starting Coyote HTTP/1.1 on port 80 
Feb 2, 2004 9:39:23 AM org.apache.jk.common.ChannelSocket init 
INFO: JK2: ajp13 listening on /0.0.0.0:8009 
Feb 2, 2004 9:39:23 AM org.apache.jk.server.JkMain start 
INFO: Jk running ID=0 time=30/220 config=C:\Tomcat\bin\..\conf\jk2.properties 
org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for 
connect URL 'null', cause: 
java.sql.SQLException: No suitable driver 
at java.sql.DriverManager.getDriver(DriverManager.java:243) 
at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource 
.java:743) 

at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.ja 
va:518) 

at 
com.mot.iDEN.webapp.oes.servlet.TestServlet.doGet(TestServlet.java:42) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) 
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica 
tionFilterChain.j 

ava:247) 
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt 
erChain.java:193) 

at

RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT

2004-02-02 Thread Mike Curwen
Just to be sure.. you tried classes12.**jar**  (renamed .zip to .jar) ?


> -Original Message-
> From: Kumar Abhay-CAK203C [mailto:[EMAIL PROTECTED] 
> Sent: Monday, February 02, 2004 11:12 AM
> To: 'Tomcat Users List'
> Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
> Importance: High
> 
> 
> 
> I hv tried this also .. No success 
> 
> Abhay
> 
> 
> 
> -Original Message-
> From: Chakravarthy, Sundar [mailto:[EMAIL PROTECTED] 
> Sent: Monday, February 02, 2004 10:56 AM
> To: Tomcat Users List
> Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
> 
> 
> Trying using classes12.jar in /common/lib
> 
> -Original Message-
> From: Kumar Abhay-CAK203C [mailto:[EMAIL PROTECTED] 
> Sent: Monday, February 02, 2004 11:50 AM
> To: 'Tomcat Users List'
> Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
> Importance: High
> 
> Path of the dB driver is as follows: Still the same error
> 
> C:\Tomcat\common\lib\ojdbc14.jar
> 
> Abhay
> 
> -Original Message-
> From: Keshav Sarin [mailto:[EMAIL PROTECTED] 
> Sent: Monday, February 02, 2004 10:44 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
> 
> 
> Put the database driver in tomcat_home/common/lib directory 
> and restart tomcat.
> 
> 
> >>> [EMAIL PROTECTED] 02/02/04 09:35AM >>>
> Hi ,
> 
> I am getting the following error in JDBC conn. Error log and 
> other details are as follows:
> 
> Please help !!
> 
> Regards
> Abhay
> 
> --
> --
> -
> I am using :== 
> Apache Tomcat/4.1.29 
> SQL*Plus: Release 9.0.1.4.0 - Production on Mon Feb 2 09:39:33 2004 
> Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production 
> j2sdk1.4.2_03 
> ojdbc14.jar 
> --
> --
> --
> 
>  type="java.lang.Integer" value="30"/>  auth="Container" description="User database that can be 
> updated and saved" name="UserDatabase" scope="Shareable" 
> type="org.apache.catalina.UserDatabase"/>
>  type="javax.sql.DataSource"/>  name="UserDatabase">  factory 
> org.apache.catalina.users.MemoryUserDatabaseFactory
> 
> 
> pathname
> conf/tomcat-users.xml
> 
> 
> 
> 
> validationQuery
> select sysdate from dual
> 
> 
> maxWait
> 5000
> 
> 
> maxActive
> 4
> 
> 
> password
> eppsys
> 
> 
> url 
> jdbc:oracle:thin:@oswego.comm.mot.com:1521:DEV
> 
> 
> driverClassName 
> oracle.jdbc.driver.OracleDriver
> 
> 
> maxIdle
> 2
> 
> 
> username
> eppsys
> 
> 
> 
> --
> Feb 2, 2004 9:38:47 AM org.apache.coyote.http11.Http11Protocol init 
> INFO: Initializing Coyote HTTP/1.1 on port 80 
> Starting service Tomcat-Standalone 
> Apache Tomcat/4.1.29 
> Feb 2, 2004 9:38:56 AM org.apache.struts.util.PropertyMessageResources
>  
> INFO: Initializing, config='org.apache.struts.util.LocalStrings',
> returnNull=true 
> Feb 2, 2004 9:38:56 AM org.apache.struts.util.PropertyMessageResources
>  
> INFO: Initializing, config='org.apache.struts.action.ActionResources',
> returnNull=true 
> Feb 2, 2004 9:39:02 AM org.apache.struts.util.PropertyMessageResources
>  
> INFO: Initializing, 
> config='org.apache.webapp.admin.ApplicationResources', 
> returnNull=true 
> Looking up jdbc/estimation 
> Found 
> Feb 2, 2004 9:39:23 AM org.apache.coyote.http11.Http11Protocol start 
> INFO: Starting Coyote HTTP/1.1 on port 80 
> Feb 2, 2004 9:39:23 AM org.apache.jk.common.ChannelSocket init 
> INFO: JK2: ajp13 listening on /0.0.0.0:8009 
> Feb 2, 2004 9:39:23 AM org.apache.jk.server.JkMain start 
> INFO: Jk running ID=0 time=30/220 
> config=C:\Tomcat\bin\..\conf\jk2.properties 
> org.apache.commons.dbcp.SQLNestedException: Cannot create 
> JDBC driver of class '' for connect URL 'null', cause: 
> java.sql.SQLException: No suitable driver 
> at java.sql.DriverManager.getDriver(DriverManager.java:243) 
> at 
> org.apache.commons.dbcp.BasicDataSource.createDataSource(Basic
> DataSource
> .java:743)
> 
> at 
> org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDat
> aSource.ja
> va:518)
> 
> at
> com.mot.iDEN.webapp.oes.servlet.TestServlet.doGet(TestServlet.
> java:42) 
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) 
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) 
> at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
> er(Applica
> tionFilterChain.j
> 
> ava:247) 
> at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
> cationFilt
> erChain.java:193)
> 
> at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
> rapperValv
> e.java:256)
> 
> at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.i
> nvokeNext(Standar
> 
> dPipeline.java:643) 
> at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:4
> 80)
> 
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1. 29 URGENT

2004-02-02 Thread Getty Images USA License
Hello and thank you for your email. We strive to respond to all email inquiries within 
one business day. If your issue cannot wait that long, please call us at 877-438-8966. 
Our hours are 6:00 a.m. to 6:00 p.m. Pacific Standard Time, Monday through Friday. 

For reference, your assigned case ID is:1016162



-Original Message-
From: Kumar Abhay-CAK203C [EMAIL PROTECTED]
Sent: Monday, Feb 2 2004 9:14AM
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT




I hv tried this also .. No success 

Abhay 



-Original Message- 
From: Chakravarthy, Sundar [ mailto:[EMAIL PROTECTED]  ] 
Sent: Monday, February 02, 2004 10:56 AM 
To: Tomcat Users List 
Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT 


Trying using classes12.jar in /common/lib 

-Original Message- 
From: Kumar Abhay-CAK203C [ mailto:[EMAIL PROTECTED]  ] 
Sent: Monday, February 02, 2004 11:50 AM 
To: 'Tomcat Users List' 
Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT 
Importance: High 

Path of the dB driver is as follows: Still the same error 

C:\Tomcat\common\lib\ojdbc14.jar 

Abhay 

-Original Message- 
From: Keshav Sarin [ mailto:[EMAIL PROTECTED]  ] 
Sent: Monday, February 02, 2004 10:44 AM 
To: [EMAIL PROTECTED] 
Subject: Re: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT 


Put the database driver in tomcat_home/common/lib directory and restart tomcat. 


>>> [EMAIL PROTECTED] 02/02/04 09:35AM >>> 
Hi , 

I am getting the following error in JDBC conn. Error log and other details are as 
follows: 

Please help !! 

Regards 
Abhay 

 
- 
I am using :== 
Apache Tomcat/4.1.29 
SQL*Plus: Release 9.0.1.4.0 - Production on Mon Feb 2 09:39:33 2004 
Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production 
j2sdk1.4.2_03 
ojdbc14.jar 
 
-- 
 
 


 
  factory 
org.apache.catalina.users.MemoryUserDatabaseFactory

 
 
pathname 
conf/tomcat-users.xml 
 
 
 
 
validationQuery 
select sysdate from dual 
 
 
maxWait 
5000 
 
 
maxActive 
4 
 
 
password 
eppsys 
 
 
url jdbc:oracle:thin:@oswego.comm.mot.com:1521:DEV 
 
 
driverClassName oracle.jdbc.driver.OracleDriver 
 
 
maxIdle 
2 
 
 
username 
eppsys 
 
 
 
-- 
Feb 2, 2004 9:38:47 AM org.apache.coyote.http11.Http11Protocol init 
INFO: Initializing Coyote HTTP/1.1 on port 80 
Starting service Tomcat-Standalone 
Apache Tomcat/4.1.29 
Feb 2, 2004 9:38:56 AM org.apache.struts.util.PropertyMessageResources 
 
INFO: Initializing, config='org.apache.struts.util.LocalStrings', 
returnNull=true 
Feb 2, 2004 9:38:56 AM org.apache.struts.util.PropertyMessageResources 
 
INFO: Initializing, config='org.apache.struts.action.ActionResources', 
returnNull=true 
Feb 2, 2004 9:39:02 AM org.apache.struts.util.PropertyMessageResources 
 
INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', 
returnNull=true 
Looking up jdbc/estimation 
Found 
Feb 2, 2004 9:39:23 AM org.apache.coyote.http11.Http11Protocol start 
INFO: Starting Coyote HTTP/1.1 on port 80 
Feb 2, 2004 9:39:23 AM org.apache.jk.common.ChannelSocket init 
INFO: JK2: ajp13 listening on /0.0.0.0:8009 
Feb 2, 2004 9:39:23 AM org.apache.jk.server.JkMain start 
INFO: Jk running ID=0 time=30/220 config=C:\Tomcat\bin\..\conf\jk2.properties 
org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for 
connect URL 'null', cause: 
java.sql.SQLException: No suitable driver 
at java.sql.DriverManager.getDriver(DriverManager.java:243) 
at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource 
.java:743) 

at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.ja 
va:518) 

at 
com.mot.iDEN.webapp.oes.servlet.TestServlet.doGet(TestServlet.java:42) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) 
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica 
tionFilterChain.j 

ava:247) 
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt 
erChain.java:193) 

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv 
e.java:256) 

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i 
nvokeNext(Standar 

dPipeline.java:643) 
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 
80) 

at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) 
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv 
e.java:191) 

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i 
nvokeNext(Standar 

dPipeline.java:643) 
at org.apache.catalina.core.StandardPipeli

'Getty=001-016-299'Please help Console Problem in tomcat 5 .0.16

2004-02-02 Thread Getty Images USA License
Hello and thank you for your email. We strive to respond to all email inquiries within 
one business day. If your issue cannot wait that long, please call us at 877-438-8966. 
Our hours are 6:00 a.m. to 6:00 p.m. Pacific Standard Time, Monday through Friday. 

For reference, your assigned case ID is:1016299



-Original Message-
From: Aadi Deshpande [EMAIL PROTECTED]
Sent: Monday, Feb 2 2004 9:16AM
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Please help Console Problem in tomcat 5.0.16



i've always managed to get this error when i have spaces between the xml 
pi (  ) and the start of the file. 
i'd check for that, and that you have no spaces at the '' 

hope this helps, 

-a 



Avinash Sridhar wrote: 

>Hi, 
>  Thanks for the reply.How do I correct the invalid server.xml file. 
> 
>Kindly let me know. 
> 
> 
>server.xml file for the same directory structure. 
> 
>reloadable="true"> 
> 
> 
>Thanks 
>AS 
> 
> 
>On Mon, 02 Feb 2004 Bodycombe, Andrew wrote : 
>  
> 
>>This indicates your server.xml is invalid. 
>> 
>>-Original Message- 
>>From: Avinash Sridhar [ mailto:[EMAIL PROTECTED]  ] 
>>Sent: 02 February 2004 16:07 
>>To: [EMAIL PROTECTED] 
>>Subject: Please help Console Problem in tomcat 5.0.16 
>> 
>> 
>>have my own directory as "sampleapp" which has the necessary structure 
>>
>> 
>and 
>  
> 
>>the .class file is put into the following directory structure. 
>>classes/package1/structure/HelloServlet.class. 
>> 
>>All in the %TOMCAT% home directory. 
>> 
>>My question is in %TOMCAT%/conf/server.xml file how is the  
>> tag written. 
>>I have written it like this 
>> 
>>>
>> 
>reloadable="true"> 
>  
> 
>> 
>> 
>>The directory structure of sampleapp is as follows.. 
>>%TOMCAT%/webapps/sampleapp/WEB-INF/classes 
>>/lib 
>>/sourcefiles 
>>/web.xml. 
>>The classes directory has the structure like this.. 
>> 
>>classes/package1/structure/HelloServlet class file. 
>> 
>>My Web.xml file looks like this 
>> 
>>/ web.xml / 
>> 
>> 
>> 
>>>PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" 
>>" http://java.sun.com/dtd/web-app_2_3.dtd  
>>"> 
>> 
>> 
>>Servlet 2.4 Examples 
>> Servlet 2.4 Examples  
>> 
>> 
>> 
>> 
>> 
>>HelloServlet 
>>package1.structure.HelloServlet 
>> 
>> 
>> 
>> 
>>HelloServlet 
>>/sampleapp 
>> 
>> 
>> 
>> 
>> 
>>/* web.xml **/ 
>> 
>> 
>>/*** Console error */ 
>>Feb 2, 2004 8:33:19 AM org.apache.commons.digester.Digester fatalError 
>>SEVERE: Parse Fatal Error at line 3 column 6: The processing 
>>
>> 
>instruction 
>  
> 
>>target 
>>matching "[xX][mM][lL]" is not allowed. 
>>/*** Console error */ 
>> 
>>Let me know if any changes are to be made. 
>> 
>>Help greatly apreciated. 
>> 
>>Thanks 
>>AS 
>> 
>>- 
>>To unsubscribe, e-mail: [EMAIL PROTECTED] 
>>For additional commands, e-mail: [EMAIL PROTECTED] 
>>
>> 
>> 
> 
>  
> 


- 
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 



===
This email and its contents are confidential. If you
are not the intended recipient, please do not disclose
or use the information within this email or its
attachments. If you have received this email in error,
please delete it immediately. Thank you.
===

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



  1   2   >