RE: :AW: Jk and IIS 6 slow (resent)

2005-04-28 Thread Yuval Zantkeren
Hi,

But how can you run asp files when you use only Tomcat?

Yuval

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 28, 2005 8:30 AM
To: 'Tomcat Users List'
Subject: Spam:AW: Jk and IIS 6 slow (resent)

>
> Then why use IIS at all?  Just configure Tomcat for ports 80
> and 443 and eliminate the extra unnecessary software.

This is usually a customer demand. They want to have a webserver
connected
to the Internet they (hope they) are familiar with.

Michael


-
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]



Change ROOT in Tomcat 5.5.9

2005-04-27 Thread Yuval Zantkeren
Hi,

 

I want to change the ROOT context to my web app but not in the Tomcat
directory.

I tried to define the context in xml file in the
conf/Catalina/localhost/ with path="" and delete the ROOT folder in

The webapp directory but it doesn't work.

I would also want to use this root from the JK connector.

 

Please advise,

 

Yuval



Re: Tomcat 5.5.4 oveload CPU

2005-01-28 Thread Yuval Zantkeren
Hi,
I have 2GB memory on the server, Is it enough?
Yuval
- Original Message - 
From: "Dale, Matt" <[EMAIL PROTECTED]>
To: "Tomcat Users List" 
Sent: Friday, January 28, 2005 11:29 AM
Subject: RE: Tomcat 5.5.4 oveload CPU


Do you have enough physical memory to support the size that your JVM's grow 
to?

Ta
Matt
-----Original Message-
From: Yuval Zantkeren [mailto:[EMAIL PROTECTED]
Sent: 28 January 2005 09:25
To: tomcat-user@jakarta.apache.org
Subject: Tomcat 5.5.4 oveload CPU
Hi,
I run 3 Instance of Tomcat 5.5.4 on one server with Windows 2003 and
every few days the servers stack on 30% CPU usage each and they take 100% of 
the CPU of the server, I must restart the services in order to free the CPU.

Does anyone have any idea why it is happening?
Yuval



-
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]


Tomcat 5.5.4 oveload CPU

2005-01-28 Thread Yuval Zantkeren
Hi,

I run 3 Instance of Tomcat 5.5.4 on one server with Windows 2003 and
every few days the servers stack on 30% CPU usage each and they take 100% of 
the CPU of the server, I must restart the services in order to free the CPU.

Does anyone have any idea why it is happening?

Yuval

log4j 1.3

2005-01-20 Thread Yuval Zantkeren
Hi,

Does anyone have working example of log4j.properties for lo4j 1.3 that does 
Daily Rolling .

Regards,

Yuval

RE: Tomcat 5.5.4 and log4j problem

2005-01-18 Thread Yuval Zantkeren
Hi,

We use log4j 1.2.9 but we still have the problem.
It was only the jar?

Regards,

Yuval

-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 18, 2005 11:29 AM
To: Tomcat Users List
Subject: RE: Tomcat 5.5.4 and log4j problem

Hi,

We had this and it went away by using log4j 1.2.9 or 1.3 beta/alpha.

log4j.appender.ErrorsA=org.apache.log4j.DailyRollingFileAppender
log4j.appender.ErrorsA.File=d:/jakarta-tomcat/logs/iq-Sys-Error.log
log4j.appender.ErrorsA.layout=org.apache.log4j.PatternLayout
log4j.appender.ErrorsA.layout.ConversionPattern=%d - %5p (%C:%L) - %m%n
log4j.appender.ErrorsA.DatePattern=.-MM-dd

Allistair.

> -Original Message-
> From: Yuval Zantkeren [mailto:[EMAIL PROTECTED]
> Sent: 17 January 2005 20:51
> To: tomcat-user@jakarta.apache.org
> Subject: Tomcat 5.5.4 and log4j problem
>
>
> Hi,
>
> We try to use log4j with Tomcat 5.5.4 on Windows 2003 server
> and we have problems with the rename of the files on rollover.
> We try to use DailyRollingFileAppender  and also
> RollingFileAppender  but both with no luck.
> Every time the files need to roll we get Log4j:ERROR Failed
> to rename and the files name.
>
> It is very important to us because it logs all of our
> operation and transaction in our website.
>
> I will appreciate any kind of help,
>
> Regards,
>
> Yuval
> 


 
---
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
---



-
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]



Tomcat 5.5.4 and log4j problem

2005-01-17 Thread Yuval Zantkeren
Hi,

We try to use log4j with Tomcat 5.5.4 on Windows 2003 server and we have 
problems with the rename of the files on rollover.
We try to use DailyRollingFileAppender  and also RollingFileAppender  but both 
with no luck.
Every time the files need to roll we get Log4j:ERROR Failed to rename and the 
files name.

It is very important to us because it logs all of our operation and transaction 
in our website.

I will appreciate any kind of help,

Regards,

Yuval

logs Problem- Please HELP

2004-01-26 Thread Yuval Zantkeren
I had no problems installing the tomcat as service but its deleting my logs
anytime I restart the server,
Can someone tell me how to change the configuration so it will not delete
the logs?

Regards,

Yuval 




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



Running Tomcat 4.1.27 as NT service - logs

2004-01-25 Thread Yuval Zantkeren
Hi,

I had no problems installing the tomcat as service but its deleting my logs
anytime I restart the server,
Can someone tell me how to change the configuration so it will not delete
the logs?

Regards,

Yuval


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



Using JNI with Tomcat 4.1.27 and IIS 5

2004-01-13 Thread Yuval Zantkeren
Hi all,

Can someone explain me how do I configure the tomcat to work with JNI and
IIS 5?

Regards,

Yuval


“This email message and any attachments hereto are intended only for use by
the addressee(s) named above, and may contain legally privileged and/or
confidential information. If you are not the intended addressee, you are
hereby kindly notified that any dissemination, distribution or copying of
this email and any attachments hereto is strictly prohibited. If you have
received this email in error, kindly delete it from your computer system,
and notify us at the telephone number or email address appearing above.
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]



Using JNI with Tomcat 4.1.27 and IIS 5

2004-01-11 Thread Yuval Zantkeren
Hi all,

Can someone explain me how do I configure the tomcat to work with JNI and
IIS 5?

Regards,

Yuval Zantkeren

Domain The Net Technologies Ltd.
81 Sokolov St.
Ramat-Hasharon
Israel 47238
Tel: 972-3-7600500
Fax: 972-3-7600505
www.DomainTheNet.com

“This email message and any attachments hereto are intended only for use by
the addressee(s) named above, and may contain legally privileged and/or
confidential information. If you are not the intended addressee, you are
hereby kindly notified that any dissemination, distribution or copying of
this email and any attachments hereto is strictly prohibited. If you have
received this email in error, kindly delete it from your computer system,
and notify us at the telephone number or email address appearing above.
Thank you"



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



Problems with load balancing

2003-12-21 Thread Yuval Zantkeren
Hi,

I'm running 2 Tomcats 4.1.27 on the same server I changed the server.xml in
both of them, I erased the standalone and wrote this


I changed the workers2.properties like this:
[logger]
level=DEBUG

[config:]
file=C:/jakarta-tomcat-4.1.27/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=C:/jakarta-tomcat-4.1.27/logs/jk2.log

[shm:]
info=Scoreboard. Required for reconfiguration and status with multiprocess
servers
file=C:/jakarta-tomcat-4.1.27/logs/jk2.shm
size=1048576
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

[lb:lb]
info=Default load balancer.
debug=0

[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
debug=0
tomcatId=tc1
lb_factor=1
group=lb

[channel.socket:localhost:8010]
info=A second tomcat instance.
debug=0
tomcatId=tc2
lb_factor=1
group=lb
disabled=0


[status:]
info=Status worker, displays runtime informations

[uri:/jkstatus/*]
info=Display status information and checks the config file for changes.
group=status:

[uri:/newer/*.do]
info=Prefix mapping

[uri:/newer/*.jsp]
info=Extension mapping

[uri:/newer/*]
info=The Legacy webapp.
debug=0

But only the first tomcat serves the servlets, I don't get any error but the
first refresh the 1st tomcat works and in the 2nd refresh nothing happen.

Please advise,


Regards,

Yuval Zantkeren

“This email message and any attachments hereto are intended only for use by
the addressee(s) named above, and may contain legally privileged and/or
confidential information. If you are not the intended addressee, you are
hereby kindly notified that any dissemination, distribution or copying of
this email and any attachments hereto is strictly prohibited. If you have
received this email in error, kindly delete it from your computer system,
and notify us at the telephone number or email address appearing above.
Thank you"



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



Re: How do i run 2 tomcats on the same server and using jk2?

2003-12-16 Thread yuval
Do you have a soulotion to my problem?

> Subject: How do i run 2 tomcats on the same server and using jk2?
>
> Hi,
>
> I installed 2 Tomcats on the same server and they both work on on port
8080
> and the second on 8081
> I also define one to listen for the jk2 on 8009 and the second on 8010 but
> only the first one is working
>
> What do i need to do in the registry and in the IIS in order to make the
> second work also?
>
>
> Regards,
>
> Yuval

- Original Message - 
From: "The Bean" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, December 16, 2003 9:40 PM
Subject: RE: How do i run 2 tomcats on the same server and using jk2?


> Not a bad link, but I have to comment on the guys suggestion about
changing
> the catalina.sh script. Here's a quote:
>
> "In my many years of consulting, I have learned not to rely on environment
variables
> which can be unset by ignorant or malicious people"
>
> In my many years of consulting, I've much more often encountered problems
> with people tampering with script files that should have been left alone.
Ever do
> an export JAVA_HOME= to explicitly pick a JVM and be stumped by a bug
still happening
> . . . only to find out that someone took at upon themselves to change a
script that
> you know well, and to manually set JAVA_HOME withing that script? This
much more
> sinister than missing environment variables.
>
> If you're very afraid of environment variables not being there or being
wrong, then
> make a script file that sets a few variables and then calls the original
script. Or some
> variant of that. But just jumping in and altering the script is rarely the
best idea.
>
> - T.B.
>
> --- "Cocalea, Eugen" <[EMAIL PROTECTED]> wrote:
> > Heh, seem that people around here knock on the same problems I had few
days
> > ago. Best solution, found on:
> >
> > http://www.ubeans.com/tomcat/
>
>
> __
> Do you Yahoo!?
> New Yahoo! Photos - easier uploading and sharing.
> http://photos.yahoo.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]



Re: How do i run 2 tomcats on the same server and using jk2?

2003-12-16 Thread yuval
Which link??

- Original Message - 
From: "Cocalea, Eugen" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, December 16, 2003 9:33 PM
Subject: RE: How do i run 2 tomcats on the same server and using jk2?


> Well, then use the other link I've sent earlier too, the modifications you
> have to do are only in workers.properties files, at least if you want to
use
> load balancing.
>
> -Original Message-
> From: yuval [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, December 16, 2003 9:21 PM
> To: Tomcat Users List
> Subject: Re: How do i run 2 tomcats on the same server and using jk2?
>
> Thanks for your answer but I need explanation for windows with jk2 and not
> apache, but thanks any way.
>
>
> - Original Message - 
> From: "Cocalea, Eugen" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Tuesday, December 16, 2003 9:12 PM
> Subject: RE: How do i run 2 tomcats on the same server and using jk2?
>
>
> > Heh, seem that people around here knock on the same problems I had few
> days
> > ago. Best solution, found on:
> >
> > http://www.ubeans.com/tomcat/
> >
> >
> > -Original Message-
> > From: yuval [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, December 16, 2003 8:57 PM
> > To: Tomcat Users List
> > Subject: How do i run 2 tomcats on the same server and using jk2?
> >
> > Hi,
> >
> > I installed 2 Tomcats on the same server and they both work on on port
> 8080
> > and the second on 8081
> > I also define one to listen for the jk2 on 8009 and the second on 8010
but
> > only the first one is working
> >
> > What do i need to do in the registry and in the IIS in order to make the
> > second work also?
> >
> >
> > Regards,
> >
> > Yuval
> >
> >
> > -
> > 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: How do i run 2 tomcats on the same server and using jk2?

2003-12-16 Thread yuval
I did the worker configuration the problem is in the JK2 configuration
- Original Message - 
From: "Pitre, Russell" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, December 16, 2003 8:55 PM
Subject: RE: How do i run 2 tomcats on the same server and using jk2?


You also need to edit your worker.properties file...

worker.list=tomcatWorker
worker.tomcatWorker.port=8009
worker.tomcatWorker.host=172.20.94.244
worker.tomcatWorker.type=ajp13


Russ

-Original Message-
From: yuval [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 16, 2003 1:57 PM
To: Tomcat Users List
Subject: How do i run 2 tomcats on the same server and using jk2?

Hi,

I installed 2 Tomcats on the same server and they both work on on port
8080
and the second on 8081
I also define one to listen for the jk2 on 8009 and the second on 8010
but
only the first one is working

What do i need to do in the registry and in the IIS in order to make the
second work also?


Regards,

Yuval


-
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: How do i run 2 tomcats on the same server and using jk2?

2003-12-16 Thread yuval
Thanks for your answer but I need explanation for windows with jk2 and not
apache, but thanks any way.


- Original Message - 
From: "Cocalea, Eugen" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, December 16, 2003 9:12 PM
Subject: RE: How do i run 2 tomcats on the same server and using jk2?


> Heh, seem that people around here knock on the same problems I had few
days
> ago. Best solution, found on:
>
> http://www.ubeans.com/tomcat/
>
>
> -Original Message-
> From: yuval [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, December 16, 2003 8:57 PM
> To: Tomcat Users List
> Subject: How do i run 2 tomcats on the same server and using jk2?
>
> Hi,
>
> I installed 2 Tomcats on the same server and they both work on on port
8080
> and the second on 8081
> I also define one to listen for the jk2 on 8009 and the second on 8010 but
> only the first one is working
>
> What do i need to do in the registry and in the IIS in order to make the
> second work also?
>
>
> Regards,
>
> Yuval
>
>
> -
> 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]



How do i run 2 tomcats on the same server and using jk2?

2003-12-16 Thread yuval
Hi,

I installed 2 Tomcats on the same server and they both work on on port 8080
and the second on 8081
I also define one to listen for the jk2 on 8009 and the second on 8010 but
only the first one is working

What do i need to do in the registry and in the IIS in order to make the
second work also?


Regards,

Yuval


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



RE: Need some Tomcat Configuration help badly

2003-12-14 Thread Yuval Zantkeren
Hi,

How do I turn the fork to be true?

Regards,

Yuval Zantkeren

"This email message and any attachments hereto are intended only for use by
the addressee(s) named above, and may contain legally privileged and/or
confidential information. If you are not the intended addressee, you are
hereby kindly notified that any dissemination, distribution or copying of
this email and any attachments hereto is strictly prohibited. If you have
received this email in error, kindly delete it from your computer system,
and notify us at the telephone number or email address appearing above.
Thank you"


-Original Message-
From: Philipp Taprogge [mailto:[EMAIL PROTECTED]
Sent: Sunday, December 14, 2003 3:39 AM
To: Tomcat Users List
Subject: Re: Need some Tomcat Configuration help badly


Hi!

Dick Steflik wrote:

> I'm on W2000, just for the record. With this in mind which way should
> the fork be set; true ot false.

Concidering that this poor excuse for an OS does not even know the
meaning of fork(), I'd say you set it to true. W2K should then start a
completely new process from scratch. You'll loose some performance of
course, since starting the JVM takes time and ressources, but if you
don't compile many, many jsps at a time, that should not be too much
of a problem.

Phil

P.S.: No pun intended here ;-)


-
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: google yourself

2003-12-11 Thread yuval
There is email archive of this list
www.mail-archive.com

- Original Message - 
From: "Oscar Carrillo" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, December 12, 2003 12:26 AM
Subject: RE: google yourself


> LOL. I know that's happened to me too.
>
> That's when I know I'm in trouble :)
>
> Oscar
>
> On Thu, 11 Dec 2003, Januski, Ken
> wrote:
>
> > The sad part of googling yourself is when you google for answers to a
> > certain problem and end up getting an earlier post of your own on same
topic
> > as the first result.
> >
> > -Original Message-
> > From: Adam Hardy [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, December 11, 2003 4:30 PM
> > To: Tomcat Users List
> > Subject: Re: google yourself
> >
> >
> > Amazingly it seems that google is down. Bang goes another myth.
> >
> > On 12/11/2003 02:41 PM Nikola Milutinovic wrote:
> > > Ostad, James wrote:
> > >
> > >> have you googled yourself at goole.com?
> > >> I don't know how they get all of our listserv communications.
> > >>
> > >> Any one knows how they do that?
> > >
> > >
> > > There is a web archive of this list.
> > >
> > > Nix.
> >
> >
> >
>
>
> -
> 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]



2 Tomcat on the same server

2003-12-11 Thread yuval
Hi,

Is it possible to run 2 tomcats on the same server?
And if so how do i configure the jk2 to work with both of them?


Yuval


jkstatus

2003-12-05 Thread yuval
Hi,

I configure the jkstatus in the worker2.properties like this:

[status:status]

[uri:/jkstatus/*]
worker=status:status


but when i try in the browser (127.0.0.1/jkstatus/) to see the status i get 404 error.
How do i see the status?

Yuval



jkstatus

2003-12-04 Thread yuval
Hi,

I configure the jkstatus in the worker2.properties like this:

[status:status]

[uri:/jkstatus/*]
worker=status:status


but when i try in the browser (127.0.0.1/jkstatus/) to see the status i get 404 error.
How do i see the status?

Yuval



Help needed !!!!

2003-12-03 Thread yuval
Is there anybody from Israel in this list,
I wish to find someone to consult us with pay in order to
configure the tomcat to work better with no errors and with load balance.


Please contact me directly at:
[EMAIL PROTECTED]

Regards,

Yuval


Problem after compiling the java file

2003-12-03 Thread Yuval Zantkeren
Hi,

After I'm compiling the java file with changes and try to run it again I'm
getting error in the browser::

The requested service (Servlet TkTld is currently unavailable) is not
currently available.

In the STDOUT I get:
StandardServer.await: Invalid command '' received

and in the STDERR I'm getting:
Dec 3, 2003 1:44:05 PM org.apache.jk.server.JkCoyoteHandler action
INFO: RESET

and I cannot run any servlet after this until I restart the tomcat

Please advise,

Regards,

Yuval Zantkeren

Domain The Net Technologies Ltd.
81 Sokolov St.
Ramat-Hasharon
Israel 47238
Tel: 972-3-7600500
Fax: 972-3-7600505
www.DomainTheNet.com

“This email message and any attachments hereto are intended only for use by
the addressee(s) named above, and may contain legally privileged and/or
confidential information. If you are not the intended addressee, you are
hereby kindly notified that any dissemination, distribution or copying of
this email and any attachments hereto is strictly prohibited. If you have
received this email in error, kindly delete it from your computer system,
and notify us at the telephone number or email address appearing above.
Thank you"



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



RE: Error -The requested service (Servlet TkTld is currently unavailable) is not currently available.

2003-12-02 Thread Yuval Zantkeren
How do I reload it?

Regards,

Yuval Zantkeren

Domain The Net Technologies Ltd.
81 Sokolov St.
Ramat-Hasharon
Israel 47238
Tel: 972-3-7600500
Fax: 972-3-7600505
www.DomainTheNet.com

"This email message and any attachments hereto are intended only for use by
the addressee(s) named above, and may contain legally privileged and/or
confidential information. If you are not the intended addressee, you are
hereby kindly notified that any dissemination, distribution or copying of
this email and any attachments hereto is strictly prohibited. If you have
received this email in error, kindly delete it from your computer system,
and notify us at the telephone number or email address appearing above.
Thank you"


-Original Message-
From: Dhruva B. Reddy [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 02, 2003 2:37 PM
To: Tomcat Users List
Subject: Re: Error -The requested service (Servlet TkTld is currently
unavailable) is not currently available.


This usually means that for some reason the web application containing
this servlet did not load successfully.

--- Yuval  Zantkeren <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> I'm trying to run a servlet and I get this error in the access log:
> [02/Dec/2003:12:11:49 +0200] "GET /newer/Titled HTTP/1.1" 503 788
>
> and in the browser I get:
> The requested service (Servlet TkTld is currently unavailable) is not
> currently available.
>
> please advise,
>
>
> Regards,
>
> Yuval Zantkeren
>
> Domain The Net Technologies Ltd.
> www.DomainTheNet.com
>
> This email message and any attachments hereto are intended only for
> use by
> the addressee(s) named above, and may contain legally privileged
> and/or
> confidential information. If you are not the intended addressee, you
> are
> hereby kindly notified that any dissemination, distribution or
> copying of
> this email and any attachments hereto is strictly prohibited. If you
> have
> received this email in error, kindly delete it from your computer
> system,
> and notify us at the telephone number or email address appearing
> above.
> Thank you"
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.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]



Error -The requested service (Servlet TkTld is currently unavailable) is not currently available.

2003-12-02 Thread Yuval Zantkeren

Hi

I'm trying to run a servlet and I get this error in the access log:
[02/Dec/2003:12:11:49 +0200] "GET /newer/Titled HTTP/1.1" 503 788

and in the browser I get:
The requested service (Servlet TkTld is currently unavailable) is not
currently available.

please advise,


Regards,

Yuval Zantkeren

Domain The Net Technologies Ltd.
www.DomainTheNet.com

“This email message and any attachments hereto are intended only for use by
the addressee(s) named above, and may contain legally privileged and/or
confidential information. If you are not the intended addressee, you are
hereby kindly notified that any dissemination, distribution or copying of
this email and any attachments hereto is strictly prohibited. If you have
received this email in error, kindly delete it from your computer system,
and notify us at the telephone number or email address appearing above.
Thank you"



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



Please Help

2003-12-01 Thread Yuval Zantkeren

why I'm getting this error :
01/12/2003 18:23:27 org.apache.jk.server.JkCoyoteHandler action
INFO: RESET

Which also causing my tomcat not to serve any more.

Regards,

Yuval Zantkeren

Domain The Net Technologies Ltd.
81 Sokolov St.
Ramat-Hasharon
Israel 47238
Tel: 972-3-7600500
Fax: 972-3-7600505
www.DomainTheNet.com

“This email message and any attachments hereto are intended only for use by
the addressee(s) named above, and may contain legally privileged and/or
confidential information. If you are not the intended addressee, you are
hereby kindly notified that any dissemination, distribution or copying of
this email and any attachments hereto is strictly prohibited. If you have
received this email in error, kindly delete it from your computer system,
and notify us at the telephone number or email address appearing above.
Thank you"



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



Please Help

2003-12-01 Thread Yuval Zantkeren

why I'm getting this error :
01/12/2003 18:23:27 org.apache.jk.server.JkCoyoteHandler action
INFO: RESET

Which also causing my tomcat not to serve any more.

Regards,

Yuval Zantkeren

Domain The Net Technologies Ltd.
81 Sokolov St.
Ramat-Hasharon
Israel 47238
Tel: 972-3-7600500
Fax: 972-3-7600505
www.DomainTheNet.com

“This email message and any attachments hereto are intended only for use by
the addressee(s) named above, and may contain legally privileged and/or
confidential information. If you are not the intended addressee, you are
hereby kindly notified that any dissemination, distribution or copying of
this email and any attachments hereto is strictly prohibited. If you have
received this email in error, kindly delete it from your computer system,
and notify us at the telephone number or email address appearing above.
Thank you"



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



StandardServer.await: Invalid command '' received

2003-11-27 Thread Yuval Zantkeren
StandardServer.await: Invalid command '' received
Does someone know what this mean it gives this error each time I do shutdown
to the tomcat?

Regards,

Yuval Zantkeren

“This email message and any attachments hereto are intended only for use by
the addressee(s) named above, and may contain legally privileged and/or
confidential information. If you are not the intended addressee, you are
hereby kindly notified that any dissemination, distribution or copying of
this email and any attachments hereto is strictly prohibited. If you have
received this email in error, kindly delete it from your computer system,
and notify us at the telephone number or email address appearing above.
Thank you"



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



RE: Disable Directory Listing

2003-11-26 Thread Yuval Zantkeren
I wrote false in the listing but it still giving the listing, any idea?

Regards,

Yuval Zantkeren

Domain The Net Technologies Ltd.
81 Sokolov St.
Ramat-Hasharon
Israel 47238
Tel: 972-3-7600500
Fax: 972-3-7600505
www.DomainTheNet.com

"This email message and any attachments hereto are intended only for use by
the addressee(s) named above, and may contain legally privileged and/or
confidential information. If you are not the intended addressee, you are
hereby kindly notified that any dissemination, distribution or copying of
this email and any attachments hereto is strictly prohibited. If you have
received this email in error, kindly delete it from your computer system,
and notify us at the telephone number or email address appearing above.
Thank you"


-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 26, 2003 3:19 PM
To: Tomcat Users List
Subject: Re: Disable Directory Listing


Only $CATALINA_HOME/conf/web.xml needs changed. (Make sure browser cache is
cleared)

-Tim

Yuval Zantkeren wrote:

> Its not working do i need to change it in each web.xml under each
directory
> or just in the
> conf/web.xml?
>
> Regards,
>
> Yuval Zantkeren
>
> "This email message and any attachments hereto are intended only for use
by
> the addressee(s) named above, and may contain legally privileged and/or
> confidential information. If you are not the intended addressee, you are
> hereby kindly notified that any dissemination, distribution or copying of
> this email and any attachments hereto is strictly prohibited. If you have
> received this email in error, kindly delete it from your computer system,
> and notify us at the telephone number or email address appearing above.
> Thank you"
>
>
> -Original Message-
> From: Tim Funk [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 26, 2003 2:33 PM
> To: Tomcat Users List
> Subject: Re: Disable Directory Listing
>
>
> http://jakarta.apache.org/tomcat/faq/misc.html#listing
>
> Yuval Zantkeren wrote:
>
>
>>HI,
>>
>>How do I disable that in the Tomcat 4.1.27 that if someone write only the
>>directory like 127.0.0.1/servlet  with no
>>file name after and he gets Directory Listing of all the directory.
>
>
>
>
> -
> 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: Disable Directory Listing

2003-11-26 Thread Yuval Zantkeren
Its not working do i need to change it in each web.xml under each directory
or just in the
conf/web.xml?

Regards,

Yuval Zantkeren

"This email message and any attachments hereto are intended only for use by
the addressee(s) named above, and may contain legally privileged and/or
confidential information. If you are not the intended addressee, you are
hereby kindly notified that any dissemination, distribution or copying of
this email and any attachments hereto is strictly prohibited. If you have
received this email in error, kindly delete it from your computer system,
and notify us at the telephone number or email address appearing above.
Thank you"


-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 26, 2003 2:33 PM
To: Tomcat Users List
Subject: Re: Disable Directory Listing


http://jakarta.apache.org/tomcat/faq/misc.html#listing

Yuval Zantkeren wrote:

> HI,
>
> How do I disable that in the Tomcat 4.1.27 that if someone write only the
> directory like 127.0.0.1/servlet  with no
> file name after and he gets Directory Listing of all the directory.



-
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]



Disable Directory Listing

2003-11-26 Thread Yuval Zantkeren
HI,

How do I disable that in the Tomcat 4.1.27 that if someone write only the
directory like 127.0.0.1/servlet  with no
file name after and he gets Directory Listing of all the directory.


Regards,

Yuval Zantkeren


“This email message and any attachments hereto are intended only for use by
the addressee(s) named above, and may contain legally privileged and/or
confidential information. If you are not the intended addressee, you are
hereby kindly notified that any dissemination, distribution or copying of
this email and any attachments hereto is strictly prohibited. If you have
received this email in error, kindly delete it from your computer system,
and notify us at the telephone number or email address appearing above.
Thank you"



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



JK2 help!!!

2003-11-26 Thread Yuval Zantkeren
Hi,

I need to use tomcat for few websites with each one of them use the tomcat
but each one of
them have different IP address (on the same computer)
the question is what I need to write in the worker.properties
under the:
# Example socket channel, override port and host.
[channel.socket:localhost:8009]
port=8009
host=127.0.0.1

I'm using tomcat with IIS 5

Please help,

Regards,

Yuval Zantkeren

“This email message and any attachments hereto are intended only for use by
the addressee(s) named above, and may contain legally privileged and/or
confidential information. If you are not the intended addressee, you are
hereby kindly notified that any dissemination, distribution or copying of
this email and any attachments hereto is strictly prohibited. If you have
received this email in error, kindly delete it from your computer system,
and notify us at the telephone number or email address appearing above.
Thank you"


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



Re: JK2

2003-11-25 Thread yuval
I think so, but i'm using tomcat with IIS 5
I run few web sites that each one of them use the tomcat but each one of
them have different IP address (on the same computer)
the question is what i need to write in the worker.properties
under the:
# Example socket channel, override port and host.
[channel.socket:localhost:8009]
port=8009
host=127.0.0.1



socket channel
- Original Message - 
From: "Asif Chowdhary" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, November 25, 2003 11:34 PM
Subject: RE: JK2


Do you mean running multiple applications within their own virtual hosts.

Check Virtual Hosting.

-Original Message-
From: yuval [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 25, 2003 3:58 PM
To: [EMAIL PROTECTED]
Subject: JK2


Hi,

I would like the tomcat to work with more than 1 IP address as host how can
I configure it?


Thank you in advance,

Regards,

Yuval


-
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]



JK2

2003-11-25 Thread yuval
Hi,

I would like the tomcat to work with more than 1 IP address as host how can I 
configure it?


Thank you in advance,

Regards,

Yuval


Remote debugging - JDeveloper3.2

2003-01-07 Thread Yuval Levav
Hi,
I am in the process of moving to tomcat 4.1.18 from 3.3. In 3.3 I was able
to debug the servlets with JDeveloper 3.2 by adding the following arguments
to the JAVA command
line: -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=4000 -Xdebug 
-Xnoagent -Djava.compiler=NONE.
However, when using tomcat 4.1.18, this does not work. I connect to the
process, but catalina shuts down with no error message.
Anyone have a clue ?
10x,
Yuval


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




Disabling the DefaultContext

2002-04-10 Thread Yuval Levav

Hi,
I have more han one directory under webapps ( my appBase ).
However, I would like to load each directory's apps with different tomcat 4
instances.
The problem is that a context is created for each directory, although it is
not
declared in my server.xml.I understand that the DefaultContext is
responsible for this.

Is there a way to disable this feature ?

Thanks,
    Yuval


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




webapps deployment

2002-04-09 Thread Yuval Levav

Hi,
From what I've seen, Tomcat 4.0.3 creates a default context for 
every directory under its appBase and tries to deploy.
Is there a way to tell it only to deploy apps under directories which
have a context configured for the in server.conf and only them ?
Thanks,
    Yuval

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




ajp13 problem

2002-03-31 Thread Yuval Levav

Hi,
I get the following message when trying to access a servlet :

[jk_ajp13.c (553)]: Error ajp13_unmarshal_response - No such sc
[jk_ajp13_worker.c (304)]: Error ajp13_process_callback -
ajp13_unmarshal_response failed

I'm working with Romcat 4.0.3 , Apache 1.3.2 and mod_jk.
If I access the servlet directly through the tomcat (without apache)
everything works fine.

What is the problem ?

Thanks,
    Yuval


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Apology - virus spread

2002-03-30 Thread Yuval Levav

Hi all,
I would like to apologize for the virus I've been spreading
lately. It was not intentional. 
Yuval 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




mod_jk.so apache1.3

2002-03-26 Thread Yuval Levav

Hi,
Does anyone have mod_jk.so compiled for apache 1.3 for solaris.
If so, I would aprreciate it if you send it to me.
Thanks,
Yuval

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




bill caricature

2002-03-25 Thread Yuval Levav

Hi
How are yo?
look to bill caricature it's vvvery vey unny :-) :-)
i promise you will love it? ok
buy

No Viruse Found
 MCAFEE.COM

<>

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 


RE: automatic loading..

2002-03-20 Thread Yuval Levav

In server.xml, set parameter "reloadable" to true in your context.

-Original Message-
From: Shashank [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 20, 2002 2:57 PM
To: Tomcat Users List
Subject: automatic loading..


HI !

I deployed new application "PetStore "  (my own) on tomact.

but whenever i recompile and put new files in the application 
folder..correctly..the server doesn't reloads the servlet automatically.

Everytime I have to restart the serever...time consuming and 
frustrating..as current;y am on development stage..

jelp me  out..where o set what so that ...

Shashank


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




tomcat 4.0.3 configuration

2002-03-20 Thread Yuval Levav

Hi,
In my app I use a URL /xxx/servlet/YYY.txt. As you can see, YYY is not a
servlet.
In web.xml I added a servlet mapping of *.txt to a certain servlet. In
tomcat 3 the mapping worked,
but tomcat 4 sees YYY as a servlet and tries to activate it.
How can I configure tomcat not to consider every URL that has /servlet as a
servlet, and go to the mapping instead ?
Thanks,
Yuval


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




RE: Deployment from directories not under webapps

2002-03-19 Thread Yuval Levav

Thanks.
I put the jars in WEB-INF\lib. In them are my servlets and classes they
use. In the log I
see that the WebClassLoader deploys all the jars to the correct place, but
the ContextConfig can't
find them. In web.xml I declared the servlets and their class
(com.xxx.xxx.xxx) which can be found
in the jar.
I have to work this way due to historic reasons 

Do you know what is wrong and what can be done ?
Yuval

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 19, 2002 4:42 PM
To: Tomcat Users List
Subject: RE: Deployment from directories not under webapps








"Yuval Levav" <[EMAIL PROTECTED]> on 03/19/2002 01:09:22 AM

Please respond to "Tomcat Users List" <[EMAIL PROTECTED]>

To:   "Tomcat Users List" <[EMAIL PROTECTED]>
cc:

Subject:  RE: Deployment from directories not under webapps

Thanks. My apps make use of JARs and classes that are not located under
\WEB-INF\lib or classes.
When using tomcat 3,I added these through the classpath.
Here it seems that the JARs must be under WEB-INF.
Is there any way to use JARs and classes not under WEB-INF ?

You could. But things could get pretty messy when the application grows and
you have a heck lot of classes. Keeping track of classes and their loading
could be a pain. Tomcat 4.0.x takes care of this for you.
* Unpacked classes that you need visible to *only* a particular webapp go
under that webapps WEB-INF/classes folder. jar files go under
/WEB-INF/lib folder
* Unpacked classes common to all webapps should be placed under
%CATALINA_HOME%/classes and common jar files under the %CATALINA_HOME%/lib
directory.
And if you still wish to set the classpath then see catalina.sh
(catalina.bat).

RS





Yuval

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 18, 2002 7:22 PM
To: Tomcat Users List
Subject: Re: Deployment from directories not under webapps



Yes. See docBase attribute of the  element in server.xml

RS




"Yuval Levav" <[EMAIL PROTECTED]> on 03/18/2002 11:10:06 AM

Please respond to "Tomcat Users List" <[EMAIL PROTECTED]>

To:   "Tomcat Users List" <[EMAIL PROTECTED]>
cc:

Subject:  Deployment from directories not under webapps

Hi,
   Is it possible to deploy apps from directories not under the
webapps
directory ?
Thanks,
   Yuval


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>









--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>









--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




RE: Deployment from directories not under webapps

2002-03-18 Thread Yuval Levav

Thanks. My apps make use of JARs and classes that are not located under
\WEB-INF\lib or classes.
When using tomcat 3,I added these through the classpath.
Here it seems that the JARs must be under WEB-INF.
Is there any way to use JARs and classes not under WEB-INF ?

Yuval

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 18, 2002 7:22 PM
To: Tomcat Users List
Subject: Re: Deployment from directories not under webapps



Yes. See docBase attribute of the  element in server.xml

RS




"Yuval Levav" <[EMAIL PROTECTED]> on 03/18/2002 11:10:06 AM

Please respond to "Tomcat Users List" <[EMAIL PROTECTED]>

To:   "Tomcat Users List" <[EMAIL PROTECTED]>
cc:

Subject:  Deployment from directories not under webapps

Hi,
   Is it possible to deploy apps from directories not under the
webapps
directory ?
Thanks,
   Yuval


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>









--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Deployment from directories not under webapps

2002-03-18 Thread Yuval Levav

Hi,
Is it possible to deploy apps from directories not under the webapps
directory ?
Thanks,
Yuval


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




RE: Plz Help me_anyone peoblem in getString

2002-03-17 Thread Yuval Levav

Hi,
Is it possible to use jars that are not placed under CATALINA_HOME or any
of the web apllication directories.
And if so, how ?
Thanks,
Yuval


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Unable to open resource: WEB-INF\cocoon.properties

2002-03-14 Thread Yuval Levav

Hi

I am trying to install cocoon 1.8 with tomcat 4

I can't read file: cocoon.properties
I get exception:

java.lang.NoSuchMethodError: java.util.Set
javax.servlet.ServletContext.getResourcePaths(java.lang.String)
void org.apache.catalina.core.StandardWrapper.load()
void
org.apache.catalina.core.StandardContext.loadOnStartup(org.apache.catalina.C
ontainer[])
void org.apache.catalina.core.StandardContext.start()
void org.apache.catalina.core.ContainerBase.start()
void org.apache.catalina.core.StandardHost.start()
void org.apache.catalina.core.ContainerBase.start()
void org.apache.catalina.core.StandardEngine.start()
void org.apache.catalina.core.StandardService.start()
void org.apache.catalina.core.StandardServer.start()
void org.apache.catalina.startup.Catalina.start()
void org.apache.catalina.startup.Catalina.execute()
void org.apache.catalina.startup.Catalina.process(java.lang.String[])
java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object,
java.lang.Object[])
void org.apache.catalina.startup.Bootstrap.main(java.lang.String[])


In server.xml:



In web.xml:

 
  org.apache.cocoon.Cocoon
  org.apache.cocoon.Cocoon
  
   properties
   WEB-INF/cocoon.properties
  
 


Any idea ??

Yuval.


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




RE: problem with context-param in web.xml

2002-03-14 Thread Yuval Levav

Hi,
I'm trying to integrate Cocoon with tomcat 4.0.1. I get the folowing
exception
during start-up:

java.io.FileNotFoundException
at
org.apache.naming.resources.DirContextURLConnection.getInputStream(DirContex
tURLConnection.java:344)
at org.apache.cocoon.Cocoon.init(Cocoon.java:131)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:852)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:615)
at
org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java
:396)
at
org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:180)
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(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:201)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
46)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:163)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1011)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106
)
at java.lang.Thread.run(Unknown Source)

How can I fix this problem ?

Yuval


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




RequestDispatcher.forward()?

2001-08-24 Thread yuval

Can you please explain to me how to use RequestDispatcher.forward()?

Regards,

Yuval
Domain The Net Technologies Ltd.
6 Weitzman Blvd.
Ramat-Hasharon
Israel 47211
Tel: 972-3-5474443
Fax: 972-3-5474446
www.DomainTheNet.com

“This email message and any attachments hereto are intended only for use by
the addressee(s) named above, and may contain legally privileged and/or
confidential information. If you are not the intended addressee, you are
hereby kindly notified that any dissemination, distribution or copying of
this email and any attachments hereto is strictly prohibited. If you have
received this email in error, kindly delete it from your computer system,
and notify us at the telephone number or email address appearing above.
Thank you"





RE: Redirect page after catching exception

2001-08-23 Thread Yuval

Can you please explain to me how to use RequestDispatcher.forward()

Regards,

Yuval
Domain The Net Technologies Ltd.
6 Weitzman Blvd.
Ramat-Hasharon
Israel 47211
Tel: 972-3-5474443
Fax: 972-3-5474446
www.DomainTheNet.com

"This email message and any attachments hereto are intended only for use by
the addressee(s) named above, and may contain legally privileged and/or
confidential information. If you are not the intended addressee, you are
hereby kindly notified that any dissemination, distribution or copying of
this email and any attachments hereto is strictly prohibited. If you have
received this email in error, kindly delete it from your computer system,
and notify us at the telephone number or email address appearing above.
Thank you"



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf
Of Craig R. McClanahan
Sent: Thursday, August 23, 2001 22:47
To: Tomcat-User (E-mail); [EMAIL PROTECTED]
Subject: Re: Redirect page after catching exception




On Thu, 23 Aug 2001, Yuval wrote:

> Date: Thu, 23 Aug 2001 23:39:05 +0200
> From: Yuval <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED], [EMAIL PROTECTED]
> To: "Tomcat-User (E-mail)" <[EMAIL PROTECTED]>
> Subject: Redirect page after catching exception
>
> Hi,
>
> can someone help we with how to stop the servlet after catching exception
> and redirect the page to error page?
>

It's not clear exactly what you mean.

If your servlet *catches* an exception, then the error page mechanism
provided by the container does not get involved at all.  You can use the
usual technique (RequestDispatcher.forward()) to forward control to an
error reporting page if you want.

The  declaration in web.xml is only invoked when your servlet
or JSP page *throws* an uncaught exception.

> Regards,
>
> Yuval

Craig





Redirect page after catching exception

2001-08-23 Thread Yuval

Hi,

can someone help we with how to stop the servlet after catching exception
and redirect the page to error page?

Regards,

Yuval
Domain The Net Technologies Ltd.
6 Weitzman Blvd.
Ramat-Hasharon
Israel 47211
Tel: 972-3-5474443
Fax: 972-3-5474446
www.DomainTheNet.com

“This email message and any attachments hereto are intended only for use by
the addressee(s) named above, and may contain legally privileged and/or
confidential information. If you are not the intended addressee, you are
hereby kindly notified that any dissemination, distribution or copying of
this email and any attachments hereto is strictly prohibited. If you have
received this email in error, kindly delete it from your computer system,
and notify us at the telephone number or email address appearing above.
Thank you"





Sending email from servlet?

2001-08-22 Thread Yuval

can someone please explain to me how to send email from a servlet.

Regards,

Yuval
Domain The Net Technologies Ltd.
6 Weitzman Blvd.
Ramat-Hasharon
Israel 47211
Tel: 972-3-5474443
Fax: 972-3-5474446
www.DomainTheNet.com

“This email message and any attachments hereto are intended only for use by
the addressee(s) named above, and may contain legally privileged and/or
confidential information. If you are not the intended addressee, you are
hereby kindly notified that any dissemination, distribution or copying of
this email and any attachments hereto is strictly prohibited. If you have
received this email in error, kindly delete it from your computer system,
and notify us at the telephone number or email address appearing above.
Thank you"





Using Servlet in different path then /examples/servlets/

2001-08-08 Thread Yuval

Hi,

How can I run servlet on my web server on different path than
/examples/servlets/
I tried to define:



and its not working.

Regards,

Yuval
Domain The Net Technologies Ltd.
6 Weitzman Blvd.
Ramat-Hasharon
Israel 47211
Tel: 972-3-5474443
Fax: 972-3-5474446
www.DomainTheNet.com

“This email message and any attachments hereto are intended only for use by
the addressee(s) named above, and may contain legally privileged and/or
confidential information. If you are not the intended addressee, you are
hereby kindly notified that any dissemination, distribution or copying of
this email and any attachments hereto is strictly prohibited. If you have
received this email in error, kindly delete it from your computer system,
and notify us at the telephone number or email address appearing above.
Thank you"