Dear All,
I have a typical problem. When I am trying to copy files from through
tomcat on one computer to other computer then I get exceptions as :-
java.io.FileNotFoundException:
\\10.1.103.110\FileUpload\Punjab\02-jan-08.enr (Access is denied)
at java.io.FileOutputStream.open(Native
I am running Tomcat 5.5 on Windows 2000 Server. I have a jsp page with a
scriptlet that basically takes the 'out' object (JspWriter) and spits out a
bunch of info from the database along with Word formatting and using the
'msword' mime type. It is a total kludge, I know, but I didn't write it, I
Hi all, I have a custom JAAS implemented in Tomcat 5.5.25. This custom JAAS
works fine and i am trying to implement the same custom JAAS in Tomcat
6.0.14 but i have a problem and after deep searching in mailing lists and
web I haven't found anything.
The configuration is the following:
Hi,
Yes, filters atre supposed to intercept a requets just before it is accessed.
Could you please post your filter config written in your web.xml file?
Yours,
Marcus Milanez
http://sumatrablog.wordpress.com
-Mensagem original-
De: Jay Liu [mailto:[EMAIL PROTECTED]
Enviada em:
Hi
We are testing the new nio connector, and in our load tests we are getting
30% better results
in terms of fetches/sec in favor of the old HTTP/1.1 protocol.
All we are doing in the servlet is just returning status 200 in the
response, nothing more.
Does the new io really slower then the
I managed to send emails from a webapp in Tomcat using gmail.
The configuration is:
Resource name=mail/MyMailServerName
auth=Container
type=javax.mail.Session
mail.transport.protocol=smtp
mail.smtp.host=smtp.gmail.com
mail.smtp.port=465
mail.smtp.auth=true
mail.smtp.user=[EMAIL
You don't have permission to write (or open?) files on the remote
machine - check the permission tomcat is running as vs who can open
files on the remote machine
(Access is denied)
-Tim
Rohit wrote:
Dear All,
I have a typical problem. When I am trying to copy files from
through tomcat
I have permissions to write files. I am able to do that manully and thorugh
single program also. I am not able to do it through tomcat.
Please let me know if there is some configuration required in tomcat.
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Wednesday,
You may have permissions to write - but if you are running tomcat as a
SYSTEM user (since I see windows specific stuff) - it does not.
This is not a tomcat (specific) issue.
-Tim
Rohit wrote:
I have permissions to write files. I am able to do that manully and thorugh
single program also. I
But is tomcat using your user account or it's own? Usually tomcat runs
as a service and may not have the same access rights you do. The
exception seems pretty clear tomcat was denied permission to the file at
file://\\10.1.103.110\FileUpload\Punjab\02-jan-08.enr
--David
Rohit wrote:
I
I have a piece of code that should get me a dataSource (from an example I'm
playing with from a Struts book):
[code]
try {
logger.info(DAOBase.getConnection: == InitialContext ==);
context = new InitialContext();
logger.info(DAOBase.getConnection: ==
First of all if you are working with tomcat 5.5 you have to put your jdbc
library file in TOMCAT_HOME/common/lib but if you are using Tomcat 6.0 you
have to put files in TOMCAT_HOME/lib.
I think that ResourceParams is nested to Resource and you have it out of
Resource.
You must follow guidelines
I have tried logging tomcat with my network user id and password but still I
am getting same error.
Please help in this regard
-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 02, 2008 6:26 PM
To: Tomcat Users List
Subject: Re: file transfer error
Hey Rainer!
On Wed, Jan 02, 2008 at 07:39:49AM +0100, Rainer Jung wrote:
Hi Cenk,
For me the mod_spnego code looks like it only set the usual
authenticated user var, so the name of the user will be available for
the webapp only by using request.getRemoteUser() and not via an http header.
Thanks for your suggests Juha.
Managed it by using ACLs. Default group rights are rw now for the
webapps folder and Tomcat is unpacking with rw for the group now.
I will check the umask from tomcat in the evening, but the ACL solution
seems to be quicker and safer, because I can set the
ResourceParams doesn't exist in tomcat 5.5, 6.0. All those parameters
became attributes of the Resource .../ element. What version of
tomcat are you using Abel?
--David
Mariano wrote:
First of all if you are working with tomcat 5.5 you have to put your jdbc
library file in
Hi We are testing the new nio connector, and in our load tests we are
getting 30% better results in terms of fetches/sec in favor of the old
HTTP/1.1 protocol. All we are doing in the servlet is just returning
status 200 in the response, nothing more. Does the new io
Rewhat new
Hi,
We are looking for 64 bit Tomcat 6.x version to be run as service on
Windows Server. We did find many solutions on the web, but is there any
official version from Apache group?
Indudhar
-
To start a new topic, e-mail:
The official Apache-solution is imho
- get the sources at
http://ftp.hosting-studio.de/pub/linux/apache/tomcat/tomcat-6/v6.0.14/src/apache-tomcat-6.0.14-src.zip
- compile it on your 64bit-platform using a 64bit-JDK using the
provided Ant-build-script
Cheers
Gregor
--
what's puzzlin' you, is
On 02/01/2008, at 3:43 PM, Gregor Schneider wrote:
The official Apache-solution is imho
- get the sources at
http://ftp.hosting-studio.de/pub/linux/apache/tomcat/tomcat-6/v6.0.14/src/apache-tomcat-6.0.14-src.zip
- compile it on your 64bit-platform using a 64bit-JDK using the
provided
arfgl... must still have some alcohol in my brains from the last party...
indudhar:
java byte-code is always the same on any platform.
the only thing what you need is a 64-bit-java-runtime.
having this, you can just run the precompiled java-bytecode which
*should* use the 64bit-benefits (like
From: Gregor Schneider [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat 6.x for 64 bit OS
- compile it on your 64bit-platform using a 64bit-JDK using the
provided Ant-build-script
That would be a waste of time, since pure Java programs are completely
platform independent, and, other than the
good pointcan you display for us the Directory configuration in httpd.conf
e.g. something like
#assume you do not have mod_auth_sspi
http://sourceforge.net/projects/mod-auth-sspi/
Directory /home/bob/apache2/htdocs
Options Indexes FollowSymLinks
AllowOverride AuthConfig
Order allow,deny
From: Shlomi Tsur [mailto:[EMAIL PROTECTED]
Subject: Tomcat 6's nio protocol is slower than the regular
HTTP/1.1protocol
Does the new io really slower then the regular protocol?
Yes; read this:
http://marc.info/?l=tomcat-userm=119635696312254w=2
- Chuck
THIS COMMUNICATION MAY CONTAIN
The OP was asking about running Tomcat as a service on a 64-bit Windows
box, which requires a 64-bit version of the launcher (tomcat6.exe) and
service wrapper (tomcat6w.exe); these are not Java programs
Thats right Chuck. I did find something here.
From: Indudhar Devanath [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat 6.x for 64 bit OS
But I couldn't find anything for Tomcat 6.x
Filip H put 64-bit 5.5 versions of procrun* here:
http://svn.apache.org/viewvc/tomcat/connectors/tags/tc5.5.x/TOMCAT_5_5_2
5/procrun/bin/amd64/
(But watch out
Mohan2005 schrieb:
Question 02
Recently we have made our jboss servers j2ee compliant, earlier it was not.
Earlier we used the Apache front end to render all static pages such as
image files, php files etc...
Now we cannot do that, AS FAR AS WE KNOW, as j2ee does not allow it. So we
Hi,
I have a series of relatively high transaction volume tomcat servers
which are sporadically hitting thread issues. We run with with tomcat
4.1.27 at the current time. The behaviour we notice is after several
days of around one hundred thousand transactions our tomcat instances
hang with the
Thank you very much.
We will try this, and inquire further if we run into complications.
On Question Once;
To increase maximum thread limit for AJP 1.3 on jboss's server.xml
Is it MaxThreads or MaxProcessors please ?
Thanks and Regards
Mohan
Rainer Jung-3 wrote:
Mohan2005 schrieb:
From: Mohan2005 [mailto:[EMAIL PROTECTED]
Subject: Re: clarification of server.xml settings for AJP 1.3
Thread Limit
on jboss side server.xml file, we wish to increase the
maximum THREAD count for the AJP 1.3 connector port 8009;
Which parameter is used to do this ?
What do the docs
Hi Paul,
Paul Beattie schrieb:
Hi,
I have a series of relatively high transaction volume tomcat servers
which are sporadically hitting thread issues. We run with with tomcat
4.1.27 at the current time. The behaviour we notice is after several
days of around one hundred thousand
I don't know much about your project, but based on your question
Facelets might be easier than plain JSF for handling your SSI.
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Good CallIf you can upgrade to TC 6 you can use this shared threadPool (being
mindful that you need to configure before Connector)
http://tomcat.apache.org/tomcat-6.0-doc/config/executor.html
In any event the statement of taking tomcat out of the loop requires
clarification
thank you. we will look into this.
Caldarale, Charles R wrote:
From: Mohan2005 [mailto:[EMAIL PROTECTED]
Subject: Re: clarification of server.xml settings for AJP 1.3
Thread Limit
on jboss side server.xml file, we wish to increase the
maximum THREAD count for the AJP 1.3 connector
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Subject: RE: Tomcat status 75 error
Good CallIf you can upgrade to TC 6 you can use this shared
threadPool (being mindful that you need to configure before Connector)
http://tomcat.apache.org/tomcat-6.0-doc/config/executor.html
Don't do that.
syg6 wrote:
Is there anywhere in the server.xml (or somewhere else?) where I can
increase the maximum file size that Tomcat can serve?
There is no such limit. There were some bugs around the 2GB mark but I
believe these have all since been resolved.
Mark
Mariano wrote:
Please any idea ?.
Try looking at how the DataSourceRealm does it.
http://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk/java/org/apache/catalina/realm/DataSourceRealm.java
Mark
-
To start a new topic, e-mail:
Hi,
Is there a way to change the Connector element in server.xml without
manually editing the file? Could we, for example, change the
CATALINA_OPTS line using a script or C code to choose whether to use
HTTP or HTTPS, the file path to the keystore and keystore password,
and whether or not the
Hi,
I have some applications running under a Tomcat installation set up in this way:
[load balancer on port 80] --- [Apache server on port 5001] -- [Tomcat server
on port 7001]
One of the Tomcat applications sends a redirect to Apache because there is a
welcome-file directive. However, the
Connector attribute proxyPort should fix the inclusion of the port
number in tomcat generated urls.
--David
Julian Dunn wrote:
Hi,
I have some applications running under a Tomcat installation set up in this way:
[load balancer on port 80] --- [Apache server on port 5001] -- [Tomcat server
Hi Anna,
Anna Nhan schrieb:
Hi,
Is there a way to change the Connector element in server.xml without
manually editing the file? Could we, for example, change the
CATALINA_OPTS line using a script or C code to choose whether to use
HTTP or HTTPS, the file path to the keystore and keystore
Thanks Rainer!
I will try out your advice right away.
Anna
At 04:37 PM 1/2/2008, you wrote:
Hi Anna,
Anna Nhan schrieb:
Hi,
Is there a way to change the Connector element in server.xml without
manually editing the file? Could we, for example, change the
CATALINA_OPTS line using a
Hi Julian,
Julian Dunn schrieb:
Hi,
I have some applications running under a Tomcat installation set up
in this way:
[load balancer on port 80] --- [Apache server on port 5001] --
[Tomcat server on port 7001]
One of the Tomcat applications sends a redirect to Apache because
there is
Are there any known issues when using the Apache HttpClient to send
https requests to Tomcat running with tcnative-1.dll? Perhaps different
SSL stacks causing issues?
The issue we are seeing is duplicate messages: our HttpClient sends just
one copy of the message (an https request), but on the
On Wed, Jan 2, 2008 at 4:48 PM, Rainer Jung [EMAIL PROTECTED] wrote:
I have some applications running under a Tomcat installation set up
in this way:
[load balancer on port 80] --- [Apache server on port 5001] --
[Tomcat server on port 7001]
One of the Tomcat applications sends a
Hi Julian,
Julian Dunn schrieb:
How do you connect Apache to Tomcat? If you are using mod_jk, the
module gets the port it sends to Tomcat via ap_get_server_port(),
which in turn depends on UseCanonicalName. If this is set to On,
the port is also determined from the port in ServerName.
I'm
I haven't had to do anything special when using the ISAPI Redirectory on IIS
6 (apart from the usual Web Services extension magic), so it definitely
works in the default worker process isolation mode.
My patched version does utilise Windows 2003 Server specific APIs when used
on IIS 6 (to do
Binary builds of 1.2.26 for various platforms are available now from
http://sourceforge.net/projects/timsjk/
These include builds of a patched IIS 5/6 ISAPI Redirector that support
HTTP 1.1 chunked encoding (and thus keep-alives on dynamic content).
cheers
tim
-Original Message-
From:
Rainer Jung [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi Julian,
Julian Dunn schrieb:
How do you connect Apache to Tomcat? If you are using mod_jk, the
module gets the port it sends to Tomcat via ap_get_server_port(),
which in turn depends on UseCanonicalName. If this is
Thanks Marcus.
Here's my filter setup. I just created it fresh in netbeans so I'd be
surprised if there is a problem.
I woke up this morning, realizing I forgot to turn off invoking the
resource. Would that matter?
filter
filter-nameUserFilter/filter-name
the patch has been applied and will go into 6.0.16
Filip
Chris Pettitt wrote:
Filip,
Do you know which release this patch will go into? Is there a bug
number I can watch?
Thanks,
Chris
On Dec 19, 2007 9:13 AM, Chris Pettitt [EMAIL PROTECTED] wrote:
Filip,
Your patch has fixed the chunk
This problem occurs on tomcat 5.5 but not tomcat 5.
I'm trying to figure out why there's a class casting on ConsoleHandler.
Unfortunately I could not find the source code on ClassLoaderLogManager, so
I don't exactly know what's wrong!
Is there a major update of org.apache.juli in tomcat 5.5?
I would like to have separate log for each context, like I have done in
tomcat5. But similar configuration doesn't seem to work under tomcat 5.5?
Is there a new syntax for the Logger tag?
Context docBase=. swallowOutput=true
Logger className=org.apache.catalina.logger.FileLogger
53 matches
Mail list logo