Re: not valid Tomcat installation

2009-03-21 Thread Sergey Livanov
no, I have only tc 6.0.18
CATALINA_HOME points to c:\tomcat

2009/3/21 André Warnier 

>
>> 2009/3/21 André Warnier 
>>
>>  Sergey Livanov wrote:
>>>
>>>  I install Tomcat 6.0.18 in c:\tomcat.
>>>> When add the new server Eclipse writes that tomcat install directory is
>>>> not
>>>> correct.
>>>> It does not point to valid Tomcat installation.
>>>> What should I do ?
>>>>
>>>>  I don't now Eclipse at all, but how does it normally find out the path
>>>> of
>>>>
>>> a Tomcat installation ?
>>>
>>>  > When I add a new server I specify a path where Tomcat installed
> before.
> > Tc5.r  I installed without problems.
>
> If you still have both Tomcats, Eclipse may get confused.
> Is there by any chance a CATALINA_HOME variable defined, that points to
> something else ?
> (open a command window, type "set" and look)
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


Re: not valid Tomcat installation

2009-03-21 Thread Sergey Livanov
Thank you Andre.
When I add a new server I specify a path where Tomcat installed before.
Tc5.r  I installed without problems.

2009/3/21 André Warnier 

> Sergey Livanov wrote:
>
>> I install Tomcat 6.0.18 in c:\tomcat.
>> When add the new server Eclipse writes that tomcat install directory is
>> not
>> correct.
>> It does not point to valid Tomcat installation.
>> What should I do ?
>>
>>  I don't now Eclipse at all, but how does it normally find out the path of
> a Tomcat installation ?
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


not valid Tomcat installation

2009-03-21 Thread Sergey Livanov
I install Tomcat 6.0.18 in c:\tomcat.
When add the new server Eclipse writes that tomcat install directory is not
correct.
It does not point to valid Tomcat installation.
What should I do ?


Tuning Tomcat

2009-02-03 Thread Sergey Livanov
Help me to adjust JVM, please. My configuration - win2k server, Tomcat5.5.9
system vars - JAVA_HOME=c:\jre153, CATALINA_HOME=c:\tomcat
catalina.bat - set CATALINA_OPTS="-server -Xms256M -Xmx512M"
After start
Free memory: 1.64 MB Total memory: 5.44 MB Max memory: 63.56 MB

TIA .

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Database connectivity problem

2008-01-07 Thread Sergey Livanov
Please help figure out a connection pool error.
My application ( tomcat, spring, ibatis ) works well in the
configuration SQL 2000 + ms server 2000.
When I transfer the application ( war ) to a win 2003 server
I get an error ( error creating connection pool e.t.c. )
(I think ms server 2003 needs to be adjusted).

Please help.


Re: Quartz

2007-09-06 Thread Sergey Livanov
Do as you know and as it is more convenient. I can't start with
 org.quartz.ee.servlet. QuartzInitializerServlet

init but when has tried spring - all has worked for 5 minutes. It is very
pleased.
In Quartz forum answer badly, it is lazy.
In spring - it is very good. Support is much better.

This my opinion ...



2007/9/6, Andrew Hole <[EMAIL PROTECTED]>:
>
> I found something interesting, maybe is what I need!
> Spring and Quartz together is a good solution but I don't want another
> component in my java web application.
> What's your opinion?
>
> 1) It would be helpful to show an example of how to configure Quartz to
> work
> without a custom servlet. It can be done and is probably the most likely
> way
> people will use it within a J2EE application. I recently implemented
> something like this, and had to figure it out for myself since the Quartz
> docs weren't very explicit. Basically, you
> -Configure your web app to use the Quartz initializer servlet, loading on
> startup. For example (from web.xml):
>
> 
> quartz
> Quartz Initializer Servlet
> org.quartz.ee.servlet.QuartzInitializerServlet
> 
> 1
> 
>
> -Add a "quartz.properties" file to your classpath, indicating how jobs
> will
> be loaded (as well as the quartz system properties). For example (from
> quartz.properties):
>
> org.quartz.plugin.jobInitializer.class =
> org.quartz.plugins.xml.JobInitializationPlugin
> org.quartz.plugin.jobInitializer.fileName = quartz-jobs.xml
> org.quartz.plugin.jobInitializer.overWriteExistingJobs = true
> org.quartz.plugin.jobInitializer.failOnFileNotFound = true
>
> -Add an xml file configuring your jobs and triggers, using the file name
> specified under the "org.quartz.plugin.jobInitializer.fileName" property.
> For example (from quartz-jobs.xml, in this case):
>
> 
>
>  alertJob
>  alertJobs
>  com.somecompany.AlertJob
>  false
>  false
>  false
>
>
>  
>dailyTrigger
>alertTriggers
>alertJob
>alertJobs
>
>0 15 2 ? * MON-FRI
>  
>
> 
>
> Again, I think this is the most flexible, easy to use way to implement
> quartz, and I'm surprised it's not documented better. In most systems I
> use,
> I don't want to hard-code something like a scheduled process that might be
> subject to frequent scheduling change.
>
> 2) The author mentions the "userThreads" setting for application servers
> to
> allow Quartz to use user threads. Unfortunately, I'm kind of thread-dumb,
> so
> I don't exactly know what this means or why it's important. What happens
> if
> Quartz is deployed without this setting? What implications does this
> setting
> have to other aspects of server performance (will it cause a conflict with
> some other setting)? I actually am in the middle of deploying an app that
> uses Quartz on OC4J and would like to be aware of the implications and
> necessity of this setting.
>
>
> On 9/6/07, Pid <[EMAIL PROTECTED]> wrote:
> >
> > Andrew Hole wrote:
> > > I can't find an example of using Quartz to scheduling jobs on Tomcat
> Web
> > > application.
> > > Someone already work with Quartz? Could you share a hello world
> sample?
> > >
> > > Thanks a lot
> > >
> >
> > http://www.opensymphony.com/quartz/wikidocs/Tutorial.html
> >
> > http://www.opensymphony.com/quartz/wikidocs/QuickStart.html
> >
> >
> >
> http://forums.opensymphony.com/search.jspa?threadID=&q=tomcat&objID=f6&dateRange=last90days&userID=&numResults=15&rankBy=10001
> >
> >
> > Google is your friend.
> >
> >
> > p
> >
> >
>
>
> On 9/6/07, Pid <[EMAIL PROTECTED]> wrote:
> >
> > Andrew Hole wrote:
> > > I can't find an example of using Quartz to scheduling jobs on Tomcat
> Web
> > > application.
> > > Someone already work with Quartz? Could you share a hello world
> sample?
> > >
> > > Thanks a lot
> > >
> >
> > http://www.opensymphony.com/quartz/wikidocs/Tutorial.html
> >
> > http://www.opensymphony.com/quartz/wikidocs/QuickStart.html
> >
> >
> >
> http://forums.opensymphony.com/search.jspa?threadID=&q=tomcat&objID=f6&dateRange=last90days&userID=&numResults=15&rankBy=10001
> >
> >
> > Google is your friend.
> >
> >
> > p
> >
> >
>


Re: Quartz

2007-09-06 Thread Sergey Livanov
this code works for me well






baseportal.com.portal.sheduler.SimpleJob









baseportal.com.portal.sheduler.Simple2Job















1000





3000









0/15 * 22 * * ?











 

















2007/9/6, Andrew Hole <[EMAIL PROTECTED]>:
>
> I can't find an example of using Quartz to scheduling jobs on Tomcat Web
> application.
> Someone already work with Quartz? Could you share a hello world sample?
>
> Thanks a lot
>


Re: Quartz

2007-09-06 Thread Sergey Livanov
Andrew,

It is the best way to use Quartz together with spring.

Look the documentation, there all very well is described.



2007/9/6, Andrew Hole <[EMAIL PROTECTED]>:
>
> I can't find an example of using Quartz to scheduling jobs on Tomcat Web
> application.
> Someone already work with Quartz? Could you share a hello world sample?
>
> Thanks a lot
>