Hi Luis
Why don't you start with mod_jk as opposed to mod_jk2, mod_jk is more
recent than mod_jk2
Check the apache httpd.conf for the following directives"
AddLanguage
AddDefaultCharset UTF-8
Also make sure use in your servlet/JSP:
request.setCharacterEncoding("UTF-8");
Bruno Georges
Glencore
Hi!
Have you got solution? If yes just ignore this mail.
If not and if you are using UNIX/Linux System try the following:
Start tomcat in CSH Shell and let it run in background. There was a similar
problem discussed
on this list and the solution was to start tomcat in CSH.
Cheers,
Aliye
Hi,
I have loaded tomcat successfully.
When i click Tomcat Administration iam getting the following error.
HTTP Status 404 - /admin
type Status report
message /admin
description The requested resource (/admin) is not available.
Apache Tomcat/4.1.31
I have made the necessary changes in admi
Hi, am actually using tomcat version 5.0.28 on Red Hat Linux 6.2.
What i've notice is that each time i compile my java classes, copy them to
/WEB-INF/classes dir. and then redeploy my web application consisting of jsp
pages, I saw the number of java process increases when I do a 'ps -aux'
That is
Note: this is not meant to be a detailed bug report. I'm just fishing to see
if anyone else is having some these problems.
Hi, I'm a newbie on the list. I've used tomcat with Windows-IIS for about a
year, and I just made the switch to Apache on Fedora Core 4. Tomcat 5 comes
packaged with the FC4 d
All,
Can someone at least let me know what the proper way to set the src attribute
on an img tag is? I've currently used relative "../img/image.jpg" and also the
following:
When using either I'm seeing the same URL show up at the browser when getting
properties on the unfound image. I'm ab
"Mark Thomas" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Ah. It wasn't clear from your original post which part of the connectors
> you were trying to build.
>
> I was referring to the Tomcat end of things (the Java AJP/HTTP connectors)
> rather than mod_jk. The following fro
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Hi,
>
> This is really wierd - I can't post this msg to the list! The Test went
> through fine, but every time I try and post the msg below, it just
> "disappears".
>
> Anyone guess why?
>
> Anyone know the answer?!!
>
> cheers,
>
>
Hello,
I got this exception and I don't know how to solve it, I have a web
application with a servlet which sends video with formats avi, mpeg,
and mov, it shows the video but the tomcat throws this exception:
ClientAbortException: java.net.SocketException: Connection reset by
peer: socket write
Hi
Can you assist me in setting up an infrastruture on the following
ground:
linux, mysql, tomcat, jdbc. I am not in a position to sym the last
three to get my site up
Regards
Medha Parthasarathy
On MoHin, 27 Jun 2005 17:23:15 +0100, "Raghupathy,Gurumoorthy"
<[EMAIL PROTECTED]> said:
> Well t
It's about apache-tomcat configuration with
UTF-8. I added URI encoding to the tomcat configuration and I set
defaultcharset utf-8
in apache2. Im using mod_jk2. It doesnt work when I use special
characters like áéíóúñ...
If I use URL with port 8080 (tomcat
answers) It's fine but If I use the redir
I tend to agree - but wouldn't I see somewhere this system.exit being run
somewhere in a tomcat logfile.
In investigating this ive had verbose debug set on at all levels within the
Tomcat log structure and havent found a call anywhere that might indicate
this is happening.
Do you have any suggesti
You might want to setup the Request Dumper Valve
(*org.apache.catalina.valves.RequestDumperValve*.) and see if that
offer's any insight. I suspect the cookie isn't being returned in
subsequent requests after the welcome page. Unfortunately, I don't have
enough info about your setup to even be
why dont u just use log4j.
You can have the log4j.jar in the common/lib folder and each webapp
can have an individual log4j.properties file in the webapp classpath.
YOu can configure log4j.properties to have a filehandler
(FileAppender).
check this also:
http://jakarta.apache.org/tomcat/tomcat-5
looks like there is some code in one of your webapps that is causing a
shutdown - I know for one that if you put System.exit(0) in one of
your servlets and this servlet is invoked at startup (or through
another servlet) then it simulates a normal shutdown of Tomcat (or any
app server for that matte
Even I faced this frustrating problem recently - I couldnt really
solved it and just switched images - (I created a new image and it
somehow worked). I am just trying to get u a workaround (not
exactly a cause analysis of your problem) - HTH
-Anoop
On 6/27/05, Ryan Champlin <[EMAIL PROTECTED]
There are two parts to any connector that links Tomcat and a web server,
a Java part and a native part. See
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html
for my attempt at a fuller explanation.
Mark
BATCHELOR, SCOTT (CONTRACTOR) wrote:
I must really be missing someth
I've tried clearing my browser cach and tried both Firefox and IE. Neither
seem to be able to access those images at that location. So I don't think it's
the browser necessarily.
Not using SSL and don't have any security in place for this application.
Ryan
-Original Message-
From: J
I must really be missing something? It was my understanding that using
mod_jk-1-2-10.so was the same thing as using the ajp connector?
Am I completely misinformed in this?
-SB
-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: Monday, June 27, 2005 3:08 PM
To: Tomcat
Sounds like a browser caching issue or maybe some referrer checking
getting in the way although I don't how that would be setup in Tomcat.
Are you using SSL or have any other types of constriants in place?
Regards,
--
Jason Bainbridge
http://kde.org - [EMAIL PROTECTED]
Personal Site - http://jas
All,
I've read quite a few articles on this issue and tried all the solutions given
and none of them seem to be working.
I'm using Netbeans 4.1 with Tomcat 5.5. My application is using the MVC patter
so I have a controller that is using the request dispatcher to forward a
request to a JSP pa
Tomcat 4.1.31 - Solaris 9 - Java 1.5
Currently Tomcat shuts down after what seems to be
a variable amount of time.All contexts within the host are shut
down
And the following are evident in the
logs:-
log12005-06-27 17:15:41
StandardHost[localhost]: Removing web application at context
Ah. It wasn't clear from your original post which part of the connectors
you were trying to build.
I was referring to the Tomcat end of things (the Java AJP/HTTP
connectors) rather than mod_jk. The following from the dev list might
help. Failing that, with the clarification of what it is you w
As per tools - I think you can use JMeter. It gives u some pretty
useful graphs and analysis.
-Anoop
On 6/27/05, James Black <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Phillip Qin wrote:
> > I did see this issue happened with my tomcat 4.1/5.0. After I upgra
Would you mind pointing me in the right direction for some docs? I really only
want to build mod_jk
Thanks,
-SB
-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: Monday, June 27, 2005 2:08 PM
To: Tomcat Users List
Subject: Re: Building tomcat-connectors with ANT
BA
Hi,
OS: Windows
Tomcat: 5.5.9
Tomcat User: student without privilege, will not have the wright to
write in CATALINA_HOME
Each student will have its own "webapps", logs, work etc. directories.
By default all logs in Tomcat 5.5.9 are written in CATALINA_HOME/logs directory.
"Logs doc"
http://jak
BATCHELOR, SCOTT (CONTRACTOR) wrote:
Has anyone been successful in this?
Yes. Regularly. 4.1.x, 5.0.x and 5.5.x
Mark
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Has anyone been successful in this?
The documentation seems to be very scarce to say the least.
-SB
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Phillip Qin wrote:
> I did see this issue happened with my tomcat 4.1/5.0. After I upgraded to
> 5.5, I have encountered any outofmemory even after 100 hundreds deployments.
>
> Does your web app use struts? You can always clean up resource by adding
I did see this issue happened with my tomcat 4.1/5.0. After I upgraded to
5.5, I have encountered any outofmemory even after 100 hundreds deployments.
Does your web app use struts? You can always clean up resource by adding
Introspector.flushCaches(); in your context listener's contextDestroyed
me
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Phillip Qin wrote:
> What is the version of your tomcat? 5.5 supposed to have resolved this issue
> by flush reflection cache when undeploy your web app.
I get this with 5.5.9, using jdk 1.5, under Solaris 8, when I copy my
new beehive-based webapp
Frank, Guru
Thank you guys so much for the comments. But I forget to mention that the code
was originally coded to request.getSession(false). Since it did not work for
me, I changed to request.getSession(true).
So neither was working for me.
Angelina
"Frank W. Zammetti" <[EMAIL PROTECTED]
What is the version of your tomcat? 5.5 supposed to have resolved this issue
by flush reflection cache when undeploy your web app.
-Original Message-
From: Andy Kriger [mailto:[EMAIL PROTECTED]
Sent: June 27, 2005 12:12 PM
To: tomcat-user@jakarta.apache.org
Subject: Please help with PermG
I thought that at first too Guru, I had to go remind myself... looking at
the javadoc for request.getSession(boolean)...
"Returns the current HttpSession associated with this request or, if there
is no current session and create is true, returns a new session."
That "OR, IF" clause is whats impor
Well the issue is
request.getSession(true)
Try something like
MyObject myObj = new MyObject();
myObj.setAbc("Abc");
myObj,setDef("Def");
HttpSession session = request.getSession(false);
If ( session == null ) {
session = request.getSession(true);
}
session.setAttribute(MySessionName,
David,
Thanks a lot for your help.
My browser accepts cookies. Actually I inspected the cookies as well as the
session object when I was debugging. The cookies is a valid array with valid
sessionId inside and the method isRequestedSessionIdFromCookie() returns true
as long as the http sessio
After many webapp installs, I get this in my tomcat logs...
Exception in thread
"ContainerBackgroundProcessor[StandardEngine[Catalina]]"
java.lang.OutOfMemory
Error: PermGen space
MaxPermSize=128m, but the errors still happen. I understand that this
comes from apps not releasing all their resourc
It turns out that it was an issue with load balancing. The client had decided
that they wanted to
setup their own OS-level load balancing, so I had disabled it in Apache/Tomcat
setup. Apparently,
when they applied the patches to the servers, this must have affected their
load balancing. When
Like for other unixes:
tail -f logs/catalina.out
Le Lundi 27 Juin 2005 17:07, Sharath Srivatsa a écrit :
> Hi,
> I have loaded Apache Tomcat 4.1 on Solaris machine.
> After I use the startup.sh script,Iam not getting the console.
> Can anyone tell me hoe do i get the co
Hi,
I have loaded Apache Tomcat 4.1 on Solaris machine.
After I use the startup.sh script,Iam not getting the console.
Can anyone tell me hoe do i get the console.
Thank You
Sharath
__
Don't know if it is related, but a note on an issue in session tracking we got
here (an how we soluced it)
We got the following scenario:
1) someone get a link to a struts form in an email
2) He get to the page by clicking on link
3) The page is in a 'secure' area, meaning he gets a popup from br
Check these:
1. Your browser is accepting cookies
2. Your links are being generated by taglibs that insure the jsessionid
is attached if needed. I say if needed because if tomcat is getting a
valid session cookie from your browser, the jsessionid won't be added to
the link.
They don't both
Jack,
I dont understand why you keep saying there is nothing worng. The session got
established at the log in page and kept valid in the security re-diredct pages
till the welcome page. Then session got lost. Why there is nothing wrong with
it?
The session id did not get lost, just the http
Hi Darren,
what I do is to deploy the war file as zip file, then extract it and reload
the applicataion.
It's not very nice, but it's working automatically in an ant script, I did
it because the war file deployment was to unstable.
Cheers
Bernhard
> -Ursprüngliche Nachricht-
> Von: Darr
Move your log file out of your context.
-Original Message-
From: Darren Carman [mailto:[EMAIL PROTECTED]
Sent: June 27, 2005 9:39 AM
To: tomcat-user@jakarta.apache.org
Subject: deploying war files
Hi,
I have a project which generates log files within the project area. When I
deploy a w
Hi,
I have a project which generates log files within the project area. When I
deploy a war file to a running tomcat instance the project appears to be
deleted and re-created. Is there anyway to deploy automatically without
deleting these files (or any files that exist in the project area that
Hello Asit
Could it be that you write for Java 1.5 whilst your Tomcat somehow
"expects" Java 1.3?
Try this link:
http://blog.taragana.com/index.php/archive/how-to-run-javac-15-or-beyond-compiler-for-jsp-compilation-in-tomcat-55-with-generics-enabled-and-other-15-only-features/1/
hope it helps
hav
Sir
I have installed Jdk1.5.0 in windows 2000 server.
After that I have installed Apache Tomcat/5.0.29.
I have deployed all of my JSPs in Root directory
and all of my beans in classes.
Now after starting of the Tomcat server.
when I want to see the paged in IE6,
It is giving errors
" javac: tar
48 matches
Mail list logo