erro pages

2004-05-14 Thread Dionisio Ruiz de Zarate
hellow.
one question.
how can i configure tomcat for showing one error page whe the documents
doesn't exists?
the
HTTP 404 -
HTTP 403 -
.
error tipes how can i configure them int tomcat conf file?
thanks


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



tomcat 5.0.19, some problemns

2004-05-05 Thread Dionisio Ruiz de Zarate
hello when i star the tomcat 5.0.19, i am stating with this version,
appears this error in the catalina.log file:

05-may-2004 13:24:27 org.apache.catalina.startup.ContextConfig
applicationConfig
INFO: Falta el archivo web.xml de la aplicaciónb. Utilizando los
parámetros por defecto
StandardEngine[Catalina].StandardHost[gest.domain.com].StandardContext[]

in the directory of this host i have one dir (WEB-INF) and inside of this
directory the web.xml file.
the configuration for this host in the server.xml file is (as i made in
tomcat 4.1.30):






factory
org.apache.commons.dbcp.BasicDataSourceFactory


driverClassName
org.postgresql.Driver


url
jdbc:postgresql://127.0.0.1:5432/db


username
nvolucionuser


password
nvolucion.user


maxActive
100


maxIdle
20


maxWait
-1


removeAbandoned
true


removeAbandonedTimeout
60


logAbandoned
true






i need load , into my java apps, some values from the web.xml file.
how can i solve it?

the second problem with the tomcat 5.0.19 is:
if i oput my classes into the WEB-INF/classes directory, the system
doesn't found the. i must tro put into the common/classes directory.
how can i solve it?
how must i to configure to sove these 2 problems?ç

this configuration into the tomcat 4.1.30 runs well but not into the 5.0.19

thanks


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



Re: problem with tomcat 4.1.30, apache 2...

2004-03-25 Thread Dionisio Ruiz de Zarate
i test the tomcat and apache in the tomcat ad apache have been instaled
 machine.

when i restart the tomcat appears in the catalina.out log file this (if
you can help me):

24-mar-2004 13:35:51 org.apache.coyote.http11.Http11Protocol destroy
INFO: Stoping http11 protocol on 8080 Catalina:type=ThreadPool,name=http8080
24-mar-2004 13:35:59 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.30
24-mar-2004 13:36:01 org.apache.struts.util.PropertyMessageResources 
INFO: Initializing, config='org.apache.struts.util.LocalStrings',
returnNull=true
24-mar-2004 13:36:01 org.apache.struts.util.PropertyMessageResources 
INFO: Initializing, config='org.apache.struts.action.ActionResources',
returnNull=true
24-mar-2004 13:36:01 org.apache.struts.util.PropertyMessageResources 
INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources',
returnNull=true
24-mar-2004 13:36:04 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
24-mar-2004 13:36:04 org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
24-mar-2004 13:36:04 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/69 
config=/opt/jakarta/tomcat/conf/jk2.properties
Stopping service Tomcat-Standalone
24-mar-2004 13:46:35 org.apache.coyote.http11.Http11Protocol destroy
INFO: Stoping http11 protocol on 8080 Catalina:type=ThreadPool,name=http8080










> one thing I find frustrating about mod_jk is the logging code:
> it only reports the errocode, not the strerror.
>
> You got 101 as errno, it's possible to convert this code to human
> readable string with a small c program:
>
> tsterror.c:
>
>  #include 
>  #include 
>  int main () {
>
>   puts(strerror(101));
>
>  }
>
> ( Compile with gcc -o tsterror tsterror.c )
>
> Gives you "Network is unreachable", currently I don't have glue why you
> get this error. If you restart apache the hostname:port of the ajp
> connector is reported in the mod_jk log, perhaps it is useful to verify
> the hostname:port.
>
> Hope this helps,
>
> --
> Staf Wagemakers
>
> email:    staf at patat.org
> homepage: http://staf.patat.org
>
>
> On Wed, Mar 24, 2004 at 05:15:03PM +0100, Dionisio Ruiz de Zarate wrote:
>> i make teklnet to the localhost 8009 and:
>>
>> server:/# telnet localhost 8009
>> Trying ::1...
>> Connected to localhost.
>> Escape character is '^]'.
>>
>>
>>
>> the connection is not refused
>> whit the same configuration, the same configuration files, i have put
>> the
>> tomcat 4.1.27 and its mod_jk.so file and it runs well, but with the
>> 4.1.30, compiling it mod_jk.so file, it doesn't run.
>> can you help me?
>> thanks
>>
>>
>> > ok, looks good.
>> >
>> > Are you sure that the ajp13 connector is enabled in tomcat?
>> >
>> > Try to telnet to localhost port 8009, and see if you get a response.
>> >
>> > $ telnet localhost 8009
>> > Trying 127.0.0.1...
>> > Connected to stafbox.
>> > Escape character is '^]'.
>> >
>> > If you get "connection refused" or something like that, the tomcat
>> > ajp13 connector isn't enabled. ( or tomcat isn't running at all ;-)
>> >
>> > Hope this helps
>> >
>> >
>> > --
>> > Staf Wagemakers
>> >
>> > email: staf at patat.org
>> > homepage:  http://staf.patat.org
>> >
>> > On Wed, Mar 24, 2004 at 03:22:58PM +0100, Dionisio Ruiz de Zarate
>> wrote:
>> >> i have those lines in my workers.properties file
>> >>  worker.list=ajp13
>> >>  worker.ajp13.port=8009
>> >>  worker.ajp13.host=localhost
>> >>  worker.ajp13.type=ajp13
>> >>
>> >> > What have you specified in your workers.properties? Normally you
>> >> should
>> >> > have:
>> >> >
>> >> > worker.list=ajp13
>> >> > ...
>> >> > worker.ajp13.port=8009
>> >> > worker.ajp13.host=localhost
>> >> > worker.ajp13.type=ajp13
>> >> > ...
>> >> >
>> >> >
>> >> > The ajp13 connector must be enabled in your server.xml.
>> >> > Try to telnet localhost 8009 to be sure.
>> >> >
>> >> > kind regards,
>> >> >
>> >> > --
>> >> > Staf Wagemakers
>> >

Re: problem with tomcat 4.1.30, apache 2...

2004-03-24 Thread Dionisio Ruiz de Zarate
i make teklnet to the localhost 8009 and:

server:/# telnet localhost 8009
Trying ::1...
Connected to localhost.
Escape character is '^]'.



the connection is not refused
whit the same configuration, the same configuration files, i have put the
tomcat 4.1.27 and its mod_jk.so file and it runs well, but with the
4.1.30, compiling it mod_jk.so file, it doesn't run.
can you help me?
thanks


> ok, looks good.
>
> Are you sure that the ajp13 connector is enabled in tomcat?
>
> Try to telnet to localhost port 8009, and see if you get a response.
>
> $ telnet localhost 8009
> Trying 127.0.0.1...
> Connected to stafbox.
> Escape character is '^]'.
>
> If you get "connection refused" or something like that, the tomcat
> ajp13 connector isn't enabled. ( or tomcat isn't running at all ;-)
>
> Hope this helps
>
>
> --
> Staf Wagemakers
>
> email:    staf at patat.org
> homepage: http://staf.patat.org
>
> On Wed, Mar 24, 2004 at 03:22:58PM +0100, Dionisio Ruiz de Zarate wrote:
>> i have those lines in my workers.properties file
>>  worker.list=ajp13
>>  worker.ajp13.port=8009
>>  worker.ajp13.host=localhost
>>  worker.ajp13.type=ajp13
>>
>> > What have you specified in your workers.properties? Normally you
>> should
>> > have:
>> >
>> > worker.list=ajp13
>> > ...
>> > worker.ajp13.port=8009
>> > worker.ajp13.host=localhost
>> > worker.ajp13.type=ajp13
>> > ...
>> >
>> >
>> > The ajp13 connector must be enabled in your server.xml.
>> > Try to telnet localhost 8009 to be sure.
>> >
>> > kind regards,
>> >
>> > --
>> > Staf Wagemakers
>> >
>> > email: staf at patat.org
>> > homepage:  http://staf.patat.org
>> >
>> > On Wed, Mar 24, 2004 at 02:13:20PM +0100, Dionisio Ruiz de Zarate
>> wrote:
>> >> Hello i have one great problem. I am trying for solvig it during one
>> >> week
>> >> and i canot solve it.
>> >>
>> >> i have one linux machie (suse 9) with the 1.4.2_03 jdk instaled.
>> >> the machine has the apache 2.0.48.
>> >> i have download and install the tomcat 4.1.30 and i have the
>> connectors
>> >> source download and compile the mod_jk.
>> >>
>> >> i have start the tomcat and the apache 2 and appeaars the bellos
>> errors
>> >> in
>> >> the log files.
>> >>
>> >> i put the conf files bellow.
>> >>
>> >> can you help me for solving this problem please?
>> >> thanks
>> >>
>> >> in the apache conf file i have:
>> >> JkWorkersFile "/opt/jakarta/tomcat/conf/workers.properties"
>> >> JkLogFile "/opt/jakarta/tomcat/logs/mod_jk.log"
>> >> JkLogLevel debug
>> >> JkMount /*.jsp ajp13
>> >>
>> >> ERRORS:
>> >>
>> >>
>> >> int he apache log file:
>> >> 192.168.0.250 - - [24/Mar/2004:13:28:52 +0100] "GET /index.jsp
>> HTTP/1.1"
>> >> 500 1063 "http://www.domain.com/"; "Mozilla/5.0 (compatible;
>> >> Konqueror/3.1;
>> >> Linux)"
>> >>
>> >> in the tomcat mod_jk.log file:
>> >> [Wed Mar 24 13:28:52 2004]  [jk_ajp_common.c (1318)]: Error
>> connecting
>> >> to
>> >> tomcat. Tomcat is probably not started or is listening on the wrong
>> >> port.
>> >> worker=ajp13 failed errno = 101
>> >>
>> >>
>> >> -
>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >>
>> >>
>> >
>> >
>> > -
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>> >
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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



Re: problem with tomcat 4.1.30, apache 2...

2004-03-24 Thread Dionisio Ruiz de Zarate
i have those lines in my workers.properties file
 worker.list=ajp13
 worker.ajp13.port=8009
 worker.ajp13.host=localhost
 worker.ajp13.type=ajp13

> What have you specified in your workers.properties? Normally you should
> have:
>
> worker.list=ajp13
> ...
> worker.ajp13.port=8009
> worker.ajp13.host=localhost
> worker.ajp13.type=ajp13
> ...
>
>
> The ajp13 connector must be enabled in your server.xml.
> Try to telnet localhost 8009 to be sure.
>
> kind regards,
>
> --
> Staf Wagemakers
>
> email:staf at patat.org
> homepage: http://staf.patat.org
>
> On Wed, Mar 24, 2004 at 02:13:20PM +0100, Dionisio Ruiz de Zarate wrote:
>> Hello i have one great problem. I am trying for solvig it during one
>> week
>> and i canot solve it.
>>
>> i have one linux machie (suse 9) with the 1.4.2_03 jdk instaled.
>> the machine has the apache 2.0.48.
>> i have download and install the tomcat 4.1.30 and i have the connectors
>> source download and compile the mod_jk.
>>
>> i have start the tomcat and the apache 2 and appeaars the bellos errors
>> in
>> the log files.
>>
>> i put the conf files bellow.
>>
>> can you help me for solving this problem please?
>> thanks
>>
>> in the apache conf file i have:
>> JkWorkersFile "/opt/jakarta/tomcat/conf/workers.properties"
>> JkLogFile "/opt/jakarta/tomcat/logs/mod_jk.log"
>> JkLogLevel debug
>> JkMount /*.jsp ajp13
>>
>> ERRORS:
>>
>>
>> int he apache log file:
>> 192.168.0.250 - - [24/Mar/2004:13:28:52 +0100] "GET /index.jsp HTTP/1.1"
>> 500 1063 "http://www.domain.com/"; "Mozilla/5.0 (compatible;
>> Konqueror/3.1;
>> Linux)"
>>
>> in the tomcat mod_jk.log file:
>> [Wed Mar 24 13:28:52 2004]  [jk_ajp_common.c (1318)]: Error connecting
>> to
>> tomcat. Tomcat is probably not started or is listening on the wrong
>> port.
>> worker=ajp13 failed errno = 101
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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



problem with tomcat 4.1.30, apache 2...

2004-03-24 Thread Dionisio Ruiz de Zarate
Hello i have one great problem. I am trying for solvig it during one week
and i canot solve it.

i have one linux machie (suse 9) with the 1.4.2_03 jdk instaled.
the machine has the apache 2.0.48.
i have download and install the tomcat 4.1.30 and i have the connectors
source download and compile the mod_jk.

i have start the tomcat and the apache 2 and appeaars the bellos errors in
the log files.

i put the conf files bellow.

can you help me for solving this problem please?
thanks

in the apache conf file i have:
JkWorkersFile "/opt/jakarta/tomcat/conf/workers.properties"
JkLogFile "/opt/jakarta/tomcat/logs/mod_jk.log"
JkLogLevel debug
JkMount /*.jsp ajp13

ERRORS:


int he apache log file:
192.168.0.250 - - [24/Mar/2004:13:28:52 +0100] "GET /index.jsp HTTP/1.1"
500 1063 "http://www.domain.com/"; "Mozilla/5.0 (compatible; Konqueror/3.1;
Linux)"

in the tomcat mod_jk.log file:
[Wed Mar 24 13:28:52 2004]  [jk_ajp_common.c (1318)]: Error connecting to
tomcat. Tomcat is probably not started or is listening on the wrong port.
worker=ajp13 failed errno = 101


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



tomcat 5. some basic questions

2004-02-07 Thread Dionisio Ruiz de Zarate
hello.
i have one machine in production mode with apache 2 and tomcat 4.1.29.
i am thinkin for using tomcat 5.
i have several questions:

1.- the tomcat 5 configuration i diferent, comparing with the tomcat 4.1.29
configurarion? (vitual domains, db connecion pools using Commons DBCP..)
2.- when i try to download the tomcat i see that there is:
Tomcat 5.0.18 zip PGP MD5
5.0.18 Deployer zip PGP MD5
5.0.18 Embed zip PGP MD5

what are the two last ?(5.0.18 Deployer zip PGP MD5, 5.0.18 Embed zip PGP
MD5 ) i need it for using tomcat in production mode?

for connection apache2 with tomcat 4.1.29 i download the connectors sourcrs,
i compile them. for using tomcat 5 this step is diferent?

thanks for reading my question and thanks for your help


Sorry for my bad english



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



Re: mod_jk2/tomcat 4.1.29 uri mapping

2003-11-24 Thread Dionisio Ruiz de Zarate
i have the same problem. i must to downgrade to the 4.1.27 version.
there is other problem; if you have one dir with, for example, images, you
must to map the directory.

[uri:/erfx/*]
 worker=ajp13:localhost:9602
 context=/erfx
 tomcatId=localhost:9602

[uri:/erfx/images/*]
 worker=ajp13:localhost:9602
 context=/erfx
 tomcatId=localhost:9602

in other form doesn't run.
in the 4.1.27 version you dont have to mapp the subdirectories.


> Hi,
>
> I've encountered a strange problem which occurred after updating from
> mod_jk2 compiled from the jakarta-tomcat-connectors-4.1.27-src.tar.gz
> distribution to the new version from
> jakarta-tomcat-connectors-4.1.29-src.tar.gz. I have the following workers
> definition in workers2.properties:
>
> [channel.socket:localhost:9602]
> info=Ajp13 forwarding over socket
> debug=0
> host=localhost
> port=9602
> tomcatId=localhost:9602
>
> [ajp13:localhost:9602]
> channel=channel.socket:localhost:9602
> tomcatId=localhost:9602
>
> [uri:/erfx/*]
> worker=ajp13:localhost:9602
> context=/erfx
> tomcatId=localhost:9602
>
> This works fine with the mentioned mod_jk2 from tomcat 4.1.27. However,
> with 4.1.29 only the uri /erfx/ gets mapped as expected but /erfx/foo.jsp
> for example doesn't, i.e., the request is not processed by tomcat but the
> file is delivered in its raw form by apache. When I add another explicit
> mapping [uri:/erfx/foo.jsp] it works again. It seems the "*" in the uri
> no longer works from some reason. Similarly, when requesting an uri which
> does not directly correspond to a JSP but should be passed to a servlet,
> I get a 404 (not found) from apache.
>
> I'm running Apache 1.3.29 with Tomcat 4.1.29 on a Linux host. As already
> stated, the same configuration works fine when using the mod_jk2 from the
> 4.1.27 connector sources. Could someone please shed some light on this
> and tell me how to get the new mod_jk2 to work? Thanks in advance.
>
>
> CU,
> Stefan
>
>
> -
> 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]



one great problem with mod_jk2 and workers2.properties

2003-11-17 Thread Dionisio Ruiz de Zarate
I have configure the tomcat + apache2 + mod_jk2 but i have find one great
problem (error?) and is this:

if i have this web structure:
/
|-index.jsp
|-images/
| |-image.gif
| |-otherimage.gif
|-js/
| |-file.js
|-otherdirectory/
|   |-file1.htm
|   |-file2.png
|-WEB-INF

there is one great problem if one jsp page has images or other files that
are into (inside) one directory.
if i not map the directories into the workers2.properties file the sistem
doesn't show well the page.
if i not writte into the workers2.properties file:
[uri:www.domain.com/*.jsp]
worker_ajp:localhost:8009
[uri:www.domain.com/images/*]
worker_ajp:localhost:8009
[uri:www.doamin.com/js/*]
worker_ajp:localhost:8009
..

this has one great problem an dis that if one use, using ftp, creates one
dir and files, the system'll not show well the pages.

How can i solve this great (form me) problem?

thanks



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



Re: tomcat 4.1.29+azpache2+mod_jk2. help me please

2003-11-17 Thread Dionisio Ruiz de Zarate
But if one user, using ftp, creates one dir, i must to edit the apache
conf file?
this is one great problem.
i sed mod_jk and there wan't problem with this but with the mod_jk2 i
cannot resolv it

thanks

> Dionisio,
>> 2.-the second:
>> the tomcat and apache works with the mod_jk2, the system returns me the
>> jsp pages, but if the page has some things (images, css files )into
>> diferents directories (/images/, /js/...) i must to declare them (the
>> directories) into the workers2.properties file.
>> Is this normal?
>> how can i solve?
>
> I usually use Apache aliases to make URLs that point to the context, but
> not to servlets or JSPs point to the webapp's home directory. Like this:
>
> Alias /yourApp /path/to/tomcat/webapps/yourApp
>
> Now, when someone requests /yourApp/images/logo.jpg, Apache will grab
> the file from /path/to/tomcat/webapps/yourApp/images/logo.jpg
>
> This has the aded advantage of Apache serving your static content
> instead of Tomcat.
>
> -chris
>
>
> -
> 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]



tomcat 4.1.29+azpache2+mod_jk2. help me please

2003-11-17 Thread Dionisio Ruiz de Zarate
Hello.
I have two great problems with tomcat+apache2+mod_jk2

1.- the first is
i must to have in the apache home (/srv/www) one conf dir with the
workers2.properties file. if i dont create this dir with the file the
systems doesn't find the workers2.properties file.
Why the system doesn't find it? the file is in the Tomcat_home/conf dir?
whic variable must i to change?

2.-the second:
the tomcat and apache works with the mod_jk2, the system returns me the
jsp pages, but if the page has some things (images, css files )into
diferents directories (/images/, /js/...) i must to declare them (the
directories) into the workers2.properties file.
Is this normal?
how can i solve?

in the workers2.properties file have this:

[logger.apache2]
level=DEBUG

[shm]
file=/var/log/apache2/tomcat_shm_log.txt
size=1048576

[channel.socket:localhost:8009]
port=8009
host=127.0.0.1

[channel.un:/opt/jakarta/tomcat/conf/jk2.socket]
tomcatId=localhost:8009
debug=0

#define the worker
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009

[uri:www.dominio.com/*.jsp]
worker=ajp13:localhost:8009
[uri:www.dominio.com/images/*]
worker_ajp:localhost:8009
[uri:www.dominio.com/js/*]
worker_ajp:localhost:8009

i must to declare all the site directories, if i not declare them the
systes doesn't show the imagesn, css, js ..
 this has one great problem: if one user creates one dir, i must to
reconfigure my workers2.properties file.

How can i solve this great problem?
thanks
Conoceis cual puede ser la solucion?

in the jk2.properties file i have:

handler.list=apr,request,channelJni
channelSocket.port=8019
channelUnix.file=/opt/jakarta/tomcat/conf/jk2.socket
serverRoot=/srv/www/apache2
apr.NativeSo=/usr/lib/apache2/jkjni.so

can you help me?

the great problem for my isthe second. please help me.
thanks

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



redirect from one servlet to one jsp page

2003-11-17 Thread Dionisio Ruiz de Zarate
In one servlet ihave this:
public HttpSession userSession;

if(!userSession.getAttribute("loginStatus").equals("OK")){
 //redirection
}

my problem is howcan i redirect from one servlet to one jsp page if the
loginStatus attribute isnot equals to OK.

from one jsp page to other jsp page i make:
response.sendRedirect ("destinationjsppage.jsp");

but fromone servlet?

thanks


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



mod_jk or mod_jk2

2003-11-12 Thread Dionisio Ruiz de Zarate
Hello
i must to put one server with apache 2.0.47 and tomcat 4.1.29 in production.
what is better for use in production state? mod_jk or mod_jk2?
which is more stable?

thanks



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



error configuring tomcat + apache with mod_jk2

2003-11-10 Thread Dionisio Ruiz de Zarate
Hello.
i am tryinf to cofigure the tomcat 4.1.29 +  apache 2.0.47 into one linux
machine.
for this pourpose i have configure in the apche conf file this:

LoadModule jk2_module /usr/lib/apache2/mod_jk2.so

JkUriSet worker ajp13:localhost:8009


and into the workers2.properties fiel i have this:

[logger.apache2]
level=DEBUG
[shm]
file=/opt/jakarta/tomcat/logs/shm_log.txt
size=1048576
[channel.socket:localhost:8009]
port=8009
host=127.0.0.1
#definir un worker
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009
[uri:192.168.1.254/*.jsp]
worker=ajp13:localhost:8009
[status:status]
[uri:/jkstatus/*]
worker=status:status

i have compile the mod_jk2.so file
but when i try to load one jsp page always it produces the 500 error:

Server error!
El servidor encontro un error interno y fue imposible completar su
solicitud. Existe tambien la posibilidad de que el servidor este
sobrecargado o de algún error en un programa de CGI.
Favor de contactar al webmaster en caso de que usted crea que existe un
error en el servidor.
Error 500
192.168.1.1
Mon Nov 10 22:43:08 2003
Apache/2.0.47 (Linux/SuSE)


must i to configure the apache conf file (httpd.conf) in other form? must i
add some thing?
must i cahnge the workers2.properties file?

can anybody helpos me?
thanks



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



configuring tomcat 4.1.29 with apache 2 using mod_jk2. HELP me please

2003-11-10 Thread Dionisio Ruiz de Zarate
Hello.
i want to configura my tomcat with apache for using mod_jk2 in my linux
suse 9.

i know how to configure to use mok_jk, but i must to change to mod_jk2 and
i don'tknow .how to make this.

for configuring to use the mod jk i configure


JkWorkersFile /opt/jakarta/tomcat/conf/workers.properties
JkLogFile /opt/jakarta/tomcat/logs/mod_jk.log
JkLogLevel error
JKMount /*.jsp ajp13


ad i have one w workers.properties file

but this configuration with mod_jk2 doesn't run.

Can anybody helps me for using the mod_jk2 with tomcat 4.1.29 and apache 2
in one linux SO?


can anybody helps me or send one samle configuration?

Thanks

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



configuring new context

2003-11-06 Thread Dionisio Ruiz de Zarate
Hello i am trying to cofiguring one new context using tomcat for this
pourpose i make this:










but when in my browser i put the url: http://localhost:8080/webos the
tomcat says me:
HTTP Status 404 - /webos



type Status report

message /webos

description The requested resource (/webos) is not available.




Apache Tomcat/4.1.29

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



problem in widows with tomcat 4.1.27 -29

2003-11-03 Thread Dionisio Ruiz de Zarate
I am trying for runningtomcatinmy windows 2003 server and into one
XP(spanish version).
when i tryto load the adminpage http://localhost:8080/admin/login.jsp
appears this error:

how can i solve this?
the jvm isthe 1.4.2_02 form windows
thanks


ERROR:
HTTP Status 500 -



type Exception report

message

description The server encountered an internal error () that prevented it
from fulfilling this request.

exception

org.apache.jasper.JasperException: Malformed \u encoding.
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:553)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:193)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
at java.lang.Thread.run(Thread.java:534)


root cause

java.lang.IllegalArgumentException: Malformed \u encoding.
at java.util.Properties.loadConvert(Properties.java:387)
at java.util.Properties.load(Properties.java:336)
at
org.apache.struts.util.PropertyMessageResources.loadLocale(PropertyMessageResources.java:300)
at
org.apache.struts.util.PropertyMessageResources.getMessage(PropertyMessageResources.java:192)
at
org.apache.struts.util.MessageResources.getMessage(MessageResources.java:339)
at org.apache.struts.util.RequestUtils.message(RequestUtils.java:1051)
at org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:294)
at org.apache.jsp.login_jsp._jspx_meth_bean_message_0(login_jsp.java:206)
at org.apache.jsp.login_jsp._jspService(login_jsp.java:85)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java

ERROR using the tomcat db connection pool against one SQL SERVER 200 database. Please help me

2003-10-30 Thread Dionisio Ruiz de Zarate
Hello i am trying for using the Tomcat database conecition pool (dbcp)
against one SQL SERVER 2000 but i cannot connect always appears this error:
DBCP borrowObject failed: java.sql.SQLException: [Microsoft][SQLServer 2000
Driver for JDBC]Unable to connect.  Invalid URL.
org.apache.commons.dbcp.DbcpException
: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Unable
to connect.  Invalid URL

in the server.xml i have:




factory
org.apache.commons.dbcp.BasicDataSourceFactory


driverClassName
com.microsoft.jdbc.sqlserver.SQLServerDriver


url
jdbc:microsoft:sqlserver://192.168.0.12:1433/Northwind


username
sa


password
sa

but i cannot connect, the error appears when i make:
conn=ds.getConnection();

can anybody helps me?
this question is very important for my job.
Please help me.

Thanks



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



AXIS

2003-09-23 Thread Dionisio Ruiz de Zarate
What is AXIS?
thanks


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



error configuring tomcat

2003-09-23 Thread Dionisio Ruiz de Zarate
Hello.
i want to configure intomcat one new context
(http://localhost/myNewContext/ )
I have the new structure:

$home
|--webapps
  |--ROOT
  | |..
  |--myNewcontext

and in the conf file i put:



but it doesn't run well
can you help me for configure one new context?
thanks



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



error when starting tomcat

2003-09-16 Thread Dionisio Ruiz de Zarate
Hello.
in my linux i start the tomcat and appears this error:
can anybody helps me for solving it?
thnaks


Sep 16, 2003 1:07:14 PM org.apache.struts.util.PropertyMessageResources

INFO: Initializing, config='org.apache.struts.util.LocalStrings',
returnNull=true
Sep 16, 2003 1:07:14 PM org.apache.struts.util.PropertyMessageResources

INFO: Initializing, config='org.apache.struts.action.ActionResources',
returnNull=true
Sep 16, 2003 1:07:15 PM org.apache.struts.util.PropertyMessageResources

INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources',
returnNull=true
Sep 16, 2003 1:07:18 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Sep 16, 2003 1:07:18 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=4/38
config=/opt/jakarta/tomcat/conf/jk2.properties



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



8080

2003-08-21 Thread Dionisio Ruiz de Zarate
anybody can says me what must i to dellete (or comment) into the server.xml
file for not respond the tomcat into the 8080 port?
thanks



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



Re: Front Controller Servlet

2003-08-09 Thread Dionisio Ruiz de Zarate
and whoy don't use one filter?
i am usin one filter; in my web.xml i have mapped all my jsp pages (*.jsp)
to this filter, an the filter actions are made first and in the second fase
the systems shows me the jsp page
- Original Message - 
From: <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, August 06, 2003 12:59 AM
Subject: Re: Front Controller Servlet


> The reason it is crashing is because you are forwarding to a JSP page,
> however you have already taken over jsp processing in your servlet by
> declaring that it should handle *.jsp, thus it forwards in a circle until
> it runs out of stack space.
> Try using another extension for your controller, such as .ktx as we use in
> ours.  This can then forward sucessfully to jsps!
>
> Should be:
> 
>   FCservlet
>   *.ktx
> 
>
> Then your links can be to index.ktx instead and it will got through ok.
> Pete
>
> Kiss Technologies
>
> http://www.kisstechnologies.co.uk/
>
> 4, Percy Street
> London
> W1T 1DF
>
> Phone numbers:
>
> Phone 020 7692 9922
> Fax 020 7692 9923
>
>
>
>
> "Sharon Cohen" <[EMAIL PROTECTED]>
> 05/08/2003 13:42
> Please respond to "Tomcat Users List"
>
> To: <[EMAIL PROTECTED]>
> cc:
> Subject:Front Controller  Servlet
>
>
> I am trying to build FrontController servlet for a web site on Tomcat 4 ,
> after long time of changes on the web.xml file , I wasn't able to achieve
> this pattern,
> the web.xml portion is :
>
> 
>   FCservlet
>   *.jsp
> 
>
> my problem start when the FrontController servlet needs to forward the
> request to other jsp pages
> and when he uses the Forward method , the tomcat activate my
> FrontController
> again , and after a  while  I get : StackOverflowError .
>
> Thanks for any help
> Sharon
>
> -
> 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]



logs of tomcat

2003-07-23 Thread Dionisio Ruiz de Zarate
Hello.
In my tomcat log file (mod_jk.og) appears a lot of lines as the next line:
[Wed Jul 23 23:20:58 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/graphics/image.gif'

my tomcat logs the all of my images. how can i say to the tomcat to not log,
and not process the images (gif.¡,jpg...) or toher files

thanks



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



building connector (4.1.24) error

2003-06-24 Thread Dionisio Ruiz de Zarate
Hello. i have one great problem, i am trying, during four days, for solving
it and i dont solve.
i have one SuSE linux 8.2. Apache 2.0.46, sun jdk 1.4.1
i have download the tomcat 4.1.24 and the connectors.
i am trying to build the connector for using the tomcat and apache.
but when i run the make command (previous i have run the buildconf.sh,
./configure --with-apxs=/usr/&sbn/apxs2) appears this error:
BUG -I /usr/lib/java/include -I /usr/lib/java/include/ -c jk_context.c -o
jk_context.o >/dev/null 2>&1
mv -f .libs/jk_context.lo jk_context.lo
make[1]: Leaving directory
`/root/jakarta-tomcat-connectors-4.1.24-src/jk/native/common'
Making all in apache-2.0
make[1]: Entering directory
`/root/jakarta-tomcat-connectors-4.1.24-src/jk/native/apache-2.0'
Makefile:21: /srv/www/build/config_vars.mk: No such file or directory
make[1]: *** No rule to make target `/srv/www/build/config_vars.mk'.  Stop.
make[1]: Leaving directory
`/root/jakarta-tomcat-connectors-4.1.24-src/jk/native/apache-2.0'
make: *** [all-recursive] Error 1


can you help me for solvig the problem?

must ti to install some extra package, linux package, for making the
connector.
please help me.

thanks



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



Re: great problem with dbcp conn pool

2003-03-12 Thread Dionisio Ruiz de Zarate
what must i to put?
reconnect or Reconnect o reconect or reconnect?

can you help me?
thanks
- Original Message -
From: "Gerlinde Fischer" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, March 12, 2003 2:22 PM
Subject: AW: great problem with dbcp conn pool


> hi,
> in your orginial server.xml,
> is there also "reconect" instead of "reconnect".
>
> Regards Gerlinde
>
> > -Ursprüngliche Nachricht-
> > Von: Dionisio Ruiz de Zarate [mailto:[EMAIL PROTECTED]
> > Gesendet: Mittwoch, 12. März 2003 14:10
> > An: [EMAIL PROTECTED]
> > Betreff: great problem with dbcp conn pool
> >
> >
> > hello y ahave the next conf in my server.xml file but appears the bellow
> > error, not always, only if i not acess to the page in several hours.
> > can you help me?
> > thanks
> >
> > CONF (server.xml):
> >  > type="javax.sql.DataSource"/>
> > 
> > 
> > factory
> >
> > org.apache.commons.dbcp.BasicDataSourceFactory
> > 
> > 
> > maxActive
> > 100
> > 
> > 
> > maxIdle
> > 30
> > 
> > 
> > maxWait
> > -1
> > 
> > 
> > username
> > user
> > 
> > 
> > password
> > passwd
> > 
> > 
> > driverClassName
> > com.mysql.jdbc.Driver
> > 
> > 
> > url
> >
> > jdbc:mysql://127.0.0.1:3306/otrosservicios?autoReconect=tru
> > e
> > 
> > 
> > removeAbandoned
> > true
> > 
> > 
> > removeAbandonedTimeout
> > 120
> > 
> > 
> > logAbandoned
> > true
> > 
> > 
> >
> >
> >
> >
> > ERROR:
> > org.apache.jasper.JasperException: Communication link failure:
> > java.net.SocketException
> > at
> > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrap
> > per.java:2
> > 48)
> > at
> > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
> > at
> > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > at
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(A
> > pplication
> > FilterChain.java:247)
> > at
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(Applicati
> > onFilterCh
> > ain.java:193)
> > at utils.filtroSessiones.doFilter(filtroSessiones.java:141)
> > at
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(A
> > pplication
> > FilterChain.java:213)
> > at
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(Applicati
> > onFilterCh
> > ain.java:193)
> > at
> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapp
> > erValve.ja
> > va:260)
> > at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValveCon
> > text.invok
> > eNext(StandardPipeline.java:643)
> > at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.
> > java:480)
> > at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > at
> > org.apache.catalina.core.StandardContextValve.invoke(StandardConte
> > xtValve.ja
> > va:191)
> > at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValveCon
> > text.invok
> > eNext(StandardPipeline.java:643)
> > at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.
> > java:480)
> > at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > at
> >
or

great problem with dbcp conn pool

2003-03-12 Thread Dionisio Ruiz de Zarate
hello y ahave the next conf in my server.xml file but appears the bellow
error, not always, only if i not acess to the page in several hours.
can you help me?
thanks

CONF (server.xml):



factory

org.apache.commons.dbcp.BasicDataSourceFactory


maxActive
100


maxIdle
30


maxWait
-1


username
user


password
passwd


driverClassName
com.mysql.jdbc.Driver


url

jdbc:mysql://127.0.0.1:3306/otrosservicios?autoReconect=true


removeAbandoned
true


removeAbandonedTimeout
120


logAbandoned
true






ERROR:
org.apache.jasper.JasperException: Communication link failure:
java.net.SocketException
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
48)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at utils.filtroSessiones.doFilter(filtroSessiones.java:141)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:213)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:260)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:261)
at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:360)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:632)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:590)
at
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:707)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:530)
at java.lang.Thread.run(Thread.java:536)



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Fo

manual for using connection pooling

2003-02-26 Thread Dionisio Ruiz de Zarate
can anybody says me where is, in the web, the manual for using the tomcat
connection pooling with mysql?
thanks



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



running tomcat + apache and the system shows me the xml file. bur or bad configuration?

2003-02-01 Thread Dionisio Ruiz de Zarate
I have one application running in tomcat 4.1.18 and apache.
if i have writte in the browser (explorer):
http://www.domain.com/WEB-INF/web.xml
the system shows me the file.
This is one great security problem.
How can i deny this?
i the appache conf file i have:

Options -Indexes
AllowOverride None
Order deny,allow
Deny from all


Please help me


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




configuring two servlets into my application

2003-01-07 Thread Dionisio Ruiz de Zarate
i am tryin of configuring two test servlets in mytomcat application but when
i try to declare them into the web.xml appears error:
This file is not valid.
unexpected child element 'servlet'

the configuration is:

HelloWorld
HelloWorld


HelloWorld
HelloWorld


HolasAlMundo
HolasAlMundo


HolasAlMundo
HolasAlMundo




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




error(?) int he catalina.out

2002-12-21 Thread Dionisio Ruiz de Zarate
in the catalina.out file appears this (bellow). Is this one error? what is?
thanks

#logs:
21-dic-2002 17:05:44 org.apache.jk.common.ChannelSocket processConnection
INFO: connection timeout reached
21-dic-2002 16:56:10 org.apache.jk.common.ChannelSocket processConnection
INFO: server has been restarted or reset this connection
21-dic-2002 16:56:12 org.apache.jk.common.ChannelSocket processConnection
INFO: server has been restarted or reset this connection



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




error in DBCP

2002-12-20 Thread Dionisio Ruiz de Zarate
when i try to use the DBCP pool i recibed this error:
javax.naming.NameNotFoundException: Name jdbc is not bound in this Context

bellow i put my configuration.
Can anybody help me?
thanks


The server.xml:
  



  
 
 
  
  factory
  org.apache.commons.dbcp.BasicDataSourceFactory
  
  
  driverClassName
  org.postgresql://127.0.0.1:5432/DB
  
  
  username
  user
  
  
  password
  passwd
  
  
  maxActive
  20
  
  
  maxIdle
  10
  
  
  maxWait
  -1
  
 
   
  

the web.xml:


 Datasource Postgres ejemplo
 jdbc/domain
 javax.sql.DataSource
 Container






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




using the DBCP with postgresql

2002-12-20 Thread Dionisio Ruiz de Zarate
with the howto
(http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-ho
wto.html#Database%20Connection%20Pool%20(DBCP)%20Configurations) I have
configure tomcat for using the DBCP.
but now i must to use the DBCP from one class.

Can anybody send me one sample or say me how can i use?
i am trying to use this:

try{
Context initContext = new InitialContext();
if(initContext==null) throw new Exception("BM  no hay
context.");
}catch(Exception e){
System.out.println("la excepcion en el context ini: ... " + e);
}
DataSource ds = (DataSource)initContext.lookup("jdbc/irudia");
conn=ds.getConnection();

but appears this error:

utils/bd/irudia/IrudiaAccionesSQLPOOL.java [65:1] cannot resolve symbol
symbol  : class DataSource
location: class utils.bd.irudia.IrudiaAccionesSQLPOOL
DataSource ds = (DataSource)initContext.lookup("jdbc/irudia");
^
utils/bd/irudia/IrudiaAccionesSQLPOOL.java [65:1] cannot resolve symbol
symbol  : class DataSource
location: class utils.bd.irudia.IrudiaAccionesSQLPOOL
DataSource ds = (DataSource)initContext.lookup("jdbc/irudia");
 ^
utils/bd/irudia/IrudiaAccionesSQLPOOL.java [65:1] cannot resolve symbol
symbol  : variable initContext
location: class utils.bd.irudia.IrudiaAccionesSQLPOOL
DataSource ds = (DataSource)initContext.lookup("jdbc/irudia");



Can anybody help me for using the DBCP?
thanks



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




for using the jni in tomcat ..... where put the files and which files

2002-12-20 Thread Dionisio Ruiz de Zarate
i have compile, in my linux for tomcat 4.1.18 the mod_jk with -enable-jni.
where must I to copy the result file? the jk_jnicb.so? any more file must I
to copy to other localization?
if i copy the files, must i make more for enabling jni?
for using jni where and which files must i to copy from the compilation
results?

thanks



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




BDCP to postgres confgiuration

2002-12-20 Thread Dionisio Ruiz de Zarate
Anybody knows if there is one howto or faq o documentation for configuring
DBCP with postgresql, in tomcat?
how i must to configure the server.xml and web.xml files, and if there are
other configurations.

thanks



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




logs in catalina

2002-12-19 Thread Dionisio Ruiz de Zarate
in the catalina.out i see this:

20-dic-2002 0:21:35 org.apache.jk.common.ChannelSocket processConnection
INFO: connection timeout reached

what is this? is normal?
what means?

thanks


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




-enable-jni, where is mus to copy files? help please, URGENT

2002-12-19 Thread Dionisio Ruiz de Zarate
i have compile mod_jk with -enable-jni in tomcat 4.1.18.
where i must to copy the result file? the jk_jnicb.so? any more file i must
to co`py to other localization?
if i copy the files, must i make more for enabling jni?
thanks



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




erro page a get the error

2002-12-19 Thread Dionisio Ruiz de Zarate
in one jsp page (error.jsp), the error page, i have:

<%@ page contentType="text/html; charset=iso-8859-1" language="java"
isErrorPage="true" %>

<%=exception.getMessage() %>


and in the web.xml i have:

500
/error.jsp


404
/error.jsp


but it doesn't run well, show me the tomcat standar error page, and not
this, if the error code is 500 but if the error code is 404 show me one page
in white.

can anybody help me to oad my error default pages?
thanks



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




obtaining mod_jk

2002-12-18 Thread Dionisio Ruiz de Zarate
can anybody says me where is the howto for compiling and obtainin the mod_jk
or the mod_jk2?
thanks



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




one doubt (mod_jk or mod_jk2)

2002-12-18 Thread Dionisio Ruiz de Zarate
i am thinking to update to tomcat 4.1.17.
i am using tomcat with apache 1.3.XX in one linux machine.
can anybody says me what is better for use? mod_jk or mod_jk2?
thanks


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




tomcat 4.1.12 configuration

2002-12-17 Thread Dionisio Ruiz de Zarate
Hello. I want to configure in my machine several virtual hosts and i am
reading the docs but i don't know if my configuretion is rigth or not.
Can anybody says me?
my configuration for one virtual host is:






i have several doubts:
is correct the app path tu put in the Host appBase and not in the Context
line?

if my configuration is not correct please can you help me to put it in
correct mode?
thanks



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




get the real path from one filter.

2002-12-16 Thread Dionisio Ruiz de Zarate
Hello i am using tomcat 4.1.12
i have write one filter and in this filter i want to load the real path from
the application.
i have several virtual domains and each virtual domain has one different
real path (obviously)
i the filter i am using:
String whereIs = this.getServletContext().getRealPath("/");
tha produces this error:
utils/filtroSessiones.java [50:1] cannot resolve symbol
symbol  : method getServletContext  ()
location: class utils.filtroSessiones
String whereIs = this.getServletContext().getRealPath("/");
 ^
1 error

also i am using:
String rutaDisco = ((HttpServletRequest)request).getRealPath("/");
but is deprecated and for this reason i use:
String rutaDisco = ((ServletContext)request).getRealPath("/");
but appears one error (bellow) when i try to load one jsp page
the filter is configured in the web.xml.
in the server.xml this is the configuration, for the virtual host:






Question:
how can i load the realpath in the filter? thanks


ERROR:

HTTP Status 500 -




type Exception report

message

description The server encountered an internal error () that prevented it
from fulfilling this request.

exception

java.lang.ClassCastException
at utils.filtroSessiones.doBeforeProcessing(filtroSessiones.java:49)
at utils.filtroSessiones.doFilter(filtroSessiones.java:135)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:213)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:260)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:256)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:361)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:563)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:535)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:638)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:533)
at java.lang.Thread.run(Thread.java:536)





Apache Tomcat/4.1.12



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




Re: error in one servlet with the

2002-12-16 Thread Dionisio Ruiz de Zarate
i am trying to load, to get , the real path in the disk (/home/user/)
i y make: String whereIs = getServletContext().getRealPath("/");

appears this error:
 utils/filtroSessiones.java [50:1] cannot resolve symbol
symbol  : method getServletContext  ()
location: class utils.filtroSessiones
String whereIs=getServletContext().getRealPath("/");
^
1 error

Can you help me?
thanks


- Original Message -
From: "Shapira, Yoav" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Monday, December 16, 2002 3:05 PM
Subject: RE: error in one servlet with the


Howdy,

>i i write in one servlet this:
>String whereIs = ((ServletContext)request).getRealPath("/");
>in tomcat appears this error, can any body help me? Thanks

What are you trying to do? ;)

A request is not a context.  So what you're doing is an invalid cast and
the JVM correctly throws an exception at runtime.

Assuming the above code is in a servlet, you can just do:
String whereIs = getServletContext().getRealPath("/");
To get the "real" (file) path to the docBase of your webapp.  As the
code suggests, this path is request-independent.

Note that this wouldn't work if you're running from a packed .war
archive.

Yoav Shapira
Millennium ChemInformatics

--
To unsubscribe, e-mail:

For additional commands, e-mail:





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




error in one servlet with the

2002-12-16 Thread Dionisio Ruiz de Zarate
i i write in one servlet this:
String whereIs = ((ServletContext)request).getRealPath("/");
in tomcat appears this error, can any body help me? thanks

ERROR:

type Exception report
message

description The server encountered an internal error () that prevented it
from fulfilling this request.

exception

java.lang.ClassCastException
at utils.filtroSessiones.doBeforeProcessing(filtroSessiones.java:49)
at utils.filtroSessiones.doFilter(filtroSessiones.java:135)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:213)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:260)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:256)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:361)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:563)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:535)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:638)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:533)
at java.lang.Thread.run(Thread.java:536)





Apache Tomcat/4.1.12



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




error when start tomcat if in the web.xml is the error-page directive

2002-12-13 Thread Dionisio Ruiz de Zarate
if in my web.xml i have this:

404
/error.jsp


the tomcat starts well but appears the next error. Can you help me to resolv
it? thanks.

ERROR:
13-dic-2002 13:19:14 org.apache.commons.digester.Digester error
GRAVE: Parse Error at line 723 column 11: The content of element type
"web-app" must match
"(icon?,display-name?,description?,distributable?,context-param*,filter*,fil
ter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mappin
g*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,se
curity-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-loca
l-ref*)".
org.xml.sax.SAXParseException: The content of element type "web-app" must
match
"(icon?,display-name?,description?,distributable?,context-param*,filter*,fil
ter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mappin
g*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,se
curity-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-loca
l-ref*)".
at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(ErrorHand
lerWrapper.java:232)
at
org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:17
3)
at
org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:36
2)
at
org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:29
6)
at
org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.
java:1953)
at
org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:8
78)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.handleEndElement(XMLDo
cumentFragmentScannerImpl.java:1144)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocu
mentFragmentScannerImpl.java:987)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.dispatch(XMLDocumentFragmentScannerImpl.java:1445)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocume
ntFragmentScannerImpl.java:333)
at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:524)
at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:580)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:116
9)
at org.apache.commons.digester.Digester.parse(Digester.java:1495)
at
org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfig.ja
va:282)
at
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:639)
at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:
243)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:166)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3493)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at
org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
at
org.apache.catalina.core.StandardService.start(StandardService.java:497)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
at org.apache.catalina.startup.Catalina.start(Catalina.java:510)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
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(Bootstrap.java:203)
13-dic-2002 13:19:15 org.apache.jk.common.ChannelSocket init



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




connection pool to postgresql

2002-12-06 Thread Dionisio Ruiz de Zarate
Hello can anybody help me to configure one connection pool to postgresql
from tomcat?
and how can i use fron one java class?
thanks



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




Re: tomcat doesn´t show latin characters when i start the system

2002-12-06 Thread Dionisio Ruiz de Zarate
ok thanks that is the solution:
export LANG=es_ES@euro in the tomcat start script.
Thanks

- Original Message -
From: "Jean-Francois Mach" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, December 06, 2002 1:30 PM
Subject: RE: tomcat doesn´t show latin characters when i start the system


>
> It depends how you start tomcat when you boot the system. Usually it is a
> script in :
> /etc/rc.d/init.d
> or
> /etc/init.d
>
> Just add
> export LANG=XXX
> at the beginning of the script, where XXX is the value of LANG in your
> shell;
>
>
> If you stop/start it from a crontab on a regular basis (daily or weekly,
> which is usually good practice), just add
> LANG=XXX
> at the top of your crontab file (man 5 crontab if you don't know how it
> works)
>
> > -Message d'origine-
> > De : Dionisio Ruiz de Zarate [mailto:[EMAIL PROTECTED]]
> > Envoyé : vendredi 6 décembre 2002 12:45
> > À : Tomcat Users List
> > Objet : Re: tomcat doesn´t show latin characters when i start the system
> >
> >
> > can you say me how and in which file can i make it?
> > thanks for your answer
> >
> >
> > - Original Message -
> > From: "Jean-Francois Mach" <[EMAIL PROTECTED]>
> > To: "Tomcat Users List" <[EMAIL PROTECTED]>
> > Sent: Friday, December 06, 2002 12:19 PM
> > Subject: RE: tomcat doesn´t show latin characters when i start the
system
> >
> >
> > >
> > > Sounds like an environment problem. You might want to check the LANG
> > > environment variable. Usually when you start the program
> > manually, LANG is
> > > set in your shell, but not when you start it from cron or when
> > your server
> > > boots up (I had a similar problem and setting LANG solved the
problem).
> > Try
> > > to add it to your crontab/export it in your startup script.
> > >
> > > Regards,
> > >
> > >
> > > - Jeff
> > >
> > >
> > > > -Message d'origine-
> > > > De : Dionisio Ruiz de Zarate [mailto:[EMAIL PROTECTED]]
> > > > Envoyé : vendredi 6 décembre 2002 12:05
> > > > À : [EMAIL PROTECTED]
> > > > Objet : tomcat doesn´t show latin characters when i start the system
> > > >
> > > >
> > > > When i start my linux tomcat doesn'y show latin characters (ó, á,
> > > > í ...) if
> > > > i restart the tomcat service (rctomcat restart) the tomcat shows
> > > > me well all
> > > > characters.
> > > > Can anybody says me how can i solve this great, for me, problem?
> > > > i am using one SuSE 8.1 linux machine, jdk 1.4.1 and tomcat 4.1.12
> > > >
> > > > 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]>
> > >
> > >
> > >
> >
> >
> >
> > --
> > 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]>




Re: tomcat doesn´t show latin characters when i start the system

2002-12-06 Thread Dionisio Ruiz de Zarate
can you say me how and in which file can i make it?
thanks for your answer


- Original Message -
From: "Jean-Francois Mach" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, December 06, 2002 12:19 PM
Subject: RE: tomcat doesn´t show latin characters when i start the system


>
> Sounds like an environment problem. You might want to check the LANG
> environment variable. Usually when you start the program manually, LANG is
> set in your shell, but not when you start it from cron or when your server
> boots up (I had a similar problem and setting LANG solved the problem).
Try
> to add it to your crontab/export it in your startup script.
>
> Regards,
>
>
> - Jeff
>
>
> > -Message d'origine-
> > De : Dionisio Ruiz de Zarate [mailto:[EMAIL PROTECTED]]
> > Envoyé : vendredi 6 décembre 2002 12:05
> > À : [EMAIL PROTECTED]
> > Objet : tomcat doesn´t show latin characters when i start the system
> >
> >
> > When i start my linux tomcat doesn'y show latin characters (ó, á,
> > í ...) if
> > i restart the tomcat service (rctomcat restart) the tomcat shows
> > me well all
> > characters.
> > Can anybody says me how can i solve this great, for me, problem?
> > i am using one SuSE 8.1 linux machine, jdk 1.4.1 and tomcat 4.1.12
> >
> > 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]>
>
>
>



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




tomcat doesn´t show latin characters when i start the system

2002-12-06 Thread Dionisio Ruiz de Zarate
When i start my linux tomcat doesn'y show latin characters (ó, á, í ...) if
i restart the tomcat service (rctomcat restart) the tomcat shows me well all
characters.
Can anybody says me how can i solve this great, for me, problem?
i am using one SuSE 8.1 linux machine, jdk 1.4.1 and tomcat 4.1.12

thanks



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




tomcat linux (SuSE) and latin characters

2002-11-29 Thread Dionisio Ruiz de Zarate
When i start my linux machine the tomcat show me (the jsp pages) some
characters bad:
ó -->?
some latin characters (ISO-8859-1) show me in the jsp pages as "?"
but if i restart the tomcat shows me well.
what can be the problem? and the solution?
thanks



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




bug in tomcat converting xml using xslt?

2002-11-28 Thread Dionisio Ruiz de Zarate
Hello from the
http://java.sun.com/xml/jaxp/dist/1.1/docs/tutorial/xslt/work/Stylizer.java
i have load one classe and i have transform it (i attach the classe).
this class run welss on RESIN , this class transform one XML using one XSLT
tempalte and produces HTML.
for using i make this:


and where i whant to show the XML transform i writte this:
<%
//esta String (kk) hay el resultado de una consulta a una bd que me lo mete
en formato xml, bien fomado y validado.
String kk = maquinas.selectTodasMaquinas("0", "0", 1,0);
//la xslt
String xslStyleSheet = application.getRealPath("HomeMaquinas.xslt");
//la transformacion
   transformamaquinas.Transforma(kk, xslStyleSheet, response);
   %>


this in resin works well but in tomcat 4.1.12 show the bellow error. Can you
help me? thanks

ERROR:

2002-11-28 00:10:52 StandardWrapper[:invoker]: Loading container servlet
invoker
2002-11-28 00:10:52 HostConfig[pruebas.irudia.com]: Deploying configuration
descriptor xml.xml
2002-11-28 00:11:20 StandardWrapperValve[jsp]: Servlet.service() for servlet
jsp threw exception
org.apache.jasper.JasperException: getWriter() has already been called for
this response
 at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
48)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:260)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
 at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
 at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:256)
 at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:361)
 at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:563)
 at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:535)
 at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:638)
 at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:533)
 at java.lang.Thread.run(Thread.java:536)
- Root Cause -
java.lang.IllegalStateException: getWriter() has already been called for
this response
 at
org.apache.coyote.tomcat4.CoyoteResponse.getOutputStream(CoyoteResponse.java
:585)
 at
org.apache.coyote.tomcat4.CoyoteResponseFacade.getOutputStream(CoyoteRespons
eFacade.java:158)
 at utils.formateo.Stylizerf.toHTML(Stylizerf.java:35)
 at org.apache.jsp.index_jsp._jspService(index_jsp.java:285)
 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:136)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
04)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
org.apache.

a great problem (BUG?) transforming xml to html across xslt. With the java file

2002-11-28 Thread Dionisio Ruiz de Zarate
Hello from the
http://java.sun.com/xml/jaxp/dist/1.1/docs/tutorial/xslt/work/Stylizer.java
i have load one classe and i have transform it (i attach the classe).
this class run welss on RESIN , this class transform one XML using one XSLT
tempalte and produces HTML.
for using i make this:


and where i whant to show the XML transform i writte this:
<%
//esta String (kk) hay el resultado de una consulta a una bd que me lo mete
en formato xml, bien fomado y validado.
String kk = maquinas.selectTodasMaquinas("0", "0", 1,0);
//la xslt
String xslStyleSheet = application.getRealPath("HomeMaquinas.xslt");
//la transformacion
   transformamaquinas.Transforma(kk, xslStyleSheet, response);
   %>


this in resin works well but in tomcat 4.1.12 show the bellow error. Can you
help me? thanks

ERROR:

2002-11-28 00:10:52 StandardWrapper[:invoker]: Loading container servlet
invoker
2002-11-28 00:10:52 HostConfig[pruebas.irudia.com]: Deploying configuration
descriptor xml.xml
2002-11-28 00:11:20 StandardWrapperValve[jsp]: Servlet.service() for servlet
jsp threw exception
org.apache.jasper.JasperException: getWriter() has already been called for
this response
 at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
48)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:260)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
 at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
 at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:256)
 at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:361)
 at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:563)
 at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:535)
 at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:638)
 at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:533)
 at java.lang.Thread.run(Thread.java:536)
- Root Cause -
java.lang.IllegalStateException: getWriter() has already been called for
this response
 at
org.apache.coyote.tomcat4.CoyoteResponse.getOutputStream(CoyoteResponse.java
:585)
 at
org.apache.coyote.tomcat4.CoyoteResponseFacade.getOutputStream(CoyoteRespons
eFacade.java:158)
 at utils.formateo.Stylizerf.toHTML(Stylizerf.java:35)
 at org.apache.jsp.index_jsp._jspService(index_jsp.java:285)
 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:136)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
04)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
org.apache.

a great problem (BUG?) transforming xml to html across xslt

2002-11-28 Thread Dionisio Ruiz de Zarate
Hello from the
http://java.sun.com/xml/jaxp/dist/1.1/docs/tutorial/xslt/work/Stylizer.java
i have load one classe and i have transform it (i attach the classe).
this class run welss on RESIN , this class transform one XML using one XSLT
tempalte and produces HTML.
for using i make this:


and where i whant to show the XML transform i writte this:
<%
//esta String (kk) hay el resultado de una consulta a una bd que me lo mete
en formato xml, bien fomado y validado.
String kk = maquinas.selectTodasMaquinas("0", "0", 1,0);
//la xslt
String xslStyleSheet = application.getRealPath("HomeMaquinas.xslt");
//la transformacion
   transformamaquinas.Transforma(kk, xslStyleSheet, response);
   %>


this in resin works well but in tomcat 4.1.12 show the bellow error. Can you
help me? thanks

ERROR:

2002-11-28 00:10:52 StandardWrapper[:invoker]: Loading container servlet
invoker
2002-11-28 00:10:52 HostConfig[pruebas.irudia.com]: Deploying configuration
descriptor xml.xml
2002-11-28 00:11:20 StandardWrapperValve[jsp]: Servlet.service() for servlet
jsp threw exception
org.apache.jasper.JasperException: getWriter() has already been called for
this response
 at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
48)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:260)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
 at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
 at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:256)
 at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:361)
 at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:563)
 at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:535)
 at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:638)
 at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:533)
 at java.lang.Thread.run(Thread.java:536)
- Root Cause -
java.lang.IllegalStateException: getWriter() has already been called for
this response
 at
org.apache.coyote.tomcat4.CoyoteResponse.getOutputStream(CoyoteResponse.java
:585)
 at
org.apache.coyote.tomcat4.CoyoteResponseFacade.getOutputStream(CoyoteRespons
eFacade.java:158)
 at utils.formateo.Stylizerf.toHTML(Stylizerf.java:35)
 at org.apache.jsp.index_jsp._jspService(index_jsp.java:285)
 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:136)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
04)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
org.apache.

errors pages in tomcat 4.1.12

2002-11-23 Thread Dionisio Ruiz de Zarate
Hello i want to make my own error pages for the common errorsa (500, 550,
404, 413 ...)
how and where can i configure in tomcat this?
thanks



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




hacer un filtro (creo)

2002-11-19 Thread Dionisio Ruiz de Zarate
Os cuento.
he hecho una aplicacion java que me cuenta las visitas a una pagina,
seguro que para la mayoria de vostros una cosa muy sencilla.
Pero mi problema es que en todas las paginas tengo que poner una llamada a
esta clase para poder contar.
Ultimamente he leido que hay filtros que filtran todas las llamadas, por
ejemplo a las JSPs.
Sepodría hacer un filtro al que le incorporara las funciones que tengo en
esta clase para contar y me cuente todas las paginas JSP sin tener que
insertar en las paginas, en todas una llamada?

Se como se configura en el web.xml la llamada al filtro, lo he leido al
menos, pero no se como puedo hacer un filtro.
Me poodríais pasaar algun ejemplo minimo que podría usar o ayudar ha hacer
un filtro que me filtre todas?
os agradecería la ayuda.
Un saludo




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




the tomcat versions

2002-11-18 Thread Dionisio Ruiz de Zarate
why in the tomcat page there are some versions (stables)?
why the development groups are development two version (4.0.x, 4.1.x)?
why?
which is the diference?
thanks



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




Re: building the mod_jk2 in one linux SuSE 8.1

2002-11-16 Thread Dionisio Ruiz de Zarate
how can i build the mod_jk2?
what i ust to download?
thanks

- Original Message -
From: "mlh" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Saturday, November 16, 2002 1:46 PM
Subject: Re: building the mod_jk2 in one linux SuSE 8.1


> Dionisio Ruiz de Zarate wrote:
> > i have build it (i think it) and i see in my line one file with the name
:
> > mo_jk.so.0.0.0. is this the mod_jk.so file?
>
> yes
>
> > with is the version? mod_jk or mod_jk2?
>
> mod_jk
>
>
>
>
>
>
>
> --
> 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: building the mod_jk2 in one linux SuSE 8.1

2002-11-16 Thread Dionisio Ruiz de Zarate
i have build it (i think it) and i see in my line one file with the name :
mo_jk.so.0.0.0. is this the mod_jk.so file?
with is the version? mod_jk or mod_jk2?
thanks
- Original Message -
From: "Turner, John" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Friday, November 15, 2002 8:55 PM
Subject: RE: building the mod_jk2 in one linux SuSE 8.1


>
> native
>
> John
>
>
> > -Original Message-
> > From: Dionisio Ruiz de Zarate [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, November 15, 2002 2:42 PM
> > To: Tomcat Users List
> > Subject: Re: building the mod_jk2 in one linux SuSE 8.1
> >
> >
> > thanks for your answer.
> > but one question:
> > in the jakarta/jk directori i have native and native2 directories.
> > for one apache 1.3.26 and tomcat 4.1.12 which must i to use?
> >
> > thanks
> >
> > - Original Message -
> > From: "Turner, John" <[EMAIL PROTECTED]>
> > To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
> > Sent: Thursday, November 14, 2002 2:47 PM
> > Subject: RE: building the mod_jk2 in one linux SuSE 8.1
> >
> >
> > >
> > > You need to install automake and autoconf.  binutils would
> > be a good idea,
> > > as well.
> > >
> > > Get them here:
> > >
> > > http://www.gnu.org/directory/ or wherever SuSE users get packages.
> > >
> > > John
> > >
> > >
> > > > -Original Message-
> > > > From: Dionisio Ruiz de Zarate [mailto:[EMAIL PROTECTED]]
> > > > Sent: Thursday, November 14, 2002 9:48 AM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: building the mod_jk2 in one linux SuSE 8.1
> > > >
> > > >
> > > > I am trying to build the mod_jk2 for the 4.1.12 version of
> > > > tomcat and when
> > > > i try to make the buildconf.sh command from the jk/native
> > directori
> > > > appears this error (bellow).
> > > >
> > > > Can you help me please?
> > > >
> > > > thanks
> > > >
> > > > # ./buildconf.sh
> > > > libtoolize --force --automake --copy
> > > > aclocal
> > > > ./buildconf.sh: line 8: aclocal: command not found
> > > > automake -a --foreign -i --copy
> > > > ./buildconf.sh: line 10: automake: command not found
> > > > autoconf
> > > > ./buildconf.sh: line 12: autoconf: command not found
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > 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]>
>
> --
> 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: building the mod_jk2 in one linux SuSE 8.1

2002-11-15 Thread Dionisio Ruiz de Zarate
thanks for your answer.
but one question:
in the jakarta/jk directori i have native and native2 directories.
for one apache 1.3.26 and tomcat 4.1.12 which must i to use?

thanks

- Original Message -
From: "Turner, John" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, November 14, 2002 2:47 PM
Subject: RE: building the mod_jk2 in one linux SuSE 8.1


>
> You need to install automake and autoconf.  binutils would be a good idea,
> as well.
>
> Get them here:
>
> http://www.gnu.org/directory/ or wherever SuSE users get packages.
>
> John
>
>
> > -Original Message-
> > From: Dionisio Ruiz de Zarate [mailto:dionisio@;tinieblas.com]
> > Sent: Thursday, November 14, 2002 9:48 AM
> > To: [EMAIL PROTECTED]
> > Subject: building the mod_jk2 in one linux SuSE 8.1
> >
> >
> > I am trying to build the mod_jk2 for the 4.1.12 version of
> > tomcat and when
> > i try to make the buildconf.sh command from the jk/native directori
> > appears this error (bellow).
> >
> > Can you help me please?
> >
> > thanks
> >
> > # ./buildconf.sh
> > libtoolize --force --automake --copy
> > aclocal
> > ./buildconf.sh: line 8: aclocal: command not found
> > automake -a --foreign -i --copy
> > ./buildconf.sh: line 10: automake: command not found
> > autoconf
> > ./buildconf.sh: line 12: autoconf: command not found
> >
> >
> >
> >
> > --
> > 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>
>
>



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




building the mod_jk2 in one linux SuSE 8.1

2002-11-14 Thread Dionisio Ruiz de Zarate
I am trying to build the mod_jk2 for the 4.1.12 version of tomcat and when
i try to make the buildconf.sh command from the jk/native directori
appears this error (bellow).

Can you help me please?

thanks

# ./buildconf.sh
libtoolize --force --automake --copy
aclocal
./buildconf.sh: line 8: aclocal: command not found
automake -a --foreign -i --copy
./buildconf.sh: line 10: automake: command not found
autoconf
./buildconf.sh: line 12: autoconf: command not found




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




mod_jk2 file

2002-10-27 Thread Dionisio Ruiz de Zarate
anybody can says me where can i find the mod_jk2.so file for  tomcat  4.1.12
in linux?
thanks



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




mod_webapp or mod:jk

2002-10-18 Thread Dionisio Ruiz de Zarate
Hello, can anybody says me , in the future, in the tomcat new versions, 
which will be the connector for apache and tomcat? the mod_webapp or
mod_jk?



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




Re: tomcat 4.1.12 with apache

2002-10-13 Thread Dionisio Ruiz de Zarate

the best for tomcat 4.1.12 is the mod_webapps
- Original Message -
From: "Sven Köhler" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, October 13, 2002 11:00 PM
Subject: tomcat 4.1.12 with apache


> hi,
>
> i want my apache to use tomcat to serve JSP-pages and Servlets.
> I googled and found mod_jserv, mod_jk and mod_webapp.
>
> I couldn't find out, which one to use with tomcat 4.0 because:
>mod_jserv is bad compared to mod_jk
>mod_jk is only bundled with tomcat 3.0
>
> What does that mean?
> Am i supposed to use mod_jk?
>
> mod_webapp was mentioned on some pages, but i didn't find any source or
> binary releases.
>
> Where's the page in the tomcat 4.x docs, that mentions hot to use tomcat
> with apache?
>
>
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>



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




webapss.so for tomcat 4.1.10

2002-09-07 Thread Dionisio Ruiz de Zarate

Hello.
can anybody says me where can i find the webapp.so file for linux for the
new tomcat 4.1.10 vesion?
or how can i generate?
thanks



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




Re: tomcat v. resin

2002-09-07 Thread Dionisio Ruiz de Zarate

i am usin tomcat and resin.
my opinion, only my opinion, is thar resins is faster and easy for configure
than tomcat. this with the old versions.
but i have see the tomcat 4.1.10 and tomcat is more fast.

but i can say that is, resin, more easy for configure.
Else i have see that there is some thigs, jsp pages, that runs well with
resin and whit tomcat not, tomcat produce exceptions, bugs?



- Original Message -
From: "neal" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Saturday, September 07, 2002 2:30 AM
Subject: tomcat v. resin


> Hey does anyone here have an opinion on Resin versus Tomcat?   I've heard
> that Resin is screaming fast but I never see anyone using it ... always
> Tomcat if they want something free.
>
> Thanks.
> Neal
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>



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




Error in tomcat but not in resin (caucho)

2002-09-06 Thread Dionisio Ruiz de Zarate

Why bellow code is error in tomcat?
this code runs well in resin.
there is any error?
thanks

code:


<%
response.setHeader("Cache-Control","no-cache");
response.setHeader("Pragma","no-cache");

String login= (String)session.getAttribute("login");
String usuario= (String)session.getAttribute("usuario");
if(usuario==null){usuario="";}
String passwd= (String)session.getAttribute("passwd");
if(passwd==null){passwd="";}
String nivelaccesoTmp= (String)session.getAttribute("nivelacceso");
int nivelacceso=Integer.parseInt(nivelaccesoTmp);

String nivelTmp= (String)session.getAttribute("nivel");
if(nivelTmp==null){nivelTmp="0";}
  if(Integer.parseInt(nivelTmp)< nivelacceso){
  String p=request.getParameter("pagina");
  String pp=request.getParameter("pagina");
  if(paginas==null){paginas="";}
   session.setAttribute("estado","0");
   session.setAttribute("nivel","0");
   session.setAttribute("error","3");
   session.setAttribute("login","0");
   response.sendRedirect("login.jsp?p="+pp + "&" +
request.getQueryString());
  }

if ((login==null)||(login.equals("0"))){
StringBuffer pagina=HttpUtils.getRequestURL(request);
String parametros = request.getQueryString();
response.sendRedirect ("login.jsp?p=" + p );
}

%>


ERROR:

Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error




type Exception report

message Internal Server Error

description The server encountered an internal error (Internal Server Error)
that prevented it from fulfilling this request.

exception

java.lang.IllegalStateException
at
org.apache.catalina.connector.HttpResponseFacade.sendRedirect(HttpResponseFa
cade.java:173)
at org.apache.jsp.index$jsp._jspService(index$jsp.java:1144)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:202)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
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.ja
va:201)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
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:2344)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
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
:163)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
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.warp.WarpRequestHandler.handle(WarpRequestHand
ler.java:217)
at
org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java:19
4)
at java.lang.Thread.run(Thread.java:484)





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




error

2002-09-06 Thread Dionisio Ruiz de Zarate

Anybody knows whoat is this error?:
Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error




type Exception report

message Internal Server Error

description The server encountered an internal error (Internal Server Error)
that prevented it from fulfilling this request.

exception

java.lang.IllegalStateException
at
org.apache.catalina.connector.HttpResponseFacade.sendRedirect(HttpResponseFa
cade.java:173)
at org.apache.jsp.index$jsp._jspService(index$jsp.java:3364)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:202)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
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.ja
va:201)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
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:2344)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
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
:163)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
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.warp.WarpRequestHandler.handle(WarpRequestHand
ler.java:217)
at
org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java:19
4)
at java.lang.Thread.run(Thread.java:484)













 MSN: [EMAIL PROTECTED]



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




Re: integeration of Apache with TOCAAT

2002-09-06 Thread Dionisio Ruiz de Zarate

the normal isntalation integrates both.
they are integrated, but tomcat response, else, to the 8080 port --->
comment the 8080 lines in the server.xml

- Original Message -
From: "Sivaraman, Srinivasan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 06, 2002 9:30 PM
Subject: integeration of Apache with TOCAAT


> Hi ALL,
>
> I am a newbie to Tomcat.
>
> I have SuSE Linux 8.0
> I have installed Apache 1.3.26 and Tomcat which comes with SuSE 8.0.
> Both hte services are running. (Apache at prot 80 and Tomcat at 8080)
> Can someone please tell me how to integerate these two, i.e how to make
servlet requests to apache be forwarded to be handled by Tomcat?
>
> Thank you!!!
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>



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




new tomcat 4.1.0, linux and mod_webapp

2002-09-06 Thread Dionisio Ruiz de Zarate

i'll try to install the tomcat 4.1.0 in my linux (SuSE 8), with apache.
but how can i build the mod_webapp.so file?
thanks



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




tomcat 4.1.0

2002-09-06 Thread Dionisio Ruiz de Zarate

the new tomcat 4.1.0 what uses? the mod_jk or the mod_webapps? (linux)
thanks



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




apache + tomcat 4.0.1 + virtual host

2002-09-05 Thread Dionisio Ruiz de Zarate

Hello with this i pass the /examples petitions to the tomcat

WebAppConnection conexion warp localhost:8008
WebAppDeploy examples conexion /examples

but if i have one second virtualhost (www.domain2.com) in the apache virtual
host configuration how i must  to configure for passint to the tomcat the
jsp pages in this second domain?
thanks



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




Re: virtual hosts and apache

2002-09-05 Thread Dionisio Ruiz de Zarate

apache and tomcat 4.0.1, web_apps

can you help me?
thanks




- Original Message -
From: "Branko Kannenberg" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, September 05, 2002 11:55 AM
Subject: Re: virtual hosts and apache


> Hi there !
>
> Which connectro are you using? If it's mod_jk, you can use the autoconf
> feature, so you don't have to worry about the virtual host configuration
in
> httpd.conf.
>
> Just add
>
> Include /conf/auto/mod_jk.conf
>
> to httpd.conf and something like
>
>jkDebug="info" modJk="/opt/apache2/modules/mod_jk.so" />
>
> to the "Server" section of your server.xml file and something like
>
>   append="true" forwardAll="true" noRoot="false" jkDebug="info" />
>
> to the "Host" section of your server.xml file
>
> You probably have to adjust the parameters for the "Listener" directive,
for a
> description of the parameters have a look at
>
> http://jakarta.apache.org/tomcat/tomcat-3.3-doc/mod_jk-howto.html
>
> It's for tomcat 3.3, but I am using 4.0.4 and it's still useful.
>
> Now, everytime you start tomcat, the file
> /conf/auto/mod_jk.conf
> will be created and includes the neccessary configuration for apache
>
> Ciao, Branko.
>
>
>
>
> Am Donnerstag, 5. September 2002 08:16 schrieb Dionisio Ruiz de Zarate:
> > I know how i must to configure the virtual hosts in apache but in the
> > tomcat server.xml i don't know.
> >
> > 1.- can any body send me one sample?
> > 2.- in the apache httpd.conf file, in the virtual host  description i
have
> > the normal virtual host description but for the interaction with tomcat,
> > must i add some lines? which lines are these?(for the integration with
> > tomcat)
> >
> > i am running in one linux platform (SuSE 8).
> > 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]>




Re: virtual hosts and apache

2002-09-05 Thread Dionisio Ruiz de Zarate

I am using tomcat 4.0.2 or 1. web_apps

can you help me?
thanks

Branko Kannenberg
> Hi there !
>
> Which connectro are you using? If it's mod_jk, you can use the autoconf
> feature, so you don't have to worry about the virtual host configuration
> in  httpd.conf.
>
> Just add
>
> Include /conf/auto/mod_jk.conf
>
> to httpd.conf and something like
>
>jkDebug="info" modJk="/opt/apache2/modules/mod_jk.so" />
>
> to the "Server" section of your server.xml file and something like
>
>   append="true" forwardAll="true" noRoot="false" jkDebug="info" />
>
> to the "Host" section of your server.xml file
>
> You probably have to adjust the parameters for the "Listener" directive,
> for a  description of the parameters have a look at
>
> http://jakarta.apache.org/tomcat/tomcat-3.3-doc/mod_jk-howto.html
>
> It's for tomcat 3.3, but I am using 4.0.4 and it's still useful.
>
> Now, everytime you start tomcat, the file
> /conf/auto/mod_jk.conf
> will be created and includes the neccessary configuration for apache
>
> Ciao, Branko.
>
>
>
>
> Am Donnerstag, 5. September 2002 08:16 schrieb Dionisio Ruiz de Zarate:
>> I know how i must to configure the virtual hosts in apache but in the
>> tomcat server.xml i don't know.
>>
>> 1.- can any body send me one sample?
>> 2.- in the apache httpd.conf file, in the virtual host  description i
>> have the normal virtual host description but for the interaction with
>> tomcat, must i add some lines? which lines are these?(for the
>> integration with tomcat)
>>
>> i am running in one linux platform (SuSE 8).
>> 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]>




virtual hosts and apache

2002-09-04 Thread Dionisio Ruiz de Zarate

I know how i must to configure the virtual hosts in apache but in the
tomcat server.xml i don't know.

1.- can any body send me one sample?
2.- in the apache httpd.conf file, in the virtual host  description i have
the normal virtual host description but for the interaction with tomcat,
must i add some lines? which lines are these?(for the integration with
tomcat)

i am running in one linux platform (SuSE 8).
thanks




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