About tomcat4 and mod_jk

2001-05-13 Thread Meir Faraj

Hi all ,
 I want to know if there are any possibility to connect Tomcat 4 to apache
using mod_jk ?

Thanks a lot




NEED Help!!! Session passing problems between webapp module and TOMCAT

2001-05-09 Thread Meir Faraj



Hi ,
I use  the latest buid of tomcat and it 
works .
I tried to compile the webapp module given 
with it and could not compile .
So I got webapp from the b1 and it compile fine 
, most examples in servlet works and most jsp doesn't work .
I've found the problem and it's that the session is 
not given by mod_ebapp  to apache !!!
 
need some help on 
getting  everything  working .
 
 Thanks a lot!
   Meir Faraj


Re: ** Does Tomcat need Restart **

2001-04-18 Thread Meir Faraj

and for jsp how to do this ?
I've problem in reloading jsp (after few reloading)
even if I delete the created class from the work/ROOT/ dirrectory.
what I need to do ?
- Original Message -
From: "Scott Judd" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, April 17, 2001 4:26 PM
Subject: Re: ** Does Tomcat need Restart **


> I'd like to offer two cents on this topic. I have seen both very
successful
> and very unsuccessful results when using servlet reloading on Tomcat.
First,
> make sure that the servlet classes reside in
/webapps/ROOT/WEB-INF/classes.
> Next, make sure that the web.xml file in the  webapps/ROOT/WEB-INF folder
> contains the appropriate entry to register the servlet. Finally, make sure
> that the reloadable attribute for the given context is set to "true" in
> /conf/server.xml.
>
> Tomcat has demonstrated consistent success in reloading servlets that I
> invoke directly from the CLI of my browser, following the above
> prescription. If I try to vary this formula (place servlets in other
> directories, package servlet classes together, invoke a servlet from
another
> servlet) servlet reloading seems to get hosed and I end up restarting
Tomcat
> in order to "see" the new class files.
>
> scott
>
> G:\tomcat\webapps\ROOT\WEB-INF
>
> From: "Benoit Jacquemont" <[EMAIL PROTECTED]>
> > This feature exists, it is defined by the reloadable parameter for the
> > Context. But it is an alpha version feature, so you always need to
restart
> > Tomcat.
> >
> > Benoit
> >
>
> > > Hi,
> > >
> > > Is there any option in tomcat CONFIGURATION by which, I can
> > > instruct Tomcat
> > > to restart automatically whenever a servlet gets modified (i.e. I
> > > re-compile the servlet).
> > >
> > > I am running Tomcat and Apache on Linux OS.
> > >
> > > Regards,
> > > Marathe
> >
>
>




Re: Need help on getting work Tomcat4.0 Nightly build (04/02/01)...

2001-04-02 Thread Meir Faraj

Thanks ,
 You are right ...
 I've put also the servlet.jar on lib so 2 copy whas in the CLASSPATH .

- Original Message -
From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 03, 2001 1:03 AM
Subject: Re: Need help on getting work Tomcat4.0 Nightly build (04/02/01)...


>
>
> On Mon, 2 Apr 2001, Meir Faraj wrote:
>
> > Hi all ,
> > I've installed on windows 98 Tomcat 4.0 Nightly build (04/02/01)
> > And got it run but context not start because of Exception...
> > localhost_log.2001-04-02.txt log contain the error .
> > the file is appended .
> >
> >
>
> Most likely explanation is you have a copy of servlet.jar somewhere on
> your classpath, in your system extensions directory
> ($JAVA_HOME/jre/lib/ext), or in your webapp itself.  Doing any of these
> things will interfere with th way that Tomcat sets up its class loaders.
>
> Craig McClanahan
>
>
>




Re: Need help on getting work Tomcat4.0 Nightly build (04/02/01)...

2001-04-02 Thread Meir Faraj

but I've tried also the b2 and it does the same thing .
thanks.
 Meir Faraj
- Original Message -
From: "Benoît Jacquemont" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 02, 2001 5:31 PM
Subject: RE: Need help on getting work Tomcat4.0 Nightly build (04/02/01)...


> Hi Meir,
>
> You're using a nightly build of a beta version...
> So it's twice more instable than the current 3.2.1 version...
> You shouldn't expect it to work fine.
>
> Benoît
>
> > Hi all ,
> > I've installed on windows 98 Tomcat 4.0 Nightly build (04/02/01)
> > And got it run but context not start because of Exception...
> > localhost_log.2001-04-02.txt log contain the error .
> > the file is appended .
> > please help..
> >
> >
>
>




Need help on getting work Tomcat4.0 Nightly build (04/02/01)...

2001-04-02 Thread Meir Faraj


Hi all ,
I've installed on windows 98 Tomcat 4.0 Nightly build (04/02/01)
And got it run but context not start because of Exception...
localhost_log.2001-04-02.txt log contain the error .
the file is appended .
please help..


2001-04-02 17:12:41 StandardLoader[/examples]: Reloading checks are enabled for this 
Context
2001-04-02 17:12:41 Manager[/examples]: Seeding random number generator class 
java.security.SecureRandom
2001-04-02 17:12:41 Manager[/examples]: Seeding of random number generator has been 
completed
2001-04-02 17:12:41 ContextConfig[/examples]: Configured an authenticator for method 
FORM
2001-04-02 17:12:41 StandardContext[/examples]: Exception starting filter Compression 
Filter
java.lang.ClassCastException: compressionFilters.CompressionFilter
at 
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:250)
at 
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:311)
at 
org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:120)
at 
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:2881)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3118)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1059)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1059)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:253)
at org.apache.catalina.core.StandardService.start(StandardService.java:353)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:458)
at org.apache.catalina.startup.Catalina.start(Catalina.java:707)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:627)
at org.apache.catalina.startup.Catalina.process(Catalina.java:177)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:177)

2001-04-02 17:12:41 StandardContext[/examples]: Exception starting filter Servlet 
Mapped Filter
java.lang.ClassCastException: filters.ExampleFilter
at 
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:250)
at 
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:311)
at 
org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:120)
at 
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:2881)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3118)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1059)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1059)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:253)
at org.apache.catalina.core.StandardService.start(StandardService.java:353)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:458)
at org.apache.catalina.startup.Catalina.start(Catalina.java:707)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:627)
at org.apache.catalina.startup.Catalina.process(Catalina.java:177)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:177)

2001-04-02 17:12:41 StandardContext[/examples]: Exception starting filter Request 
Dumper Filter
java.lang.ClassCastException: filters.RequestDumperFilter
at 
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:250)
at 
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:311)
at 
org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:120)
at 
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:2881)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3118)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1059)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1059)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:253)
at org.apache.catalina.core.StandardService.start(StandardService.java:353)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:458)
at org.apache.catalina.startup.Catalina.start(Catalina.java:707)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:627)
at org.apache.catalina.startup.Catalina.process(Catalina.java:177)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:177)

2001-04-02 17:12:41 StandardContext[/examples]: Exception starting filter Path Mapped 
Filter
java.lang.ClassCastException: filters.ExampleFilter
at 
org.a

Need help on getting work Tomcat4.0 Nightly build (04/02/01)...

2001-04-02 Thread Meir Faraj



Hi all ,
I've installed on windows 98 Tomcat 4.0 Nightly build (04/02/01)
And got it run but context not start because of 
Exception...
localhost_log.2001-04-02.txt log contain the error 
.
the file is appended .
 

2001-04-02 17:12:41 StandardLoader[/examples]: Reloading checks are enabled for this 
Context
2001-04-02 17:12:41 Manager[/examples]: Seeding random number generator class 
java.security.SecureRandom
2001-04-02 17:12:41 Manager[/examples]: Seeding of random number generator has been 
completed
2001-04-02 17:12:41 ContextConfig[/examples]: Configured an authenticator for method 
FORM
2001-04-02 17:12:41 StandardContext[/examples]: Exception starting filter Compression 
Filter
java.lang.ClassCastException: compressionFilters.CompressionFilter
at 
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:250)
at 
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:311)
at 
org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:120)
at 
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:2881)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3118)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1059)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1059)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:253)
at org.apache.catalina.core.StandardService.start(StandardService.java:353)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:458)
at org.apache.catalina.startup.Catalina.start(Catalina.java:707)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:627)
at org.apache.catalina.startup.Catalina.process(Catalina.java:177)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:177)

2001-04-02 17:12:41 StandardContext[/examples]: Exception starting filter Servlet 
Mapped Filter
java.lang.ClassCastException: filters.ExampleFilter
at 
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:250)
at 
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:311)
at 
org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:120)
at 
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:2881)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3118)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1059)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1059)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:253)
at org.apache.catalina.core.StandardService.start(StandardService.java:353)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:458)
at org.apache.catalina.startup.Catalina.start(Catalina.java:707)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:627)
at org.apache.catalina.startup.Catalina.process(Catalina.java:177)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:177)

2001-04-02 17:12:41 StandardContext[/examples]: Exception starting filter Request 
Dumper Filter
java.lang.ClassCastException: filters.RequestDumperFilter
at 
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:250)
at 
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:311)
at 
org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:120)
at 
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:2881)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3118)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1059)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1059)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:253)
at org.apache.catalina.core.StandardService.start(StandardService.java:353)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:458)
at org.apache.catalina.startup.Catalina.start(Catalina.java:707)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:627)
at org.apache.catalina.startup.Catalina.process(Catalina.java:177)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:177)

2001-04-02 17:12:41 StandardContext[/examples]: Exception starting filter Path Mapped 
Filter
java.lang.ClassCastException: filters.ExampleFilter
at 
org.apache.cata