Re: A web based e-mail client

2005-08-14 Thread Evgeny Gesin
I need a Java web apps client, not server (I have a
mail server), similar to Yahoo/Hotmail, running under
Tomcat which allows to read/send e-mails when I'm out
of office.

I found a few Java web based front-ends, but I will be
glad to hear what others recommend. So, its a
Tomcat/Java relative too :)

Evgeny Gesin


--- Robert F Hall <[EMAIL PROTECTED]> wrote:

> Evgeny,
> 
> Can't help you on the experience side.  But asking
> the right question
> will help you get the right answers.   You are
> looking for folks to share
> their experiences/opinions of java mail *servers*,
> right?
> 
> - Robert
> 
> Evgeny Gesin wrote:
> 
> >Robert,
> >
> >I wanted to hear what others recommend based on
> their
> >experiences. I need opinions.
> >
> >Evgeny Gesin
> >
> >
> >--- Robert F Hall <[EMAIL PROTECTED]> wrote:
> >
> >  
> >
> >>Evgeny,
> >>
> >>Google 'java mail server', I'm guessing yuou will
> >>find what you need.
> >>
> >>- Robert
> >>
> >>Evgeny Gesin wrote:
> >>
> >>
> >>
> >>>Hi Litty Preeth.
> >>>
> >>>CraftMail looks like a standalone application. I
> >>>  
> >>>
> >>need
> >>
> >>
> >>>a web based client, like Yahoo/Hotmail, which
> runs
> >>>  
> >>>
> >>on
> >>
> >>
> >>>the server. I will access that web client using a
> >>>regular web browser.
> >>>
> >>>Thanks!
> >>>
> >>>Evgeny Gesin
> >>>
> >>>
> >>>
> >>>--- Litty Preeth <[EMAIL PROTECTED]> wrote:
> >>>
> >>> 
> >>>
> >>>  
> >>>
> >>>>Hi Evgeny Gesin
> >>>>
> >>>>There is a java mail client given by freebeans.
> >>>>The url is :
> >>>>
> >>>>   
> >>>>
> >>>>    
> >>>>
>
>>http://www2s.biglobe.ne.jp/~dat/java/applications/CraftMail/index_en.html
> >>
> >>
> >>> 
> >>>
> >>>  
> >>>
> >>>>With regards,
> >>>>Litty Preeth
> >>>>
> >>>>--- Evgeny Gesin <[EMAIL PROTECTED]> wrote:
> >>>>
> >>>>   
> >>>>
> >>>>
> >>>>
> >>>>>I run QMail server and need a web based client
> >>>>>written
> >>>>>in Java. I will access that client from
> anywhere
> >>>>>like
> >>>>>Yahoo mail.
> >>>>>
> >>>>>There is a SquirrelMail/Courier-IMAP which use
> >>>>> 
> >>>>>
> >>>>>  
> >>>>>
> >>>>PHP,
> >>>>   
> >>>>
> >>>>
> >>>>
> >>>>>but I need a Java-based web client.
> >>>>>
> >>>>>Any pointers will be helpful
> >>>>>
> >>>>>Evgeny Gesin
> >>>>>
> >>>>>  
> >>>>>
> >
> >
> >
> > 
> >__ 
> >Yahoo! Mail 
> >Stay connected, organized, and protected. Take the
> tour: 
> >http://tour.mail.yahoo.com/mailtour.html 
> >
> >
>
>-
> >To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> >For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
> >  
> >
> 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



Re: A web based e-mail client

2005-08-13 Thread Evgeny Gesin
Robert,

I wanted to hear what others recommend based on their
experiences. I need opinions.

Evgeny Gesin


--- Robert F Hall <[EMAIL PROTECTED]> wrote:

> Evgeny,
> 
> Google 'java mail server', I'm guessing yuou will
> find what you need.
> 
> - Robert
> 
> Evgeny Gesin wrote:
> 
> >Hi Litty Preeth.
> >
> >CraftMail looks like a standalone application. I
> need
> >a web based client, like Yahoo/Hotmail, which runs
> on
> >the server. I will access that web client using a
> >regular web browser.
> >
> >Thanks!
> >
> >Evgeny Gesin
> >
> >
> >
> >--- Litty Preeth <[EMAIL PROTECTED]> wrote:
> >
> >  
> >
> >>Hi Evgeny Gesin
> >>
> >>There is a java mail client given by freebeans.
> >>The url is :
> >>
> >>
> >>
>
>http://www2s.biglobe.ne.jp/~dat/java/applications/CraftMail/index_en.html
> >  
> >
> >>With regards,
> >>Litty Preeth
> >>
> >>--- Evgeny Gesin <[EMAIL PROTECTED]> wrote:
> >>
> >>
> >>
> >>>I run QMail server and need a web based client
> >>>written
> >>>in Java. I will access that client from anywhere
> >>>like
> >>>Yahoo mail.
> >>>
> >>>There is a SquirrelMail/Courier-IMAP which use
> >>>  
> >>>
> >>PHP,
> >>
> >>
> >>>but I need a Java-based web client.
> >>>
> >>>Any pointers will be helpful
> >>>
> >>>Evgeny Gesin
> >>>
> 




__ 
Yahoo! Mail 
Stay connected, organized, and protected. Take the tour: 
http://tour.mail.yahoo.com/mailtour.html 


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



Re: A web based e-mail client

2005-08-13 Thread Evgeny Gesin
Hi Litty Preeth.

CraftMail looks like a standalone application. I need
a web based client, like Yahoo/Hotmail, which runs on
the server. I will access that web client using a
regular web browser.

Thanks!

Evgeny Gesin



--- Litty Preeth <[EMAIL PROTECTED]> wrote:

> Hi Evgeny Gesin
> 
> There is a java mail client given by freebeans.
> The url is :
>
http://www2s.biglobe.ne.jp/~dat/java/applications/CraftMail/index_en.html
> 
> With regards,
> Litty Preeth
> 
> --- Evgeny Gesin <[EMAIL PROTECTED]> wrote:
> 
> > I run QMail server and need a web based client
> > written
> > in Java. I will access that client from anywhere
> > like
> > Yahoo mail.
> > 
> > There is a SquirrelMail/Courier-IMAP which use
> PHP,
> > but I need a Java-based web client.
> > 
> > Any pointers will be helpful
> > 
> > Evgeny Gesin
> > 
> > __
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> > protection around 
> > http://mail.yahoo.com 
> > 
> >
>
-
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > 
> > 
> 
> 
> 
>   
> __ 
> Do you Yahoo!? 
> Yahoo! Mail - Find what you need with new enhanced
> search. 
> http://info.mail.yahoo.com/mail_250
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



A web based e-mail client

2005-08-13 Thread Evgeny Gesin
I run QMail server and need a web based client written
in Java. I will access that client from anywhere like
Yahoo mail.

There is a SquirrelMail/Courier-IMAP which use PHP,
but I need a Java-based web client.

Any pointers will be helpful

Evgeny Gesin

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



Re: J2SE 5.0 redirects applets to java.com

2005-02-08 Thread Evgeny Gesin
David,

if you run applets under Windows, you may need to
completely remove all older Java Plug-ins to clean
Windows Registry and re-install latest Java Plug-in
again.

Than "redirect" to Sun web site should not occur.

Evgeny Gesin
http://www.javadesk.com
http://www.alltelescopes.com


--- "David W. Brown" <[EMAIL PROTECTED]> wrote:

> Hello Tomcat users and gurus (Dev too). I have been
> using Tomcat and some version of jdk for several
> years. Tomcat is my servlet server of choice mostly
> on Linux systems when my employers allow such
> things. I recently downloaded the lastest
> (yesterday) binary for Windows XP. Seeing that the
> new Tomcat will only run under the new J2SE 5.0 I
> downloaded and installed: jdk1.5.0_01 executable.
> After installation the old familiar Tomcat page came
> up as usual at: http://localhost:8080. What happened
> next is for my part inexplicable. I lost all ability
> to run any type of applet except for:
> file://.html. Any applets using: HTTP://
> where redirected to: http://java.com with the new
> Java Logo animated sunburst in the middle of the
> webpage. All applets regardless of source: local or
> public IP where re-directed to: http://java.com. The
> remedy was to uninstall J2SE 5.0. Needless to say I
> am severely hampered by not being able to run Tomcat
> because of a wayward jdk. I have sent this problem
> to java.com contact email but so-far ignored by
> java.com. If anyone has any comments, suggestions,
> remedies, rants or raves please reply.
> 
> David Brown
> IT/COMMO
> KBR - USMI
> KIRKUK AB
> 281-669-1655x102
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 




__ 
Do you Yahoo!? 
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250

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



RE: Internationalization of characters --UTF8 encoding

2004-10-29 Thread Evgeny Gesin
It's specific for driver you use. I don't have a url
for Oracle drivers, I use JConnector for MySQL
http://dev.mysql.com/doc/connector/j/en/

Here is sample of driver line in server.xml:

jdbc:mysql://127.0.0.1:3306/db?autoReconnect=true&useUnicode=true&characterEncoding=utf8&

Take attention of these two parameters useUnicode=true
and characterEncoding=utf8.

Evgeny
Javadesk / AllTelescopes


--- Shilpa Nalgonda <[EMAIL PROTECTED]> wrote:

> can u point me to a resource how i can do it.
> 
> -Original Message-
> From: Evgeny Gesin [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 29, 2004 9:42 AM
> To: Tomcat Users List
> Subject: Re: Internationalization of characters
> --UTF8 encoding 
> 
> 
> > .. is supposed to take japanese characters an
> insert
> > them into database. Is there any setting in
> Tomcat4
> > where i should be giving the encoding option.
> 
> You can specify parameters for SQL driver when you
> define DataSource in Tomcat's server.xml. I think
> most
> of Oracle drivers can process UTF-8, without the
> needs
> for such parameters, but MySQL 3.xx, for example,
> needs such parameters...
> 
> Evgeny
> Javadesk / AllTelescopes
> 
> 
>   
> __
> Do you Yahoo!?
> Yahoo! Mail Address AutoComplete - You start. We
> finish.
> http://promotions.yahoo.com/new_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]
> 
> 




__
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 

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



Re: Internationalization of characters --UTF8 encoding

2004-10-29 Thread Evgeny Gesin
> .. is supposed to take japanese characters an insert
> them into database. Is there any setting in Tomcat4
> where i should be giving the encoding option.

You can specify parameters for SQL driver when you
define DataSource in Tomcat's server.xml. I think most
of Oracle drivers can process UTF-8, without the needs
for such parameters, but MySQL 3.xx, for example,
needs such parameters...

Evgeny
Javadesk / AllTelescopes



__
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 

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



Re: which Linux Platform is best for Tomcat?

2004-10-26 Thread Evgeny Gesin
Tomcat 4.x works very well on production servers with
RedHat 9 and Fedora 2. The new Java 1.5 adds better
memory management.

Evgeny Gesin
http://www.javadesk.com
http://www.alltelescopes.com



__
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 

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



RE: Tomcat smtp SSL transport?

2004-10-15 Thread Evgeny Gesin
Well,
it could be a certificate issue.

tail -f  /var/log/qmail/smtpd/current | tai64nlocal
...
454 TLS connection failed: error:14094416:SSL
routines:SSL _READ_BYTES:sslv3 alert certificate
unknown (#4.3.0)

Looks like I need to import qmail's clientcert.pem
into Tomcat or Java trustStore.

Thanks
Evgeny

--- "Shapira, Yoav" <[EMAIL PROTECTED]> wrote:

> 
> Hi,
> I personally don't know, as I haven't tried it.  But
> it's more of a
> JavaMail question than a Tomcat question.  All
> Tomcat does is provide a
> Bean factory for the normal JavaMail Session
> objects.  Tomcat doesn't
> provide customized mail Session objects or anything
> like that.
> 
> Yoav Shapira http://www.yoavshapira.com
> 
> 
> >-Original Message-
> >From: Evgeny Gesin [mailto:[EMAIL PROTECTED]
> >Sent: Friday, October 15, 2004 9:46 AM
> >To: Tomcat Users List
> >Subject: RE: Tomcat smtp SSL transport?
> >
> >Hi Yoav.
> >Tomcat and QMail are installed on same host.
> Currently
> >clients (Mozilla-mail, KMail, ect) send email using
> >SSL encryption.
> >
> >I need also send e-mails from Tomcat.
> >
> >Can I configure Tomcat server.xml or QMail or smtp
> >relay (/etc/tcp.smtp) or ? to send e-mail via TCP
> and
> >not SSL?
> >
> >Thanks!
> >Evgeny
> >
> >--- "Shapira, Yoav" <[EMAIL PROTECTED]> wrote:
> >
> >>
> >> Hi,
> >> Tomcat only ships with the basic JavaMail
> provider,
> >> which IIRC doesn't
> >> have S/MIME support.  You have to get a 3rd party
> >> library, such as
> >> CryptoMail (a SourceForge project IIRC), and use
> it.
> >>  You might need to
> >> write a trivial CryptoMailSessionFactory to use
> as
> >> the Bean factory for
> >> Tomcat's JNDI resource.  Or you could use the
> >> library directory from
> >> your webapp without going through Tomcat and its
> >> JNDI resources.
> >>
> >> There are numerous providers of S/MIME support
> for
> >> JavaMail listed on
> >> the JavaMail java.sun.com site.
> >>
> >> Yoav Shapira http://www.yoavshapira.com
> >>
> >>
> >> >-Original Message-
> >> >From: Evgeny Gesin
> [mailto:[EMAIL PROTECTED]
> >> >Sent: Thursday, October 14, 2004 6:04 PM
> >> >To: Tomcat Users List
> >> >Subject: Tomcat smtp SSL transport?
> >> >
> >> >I need to send email from Tomcat:
> >> >
> >> >- smtp server on localhost.
> >> >- port 465.
> >> >- smtp encrypts messages using SSL.
> >> >- smtp authenticates users via CRAM-MD5.
> >> >
> >> >I probably need to add more parameters
> >> >
> >> >
> >>
>
>>mail.smtp.host127.0.0.1 t
> >> er>
> >>
>
>>mail.smtp.port465
> >> >
> >> >
> >> >1. Do I need to set a specific mail.class of the
> >> >provider, which and how ?
> >> >2. How to specify SSL encryption ?
> >> >3. How to specify CRAM-MD5 authentication ?
> >> >
> >> >Thanks!
> >> >Evgeny
> >> >
> >> >
> >> >
> >> >__
> >> >Do you Yahoo!?
> >> >Take Yahoo! Mail with you! Get it on your mobile
> >> phone.
> >> >http://mobile.yahoo.com/maildemo
> >> >
> >>
>
>>-
> >> >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 command

RE: Tomcat smtp SSL transport?

2004-10-15 Thread Evgeny Gesin
Hi Yoav.
Tomcat and QMail are installed on same host. Currently
clients (Mozilla-mail, KMail, ect) send email using
SSL encryption.

I need also send e-mails from Tomcat.

Can I configure Tomcat server.xml or QMail or smtp
relay (/etc/tcp.smtp) or ? to send e-mail via TCP and
not SSL?

Thanks!
Evgeny

--- "Shapira, Yoav" <[EMAIL PROTECTED]> wrote:

> 
> Hi,
> Tomcat only ships with the basic JavaMail provider,
> which IIRC doesn't
> have S/MIME support.  You have to get a 3rd party
> library, such as
> CryptoMail (a SourceForge project IIRC), and use it.
>  You might need to
> write a trivial CryptoMailSessionFactory to use as
> the Bean factory for
> Tomcat's JNDI resource.  Or you could use the
> library directory from
> your webapp without going through Tomcat and its
> JNDI resources.
> 
> There are numerous providers of S/MIME support for
> JavaMail listed on
> the JavaMail java.sun.com site.
> 
> Yoav Shapira http://www.yoavshapira.com
> 
> 
> >-Original Message-
> >From: Evgeny Gesin [mailto:[EMAIL PROTECTED]
> >Sent: Thursday, October 14, 2004 6:04 PM
> >To: Tomcat Users List
> >Subject: Tomcat smtp SSL transport?
> >
> >I need to send email from Tomcat:
> >
> >- smtp server on localhost.
> >- port 465.
> >- smtp encrypts messages using SSL.
> >- smtp authenticates users via CRAM-MD5.
> >
> >I probably need to add more parameters
> >
> >
>
>mail.smtp.host127.0.0.1 er>
>
>mail.smtp.port465
> >
> >
> >1. Do I need to set a specific mail.class of the
> >provider, which and how ?
> >2. How to specify SSL encryption ?
> >3. How to specify CRAM-MD5 authentication ?
> >
> >Thanks!
> >Evgeny
> >
> >
> >
> >__
> >Do you Yahoo!?
> >Take Yahoo! Mail with you! Get it on your mobile
> phone.
> >http://mobile.yahoo.com/maildemo
> >
>
>-
> >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]
> 
> 




___
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

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



Tomcat smtp SSL transport?

2004-10-14 Thread Evgeny Gesin
I need to send email from Tomcat:

- smtp server on localhost.
- port 465.
- smtp encrypts messages using SSL.
- smtp authenticates users via CRAM-MD5.

I probably need to add more parameters


mail.smtp.host127.0.0.1
mail.smtp.port465


1. Do I need to set a specific mail.class of the
provider, which and how ?
2. How to specify SSL encryption ?
3. How to specify CRAM-MD5 authentication ?

Thanks!
Evgeny



__
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo 

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



Re: Virtual Hosts and MySQL

2004-07-31 Thread Evgeny Gesin
Do you meant "deployOnStartup" ("loadOnStartup")? It
is not available in 4.1.xx (my case).

I found easer to manage multiple contexts in separate
directories of virtual hosts, than limit use of
deployment parameters.

Thanks for reply! :)

Evgeny

> On Sat, Jul 31, 2004 at 12:45:50PM -0700, Evgeny
> Gesin wrote:
> : Tomcat loads all* web-apps under "appBase" when
> : starting virtual hosts. Using different "appBase"
> for
> : each virtual "host" solves the problem.
> 
> Just for the archives, Tomcat loads *all* webapps
> when "loadOnStartup"
> is true for the  element.  Set it to "false"
> and you won't have
> that problem.
> 
> Of course, if you're deploying apps to the same dir,
> but they're managed
> by different vhosts, then you may want to set the
> 's "autoDeploy"
> to false, as well.  Otherwise you'll trigger a
> deployment on the other
> vhosts when you deploy to the intended one...
> 
> 
> : Thanks for not response :))
> 
> Well, now you have one. ;)
> 
> -QM
> 
> -- 
> 
> software  -- http://www.brandxdev.net
> tech news -- http://www.RoarNetworX.com
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 




__
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 

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



Re: Virtual Hosts and MySQL

2004-07-31 Thread Evgeny Gesin
Well, I solved.
Tomcat loads all* web-apps under "appBase" when
starting virtual hosts. Using different "appBase" for
each virtual "host" solves the problem.

Thanks for not response :))
Evgeny




__
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 

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



Virtual Hosts and MySQL

2004-07-30 Thread Evgeny Gesin
I want to test a virtual host on my local machine (lo
IP), before I add new host to real web server (eth0
IP). So, I added 127.0.0.2 to local machine and now
'ifconfig' returns two IP addresses

loLink encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0

lo:0  Link encap:Local Loopback
  inet addr:127.0.0.2  Mask:255.0.0.0

I use 127.0.0.1 for first virtual host, 127.0.0.2 for
second virtual host and 127.0.0.1:3306 to connect to
local MySQL server.

When I run Tomcat 4.1.30 with either  or ,
everything works fine!

But when I run both virtual hosts, Tomcat cannot
connect to MySQL:
org.apache.commons.dbcp.SQLNestedException: Cannot
create JDBC driver of class '' for connect URL 'null',
cause: 
java.sql.SQLException: No suitable driver


 
 
  
  
   
   

usernameusername

passwordpassword

driverClassNameorg.gjt.mm.mysql.Driver

urljdbc:mysql://127.0.0.1:3306/myapp1DB?autoReconnect=true
   
  
 
 
  
  
   
   

usernameusername

passwordpassword

driverClassNameorg.gjt.mm.mysql.Driver

urljdbc:mysql://127.0.0.1:3306/myapp2DB?autoReconnect=true
   
  
 


1. Why running both 127.0.0.1:80 and 127.0.0.2:80 fall
to connect to MySQL, and running one of these hosts is
not the problem?
2. Should I change workers.properties
(worker.ajp13.host=localhost)?

Evgeny



__
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo 

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



Re: Precompiling JSP How To

2004-07-16 Thread Evgeny Gesin
Hi,
when I run that code I get this error "No public
no-arg constructor in class org.apache.jasper.JspC",
probably in ""

What could be wrong?

Evgeny

--- Tim Funk <[EMAIL PROTECTED]> wrote:
> Use this in your build.xml ...
> 
> 
>  description="prcompile the jsps">
>  
>   name="jasper2" >
>
>  
> 
>  
>   value="${build.dir}/WEB-INF/jspc/src"/>
>   value="${build.dir}/WEB-INF/jspc/classes"/>
>  
>  
> 
>  
> validateXml="false"
>   uriroot="${build.dir}"
>  
>
webXmlFragment="${build.dir}/WEB-INF/generated_web.xml"
>   addWebXmlMappings="true"
>   outputDir="${jsp.src}" />
> 
>  
>   optimize="off"
> debug="on" failonerror="false"
> srcdir="${jsp.src}"
> excludes="**/*.smap">
>
>
>  
> 
>  
>   jarfile="${build.dir}/WEB-INF/lib/jsps.jar"
> index="false">
> 
>
> 
>  
> 
>  
>  
>  
> 
>
> 
> 
> -Tim
> 
> 
> Hofmann, Benjamin wrote:
> 
> > How do I set up my Tomcat 5 to precompile all of
> my JSP files?
> > 
> >   
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 





__
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 

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



RE: jspc

2004-06-25 Thread Evgeny Gesin
Hi,
when I run jspc from command line

${tomcat_home}/bin/jspc.sh -s -l -uriroot
${tomcat_home}/webapps/myapp -d ${tomcat_home}/work

it generates .class files according to hierarchy* of
JSP files and that what I expected.

When I run this And task


  

  


it generates .java files - and all files in the 'work'
directory, JSP hierarchy is missed.

Could you advice how to use Ant task for better
results. I consulted Ant doc, but still have the
question..

Thanks
Evgeny



--- Peter Guyatt <[EMAIL PROTECTED]>
wrote:
> Hi There,
> 
>   The memory leak was in JDK1.4.1 and was to do with
> Strings and StringBuffer
> sharing memory for performance.
> 
> Use JDK1.4.2 to ensure that this problem does not
> happen.
> 
> Pete
> 
> -Original Message-
> From: Nick Curry
> [mailto:[EMAIL PROTECTED]
> Sent: 25 June 2004 11:08
> To: Tomcat Users List
> Subject: RE: jspc
> 
> 
> I seem to remember something about a known memory
> leak in javac 1.4 (not
> sure which version), which might affect you if you
> use javac and have many
> JSPs to compile - so that might be another argument
> for precompiling your
> jsps...
> 
> Nick
> 
> 
> -Original Message-
> From: Michiel Toneman
> [mailto:[EMAIL PROTECTED]
> Sent: 25 June 2004 10:29
> To: Tomcat Users List
> Subject: Re: jspc
> 
> 
> 
> A good reason to precompile your JSP files is to
> make sure you don't
> accidentally have broken JSP files on production.
> You then know *before*
> deployment if any changes to your JSP files or the
> java classes they
> belong to cause breakage.
> 
> Michiel
> 
> 
> Paul Wallace wrote:
> 
> >Hi,
> > Yes..that is what I thought, but I learned from a
> 'reliable'
> >source I could accomplish this on saving overhead.
> So rather than
> >looking into the whys and whats, I looked into how
> to do it, and look
> >into the performance benefits later. I will provide
> the list with my
> >sources reasoning, when it becomes available!
> > A thought..and to answer a question with a
> question (Why would
> >you precompile jsp files?), why is jspc there? If
> only to increase
> >performance on the first hit?
> >
> >Thanks
> >
> >Paul.
> >
> >It will increase speed on the first viewing of the
> jsp, but after that I
> >
> >can't see how there will be any difference.  How
> much memory can you
> >save
> >if any?  And how would that work?
> >
> >Thanks
> >
> >On Fri, 25 Jun 2004 11:12:44 +1000, Paul Wallace
> <[EMAIL PROTECTED]>
> >wrote:
> >
> >
> >
> >>In an effort to increase speed/free up memory that
> otherwise might be
> >>consumed by Tomcat otherwise
> >>
> >>Why would you precompile jsp files?
> >>
> >>On Fri, 25 Jun 2004 09:32:38 +1000, Paul Wallace
> <[EMAIL PROTECTED]>
> >>wrote:
> >>
> >>
> >>
> >>>(sorry, wrong key!)
> >>>
> >>>Hi Jason,
> >>>   Thanks for that. Yes, it does make sense. A
> couple of things
> >>>though, I just ran it with -compile - great. But
> my query about the
> >>>
> >>>
> >>work
> >>
> >>
> >>>directory and was more towards what I am being
> 'encouraged' to do
> >>>
> >>>
> >from
> >
> >
> >>>the powers that be. I.e not WAR the app., but put
> it in the work
> >>>directory. Is this ill-advised/poor practice?
> >>>   To accomplish this, is it as simple as dragging
> the compiled
> >>>source under my work directory, and modifying my
> web.xml as advised?
> >>>   Why does -compile work, but not appear in the
> usage?!
> >>>   Also, can I specify a path for the compilation,
> rather than the
> >>>classes be placed in the same dirs as the source?
> (I tried adding a
> >>>
> >>>
> >>path
> >>
> >>
> >>>after the -compile switch, but it constructed and
> compiled a file
> >>>
> >>>
> >with
> >
> >
> >>>the same name as the class directory
> destination).
> >>>
> >>>Do I make sense?!
> >>>
> >>>Paul.
> >>>
> >>>Paul,
> >>>
> >>>I just use the -compile option and have jspc do
> the
> >>>compilation from .java to .class for me.  It
> seems to
> >>>work fairly well.  Once all the fully compiled
> (ie
> >>>.class) files are placed in you applications
> >>>WEB-INF/classes directory you just need to place
> the
> >>>generated web.xml file in WEB-INF.  There is an
> option
> >>>to create a complete web.xml file that you can
> place
> >>>in WEB-INF or, if you already have a web.xml file
> you
> >>>want to keep, you can have jspc create an xml
> fragment
> >>>that just contains the servlet definitions and
> >>>mappings that you then add (in the appropriate
> place)
> >>>to your existing web.xml.  Then just war up you
> >>>application directory in the normal way (you can
> even
> >>>delete the jsps once your certain the servlet
> mappings
> >>>are working).
> >>>   If you try to put the generated files in your
> >>>working directory you won't be able to war them
> up and
> >>>deploy them in the normal "put war file under
> webapps
> >>>directory and tomcat will expand it when it
> starts"
> >>>way.  You'd have to ship a complete tomcat
> directory
> >>>structure with the work directory already filled
> i

tomcat-user@jakarta.apache.org

2004-06-25 Thread Evgeny Gesin
I just tried a similar 'jspc' command and it generates
all .java under the same output directory - there
is no original .jsp hierarchy.

How to tell jspc to generate/compile files according
to JSP directory hierarchy?

Evgeny
Javadesk


Hi.

In addition to sacing resources on the webserver it
also allows you to 
run
your tomcat server (the live one) without javac being
on the machine - 
which
is a security step.

Carl

-Original Message-
From: Paul Wallace [mailto:[EMAIL PROTECTED] 
Sent: 25 June 2004 03:38 AM
To: Tomcat Users List
Subject: RE: jspc 


Hi,
Yes..that is what I thought, but I learned from a
'reliable' source
I could accomplish this on saving overhead. So rather
than looking into 
the
whys and whats, I looked into how to do it, and look
into the 
performance
benefits later. I will provide the list with my
sources reasoning, when 
it
becomes available! 
A thought..and to answer a question with a question
(Why would you
precompile jsp files?), why is jspc there? If only to
increase 
performance
on the first hit?

Thanks

Paul. 

It will increase speed on the first viewing of the
jsp, but after that 
I

can't see how there will be any difference.  How much
memory can you 
save 
if any?  And how would that work?

Thanks

On Fri, 25 Jun 2004 11:12:44 +1000, Paul Wallace
<[EMAIL PROTECTED]> 
wrote:

> In an effort to increase speed/free up memory that
otherwise might be 
> consumed by Tomcat otherwise
>
> Why would you precompile jsp files?
>
> On Fri, 25 Jun 2004 09:32:38 +1000, Paul Wallace
<[EMAIL PROTECTED]>
> wrote:
>
>> (sorry, wrong key!)
>>
>> Hi Jason,
>>  Thanks for that. Yes, it does make sense. A couple
of things 
though,

>> I just ran it with -compile - great. But my query
about the
> work
>> directory and was more towards what I am being
'encouraged' to do
from
>> the powers that be. I.e not WAR the app., but put
it in the work 
>> directory. Is this ill-advised/poor practice?
>>  To accomplish this, is it as simple as dragging
the compiled source 
>> under my work directory, and modifying my web.xml
as advised?
>>  Why does -compile work, but not appear in the
usage?!
>>  Also, can I specify a path for the compilation,
rather than the 
>> classes be placed in the same dirs as the source?
(I tried adding a
> path
>> after the -compile switch, but it constructed and
compiled a file
with
>> the same name as the class directory destination).
>>
>> Do I make sense?!
>>
>> Paul.
>>
>> Paul,
>>
>> I just use the -compile option and have jspc do the
compilation from 
>> .java to .class for me.  It seems to work fairly
well.  Once all the 
>> fully compiled (ie
>> .class) files are placed in you applications
>> WEB-INF/classes directory you just need to place
the generated 
>> web.xml file in WEB-INF.  There is an option to
create a complete 
>> web.xml file that you can place in WEB-INF or, if
you already have a 
>> web.xml file you want to keep, you can have jspc
create an xml 
>> fragment that just contains the servlet definitions
and
>> mappings that you then add (in the appropriate
place)
>> to your existing web.xml.  Then just war up you
>> application directory in the normal way (you can
even
>> delete the jsps once your certain the servlet
mappings
>> are working).
>>If you try to put the generated files in your
>> working directory you won't be able to war them up
and
>> deploy them in the normal "put war file under
webapps
>> directory and tomcat will expand it when it starts"
>> way.  You'd have to ship a complete tomcat
directory
>> structure with the work directory already filled in
>> with your compiled jsps.  Does that make sense?
>>
>> Jason
>>
>> --- Paul Wallace <[EMAIL PROTECTED]> wrote:
>>> Hello,
>>> I have compiled my JSPs thus:
>>>
>>> jspc -webapp C:\src\site -d C:\src\site\classes -s
>>> -l -uriroot
>>> C:\src\site
>>>
>>> this builds the Java source files to the specified
location, but 
how
>>> might I deploy them?
>>>
>>> What is a typical deployment after a JSP
>>> compilation? Compilation of
>>> Java source files, then WAR/JAR? Can I not define
>>> the JSP compile to go
>>> under my work directory?
>>>
>>> The purpose of my efforts is to try and speed up /
>>> make TC less memory
>>> consumptive.
>>>
>>> cheers
>>>
>>> Paul.



__
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail 

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



Re: Bad Cookie Name when NOT using cookies?

2004-05-11 Thread Evgeny Gesin
> Do you have that many applications that might be
> setting cookies?
Those apps are clones of myapplName, and no one set
cookie. May be I need to look at Apache or Tomcat
configuration files, but what directives to search?
Can Apache "redirect" generate such error Path /Value:
/myapplName ?

> Does myapplName ring a bell?

No, myapplName works very well, no errors a long time.

Evgeny
Javadesk


Do you have that many applications that might be
setting cookies?

 From the log posted, the cookie that tomcat seemed to
be complaining 
about was:

Path /Value: /myapplName

It doesn't say anything about what the name of the
cookie is... unless 
that is what Value is showing.
Does myapplName ring a bell?

Evgeny Gesin wrote:

>Of course, I not disabled cookies in Tomcat and my
>program invokes session.getAttribute() and
>session.setAttribute(), but the program not
>creates/reads cookies.
>
>So, I will think about (2), if another appl on my
>server might be setting cookies in the root path...
>By the way how I can check that?
>--
>Evgeny
>Javadesk
>
>Some questions that might help:
>
>1) Do you have cookies turned off completely on all
of
>your contexts? 
>That means that you should be seeing ;jsessionid= in
>any of your URLs 
>unless they are just hard coded html urls, right? In
>other words, if 
>you 
>use response.encodeURL() for links, you should have
>the jsessionid 
>added 
>to the URL.
>Are you doing nothing with sessions?
>session.getAttribute(), or 
>setAttribute() ?
>You couldn't truly be doing anything with them if you
>really have 
>cookies turned off.
>If you do have no session cookie, then either you
have
>jsessionid in 
>all 
>of your request URLs, or else you are creating a new
>session on every 
>request... you could try
>System.out.println(session.getId()) to see if 
>you are getting a new session everytime or reusing an
>old one.
>
>2) Are there other apps at your domain that might be
>setting cookies in 
>the root path, and tomcat just happens to be trying
to
>load them?
>
>Daniel Gibby




__
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 

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



Re: Bad Cookie Name when NOT using cookies?

2004-05-11 Thread Evgeny Gesin
Of course, I not disabled cookies in Tomcat and my
program invokes session.getAttribute() and
session.setAttribute(), but the program not
creates/reads cookies.

So, I will think about (2), if another appl on my
server might be setting cookies in the root path...
By the way how I can check that?
--
Evgeny
Javadesk

Some questions that might help:

1) Do you have cookies turned off completely on all of
your contexts? 
That means that you should be seeing ;jsessionid= in
any of your URLs 
unless they are just hard coded html urls, right? In
other words, if 
you 
use response.encodeURL() for links, you should have
the jsessionid 
added 
to the URL.
Are you doing nothing with sessions?
session.getAttribute(), or 
setAttribute() ?
You couldn't truly be doing anything with them if you
really have 
cookies turned off.
If you do have no session cookie, then either you have
jsessionid in 
all 
of your request URLs, or else you are creating a new
session on every 
request... you could try
System.out.println(session.getId()) to see if 
you are getting a new session everytime or reusing an
old one.

2) Are there other apps at your domain that might be
setting cookies in 
the root path, and tomcat just happens to be trying to
load them?

Daniel Gibby




__
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 

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



Bad Cookie Name when NOT using cookies?

2004-05-10 Thread Evgeny Gesin
I not remember, if I asked this before, but it
happened again.

I DON'T USE cookies in my application. But sometimes I
see the following error messages in catalina log
files.
Can you comment and how to solve that?

Evgeny
Javadesk

2004-05-09 23:57:53 CoyoteAdapter Bad Cookie Name:
Path /Value: /myapplName
java.lang.IllegalArgumentException: Cookie name Path
is a reserved token
at
javax.servlet.http.Cookie.(Cookie.java:185)
at
org.apache.coyote.tomcat4.CoyoteAdapter.parseCookies(CoyoteAdapter.java:413)
at
org.apache.coyote.tomcat4.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:304)
at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:197)
at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:324)
at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:395)
at
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:673)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:615)
at
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)




__
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 

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



Re: good webhosting

2004-04-18 Thread Evgeny Gesin
You need to answer at least these questions:
- what monthly traffic do you need?
- what OS and server software do you need?
- what security do you need?
- can you manage the server or need an admin?
- what is your budget?

Just a quick note:
For personal use any shared j2ee hosting will serve
your needs. For production use buy managed* dedicated*
server to save in technical staff, expensive
maintenance and support.

Evgeny
Javadesk

--- "agarlita,dan" <[EMAIL PROTECTED]> wrote:
> http://www.hostforweb.com
> is a good service, I work with them about 3 years
> 
> 
> - Original Message - 
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, April 18, 2004 9:40 PM
> Subject: good webhosting
> 
> 
> > Hello everyone.   I was woundering if anyone could
> point me to a web
> hosting company that supports tomcat and php
> >
> > Thanks if you can help
> >
> >
> >
>
-
> > 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]
> 





__
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
http://photos.yahoo.com/ph/print_splash

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



RE: Yoav -->RE: TC 5 production use

2004-04-09 Thread Evgeny Gesin
Hi,

--- "Shapira, Yoav" <[EMAIL PROTECTED]> wrote:
> Again, that's not what I said.  You just have to
> evaluate your
> requirements carefully.  Various factors like the
> content mix (%static
> vs. %dynamic), scalability requirements, SSL load,
> and others all figure
> into this decision.

Apache is web server, but Tomcat is not, while
technically Tomcat can serve html and other docs.
Apache also provides more configuration options for
scalability, security, etc.
 
> For better or worse, the connectors between Apache
> and Tomcat not always easy to set up.  It's by far
> the most common question/problem reported
> on this list.

It is not a problem with JK connector, I don't use
JK2.

> But part of the reason it's such a common topic is
> because more people are using it than should be. 
> Not coincidentally, many of these people are ones
> who read somewhere once that tomcat is not
> a production-quality HTTP server, or that you have
> to put Apache in front for production installations,
> and didn't bother to verify/confirm/benchmark this
> assertion before following it blindly.

Those arguments sound as rumour, and of course should
not be used for serious decisions. At least Tomcat
4.1.29 is a good production version.

Yoav, you provide a great contribution to this list,
thank you very much!

-- Evgeny
Javadesk

__
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/

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



RE: Yoav -->RE: TC 5 production use

2004-04-09 Thread Evgeny Gesin
Yoav,
I use Apache in front of Tomcat a long ago and see no
problems? BTW, Apache executes all static content,
such as image files. Why you don't recommend Apache?

-- Evgeny
Javadesk


--- "Shapira, Yoav" <[EMAIL PROTECTED]> wrote:
> 
> Hi,
> 
> >What are you thoughts on a JBoss 4 setup?  Do you
> still
> >recommend staying away from Apache?
> 
> I don't have thoughts on JBoss 4 setup.
> 
> I recommend what I always have: evaluate your needs
> carefully and don't
> make design or deployment decisions, such as placing
> Apache in front of
> tomcat, because of something you once heard/read
> somewhere three years
> ago.  There are cases where Apache in front of
> tomcat is invaluable, and
> there are just as many cases where it's a hindrance.
> 
> Yoav shapira
> 
> >
> >--- "Shapira, Yoav" <[EMAIL PROTECTED]> wrote:
> >>
> >> Howdy,
> >> I'm using it in production, no issues.  But then
> again I steer
> >> clear of
> >> the practices that tend to cause issues
> frequently: I don't
> >> redeploy my
> >> apps in production (when I ship a new version I
> do so during
> >> our
> >> maintenance window and restart the server), I
> profile and test
> >> carefully
> >> for memory leaks, I don't use apache in front of
> tomcat, I do
> >> use a
> >> security manager, I do deploy and run only packed
> WARs,
> >> nothing
> >> reloadable or auto-deployed...
> >>
> >> Yoav Shapira
> >> Millennium ChemInformatics
> >>
> >>
> >> >-Original Message-
> >> >From: Johannes [mailto:[EMAIL PROTECTED]
> >> >Sent: Friday, February 06, 2004 4:43 PM
> >> >To: Tomcat Users List
> >> >Subject: TC 5 production use
> >> >
> >> >hi there,
> >> >
> >> >I saw TC5.0.18 is marked stable on the
> Tomcat-Website
> >> (production
> >> >quality). Is anybody using TC 5.0.x in
> production already ?
> >> Did any
> >> >remarkable issues arise?
> >> >
> >> >thx
> >> >Johannes
> >>
> >>
> >>
> >> 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]
> >>
> >
> >
> >=
> >
> >Norris Shelton
> >Software Engineer
> >Sun Certified Java 1.1 Programmer
> >Appriss, Inc.
> >ICQ# 26487421
> >AIM NorrisEShelton
> >YIM norrisshelton
> >
> >
> >__
> >Do you Yahoo!?
> >Yahoo! Small Business $15K Web Design Giveaway
> >http://promotions.yahoo.com/design_giveaway/
> >
>
>-
> >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]
> 


__
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/

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



Re: What is the the maximum characters that Tomcat can handle in a Se rvlet URL (doGet request) ?

2004-03-31 Thread Evgeny Gesin
I think that limitation is by HTTP protocol and not
directly specified. Practically I seen the GET limit
sending about 3000-3500 characters

Evgeny Gesin
Javadesk

--- [EMAIL PROTECTED] wrote:
> Hi,
>  
> What is Tomcat's limitation in getting requests
> through the URL - to use the
> doGet method 
> I.e if i run a Servlet, and i want to receive the
> request in the url ,what
> is the the maximum characters i can get ?
> Regards 
> Yair Fine
> 


__
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html

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



RE: Internationalization problem

2004-03-02 Thread Evgeny Gesin
I see, so this
 JAVA_OPTS=-Dfile.encoding="UTF8"
is important to generate correct chars from hardcoded
strings if written directly in java files.
Thanks

Evgeny Gesin
Javadesk


--- Ralph Einfeldt <[EMAIL PROTECTED]>
wrote:
> 
> You have to consider 3 different topics:
> - encoding of generated java files
>   This is defined by the file.encoding option of the
> jvm.
> 
> - encoding of the response
>   This is defined by the encoding tag of the jsp or
> by 
>   explicitly setting the encoding in the response
> 
> - encoding of the request
>   This is defined by explicitly setting the encoding
> 
>   for the request.
> 
> > -Original Message-
> > From: Evgeny Gesin [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, March 02, 2004 2:27 PM
> > To: Tomcat Users List
> > Subject: RE: Internationalization problem
> > 
> > 
> > Some sources say to set in catalina.sh
> >  JAVA_OPTS=-Dfile.encoding="UTF8"
> > 
> > What is relation of that parameter and
> Web/JSP/i18n ?
> > 
> > Evgeny Gesin
> > Javadesk
> > 
> > --- "STOCKHOLM, Raymond" <[EMAIL PROTECTED]>
> wrote:
> > > é is "é" in UTF-8.
> > > It means that your browser is returning UTF-8,
> and
> > > your servlet/JSP
> > > is expecting ISO-8859-1.
> > > Check how your JSP is configured to handle the
> > > character set.
> > > To use UTF-8 in your JSP :
> > > <%@ page contentType="text/html;charset=UTF-8"
> > > pageEncoding="UTF-8"  %>
> > > and make sure that the charset in your JSP/HTML
> is
> > > defined as UTF-8 : 
> > >  content="text/html;
> > > charset=UTF-8">
> > > 
> > > 
> > > -Message d'origine-
> > > De : Jonathan Abramsohn
> [mailto:[EMAIL PROTECTED]
> > > Envoyé : mardi 2 mars 2004 11:48
> > > À : Tomcat Users List
> > > Objet : Internationalization problem
> > > 
> > > 
> > > 
> > > I have problem with French special characters,
> like
> > > e with "accent" (é),
> > > When I get this character from user input,
> tomcat
> > > gets it as: é.
> > > Although I didn't check this in other languages
> I
> > > presume the same problems should also occur in
> > > German and Spanish and probably other languages.
> > > I'm working with tomcat 4.0.1 on Linux RH 9.0
> > > Anyone knows how to solve this?
> > > 
> > > 
> > > 
> > >
> >
>
-
> > > 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]
> > > 
> > 
> > 
> > __
> > Do you Yahoo!?
> > Yahoo! Search - Find what you're looking for
> faster
> > http://search.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]
> 


__
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com

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



RE: Internationalization problem [2]

2004-03-02 Thread Evgeny Gesin
Some sources say to set in catalina.sh
 JAVA_OPTS=-Dfile.encoding="UTF8"

What is relation of that parameter and Web/JSP/i18n ?

Evgeny Gesin
Javadesk

__
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com

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



RE: Internationalization problem

2004-03-02 Thread Evgeny Gesin
Some sources say to set in catalina.sh
 JAVA_OPTS=-Dfile.encoding="UTF8"

What is relation of that parameter and Web/JSP/i18n ?

Evgeny Gesin
Javadesk

--- "STOCKHOLM, Raymond" <[EMAIL PROTECTED]> wrote:
> é is "é" in UTF-8.
> It means that your browser is returning UTF-8, and
> your servlet/JSP
> is expecting ISO-8859-1.
> Check how your JSP is configured to handle the
> character set.
> To use UTF-8 in your JSP :
> <%@ page contentType="text/html;charset=UTF-8"
> pageEncoding="UTF-8"  %>
> and make sure that the charset in your JSP/HTML is
> defined as UTF-8 : 
> 
> 
> 
> -Message d'origine-
> De : Jonathan Abramsohn [mailto:[EMAIL PROTECTED]
> Envoyé : mardi 2 mars 2004 11:48
> À : Tomcat Users List
> Objet : Internationalization problem
> 
> 
> 
> I have problem with French special characters, like
> e with "accent" (é),
> When I get this character from user input, tomcat
> gets it as: é.
> Although I didn't check this in other languages I
> presume the same problems should also occur in
> German and Spanish and probably other languages.
> I'm working with tomcat 4.0.1 on Linux RH 9.0
> Anyone knows how to solve this?
> 
> 
> 
>
-
> 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]
> 


__
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com

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



Re: jsp:plugin and codebase

2004-02-25 Thread Evgeny Gesin
This will not work because of applet's security
restrictions. Waiting for more replies.

Evgeny Gesin
Javadesk


--- BAO RuiXian <[EMAIL PROTECTED]> wrote:
> 
> 
> Evgeny Gesin wrote:
> 
> >[snip...]
> >
> > >code="com.package.Applet.class"
> >codebase="/application1/applets/" width="50"
> >height="50">
> >
> >
> >Web applications, which run this applet, specify
> >different codebase attribute, such as application2,
> >application3 and so on.
> >  
> >
> Can you then put your applet outside of any your
> applications[1,2,3...]? 
> For example, in TOMCAT_ROOT directory, then the code
> base should be same 
> all the time.
> 
> Best
> 
> Bao
> 
> >Unfortunatelly JSP specification doesn't allow
> dynamic
> >codebase in jsp:plugin and we create a new JSP for
> >each new web domain to specify another hardcoded
> >codebase attribute.
> >
> >Could you please advice a trick to generate
> codebase
> >attribute at run-time, to deploy the same JSP in
> all
> >applications.
> >
> >Evgeny Gesin
> >Javadesk
> >
> >
> >  
> >
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html

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



jsp:plugin and codebase

2004-02-25 Thread Evgeny Gesin
This is JSP rather than Tomcat question, but I hope
for a reply.

I have a JSP with the following jsp:plugin code:




Web applications, which run this applet, specify
different codebase attribute, such as application2,
application3 and so on.

Unfortunatelly JSP specification doesn't allow dynamic
codebase in jsp:plugin and we create a new JSP for
each new web domain to specify another hardcoded
codebase attribute.

Could you please advice a trick to generate codebase
attribute at run-time, to deploy the same JSP in all
applications.

Evgeny Gesin
Javadesk

__
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html

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



RE: Tomcat error-page not working (was: RE: Tomcat and checked vs. unchecked exceptions)

2004-02-25 Thread Evgeny Gesin
This is JSP rather than Tomcat question, but I hope
for a reply.

I have a JSP with the following jsp:plugin code:




Web applications, which run this applet, specify
different codebase attribute, such as application2,
application3 and so on.

Unfortunatelly JSP specification doesn't allow dynamic
codebase in jsp:plugin and we create a new JSP for
each new web domain to specify another hardcoded
codebase attribute.

Could you please advice a trick to generate codebase
attribute at run-time, to deploy the same JSP in all
applications.

Evgeny Gesin
Javadesk

__
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools

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



Re: using jar files in place of class files

2004-02-25 Thread Evgeny Gesin
That's was exactly the problem, jar-s start work in
$CATALINA_HOME/webapps/app/WEB-INF/lib after setting
write permission (770) for $CATALINA_TMPDIR, and not
for the 'lib'.

Thank you.

Evgeny Gesin
Javadesk


--- Jon Wingfield <[EMAIL PROTECTED]> wrote:
> Also make sure that the user running tomcat has
> write permissions to 
> $CATALINA_TMPDIR. That's where the JVM does its
> temporary io work.
> 
> HTH,
> 
> Jon
> 
> Evgeny Gesin wrote:
> > I set ownership tomcatUser:tomcatUser and
> permission
> > 770 to the entire path
> > $CATALINA_HOME/webapps/app/WEB-INF/lib, including
> jar
> > files under 'lib',  and then got that exception
> again.
> > More advice?
> > 
> > Evgeny Gesin
> > Javadesk
> > 
> > --- "Filip Hanik (lists)" <[EMAIL PROTECTED]>
> wrote:
> > 
> >>- Root Cause -
> >>java.io.IOException: Permission denied
> >>at
>
>>java.io.UnixFileSystem.createFileExclusively(Native
> >>
> >>you have a permission issue on your filesystem,
> >>make sure the entire tomcat tree is owned by the
> >>user running tomcat
> >>
> >>Filip
> >>
> >>-Original Message-
> >>From: Evgeny Gesin [mailto:[EMAIL PROTECTED]
> >>Sent: Sunday, February 22, 2004 8:46 AM
> >>To: Tomcat Users List
> >>Subject: Re: using jar files in place of class
> files
> >>
> >>
> >>When I add any JAR in the WEB-INF/lib I got the
> >>following exception. Any advice?
> >>
> >>Evgeny Gesin
> >>Javadesk
> >>
> >>2004-02-22 18:38:09 WebappLoader[/myapp]:
> Deploying
> >>class repositories to work directory
> >>/usr/java/tomcat/work/Catalina/127.0.0.1:80/myapp
> >>2004-02-22 18:38:09 WebappLoader[/myapp]: Deploy
> JAR
> >>/WEB-INF/lib/myapp.jar to
>
>>/usr/java/tomcat/webapps/myapp/WEB-INF/lib/myapp.jar
> >>2004-02-22 18:38:10 ContextConfig[/myapp]
> Exception
> >>processing JAR at resource path
> >>/WEB-INF/lib/myapp.jar
> >>javax.servlet.ServletException: Exception
> processing
> >>JAR at resource path /WEB-INF/lib/myapp.jar
> >>at
> >>
> > 
> >
>
org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:930)
> > 
> >>at
> >>
> > 
> >
>
org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:868)
> > 
> >>at
> >>
> > 
> >
>
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647)
> > 
> >>at
> >>
> > 
> >
>
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:
> > 
> >>243)
> >>at
> >>
> > 
> >
>
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
> > 
> >>t.java:166)
> >>at
> >>
> > 
> >
>
org.apache.catalina.core.StandardContext.start(StandardContext.java:3582)
> > 
> >>at
> >>
> > 
> >
>
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
> > 
> >>at
> >>
> > 
> >
>
org.apache.catalina.core.StandardHost.start(StandardHost.java:754)
> > 
> >>at
> >>
> > 
> >
>
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
> > 
> >>at
> >>
> > 
> >
>
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363)
> > 
> >>at
> >>
> > 
> >
>
org.apache.catalina.core.StandardService.start(StandardService.java:497)
> > 
> >>at
> >>
> > 
> >
>
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
> > 
> >>at
> >>
> > 
> >
>
org.apache.catalina.startup.Catalina.start(Catalina.java:512)
> > 
> >>at
> >>
> > 
> >
>
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
> > 
> >>at
> >>
> > 
> >
>
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
> > 
> >>at
>
>>sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> >>Method)
> >>at
> >>
> > 
> >
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> > 
> >>)
> >>at
> >>
> > 
> >
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(Delegating

RE: using jar files in place of class files

2004-02-23 Thread Evgeny Gesin
I set ownership tomcatUser:tomcatUser and permission
770 to the entire path
$CATALINA_HOME/webapps/app/WEB-INF/lib, including jar
files under 'lib',  and then got that exception again.
More advice?

Evgeny Gesin
Javadesk

--- "Filip Hanik (lists)" <[EMAIL PROTECTED]> wrote:
> - Root Cause -
> java.io.IOException: Permission denied
>   at
> java.io.UnixFileSystem.createFileExclusively(Native
> 
> you have a permission issue on your filesystem,
> make sure the entire tomcat tree is owned by the
> user running tomcat
> 
> Filip
> 
> -Original Message-
> From: Evgeny Gesin [mailto:[EMAIL PROTECTED]
> Sent: Sunday, February 22, 2004 8:46 AM
> To: Tomcat Users List
> Subject: Re: using jar files in place of class files
> 
> 
> When I add any JAR in the WEB-INF/lib I got the
> following exception. Any advice?
> 
> Evgeny Gesin
> Javadesk
> 
> 2004-02-22 18:38:09 WebappLoader[/myapp]: Deploying
> class repositories to work directory
> /usr/java/tomcat/work/Catalina/127.0.0.1:80/myapp
> 2004-02-22 18:38:09 WebappLoader[/myapp]: Deploy JAR
> /WEB-INF/lib/myapp.jar to
> /usr/java/tomcat/webapps/myapp/WEB-INF/lib/myapp.jar
> 2004-02-22 18:38:10 ContextConfig[/myapp] Exception
> processing JAR at resource path
> /WEB-INF/lib/myapp.jar
> javax.servlet.ServletException: Exception processing
> JAR at resource path /WEB-INF/lib/myapp.jar
>   at
>
org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:930)
>   at
>
org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:868)
>   at
>
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647)
>   at
>
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:
> 243)
>   at
>
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
> t.java:166)
>   at
>
org.apache.catalina.core.StandardContext.start(StandardContext.java:3582)
>   at
>
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
>   at
>
org.apache.catalina.core.StandardHost.start(StandardHost.java:754)
>   at
>
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
>   at
>
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363)
>   at
>
org.apache.catalina.core.StandardService.start(StandardService.java:497)
>   at
>
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
>   at
>
org.apache.catalina.startup.Catalina.start(Catalina.java:512)
>   at
>
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
>   at
>
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
>   at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>   at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> )
>   at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
>   at java.lang.reflect.Method.invoke(Method.java:324)
>   at
>
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> - Root Cause -
> java.io.IOException: Permission denied
>   at
> java.io.UnixFileSystem.createFileExclusively(Native
> Method)
>   at java.io.File.checkAndCreate(File.java:1314)
>   at java.io.File.createTempFile(File.java:1402)
>   at java.io.File.createTempFile(File.java:1439)
>   at
>
sun.net.www.protocol.jar.URLJarFile$1.run(URLJarFile.java:169)
>   at
> java.security.AccessController.doPrivileged(Native
> Method)
>   at
>
sun.net.www.protocol.jar.URLJarFile.retrieve(URLJarFile.java:164)
>   at
>
sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:42)
>   at
>
sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:68)
>   at
>
sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:85)
>   at
>
sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:6
> 9)
>   at
>
org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:906)
>   at
>
org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:868)
>   at
>
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647)
>   at
>
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:
> 243)
>   at
>
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
> t.java:166)
>   at
>
org.apache.catalina.core.StandardContext.start(StandardContext.java:3582)
>   at
>
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
>   at
>
org.apache.catalina.core.S

Re: using jar files in place of class files

2004-02-22 Thread Evgeny Gesin
When I add any JAR in the WEB-INF/lib I got the
following exception. Any advice?

Evgeny Gesin
Javadesk

2004-02-22 18:38:09 WebappLoader[/myapp]: Deploying
class repositories to work directory
/usr/java/tomcat/work/Catalina/127.0.0.1:80/myapp
2004-02-22 18:38:09 WebappLoader[/myapp]: Deploy JAR
/WEB-INF/lib/myapp.jar to
/usr/java/tomcat/webapps/myapp/WEB-INF/lib/myapp.jar
2004-02-22 18:38:10 ContextConfig[/myapp] Exception
processing JAR at resource path /WEB-INF/lib/myapp.jar
javax.servlet.ServletException: Exception processing
JAR at resource path /WEB-INF/lib/myapp.jar
at
org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:930)
at
org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:868)
at
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647)
at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:243)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3582)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at
org.apache.catalina.core.StandardHost.start(StandardHost.java:754)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363)
at
org.apache.catalina.core.StandardService.start(StandardService.java:497)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
at
org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
- Root Cause -
java.io.IOException: Permission denied
at
java.io.UnixFileSystem.createFileExclusively(Native
Method)
at java.io.File.checkAndCreate(File.java:1314)
at java.io.File.createTempFile(File.java:1402)
at java.io.File.createTempFile(File.java:1439)
at
sun.net.www.protocol.jar.URLJarFile$1.run(URLJarFile.java:169)
at java.security.AccessController.doPrivileged(Native
Method)
at
sun.net.www.protocol.jar.URLJarFile.retrieve(URLJarFile.java:164)
at
sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:42)
at
sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:68)
at
sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:85)
at
sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:69)
at
org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:906)
at
org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:868)
at
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647)
at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:243)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3582)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at
org.apache.catalina.core.StandardHost.start(StandardHost.java:754)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363)
at
org.apache.catalina.core.StandardService.start(StandardService.java:497)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
at
org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

__
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html

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

Bad Cookie Name ?

2004-02-15 Thread Evgeny Gesin
The following error occurs in catalina.2004-02-15.log
under Tomcat 4.1.29. Note, that we don't use Cookies.
Can you advice how to avoid such errors?

2004-02-15 08:03:07 CoyoteAdapter Bad Cookie Name:
Path /Value: /javadesk
java.lang.IllegalArgumentException: Cookie name Path
is a reserved token
at
javax.servlet.http.Cookie.(Cookie.java:185)
at
org.apache.coyote.tomcat4.CoyoteAdapter.parseCookies(CoyoteAdapter.java:393)
at
org.apache.coyote.tomcat4.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:295)
at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:191)
at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:309)
at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:387)
at
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:673)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:615)
at
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
at java.lang.Thread.run(Thread.java:534)

Evgeny Gesin
Javadesk

__
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html

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



Re: [OFF-TOPIC] Workflow Engines

2004-02-12 Thread Evgeny Gesin
I worked with IBM MQ Series Workflow and it is great
commercial software. Could you please list Open Source
workflow systems.

Evgeny Gesin
Javadesk

--- Ryan Lissack <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I was wondering whether anyone on the list has
> experience with any workflow
> engines.  There are a number of open source products
> available but I am
> looking for comments or suggestions from someone who
> has actually used them.
> 
> We want to integrate the engine into our web
> application running on Tomcat.
> 
> All feedback is welcome!!
> 
> Thanks,
> Ryan
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html

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



Re: TC 5 production use -- iptables to make it work without root

2004-02-09 Thread Evgeny Gesin
I'm curious, why don't you use Apache and JK
connector?

Evgeny Gesin


--- David Wall <[EMAIL PROTECTED]> wrote:
> You are absolutely correct.  In fact, I've abandoned
> JSVC precisely because
> I can do this.  This is great because not only do
> you need the extra JSVC,
> but you don't need to start as root at all.
> 
> For example, here are the iptables rules I use under
> RH 9 to effect what
> Vitor is saying:
> 
> (If you're using the /etc/rc.d/init.d/iptables
> script, this is the control
> file for it -- of course, you could do this
> "manually" by simply putting the
> command 'iptables' in front of these lines and
> assuming that your INPUT
> chain jumps to the YOZONS-BPN-INPUT )
> 
> -A YOZONS-BPN-INPUT -p tcp -m tcp --dport 80
> --tcp-flags SYN,RST,ACK SYN -j
> ACCEPT
> -A YOZONS-BPN-INPUT -p tcp -m tcp --dport 443
> --tcp-flags SYN,RST,ACK SYN -j
> ACCEPT
> -A YOZONS-BPN-INPUT -p tcp -m tcp --dport 8080
> --tcp-flags SYN,RST,ACK
> SYN -j ACCEPT
> -A YOZONS-BPN-INPUT -p tcp -m tcp --dport 8443
> --tcp-flags SYN,RST,ACK
> SYN -j ACCEPT
> 
> The above lines are assuming you block all access to
> your system except for
> what you let in.  This allows the INPUT packets to
> come in on the standard
> ports of 80 and 443 (only 443 if you need HTTPS) as
> well as the "tomcat"
> ports of 8080 and 8443.
> 
> Then, using the NAT commands (on iptables table "-t
> nat") to do port
> redirecting:
> 
> -A PREROUTING -p tcp -m tcp --dport 443 -j REDIRECT
> --to-ports 8443
> -A PREROUTING -p tcp -m tcp --dport 80 -j REDIRECT
> --to-ports 8080
> 
> This maps the production ports to the tomcat
> listening ports.
> 
> In your tomcat server.xml file, continue to use the
> 8080/8443 Connector
> ports, and if you need 8080 to redirect to SSL, I'd
> suggest you redirect to
> 443 (the standard port).  You could have it redirect
> to 8443, but then the
> 8443 will appear in all your URLs and if your
> visitors have an egress
> firewall, they likely won't be able to reach your
> system, so it looks like:
> 
> maxThreads="20" minSpareThreads="10"
> maxSpareThreads="10"
>enableLookups="false"
> redirectPort="443" acceptCount="100"
>debug="0" connectionTimeout="2"
>disableUploadTimeout="true"
> maxPostSize="1" />
> 
> 
> Good luck,
> David

__
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html

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



Re: TC 5 production use

2004-02-07 Thread Evgeny Gesin
I tryed today current release TC5 and seen errors:

1. I have the following lines which run under 4.1.29
but not in TC5 ("locale" exists in the HttpSession !)




I got

[javac] symbol  : constructor Locale ()
[javac] location: class java.util.Locale
[javac]   locale = new java.util.Locale();
[javac]^
[javac] 1 error

Then I removed these lines to let TC5 compile JSP and
print the "locale" - I see "en_US"

<% System.out.println("... jsp=" +
request.getSession().getAttribute("locale")); %>


2. TC5 doesn't know (?) about some Java Enterprise
APIs. I got the following error in TC5 at run-time,
after succesfull compilation

java.lang.NoClassDefFoundError:
javax/mail/internet/AddressException

If I add j2ee.jar to classpath in catalina.sh

CLASSPATH="$CLASSPATH":/usr/java/lib/j2ee.jar

I got another error when starting Tomcat

java.lang.NoSuchMethodException:
org.apache.catalina.startup.Catalina.stopServer()
at java.lang.Class.getMethod(Class.java:978)
at
org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:320)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:400)

This application runs well under tomcat 4.1.29
Any comments?

Evgeny /Javadesk/

--- David Wall <[EMAIL PROTECTED]> wrote:
> > We run Tomcat on 8080 using Cisco Routers for port
> redirection.
> > Nobody has to type in a port number.
> 
> Well, I agree that would work for everyone who just
> buys some hardware to
> give the illusion of using port 80.  Of course,
> running tomcat on port 80
> itself would be nice if anybody knows if/whether
> JSVC can mimick the
> "-security" argument of catalina.sh.
> 
> And the best part is that we're happy to know that
> some more heavily used
> production sites are using TC 5, which was the
> original question and
> interest!
> 
> David
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html

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