how can I switch off the debug

2004-04-01 Thread Juan Rafael Maroto Escobar
How can I switch off the debug in Tomcat4? 

My web.xml is


!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;


web-app
  !-- Standard Action Servlet Configuration (with debugging) --
  servlet
servlet-nameaction/servlet-name
!--servlet-classorg.apache.struts.action.ActionServlet/servlet-class --
 servlet-classucua.evaluacionComplementos.ActionServlet/servlet-class
init-param
  param-nameconfig/param-name
  param-value/WEB-INF/struts-config.xml/param-value
/init-param
init-param
  param-namedebug/param-name
  param-value0/param-value
/init-param
init-param
  param-namedetail/param-name
  param-value0/param-value
/init-param
load-on-startup2/load-on-startup
 /servlet


  !-- Standard Action Servlet Mapping --
  servlet-mapping
servlet-nameaction/servlet-name
url-pattern*.do/url-pattern
  /servlet-mapping


  !-- The Usual Welcome File List --
  welcome-file-list
welcome-fileindex.jsp/welcome-file
  /welcome-file-list


  !-- Struts Tag Library Descriptors --
  taglib
taglib-uri/tags/struts-bean/taglib-uri
taglib-location/WEB-INF/struts-bean.tld/taglib-location
  /taglib

  taglib
taglib-uri/tags/struts-html/taglib-uri
taglib-location/WEB-INF/struts-html.tld/taglib-location
  /taglib

  taglib
taglib-uri/tags/struts-logic/taglib-uri
taglib-location/WEB-INF/struts-logic.tld/taglib-location
  /taglib

  taglib
taglib-uri/tags/struts-nested/taglib-uri
taglib-location/WEB-INF/struts-nested.tld/taglib-location
  /taglib

  taglib
taglib-uri/tags/struts-tiles/taglib-uri
taglib-location/WEB-INF/struts-tiles.tld/taglib-location
  /taglib

/web-app

but when I start Tomcat the DEBUG appears.


Thanks

---
Juan Rafael Maroto Escobar


RH 9 + Apache 2 + Tomcat 5 + Jk 2

2003-11-21 Thread Pedro Rafael Sanchez Aranda
Hello,

I am new at this stuff.

My system architecture is a RedHat 9 with Apache Web Server 2.0.40; 
this Apache version is distributed and pre-built with RH 9, but I
applied all the patches and actualizations that RH supplies for it. And
now I installed Tomcat 5.0.14 and Jk Connector 2.0 (from its source code).

I tested Apache (default configuration) and Tomcat (Catalina Stand-alone
configuration) and they works perfetly. But now I am trying  to
configure Jk Connector because I need that Apache supplies JSPs and
Servlets. I saw different web pages that explain it but for previous
version of Jk and Tomcat. I tried to adapt these explanations to the new
version but it did not work.

Could anyone show me the light? Any kind of help would be welcome.

Thank you in advance.

Pedro Rafael Sánchez Aranda



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



Hosting

2003-10-12 Thread Rafael Angarita
  Hi,

  I know this could be a little off topic, but I would like some suggestions about 
with alternatives to host my website (I need a mysql DB and J2EE support)

  Thanks in advance,

Re: reload and ROOT problem

2003-09-13 Thread Rafael Angarita
  Go to the download dir in tomcat website, thereis a patch...

- Original Message - 
From: Rishikesh Tembe [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, September 12, 2003 8:10 PM
Subject: reload and ROOT problem


 Hi all,
 
 I am facing two problems with v4.1.27.
 
 1. After I reload the servlet by copying it into its directory in
 WEB-INF/classes, I get the foll. error when I try to access the reladed
 servlet.
 HTTP Status 503 - This application is not currently available
 
 2. Any apps placed in the ROOT context are not accessible. I am running
 all my apps in the examples context right now.
 
 Any tips on what's missing?
 
 thanks,
 Rishikesh.
 
 =
 
 
 
 Yahoo! India Matrimony: Find your partner online.
 Go to http://yahoo.shaadi.com
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

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



Error with servlet reload

2003-09-10 Thread Rafael Angarita
   Hi,

   I configured my tomcat server to reload classes automatically on 
changes, however when I update the .class file I get this error  when 
try to access the page again:

HTTP Status 503 - Servlet
org.apache.catalina.INVOKER.NewContact is currently
unavailable
type Status report

message Servlet org.apache.catalina.INVOKER.NewContact
is currently unavailable
description The requested service (Servlet
org.apache.catalina.INVOKER.NewContact is currently
unavailable) is not currently available.
Apache Tomcat/4.1.27-LE-jdk14
   The catalina.log file indicates that the .class has been modified 
but the server can not  process the page...
   The environment:
   - Linux RedHat (2.4)
   - Java 1.4
   - Tomcat 4.1.27
   - The server.xml file is configured to make the Context reloadable.

   Any suggestions?

   Thanks in advance,

--

Rafael Angarita




RE: Tomcat 5.0 alpha where are you?

2002-12-29 Thread Rafael Fernandez
Look for it here:
http://jakarta.apache.org/builds/jakarta-tomcat/release/v5.0.0-alpha/bin
/


-Original Message-
From: grenoml [mailto:[EMAIL PROTECTED]] 
Sent: Sunday, December 29, 2002 6:31 PM
To: [EMAIL PROTECTED]
Subject: Tomcat 5.0 alpha where are you?

I wanted to test out Tomcat 5.0 alpha but I can't find any links on the
Jakarta Tomcat website anywhere where I can download a 5.0 build.  Is
this a secret or what?



__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
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]




RE: Robert Sowder's howto for JK2 in Windows

2002-12-23 Thread Rafael Fernandez
Thank you! In just 5 minutes I got mod Jk2 running and I didn't had to
go through all that hassle that other people go through!

 

-Original Message-
From: Robert L Sowders [mailto:[EMAIL PROTECTED]] 
Sent: Monday, December 23, 2002 1:30 AM
To: Tomcat Users List
Subject: Re: Robert Sowder's howto for JK2 in Windows

 


My ftp server has been turned off courtesy of new US Gov regulations. 
I'll also include instructions for JBoss, the authors name is one the
doc. 






SSL Certificate

2002-12-22 Thread Rafael Fernandez
Can somebody send me a link where I can find information on making my
own SSL certificate?




RE: apache and tomcat

2002-12-19 Thread Rafael Fernandez
Use mod_jk...

-Original Message-
From: Jianping Zhu [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 19, 2002 4:28 PM
To: [EMAIL PROTECTED]
Subject: apache and tomcat 



I have redhat linux sever with a apache websever in it. I want to use
java sevrlet and jsp for development purpose. I do not want to just
install standalone tomcat on my machine, how can I
Integrate Tomcat as a plugin within the regular Apache server?
 
Thanks 



--
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]




Robert Sowder's howto for JK2 in Windows

2002-12-19 Thread Rafael Fernandez
Can somebody send me Robert Sowder's how to for JK2 for Windows?




workers.properties

2002-12-18 Thread Rafael Fernandez
For what is workers.properties? Do I need to make it? Can somebody send
me an example of workers.properties? I am using Windows. 




Mod_jk

2002-12-17 Thread Rafael Fernandez
Can somebody please tell me if to choose mod_jk or mod_jk2 for a Win32
Computer running Apache 1.3.27 and Tomcat 4.1.17? Where can I get
information on installing it on Win32?




Re: Error during Tomcat 3.3 startup

2002-12-17 Thread Rafael Angarita
There's another process listening on port 8007.
Check your tomcat configuration and check you are not running 2 tomcat
instances listening on the same port.



- Original Message -
From: James Hong [EMAIL PROTECTED]
To: Tomcat Help [EMAIL PROTECTED]
Sent: Wednesday, December 18, 2002 1:12 AM
Subject: Error during Tomcat 3.3 startup


 Hi,

I am running Tomcat 3.3 and it was working fine till I restarted my
 computer and I found out an error when I perform startup on the machine.

 Here's the error message I received:

 2002-12-18 11:44:12 - AutoDeploy: Source or destination missing
 2002-12-18 11:44:12 - ServerXmlReader: Config=$TOMCAT_HOME\conf\server.xml
 2002-12-18 11:44:12 - PathSetter: home=C:\tomcat8081
 2002-12-18 11:44:12 - ContextXmlReader: Context
 config=$TOMCAT_HOME\conf\apps-12
 7.0.0.1.xml
 2002-12-18 11:44:12 - ContextXmlReader: Context
 config=$TOMCAT_HOME\conf\apps-ad
 min.xml
 2002-12-18 11:44:12 - ContextXmlReader: Context
 config=$TOMCAT_HOME\conf\apps-ex
 amples.xml
 2002-12-18 11:44:12 - AutoWebApp: No autoconf directory
 C:\tomcat8081\modules
 2002-12-18 11:44:12 - AutoWebApp: Auto-Adding DEFAULT:/
 2002-12-18 11:44:12 - AutoWebApp: Auto-Adding DEFAULT:/mymps
 2002-12-18 11:44:12 - AutoWebApp: Loaded from config: DEFAULT:/examples
 2002-12-18 11:44:12 - AutoWebApp: Loaded from config: DEFAULT:/admin
 2002-12-18 11:44:12 - ContextManager: Tomcat configured and in stable
state
 2002-12-18 11:44:12 - ContextManager: Adding  DEFAULT:/admin
 2002-12-18 11:44:12 - ContextManager: Adding  DEFAULT:/examples
 2002-12-18 11:44:12 - ContextManager: Adding  DEFAULT:/ROOT
 2002-12-18 11:44:12 - ContextManager: Adding  DEFAULT:/mymps
 EmbededTomcat: Init time 546
 2002-12-18 11:44:12 - Http10Interceptor: Starting on 8081
 Guessed home=C:\tomcat8081
 Exception: java.lang.reflect.InvocationTargetException
 java.lang.reflect.InvocationTargetException:
 org.apache.tomcat.core.TomcatExcept
 ion: Root cause - Address in use: JVM_Bind:8007
 at
 org.apache.tomcat.modules.server.PoolTcpConnector.engineStart(PoolTcp
 Connector.java:132)
 at
 org.apache.tomcat.core.ContextManager.start(ContextManager.java:639)
 at
 org.apache.tomcat.startup.EmbededTomcat.start(EmbededTomcat.java:586)

 at
 org.apache.tomcat.startup.EmbededTomcat.execute1(EmbededTomcat.java:7
 10)
 at
 org.apache.tomcat.startup.EmbededTomcat$1.run(EmbededTomcat.java:687)

 at
 org.apache.tomcat.util.compat.Jdk12Support$PrivilegedProxy.run(Jdk12S
 upport.java:190)
 at java.security.AccessController.doPrivileged(Native Method)
 at
 org.apache.tomcat.util.compat.Jdk12Support.doPrivileged(Jdk12Support.
 java:100)
 at
 org.apache.tomcat.startup.EmbededTomcat.execute(EmbededTomcat.java:68
 5)
 at java.lang.reflect.Method.invoke(Native Method)
 at
 org.apache.tomcat.util.IntrospectionUtils.execute(IntrospectionUtils.
 java:87)
 at org.apache.tomcat.startup.Main.execute(Main.java:313)
 at org.apache.tomcat.startup.Main.main(Main.java:140)
 Root Exception: org.apache.tomcat.core.TomcatException: Root cause -
Address
 in
 use: JVM_Bind:8007
 org.apache.tomcat.core.TomcatException: Root cause - Address in use:
 JVM_Bind:80
 07
 at
 org.apache.tomcat.modules.server.PoolTcpConnector.engineStart(PoolTcp
 Connector.java:132)
 at
 org.apache.tomcat.core.ContextManager.start(ContextManager.java:639)
 at
 org.apache.tomcat.startup.EmbededTomcat.start(EmbededTomcat.java:586)

 at
 org.apache.tomcat.startup.EmbededTomcat.execute1(EmbededTomcat.java:7
 10)
 at
 org.apache.tomcat.startup.EmbededTomcat$1.run(EmbededTomcat.java:687)

 at
 org.apache.tomcat.util.compat.Jdk12Support$PrivilegedProxy.run(Jdk12S
 upport.java:190)
 at java.security.AccessController.doPrivileged(Native Method)
 at
 org.apache.tomcat.util.compat.Jdk12Support.doPrivileged(Jdk12Support.
 java:100)
 at
 org.apache.tomcat.startup.EmbededTomcat.execute(EmbededTomcat.java:68
 5)
 at java.lang.reflect.Method.invoke(Native Method)
 at
 org.apache.tomcat.util.IntrospectionUtils.execute(IntrospectionUtils.
 java:87)
 at org.apache.tomcat.startup.Main.execute(Main.java:313)
 at org.apache.tomcat.startup.Main.main(Main.java:140)


 Thanks  Cheers,
 James Hong
 ---
 Outgoing mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.423 / Virus Database: 238 - Release Date: 11/25/2002


 --
 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]




Re: Almost there...Updated Apach-Tomcat with mod_jk .. please he lp!

2002-12-15 Thread Rafael Angarita
 I ran ps -A which listed all processes.  httpd (apache) was not one of
them.
 I am assuming PID means Port ID(?), and neither 443 nor 80 was listed...
 This is all very strange and I am starting to sense that I will have to
 reinstall Apache...

PID is process id.
Denise, if you are under Solaris try lsof (I'm not sure if the sources
are available to compile it under another platform)

Run:
# lsof -i -n -C | grep 443
it should returns the process that is using the port 443
(use -C option if you are under Solaris 5.8)



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




Apache Tomcat with Apache 1.3.27 or 2.0.43

2002-12-09 Thread Rafael Fernandez
Is it possible to open a JSP file through Apache HTTP 1.3.27 or 2.0.43
and Apache Tomcat run it?




Howto specify servlets directory

2002-11-27 Thread Rafael Angarita
   Hi,

   I want to configure tomcat to  handle servlets in the URL  /servlet 
and in  /some_dir/servlet, is it necesary to indicate something in the 
config files? or change anything?
   I'm using tomcat 3.2.4

   Thanks in advance,

--

Rafael Angarita




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



Re: Multiple instanceq

2002-11-25 Thread Rafael Angarita
   In this URL I found instructions for tomcat 3.2.x:
http://www.andreasklimke.de/webdev/misc.html#4.2.2


Hari Venkatesan wrote:


Have anybody tried creating multiple tomcat instances. Is there any
documentation that explains this step by step?

Hari

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



 


--

Rafael Angarita
Systems Administrator
(+58212)(2009765)




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




JkMount question

2002-11-22 Thread Rafael Angarita
   Hi,

   Does anybody knows if it's important the order of JkMount 
directives?, for example:

   I have two tomcat instances T1 and T2,  
   - The loadbalancer should handle all the requests to the entire site 
(and do a load balance between  T1 and T2) except for /app1 context
   - T2 should handle all the requests to /app1 context

   What's the right order of JkMount directives in my .conf file? does 
it matters?

   Thanks in advance,

--

Rafael Angarita



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



A simple doubt

2002-10-31 Thread Rafael Alcemar - Hotmail
I'm using JBOSS integrated with TOMCAT and I'm receiving the folowing error: 

HTTP Status 500 - No Context configured to process this request



type Status report

message No Context configured to process this request

description The server encountered an internal error (No Context configured to process 
this request) that prevented it from fulfilling this request.




Apache Tomcat/4.1.12-LE-jdk14

-*-*-*-*-*-*-*-*-*-*-*

This message is very clear, but how I'm a beginner, I'll posting this problem you help 
me. Please, just response me: How can I configure a CONTEXT to it. When I install 
Tomcat alone, I don't receive this error, but when I install integrated with JBOSS, i 
get this error. Please, if you can help me, please send me the solution.

Thanks!

Rafael.




Re: Help: Jakarta as a service

2002-10-18 Thread Rafael Gonçalves
Fernando,
   The same happened to me when i made a change in the
tomcat-user.xml file. The problem was that the xml
sintaxe was wrong. Have you made any change in a xml
file?

I hope this will help.

rafiros

 --- Ing. Fernando Zapata [EMAIL PROTECTED]
escreveu:  I have installed Jakarta Tomcat as a
Service on W2K,
 the configuration seems to be right, but when I
 start the service, it stops inmediatelly. 
 I'm working under Java 2 SDK 1.4.
 Thanks in advanced.
 
 Ing. Fernando Zapata
  

___
Yahoo! GeoCities
Tudo para criar o seu site: ferramentas fáceis de usar, espaço de sobra e acessórios.
http://br.geocities.yahoo.com/

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




Logs and stdout

2002-10-09 Thread Rafael Angarita

Hi,

Is there any known issue about use stdout to send  application 
logging messages?
My programmers use to send all the messages debug and information 
messages to stdout (System.out...),  and I'm wondering if this could 
associated with some problems related with poor performance and hangs up 
in our site.

Thanks in advance,

-- 

Rafael Angarita
System Administrator
(+58212)(2009765)




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




Problem with classNotFound and multiples contexts

2002-10-01 Thread Rafael Angarita

Hi!

I have a tomcat 3.3.1 server with two contexts, root (default) and 
c1, both of them have its own WEB-INF/lib directory. The file  j0.jar 
 is copied in each WEB-INF/lib directory but when the server starts  the 
 server indicates a ClassNotFoundException but  the class in in  j0 .jar
If I set the classpath explicitly with the j0.jar,  everything works 
fine.
It's not supposed  all the .jar  in the lib directory are included 
in the classpath for that context?

Any suggestions?, thanks in advance

-- 

Rafael Angarita




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




Re: Out of Memory Exception

2002-10-01 Thread Rafael Angarita

Did you installed the solaris 8 patches for jdk1.4?

Roger Ting wrote:

Sun OS 5.8. The funny thing is if i use Tomcat 1.3, this doesn't occur at
all. But in my case, i need to use jdk 1.4 for cocoon 2.0.3.
This is the source of headache. After i installed Cocoon, it is even worse.
Out of Memory error just completely killed
Tomcat. It is possible to use Tomcat with jdk 1.3.1 and cocoon 2.0.3 and
both start up fine. However, problem occur
when i intend to use Tomcat and Cocoon to connect to a databases using jdbc.
So currently, my only hope is
cocoon 2.0.3 and Tomcat 4.1 and JDK 1.4 and MySql J-Connector.

Just need to know how to suppress Tomcat or Cocoon to take up so much memory

Someone suggested it is due to  memory leak. I am installing the binary
version of Tomcat. How can that be?



- Original Message -
From: Michael Nicholson [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, October 02, 2002 4:19 AM
Subject: Re: Out of Memory Exception


  

We'll probably need more information... what are trying to do?  Does it
happen immediately, or minutes/hours/days/weeks down the road?  What OS


are
  

you running it on?  etc.

Mike
- Original Message -
From: Roger Ting [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, September 29, 2002 4:24 PM
Subject: Out of Memory Exception


I keep getting java lang out of memory error even i set
-Xmx to 64 meg. Does anyone know how to solve this problem?

I am using jdk 1.4 Tomcat 4.1


--
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]



  


-- 

Rafael Angarita
Administrador de Sistemas
Telcel Bellsouth
(+58212)(2009765)





Re: Shutting down tomcat 3.3.1

2002-09-26 Thread Rafael Angarita

The file wasn't there,  I copy the file and everything is ok now.

Thanks a lot!

Larry Isaacs wrote:

The default configuration of Tomcat 3.3.1 writes the needed
shutdown port number in conf/ajp12.id when it starts up.
By default, the shutdown handling tries to read it from this
file.  What do you see for the contents of this file?

Cheers,
Larry

  

-Original Message-
From: Rafael Angarita [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, September 25, 2002 3:57 PM
To: Tomcat Users List
Subject: Shutting down tomcat 3.3.1


Where is configured the port  to shutdown tomcat 3.3.1?

I'm getting this error: when trying to shutdown tomcat using
# $TOMCAT_HOME/bin/tomcat.sh stop

...
Root Exception: java.lang.IllegalArgumentException: port out 
of range:-1
java.lang.IllegalArgumentException: port out of range:-1
...

It looks like the port is not setted  (AJP12 and AJP13 are 
configured in server.xml to bind to ports 8007 and 8009 respectively)

Thanks in advance

--

Rafael Angarita






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



  


-- 

Rafael Angarita
Administrador de Sistemas
Telcel Bellsouth
(+58212)(2009765)





Socket timeout tomcat 3.3.1

2002-09-26 Thread Rafael Angarita

Is it possible to set a timeout  to the sockets opened  between 
 http processes and  tomcat? (tomcat 3.3.1 using ajp13)
I want to force the disconection from apache if the request is 
answered to slowly by tomcat.

Thanks in advance

-- 

Rafael Angarita
Administrador de Sistemas
Telcel Bellsouth
(+58212)(2009765)



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




Problem shutting down tomcat

2002-09-25 Thread Rafael Angarita

I just installed tomcat3.3.1 compiling the sources (to increase the 
ThreadPool size to 2000) , but  there's a problem shutting down the java 
process (using tomcat.sh stop),  an exception is thrown  and  the 
process keeps alive (I have to force to finish with shutdown.sh -force 
or sending a SIGKILL)
The output from tomcat.sh

Using classpath: /usr/local/tomcat/bin/../lib/tomcat.jar
Using JAVA_HOME: /usr/java
Using TOMCAT_HOME: /usr/local/tomcat
Stopping Tomcat.
Stopping tomcat on null:-1 null
Guessed home=/usr/local/tomcat-3.3.1
Exception: java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException


Any suggestion?

Thanks in advance,

-- 

Rafael Angarita
Administrador de Sistemas
Telcel Bellsouth
(+58212)(2009765)





Shutting down tomcat 3.3.1

2002-09-25 Thread Rafael Angarita

Where is configured the port  to shutdown tomcat 3.3.1?

I'm getting this error: when trying to shutdown tomcat using
# $TOMCAT_HOME/bin/tomcat.sh stop

...
Root Exception: java.lang.IllegalArgumentException: port out of range:-1
java.lang.IllegalArgumentException: port out of range:-1
...

It looks like the port is not setted  (AJP12 and AJP13 are 
configured in server.xml to bind to ports 8007 and 8009 respectively)

Thanks in advance

--

Rafael Angarita





Re: Static content

2002-09-19 Thread Rafael Angarita

John,  where can I find this attribute in server.xml (a default 
server.xml) in tomcat 3.2.4?... I see nothing there... what's the  xml 
tab  that belongs this?

Thanks


Turner, John wrote:

I would add that you need 

forwardAll=false

in your Listener configuration in server.xml.  The default is true, and if
true, ALL requests get passed to Tomcat.

John


  

-Original Message-
From: Robert L Sowders [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 18, 2002 7:02 PM
To: Tomcat Users List
Subject: Re: Static content


From your description we can only tell what you expect it to 
do.  To find 
out where the problem is we will need to see your configs.  
httpd.conf 
mod_jk.conf server.xml etc etc.

Till then we're just guessing.

rls





[EMAIL PROTECTED]
09/18/2002 02:45 PM
Please respond to Tomcat Users List

 
To: [EMAIL PROTECTED]
cc: 
Subject:Static content

I am using Apache with Tomcat 3.2.4 and am trying to figure 
out how the
connector really works.  I am using mod_jk.  Basically, the 
question I 
have
is:  Does static content get served up by Apache or Tomcat?  
I would like
static content to be served up by Apache, but I'm not 
confident that it is
in my configuration.  My normal configuration is to have all 
of my files,
including static content, reside in the tomcat_home/webapps/app1
directory.  server.xml is configured such that the docbase for this 
context
is /.  My apache config includes the mod_jk.conf-auto, which
automatically generates a context for app1 and JkMount 
directives for
/*.jsp and /servlet/*.  My DocumentRoot in httpd.conf is also 
pointing to
the same directory (/tomcat/webapps/app1).   Up until now, I 
assumed that
Apache was only passing on request for jsps or servlets to 
Tomcat, and 
that
it was serving up static content itself.  However, now I'm 
skeptical and
here is why.  If I change the DocumentRoot to a directory 
outside of the
/tomcat/webapps directory, and place my static content there, 
things seems
to function as expected.  If I add another context in 
/tomcat/webapps/test,
with a docbase of /test and place a static file in that 
context, it stills
gets served up (which I would NOT expect, since my JkMounts 
say to only
pass .jsp and servlet requests).  This leads me to believe 
that Apache is
passing  requests to Tomcat based  on the contexts that it 
knows about 
thru
mod_jk.conf, and not based on the JkMounts defined therein.  
Does anyone
have specifics on how the connector really works?
This correspondence may contain information that is confidential,
proprietary or non-public personal information, as that 
term is defined
in the Gramm-Leach-Bliley Act (collectively, Confidential 
Information).
The Confidential Information is disclosed conditioned upon 
your agreement
that you will treat all Confidential Information confidentially and in
accordance with applicable law, ensure that such information 
is not used 
or
disclosed except for the limited purpose for which it is 
being provided 
and
will notify and cooperate with Flagstar Bank regarding any requested
disclosure or any unauthorized disclosure or use of any Confidential
Information.  By accepting and reviewing the Confidential 
Information you
agree to indemnify Flagstar Bank against any losses or 
expenses, including
attorney's fees that Flagstar Bank may incur as a result of any
unauthorized use or disclosure of the Confidential 
Information due to your
acts or omissions.  If this correspondence is received by a 
party other
than the intended recipient, you are requested to immediately 
notify us of
the erroneous delivery and return to us all information so delivered.


--
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]

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



  


-- 

Rafael Angarita
Administrador de Sistemas
Telcel Bellsouth
(+58212)(2009765)





Tomcat performance problems after a while

2002-09-19 Thread Rafael Angarita

My webserver is stopping  answering requests or answers too slowly 
after a while running.
If  a http request is sent  to tomcat directly it's answered quickly 
but the same request to apache takes a lot of time to be answered 
(request a .jsp file).
If  the tomcat process is  stopped and started again (the apache is 
not stopped), the requests to apache are answered quickly.
It looks like something is happening inside the java process that 
produces a poor performance after a while, but I have no clue, how to 
look inside the java, it could be a configuration issue or  an 
application issue  but all  I  can see  is not helpful to establish the 
main reason
Any suggestion?  

The environment:
- Solaris 8
- Apache 1.3.26
- tomcat 3.2.4
- java 1.2
- TheadPool Max = 600

Thanks is advance,

-- 

Rafael Angarita




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




Adicional configuration when using IIS redirection.

2002-09-06 Thread Rafael Gava de Oliveira


Hello, 

I´ve configured TomCat 4.0.4 to work with IIS. Everything is working fine but 
I didn´t setup a Connector in Server.XML. Is it ok? Do I have to setup a connector? Or 
if would like to setup a number of connections (threads), Do I have to setup a 
connector?

Tanks.



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




Re: files open limit

2002-09-05 Thread Rafael Angarita

  Try using lsof, this tool could help you telling which fd are opened 
by a specific process:
# lsof -i -n|grep PID


Peter Choe wrote:

 i have been getting an error on my FreeBSD 3.4 system which is running 
 tomcat 3.2.  after a while, i get a 'too many files open in system' 
 error and it freezes tomcat and the whole server.

 i looked at the ulimit on the system and it says that the file limit 
 is 1024.  i have no idea if this is too low normally.  it seems to be 
 too low for my usage.  i even went back to check my webapps to make 
 sure that i am close all the connections, but it seems that some 
 connections, files and databases, are being kept open.  is there 
 anyway to know which webapps are causing the problem?


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




-- 

Rafael Angarita




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




Problem with apache and tomcat

2002-09-03 Thread Rafael Angarita

Hi, I'm having a problem with tomcat and apache,  the main symptom 
is  apache  gets too slow and  the website   does not respond almost any 
request. It looks like tomcat is not responding fast enough the  apache 
requests or  tomcat  is not closing the sockets (that's why they appear 
in  IDLE state)

What I see:
- Apache gets its MaxClients  number
- A lot of sockets between  apache and tomcat  are in IDLE state. 
The socket between the http process and the client is closed
- The number of threads  in  tomcat are increasing  reaching 
sometimes the max configured (it's two times the MaxClients in apache)
- The java's heap is not reaching its  upper limit
- There's no memory need (scan rate keeps under 50)
- There's not CPU problem (run queue keeps under 1)
- If I increase the number of apache MaxClients, the number of http 
process reach that limit  and  most of them  turns into IDLE state.

The environment:
- Apache 1.3.26
- Tomcat 3.2.4  (using ajp12 I switched to ajp13 and it was no changes)
- Solaris 8

  Any suggestion will be  appreciated,



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




Re: INSTALLING TOMCAT

2002-01-28 Thread Rafael

Where do I download JDK??

Thank you,

Rafael Azevedo

- Original Message -
From: YeonJeong Shin [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, January 28, 2002 3:40 AM
Subject: Re: INSTALLING TOMCAT


 Dear,
 If you want to set JAVA_HOME var,
 1)home_shell) vi .bash_profile (enter)
 2)add line following
JAVA_HOME=jdk directory path
export JAVA_HOME
 3) save  exit
 4) re login

 have a good luck, bye
 - Original Message -
 From: Jakarta [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, January 28, 2002 9:04 AM
 Subject: INSTALLING TOMCAT


 
  Hi,
 
  I'm trying to install Jakarta TomCAT on my LINUX MACHINE and I have no
idea
  about how or where to set my JAVA_HOME.
 
  On the 4th STEP of INSTALLATION FILE (BUILDING.txt), it tells us to type
  ant -projecthelp, but when I type ant, it says:
 
  ~/jakarta-servletapi-4# ant
  Warning: JAVA_HOME environment variable is not set.
If build fails because sun.* classes could not be found
you will need to set the JAVA_HOME environment variable
to the installation directory of java.
  /root/jakarta-ant-1.3/bin/ant: java: command not found
  root@omega:~/jakarta-servletapi-4#
 
 
  How do I set that?? And HOW do I INSTALL JSP Support for my APACHE?
 
  Thank you,
 
  Rafael
 
 
  --
  To unsubscribe:   mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]
 



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: INSTALLING TOMCAT

2002-01-28 Thread Rafael

Thank you a lot Anja..

Here in my country, anja means Angel.

Thank you again.

Rafael Azevedo


- Original Message - 
From: Anja Falkner [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, January 28, 2002 8:30 AM
Subject: Re: INSTALLING TOMCAT


 Hello Rafael,
 
 you can download JDK from http://java.sun.com. 
 The actual version ist J2SE at http://java.sun.com/j2se/1.3/
 
 Greetings
 Anja
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: INSTALLING TOMCAT

2002-01-28 Thread Rafael

It comes with .BIN extension, I'm using Linux Slackware 7.1 and I have no
Idea about how to install the j2sdk-1_3_1_02-linux-i386.bin file.

Thank you for your help and time.

Rafael Azevedo

- Original Message -
From: Anja Falkner [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, January 28, 2002 8:30 AM
Subject: Re: INSTALLING TOMCAT


 Hello Rafael,

 you can download JDK from http://java.sun.com.
 The actual version ist J2SE at http://java.sun.com/j2se/1.3/

 Greetings
 Anja


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: INSTALLING TOMCAT

2002-01-28 Thread Rafael

While I was trying to compile jakarta-servletapi-4, I got this error message
during the compilation...

javadoc:
  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution

BUILD FAILED

/root/jakarta-servletapi-4/build.xml:98: Javadoc failed:
java.io.IOException: javadoc: not found
--- Nested Exception ---
java.io.IOException: javadoc: not found
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.init(UNIXProcess.java:139)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Runtime.java:551)
at java.lang.reflect.Method.invoke(Native Method)
at
org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.jav
a:509)
at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:329)
at org.apache.tools.ant.taskdefs.Javadoc.execute(Javadoc.java:763)
at org.apache.tools.ant.Target.execute(Target.java:153)
at org.apache.tools.ant.Project.runTarget(Project.java:898)
at org.apache.tools.ant.Project.executeTarget(Project.java:536)
at org.apache.tools.ant.Project.executeTargets(Project.java:510)
at org.apache.tools.ant.Main.runBuild(Main.java:421)
at org.apache.tools.ant.Main.main(Main.java:149)

Total time: 28 seconds
root@omega:~/jakarta-servletapi-4#

Does anybody here knows or have knowledge of this error or problem??

Thank you!




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: INSTALLING TOMCAT

2002-01-28 Thread Rafael

This is my $JAVA_HOME: /etc/jdk1.3.1_02

To USE ANT, you need to specify the directory /etc/jdk1.3.1_02 (in my case),
without the last slash /.

Changing this to another PATH will not let me use the ANT command, I did the
ant compile and it went well, no  problems at all, but when trying to do a
ant dist, it gives me the same problem.. :(

What can it be?? How can this be fixed?

Thank you,

Rafael Azevedo


- Original Message -
From: Teemu Hiltunen [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, January 28, 2002 11:31 AM
Subject: Re: INSTALLING TOMCAT


 On Mon, 28 Jan 2002, Rafael wrote:

  While I was trying to compile jakarta-servletapi-4, I got this error
message
  during the compilation...
 
  javadoc:
[javadoc] Generating Javadoc
[javadoc] Javadoc execution
 
  BUILD FAILED
 
  /root/jakarta-servletapi-4/build.xml:98: Javadoc failed:
  java.io.IOException: javadoc: not found
  

 You have to modify your PATH environment variable to include your
 $JAVA_HOME/bin directory.


 --teemu



 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: INSTALLING TOMCAT

2002-01-28 Thread Rafael

Okey!!

I finally installed JAKARTA, now I have no idea about what to do to get JSP
working on my APACHE.

I have the .jar library but I don't know where to use and how.

Thank you,

Rafael Azevedo



- Original Message -
From: Teemu Hiltunen [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, January 28, 2002 11:52 AM
Subject: Re: INSTALLING TOMCAT


 On Mon, 28 Jan 2002, Rafael wrote:

  This is my $JAVA_HOME: /etc/jdk1.3.1_02
 
  To USE ANT, you need to specify the directory /etc/jdk1.3.1_02 (in my
case),
  without the last slash /.
 
  Changing this to another PATH will not let me use the ANT command, I did
the
  ant compile and it went well, no  problems at all, but when trying to
do a
  ant dist, it gives me the same problem.. :(
 
  What can it be?? How can this be fixed?
 

 Okay, in your .bash_profile (or .cshrc or .tcshrc or what ever) in your
 home directory you give the following (or similar):

 JAVA_HOME=/etc/jdk1.3.1_02
 PATH=$PATH:$JAVA_HOME/bin
 export JAVA_HOME
 export PATH

 After this (and running in your home directory source .bash_profile) you
 could try the following:

 java -version

 This should show the version information of your JDK. If you can't see the
 version information but an error, then try to modify your PATH again. The
 javadoc tool is in your /etc/jdk1.3.1_02/bin directory and therefore that
 directory should be in your PATH (right?) in order to get Tomcat compiled.

 Hope this helps. I'm not an expert on Linux/Unix shells.


 --teemu



 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: INSTALLING TOMCAT - PART II

2002-01-28 Thread Rafael

Okey..

Lets start now the second part of this issue.

I've installed TOMCAT (downloaded from
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/nightly/ and I saw on
the documentation that I'm supposed to run the
CATALINA_HOME/bin/./startup.sh

Well I did it.

and look what I got back:

root@omega:~/jakarta-tomcat-4.0/bin# ./startup.sh
Using CATALINA_BASE:   /root/jakarta-tomcat-4.0
Using CATALINA_HOME:   /root/jakarta-tomcat-4.0
Using CATALINA_TMPDIR: /root/jakarta-tomcat-4.0/temp
Using JAVA_HOME:   /etc/jdk1.3.1_02
root@omega:~/jakarta-tomcat-4.0/bin#

Is it running?? How can I know?? grep tomcat doesnt show anything..

I'm still needing help, thank you all for helping me!


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: INSTALLING TOMCAT - PART II

2002-01-28 Thread Rafael

Jean

It runs, but shuts down by itself.

Look at it.

root@omega:~/jakarta-tomcat-4.0/bin# ps xaf|grep java
25622 pts/0S  0:00  \_ grep java
25549 pts/0R  0:03
/etc/jdk1.3.1_02/bin/i386/native_threads/java -Djava.
25578 pts/0S  0:00  \_
/etc/jdk1.3.1_02/bin/i386/native_threads/java -Dj
25579 pts/0S  0:00  \_
/etc/jdk1.3.1_02/bin/i386/native_threads/java
25580 pts/0S  0:00  \_
/etc/jdk1.3.1_02/bin/i386/native_threads/java
25581 pts/0S  0:00  \_
/etc/jdk1.3.1_02/bin/i386/native_threads/java
25584 pts/0S  0:00  \_
/etc/jdk1.3.1_02/bin/i386/native_threads/java
25585 pts/0S  0:00  \_
/etc/jdk1.3.1_02/bin/i386/native_threads/java
25586 pts/0S  0:00  \_
/etc/jdk1.3.1_02/bin/i386/native_threads/java
25587 pts/0S  0:00  \_
/etc/jdk1.3.1_02/bin/i386/native_threads/java
25594 pts/0R  0:00
/etc/jdk1.3.1_02/bin/i386/native_threads/java -Djava.
root@omega:~/jakarta-tomcat-4.0/bin#


Now.. typing ps -ef|grep java:

root@omega:~/jakarta-tomcat-4.0/bin# ps -ef|grep java
root 25658 21719  0 12:51 pts/000:00:00 grep java

It is now down and I have no clue about why..

I want to install it as a module of apache if possible, please, help me.

Thank you!
- Original Message -
From: Jean-Luc BEAUDET [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, January 28, 2002 12:42 PM
Subject: Re: INSTALLING TOMCAT - PART II


 ADAM FOWLER a écrit :

  http://tomcatbook.sourceforge.net
 
  Adam.
 
  - Original Message -
  From: Rafael [EMAIL PROTECTED]
  To: Tomcat Users List [EMAIL PROTECTED]
  Sent: Monday, January 28, 2002 2:10 PM
  Subject: Re: INSTALLING TOMCAT - PART II
 
   Okey..
  
   Lets start now the second part of this issue.
  
   I've installed TOMCAT (downloaded from
   http://jakarta.apache.org/builds/jakarta-tomcat-4.0/nightly/ and I saw
on
   the documentation that I'm supposed to run the
   CATALINA_HOME/bin/./startup.sh
  
   Well I did it.
  
   and look what I got back:
  
   root@omega:~/jakarta-tomcat-4.0/bin# ./startup.sh
   Using CATALINA_BASE:   /root/jakarta-tomcat-4.0
   Using CATALINA_HOME:   /root/jakarta-tomcat-4.0
   Using CATALINA_TMPDIR: /root/jakarta-tomcat-4.0/temp
   Using JAVA_HOME:   /etc/jdk1.3.1_02
   root@omega:~/jakarta-tomcat-4.0/bin#
  
   Is it running?? How can I know?? grep tomcat doesnt show anything..
  
   I'm still needing help, thank you all for helping me!
  
  
   --
   To unsubscribe:   mailto:[EMAIL PROTECTED]
   For additional commands: mailto:[EMAIL PROTECTED]
   Troubles with the list: mailto:[EMAIL PROTECTED]
  
  
 
  --
  To unsubscribe:   mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list:
mailto:[EMAIL PROTECTED]Hum...

 Hum...

 Try a
 # ps -fe | grep java

 You should obtain smth like
 ../.. /usr/j2se/bin/../bin/sparc/native_threads/java -classpath
 /usr/local/Tomcat/bin
 according that /usr/local/Tomcat is the Dir where my bin distribution is
 installed...

 Hope this helps

 Jean-Luc B :O)



 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Problems Running TOMCAT

2002-01-28 Thread Rafael

Hi, now JAVA is working (I installed v1.4 and had no problems) but the port
8080 (according to the server.xml file) is not accepting any connections.. I
tried to access http://localhost:8080 and it was unable to connect.. then,
when I tried to shutdown the service, look what I got:

root@omega:~/jakarta-tomcat-4.0/bin# ./shutdown.sh
Using CATALINA_BASE:   /root/jakarta-tomcat-4.0
Using CATALINA_HOME:   /root/jakarta-tomcat-4.0
Using CATALINA_TMPDIR: /root/jakarta-tomcat-4.0/temp
Using JAVA_HOME:   /root/j2sdk1.4.0
Catalina.stop: java.net.ConnectException: Connection refused
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:295)
at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:161)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:148)
at java.net.Socket.connect(Socket.java:425)
at java.net.Socket.connect(Socket.java:375)
at java.net.Socket.init(Socket.java:290)
at java.net.Socket.init(Socket.java:118)
at org.apache.catalina.startup.Catalina.stop(Unknown Source)
at org.apache.catalina.startup.Catalina.execute(Unknown Source)
at org.apache.catalina.startup.Catalina.process(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Unknown Source)
root@omega:~/jakarta-tomcat-4.0/bin#


Have you seem this before? Please, let me know and sorry for reaching you on
your personal e-mail account.

Thank you,

Rafael




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: tomcat4.0 manager function under( apache+tomcat4.0)

2002-01-28 Thread Rafael

Can you set VIRTUAL HOSTS for that?? I've installed the same patch you did
and all hosts I try to access using the port 8080 shows me the same page...
How can I set it to virtualHosts??

And can I run it on port 80 WITH APACHE (NORMAL)?

Thank you!!!


- Original Message -
From: yi wang [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 28, 2002 10:14 PM
Subject: tomcat4.0 manager function under( apache+tomcat4.0)


 I combine tomcat4.0 + apache1.3.12 successfully, and
 testing the warp connector well. However, I find there
 are some issues with manager function.


 1) http://path/to/tomcat:8080/manager/stop?path=/foo

 OK-- foo stopped


 however, when I type:

 http://path/to/tomcat/foo/hello.jsp
 i still can load hell.jsp page,

 but I type:
 http://path/to/tomcat:8080/foo/hello.jsp
 I cannot load jsp page.

 theoritically, I think the second result is right
 because i already shut down the foo webapp.

 p.s : the remove also has the same problem,

 can someone give me some advice ?

 thanks ahead

 Yi


 __
 Do You Yahoo!?
 Great stuff seeking new owners in Yahoo! Auctions!
 http://auctions.yahoo.com

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Problem with Error 503.

2001-02-06 Thread Antillon Reyes Rafael Martin - EXT

Im gettin constantly an Error 503
qhen i run a servlet, but it has no 
errors executing any other servlet.
Any idea what happens?Rafael Antilln Reyes

Ill appreciate your help

Grupo Vitro
Tel. 3-29-17-00 Ext. 2966
[EMAIL PROTECTED]
ICQ# 61057293

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




RE: HELP WITH FIRST APPLICATION.............

2001-01-22 Thread Antillon Reyes Rafael Martin - EXT



I have tomcat 3.1.1 and my directory look like this:

c:/jakarta-tomcat/webapps/project/WEB-INF
c:/jakarta-tomcat/webapps/project/WEB-INF/classes
c:/jakarta-tomcat/webapps/project/WEB-INF/lib

and in server.xml in the conf directory:

Context path="/project" docBase="webapps/project" debug="0"
reloadable="true"  
/Context

and i call them like this:

http://localhost:8080/project/servlet/Someservlet

and if its in a package:

http://localhost:8080/project/servlet/somepackage.someservlet

hope it helps.

Rafael Antilln Reyes
Grupo Vitro
Tel. 3-29-17-00 Ext. 2966
[EMAIL PROTECTED]
ICQ# 61057293


-Original Message-
From: Michael Collins [mailto:[EMAIL PROTECTED]]
Sent: Sbado, 20 de Enero de 2001 08:35 a.m.
To: [EMAIL PROTECTED]
Subject: HELP WITH FIRST APPLICATION.


Hi all,
Im new to tomcat and am unsure of a couple of things.
I have installed some of the examples and they work away on 
httP:\\localhost8080 etc.
I have started my own project for which I have developed all the HTML pages.

I have converted the relevant pages to .jsp developed beans for one of the 
pages and compiled them to .class. I have gone over the documentation and 
just want to know how to structure the directories.
Say I put everything into a folder called project right?
This folder goes into the webapps folder right?
Now inside in the project folder I have my web-inf folder, inside in that 
folder I have a classes folder and inside in that I have my beans (.java and

.class) in there?
I modify server.xml to look like this
Context path="/project"
 docBase="c:/tomcat/webapps/project"
 debug="0"
 reloadable="true"
 trusted="false" 
/Context

Is this all I have to do?
I read the documentation and there is all other weird stuff that I dont 
understand.
Whats the build.xml thing about and the cvs, do I have to do something with 
them?
Could someone please just give me a step in the right direction, once I get 
one application working, Ill be delighted.
A big thanks in advance,
Michael

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


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

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




getting parameters from web.xml.

2001-01-18 Thread Antillon Reyes Rafael Martin - EXT


Good Morning Everyone:

How do i configure or where do i have to put
files to make this work out? I took the example
from "Core Servlets and JavaServer Pages":

I have a ShowMessage.class file that gets 
via parameters from web.xml like this:

  public void init(ServletConfig config)
  throws ServletException {
super.init(config);
message = config.getInitParameter("message");
if (message == null) {
  message = defaultMessage;
}



and the web.xml:




?xml version="1.0" encoding="ISO-8859-1"?

!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2.2.dtd"

web-app
  servlet
servlet-name
  ShowMsg
/servlet-name

servlet-class
  coreservlets.ShowMessage
/servlet-class

init-param
  param-name
message
  /param-name
  param-value
ElRafa
  /param-value
/init-param

init-param
  param-name
repeats
  /param-name
  param-value
100
  /param-value
/init-param
  /servlet
  
  taglib
taglib-uri
   /tags
/taglib-uri
taglib-location
   /WEB-INF/tags/HelloTagLib.tld
/taglib-location
/taglib
/web-app

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




what is a .war file??

2001-01-18 Thread Antillon Reyes Rafael Martin - EXT

Im kinda new, so, can you tell me what is or where to find something
related to .war files?

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