org/apache/jsp/index_jsp (wrong name: index_jsp)

2004-09-07 Thread Arun Prasad R
Hi all,

Im using linux 2.4.18-14, tomcat 4.1.27, apache 2.0.40 jdk 1.4.1.

im getting following exception only for the pages having name
index.jsp, if anybody faced this already please inform me about the
fix

Thanks in Advance
Arun

javax.servlet.ServletException: org/apache/jsp/index_jsp (wrong name: index_jsp)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:466)
at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:585)
at java.lang.Thread.run(Thread.java:536)

root cause

java.lang.NoClassDefFoundError: org/apache/jsp/index_jsp (wrong name: index_jsp)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
at java.lang.ClassLoader.defineClass(ClassLoader.java:431)
at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:215)
at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:131)
at org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:497)
at 
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:150)
at org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:440)
at org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:390)
at 
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:471)
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at 
org.apache.catalina.core.StandardContextV

Re: org/apache/jsp/index_jsp (wrong name: index_jsp)

2004-09-08 Thread Arun Prasad R
Hi,

i get this problem only when my web.xml entry removed, also if i
rename that index.jsp to someothername.jsp, dynamic compilation is
done

only for the file index.jsp dynamic compilation is not done

Arun



On Wed, 8 Sep 2004 08:40:00 -0400, Shapira, Yoav <[EMAIL PROTECTED]> wrote:
> 
> Hi,
> http://jakarta.apache.org/tomcat/faq/classnotfound.html.
> 
> Yoav Shapira
> Millennium Research Informatics
> 
> 
> >-Original Message-
> >From: Arun Prasad R [mailto:[EMAIL PROTECTED]
> >Sent: Wednesday, September 08, 2004 1:06 AM
> >To: [EMAIL PROTECTED]
> >Subject: org/apache/jsp/index_jsp (wrong name: index_jsp)
> >
> >Hi all,
> >
> >Im using linux 2.4.18-14, tomcat 4.1.27, apache 2.0.40 jdk 1.4.1.
> >
> >im getting following exception only for the pages having name
> >index.jsp, if anybody faced this already please inform me about the
> >fix
> >
> >Thanks in Advance
> >Arun
> >
> >javax.servlet.ServletException: org/apache/jsp/index_jsp (wrong name:
> >index_jsp)
> >   at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
> >   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> >   at
> >org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
> atio
> >nFilterChain.java:247)
> >   at
> >org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
> terC
> >hain.java:193)
> >   at
> >org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal
> ve.j
> >ava:256)
> >   at
> >org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
> invo
> >keNext(StandardPipeline.java:643)
> >   at
> >org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
> 480)
> >   at
> >org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> >   at
> >org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
> ve.j
> >ava:191)
> >   at
> >org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
> invo
> >keNext(StandardPipeline.java:643)
> >   at
> >org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
> 480)
> >   at
> >org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> >   at
> >org.apache.catalina.core.StandardContext.invoke(StandardContext.java:24
> 16)
> >   at
> >org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav
> a:18
> >0)
> >   at
> >org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
> invo
> >keNext(StandardPipeline.java:643)
> >   at
> >org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherV
> alve
> >.java:171)
> >   at
> >org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
> invo
> >keNext(StandardPipeline.java:641)
> >   at
> >org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav
> a:17
> >2)
> >   at
> >org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
> invo
> >keNext(StandardPipeline.java:641)
> >   at
> >org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:57
> 7)
> >   at
> >org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
> invo
> >keNext(StandardPipeline.java:641)
> >   at
> >org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
> 480)
> >   at
> >org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> >   at
> >org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve
> .jav
> >a:174)
> >   at
> >org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
> invo
> >keNext(StandardPipeline.java:643)
> >   at
> >org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
> 480)
> >   at
> >org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> >   at
> >org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:466)
> >   at
> org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:585)
> >   at java.lang.Thread.run(Thread.java:536)
> >
> >root cause
> >
> >java.lang.NoClassDefFoundError: org/apache/jsp/index_jsp (wrong name:
> >index_jsp)
> >   at java.lang.ClassLoader.defineClass0(Native Method)
> >   at java.lang.ClassLoader.defineClass(ClassLoader.java:

Frequent session expire in Tomcat 4.1.27

2004-09-08 Thread Arun Prasad R
hi

i experience frequent session expire in Tomcat 4.1.27. is there any
way to extend the expiry time in server configuration.

Thanks in Advance,
Arun

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



Re: Frequent session expire in Tomcat 4.1.27

2004-09-08 Thread Arun Prasad R
hi

let me some sample in this regard. im new to tomcat
pls help me

arun


On Wed, 8 Sep 2004 23:00:47 -0500, Filip Hanik (lists)
<[EMAIL PROTECTED]> wrote:
> you do that in your own web.xml file
> see a tutorial on web.xml /servlets
> 
> -Original Message-
> From: Arun Prasad R [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 08, 2004 10:59 PM
> To: Tomcat Users List
> Subject: Frequent session expire in Tomcat 4.1.27
> 
> hi
> 
> i experience frequent session expire in Tomcat 4.1.27. is there any
> way to extend the expiry time in server configuration.
> 
> Thanks in Advance,
> Arun
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.752 / Virus Database: 503 - Release Date: 9/3/2004
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.752 / Virus Database: 503 - Release Date: 9/3/2004
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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



Pls Help index.jsp not compiling dynamically

2004-09-09 Thread Arun Prasad R
hi

"index.jsp" is not being compiled dynamically, if i rename to some
other name "some.jsp" its get compiled. if somebody faced this issue
pls help. im not getting clue by google.

arun

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



how do i set max session time in 4.1.27

2004-09-09 Thread Arun Prasad R
hi all

how do i set max session time in 4.1.27
Thanks in Advance
arun

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



Re: how do i set max session time in 4.1.27

2004-09-09 Thread Arun Prasad R
thanks paul

though i set session.setMaxInactiveInterval();
sombody is overriding this action
any help

arun

On Thu, 9 Sep 2004 16:24:05 +0530, Antony Paul <[EMAIL PROTECTED]> wrote:
> If you are setting maximum session time out you can set it in the
> WEB-INF/web.xml like this
> 
> 30
> 
> 
> The time out is in minutes. This is to be placed after servlet-mapping
> element.
> 
> or use session.setMaxInactiveInterval();
> rgds
> Antony Paul
> 
> 
> 
> - Original Message -
> From: "Arun Prasad R" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Thursday, September 09, 2004 4:03 PM
> Subject: how do i set max session time in 4.1.27
> 
> > hi all
> >
> > how do i set max session time in 4.1.27
> > Thanks in Advance
> > arun
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>

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



Re: Pls Help index.jsp not compiling dynamically

2004-09-09 Thread Arun Prasad R
thanks for getting back

im using 4.1.27, im changing server.xml
arun


On Thu, 9 Sep 2004 16:30:05 +0530, Antony Paul <[EMAIL PROTECTED]> wrote:
> Which version ?. Are you using the default Tomcat installation . If yes
> there should not be any problem if you didnt changed any configuration
> files.
> 
> rgds
> Antony Paul
> 
> 
> 
> ----- Original Message -
> From: "Arun Prasad R" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Thursday, September 09, 2004 4:00 PM
> Subject: Pls Help index.jsp not compiling dynamically
> 
> > hi
> >
> > "index.jsp" is not being compiled dynamically, if i rename to some
> > other name "some.jsp" its get compiled. if somebody faced this issue
> > pls help. im not getting clue by google.
> >
> > arun
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>

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



Re: put applications in other than webapps and webapps simultaneously

2004-09-09 Thread Arun Prasad R
hi

you have edit CATALINA_HOME/conf/server.xml

in that



eg



arun


On Thu, 9 Sep 2004 16:29:01 +0530, Atishay Kumar
<[EMAIL PROTECTED]> wrote:
> hello,
>   I am using tomcat 4.1.27 on a linux machine. by default we keep our
> applications in webapps folder of tomcat home directory(say
> tomcat-4.1.27/webapps). i want to keep my applications in some other
> directory also alongwith webapps(say /home/web/application).
> 
> Now what editing in configuration files i need to do so that tomcat loads
> application files from /home/web/application also along with webapps
> directory.
> 
> i tried google search and also searched the mailing list but could not
> find something helpful.
> 
> thanks
> --
> :)
> Atishay Kumar
> Btech, SEM VII
> DA-IICT
> Gandhinagar - 382009
> India
> ph: +91 9825383948
> /
>  * Learn the rules as you would need them to break them properly *
>  /
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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



Re: Pls Help index.jsp not compiling dynamically

2004-09-09 Thread Arun Prasad R
(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:466)
at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:585)
at java.lang.Thread.run(Thread.java:536)








On Thu, 9 Sep 2004 08:22:08 -0500, QM <[EMAIL PROTECTED]> wrote:
> On Thu, Sep 09, 2004 at 04:00:25PM +0530, Arun Prasad R wrote:
> : "index.jsp" is not being compiled dynamically, if i rename to some
> 
> 
> : other name "some.jsp" its get compiled. if somebody faced this issue
> : pls help. im not getting clue by google.
> 
> Did you just overwrite one of the sample apps?  Those JSPs are
> precompiled, meaning the .jsp files themselves aren't referenced by the
> container (and in turn, changes to them aren't noticed).
> 
> -and what Google terms did you use?  This topic turns up periodically on
> the list.
> 
> -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]
> 
>

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



Re: Pls Help index.jsp not compiling dynamically

2004-09-09 Thread Arun Prasad R
hi
thanks it worked, i just rename the existing index_jsp.class to i.class
but this is not the expected behavior right. after removing web.xml
entries tomcat should recompile it under work directory.

i dont have any issues with the file having name other than "index.jsp"

how does this name clash happens only for file named "index.jsp"
is it tomcat bug

arun


On Thu, 9 Sep 2004 08:42:12 -0500, QM <[EMAIL PROTECTED]> wrote:
> On Thu, Sep 09, 2004 at 07:07:26PM +0530, Arun Prasad R wrote:
> : i want to edit that source file. and i removed servlet and
> : servlet-mapping entry from web.xml and restarted tomcat. new tomcat
> : should recompile index.jsp and fulfill the request. but it throws an
> : exception like
> 
> Perhaps Tomcat's flipping out because it can already resolve the class
> "org.apache.jsp.index_jsp" from the JAR of precompiled JSPs?
> 
> Find that JAR, rename it (something *without* a .jar extension, so it's
> not automatically loaded by Tomcat), and try again.
> 
> 
> 
> -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]
> 
>

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



Re: Pls Help index.jsp not compiling dynamically

2004-09-09 Thread Arun Prasad R
hi
as this is my own application, i have classes for my source. so that i
can rename my class in WEB-INF/classes/

im in the process of migrating it from tomcat 3.x to tomcat 4.1.27, i
migrated successfully,
there after during my development i use to remove web.xml entries for
files wich need modification for dynamic compile, then i will have all
the class files, it will work fine.

but in tomcat 4.1.27 i face this issue

arun

On Thu, 9 Sep 2004 08:57:18 -0500, QM <[EMAIL PROTECTED]> wrote:
> On Thu, SOP 09, 2004 at 07:20:31PM +0530, Arun Prasad R wrote:
> : thanks it worked, i just rename the existing index_jsp.class to
> i.class
> 
> That worked for you, fine; but that's not what I suggested:
> JAR file != class file.
> 
> Please reread my last message.
> 
> : but this is not the expected behavior right. after removing web.xml
> : entries tomcat should recompile it under work directory.
> 
> You'll have to take that up with the Tomcat developers; but the behavior
> you
> experienced makes perfect sense to me.
> 
> Note that if you start with a fresh webapp, instead of one that uses
> precompiled JSPs, this doesn't happen.
> 
> -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]
> 
>

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



Can session time be modified at runtime?

2004-09-09 Thread Arun Prasad R
hi

in web.xml the following comment has been given
  
  


30


after changing session-timeout will it be effective for sessions
created thereafter?

anyone clarify

arun

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



Re: Can session time be modified at runtime?

2004-09-10 Thread Arun Prasad R
hi

if i don't control in application, 
so i can not do session.setMaxInactiveInterval(600);

but for that application i experience frequent timeout. is there any
other way, so that i need not to restart tomcat

arun

On Fri, 10 Sep 2004 11:59:39 +0100, Mike Fowler
<[EMAIL PROTECTED]> wrote:
> You could use the session instance method setMaxInactiveInterval which
> takes a single int paramter which is the maximum time in seconds between
> client requests before invalidation.
> 
> For example, for ten minute timeout:
> 
> session.setMaxInactiveInterval(600);
> 
> 
> -Mike Fowler
> "I could be a genius if I just put my mind to it, and I,
> I could do anything, if only I could get 'round to it"
> 
> 
> 
> Tim Funk wrote:
> > The session timeout can be changed at runtime (sort of). If you change
> > web.xml - you would need to restart your webapp. This would cause a
> > brief outage while sessions are saved to ???. (Unless your using
> > clustering)
> >
> > If you really need this changed on the fly, this might be able to be
> > changed via JMX. (But I haven't checked)
> >
> > -Tim
> >
> > Arun Prasad R wrote:
> >
> >> hi
> >>
> >> in web.xml the following comment has been given
> >>   
> >>   
> >>
> >> 
> >> 30
> >> 
> >>
> >> after changing session-timeout will it be effective for sessions
> >> created thereafter?
> >>
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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



Re: Help - Newbie questions - where are the uploaded files stored ?

2004-09-10 Thread Arun Prasad R
hi

you can set a session property like 
System.setProperty("user.dir", "/your/application/home");
this will change the applications current working dir.

i have not checked the side effects. whether tomcat will be affected
by this action or not
arun

On Fri, 10 Sep 2004 12:00:45 +0200, MATHOT Jacques
<[EMAIL PROTECTED]> wrote:
> Hi All,
> 
> I am implementing an upload function for my web applications using Tomcat 4.0.14 
> server. I was expecting the files to be stored on the root directory of my 
> application and not in one of the own Tomcat directories.
> How can I specify that the directory to be used is my application root directory ?
> Thanks in advance.
> Regards,
> Jacques Mathot
> 
> FileInputStream fis = new FIleInputStream("Doc8585.zip");
> ...
> 
> 
> 
> This message and any files transmitted with it are legally privileged and intended 
> for the sole use of the individual(s) or entity to whom they are addressed. If you 
> are not the intended recipient, please notify the sender by reply and delete the 
> message and any attachments from your system. Any unauthorised use or disclosure of 
> the content of this message is strictly prohibited and may be unlawful.
> 
> Nothing in this e-mail message amounts to a contractual or legal commitment on the 
> part of EUROCONTROL unless it is confirmed by appropriately signed hard copy.
> 
> Any views expressed in this message are those of the sender.
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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



How to configure jakarta-struts-1.2.2 with tomcat 4.1.27

2004-09-10 Thread Arun Prasad R
hi all,

i want to know step by step process of configuring
jakarta-struts-1.2.2 with tomcat 4.1.27,

any help

thanks in advance
arun

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



serving file name in unicode

2005-08-10 Thread Arun Prasad R
hi there,

im facing problem in tomcat serving a file with unicode name.

pls help in this regard

thanks in advance,
arun


serving japanese file problem

2005-08-11 Thread Arun Prasad R
i have a ウェブ.jpg (japanese filename) in images directory.
while requesting that file url encode to %E3%82%A6%E3%82%A7%E3%83%96.jpg

but tomcat doesn't serve ウェブ.jpg instead it says file not found.

my question is how to make tomcat to decode
%E3%82%A6%E3%82%A7%E3%83%96.jpg as ウェブ.jpg


Re: serving japanese file problem

2005-08-12 Thread Arun Prasad R
thanks Hiroshi,

I set -Dfile.encoding=UTF-8 while starting tomcat and my platform support 
UTF-8 creation.

servlet is same as what u have specifed

but i get broken image(ie file not found)

arun

On 8/12/05, Hiroshi Iwatani <[EMAIL PROTECTED]> wrote:
> 
> Your tomcat isn't running with UTF-8 and/or your platform doesn't use
> UTF-8 for file name.
> 
> On my Linux Fedora Core 3:
> echo $LANG == ja_JP.UTF-8
> means text file(including .java) and file name on OS file system
> are created with UTF8 encoding.
> 
> on our servlet:
> String contType = "text/html;charset=UTF-8";
> request.setCharacterEncoding("UTF8");
> response.setContentType(contType);
> //or, response.setCharacterEncoding("UTF8");
> out.println(""); //text is a UTF8 String
> 
> 
> Arun Prasad R wrote:
> > i have a ウェブ.jpg (japanese filename) in images directory.
> > while requesting that file url encode to %E3%82%A6%E3%82%A7%E3%83%96.jpg
> >
> > but tomcat doesn't serve ウェブ.jpg instead it says file not found.
> >
> > my question is how to make tomcat to decode
> > %E3%82%A6%E3%82%A7%E3%83%96.jpg as ウェブ.jpg
> >
> 
> --
> Hiroshi Iwatani
> 
> *stop cruelty* Annual number of institutionally euthanized cats and dogs
> including kittens and puppies: US 5 million, JP 500 thousand. How about
> your country? *for our better karma*
> -
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>


Re: serving japanese file problem

2005-08-15 Thread Arun Prasad R
thanks Mark,Hiroshi

but how do i specify this in tomcat configuration. in which config file i 
need to change. what are the changes to be done to achive this.
pls help. im newbie

arun

On 8/12/05, Mark Thomas <[EMAIL PROTECTED]> wrote:
> 
> Arun Prasad R wrote:
> > i have a ウェブ.jpg (japanese filename) in images directory.
> > while requesting that file url encode to %E3%82%A6%E3%82%A7%E3%83%96.jpg
> >
> > but tomcat doesn't serve ウェブ.jpg instead it says file not found.
> >
> > my question is how to make tomcat to decode
> > %E3%82%A6%E3%82%A7%E3%83%96.jpg as ウェブ.jpg
> 
> 
> You should set the URIEncoding paramter of the connector to UTF-8.
> 
> Mark
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>


Re: A web based e-mail client

2005-08-15 Thread Arun Prasad R
hi there,
i happen to see this. http://demo.zohovo.com a web based tool for office


On 8/14/05, Robert F Hall <[EMAIL PROTECTED]> wrote:
> 
> Evgeny,
> 
> Thanks for the clarification. I've written several java apps that run
> in Tomcat, with browser based front ends and never thought of them
> as java client apps...
> 
> You may have already done this, but if not, I suggest you google 'java
> web mail'.
> 
> -Robert
> 
> Evgeny Gesin wrote:
> 
> >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
> >>>
> >>>
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>


Image caching how to

2005-09-06 Thread Arun Prasad R
how to enable image caching in tomcat?

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