Re: Strange Class Loading problem

2003-01-22 Thread Mauro Daniel Ardolino
 at org.apache.jsp.teacherLogin_jsp._jspService(teacherLogin_jsp.java:115)
> at org.apache.jasper.runtime.HttpJspBase.service(Unknown Source)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java)
> at org.apache.jasper.servlet.JspServletWrapper.service(Unknown Source)   
> at org.apache.jasper.servlet.JspServlet.serviceJspFile(Unknown Source)
> at org.apache.jasper.servlet.JspServlet.service(Unknown Source)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown 
>Source)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)
> at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)
> at 
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown
> Source)
> at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
> at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
> at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source)
> at 
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown
> Source)
> at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
> at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
> at org.apache.catalina.core.StandardContext.invoke(Unknown Source)
> at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
> at 
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown
> Source)
> at org.apache.catalina.valves.ErrorDispatcherValve.invoke(Unknown Source)
> at 
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown
> Source)
> at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source)
> at 
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown
> Source)
> at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)  
> at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
> at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source)
> at 
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown
> Source)
> at org.apache.catalina.valves.RequestDumperValve.invoke(Unknown Source)
> at 
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown
> Source)
> at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
> at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
> at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:458)
> at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:551)
> at java.lang.Thread.run(Thread.java:536)
> 
> 
> 
> 
> On Tue, 21 Jan 2003, Mauro Daniel Ardolino wrote:
> 
> > May not be this, but check permissions and owners of the files (may be
> > the directories permissions).  See e.g. the permissions of common/classes
> > Are you using links to the .jar files?
> > The error message could help to answer better.
> > 
> > reggards,
> > 
> > mauro
> > 
> > On Tue, 21 Jan 2003, Jeremy Cavagnolo wrote:
> > 
> > > Hello:
> > > 
> > > I am new to the list.  Thanks in advance for any help.  Also, I am using 
> > > Version 4.1.12.
> > > 
> > > I am deploying my web application with app-specific class files and 
> > > jar files in /WEB-INF/classes and /WEB-INF/lib respectively.  When I start 
> > > tomcat, these messages appear in my log file:
> > > 
> > > WebappLoader[/MSQ]: Deploying class repositories to work directory 
>/var/tomcat4/work/Apache/server/MSQ
> > > WebappLoader[/MSQ]: Deploy class files /WEB-INF/classes to 
>/var/tomcat4/webapps/MSQ/WEB-INF/classes
> > > WebappLoader[/MSQ]: Deploy JAR /WEB-INF/lib/msq-data.jar to 
>/var/tomcat4/webapps/MSQ/WEB-INF/lib/msq-data.jar
> > > WebappLoader[/MSQ]: Deploy JAR /WEB-INF/lib/msq-util.jar to 
>/var/tomcat4/webapps/MSQ/WEB-INF/lib/msq-util.jar
> > > 
> > > 
> > > indicating that tomcat is finding my classes and my libraries.  However, 
> > > Whenever I make a request that relies on these classes, I get a 
> > > ClassNotFoundException.  
> > > 
> > > When I copy the classes and jars to {$CATALINA_HOME}/common/classes and 
> > > {$CATALINA_HOME}/common/lib, everything works.
> > > 
> > > Any insight?
> > > 
> > > Thanks,
> > > 
> > > Jeremy 
> > > 
> > > 
> > > --
> > > To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> > > 
> > > 
> > 
> > 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 

-- 
Ing.Mauro Daniel Ardolino
Departamento de Desarrollo y Servicios
Altersoft
Billinghurst 1599 - Piso 9
C1425DTE - Capital Federal
Tel/Fax: 4821-3376 / 4822-8759
mailto: [EMAIL PROTECTED]
website: http://www.altersoft.com.ar





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




Re: Strange Class Loading problem

2003-01-21 Thread Mauro Daniel Ardolino
May not be this, but check permissions and owners of the files (may be
the directories permissions).  See e.g. the permissions of common/classes
Are you using links to the .jar files?
The error message could help to answer better.

reggards,

mauro

On Tue, 21 Jan 2003, Jeremy Cavagnolo wrote:

> Hello:
> 
> I am new to the list.  Thanks in advance for any help.  Also, I am using 
> Version 4.1.12.
> 
> I am deploying my web application with app-specific class files and 
> jar files in /WEB-INF/classes and /WEB-INF/lib respectively.  When I start 
> tomcat, these messages appear in my log file:
> 
> WebappLoader[/MSQ]: Deploying class repositories to work directory 
>/var/tomcat4/work/Apache/server/MSQ
> WebappLoader[/MSQ]: Deploy class files /WEB-INF/classes to 
>/var/tomcat4/webapps/MSQ/WEB-INF/classes
> WebappLoader[/MSQ]: Deploy JAR /WEB-INF/lib/msq-data.jar to 
>/var/tomcat4/webapps/MSQ/WEB-INF/lib/msq-data.jar
> WebappLoader[/MSQ]: Deploy JAR /WEB-INF/lib/msq-util.jar to 
>/var/tomcat4/webapps/MSQ/WEB-INF/lib/msq-util.jar
> 
> 
> indicating that tomcat is finding my classes and my libraries.  However, 
> Whenever I make a request that relies on these classes, I get a 
> ClassNotFoundException.  
> 
> When I copy the classes and jars to {$CATALINA_HOME}/common/classes and 
> {$CATALINA_HOME}/common/lib, everything works.
> 
> Any insight?
> 
> Thanks,
> 
> Jeremy 
> 
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
> 
> 

-- 
Ing.Mauro Daniel Ardolino
Departamento de Desarrollo y Servicios
Altersoft
Billinghurst 1599 - Piso 9
C1425DTE - Capital Federal
Tel/Fax: 4821-3376 / 4822-8759
mailto: [EMAIL PROTECTED]
website: http://www.altersoft.com.ar


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: [4.1.14] New test milestone released

2002-11-08 Thread Mauro Daniel Ardolino
> you're kidding me! I was just looking for tomcat 4.1.14 after seeing 
> something that changed in cvs and was tagged as being in 4.1.14. I'm 
> downloading the source via anoncvs as I write this. Where is the binary 
> available?
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/test/v4.1.14/

Mauro

> 
> Thanks,
> 
> David
> 
> On 11/8/2002 1:31 PM, Mauro Daniel Ardolino wrote:
> 
> >Remy: I've just downloaded Tomcat 4.1.14 and I'm testing it with my
> >application that has no problems running on Tomcat 4.1.12.
> >
> >When I try to run my application (that Tomcat deploys ok), I receive this
> >error message (on the web browser), may be is due to a change in Xerces,
> >but my classes still compile ok with the xercesImpl.jar provided with
> >Tomcat 4.1.14 (see down the root cause):
> >
> >javax.servlet.ServletException: Servlet execution threw an exception
> >at
> 
>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
> >at
> 
>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
> >at
> >org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
> >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)
> >...AND SO ON
> >
> >--
> >ROOT CAUSE:
> >--
> >
> >
> >java.lang.NoSuchMethodError: 
>org.apache.xerces.util.NamespaceSupport.reset(Lorg/apache/xerces/util/SymbolTable;)V
> >at
> >org.apache.xml.serialize.XMLSerializer.reset(XMLSerializer.java:1424)
> >at
> 
>>org.apache.xml.serialize.BaseMarkupSerializer.setOutputCharStream(BaseMarkupSerializer.java:335)
> >at org.apache.xml.serialize.XMLSerializer.(XMLSerializer.java:199)
> >at
> >xml.DOMElementConverter.asXmlString(DOMElementConverter.java:41)
> >at
> >xml.DOMElementConverter.asXmlInputStream(DOMElementConverter.java:27)
> >at
> 
>>query.rowFilters.definitions.RowsFilterDefinition.asXmlInputStream(RowsFilterDefinition.java:33)
> >at
> >servlets.ProductFilterFormServlet.doGet(ProductFilterFormServlet.java:46)
> >at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> >at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> >at
> 
>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
> >at
> 
>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
> >...AND SO ON.
> >
> >I'm using 4.1.14 because I have to use symlinks (see thread about symlinks
> >that has just been finished).
> >
> >Thanks.
> >
> >Mauro
> >
> >
> >
> >On Tue, 29 Oct 2002, Remy Maucherat wrote:
> >
> >>A new test milestone of Tomcat 4.1 has just been released. Please help 
> >>test this upcoming Tomcat release for compliance issues and other problems.
> >>
> >>Downloads:
> >>http://jakarta.apache.org/builds/jakarta-tomcat-4.0/test/v4.1.14/
> >>
> >>Significant changes over 4.1.13 include a security manager bugfix. Over 
> >>4.1.12, Tomcat 4.1.14 includes bugfixes as well as performance improvements.
> >>
> >>The full list of changes is available in the release notes.
> >>http://jakarta.apache.org/builds/jakarta-tomcat-4.0/test/v4.1.14/RELEASE-NOTES
> >>
> >>Remy
> >>
> >>
> >>--
> >>To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> >>For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
> >>
> >>
> >
> 
> 

-- 
Ing.Mauro Daniel Ardolino
Departamento de Desarrollo y Servicios
Altersoft
Billinghurst 1599 - Piso 9
C1425DTE - Capital Federal
Tel/Fax: 4821-3376 / 4822-8759
mailto: [EMAIL PROTECTED]
website: http://www.altersoft.com.ar


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>




Re: [4.1.14] New test milestone released

2002-11-08 Thread Mauro Daniel Ardolino
Remy: I've just downloaded Tomcat 4.1.14 and I'm testing it with my
application that has no problems running on Tomcat 4.1.12.

When I try to run my application (that Tomcat deploys ok), I receive this
error message (on the web browser), may be is due to a change in Xerces,
but my classes still compile ok with the xercesImpl.jar provided with
Tomcat 4.1.14 (see down the root cause):

javax.servlet.ServletException: Servlet execution threw an exception
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
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)
...AND SO ON

--
ROOT CAUSE:
--


java.lang.NoSuchMethodError: 
org.apache.xerces.util.NamespaceSupport.reset(Lorg/apache/xerces/util/SymbolTable;)V
at
org.apache.xml.serialize.XMLSerializer.reset(XMLSerializer.java:1424)
at
org.apache.xml.serialize.BaseMarkupSerializer.setOutputCharStream(BaseMarkupSerializer.java:335)
at org.apache.xml.serialize.XMLSerializer.(XMLSerializer.java:199)
at
xml.DOMElementConverter.asXmlString(DOMElementConverter.java:41)
at
xml.DOMElementConverter.asXmlInputStream(DOMElementConverter.java:27)
at
query.rowFilters.definitions.RowsFilterDefinition.asXmlInputStream(RowsFilterDefinition.java:33)
at
servlets.ProductFilterFormServlet.doGet(ProductFilterFormServlet.java:46)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
...AND SO ON.

I'm using 4.1.14 because I have to use symlinks (see thread about symlinks
that has just been finished).

Thanks.

Mauro



On Tue, 29 Oct 2002, Remy Maucherat wrote:

> A new test milestone of Tomcat 4.1 has just been released. Please help 
> test this upcoming Tomcat release for compliance issues and other problems.
> 
> Downloads:
> http://jakarta.apache.org/builds/jakarta-tomcat-4.0/test/v4.1.14/
> 
> Significant changes over 4.1.13 include a security manager bugfix. Over 
> 4.1.12, Tomcat 4.1.14 includes bugfixes as well as performance improvements.
> 
> The full list of changes is available in the release notes.
> http://jakarta.apache.org/builds/jakarta-tomcat-4.0/test/v4.1.14/RELEASE-NOTES
> 
> Remy
> 
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
> 
> 

-- 
Ing.Mauro Daniel Ardolino
Departamento de Desarrollo y Servicios
Altersoft
Billinghurst 1599 - Piso 9
C1425DTE - Capital Federal
Tel/Fax: 4821-3376 / 4822-8759
mailto: [EMAIL PROTECTED]
website: http://www.altersoft.com.ar


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: allowLinking is not working (for me).

2002-11-08 Thread Mauro Daniel Ardolino
CONFIRMATION:  Symlinks works fine with Tomcat 4.1.14, setting
allowLinking="true" and caseSensitive="false", even if the files are in
other disk (and I say this because other way to use 4.1.12 with
links is to make hard links, but this cannot be possible if the
files are in other disk).

Thanks to all.

Mauro


On Fri, 8 Nov 2002, Mauro Daniel Ardolino wrote:

> Oh! Now I understand.  Thanks a lot.
> 
> Mauro
> 
> On Fri, 8 Nov 2002, Remy Maucherat wrote:
> 
> > Mauro Daniel Ardolino wrote:
> > 
> > > May be I am confussed (sure!), but you are right, of course I am working
> > > on Linux.  So if I have 2 files named for example...
> > > file.jar
> > > FILE.jar
> > > ...I think I'll have problems because "caseSensitive" is set to false!
> > > (so Tomcat will not see the difference between file.jar and FILE.jar).
> > >
> > > I'm sure wrong...it cannot be like this, can it?
> > 
> > 
> > Your filesystem is case sensitive, so no problems (caseSensitive adds an 
> > extra check if it's not).
> > In the next release, allowLinking="true" will imply caseSensitive="false".
> > 
> > Rémy
> > 
> > 
> > --
> > To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> > For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
> > 
> > 
> 
> 

-- 
Ing.Mauro Daniel Ardolino
Departamento de Desarrollo y Servicios
Altersoft
Billinghurst 1599 - Piso 9
C1425DTE - Capital Federal
Tel/Fax: 4821-3376 / 4822-8759
mailto: [EMAIL PROTECTED]
website: http://www.altersoft.com.ar


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>




Re: allowLinking is not working (for me).

2002-11-08 Thread Mauro Daniel Ardolino
Oh! Now I understand.  Thanks a lot.

Mauro

On Fri, 8 Nov 2002, Remy Maucherat wrote:

> Mauro Daniel Ardolino wrote:
> 
> > May be I am confussed (sure!), but you are right, of course I am working
> > on Linux.  So if I have 2 files named for example...
> > file.jar
> > FILE.jar
> > ...I think I'll have problems because "caseSensitive" is set to false!
> > (so Tomcat will not see the difference between file.jar and FILE.jar).
> >
> > I'm sure wrong...it cannot be like this, can it?
> 
> 
> Your filesystem is case sensitive, so no problems (caseSensitive adds an 
> extra check if it's not).
> In the next release, allowLinking="true" will imply caseSensitive="false".
> 
> Rémy
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
> 
> 

-- 
Ing.Mauro Daniel Ardolino
Departamento de Desarrollo y Servicios
Altersoft
Billinghurst 1599 - Piso 9
C1425DTE - Capital Federal
Tel/Fax: 4821-3376 / 4822-8759
mailto: [EMAIL PROTECTED]
website: http://www.altersoft.com.ar


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>




Re: allowLinking is not working (for me).

2002-11-08 Thread Mauro Daniel Ardolino
May be I am confussed (sure!), but you are right, of course I am working
on Linux.  So if I have 2 files named for example...
file.jar
FILE.jar
...I think I'll have problems because "caseSensitive" is set to false!
(so Tomcat will not see the difference between file.jar and FILE.jar).

I'm sure wrong...it cannot be like this, can it?

Thanks.

Mauro


On Fri, 8 Nov 2002, Remy Maucherat wrote:

> Mauro Daniel Ardolino wrote:
> 
> > Thanks.  I'll try it.  I'm downloading this version now.  But I'm worried
> > about the "caseSensitive" flag.  Will it bring me any other side effects?
> 
> 
> If you're on Unix, no (but you should be on Unix, since otherwise there 
> are no symlinks).
> 
> Remy
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
> 
> 

-- 
Ing.Mauro Daniel Ardolino
Departamento de Desarrollo y Servicios
Altersoft
Billinghurst 1599 - Piso 9
C1425DTE - Capital Federal
Tel/Fax: 4821-3376 / 4822-8759
mailto: [EMAIL PROTECTED]
website: http://www.altersoft.com.ar


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>




Re: allowLinking is not working (for me).

2002-11-08 Thread Mauro Daniel Ardolino
Thanks.  I'll try it.  I'm downloading this version now.  But I'm worried
about the "caseSensitive" flag.  Will it bring me any other side effects?

Mauro

On Fri, 8 Nov 2002, Remy Maucherat wrote:

> Mauro Daniel Ardolino wrote:
> 
> > Where can I download a 4.1.13 version of Tomcat?
> > In Jakarta I saw there is a jump from 4.1.12 to 5.0 version (not released
> > yet).
> 
> 
> Thanks for pointing out this duplicate bug.
> BTW, for "allowLinking" to work, you must also use caseSensitive="false" 
> in 4.1.14.
> 
> You can get the 4.1.14 milestone here:
> http://jakarta.apache.org/builds/jakarta-tomcat-4.0/test/v4.1.14/
> 
> Remy
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
> 
> 

-- 
Ing.Mauro Daniel Ardolino
Departamento de Desarrollo y Servicios
Altersoft
Billinghurst 1599 - Piso 9
C1425DTE - Capital Federal
Tel/Fax: 4821-3376 / 4822-8759
mailto: [EMAIL PROTECTED]
website: http://www.altersoft.com.ar


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>




RE: allowLinking is not working (for me).

2002-11-08 Thread Mauro Daniel Ardolino
Where can I download a 4.1.13 version of Tomcat?
In Jakarta I saw there is a jump from 4.1.12 to 5.0 version (not released
yet).

Thanks.

Mauro

On Thu, 7 Nov 2002, Turner, John wrote:

> 
> And as _I_ said in a previous mail, I recall problems with this
> functionality in some versions of 4.x.  You might have to go to 4.1.13.
> Check bugzilla.
> 
> John
> 
> 
> > -Original Message-
> > From: Mauro Daniel Ardolino [mailto:mauro@;altersoft.com.ar]
> > Sent: Thursday, November 07, 2002 2:53 PM
> > To: Tomcat Users List
> > Subject: RE: allowLinking is not working (for me).
> > 
> > 
> > So read the first mail I wrote in this thread.  
> > There was a snip of the server.xml file.
> > I'm trying to bypass it just setting the flag "allowLinking".
> > 
> > Here's a copy-paste of it:
> > 
> > > > > > Here's a copy of my context node in server.xml:
> > > > > > 
> > > > > >  > > > > > docBase="/home/mauro/workspace/MaeQueryPrototype3/web"
> > > > > > workDir="/home/mauro/workspace/MaeQueryPrototype3/work"
> > > > > > >
> > > > > >  > > > > > className="org.apache.naming.resources.FileDirContext" 
> > > > > > allowLinking="true" 
> > > > > > docBase="/home/mauro/workspace/MaeQueryPrototype3/web" />
> > > > > > 
> > 
> > Thanks.
> > 
> > -- Mauro
> > 
> > 
> > 
> > On Thu, 7 Nov 2002, Turner, John wrote:
> > 
> > > 
> > > "not working" isn't sufficient.  For anyone to help you, 
> > you need to explain
> > > how you are trying to bypass it, what you have changed, 
> > where you are
> > > setting the flag, etc.
> > > 
> > > John
> > > 
> > > 
> > > > -Original Message-
> > > > From: Mauro Daniel Ardolino [mailto:mauro@;altersoft.com.ar]
> > > > Sent: Thursday, November 07, 2002 2:46 PM
> > > > To: Tomcat Users List
> > > > Subject: RE: allowLinking is not working (for me).
> > > > 
> > > > 
> > > > I know.  So what I am trying to do is to bypass this restriction.
> > > > I red that using the "allowLink" flag I can do it, but it's 
> > > > not working
> > > > for me.
> > > > 
> > > > Thanks a lot.
> > > > 
> > > > Mauro
> > > > 
> > > > On Thu, 7 Nov 2002, Turner, John wrote:
> > > > 
> > > > > 
> > > > > Symbolic links are disabled by default in recent versions 
> > > > of Tomcat as a
> > > > > security measure.
> > > > > 
> > > > > There's a work-around, but I am not sure that it is 
> > > > completely bug-free.
> > > > > Check the release notes.
> > > > > 
> > > > > John
> > > > > 
> > > > > 
> > > > > > -Original Message-
> > > > > > From: Mauro Daniel Ardolino [mailto:mauro@;altersoft.com.ar]
> > > > > > Sent: Thursday, November 07, 2002 2:37 PM
> > > > > > To: Tomcat Users List
> > > > > > Subject: allowLinking is not working (for me).
> > > > > > 
> > > > > > 
> > > > > > Tomcat is not deploying my application at startup because I 
> > > > > > have symlinks
> > > > > > to the .jar files.
> > > > > > 
> > > > > > Here's a copy of my context node in server.xml:
> > > > > > 
> > > > > >  > > > > > docBase="/home/mauro/workspace/MaeQueryPrototype3/web"
> > > > > > workDir="/home/mauro/workspace/MaeQueryPrototype3/work"
> > > > > > >
> > > > > >  > > > > > className="org.apache.naming.resources.FileDirContext" 
> > > > > > allowLinking="true" 
> > > > > > docBase="/home/mauro/workspace/MaeQueryPrototype3/web" />
> > > > > > 
> > > > > > 
> > > > > > What's wrong?  The symbolic links are not working.  My 
> > > > .jar file links
> > > > > > are at:
> > > > > > 
> > > > > > /home/mauro/workspac

RE: allowLinking is not working (for me).

2002-11-08 Thread Mauro Daniel Ardolino
The Bug number is: 13519.

On Fri, 8 Nov 2002, Mauro Daniel Ardolino wrote:

> Yes.  I noticed that.  In one of my tests, I had the .jar files in the
> WEB-INF/lib folder and as you say, Tomcat 4.1.12 cannot find them.  Taking
> out this "Resource" element, it starts working again.
> May be we have to migrate to 4.1.13 as John says.
> 
> Thanks.
> 
> Mauro
> 
> On Thu, 7 Nov 2002, Michael Roberts wrote:
> 
> > I would like to point out that my previous question to this list, just
> > minutes before Mauro's is a related problem.
> > 
> > I am using  and Tomcat 4.1.12 cannot not
> > find my webapp JAR files in WEB-INF/lib.  Unlike Mauro, though, I do not
> > have symbolic links to the JARs. They are sitting in a "normal" directory
> > (the entire path the to the JARs is canonical).
> > 
> > -Original Message-
> > From: Mauro Daniel Ardolino [mailto:mauro@;altersoft.com.ar]
> > Sent: Thursday, November 07, 2002 2:46 PM
> > To: Tomcat Users List
> > Subject: RE: allowLinking is not working (for me).
> > 
> > 
> > I know.  So what I am trying to do is to bypass this restriction.
> > I red that using the "allowLink" flag I can do it, but it's not working
> > for me.
> > 
> > Thanks a lot.
> > 
> > Mauro
> > 
> > On Thu, 7 Nov 2002, Turner, John wrote:
> > 
> > > 
> > > Symbolic links are disabled by default in recent versions of Tomcat as a
> > > security measure.
> > > 
> > > There's a work-around, but I am not sure that it is completely bug-free.
> > > Check the release notes.
> > > 
> > > John
> > > 
> > > 
> > > > -Original Message-
> > > > From: Mauro Daniel Ardolino [mailto:mauro@;altersoft.com.ar]
> > > > Sent: Thursday, November 07, 2002 2:37 PM
> > > > To: Tomcat Users List
> > > > Subject: allowLinking is not working (for me).
> > > > 
> > > > 
> > > > Tomcat is not deploying my application at startup because I 
> > > > have symlinks
> > > > to the .jar files.
> > > > 
> > > > Here's a copy of my context node in server.xml:
> > > > 
> > > >  > > > docBase="/home/mauro/workspace/MaeQueryPrototype3/web"
> > > > workDir="/home/mauro/workspace/MaeQueryPrototype3/work"
> > > > >
> > > >  > > > className="org.apache.naming.resources.FileDirContext" 
> > > > allowLinking="true" 
> > > > docBase="/home/mauro/workspace/MaeQueryPrototype3/web" />
> > > > 
> > > > 
> > > > What's wrong?  The symbolic links are not working.  My .jar file links
> > > > are at:
> > > > 
> > > > /home/mauro/workspace/MaeQueryPrototype3/web/WEB-INF/lib/.
> > > > 
> > > > If I make a hard link, it works fine.
> > > > 
> > > > Thanks in advance.
> > > > 
> > > > -- Mauro
> > > > 
> > > > 
> > > > --
> > > > To unsubscribe, e-mail:   
> > > > <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> > > > For additional commands, e-mail: 
> > > > <mailto:tomcat-user-help@;jakarta.apache.org>
> > > > 
> > > 
> > > --
> > > To unsubscribe, e-mail:
> > <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> > > For additional commands, e-mail:
> > <mailto:tomcat-user-help@;jakarta.apache.org>
> > > 
> > > 
> > 
> > 
> 
> 

-- 
Ing.Mauro Daniel Ardolino
Departamento de Desarrollo y Servicios
Altersoft
Billinghurst 1599 - Piso 9
C1425DTE - Capital Federal
Tel/Fax: 4821-3376 / 4822-8759
mailto: [EMAIL PROTECTED]
website: http://www.altersoft.com.ar


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>




RE: allowLinking is not working (for me).

2002-11-08 Thread Mauro Daniel Ardolino
Yes.  I notices that.  In one of my tests, I had the .jar files in the
WEB-INF/lib folder and as you say, Tomcat 4.1.12 cannot find them.  Taking
out this "Resource" element, it starts working again.
May be we have to migrate to 4.1.13 as John says.

Thanks.

Mauro

On Thu, 7 Nov 2002, Michael Roberts wrote:

> I would like to point out that my previous question to this list, just
> minutes before Mauro's is a related problem.
> 
> I am using  and Tomcat 4.1.12 cannot not
> find my webapp JAR files in WEB-INF/lib.  Unlike Mauro, though, I do not
> have symbolic links to the JARs. They are sitting in a "normal" directory
> (the entire path the to the JARs is canonical).
> 
> -Original Message-
> From: Mauro Daniel Ardolino [mailto:mauro@;altersoft.com.ar]
> Sent: Thursday, November 07, 2002 2:46 PM
> To: Tomcat Users List
> Subject: RE: allowLinking is not working (for me).
> 
> 
> I know.  So what I am trying to do is to bypass this restriction.
> I red that using the "allowLink" flag I can do it, but it's not working
> for me.
> 
> Thanks a lot.
> 
> Mauro
> 
> On Thu, 7 Nov 2002, Turner, John wrote:
> 
> > 
> > Symbolic links are disabled by default in recent versions of Tomcat as a
> > security measure.
> > 
> > There's a work-around, but I am not sure that it is completely bug-free.
> > Check the release notes.
> > 
> > John
> > 
> > 
> > > -Original Message-
> > > From: Mauro Daniel Ardolino [mailto:mauro@;altersoft.com.ar]
> > > Sent: Thursday, November 07, 2002 2:37 PM
> > > To: Tomcat Users List
> > > Subject: allowLinking is not working (for me).
> > > 
> > > 
> > > Tomcat is not deploying my application at startup because I 
> > > have symlinks
> > > to the .jar files.
> > > 
> > > Here's a copy of my context node in server.xml:
> > > 
> > >  > >   docBase="/home/mauro/workspace/MaeQueryPrototype3/web"
> > >   workDir="/home/mauro/workspace/MaeQueryPrototype3/work"
> > > >
> > >> > className="org.apache.naming.resources.FileDirContext" 
> > > allowLinking="true" 
> > > docBase="/home/mauro/workspace/MaeQueryPrototype3/web" />
> > > 
> > > 
> > > What's wrong?  The symbolic links are not working.  My .jar file links
> > > are at:
> > > 
> > > /home/mauro/workspace/MaeQueryPrototype3/web/WEB-INF/lib/.
> > > 
> > > If I make a hard link, it works fine.
> > > 
> > > Thanks in advance.
> > > 
> > > -- Mauro
> > > 
> > > 
> > > --
> > > To unsubscribe, e-mail:   
> > > <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> > > For additional commands, e-mail: 
> > > <mailto:tomcat-user-help@;jakarta.apache.org>
> > > 
> > 
> > --
> > To unsubscribe, e-mail:
> <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> > For additional commands, e-mail:
> <mailto:tomcat-user-help@;jakarta.apache.org>
> > 
> > 
> 
> 

-- 
Ing.Mauro Daniel Ardolino
Departamento de Desarrollo y Servicios
Altersoft
Billinghurst 1599 - Piso 9
C1425DTE - Capital Federal
Tel/Fax: 4821-3376 / 4822-8759
mailto: [EMAIL PROTECTED]
website: http://www.altersoft.com.ar


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>




RE: allowLinking is not working (for me).

2002-11-07 Thread Mauro Daniel Ardolino
So read the first mail I wrote in this thread.  
There was a snip of the server.xml file.
I'm trying to bypass it just setting the flag "allowLinking".

Here's a copy-paste of it:

> > > > Here's a copy of my context node in server.xml:
> > > > 
> > > >  > > > docBase="/home/mauro/workspace/MaeQueryPrototype3/web"
> > > > workDir="/home/mauro/workspace/MaeQueryPrototype3/work"
> > > > >
> > > >  > > > className="org.apache.naming.resources.FileDirContext" 
> > > > allowLinking="true" 
> > > > docBase="/home/mauro/workspace/MaeQueryPrototype3/web" />
> > > > 

Thanks.

-- Mauro



On Thu, 7 Nov 2002, Turner, John wrote:

> 
> "not working" isn't sufficient.  For anyone to help you, you need to explain
> how you are trying to bypass it, what you have changed, where you are
> setting the flag, etc.
> 
> John
> 
> 
> > -Original Message-
> > From: Mauro Daniel Ardolino [mailto:mauro@;altersoft.com.ar]
> > Sent: Thursday, November 07, 2002 2:46 PM
> > To: Tomcat Users List
> > Subject: RE: allowLinking is not working (for me).
> > 
> > 
> > I know.  So what I am trying to do is to bypass this restriction.
> > I red that using the "allowLink" flag I can do it, but it's 
> > not working
> > for me.
> > 
> > Thanks a lot.
> > 
> > Mauro
> > 
> > On Thu, 7 Nov 2002, Turner, John wrote:
> > 
> > > 
> > > Symbolic links are disabled by default in recent versions 
> > of Tomcat as a
> > > security measure.
> > > 
> > > There's a work-around, but I am not sure that it is 
> > completely bug-free.
> > > Check the release notes.
> > > 
> > > John
> > > 
> > > 
> > > > -Original Message-
> > > > From: Mauro Daniel Ardolino [mailto:mauro@;altersoft.com.ar]
> > > > Sent: Thursday, November 07, 2002 2:37 PM
> > > > To: Tomcat Users List
> > > > Subject: allowLinking is not working (for me).
> > > > 
> > > > 
> > > > Tomcat is not deploying my application at startup because I 
> > > > have symlinks
> > > > to the .jar files.
> > > > 
> > > > Here's a copy of my context node in server.xml:
> > > > 
> > > >  > > > docBase="/home/mauro/workspace/MaeQueryPrototype3/web"
> > > > workDir="/home/mauro/workspace/MaeQueryPrototype3/work"
> > > > >
> > > >  > > > className="org.apache.naming.resources.FileDirContext" 
> > > > allowLinking="true" 
> > > > docBase="/home/mauro/workspace/MaeQueryPrototype3/web" />
> > > > 
> > > > 
> > > > What's wrong?  The symbolic links are not working.  My 
> > .jar file links
> > > > are at:
> > > > 
> > > > /home/mauro/workspace/MaeQueryPrototype3/web/WEB-INF/lib/.
> > > > 
> > > > If I make a hard link, it works fine.
> > > > 
> > > > Thanks in advance.
> > > > 
> > > > -- Mauro
> > > > 
> > > > 
> > > > --
> > > > To unsubscribe, e-mail:   
> > > > <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> > > > For additional commands, e-mail: 
> > > > <mailto:tomcat-user-help@;jakarta.apache.org>
> > > > 
> > > 
> > > --
> > > To unsubscribe, e-mail:   
> <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> > For additional commands, e-mail:
> <mailto:tomcat-user-help@;jakarta.apache.org>
> > 
> > 
> 
> 

-- 
Ing.Mauro Daniel Ardolino
Departamento de Desarrollo y Servicios
Altersoft
Billinghurst 1599 - Piso 9
C1425DTE - Capital Federal
Tel/Fax: 4821-3376 / 4822-8759
mailto: [EMAIL PROTECTED]
website: http://www.altersoft.com.ar


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>




RE: allowLinking is not working (for me).

2002-11-07 Thread Mauro Daniel Ardolino
I know.  So what I am trying to do is to bypass this restriction.
I red that using the "allowLink" flag I can do it, but it's not working
for me.

Thanks a lot.

Mauro

On Thu, 7 Nov 2002, Turner, John wrote:

> 
> Symbolic links are disabled by default in recent versions of Tomcat as a
> security measure.
> 
> There's a work-around, but I am not sure that it is completely bug-free.
> Check the release notes.
> 
> John
> 
> 
> > -----Original Message-
> > From: Mauro Daniel Ardolino [mailto:mauro@;altersoft.com.ar]
> > Sent: Thursday, November 07, 2002 2:37 PM
> > To: Tomcat Users List
> > Subject: allowLinking is not working (for me).
> > 
> > 
> > Tomcat is not deploying my application at startup because I 
> > have symlinks
> > to the .jar files.
> > 
> > Here's a copy of my context node in server.xml:
> > 
> >  > docBase="/home/mauro/workspace/MaeQueryPrototype3/web"
> > workDir="/home/mauro/workspace/MaeQueryPrototype3/work"
> > >
> >  > className="org.apache.naming.resources.FileDirContext" 
> > allowLinking="true" 
> > docBase="/home/mauro/workspace/MaeQueryPrototype3/web" />
> > 
> > 
> > What's wrong?  The symbolic links are not working.  My .jar file links
> > are at:
> > 
> > /home/mauro/workspace/MaeQueryPrototype3/web/WEB-INF/lib/.
> > 
> > If I make a hard link, it works fine.
> > 
> > Thanks in advance.
> > 
> > -- Mauro
> > 
> > 
> > --
> > To unsubscribe, e-mail:   
> > <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> > For additional commands, e-mail: 
> > <mailto:tomcat-user-help@;jakarta.apache.org>
> > 
> 
> --
> To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
> 
> 

-- 
Ing.Mauro Daniel Ardolino
Departamento de Desarrollo y Servicios
Altersoft
Billinghurst 1599 - Piso 9
C1425DTE - Capital Federal
Tel/Fax: 4821-3376 / 4822-8759
mailto: [EMAIL PROTECTED]
website: http://www.altersoft.com.ar


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>




allowLinking is not working (for me).

2002-11-07 Thread Mauro Daniel Ardolino
Tomcat is not deploying my application at startup because I have symlinks
to the .jar files.

Here's a copy of my context node in server.xml:





What's wrong?  The symbolic links are not working.  My .jar file links
are at:

/home/mauro/workspace/MaeQueryPrototype3/web/WEB-INF/lib/.

If I make a hard link, it works fine.

Thanks in advance.

-- Mauro


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Tomcat and symbolic links

2002-11-07 Thread Mauro Daniel Ardolino
Hi all!
I have a question about Tomcat and linux symbolic links.
I'm working with cocoon jars and they are too big, so I put them on
a directory and then in the WEB-INF/lib directory I made a set of
links like this:

e.g.:
The .jar files are in /usr/java/morelibs/cocoon/.
My application is in /home/mauro/workspace/MyApp/.
So:

cd /home/mauro/workspace/MyApp/WEB-INF/lib
ln -s /usr/java/morelibs/cocoon/*.jar .

When I start tomcat, this application does not run (I could see it
in the debug mode of the eclipse ide).

But IT WORKS FINE if I make hard links to the .jar files like this
(without the "-s" option):

cd /home/mauro/workspace/MyApp/WEB-INF/lib
ln /usr/java/morelibs/cocoon/*.jar .

Does someone know why is it happening?  Doesn't tomcat support to
read files across the symbolic links?

Thanks a lot.

Mauro




--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Session start

2002-10-30 Thread Mauro Daniel Ardolino
Now I figure how it works ;)
Thanks to all!

-- Mauro


On Wed, 30 Oct 2002, Nick Lombard (VSP) wrote:

> Hi Mauro
> 
> At least this one I can answer for you.
> 
> You will deffinitely not be able to start a new session for each browser
> window opened if you are using session cookies.
> 
> The Session cookie specification is slightly different to that of normal
> cookies. It shares the same rule that the browser will send the cookie only
> to the domain from which it originated. But the session cookie lasts the
> lifetime of the browser whereas the normal cookie will be saved. So if a
> browser is closed (not just a window of the same browser process) the cookie
> will die with it. All the browser windows share the same cookies and if a
> session cookie is available for a the domain being accessed the cookie will
> be sent along.
> 
> I.o.w if your servlet/jsp makes a call to request.getSession(true); the
> session ID identified in the request will return the session object stored
> at the server identified by the session ID in the request (cookie) if
there
> is no session id or the session has expired on the server a new session will
> be created and a request will be made to the browser to kindly return a
> session cookie with the supplied id. If request.getSession(false); is
> called, the same process as above occurs but a new session will not be
> created.
> 
> Thus to understand "who the session id belongs to" the answer is something
> like: The session id as a cookie is kept for the lifetime of a browser
> process on the client and identified on the server. Different vendor
> browsers will all have their own session cookies and thus session ids.
> 
> To solve your problem it is correct what Ralph said.
> A session cookie cannot be used because the cookie is shared by all browser
> windows of the same browser process. The sollution is url rewriting in which
> the session id is not sent by a cookie but is sent as a request parameter
> and thus if the client opens a new browser window and types in your URL it
> will not contain the session id request parameter and thus a new session can
> be created on the server. This might not be the case if the client asks for
> a link on your application to open in a new window because the parameter
> might be in the link.
> 
> I hope this makes it slightly clearer.
> 
> Nick.
>  
> 
> 
> 
> -Original Message-
> From: Mauro Daniel Ardolino [mailto:mauro@;altersoft.com.ar]
> Sent: Wednesday, October 30, 2002 4:38 PM
> To: Tomcat Users List
> Subject: RE: Session start
> 
> 
> OK, but I still have some servlets that have to communicate using
> HttpSession setting and getting objects between them.  So if on each call
> to different servlets I obtain a new session, then I loose the objects
> contained in the session.
> 
> So reading your answer I think that the problem is to who belongs the
> session id.  Does it belongs to the machine that is browsing? I mean: the
> IP address? I don't think so because in multiple text sessions of the same
> linux machine, browsing from each the same servlet, I obtain different
> sessions.  Does it belongs to the user?  which user?  windows user?  linux
> user? other OS users?  No, the same user on different linux sessions, gets
> different HttpSession.  So I have to think that depends on the
> OS.  E.g. on linux it depends on the linux session.  I'd like to bypass
> this behavior opening a session each time a user opens a browser.  I
> think I have to rescue a browser window id or something like that from
> the HttpServletRequest.
> 
> Any ideas?
> 
> Thanks,
> 
> Mauro
> 
> 
> 
> On Wed, 30 Oct 2002, Ralph Einfeldt wrote:
> 
> > It's quite simple.
> > 
> > Whenever a request reaches tomcat that contains no
> > session id (url or cookie) or a session id that
> > doesn't belongs to a active session, tomcat creates
> > a new session.
> > 
> > To do what you want you have to disable cookies
> > in tomcat. This way you will get a new session
> > whenever a new window is opened and the url that 
> > is used for the window contains no session id.
> > 
> > Ralph Einfeldt
> > Uptime Internet Solution Center GmbH
> > Hamburg, Germany
> > Hosting, Content Management, Java Consulting
> > http://www.uptime-isc.de 
> > 
> > > -Original Message-
> > > From: Mauro Daniel Ardolino [mailto:mauro@;altersoft.com.ar]
> > > Sent: Tuesday, October 29, 2002 5:13 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: Session start
> > > 
> > > I'm confussed about when does a session starts.
> > > 

RE: Session start

2002-10-30 Thread Mauro Daniel Ardolino
OK, but I still have some servlets that have to communicate using
HttpSession setting and getting objects between them.  So if on each call
to different servlets I obtain a new session, then I loose the objects
contained in the session.

So reading your answer I think that the problem is to who belongs the
session id.  Does it belongs to the machine that is browsing? I mean: the
IP address? I don't think so because in multiple text sessions of the same
linux machine, browsing from each the same servlet, I obtain different
sessions.  Does it belongs to the user?  which user?  windows user?  linux
user? other OS users?  No, the same user on different linux sessions, gets
different HttpSession.  So I have to think that depends on the
OS.  E.g. on linux it depends on the linux session.  I'd like to bypass
this behavior opening a session each time a user opens a browser.  I
think I have to rescue a browser window id or something like that from
the HttpServletRequest.

Any ideas?

Thanks,

Mauro



On Wed, 30 Oct 2002, Ralph Einfeldt wrote:

> It's quite simple.
> 
> Whenever a request reaches tomcat that contains no
> session id (url or cookie) or a session id that
> doesn't belongs to a active session, tomcat creates
> a new session.
> 
> To do what you want you have to disable cookies
> in tomcat. This way you will get a new session
> whenever a new window is opened and the url that 
> is used for the window contains no session id.
> 
> Ralph Einfeldt
> Uptime Internet Solution Center GmbH
> Hamburg, Germany
> Hosting, Content Management, Java Consulting
> http://www.uptime-isc.de 
> 
> > -Original Message-
> > From: Mauro Daniel Ardolino [mailto:mauro@;altersoft.com.ar]
> > Sent: Tuesday, October 29, 2002 5:13 PM
> > To: [EMAIL PROTECTED]
> > Subject: Session start
> > 
> > I'm confussed about when does a session starts.
> > 
> > Browsing with netscape on a linux gui, opening 2 browsers, 
> > calling the same servlet, the session is shared.  I want 
> > to start a new  session! I mean every time a user opens a 
> > new browser or a new window of the browser and calls my 
> > servlet, I want to start a new session.
> 
> --
> To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
> 
> 

-- 
Ing.Mauro Daniel Ardolino
Departamento de Desarrollo y Servicios
Altersoft
Billinghurst 1599 - Piso 9
C1425DTE - Capital Federal
Tel/Fax: 4821-3376 / 4822-8759
mailto: [EMAIL PROTECTED]
website: http://www.altersoft.com.ar


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>




Session start

2002-10-29 Thread Mauro Daniel Ardolino
Hello!
I'm confussed about when does a session starts.

For example I have a simple servlet that keeps a count of the times it was
called session by session.  So it uses the HttpSession requesting it to
the servlet request.

Browsing with netscape on a linux gui, opening 2 browsers, calling the
same servlet, the session is shared.  I want to start a new session!  I
mean every time a user opens a new browser or a new window of the browser 
and calls my servlet, I want to start a new session.

Can it be done?

Thanks.

-- Mauro


-- 
Ing.Mauro Daniel Ardolino
Departamento de Desarrollo y Servicios
Altersoft
Billinghurst 1599 - Piso 9
C1425DTE - Capital Federal
Tel/Fax: 4821-3376 / 4822-8759
mailto: [EMAIL PROTECTED]
website: http://www.altersoft.com.ar


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Servlets: Differences between Linux and Windows?

2002-10-16 Thread Mauro Daniel Ardolino

All right! Thanks! It worked fine.  I had to configure the url-mapping.
Example:

simpleServlet
/sservlet


...to call it like this:
http://:/abaco-simpleServlet/sservlet

Thanks again.

-- Mauro

On Wed, 16 Oct 2002, Sexton, George wrote:

> There was a big change in 4.1.12. The default invoker is no longer mapped.
> Servlets must be explicitly declared in the application web.xml.
> 
> You can override this by editing the conf/web.xml.
> 
> -Original Message-----
> From: Mauro Daniel Ardolino [mailto:[EMAIL PROTECTED]]
> Sent: 16 October, 2002 8:24 AM
> To: [EMAIL PROTECTED]
> Subject: Servlets: Differences between Linux and Windows?
> 
> 
> Hi! I'm having some problems running servlets in Tomcat 4.1.12 under
> Linux RedHat 7.3
> I've done a simple servlet and I was running it in Tomcat 4.0.4 under
> Win98 without problems.  If I copy the folder "mySimpleServlet" from
> windows tomcat webapps folder to linux tomcat webapps folder and start
> linux tomcat, then the application works, but the servlet does not.
> It says: "the requested resource (.) not available"
> 
> Are there any differences in configuration under linux? (in the web.xml or
> the server.xml).
> 
> Thanks in advance.
> 
> -- Mauro
> 
> 
> --
> Ing.Mauro Daniel Ardolino
> Departamento de Desarrollo y Servicios
> Altersoft
> Billinghurst 1599 - Piso 9
> C1425DTE - Capital Federal
> Tel/Fax: 4821-3376 / 4822-8759
> mailto: [EMAIL PROTECTED]
> website: http://www.altersoft.com.ar
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 

-- 
Ing.Mauro Daniel Ardolino
Departamento de Desarrollo y Servicios
Altersoft
Billinghurst 1599 - Piso 9
C1425DTE - Capital Federal
Tel/Fax: 4821-3376 / 4822-8759
mailto: [EMAIL PROTECTED]
website: http://www.altersoft.com.ar


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




Re: Servlets: Differences between Linux and Windows?

2002-10-16 Thread Mauro Daniel Ardolino

I compared the logs files between the executions under 4.0.4 and 4.1.12.
The only difference is this:

2002-09-30 12:40:31 ContextConfig[/abaco-simpleServlet]: Added
certificates -> request attribute Valve

...that is in the 4.0.4 log.  So I think something is missing in the
4.1.12 startup.

What can I do? I'm pretty lost!

Thanks in advance!

-- Mauro



On Wed, 16 Oct 2002, Mauro Daniel Ardolino wrote:

> I think all this is all right.  I've used case sensitive names all the
> time, even under windows.  Also used "/" instead of "\".
> I think the problem is not due to Linux.  I've found some mails about
> problems migrating to tomcat 4.1.12 from 4.0.4.  Problems about tomcat is
> not loading the servlets.
> 
> Do you have any idea about this?
> 
> Thanks!
> 
> Mauro
> 
> 
> On Wed, 16 Oct 2002, Steven J. Owens wrote:
> 
> > > >>> [EMAIL PROTECTED] 10/16/02 08:29 AM >>>
> > > Hi! I'm having some problems running servlets in Tomcat 4.1.12 under
> > > Linux RedHat 7.3
> > > I've done a simple servlet and I was running it in Tomcat 4.0.4 under
> > > Win98 without problems.  If I copy the folder "mySimpleServlet" from
> > > windows tomcat webapps folder to linux tomcat webapps folder and start
> > > linux tomcat, then the application works, but the servlet does not.
> > > It says: "the requested resource (.) not available"
> > > 
> > > Are there any differences in configuration under linux? (in the web.xml
> > > or the server.xml).
> > 
> > On Wed, Oct 16, 2002 at 08:43:25AM -0600, Larry Meadors wrote:
> > > Do you have different cases in file/dir names - myfolder, MyFolder, and
> > > myFolder are all the same in Win32, but all are different in linux/unix.
> > 
> >  Also the file path separator (it's / under linux, but \ under
> > windows).  On a project I was on last year, we were building an app to
> > run on Solaris servers, but I was the only guy working & testing under
> > Solaris.  The rest were under windows.  These were sharp programmers,
> > but it was quite typical for me to do a CVS update, get their new
> > code, and have it break in mysterious ways because of either
> > foreslash/backslash issues or filename case issues.  It's very easy to
> > slip into.
> > 
> > Steven J. Owens
> > [EMAIL PROTECTED]
> > 
> > "I'm going to make broad, sweeping generalizations and strong,
> >  declarative statements, because otherwise I'll be here all night and
> >  this document will be four times longer and much less fun to read.
> >  Take it all with a grain of salt." - Me
> > 
> > --
> > To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> > 
> > 
> 
> 

-- 
Ing.Mauro Daniel Ardolino
Departamento de Desarrollo y Servicios
Altersoft
Billinghurst 1599 - Piso 9
C1425DTE - Capital Federal
Tel/Fax: 4821-3376 / 4822-8759
mailto: [EMAIL PROTECTED]
website: http://www.altersoft.com.ar


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




Re: Servlets: Differences between Linux and Windows?

2002-10-16 Thread Mauro Daniel Ardolino

I think all this is all right.  I've used case sensitive names all the
time, even under windows.  Also used "/" instead of "\".
I think the problem is not due to Linux.  I've found some mails about
problems migrating to tomcat 4.1.12 from 4.0.4.  Problems about tomcat is
not loading the servlets.

Do you have any idea about this?

Thanks!

Mauro


On Wed, 16 Oct 2002, Steven J. Owens wrote:

> > >>> [EMAIL PROTECTED] 10/16/02 08:29 AM >>>
> > Hi! I'm having some problems running servlets in Tomcat 4.1.12 under
> > Linux RedHat 7.3
> > I've done a simple servlet and I was running it in Tomcat 4.0.4 under
> > Win98 without problems.  If I copy the folder "mySimpleServlet" from
> > windows tomcat webapps folder to linux tomcat webapps folder and start
> > linux tomcat, then the application works, but the servlet does not.
> > It says: "the requested resource (.) not available"
> > 
> > Are there any differences in configuration under linux? (in the web.xml
> > or the server.xml).
> 
> On Wed, Oct 16, 2002 at 08:43:25AM -0600, Larry Meadors wrote:
> > Do you have different cases in file/dir names - myfolder, MyFolder, and
> > myFolder are all the same in Win32, but all are different in linux/unix.
> 
>  Also the file path separator (it's / under linux, but \ under
> windows).  On a project I was on last year, we were building an app to
> run on Solaris servers, but I was the only guy working & testing under
> Solaris.  The rest were under windows.  These were sharp programmers,
> but it was quite typical for me to do a CVS update, get their new
> code, and have it break in mysterious ways because of either
> foreslash/backslash issues or filename case issues.  It's very easy to
> slip into.
> 
> Steven J. Owens
> [EMAIL PROTECTED]
> 
> "I'm going to make broad, sweeping generalizations and strong,
>  declarative statements, because otherwise I'll be here all night and
>  this document will be four times longer and much less fun to read.
>  Take it all with a grain of salt." - Me
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
> 
> 

-- 
Ing.Mauro Daniel Ardolino
Departamento de Desarrollo y Servicios
Altersoft
Billinghurst 1599 - Piso 9
C1425DTE - Capital Federal
Tel/Fax: 4821-3376 / 4822-8759
mailto: [EMAIL PROTECTED]
website: http://www.altersoft.com.ar


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Servlets: Differences between Linux and Windows?

2002-10-16 Thread Mauro Daniel Ardolino

Hi! I'm having some problems running servlets in Tomcat 4.1.12 under
Linux RedHat 7.3
I've done a simple servlet and I was running it in Tomcat 4.0.4 under
Win98 without problems.  If I copy the folder "mySimpleServlet" from
windows tomcat webapps folder to linux tomcat webapps folder and start
linux tomcat, then the application works, but the servlet does not.
It says: "the requested resource (.) not available"

Are there any differences in configuration under linux? (in the web.xml or
the server.xml).

Thanks in advance.

-- Mauro


-- 
Ing.Mauro Daniel Ardolino
Departamento de Desarrollo y Servicios
Altersoft
Billinghurst 1599 - Piso 9
C1425DTE - Capital Federal
Tel/Fax: 4821-3376 / 4822-8759
mailto: [EMAIL PROTECTED]
website: http://www.altersoft.com.ar


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Connecting from Tomcat box to JBoss box?

2002-10-10 Thread Mauro Daniel Ardolino

I've heared something about doing it through JAAS.

On Thu, 10 Oct 2002, Raj Saini wrote:

> Hi,
> 
> You need to follow the below steps:-
> 
> Copy the clients file from te JBOSS_HOME/client direcotry to the 
> TOMCAT_HOME/shared/lib. You dont need all, but you can copy to be sure 
> you copied all the libs.
> 
> In your application where you lookup the JNDI context, create a 
> Properties object and set the:
> 
> Properties prop =  new Properties();
> 
> prop.setProperty("java.naming.factory.initial", 
> "org.jnp.interfaces.NamingContectFactory");
> 
> //Replace the yourhost:port with your host ip and port. Default port is 1099
> prop.setProperty("java.naming.factory.url", "yourhost:port");
> prop.setProperty("ava.naming.factory.url.pakgs", "org.jboss.naming: 
> org.jnp.interfaces");
> 
> InitialContext ctx = new InitialContext(prop);
> 
> Now you can use the ctx object to lookup your EJBs.
> 
> Raj Saini
> 
> 
> Mitchell, Edmund wrote:
> > Hello all,
> > 
> > I've got my Apache box talking happily to my Tomcat box, thanks to John
> > Turner and Pascal Forget's great webpages, but I can't seem to get the
> > Tomcat box to talk to the JBoss box.
> > 
> > Does anyone have any "how-to" type info on how to get this connection to
> > happen?  I've tried everything in both the JBoss and ejb docs I've read, to
> > no avail.
> >   
> > In the post below, Anthony Geoghegan suggests that turning off the Tomcat
> > JNDI server will work, but I've been up and down the Tomcat JNDI docs, and
> > seen nothing that looks like an off switch.   Can anyone shed some light on
> > that?
> > 
> > Thanks for any help
> > 
> > Edmund
> > 
> > .
> > 
> > 
> >>-Original Message-
> >>From: Anthony Geoghegan [mailto:[EMAIL PROTECTED]]
> >>Sent: Tuesday, October 08, 2002 1:20 PM
> >>To: Tomcat Users List; [EMAIL PROTECTED]
> >>Subject: Re: Apache 2, Tomcat, & JBoss configuration
> >>You have to use remote interfaces and turn off the TOMCAT 
> >>JNDI server to use
> >>the JBOSS JNDI server, otherwise it's fine.
> > 
> > 
> >>- Original Message -
> >>From: "Jim Haggerty" <[EMAIL PROTECTED]>
> >>To: "Tomcat Users List" <[EMAIL PROTECTED]>
> >>Sent: Tuesday, October 08, 2002 5:31 PM
> >>Subject: Apache 2, Tomcat, & JBoss configuration
> > 
> > 
> >>>Current versions:
> >>>FreeBSD 4.6.2-RELEASE
> >>>Apache 2.0.42 (although FreeBSD port now has 2.0.43)
> >>>Tomcat 4.0.5
> >>>JBoss 3.0.0 (NB: This installation is the package WITHOUT Tomcat)
> >>
> > 
> >>>Apache and Tomcat are getting along fine and I can access 
> >>
> >>deployed webapps
> >>
> >>>through the warp connection (Is JK2 preferred over warp?) 
> >>
> >>on both port 80
> >>
> >>>and 8080.
> >>>
> >>>JBoss is alive and well on port 8082.
> >>>
> >>>However, virtually ALL the documentation I have found 
> >>
> >>regarding connecting
> >>
> >>>the three refers to the JBoss+Tomcat package (modify the 
> >>
> >>server.xml in
> >>
> >>>${JBOSS_HOME}/catalina).  Does anyone have an example of connecting
> >>
> >>Apache -
> >>
> >>>Tomcat - JBoss WITHOUT JBoss+Tomcat?
> >>
> > 
> > 
> > --
> > To unsubscribe, e-mail:   
> > For additional commands, e-mail: 
> > 
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
> 
> 

-- 
Ing.Mauro Daniel Ardolino
Departamento de Desarrollo y Servicios
Altersoft
Billinghurst 1599 - Piso 9
C1425DTE - Capital Federal
Tel/Fax: 4821-3376 / 4822-8759
mailto: [EMAIL PROTECTED]
website: http://www.altersoft.com.ar


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: WHICH IS THE BEST WAY TO HAVE MULTIPLE TOMCAT SERVERS?

2002-10-01 Thread Mauro Daniel Ardolino

Thanks! See below...
> 
> Multiple instances of Tomcat is a better way to go, see Ralph's explanation
> posted previously in this thread.  One instance of Tomcat, even on multiple
> ports, means that everyone will wait while one person does maintenance or
> stops and starts Tomcat.  It's much more productive to give every one their
> own environment to do as they wish.
OK.  That's what we want: not to have to wait each other.

> That said, it would also make a lot more sense to have your 3 developers use
> an OS that is more conducive to development.  Tomcat is a reference
> implementation...if an app works on Tomcat on a Redhat box it will work on
> Tomcat on a Windows box.  We have 3 developers right now working on a new
> app...each has Tomcat installed on their machine.  The staging and
> production servers are Redhat...so far there have been no problems deploying
> apps developed on Windows to the Redhat servers.
May be better, but we want to have our applications installed in only one
machine (Enterprise Policy).  Anyway I think we can install tomcat 3 times
in different folders (on the RH73) and start then on different ports.
On the other hand yesterday I was working with Tomcat on Windows and
today I'm doing it on Redhat, and as you say..."no problem".

-- Mauro

> 
> > -Original Message-
> > From: Mauro Daniel Ardolino [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, October 01, 2002 11:59 AM
> > To: Tomcat Users List
> > Subject: Re: WHICH IS THE BEST WAY TO HAVE MULTIPLE TOMCAT SERVERS?
> > 
> > 
> > All right.  I'm pretty new working with tomcat and it will be 
> > very helpful
> > and example of this.  I do not even have the mod_jk.conf file 
> > anywhere,
> > or the workers.properties.
> > Thanks.
> > 
> > -- Mauro
> > 
> > On Tue, 1 Oct 2002, unix guy wrote:
> > 
> > > I have found the best way is to have 1 tomcat running on 3 
> > different 
> > ports.  It increased our throughput exponentially.  Just update the 
> > server.xml.  Also use loadbalancer in the mod_jk.conf and 
> > workers.properties.
> > > 
> > > Hope this helps.
> > > 
> > > 
> > > - Original Message -
> > > From: Mauro Daniel Ardolino <[EMAIL PROTECTED]>
> > > Date: Tue, 1 Oct 2002 11:04:52 -0400 (ART)
> > > To: [EMAIL PROTECTED]
> > > Subject: WHICH IS THE BEST WAY TO HAVE MULTIPLE TOMCAT SERVERS?
> > > 
> > > 
> > > > Hi!
> > > > I thought there was an answer to this question in the 
> > list, but I've
> > > > searched in tons of mails and didn't find it.
> > > > 
> > > > The fact is that we are starting to work more seriously 
> > with tomcat and we
> > > > really don't know which can be the best way to work in a team.
> > > > We have tomcat 4.1.12 running on a RH73.  There will be 
> > one person working
> > > > in this machine.  There are 2 more machines, one with 
> > RH62 and the other
> > > > with Win98 (We are using X-Win32 for the win98 to execute linux
> > > > applicarions).  
> > > > Well, all the applications are really running on the 
> > first machine, also
> > > > Tomcat.
> > > > 
> > > > The options:
> > > > 1) have only one tomcat running on the RH73 and 
> > well...shout: "shut down
> > > > tomcat!!" (we don't like this option ;) ).
> > > > 2) have 3 tomcats on the same machine and each of us 
> > using one of them.
> > > > 3) have 1 tomcat and start it on 3 different ports (how 
> > can we do that?).
> > > > 4) I heared about "zones" on tomcat that we can start and stop
> > > > separately...(I'm not sure).
> > > > 
> > > > I would like to hear your opinions.
> > > > 
> > > > Thanks in advance.
> > > > 
> > > > -- Mauro
> > > > 
> > > > -- 
> > > > Ing.Mauro Daniel Ardolino
> > > > Departamento de Desarrollo y Servicios
> > > > Altersoft
> > > > Billinghurst 1599 - Piso 9
> > > > C1425DTE - Capital Federal
> > > > Tel/Fax: 4821-3376 / 4822-8759
> > > > mailto: [EMAIL PROTECTED]
> > > > website: http://www.altersoft.com.ar
> > > > 
> > > > 
> > > > 
> > > > --
> > > > To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > > 
> > > 
> > 
> > 
> 
> 

-- 
Ing.Mauro Daniel Ardolino
Departamento de Desarrollo y Servicios
Altersoft
Billinghurst 1599 - Piso 9
C1425DTE - Capital Federal
Tel/Fax: 4821-3376 / 4822-8759
mailto: [EMAIL PROTECTED]
website: http://www.altersoft.com.ar


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




Re: WHICH IS THE BEST WAY TO HAVE MULTIPLE TOMCAT SERVERS?

2002-10-01 Thread Mauro Daniel Ardolino

All right.  I'm pretty new working with tomcat and it will be very helpful
and example of this.  I do not even have the mod_jk.conf file anywhere,
or the workers.properties.
Thanks.

-- Mauro

On Tue, 1 Oct 2002, unix guy wrote:

> I have found the best way is to have 1 tomcat running on 3 different 
ports.  It increased our throughput exponentially.  Just update the 
server.xml.  Also use loadbalancer in the mod_jk.conf and workers.properties.
> 
> Hope this helps.
> 
> 
> - Original Message -----
> From: Mauro Daniel Ardolino <[EMAIL PROTECTED]>
> Date: Tue, 1 Oct 2002 11:04:52 -0400 (ART)
> To: [EMAIL PROTECTED]
> Subject: WHICH IS THE BEST WAY TO HAVE MULTIPLE TOMCAT SERVERS?
> 
> 
> > Hi!
> > I thought there was an answer to this question in the list, but I've
> > searched in tons of mails and didn't find it.
> > 
> > The fact is that we are starting to work more seriously with tomcat and we
> > really don't know which can be the best way to work in a team.
> > We have tomcat 4.1.12 running on a RH73.  There will be one person working
> > in this machine.  There are 2 more machines, one with RH62 and the other
> > with Win98 (We are using X-Win32 for the win98 to execute linux
> > applicarions).  
> > Well, all the applications are really running on the first machine, also
> > Tomcat.
> > 
> > The options:
> > 1) have only one tomcat running on the RH73 and well...shout: "shut down
> > tomcat!!" (we don't like this option ;) ).
> > 2) have 3 tomcats on the same machine and each of us using one of them.
> > 3) have 1 tomcat and start it on 3 different ports (how can we do that?).
> > 4) I heared about "zones" on tomcat that we can start and stop
> > separately...(I'm not sure).
> > 
> > I would like to hear your opinions.
> > 
> > Thanks in advance.
> > 
> > -- Mauro
> > 
> > -- 
> > Ing.Mauro Daniel Ardolino
> > Departamento de Desarrollo y Servicios
> > Altersoft
> > Billinghurst 1599 - Piso 9
> > C1425DTE - Capital Federal
> > Tel/Fax: 4821-3376 / 4822-8759
> > mailto: [EMAIL PROTECTED]
> > website: http://www.altersoft.com.ar
> > 
> > 
> > 
> > --
> > To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> > 
> > 
> 
> 

-- 
Ing.Mauro Daniel Ardolino
Departamento de Desarrollo y Servicios
Altersoft
Billinghurst 1599 - Piso 9
C1425DTE - Capital Federal
Tel/Fax: 4821-3376 / 4822-8759
mailto: [EMAIL PROTECTED]
website: http://www.altersoft.com.ar


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




Re: AW: WHICH IS THE BEST WAY TO HAVE MULTIPLE TOMCAT SERVERS?

2002-10-01 Thread Mauro Daniel Ardolino

Thank you very much!  I couldn't find this mail either.
I'll try it and if I have any questions I will post them.

Thanks again.

-- Mauro

On Tue, 1 Oct 2002, Ralph Einfeldt wrote:

> As long as you just need one version of tomcat I recommend 
> to install one tomcat with serveral instances.
> 
> As I can't find my own post in the archive (gives alway to 
> many or to few results) here's the repost of my last mail:
> 
> We install different versions of tomcat like this:
> 
> /usr/local/java/tomcat-4.0.3
> /usr/local/java/tomcat-4.1.10
> 
> For each site we have something like this:
> 
> /www/online/
>   /log
> dirctory for the log file
>   /conf
> web.xml
> server.xml
>   and other files that contain the site specific setup for tomcat
>   (tailored versions of the files that are provided by 
>tomcat)
>   make shure that the combination of IP and port are unique for
>   each instance of tomcat. 
> ...
>   /work
> Directory where tomcat stores the genared files and classes
>   /webapps
>  Directories for the contexts
>   /bin
> start.sh
>   Script that calls the tomcat version that we want to use 
>   for this site with the environment for this site:
> 
>   JAVA_HOME=/usr/local/java/jdk/sun1.3.1
>   CATALINA_HOME=/usr/local/java/tomcat-4.0.3
>   CATALINA_BASE=/www/online/
> 
> Ralph Einfeldt
> Uptime Internet Solution Center GmbH
> Hamburg, Germany
> Hosting, Content Management, Java Consulting
> http://www.uptime-isc.de 
> 
> > -Ursprüngliche Nachricht-
> > Von: Mauro Daniel Ardolino [mailto:[EMAIL PROTECTED]]
> > Gesendet: Dienstag, 1. Oktober 2002 17:05
> > An: [EMAIL PROTECTED]
> > Betreff: WHICH IS THE BEST WAY TO HAVE MULTIPLE TOMCAT SERVERS?
> > 
> > 
> > The options:
> > 1) have only one tomcat running on the RH73 and well...shout: 
> > "shut down tomcat!!" (we don't like this option ;) ).
> > 2) have 3 tomcats on the same machine and each of us using 
> > one of them.
> > 3) have 1 tomcat and start it on 3 different ports (how can 
> > we do that?).
> > 4) I heared about "zones" on tomcat that we can start and stop
> > separately...(I'm not sure).
> > 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 

-- 
Ing.Mauro Daniel Ardolino
Departamento de Desarrollo y Servicios
Altersoft
Billinghurst 1599 - Piso 9
C1425DTE - Capital Federal
Tel/Fax: 4821-3376 / 4822-8759
mailto: [EMAIL PROTECTED]
website: http://www.altersoft.com.ar


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




WHICH IS THE BEST WAY TO HAVE MULTIPLE TOMCAT SERVERS?

2002-10-01 Thread Mauro Daniel Ardolino

Hi!
I thought there was an answer to this question in the list, but I've
searched in tons of mails and didn't find it.

The fact is that we are starting to work more seriously with tomcat and we
really don't know which can be the best way to work in a team.
We have tomcat 4.1.12 running on a RH73.  There will be one person working
in this machine.  There are 2 more machines, one with RH62 and the other
with Win98 (We are using X-Win32 for the win98 to execute linux
applicarions).  
Well, all the applications are really running on the first machine, also
Tomcat.

The options:
1) have only one tomcat running on the RH73 and well...shout: "shut down
tomcat!!" (we don't like this option ;) ).
2) have 3 tomcats on the same machine and each of us using one of them.
3) have 1 tomcat and start it on 3 different ports (how can we do that?).
4) I heared about "zones" on tomcat that we can start and stop
separately...(I'm not sure).

I would like to hear your opinions.

Thanks in advance.

-- Mauro

-- 
Ing.Mauro Daniel Ardolino
Departamento de Desarrollo y Servicios
Altersoft
Billinghurst 1599 - Piso 9
C1425DTE - Capital Federal
Tel/Fax: 4821-3376 / 4822-8759
mailto: [EMAIL PROTECTED]
website: http://www.altersoft.com.ar



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Does Tomcat require restart when chaning classes?

2002-09-13 Thread Mauro Daniel Ardolino

Very helpfull! Specially when you are developing. Thank you.

Mauro

On Fri, 13 Sep 2002, Miguel Angel Mulero Martinez wrote:

> Make a backup of tour server.xml file. Open your server.xml file. Inside the
> ... you will see some . Make another similar.
> To create a context for your webapp, put something like this:
> 
> 
> 
> Whith this line, you map: http://localhost:8080/ceeiuropa to the directory
> specified.
> 
> I think you have used the ROOT directory, so search the line:
> 
> 
> 
> and change it for:
> 
> 
> 
> If you don't want to create a context, simply put your application in the
> webapps directory and put in the  ... 
> 
> 
> 
> With reloadable="true" tomcat, every 15 seconds (by default) reloads the
> application if some class changed.
> 
> Regards
> 
> 
> -Mensaje original-
> De: Mauro Daniel Ardolino [mailto:[EMAIL PROTECTED]]
> Enviado el: viernes, 13 de septiembre de 2002 15:40
> Para: Tomcat Users List
> Asunto: RE: Does Tomcat require restart when chaning classes?
> 
> Sorry for the next question, but...
> Do I have to put this line in the web.xml?
> How can I declare a context for my app?
> 
> Thanks.
> 
> Mauro
> 
> 
> On Fri, 13 Sep 2002, Miguel Angel Mulero Martinez wrote:
> 
> > In the context of the application, put the reloadable="true" attribute. If
> > you don't have a context for this application, you can put a:
> >
> >   
> >
> > Bye...
> >
> > -Mensaje original-
> > De: Mauro Daniel Ardolino [mailto:[EMAIL PROTECTED]]
> > Enviado el: viernes, 13 de septiembre de 2002 15:31
> > Para: Tomcat Users List
> > Asunto: Re: Does Tomcat require restart when chaning classes?
> >
> > I think you have to restart Tomcat for changes like this.
> > Do someone know another way to do it?
> >
> > Mauro
> >
> > On Thu, 12 Sep 2002, Chuck Carson wrote:
> >
> > >
> > > I had the following class:
> > > $TOMCAT_HOME/webapps/ROOT/WEB-INF/classes/MyClass.class
> > >
> > > If I modify this class (ie recompile) how can I make it active w/o
> > > restarting tomcat? As it stands now (with my current server config,
> > > which is pretty much default) I can only get news changes visible after
> > > a server restart.
> > >
> > > Thanks,
> > > CC
> > >
> > > Chuck Carson
> > > Sr. Systems Administrator
> > > Syrrx, Inc.
> > > 10410 Science Center Drive
> > > San Diego, CA 92121
> > > E: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> > > W: 858.731.3540
> > > M: 858.442.0827
> > >
> > >
> > > --
> > > This message contains confidential information and is intended only for
> > > the individual named. If you are not the named addressee you should not
> > > disseminate, distribute or copy this e-mail. Please notify the sender
> > > immediately by e-mail if you have received this e-mail by mistake and
> > > delete this e-mail from your system. E-mail transmission cannot be
> > > guaranteed to be secure or error-free as information could be
> > > intercepted, corrupted, lost, destroyed, arrive late or incomplete, or
> > > contain viruses. The sender therefore does not accept liability for any
> > > errors or omissions in the contents of this message, which arise as a
> > > result of e-mail transmission. If verification is required please
> > > request a hard-copy version.
> > >
> >
> > --
> > Ing.Mauro Daniel Ardolino
> > Departamento de Desarrollo y Servicios
> > Altersoft
> > Billinghurst 1599 - Piso 9
> > C1425DTE - Capital Federal
> > Tel/Fax: 4821-3376 / 4822-8759
> > mailto: [EMAIL PROTECTED]
> > website: http://www.altersoft.com.ar
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
> >
> 
> --
> Ing.Mauro Daniel Ardolino
> Departamento de Desarrollo y Servicios
> Altersoft
> Billinghurst 1599 - Piso 9
> C1425DTE - Capital Federal
> Tel/Fax: 4821-3376 / 4822-8759
> mailto: [EMAIL PROTECTED]
> website: http://www.altersoft.com.ar
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 

-- 
Ing.Mauro Daniel Ardolino
Departamento de Desarrollo y Servicios
Altersoft
Billinghurst 1599 - Piso 9
C1425DTE - Capital Federal
Tel/Fax: 4821-3376 / 4822-8759
mailto: [EMAIL PROTECTED]
website: http://www.altersoft.com.ar


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




RE: Does Tomcat require restart when chaning classes?

2002-09-13 Thread Mauro Daniel Ardolino

Sorry for the next question, but...
Do I have to put this line in the web.xml?
How can I declare a context for my app?

Thanks.

Mauro


On Fri, 13 Sep 2002, Miguel Angel Mulero Martinez wrote:

> In the context of the application, put the reloadable="true" attribute. If
> you don't have a context for this application, you can put a:
> 
>   
> 
> Bye...
> 
> -Mensaje original-
> De: Mauro Daniel Ardolino [mailto:[EMAIL PROTECTED]]
> Enviado el: viernes, 13 de septiembre de 2002 15:31
> Para: Tomcat Users List
> Asunto: Re: Does Tomcat require restart when chaning classes?
> 
> I think you have to restart Tomcat for changes like this.
> Do someone know another way to do it?
> 
> Mauro
> 
> On Thu, 12 Sep 2002, Chuck Carson wrote:
> 
> >
> > I had the following class:
> > $TOMCAT_HOME/webapps/ROOT/WEB-INF/classes/MyClass.class
> >
> > If I modify this class (ie recompile) how can I make it active w/o
> > restarting tomcat? As it stands now (with my current server config,
> > which is pretty much default) I can only get news changes visible after
> > a server restart.
> >
> > Thanks,
> > CC
> >
> > Chuck Carson
> > Sr. Systems Administrator
> > Syrrx, Inc.
> > 10410 Science Center Drive
> > San Diego, CA 92121
> > E: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> > W: 858.731.3540
> > M: 858.442.0827
> >
> >
> > --
> > This message contains confidential information and is intended only for
> > the individual named. If you are not the named addressee you should not
> > disseminate, distribute or copy this e-mail. Please notify the sender
> > immediately by e-mail if you have received this e-mail by mistake and
> > delete this e-mail from your system. E-mail transmission cannot be
> > guaranteed to be secure or error-free as information could be
> > intercepted, corrupted, lost, destroyed, arrive late or incomplete, or
> > contain viruses. The sender therefore does not accept liability for any
> > errors or omissions in the contents of this message, which arise as a
> > result of e-mail transmission. If verification is required please
> > request a hard-copy version.
> >
> 
> --
> Ing.Mauro Daniel Ardolino
> Departamento de Desarrollo y Servicios
> Altersoft
> Billinghurst 1599 - Piso 9
> C1425DTE - Capital Federal
> Tel/Fax: 4821-3376 / 4822-8759
> mailto: [EMAIL PROTECTED]
> website: http://www.altersoft.com.ar
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 

-- 
Ing.Mauro Daniel Ardolino
Departamento de Desarrollo y Servicios
Altersoft
Billinghurst 1599 - Piso 9
C1425DTE - Capital Federal
Tel/Fax: 4821-3376 / 4822-8759
mailto: [EMAIL PROTECTED]
website: http://www.altersoft.com.ar


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




Re: Does Tomcat require restart when chaning classes?

2002-09-13 Thread Mauro Daniel Ardolino

I think you have to restart Tomcat for changes like this.
Do someone know another way to do it?

Mauro

On Thu, 12 Sep 2002, Chuck Carson wrote:

>  
> I had the following class:
> $TOMCAT_HOME/webapps/ROOT/WEB-INF/classes/MyClass.class
>  
> If I modify this class (ie recompile) how can I make it active w/o
> restarting tomcat? As it stands now (with my current server config,
> which is pretty much default) I can only get news changes visible after
> a server restart.
>  
> Thanks,
> CC
>  
> Chuck Carson 
> Sr. Systems Administrator
> Syrrx, Inc.
> 10410 Science Center Drive
> San Diego, CA 92121
> E: [EMAIL PROTECTED]  
> W: 858.731.3540
> M: 858.442.0827
> 
> 
> --
> This message contains confidential information and is intended only for
> the individual named. If you are not the named addressee you should not
> disseminate, distribute or copy this e-mail. Please notify the sender
> immediately by e-mail if you have received this e-mail by mistake and
> delete this e-mail from your system. E-mail transmission cannot be
> guaranteed to be secure or error-free as information could be
> intercepted, corrupted, lost, destroyed, arrive late or incomplete, or
> contain viruses. The sender therefore does not accept liability for any
> errors or omissions in the contents of this message, which arise as a
> result of e-mail transmission. If verification is required please
> request a hard-copy version. 
> 

-- 
Ing.Mauro Daniel Ardolino
Departamento de Desarrollo y Servicios
Altersoft
Billinghurst 1599 - Piso 9
C1425DTE - Capital Federal
Tel/Fax: 4821-3376 / 4822-8759
mailto: [EMAIL PROTECTED]
website: http://www.altersoft.com.ar


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Help Deploying Servlet

2002-09-13 Thread Mauro Daniel Ardolino

It may be your servlet is on a package.

If so, then you have to put your servlet in:
$TOMCAT_HOME/webapps/ROOT/WEB-INF/classes/nameOfThePackage/AddNewsItem.class

Then in web.xml:
 
   
 AddNewsItem
 nameOfThePackage.AddNewsItem
   
 

I do not know if it will work the call you done because I never
tried to do it this way, but you can try this:
the link to the servlet

Bye!

Mauro


On Thu, 12 Sep 2002, Chuck Carson wrote:

>  
> I have the following servlet:
> $TOMCAT_HOME/webapps/ROOT/WEB-INF/classes/AddNewsItem.class
>  
> I addded this to  WEB-INF/web.xml
> 
>   
> AddNewsItem
> AddNewsItem
>   
> 
>  
> I restarted tomcat but I keep getting 404's when referring to
> AddNewsItem from a jsp page like so:
>  
> 
>  
> What am I missing?
>  
> Thanks,
> Chuck
>  
>  
>  
> Chuck Carson 
> Sr. Systems Administrator
> Syrrx, Inc.
> 10410 Science Center Drive
> San Diego, CA 92121
> E: [EMAIL PROTECTED]  
> W: 858.731.3540
> M: 858.442.0827
> 
> 
> --
> This message contains confidential information and is intended only for
> the individual named. If you are not the named addressee you should not
> disseminate, distribute or copy this e-mail. Please notify the sender
> immediately by e-mail if you have received this e-mail by mistake and
> delete this e-mail from your system. E-mail transmission cannot be
> guaranteed to be secure or error-free as information could be
> intercepted, corrupted, lost, destroyed, arrive late or incomplete, or
> contain viruses. The sender therefore does not accept liability for any
> errors or omissions in the contents of this message, which arise as a
> result of e-mail transmission. If verification is required please
> request a hard-copy version. 
> 

-- 
Ing.Mauro Daniel Ardolino
Departamento de Desarrollo y Servicios
Altersoft
Billinghurst 1599 - Piso 9
C1425DTE - Capital Federal
Tel/Fax: 4821-3376 / 4822-8759
mailto: [EMAIL PROTECTED]
website: http://www.altersoft.com.ar


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: relative path/context problem

2002-09-11 Thread Mauro Daniel Ardolino

Thanks! but is only experience (yesterday I had the same problem ;)


On Wed, 11 Sep 2002, Dave Robbins wrote:

> you sir, are incredibly smart
> Thanks
> 
> > I think it will work if you take out the "/".
> > Like this:
> > Back to Top
> > 
> > Tell me.
> > 
> > Bye,
> > 
> > Mauro
> > 
> > 
> > 
> > On Wed, 11 Sep 2002, Dave Robbins wrote:
> > 
> >> Hello All,
> >> 
> >> I'm seeing some really odd behaviour, I hope someone can tell me what
> >> i'm  doing wrong. I've written some jsp/servlet code with Forte 4.0,
> >> created a  war file and deployed it on Tomcat 4.0.4. ( I deployed it
> >> by putting the  war file in the webapps dir and restarting Tomcat) The
> >> war file was  my_stuff.war so the url is 
> >> 
> >> http://localhost:8080/my_stuff/index.jsp
> >> 
> >> That works fine. As I started developing a little code I got to a
> >> point I  wanted a link back to the entry of the site, I thought
> >> 
> >> Back to Top
> >> 
> >> would do the job. But this link pointed to
> >>   
> >> http://localhost:8080/my_stuff/servlet/index.jsp
> >> 
> >> I was confused so to simplify things I went back to index.jsp and put
> >> a  link to itself in the file. When you mouse over the link, the
> >> address it  point to is
> >> 
> >> http://localhost:8080/index.jsp
> >> 
> >> Shouldn't Tomcat be prepending
> >> 
> >> http://localhost:8080/my_stuff
> >> 
> >> onto any link I specify like this
> >> 
> >> My Link
> >> 
> >> I'm playing around with what's called a model 2 architecture where a
> >> jsp  page calls a servlet which does some data processing and then
> >> forwards the  request to another jsp page and I'm not having any
> >> trouble with path's when  I forward the request, just with links in
> >> the jsp pages.
> >> 
> >> what's really maddening is that in playing around with this I've seen
> >> it  work correctly and seen it fail. Obviously I'm doing something
> >> boneheaded,  any ideas??
> >> 
> >> Dave
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> --
> >> To unsubscribe, e-mail:  
> >>  For additional
> >> commands, e-mail: 
> >> 
> >> 
> > 
> > -- 
> > Ing.Mauro Daniel Ardolino
> > Departamento de Desarrollo y Servicios
> > Altersoft
> > Billinghurst 1599 - Piso 9
> > C1425DTE - Capital Federal
> > Tel/Fax: 4821-3376 / 4822-8759
> > mailto: [EMAIL PROTECTED]
> > website: http://www.altersoft.com.ar
> > 
> > 
> > --
> > To unsubscribe, e-mail:  
> >  For additional
> > commands, e-mail: 
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
> 
> 

-- 
Ing.Mauro Daniel Ardolino
Departamento de Desarrollo y Servicios
Altersoft
Billinghurst 1599 - Piso 9
C1425DTE - Capital Federal
Tel/Fax: 4821-3376 / 4822-8759
mailto: [EMAIL PROTECTED]
website: http://www.altersoft.com.ar


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: relative path/context problem

2002-09-11 Thread Mauro Daniel Ardolino

I think it will work if you take out the "/".
Like this:
Back to Top

Tell me.

Bye,

Mauro



On Wed, 11 Sep 2002, Dave Robbins wrote:

> Hello All,
> 
> I'm seeing some really odd behaviour, I hope someone can tell me what i'm 
> doing wrong. I've written some jsp/servlet code with Forte 4.0, created a 
> war file and deployed it on Tomcat 4.0.4. ( I deployed it by putting the 
> war file in the webapps dir and restarting Tomcat) The war file was 
> my_stuff.war so the url is 
> 
> http://localhost:8080/my_stuff/index.jsp
> 
> That works fine. As I started developing a little code I got to a point I 
> wanted a link back to the entry of the site, I thought
> 
> Back to Top
> 
> would do the job. But this link pointed to
>   
> http://localhost:8080/my_stuff/servlet/index.jsp
> 
> I was confused so to simplify things I went back to index.jsp and put a 
> link to itself in the file. When you mouse over the link, the address it 
> point to is
> 
> http://localhost:8080/index.jsp
> 
> Shouldn't Tomcat be prepending
> 
> http://localhost:8080/my_stuff
> 
> onto any link I specify like this
> 
> My Link
> 
> I'm playing around with what's called a model 2 architecture where a jsp 
> page calls a servlet which does some data processing and then forwards the 
> request to another jsp page and I'm not having any trouble with path's when 
> I forward the request, just with links in the jsp pages.
> 
> what's really maddening is that in playing around with this I've seen it 
> work correctly and seen it fail. Obviously I'm doing something boneheaded, 
> any ideas??
> 
> Dave
> 
> 
> 
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
> 
> 

-- 
Ing.Mauro Daniel Ardolino
Departamento de Desarrollo y Servicios
Altersoft
Billinghurst 1599 - Piso 9
C1425DTE - Capital Federal
Tel/Fax: 4821-3376 / 4822-8759
mailto: [EMAIL PROTECTED]
website: http://www.altersoft.com.ar


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Configuring Tomcat 4.0

2002-09-10 Thread Mauro Daniel Ardolino

Well.  I think is better to tell you how I did to make a servlet work.
First of all I created a folder under "webapps" (e.g. miFirstServlet).
After that I put a simple html file called index.html inside this folder.

Example of simple index.html:

My first servlet

This is really my first servlet!
http://localhost:8080/miFirstServlet/servlet/miFirstServlet/First>Click here 
to see the servlet working



Explanation of the URL:
/miFirstServlet:  the name of the application folder
/servlet   :  indicates that is a servlet (see down).
/miFirstServlet:  name of the package
/First :  name of the class

Put First.class in webapps/WEB-INF/classes/miFirstServlet/.
(make sure the name of the package of First.class is "miFirstServlet")

The web.xml file is simple an is explained inside the example web.xml
file that you can download at:
http://localhost:8080/tomcat-docs/appdev/deployment.html
Make sure to declare the servlet and his  like this:
...
 miFirstServlet.First
...

This file goes here:
webapps/WEB-INF/.

What you are doing is putting an application on Tomcat.  There are
2 ways of doing so:
1) Doing what I have just explained before.
2) Putting a .war instead of the folder webapps/miFirstServlet 
   (e.g. miFirstServlet.war)

I hope this can help you. Bye,

Mauro



On Mon, 9 Sep 2002, srilatha sagar wrote:

> Hi!
> 
> 
> I've copied the .class files
> c:\tomcat4\webapps\ROOT\WEB-INF\classes
> 
> 
> I've include the following lines in autoexec.bat:
> set JAVA_HOME=c:\jdk1.2
> set
> CLASSPATH=.;C:\tomcat4\common\lib\servlet.jar;%CLASSPATH%
> 
> set PATH=%PATH%;%JAVA_HOME%\bin
> 
> I've uncommented the following line in
> c:\tomcat4\conf\server.xml: 
> 
> 
> 
> I did not create the web.xml.If required,where should
> it be created and what should be included in that
> file.
> 
> I've wriiten a simple servlet and not in a package,and
> the URL to access it is:
> (First.class is the servlet)
> 
> http://localhost:8080/First
> 
> 
> Thanks,
> SriLatha.
> 
> 
> 
> --- Mauro Daniel Ardolino <[EMAIL PROTECTED]>
> wrote:
> > Some questions:
> > 
> > Where did you put the files of your applications?
> > (*.class, *.jsp, *.html)
> > Did you create the web.xml file?
> > If so, did you declare your servlet there?
> > How did you write the URL to access your servlet?
> > Is your servlet in a package?
> > 
> > 
> > More information at:
> >
> http://localhost:8080/tomcat-docs/appdev/deployment.html
> > 
> > (notice "localhost:8080" means in your own PC with
> > Tomcat running).
> > 
> > 
> > Mauro
> > 
> > 
> > 
> > On Mon, 9 Sep 2002, srilatha sagar wrote:
> > 
> > > Hi!
> > > I've installed tomcat 4.0 and jdk1.2 on windows 98
> > > machine.The server is installed and i'm able to
> > run
> > > the examples/jsp and examples/servlet files.
> > > 
> > > But when it comes to my own Servlet files,it's
> > giving
> > > the error:HTTP 404,file not found.
> > > 
> > > Please let me know,as how to configure tomcat 4.0
> > on
> > > win98 machine,so as to execute servlets and also
> > where
> > > to set the environment variables,and which system
> > > files to be updated for configuration.
> > > 
> > > Thanks,
> > > SriLatha.
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > __
> > > Do You Yahoo!?
> > > Yahoo! Finance - Get real-time stock quotes
> > > http://finance.yahoo.com
> > > 
> > > --
> > > To unsubscribe, e-mail:  
> > <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > > 
> > > 
> > 
> > -- 
> > Ing.Mauro Daniel Ardolino
> > Departamento de Desarrollo y Servicios
> > Altersoft
> > Billinghurst 1599 - Piso 9
> > C1425DTE - Capital Federal
> > Tel/Fax: 4821-3376 / 4822-8759
> > mailto: [EMAIL PROTECTED]
> > website: http://www.altersoft.com.ar
> > 
> > 
> > --
> > To unsubscribe, e-mail:  
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > 
> 
> 
> __
> Do You Yahoo!?
> Yahoo! Finance - Get real-time stock quotes
> http://finance.yahoo.com
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 

-- 
Ing.Mauro Daniel Ardolino
Departamento de Desarrollo y Servicios
Altersoft
Billinghurst 1599 - Piso 9
C1425DTE - Capital Federal
Tel/Fax: 4821-3376 / 4822-8759
mailto: [EMAIL PROTECTED]
website: http://www.altersoft.com.ar


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




Re: Configuring Tomcat 4.0

2002-09-09 Thread Mauro Daniel Ardolino

Some questions:

Where did you put the files of your applications? (*.class, *.jsp, *.html)
Did you create the web.xml file?
If so, did you declare your servlet there?
How did you write the URL to access your servlet?
Is your servlet in a package?


More information at:
http://localhost:8080/tomcat-docs/appdev/deployment.html

(notice "localhost:8080" means in your own PC with Tomcat running).


Mauro



On Mon, 9 Sep 2002, srilatha sagar wrote:

> Hi!
> I've installed tomcat 4.0 and jdk1.2 on windows 98
> machine.The server is installed and i'm able to run
> the examples/jsp and examples/servlet files.
> 
> But when it comes to my own Servlet files,it's giving
> the error:HTTP 404,file not found.
> 
> Please let me know,as how to configure tomcat 4.0 on
> win98 machine,so as to execute servlets and also where
> to set the environment variables,and which system
> files to be updated for configuration.
> 
> Thanks,
> SriLatha.
> 
> 
> 
> 
> 
> 
> __
> Do You Yahoo!?
> Yahoo! Finance - Get real-time stock quotes
> http://finance.yahoo.com
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
> 
> 

-- 
Ing.Mauro Daniel Ardolino
Departamento de Desarrollo y Servicios
Altersoft
Billinghurst 1599 - Piso 9
C1425DTE - Capital Federal
Tel/Fax: 4821-3376 / 4822-8759
mailto: [EMAIL PROTECTED]
website: http://www.altersoft.com.ar


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Cannot allocate servlet instance for path ...

2002-09-09 Thread Mauro Daniel Ardolino



Hello!
It may be a well known problem, but I'm new in working with Tomcat.
I've made a simple servlet and I want to run it in Tomcat.  The servlet is
in the package "simpleServlet" and it is called "SimpleServlet".
My directory structure is:
\webapps\simpleServlet\WEB-INF\
   classes\SimpleServlet.class
   web.xml

After I startup Tomcat and trying to browse with this URL...:
http://localhost:8080/simpleServlet/servlet/SimpleServlet
...I get this error message:

--
javax.servlet.ServletException: Cannot allocate servlet instance for path
/simpleServlet/servlet/SimpleServlet
at
org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:419)
at
org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:180)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
at java.lang.Thread.run(Thread.java:479)
-

I will thank a lot if you can help me.

Reggards.

- Mauro




--
To unsubscribe, e-mail:   
For additional commands, e-mail: