Re: -Dfile.encoding and tomcat-3.3.1a question.

2003-11-05 Thread Luiz Ricardo
Hi,

this occurs because the JVM 1.4.2 doesn´t permit to set some system
properties, especially file.encoding. I solved this problem setting the
enviroment variable LANG to pt_BR.ISO-8859-1 (in my case) in
catalina.sh.

Luiz Ricardo
- Original Message - 
From: Thomas Troeger [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, November 05, 2003 12:12 PM
Subject: -Dfile.encoding and tomcat-3.3.1a question.


 Hello,

 I'm running tomcat-3.3.1a on x86-Linux. There is an issue
 regarding umlauts (like ä, ö, ß). If I use java-1.4.1:

 : Java version:
 : java version 1.4.1
 : Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-b21)
 : Java HotSpot(TM) Client VM (build 1.4.1-b21, mixed mode)

 I can start the java interpreter by issuing
 -Dfile.enconding=iso-8859-1 as an argument in tomcat.sh (line
 130):

 :
TOMCAT_OPTS=$TOMCAT_OPTS -Dfile.encoding=iso-8859-1 -Xmx1024M -Djava.se
curity.policy==${TOMCAT_HOME}/conf/tomcat.policy 

 Then everything works fine and tomcat can handle umlauts and encoding
 as expceted. Now if I use java-1.4.2:

 : java version 1.4.2_02
 : Java(TM) 2 Runtime Environment, Standard Edition (build
1.4.2_02-b03)
 : Java HotSpot(TM) Client VM (build 1.4.2_02-b03, mixed mode)

 umlauts don't get handled properly and I get a lot of '?' chars
 instead. My question is: how do I call tomcat or how do I have to
 modify my servlet to get proper umlauts again? Any hint welcome,

 mfG,

 --tst.

 -
 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: character sets showing as ?

2003-10-29 Thread Luiz Ricardo
I was with this problem too, I was using J2SDK 1.4.2 in a Linux machine
and setting CATALINA_OPTS to -Dfile.encoding=ISO-8859-1 didn´t resolve
the problem.

To fix this problem I have to set the enviroment variable LANG to
pt_BR.ISO-8859-1 in catalina.sh and bingo all my ISO-8859-1 charsets
were displayed correctly.

Luiz Ricardo
- Original Message - 
From: Bodycombe, Andrew [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Wednesday, October 29, 2003 6:29 AM
Subject: RE: character sets showing as ?


 I have fixed similar problems in the past by setting CATALINA_OPTS to
 -Dfile.encoding=ISO-8859-1 and restarting tomcat.

 -Original Message-
 From: chad kellerman [mailto:[EMAIL PROTECTED]
 Sent: 28 October 2003 19:27
 To: Tomcat Users List
 Subject: character sets showing as ?


 Hey guys,
I moved a few tomcat Apps from a 6.2 server to a 7.3 server.
Running
 the same version of Tomcat.  But now the character sets that are
 displayed are coming out as ? ..  They are all spanish character sets.
 I tried changing to the character set to utf-8 from iso-8859-1 but
still
 it comes up.

   Anyone ever seen this before?  Maybe point me in the right
direction.



 Thanks,
 Chad










 -
 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: J2SDK 1.4.2_01 + Linux + file.encoding

2003-10-28 Thread Luiz Ricardo
Hi everyone,

maybe this is off-topic but I read somewhere in Internet that the JVM
System Properties should not be configured via -D parameter cause it is
not guarranted to work. I always used this to configure the
file.encoding in Linux machines to ISO-8859-1 but it didn´t work with
J2SDK 1.4.2 so some pages serverd by Tomcat display ISO-8859-1
characters as question marks.

I solved my problem setting the enviroment variable LANG to my specific
locale (LANG=pt_BR.ISO-8859-1) and it worked it out!

Luiz Ricardo
- Original Message - 
From: David O'Brien [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, October 27, 2003 2:21 PM
Subject: Re: J2SDK 1.4.2_01 + Linux + file.encoding


 I face the same problem but haven't found a solution yet. I had to
revert
 to the old version of the SDK.
 If you find anything could you let me know?
 -Dave


 At 12:12 PM 10/27/2003, you wrote:
 Hi everyone,
 
 I have the following configuration:
 
 Linux Mandrake 8.0
 J2SDK 1.4.2_01
 Tomcat 4.1.27
 
 In my application I have to read some files that contains characters
 that are ISO-8859-1 charset but when I display these file contents by
 Tomcat the ISO-8859-1 characters are replaced by question marks,
Tomcat
 is started with the parameter -Dfile.encoding=ISO-8859-1.
 
 The detail is that if I use J2SDK1.4.1 everything works fine! I would
 like to know if someone here faced this problem and/or has some tip
how
 to solve it.
 
 Thanks in advance,
 
 Luiz Ricardo
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


 David G. O'Brien
 Web Services Coordinator / Systems Administrator

 NACCRRA
 The Nation's Network of Child Care Resource  Referral
 1319 F Street NW, Suite 500
 Washington, DC 20004
 (202) 393-5501 ext. 113
 (202) 393-1109 fax



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



J2SDK 1.4.2_01 + Linux + file.encoding

2003-10-27 Thread Luiz Ricardo
Hi everyone,

I have the following configuration:

Linux Mandrake 8.0
J2SDK 1.4.2_01
Tomcat 4.1.27

In my application I have to read some files that contains characters
that are ISO-8859-1 charset but when I display these file contents by
Tomcat the ISO-8859-1 characters are replaced by question marks, Tomcat
is started with the parameter -Dfile.encoding=ISO-8859-1.

The detail is that if I use J2SDK1.4.1 everything works fine! I would
like to know if someone here faced this problem and/or has some tip how
to solve it.

Thanks in advance,

Luiz Ricardo


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



Removing extra white spaces in source

2003-10-24 Thread Luiz Ricardo
Hi everyone,

I would like to know if someone here knows some filter that removes
extra white spaces from content generated by servlet or jsp.

Luiz Ricardo


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



web.xml editor

2003-10-23 Thread Luiz Ricardo
Hi everyone,

I would like to know if someone here uses some free application to
edit web.xml files, likely this application was web-based.

I also would like to know if Tomcat Team intends to do something like
this.

Thanks in advance,

Luiz Ricardo


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



Apache2 + mod_jk + Tomcat 4.1.24

2003-08-21 Thread Luiz Ricardo
Hi,

I am having a problem with Apache2 + mod_jk + Tomcat 4.1.24 when my site
is under heavy load. Apache2 is configured to use worker MPM
(multi-threaded), mod_jk is configured to use cachesize and
cache_timeout and Tomcat 4.1.24 is with the following configuration in
server.xml:

...
Connector className=org.apache.ajp.tomcat4.Ajp13Connector
   port=8009 minProcessors=16 maxProcessors=384
   acceptCount=64 debug=0/
...

The problem is that Tomcat is not freeing its threads when the site is
under low traffic, the Apache2 threads are freed correctly. I would like
to know if someone has a tip to solve this problem because I have to
control the use of machine resources.

Luiz Ricardo

Luiz Ricardo


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



Re: Sharing Session data between two instances?

2002-12-16 Thread Luiz Ricardo
Hi,

take o look at:

http://www.onjava.com/lpt/a/2422
http://www2.theserverside.com/resources/article.jsp?l=Tomcat

Luiz Ricardo
- Original Message -
From: Prashanth Pushpagiri [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Sunday, December 15, 2002 4:57 PM
Subject: Sharing Session data between two instances?


 Hi

 I am trying to setup tomcat 4.1.12 on two servers so
 that an incoming request can be handled by either one
 of the servers. What I would like to do is share
 session details between the two instances. Is this
 possible?

 Thanks
 Prashanth

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

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


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




Deny access to directory of a web-app

2002-12-11 Thread Luiz Ricardo
Hi everybody,

I'd like to know if there's anyway to deny acess to a specific directory of
a web-app using only TomCat through config in web.xml. Example, in a web-app
test there's a directory called conf (CATALINA_HOME/webapps/test/conf)
with some configurations file so I don´t want users accessing this directory
via URL.

I tried to use security-constraint but I cannot do so much.

Luiz Ricardo


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




Re: Deny access to directory of a web-app

2002-12-11 Thread Luiz Ricardo
Hi,

I could do that but the localization of this dir is a requirement for my
application run, it's kinda legacy problem.

I was thinking of mapping the url /conf to a servlet that returns a 404
HTTP Message.

Luiz Ricardo
- Original Message -
From: Jacob Kjome [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, December 11, 2002 3:30 PM
Subject: Re: Deny access to directory of a web-app


 Hello Luiz,

 Why don't you put your conf directory under WEB-INF?  That is
 restricted by default.  Your app will still have complete programmatic
 access to it, but it won't be accessible via the web which is exactly
 what you want.

 Jake

 Wednesday, December 11, 2002, 10:12:33 AM, you wrote:

 LR Hi everybody,

 LR I'd like to know if there's anyway to deny acess to a specific
directory of
 LR a web-app using only TomCat through config in web.xml. Example, in a
web-app
 LR test there's a directory called conf
(CATALINA_HOME/webapps/test/conf)
 LR with some configurations file so I don´t want users accessing this
directory
 LR via URL.

 LR I tried to use security-constraint but I cannot do so much.

 LR Luiz Ricardo


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



 --
 Best regards,
  Jacobmailto:[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]




Reloading classes in shared dir

2002-12-09 Thread Luiz Ricardo
Hi everybody,

I would like to know if there is any way to configure TomCat to reload the
classes installed in CATALINA_HOME/shared.

Luiz Ricardo


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




JkAutoAlias + Apache 1.3 + WAR

2002-10-23 Thread Luiz Ricardo
Hello,

I can not access an web application deployed in a war archive. I am using
Apache 1.3 + mod_jk and in my server.xml the attribute unpackWARs is false,
in my mod_jk.conf I use JkAutoAlias. Does anyone knows if JkAutoAlias and
unpackWARs=false work?

Luiz Ricardo


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




GC Log in catalina.out

2002-10-11 Thread Luiz Ricardo

Hi everybody,

maybe this subject is off-topic but let me explain my problem, I ran Tomcat
as root user and java was logging the gc activity
(java -Xloggc:/usr/local/tomcat4/logs/gc.log ...) and everything was fine
but I had to change the Tomcat user to another one (tomcat4) and after this
the gc activity is not being anymore logged in
/usr/local/tomcat4/logs/gc.log, it is logging in catalina.out.

To change user root to tomcat4 I execute the following command in startup.sh
script:

su - tomcat4 -c /usr/local/tomcat4/bin/catalina.sh start

Does anyone know how to fix this?!

Luiz Ricardo


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




Re: Tomcat cluster

2002-10-10 Thread Luiz Ricardo

Here it is more links:

http://www2.theserverside.com/resources/article.jsp?l=Tomcat
http://www.onjava.com/lpt/a/2422

Luiz Ricardo
- Original Message -
From: Ralph Einfeldt [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, October 10, 2002 10:57 AM
Subject: AW: Tomcat cluster


 Here is some brain food:

 http://www.ubeans.com/tomcat
 http://www.onjava.com/pub/a/onjava/2002/07/17/tomcluster.html
 http://www.onjava.com/lpt/a/1228
 http://www.javaworld.com/javaworld/jw-12-2000/jw-1221-servlets.html


  -Ursprüngliche Nachricht-
  Von: Ricardo de Souza Moura [mailto:[EMAIL PROTECTED]]
  Gesendet: Donnerstag, 10. Oktober 2002 15:39
  An: [EMAIL PROTECTED]
  Betreff: Tomcat cluster
 
  Has anybody any book online, or tutorial about how use Tomcat
  in cluster ?
 

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




Load balancing + replicated sessions

2002-10-01 Thread Luiz Ricardo

Hi,

I would like to know if there is a way to configure Tomcat + Apache to
replicate sessions under a load balancing configuration.

Example, I have two Tomcat instances (TC1 and TC2) and the session in TC1
would be replicated in TC2 and the sessions in TC2 would be replicated in
TC1, so if TC1 crashes the requests would be redirected to TC2 without lost
sessions and vice-versa.

Luiz Ricardo


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




Re: Load balancing + replicated sessions

2002-10-01 Thread Luiz Ricardo

thanks so much.

Luiz Ricardo
- Original Message -
From: Ben Ricker [EMAIL PROTECTED]
To: Tomcat-Users List [EMAIL PROTECTED]
Sent: Tuesday, October 01, 2002 11:33 AM
Subject: Re: Load balancing + replicated sessions


 See http://www.theserverside.com/resources/article.jsp?l=Tomcat. you can
 do in memmory session replication across JVMs through TCP.

 Ben Ricker

 On Tue, 2002-10-01 at 09:29, Luiz Ricardo wrote:
  Hi,
 
  I would like to know if there is a way to configure Tomcat + Apache to
  replicate sessions under a load balancing configuration.
 
  Example, I have two Tomcat instances (TC1 and TC2) and the session in
TC1
  would be replicated in TC2 and the sessions in TC2 would be replicated
in
  TC1, so if TC1 crashes the requests would be redirected to TC2 without
lost
  sessions and vice-versa.
 
  Luiz Ricardo
 
 
  --
  To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
mailto:[EMAIL PROTECTED]
 --
 Ben Ricker [EMAIL PROTECTED]
 Wellinx.com


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


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




Re: urgent: The stream has been closed

2002-08-22 Thread Luiz Ricardo

Perhaps you've already got the PrintWriter with getWriter() method.

Luiz Ricardo
- Original Message -
From: Rum Pel [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 22, 2002 4:50 AM
Subject: urgent: The stream has been closed


 When I do the following,
 ServletOutputStream out = resp.getOutputStream();
  out.println(html);
 out.flush();
 I am getting the following exception at out.flush():

 java.io.IOException: The stream has been closed
 at
 org.apache.catalina.connector.ResponseStream.flush(ResponseStream.jav
 a:237)


 It seems the stream has already been closed earlier, but I have
 not written any out.close() statements anywhere. Does anybody have
 a clue why this error appears?

 Thanks in advance,
 --rp

 _
 MSN Photos is the easiest way to share and print your photos:
 http://photos.msn.com/support/worldwide.aspx


 --
 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: WebApp ADMIN + TomCat 4.1.9

2002-08-16 Thread Luiz Ricardo

Hi,

I am sorry, the translated message is: The system cannot find the specified
file. A note, the file is right there.

Luiz Ricardo
- Original Message -
From: Craig R. McClanahan [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, August 15, 2002 6:37 PM
Subject: Re: WebApp ADMIN + TomCat 4.1.9




 On Thu, 15 Aug 2002, Luiz Ricardo wrote:

  Date: Thu, 15 Aug 2002 15:58:18 -0300
  From: Luiz Ricardo [EMAIL PROTECTED]
  Reply-To: Tomcat Users List [EMAIL PROTECTED]
  To: Tomcat-User List [EMAIL PROTECTED]
  Subject: WebApp ADMIN + TomCat 4.1.9
 
  Hi,
 
  I am trying to run the webapp admin from Tomcat 4.1.9 and I am catching
the
  following exception. Does anybody know why this is happening?
 
  I am using a Windows ME + J2SDK 1.4.0 + Tomcat 4.1.9-LE.
 
  The exception is at attachment.
 
  Luiz Ricardo
 

 (Showing my language ignorance) - Would it be possible to translate the
 sentence immediately after Root Cause (about half way down).  This
 message is probably the key to what is going on.

 Craig



 --
 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: WebApp ADMIN + TomCat 4.1.9

2002-08-16 Thread Luiz Ricardo

Worked it out, I created a temp directory at my CATALINA_HOME and 'bingo'.
But this directory was not created when I installed Tomcat 4.1.9. I
installed the package jakarta-tomcat-4.1.9-LE-jdk14.tar.gz in a machine
Windows maybe this package is recommended to Unix machines.

Thanks.

Luiz Ricardo
- Original Message -
From: Remy Maucherat [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, August 16, 2002 8:34 AM
Subject: Re: WebApp ADMIN + TomCat 4.1.9


 Luiz Ricardo wrote:
  Hi,
 
  I am sorry, the translated message is: The system cannot find the
specified
  file. A note, the file is right there.

 Then you need to make sure that the temp directory exists (in
 %CATALINA_HOME% or %CATALINA_BASE% if you're using it).

 The default install (all distribution) creates it, so I wonder why there
 is a problem.

 Remy


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




WebApp ADMIN + TomCat 4.1.9

2002-08-15 Thread Luiz Ricardo

Hi,

I am trying to run the webapp admin from Tomcat 4.1.9 and I am catching the
following exception. Does anybody know why this is happening?

I am using a Windows ME + J2SDK 1.4.0 + Tomcat 4.1.9-LE.

The exception is at attachment.

Luiz Ricardo


2002-08-15 15:40:02 WebappLoader[/admin]: Deploying class repositories to work 
directory C:\tomcat4.1.9\work\Standalone\localhost\admin
2002-08-15 15:40:02 WebappLoader[/admin]: Deploy class files /WEB-INF/classes to 
C:\tomcat4.1.9\bin\..\webapps\..\server\webapps\admin\WEB-INF\classes
2002-08-15 15:40:02 WebappLoader[/admin]: Deploy JAR /WEB-INF/lib/struts.jar to 
C:\tomcat4.1.9\bin\..\webapps\..\server\webapps\admin\WEB-INF\lib\struts.jar
2002-08-15 15:40:02 ContextConfig[/admin] Exception processing JAR at resource path 
/WEB-INF/lib/struts.jar
javax.servlet.ServletException: Exception processing JAR at resource path 
/WEB-INF/lib/struts.jar
at org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:930)
at org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:868)
at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647)
at 
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:243)
at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3445)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
at 
org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:529)
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.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:260)
at org.apache.commons.digester.Digester.endElement(Digester.java:830)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1536)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
at org.apache.commons.digester.Digester.parse(Digester.java:1302)
at 
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:335)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:803)
at 
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:452)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:409)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:879)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:368)
at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
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:2188)
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)
- Root Cause -
java.io.IOException: O sistema não pode encontrar o caminho especificado
at java.io.Win32FileSystem.createFileExclusively(Native Method)
at java.io.File.checkAndCreate(File.java:1294)
at java.io.File.createTempFile(File.java:1382)
at java.io.File.createTempFile(File.java:1419)
at sun.net.www.protocol.jar.URLJarFile$1.run(URLJarFile.java:169)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.jar.URLJarFile.retrieve(URLJarFile.java

Tomcat 4.1.8 is not finding jar files

2002-08-02 Thread Luiz Ricardo

Hi,

I am trying to run the admin webapp and I am catching an IOException
telling me that it can not find my jar files in /WEB-INF/lib but the files
are there. The same problem is occurring when I try to run the Struts
webapps. Does someone know why this is happening?!

I am using Tomcat 4.1.8-LE, Struts 1.1b1 in a Windows Me machine with JDK
1.4.

Luiz Ricardo


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




Problems with GET method

2002-01-14 Thread Luiz Ricardo

Hi,

I am trying to pass some parameters to my app by URL but when I try to get
them I always get the null value when the parameter value contains the equal
sign (=).

If I try process the following URL
www.server.com/page.jsp?var1=where+col=val and use
request.getParameter(var1), it returns null.

I would like to know if someone has faced this problem and/or has some
solution?!

Luiz Ricardo


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