Problems with tomcat in debian

2008-09-04 Thread marcos gonzalez
Hi

Im installing Tomcat5.5 and works correctly, but when I put the sample
application in the webapps folder /usr/share/tomcat5.5/webapps I can't
access. I access using the path in Firefox http://localhost:8180/sample. The
404 error appears.

Any idea?

Best Regards


Re: R: Problems with tomcat in debian

2008-09-04 Thread marcos gonzalez
Hi

Im using only Tomcat, not apache. I can access to manager, how I can test
the sampel application using this interface?

Best Regards

2008/9/4 Leandro Dardini [EMAIL PROTECTED]



  -Messaggio originale-
  Da: marcos gonzalez [mailto:[EMAIL PROTECTED]
  Inviato: giovedì 4 settembre 2008 10.41
  A: Tomcat Users List
  Oggetto: Problems with tomcat in debian
 
  Hi
 
  Im installing Tomcat5.5 and works correctly, but when I put
  the sample application in the webapps folder
  /usr/share/tomcat5.5/webapps I can't access. I access using
  the path in Firefox http://localhost:8180/sample. The
  404 error appears.
 
  Any idea?
 
  Best Regards
 

 Did you jkmount the sample application?

 The 404 error is the standard apache or tomcat version?

 Can you see the sample application in the manager interface?

 Leandro



Re: R: R: Problems with tomcat in debian

2008-09-04 Thread marcos gonzalez
Thanks but nots the solution. really I don't know where I can configure the
default path for the applications

Best Regards

2008/9/4 Leandro Dardini [EMAIL PROTECTED]

 Try putting a index.jsp in your context and access
 http://localhost:8180/sample/index.jsp

 Leandro

  -Messaggio originale-
  Da: marcos gonzalez [mailto:[EMAIL PROTECTED]
  Inviato: giovedì 4 settembre 2008 10.57
  A: Tomcat Users List
  Oggetto: Re: R: Problems with tomcat in debian
 
  Hi
 
  Im using only Tomcat, not apache. I can access to manager,
  how I can test the sampel application using this interface?
 
  Best Regards
 
  2008/9/4 Leandro Dardini [EMAIL PROTECTED]
 
  
  
-Messaggio originale-
Da: marcos gonzalez [mailto:[EMAIL PROTECTED]
Inviato: giovedì 4 settembre 2008 10.41
A: Tomcat Users List
Oggetto: Problems with tomcat in debian
   
Hi
   
Im installing Tomcat5.5 and works correctly, but when I put the
sample application in the webapps folder
/usr/share/tomcat5.5/webapps I can't access. I access
  using the path
in Firefox http://localhost:8180/sample. The
404 error appears.
   
Any idea?
   
Best Regards
   
  
   Did you jkmount the sample application?
  
   The 404 error is the standard apache or tomcat version?
  
   Can you see the sample application in the manager interface?
  
   Leandro
  
 



Re: R: R: R: Problems with tomcat in debian

2008-09-04 Thread marcos gonzalez
Well, this file not exists, each application needs and xml file there?

There isn't a default configuration to load all the new applications?

Thanks

Best Regards

2008/9/4 Leandro Dardini [EMAIL PROTECTED]

 Look at tomcat/conf/Catalina/localhost/sample.xml. There is a field,
 docBase=... you can specify where you application lies. The path=/...
 is
 related on how you call it.

 Leandro

  -Messaggio originale-
  Da: marcos gonzalez [mailto:[EMAIL PROTECTED]
  Inviato: giovedì 4 settembre 2008 11.21
  A: Tomcat Users List
  Oggetto: Re: R: R: Problems with tomcat in debian
 
  Thanks but nots the solution. really I don't know where I can
  configure the default path for the applications
 
  Best Regards
 
  2008/9/4 Leandro Dardini [EMAIL PROTECTED]
 
   Try putting a index.jsp in your context and access
   http://localhost:8180/sample/index.jsp
  
   Leandro
  
-Messaggio originale-
Da: marcos gonzalez [mailto:[EMAIL PROTECTED]
Inviato: giovedì 4 settembre 2008 10.57
A: Tomcat Users List
Oggetto: Re: R: Problems with tomcat in debian
   
Hi
   
Im using only Tomcat, not apache. I can access to
  manager, how I can
test the sampel application using this interface?
   
Best Regards
   
2008/9/4 Leandro Dardini [EMAIL PROTECTED]
   


  -Messaggio originale-
  Da: marcos gonzalez [mailto:[EMAIL PROTECTED]
  Inviato: giovedì 4 settembre 2008 10.41
  A: Tomcat Users List
  Oggetto: Problems with tomcat in debian
 
  Hi
 
  Im installing Tomcat5.5 and works correctly, but when
  I put the
  sample application in the webapps folder
  /usr/share/tomcat5.5/webapps I can't access. I access
using the path
  in Firefox http://localhost:8180/sample. The
  404 error appears.
 
  Any idea?
 
  Best Regards
 

 Did you jkmount the sample application?

 The 404 error is the standard apache or tomcat version?

 Can you see the sample application in the manager interface?

 Leandro

   
  
 



Re: Problems with tomcat in debian

2008-09-04 Thread marcos gonzalez
The best advice XDDD

I installed again but without compiled and all works perfect!

Thanks!

2008/9/4 Mikolaj Rydzewski [EMAIL PROTECTED]

 marcos gonzalez wrote:

 Im installing Tomcat5.5 and works correctly, but when I put the sample
 application in the webapps folder /usr/share/tomcat5.5/webapps I can't
 access. I access using the path in Firefox http://localhost:8180/sample.
 The
 404 error appears.


 Do not use bundled Tomcats. Download fresh one from tomcat.apache.org and
 enjoy.


 --
 Mikolaj Rydzewski [EMAIL PROTECTED]


 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




Re: R: R: R: Problems with tomcat in debian

2008-09-04 Thread marcos gonzalez
Hi to all,

Finally i uninstalled the tomcat package from Etch repository and installed
again using tomcat oficial tar.gz package. And,surprise, all works right :-)

Thanks for all the mails helping me.

Best Regards

2008/9/4 Caldarale, Charles R [EMAIL PROTECTED]

  From: Leandro Dardini [mailto:[EMAIL PROTECTED]
  Subject: R: R: R: R: Problems with tomcat in debian
 
  I don't know if a file is needed, but I usually create it and
  all runs well.

 Please stop giving bad information.  The conf/Catalina/[host]/[appName].xml
 file is only needed when you wish to override an existing
 META-INF/context.xml file in the webapp, or the webapp is deployed outside
 of the Host appBase.  In other cases, such as the situation posed by the
 OP, it is not necessary.

  This is mine for lambda probe, named probebinj.xml
  ?xml version=1.0 encoding=UTF-8?
  Context
  privileged=true
  allowLinking=true
  docBase=/usr2/context/probe
  reloadable=false
  path=/probebinj
  
  /Context

 The path attribute is illegal here, and must not be used.  If you're lucky,
 Tomcat will just ignore it; if you're not, behavior will be unpredictable.

  - Chuck


 THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
 MATERIAL and is thus for use only by the intended recipient. If you received
 this in error, please contact the sender and delete the e-mail and its
 attachments from all computers.

 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




Doubt with the tomcat configuration

2008-09-03 Thread marcos gonzalez
Hello!

Im new installing tomcat 5.5 and I have problems. Im using A linux platform
(debian etch) and when I put the sample code. the *.war archives where goes?
I put there in /var/lib/tomcat5.5/webapps and apparently tomcats extracts
the application, but when I want to access using
http://localhost:8180/sample appears the 404 error.

Somebody can help me??


Re: Doubt with the tomcat configuration

2008-09-03 Thread marcos gonzalez
Please could you say me which? Im refer if can specify the path where I
understand that is.

And I see is biggest,any special part?

Best regards
2008/9/3 Martin Gainty [EMAIL PROTECTED]


 would need to see the mappings.. please display web.xml

 HTH
 Martin
 __
 Disclaimer and confidentiality note
 Everything in this e-mail and any attachments relates to the official
 business of Sender. This transmission is of a confidential nature and Sender
 does not endorse distribution to any party other than intended recipient.
 Sender does not necessarily endorse content contained within this
 transmission.


  Date: Wed, 3 Sep 2008 17:16:12 +0200
  From: [EMAIL PROTECTED]
  To: users@tomcat.apache.org
  Subject: Doubt with the tomcat configuration
 
  Hello!
 
  Im new installing tomcat 5.5 and I have problems. Im using A linux
 platform
  (debian etch) and when I put the sample code. the *.war archives where
 goes?
  I put there in /var/lib/tomcat5.5/webapps and apparently tomcats extracts
  the application, but when I want to access using
  http://localhost:8180/sample appears the 404 error.
 
  Somebody can help me??

 _
 Stay up to date on your PC, the Web, and your mobile phone with Windows
 Live.
 http://clk.atdmt.com/MRT/go/msnnkwxp1020093185mrt/direct/01/