Eddie Fahy wrote:
Hi,
I have a strange problem. I am not able to access my servlet from internet
although everything works very well when i access mywebapp using
http://localhost/mywebapp/Servletx
I am running a webapp which has a servlet. When I try to run my webapp, all the JSPs work good
Doesent look like a SecurityManager issue cos that would have resulted in a
SecurityException. Just glanced thru the exec api doc and found this
Starting an operating system process is highly system-dependent. Among the
many things that can go wrong are:
The operating system program file was
Hi,
I have a strange problem. I am not able to access my servlet from internet
although everything works very well when i access mywebapp using
http://localhost/mywebapp/Servletx
I am running a webapp which has a servlet. When I try to run my webapp, all the
JSPs work good but the servlet is
Hello all,
Is there any way to configure the certificate chain depth verification for
SSL connectors in Tomcat 5.5?
I need something like the SSLVerifyDepth option for apache + openssl.
Thanks,
Edré.
"Romain Quilici" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi all,
> this question seems simple, but I did not figure out how to answer it.
>
> In my web.xml I have defined a default servlet. So it can handle requests
> that does not match other servlets pattern.
>
> D
"Sriram Narayanan" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi:
>
> I was having a look at the bugzilla, and chanced across this post
> http://issues.apache.org/bugzilla/show_bug.cgi?id=7013
>
> I'm curious to know how one could enter a "non-ISO8859-1 character" in
> the requ
Could you please paste the piece out of your server.xml where
you configure the use of the certificate here? It will help me understand
what you are trying to do and what's actually happening a little better.
Does anybody know how to find the list of SSL ciphers that TC will use
(I'm running on Linux)? There's a Connector param to set the ciphers,
but I don't know where to find the list of available ciphers that I have.
Thanks,
David
At last. yes it was a little tongue in cheek, as I fell for that scam once
and never again. I paid 20 bucks for a PDF telling me to download free
software. Never again I tell you. I am wise now.
On 13/09/06, Cosio, Raul <[EMAIL PROTECTED]> wrote:
Use DJ Java decompiler, free to try...
http://w
Hi,
We used to use tomcat4 and start using tomcat5(start using different DB also).
Basically I have copied server.xml (tomcat4) to server.xml(tomcat5) with
minimal
changes. Did same thing for web.xml files also.
Other two webapps work fine so far, but I am having problem to get running
third
one w
> From: Jon Yeargers [mailto:[EMAIL PROTECTED]
> Subject: web.xml vs context.xml - diff?
>
> (tomcat 5.x)
>
> Why are 'context.xml' and 'web.xml' bits stored in different
> files? What is the difference in their scope?
The web.xml location and content are defined by the servlet spec (which
you
Marc Farrow wrote:
Yes. The exact same contents that you want to appear in your
webapp.xmlfile.
And you may ommit "path" attribute if you place context.xml under
META-INF directory. Path will be guessed from war filename.
--
Mikolaj Rydzewski <[EMAIL PROTECTED]>http://ceti.pl/~m
(tomcat 5.x)
Why are 'context.xml' and 'web.xml' bits stored in different files? What
is the difference in their scope?
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addi
Use a servlet filter, like:
public void doFilter(ServletRequest request, ServletResponse response,
FilterChain chain)
throws IOException, ServletException
{
logger.debug("set request character encoding to " + encoding);
request.setCharacterEn
that's what we do...we have it as a service, under an admin acct of the Win2K
box it's on.
-Original Message-
From: Gurganus, Brant L [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 12, 2006 3:44 PM
To: users@tomcat.apache.org
Subject: developing at limited user
Does anybody develop
I can specify URIEncoding="UTF-8" in Tomcat's connector settings within the
server.xml file. Now, my Tomcat server correctly reads the URL GET
parameters correctly...sending out "Hello, José!" or "Hello, 田中!" as
expected.
However, there's still a problem.
What if I want to POST some non-ASCII d
Does anybody develop on Tomcat as a limited user in Windows? I was
wondering if there are any suggested configurations or behaviors. It
seems the most convenient would be to run Tomcat as a service and run
the Services console as an administrator when it needs to be restarted.
Hi there,
I just installed NetBeans 5 wich has Tomcat 5 bundled.
I can start Tomcat without any trouble, but if I stop it, becomes really
slow getting this error message on the screen:
12-set-2006 21.43.03 org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8084
Use DJ Java decompiler, free to try...
http://www.download.com/DJ-Java-Decompiler/3000-2417-10046809.html
http://dj.navexpress.com/
-Original Message-
From: Steve R Burrus [mailto:[EMAIL PROTECTED]
Sent: Jueves, 07 de Septiembre de 2006 10:53 p.m.
To: Tomcat Users List
Subject: Re: decom
I'm pretty sure you have a memory leak in your program. For year I've been
thinking the JVM never returns memory and only increases it when needed, but
after many weeks of experimentation, reading and analysis now I know the JVM
reduces the java heap, when it doesn't I would look for memory leak
> From: Kevin Mullin [mailto:[EMAIL PROTECTED]
> Subject: RE: Where is bootstrap.jar
>
> I'm running in a JAVA 1.4 environment, and I need the
> compatability package, as you noted.
>
> I'm at the apache site for Tomcat, and I can't find it.
> Can you give me a URL to it.
It's the one cleverl
I'm getting close. I've download
the most recent version, using the CGI you sent me, but now when I execute
it, it complains becuase I'm running in a JAVA 1.4 environment, and I need
the compatability package, as you noted.
I'm at the apache site for Tomcat, and
I can't find it. Can you give me
Yes. The exact same contents that you want to appear in your webapp.xmlfile.
On 9/12/06, Leon Rosenberg <[EMAIL PROTECTED]> wrote:
thank you marc.
so I place it under META-INF and name it context.xml?
The content is the same, right?
I'm using autodeploy, by simply copying the new .WAR file
thank you marc.
so I place it under META-INF and name it context.xml?
The content is the same, right?
I'm using autodeploy, by simply copying the new .WAR file in the
webapps directory (its only for testing though).
thanx
leon
On 9/12/06, Marc Farrow <[EMAIL PROTECTED]> wrote:
How are you rede
Hi all,
what kind of connections does Tomcat use for JMX monitoring? If it is
RMI, where does the RMI registry run, on port 1099?
Thanks,
Michele
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [E
How are you redeploying it? If you are deploying with a *.war and the
Tomcat manager application (not sure about "auto deploy" and other clients),
then you can place your information in your context.xml file under your
/webappname/META-INF/ directory. Then when the war is deployed, the
informat
Hi:
I was having a look at the bugzilla, and chanced across this post
http://issues.apache.org/bugzilla/show_bug.cgi?id=7013
I'm curious to know how one could enter a "non-ISO8859-1 character" in
the request URL.
An pointers to articles on the Internet would be appreciated.
Thanks in advance.
> From: MW Janssen [mailto:[EMAIL PROTECTED]
> Subject: RE: question about PS Old Gen memoy
>
> So no need to do anything and not to worry that I ran out
> of memory..thats what you saying..right?
> And a full GC is only done by the JVM as its really needed?
Correct on both accounts (with all
Hi,
I noticed that my context definition file
(conf/Catalina/localhost/webapp.xml) is getting deleted over war file
redeploy.
Is there a way to prevent tomcat from deleting it?
regards
Leon
-
To start a new topic, e-mail: user
Also you can configure Apache to log the value of the
session cookie (if you're using session cookies --
LogFormat "%{JSESSIONID}C..."), which includes the lb
route so that you even know which instance of Tomcat
took the request.
-marc
--- Tim Funk <[EMAIL PROTECTED]> wrote:
> If apache is servi
The easiest way would be to make a filter that decides what to do. It
would intercept every web request and can then forward them as appropriate.
Jim
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail:
On 9/11/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
> From: Leonel [mailto:[EMAIL PROTECTED]
> Subject: Re: connection pooling question (posted correctly)
>
> And the filename for the ROOT app ( / ) would beROOT.xml ?
Yes, if you're putting your descriptors in the
conf/localhos
On 9/11/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I'd like to set up several developers with their own development
environments (tomcat, and their apps) on the app server.
I'm not sure why this seems difficult, but maybe I don't understand
fully what you want to do :-) In any case --
No i have no evidence...i was only guessing. So no need to do anything and
not to worry that I ran out of memory..thats what you saying..right?
And a full GC is only done by the JVM as its really needed? and in this case
it isnt you say..am i right?
thxfor your quick response!
Regards,
Maarte
> From: MW Janssen [mailto:[EMAIL PROTECTED]
> Subject: RE: question about PS Old Gen memoy
>
> Because I think the old gen is still filled also the 70%
> is reached.
So what? Again, that's how it's designed to work. Collecting the young
gen is much cheaper than doing the old gen, so there are
He Chuck,
Because I think the old gen is still filled also the 70% is reached. The jvm
will do a garbage collect to free up memory for the old gen so i think there
will be more and more garbage collections to achieve the 70%. I think there
also a lot of unused stuff in the old gen (otherwise a ful
hi i red the complete conversation .. Actually i have also the same
problem with javascript files ..
Is it possible to load the javascript files only if it is modified ...
Please help me ..I willbe greatful to you ..
with regards
sathiya
Martin Gainty wrote:
>
> Good Morn
> From: MW Janssen [mailto:[EMAIL PROTECTED]
> Subject: question about PS Old Gen memoy
>
> How can I avoid (the best solution) that the old gen is
> filling until 70% of the total memory allocation by the jvm
> and what causes this?
Why do you think this is a problem? This is how the HotSpot
Hello
all,
I am reading a lot
on JVM garbage collection tuning but i cant figure out what the best situation
is for me. I run a very large application without any problems except one
remarks.
I see (i am using
lambda probe) that my old generation memory is growing until the 70% (is defau
if you're front ending with Apache.. then Apache .htaccess could be configured
against it..
If you exec those same commands with root access and it works its definitely a
permission problem with the previous username
Good Point
M-
**
I would just make a thread dump and look which thread is hanging in a
infinite loop and causes the cpu usage.
regards
leon
p.s. to create a stack-trace -> kill -QUIT
On 9/12/06, Michele Mazzucco <[EMAIL PROTECTED]> wrote:
Hi Atomi,
try to take a look to the following links
http://www.hyperic.
>Specifically its been my experience that if you DONT have Security
permissions specifically >configured for that jar then the >classes will
not run
Is it applicable to only to jars or to any webapp deployed in Tomcat as
such. I've managed to use exec() successfully on some programs
successfull
Hi Atomi,
try to take a look to the following links
http://www.hyperic.com/
http://www.hyperic.com/products/sigar.html
Or, if you could use JMX: http://java.sun.com/products/JavaManagement/
Regards,
Michele
atomi wrote:
> I have a single servlet application and my server jumps up to 99+% cpu
>
Mark-
My experience has been radically different than Davids
Specifically its been my experience that if you DONT have Security permissions
specifically configured for that jar then the classes will not run
here is an example from catalina.policy
grant codeBase "file:${catalina.home}/bin/bootstr
Tim's solution is the easiest, but allow me to explain why your application
is behaving that way.
By specifying the following
/
You are saying that all requests that come into your application are to be
forwarded to the servlet. Thus when you redirect to "/jsp/index.jsp" it is
taking
HI,
It all runs fine as a standalone, and when I print the command that I am
running using exec to the screen and then run it myself, it works fine.
I had this servlet deployed on another machine, and I never had this
problem.
It is very odd, as sometimes it works and the executable is executed
I agree with David. This does not seem to be a SecurityManager problem.
Does your code run properly as a normal executable program (with main())?
Sameer Acharya wrote:
Have you tried adding following to your web app permissions in policy file
permission java.lang.RuntimePermission "java.lang.R
If I am reading this correctly, an "easier" solution would be to create
an index.jsp at the root level that forwards to "/jsp/index.jsp"
-Tim
Romain Quilici wrote:
Hi all,
this question seems simple, but I did not figure out how to answer it.
In my web.xml I have defined a default servlet. So
If apache is serving all the traffic - then tomcat doesn't need to
record any access logs. (Unless you need monitor how much load went to
each tomcat) Apache will have every request. If you combine the logs -
you would double count some of your requests.
-Tim
Frank Niedermann wrote:
Hello,
There is no way to do this in tomcat. The alternative is the link you
provided
http://wiki.apache.org/tomcat/HowTo#head-45c3314139cb900ddd43dde2ff671532e6e844bc
OR
Use JNDI to do the lookup. You'll do this via *|* in web.xml
Then this environment entry can be set in web.xml or overridden in
to
Have you tried adding following to your web app permissions in policy file
permission java.lang.RuntimePermission "java.lang.Runtime";
-Sameer
Mark HB <[EMAIL PROTECTED]> wrote: Hi,
My apologies for the confusion, but my previous claim to have sorted
this problem out is now incorrect. It see
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello List,
is someone here, who like to share his experience in registering mbeans
via M-Let Service in tomcat catalina? is it possible at all? if yes, how
does it work?
I`m looking for a way to register a third party RMI connector within tomcat.
t
considering where the exception occured, i bet this is not a java
security exception (it already passed the security test at that point
and is inside the priviledged code, moreover this is an IOException not
a SecurityException you get). However, there is a bad code inside
UNIXProcess:
IOEx
Hi,
My apologies for the confusion, but my previous claim to have sorted
this problem out is now incorrect. It seems with the upgrade to 1.5.0,
the execution of the external binary does work, --- but only sometimes??
---. I can't seem to work out the exact conditions that it works, and
seems
Thanks Enrico,
However I seem to have inadvertently solved it. I was updating to the
latest release of jre and recompiled the servlet with 1.5.0 and now it
works.
Previously I was using 1.3.1.
So there we go.
Cheers
Mark
Enrico Giurin wrote:
Hello,
I guess yours is a problem of security man
Hello,
I guess yours is a problem of security manager of tomcat.
I think you have to modify some entries of the catalina.policy file.
http://tomcat.apache.org/tomcat-5.0-doc/security-manager-howto.html
Enrico.
- Original Message -
From: "Mark HB" <[EMAIL PROTECTED]>
To:
Sent: Tuesday
Hi,
I am looking for some help on a problem I have encountered with
executing a binary from a servlet using Runtime.getRuntime().exec()
The code that I have is simply executing a binary called "cimmsim":
File theDir = new File(curdir+"WORK/"+rand);
java.lang.String cmdline = theDir+"/cimmsim -f
Hi Andrew
Thanks for the reply.
I have no issue using hiberante with tomcat if I am using get hibernate
configuration without using JNDI.
Once I used JNDi for hibernate in order to get session factory. I have
problem that Tomcat can not find JNDI context for hibernate.
Do you have any idea on
58 matches
Mail list logo