hi acec,
have u got the solution for outof Memory error.
On 3/16/07, acec acec [EMAIL PROTECTED] wrote:
Hi, Prakash
I just tested tomcat example jsp page, there is not
any object to assign null.
Thanks.
Arden
--- prakash shanmugam [EMAIL PROTECTED] wrote:
hi
i personally fell disabling
when I enter the tomcat manager, the authentication dialoge opened and ask me
to enter username password,
and I check the remember my password for the first time to remember me in
the next time, then I clear all the cookies and histories and password
form.. etc and all my private data from my
So it was true that with the same lib set in my tomcat6 windows xp
everything worked fine, but on there i was using jdk1.5 and not jdk1.6
and that seems to make a lot of difference in this particular case.
Anyway Filip is right and it was just a matter of removing (in the
centos jdk1.6
I get this exception suddenly on tomcat and as well as in websphere.
Is there any specific reason for this?
org.apache.commons.fileupload.FileUploadBase$InvalidContentTypeException:
the request doesn't contain a multipart/form-data or multipart/mixed stream,
content type header is null
I don't think this issue is Tomcat related.
When do you get this error?
org.apache.commons.fileupload.FileUploadBase$InvalidContentTypeException:
the request doesn't contain a multipart/form-data or multipart/mixed stream,
content type header is null
According to Google,
Rui Monteiro wrote:
I put the same instalation (the same jars on lib) on a tomcat6.0.10
installed in my windows xp machine and everything goes fine. The problem
only occurs on the Centos 4 machine and only for jsp. If anyone knows
the inner subtleties of jasper jsp compiler tell me what could
To be honest I didn't try to confirm the hipothesis but the only
difference relevant between both it was the jdk being used. The windows
xp environment was using jdk 1.5 and centos was using jdk1.6. Anyway
problem solved Pid since the really important stuff was the extra jasper
jars i loaded
Thanks Rainer, that was indeed the problem.
Peter
Rainer Jung-3 wrote:
Hi Peter,
have a look at the online docs, especially the apache page inside the
refrence guide. There are a couple of JkOptions of type ForwardURIxxx,
with which you can configure URI encoding behaviour.
Regards,
Hi,
Thanks for the email
I did try what you recommended, but had no luck. The only process I could
find was the javaw.exe ... I removed it and tried to restart, with no
success.
What else can I try?
Thanks again
Richard Dunne wrote:
There is a problem with ctrl+c. It does not
David Rodríguez Fernández wrote:
I have an application who needs a special configuration in the
server.xml file. I have extract the configuration to an external file in the
conf/Catalina/localhost directory with the required configuration, but when
i update the application war file, the file
I need that the data base config to be external to the server configuration
and outside from de war. Tomcat has this system to add additional configs,
so i think i can use it.
-Mensaje original-
De: Mikolaj Rydzewski [mailto:[EMAIL PROTECTED]
Enviado el: martes, 10 de abril de 2007 10:20
Being able to see the Tomcat Welcome page tells you that tomcat is installed
properly, that will let you view html files, but in order to be able to run
.asp, .jsp and other java dependant extensions, you need to have your JRE/JDK
installed properly. Once it is, you should be able to write a
Thanks for the below.
Since the day I pressed Ctrl+C, I cannot see the Apache webpage. I type
startup.bat and when I goto http://localhost:8080 , I get PAGE Cannot be
displayed. I have rebooted my machine, removed the javaw.exe process also,
with no success of seeing the webpage. I have not yet
Then completely uninstall Tomcat and start fresh.
Depending on how you installed Tomcat
1) If you installed it via Windows Service Installer then uninstall it
with the Control Panel / Add Remove programs.
2) If you unzipped it to a folder, delete that folder.
Then freshly download the ZIP
but when
i update the application war file, the file is deleted by tomcat.
How I can avoid that the file is deleted?
I too had a similar problem before, then I added these attributes to the Context
antiResourceLocking=false antiJARLocking=false crossContext=false
Do you have your context path in server.xml in config folder?
Richard
- Original Message
From: gokal [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Tuesday, April 10, 2007 10:39:10 AM
Subject: Re: Cannot open apache
Thanks for the below.
Since the day I pressed Ctrl+C, I cannot
No I don't
What should I do?
Richard Dunne wrote:
Do you have your context path in server.xml in config folder?
Richard
- Original Message
From: gokal [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Tuesday, April 10, 2007 10:39:10 AM
Subject: Re: Cannot open apache
Hello,
Where can I download a pre-built nsapi_redirector.so (AJP13) for
Solaris SPARC 10. Is it available in Apache downloads or archives. I
was unable to build the library for various reasons. And one I
obtained from internet causes SunOne server to error out at launch:
Don't panic. Go into the sub folder localhost and you will see a few xml
files, one is called manager.xml and web.xml. Create an xml file here with the
name of your context(project folder) and put your context path into it. Then
change your environment path accordingly. I found that my
You wrote: I check the remember my password for the first time to
remember me in the next time ...
I think your browser is doing the remembering here. I've never seen the
manager do anything other than BASIC auth and I'm reasonably sure it
doesn't have a remember me function.
--David
Abo
you can see the basic authentication dialoge in tomcat which have the
remember function: http://www.nabble.com/file/7782/tomcat.JPG
--
View this message in context:
http://www.nabble.com/Tomcat-Manager-remember-Authentication-tf3551322.html#a9918256
Sent from the Tomcat - User mailing list
Abo alnoor wrote:
you can see the basic authentication dialoge in tomcat which have the
remember function: http://www.nabble.com/file/7782/tomcat.JPG
But it's generated by your browser. Tomcat does not have control over
this. If you use Firefox, it'll ask you if you want to remember the
let me explain more, I use internet explorer which remember the username and
password of tomcat manager although I cleared its history and cookies and
cleared forms and passwords and unchecked auto complete feature, but in
other browse such as firefox I erase the private data from firefox, then I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rashmi,
Rashmi Rubdi wrote:
From looking at the following snippet I assume that username, password
and logout are initialized as in:
String username =username;
String password =password;
String logout=logout;
If the above are not
Abo alnoor wrote:
let me explain more, I use internet explorer which remember the username and
password of tomcat manager although I cleared its history and cookies and
cleared forms and passwords and unchecked auto complete feature, but in
other browse such as firefox I erase the private data
of course I close all the internet explorer windows and also restart windows
XP and also restart the apache tomcat
but the problem still appear
--
View this message in context:
http://www.nabble.com/Tomcat-Manager-remember-Authentication-tf3551322.html#a9918800
Sent from the Tomcat - User
Abo alnoor wrote:
of course I close all the internet explorer windows and also restart windows
XP and also restart the apache tomcat
but the problem still appear
Fair enough ... just checking the obvious stuff that gets missed when
staring at a problem long enough. The only other place I
Hello!
I use Apache Tomcat 5.5.20 as servlet/JSP container.
In my application I use file spring.jar from spring framework ver. 2.0.3.
When I put file spring.jar in shared libraries, that is in directory
/shared/lib everything works fine.
But if I remove that file from shared libraries and
On 4/10/07, gokal [EMAIL PROTECTED] wrote:
Since the day I pressed Ctrl+C, I cannot see the Apache webpage. I type
startup.bat and when I goto http://localhost:8080 , I get PAGE Cannot be
displayed.
1) have you looked at the logs??
2) open a command window; increase the screen buffer and
I have a new server (Windows 2003 / IIS 6) and Tomcat 5.5. I have spent
the past three days trying to get IIS to forward java (.jsp and Struts
.do) requests to Tomcat with no success.
I am looking for someone who can remote in and configure the necessary
settings.
The configuration will need to
did you set your form for MIME/multipart?
-Original Message-
From: Raghuveer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 10, 2007 1:58 AM
To: users@tomcat.apache.org
Subject: multipartrequest - content type header is null
I get this exception suddenly on tomcat and as well as in
David,
Unless you really want to part with some money, perhaps you could take
another swing at it.
First, make sure you're configuring the ISAPI redirector correctly. I
have attached the following example files for you:
1. A sample workers.properties file (this maps workers to tomcat
Good Morning David-
Before proceeding any further The first thing I would do is print and read
this tutorial on installing IIS with Tomcat
http://www.iis-resources.com/modules/AMS/article.php?storyid=485
Feel free to Ping me offline or the list for any questions
Martin--
This email message
Thank you Rantley, I will give this a shot but if I continue to struggle
I am ask you for a estimate in order to get this box up and running.
-David
-Original Message-
From: Brantley Hobbs [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 10, 2007 11:11 AM
To: Tomcat Users List
Subject:
Thank you Martin. I'll give that a shot.
I went through the 'How-To's' on Apache but could never get things to
work.
-David
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 10, 2007 11:06 AM
To: Tomcat Users List
Subject: Re: Tech support
Good
Hello all,
Is there any way one can turn off header information (tomcat/5.0.25,
coyote/1.1)?
BR,
Nishant
** My mobile email is powered by the Nokia Business Center **
-
To start a new topic, e-mail: users@tomcat.apache.org
To
Hi
this seems a very classical problem for tomcat users, but I couldn't
find on the web a solution which satisfies me.
We plan to host multiple applications, on a tomcat box. These
applications may all need an images directory. But of course each of
them has a different images directory.
I have a problem deploying war file and specifying multilevel context path.
Similar question was asked in this forum before but without definitive
answer. My scenario is as follow, I have a war file, say webtest.war and I'd
like to access it by:
/test/webtest. I found the only way to do so is to
Hi Rajiv,
I could provide Solaris SPARC builds for:
- Sun Web Server 7.0 either 32 Bit or 64 Bit
- Sun Web Server 6.1 SP7 32 Bit
Unfortunately you seem to need 6.0 64Bit. This release does only exist
for Solaris 10. I'll try, if I can install it on Solaris 8, but I
assume, this will not work.
On 4/10/07, Christopher Schultz [EMAIL PROTECTED] wrote:
Huh? Are you suggesting that this will cause an NPE:
String username;
...
username = pageContext.getRequest().getParameter(username);
??!
That's simply not true.
Sorry you are right, this code doesn't even compile leave alone
Try username. I'm surprised the compiler doesn't complain that username is
being used without being initialized. If it didn't, the compiler probably
set username to be null.
You need to pass a valid string to the method getParameter();
Try something more like:
String username = null;
Username =
Supposing the security vulnerability to be true as it seems (but i
didn't check) means first of all that if you don't have the Tomcat
Manager Aplication working and you don't have more than one web
aplication or at least you don't have any other application proxified
then you don't have to
And just in case! It desn't seem to apply in case you don't have Apache
Server + Apache Tomcat through connector.
Mensaje original
Supposing the security vulnerability to be true as it seems (but i
didn't check) means first of all that if you don't have the Tomcat
Manager
If you set maxHttpHeaderSize to 0 the server doesn't even generate a
response (or at least it generates a response of size -1) :-) , so
that option won't work.
On 4/10/07, Martin Gainty [EMAIL PROTECTED] wrote:
in server.xml set maxHttpHeaderSize to 0 should accomplish the objective
In Tomcat
You may want to double-check with the people who wrote the report,
just to be sure.
I have a small site hosted on Tomcat 5.5.9 and I think the host
provider is using Apache connector --- my site often crashes and shuts
down and I sometimes see the directory structure. But it might not be
because
I have multiple installations of Tomcat on various servers. One in
particular is our portal server that does not have the tomcat manager
accessible so it should be fine. However, we do have another
installation on a different server that an administrator uses to
upload/modify existing web
Try adding server=tomcat/none-of-your-business to your connector
configuration. This according to the docs should change the server
header. See:
http://tomcat.apache.org/tomcat-5.5-doc/config/http.html
--David
Nishant Kavi wrote:
Hello all,
Is there any way one can turn off header
The server option is not there in Tomcat 5.0.x which is what the OP is using.
Also, the server option didn't work on Tomcat 6.0.x
-Rashmi
On 4/10/07, David Smith [EMAIL PROTECTED] wrote:
Try adding server=tomcat/none-of-your-business to your connector
configuration. This according to the
Laura,
It's true that there's a problem with double negative phrases.
So to be more explict. As far as I can read from the report you showed
the problem WOULD NOT EXIST ON STANDALONE TOMCAT.
You can go without upgrade at least on basis of this specific security hole.
Laura McCord escribió:
oh ok.
thanks ;)
Rui Monteiro wrote:
Laura,
It's true that there's a problem with double negative phrases.
So to be more explict. As far as I can read from the report you showed
the problem WOULD NOT EXIST ON STANDALONE TOMCAT.
You can go without upgrade at least on basis of this
On 4/10/07, Rashmi Rubdi [EMAIL PROTECTED] wrote:
Also, the server option didn't work on Tomcat 6.0.x
FWIW, I just tried it on my 6.0.9 instance and LiveHTTPHeaders shows:
Server: foo/bar
After a restart, of course...
--
Hassan Schroeder [EMAIL PROTECTED]
anybody know what this error would mean?
I'm using TC 4.1.3 by the way.
2007-04-10 16:09:19 StandardWrapperValve[default]: Servlet.service() for
servlet default threw exception
ClientAbortException: java.net.SocketException: Software caused connection
abort: socket write error
I noticed
Could be true... I wanted to confirm it but, something got messed up,
now I can't restart my TC6.0.10 , even after using a fresh server.xml
--- so I'll have to start from fresh.
Prior to the crash even though I set server=something/else , I was
seeing the ServerName/Version on a default 404
Worth a shot. Further research suggests suppressing that in pre-5.5
versions of tomcat will require something in front of tomcat like
apache. I've seen articles where people have used Apache Httpd to
override headers from tomcat.
--David
Rashmi Rubdi wrote:
The server option is not there
On 4/10/07, Rashmi Rubdi [EMAIL PROTECTED] wrote:
seeing the ServerName/Version on a default 404 page.
Ah, yes-- the default 404 shows 'Apache Tomcat/6.0.9' in the footer.
Another case for configuring custom error pages for all your apps :-)
--
Hassan Schroeder
Looks like it was the 'username'. The username is being initialised in
the taglib handler implementation but the behaviour differs between
JRun and Tomcat.
In the layout template jsp for the admin console, we use a taglib that
checks if a user is logged in or not. The following snippet works on
You may want to try putting Apache httpd in front of tomcat and having
Apache hide its version information (google for ServerTokens Prod). Then,
your Server header will simply state Apache.
On Tuesday 10 April 2007 12:49, Nishant Kavi wrote:
Is there any way one can turn off header
Nishant Kavi wrote:
Hello all,
Is there any way one can turn off header information (tomcat/5.0.25,
coyote/1.1)?
There is no way to do this in 5.0.25 via configuration but what you
can do in this version is:
- find $CATALINA_HOME/server/lib/catalina.jar
- extract the contents of the jar
FYI, this isn't *always* caused by a user event... in fact, I have an
application now that exhibits this behavior, under Internet Explorer
only, during LOADING of the application. I've always observed the
don't worry about it philosophy too, and with this particular app it
doesn't seem to
Andreas Knecht wrote:
Just a quick addition. The memory dump is now available here:
http://repository.atlassian.com/temp/java_pid27558.hprof.gz
Cheers,
Andreas
You appear to be running Tomcat in development mode.
(http://tomcat.apache.org/tomcat-5.5-doc/jasper-howto.html)
This means
I tried to create multi-level context paths for you according to the
documentation here:
http://tomcat.apache.org/tomcat-6.0-doc/config/context.html
I tried something like this:
...\apache-tomcat-6.0.10\conf\Catalina\localhost\ROOT.xml
61 matches
Mail list logo