Not so naive, it was one of my first shots.
Unfortunately, no domain or AD control, no special perms on the file.
It is my process the tomcat runs in and I can open the jar easily...
Rather strange is not it?
--Josef
--- [EMAIL PROTECTED] wrote:
Maybe I'm too naive here but what are the
Guernsey, Byron (GE Consumer Industrial) wrote:
The NULL factory for ajp13*ajp13 looks odd to me...but that seems like
an error create 1 worker and I didn't expect it to cause no workers to
be available. I don't really want to run this with Apache 1.3 long
term, but I understood it should
I'm a bit lost using doPost() to react to a curl test
post with an xml file, either post or put.
http://curl.haxx.se/docs/httpscripting.html
Seemingly I need to use commons fileupload for
an RFC 1867 post
curl -F [EMAIL PROTECTED] -F press=OK [URL]
which seems overly complex for a
Not clear what you want.
Send me the details
Where is your static document ( The directory )
How do want to access it ? ( the URL )
Which version of TOMCAT YOU ARE USING
Send me your server.xml
Regards
Guru
-Original Message-
From: J. Ryan Earl
Hi,
To my knowledge, you have no way to access GenericPrincipal object except if
to develop your own realm. In general, you do not need to reach Principal,
you have to define security constraint, or roles, authentication methods...
-Message d'origine-
De : [EMAIL PROTECTED]
Does Tomcat support PHP scripting? Ive tried installing PHP 4 5 but with
no joy.
I know Apache 2 supports PHP but what setup would I need to support
JSP/Servlets and PHP?
Hope you can help?
-
To unsubscribe, e-mail: [EMAIL
Dear Cameron,
You will need to use Apache with PHP, and use the Tomcat/ Apache
connector so that apache pushes the requests through to tomcat
(jkmod)
Effectively you will have 2 seperate applications, and use the URLs/
browser requests to talk with each other
Andrew
Cameron Sim wrote:
Hi,
Yes, it is possible, however, I had a very bad experience with it,
especially PHP4 (I think this is not maintained anymore).
I can not find (quickly) a web site that explains how to set it up, but
search for phpsrvlt on the net.
The principle is based on a servlet that catches the *.php and
Thanks mate, found some good pages.
From: david joffrin [EMAIL PROTECTED]
Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org
To: tomcat-user@jakarta.apache.org
Subject: RE: Tomcat with PHP?
Date: Tue, 19 Apr 2005 09:11:02 +
Hi,
Yes, it is possible, however, I had a very bad experience
Thanks mate.
From: andrew [EMAIL PROTECTED]
Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org
To: Tomcat Users List tomcat-user@jakarta.apache.org
Subject: Re: Tomcat with PHP?
Date: Tue, 19 Apr 2005 11:04:41 +0200
Dear Cameron,
You will need to use Apache with PHP, and use the Tomcat/
If you have successfully deployed a ROOT.war to TC 5.5.4 please shout now,
with your platform, JDK and any extra config you may have changed.
Thanks
Euan
-Original Message-
From: Euan Guttridge [mailto:[EMAIL PROTECTED]
Sent: 18 April 2005 16:35
To: 'Tomcat Users List'
Subject: RE:
Cameron Sim wrote:
Thanks mate.
From: andrew [EMAIL PROTECTED]
Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org
To: Tomcat Users List tomcat-user@jakarta.apache.org
Subject: Re: Tomcat with PHP?
Date: Tue, 19 Apr 2005 11:04:41 +0200
Dear Cameron,
You will need to use Apache with PHP, and
Using commons-fileupload results in the same problem. I looked at the
source, and the commons class FileUploadBase gets its input stream from
the HttpServletRequest (as you would expect :) and hence I get the same
errors/problematic behaviour. Whatever is going wrong would appear to
be either
In Administrative Tools, go to Local Security Policy
and navigate to Local Policies User Rights
Assignment. This lists all the assignable user
rights. At the very least, this account will need to
be assigned to Logon On as a Service. Don't mess
around with the Net Logon service. The only
Guru,
Earl isn't the only one trying to do this. Here are the details for my
attempts which may or may not be similar to his:
- Running TC 5.5.8, JVM 1.5.0_02-b09 under Win XP Pro SP2
- I have a set of static pages (starting with index.htm) stored at
C:\www\aegean
-
Hi,
I'm having problems using Tomcat with SSL Protocol.
I setup Client Authentication in Tomcat administration tool.
When i try to use access a page that needs a certificate, i receive error DNS
Error cause the site is unreachable.
Is there anyone who knows how to solve this problem.
Thanks.
Are you using struts?
Make sure your controller element tempDir property value matches that of the
web apps context element's workDir. The workDir is where uploaded files over a
certain size (256KB is the default I think) will be written prior to their
final destination. Perhaps Jboss has a
Hello,
In your aegean.xml try
?xml version=1.0 encoding=UTF-8?
Context
path=/aegean docbase=c:\www\aegean
reloadable=true
WatchedResourceWEB-INF/web.xml/WatchedResource
/Context
and then stop and start tocmat.
Go to the manager application and see
How did you create the certificate ? And with what details ?
-Original Message-
From: Marcos Ferreira [mailto:[EMAIL PROTECTED]
Sent: 19 April 2005 13:39
To: tomcat-user@jakarta.apache.org
Subject: Tomcat and SSL
Hi,
I'm having problems using Tomcat with SSL Protocol.
I setup Client
Hi,
I'm running a home made application on tomcat 4.1.31 on a HP-UX 11i box
with the HotSpot JVM 1.4.2_02. I'm using a Coyote HTTP/1.1 Connector.
The heap size of the tomcat process grows until it reachs the value I
set with the -Xmx parameter. At this point I have some
java.lang.OutOfMemory
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/http.html
Set enableLookups to false.
Doug
- Original Message -
From: Marcos Ferreira [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Sent: Tuesday, April 19, 2005 8:39 AM
Subject: Tomcat and SSL
Hi,
I'm having problems using
Hi,
I am new to this and Tomcat and Java are not my specialties! What I
need to accomplish is an install the Tomcat5 service with a log on
account in a silent and unattended mode. The vendor that has supplied
the Tomcat5 install has StartMode = jvm, so I am unable to use the -User
command.
Guru,
I got it! Forget about aegean.xml! The key us server.xml! I was able to move
my ROOT directory by adding the following to my Host container in
server.xml:
Context path= docBase=c:/www reloadable=true
WatchedResourceWEB-INF/web.xml/WatchedResource
/Context
Then all of my
http://jakarta.apache.org/commons/fileupload/using.html
says
// Create a new file upload handler
DiskFileUpload upload = new DiskFileUpload();
// Set upload parameters
upload.setSizeThreshold(yourMaxMemorySize);
upload.setSizeMax(yourMaxRequestSize);
upload.setRepositoryPath(yourTempDirectory);
I created the certificate using keytool and choosed JKS type.
I'm using false to enableLookups attribute.
Thanx
- Original Message -
From: Raghupathy,Gurumoorthy [EMAIL PROTECTED]
To: 'Tomcat Users List' tomcat-user@jakarta.apache.org
Sent: Tuesday, April 19, 2005 9:46 AM
Subject: RE:
The documentation for the PersistentManager has contained the following warning
since Tomcat 4.1. Is it really still considered experimental?
WARNING - Use of this Manager implementation has not been thoroughly tested,
and should be considered experimental!
Thanks.
Considering there are a number of issues with it (that I provided
patches for a while back that were not accepted) I'd say it should be.
Also session passivation and activation listeners are not called...
Ron Crayton wrote:
The documentation for the PersistentManager has contained the following
Hi,
I try to build de source of Tomcat 5.5.9 in Solaris 9 with j2sdk1.4.2_05
and Ant 1.6.2. I found this error in the building:
Thanks for any help.
build-catalina:
[echo] == Building: catalina in
/development/developer/tomcat/jakarta-tomcat-5/build
flags:
flags.display:
We would like to have a single Tomcat instance running as a web server
that allows requests received on one port to go to one context and
requests on another port to go to a second context. Is there a way to
do this? We tried putting the following in our server.xml, but requests
meant for the
How are you accessing tomcat ?
http://localhost:7000/
http://localhost:6000/
???
-Original Message-
From: Gary Hirschhorn [mailto:[EMAIL PROTECTED]
Sent: 19 April 2005 15:34
To: tomcat-user@jakarta.apache.org
Subject: Multiple services in single Tomcat instance
We would like to have
Hello,
I am trying to setup tomcat in a simple failover cluster. I have
configured tomcat to bind to the virtual IP address thats setup in
cluster suite, but whenever I start the service it does not open any of
the ports its supposed to. I get one little blip in my catalina.out
file, which
Hi,
Plz Help me regarding this under mentioned query.
In my application i am using Apache Tomcat and Real-time Application
server.give me any suggestion how to start External
Server/Application automatically whenever i start apache tomcat
server.So i want to know the procedure for running
At 05:29 PM 4/18/2005, you wrote:
here is one...
http://marc.theaimsgroup.com/?l=tomcat-userr=1w=2
On 4/18/05, John Najarian [EMAIL PROTECTED] wrote:
Is there an archive of the questions and replies? If so where? What
is the URL.
Thank you,
John Najarian
Thanks! I was looking for this a
We are using all of the following URL formats to access Tomcat. There
is a singe IP address on the machine, and a single domain name
registered for the IP address.
http://localhost:6000/app6000
http://localhost:7000/app7000
http://machinename.hostname.com:6000/app6000
Hello Group,
First time user.
I am using Tomcat 4.1.30 to serve (among other things) plain text files with
.dat and .las extensions. I have added the following lines to the
conf/web.xml file:
mime-mapping
extensionlas/extension
mime-typetext/plain/mime-type
/mime-mapping
Huh? The Sun 1.3, 1.4, and 5.0 JVMs use all 32 of
the CPUs on our
systems quite nicely. What may be going on is that
some administrator
has set Windows' CPU affinity to restrict all
threads of a given
process to a single CPU.
- Chuck
We have a recent and up2date Linux Redhat
Configure the PersistenceManager as your session manager
hang zhao wrote:
Hi, everyone
I am trying some configuration with my small tomcat
cluster (2 tomcats, 1 apache, connected with mod_jk2
as load balancer).
The problem is that I want to use a shared database
(Mysql) to do session replication
This bloat appears to be related to fonts. The files all seem to
refer to various fonts.
On 4/18/05, Dakota Jack [EMAIL PROTECTED] wrote:
I am getting a major build up in my temp directory:
c://application/j2se
c://application/server
c://application/server/webapps/ROOT
From: Chris Hyzer [mailto:[EMAIL PROTECTED]
Subject: Re: Running Tomcat on multiple processors on Windows 2003
I thought Java used native threads by default, or at
least green threads on top of native threads
(one-to-one), so Im not sure how this fits in...
The green thread mechanism is
Hi,
I am using Tomcat 5.5 and having problems with the DataSourceRealm
finding the data source in the JNDI.
Here is the configuration of my context.xml,
Realm className=org.apache.catalina.realm.DataSourceRealm debug=99
dataSourceName=jdbc/myDB
userTable=users
On the web.xml you have also to write down after ther welcome files:
resource-ref
res-ref-namejdbc/myDB/res-ref-name
res-typejavax.sql.DataSource/res-type
res-authContainer/res-auth
-- optional.if you like --
res-sharing-scopeShareable/res-sharing-scope
I've installed Tomcat on a Linux fedora box but am unable to access it from
a windows xp home edition box. I've found the IP address for the Linux box
but when I type that in with the :8080 at the end of the address on the XP
box it eventually returns that the connection was refused.
is there
Thanks for the reply, I actually figured it a few hours later. I was trying
to do 2/ in your list. I added a PICS.xml and a DOCS.xml under the
${CATALINA_HOME}/conf/Catalina/localhost/ directory which gave me the PICS
and DOCS contexts. ie:
[EMAIL PROTECTED] localhost]$ pwd
Hi,
Thanks for the quick response. I have the resource-ref defined in my
web.xml and it still doesn't work.
Throws me the same error.
Name jdbc not bound in this context
Thanks
Upendra
-Original Message-
From: Lorenzo Jiménez [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 19,
First try to ping to your tomcat machine from xp machine
Then try to telnet to your tomcat machine from xp machine
c:\telnet machineip 8080
See if you can connect.
To cross check send me the output of following details
ON xp Machine :ipconfig
ON linux Machine:
Did you manage to get it right ?
I would recommend that you use lower case context path name
Regards
Guru
- Original Message -
From: J. Ryan Earl [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Tuesday, April 19, 2005 6:56 PM
Subject: RE: Need help exporting
Is iptables running?
ps ax
If yes your firewall may be blocking the port. You will need to add port
8080 to the firewall.
Doug
- Original Message -
From: Gurumoorthy [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Tuesday, April 19, 2005 2:28 PM
Subject: Re:
Greetings,
I need some help on testing. Please advise which connector i should use for
apache 2.044 and tomcat 4.1.24. If possible, a link to a installation guide
will be helpful.
Thanks
-
Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check
This is my context.xml
?xml version=1.0 encoding=UTF-8?
Context docBase=C:\Apps\NB41\Registro path=/registry
Logger className=org.apache.catalina.logger.FileLogger prefix=registry.
suffix=.log timestamp=true/
Resource name=jdbc/egistry scope=Shareable type=javax.sql.DataSource/
Lorenzo Jimnez wrote:
This is my context.xml
Resource name=jdbc/egistry scope=Shareable type=javax.sql.DataSource/
If this is a direct copy/paste, you have a mismatch between the
names above and below, but that doesn't matter because
ResourceParams name=jdbc/registry
:: this *isn't* the way
Hi Tim,
try serving the file through a servlet or jsp, or use a filter mapped to
*.las and *.dat, and use response.setHeader(Content-Disposition,
inline; filename=file.txt), and response.setContentType(text/plain).
Works for me...
Trond
Tim Sodergren wrote:
Hello Group,
First time user.
I am
The workers.properties is identical in format to a version that is
working just fine with Apache 2.
Its starts with the usual..
ps=/
worker.list=jkstatus,gealnx5:12089,...
worker.jkstatus.type=status
worker.gealnx5:12089.type=ajp13
worker.gealnx5:12089.host=...
Hi
Thanks for the suggestion. It works now. As Hassan had suggested, the resource
params are listed as XML attributes in for Tomcat 5.5.
Thanks again,
-Original Message-
From: Lorenzo Jiménez [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 19, 2005 4:17 PM
To: Tomcat Users List
I can ping to the Linux box, but not telnet.
here is the ifconfig:
[EMAIL PROTECTED] ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:01:02:01:31:03
inet addr:192.168.2.188 Bcast:192.168.2.255
Mask:255.255.255.0
inet6 addr: fe80::201:2ff:fe01:3103/64 Scope:Link
I've never done filters before. I know how to do the filter-mapping from
web.xml and know Java programming but not how to make filters for Tomcat.
Could you point me in the right direction?
-Original Message-
From: Trond G. Ziarkowski [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 19,
Hi,
I'm trying to configure Tomcat5 with a JNDI resource for a JDBC
connection that I would like to be specific to the application. In
other words, I don't want to have to add anything to server.xml. I
keep reading where this is possible, but haven't seen any clear examples
of it. My
I do not see iptables running under either my acount or root.
On Tue, 2005-04-19 at 15:43 -0400, Parsons Technical Services wrote:
Is iptables running?
ps ax
If yes your firewall may be blocking the port. You will need to add port
8080 to the firewall.
Doug
On 4/19/05, Greg Baynham [EMAIL PROTECTED] wrote:
I've installed Tomcat on a Linux fedora box but am unable to access it from
a windows xp home edition box. I've found the IP address for the Linux box
but when I type that in with the :8080 at the end of the address on the XP
box it eventually
I'm coming in late to this thread, but the word Telnet caught my eye. I just
debugged a Telnet issue today by running Ethereal and seeing what was going on
at the network level. Maybe something like that will work for you?
Ethereal is great, and can be found at http://www.ethereal.com//
Jay
I have a tomcat server with multiple copies of our web application
running. We are running into what seems to be a hard-coded limit on the
number of threads available to the Tomcat application.
I have added code to our servlet class which prints out the number of
active threads whenever I
Hi,
Somebody has making the building of Tomcat 5.5.9 source in Solaris 10 ?.
In this moment, i using jdk1.5.0_02 and ant 1.6.2. This works fine in
Solaris 9 for the source building, but not in Solaris 10.
Thanks.
-
To
Please help
Computer: UNIX Sparc 2.9
Apache 2.0.54
Tomcat 5.0.28
Please tell me what connector to use. I see the jk2 is in history. The last
version it supports is 2.0.43.
I downloaded the jakarta-tomcat-connectors-1.2.10-src.tar, it is difficult
to find a clear instruction for the build
Yea, I accidently hit the send button on the last email before I was done
writing it, but it's working. I just had to create two context files under
conf/Catalina/localhost/
-ryan
-Original Message-
From: Gurumoorthy [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 19, 2005 1:33 PM
To:
Chris,
When running top you can toggle displaying individual threads by hitting
H.
Also, you can see threads using ps with the -m switch.
Jim T.
-Original Message-
From: Chris Hyzer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 19, 2005 11:40 AM
To: tomcat-user@jakarta.apache.org
On Tue, Apr 19, 2005 at 03:18:22PM -0600, Tim Sodergren wrote:
: I've never done filters before. I know how to do the filter-mapping from
: web.xml and know Java programming but not how to make filters for Tomcat.
: Could you point me in the right direction?
Sure -- it may be confusing because
Thanks. That's useful information, but unfortunately it didn't solve my
problem. The account I'm trying to use was already mapped to the Logon
as a Service right. I looked at all other rights that didn't have
either the account or its group mapped to them, and I couldn't see any
that seemed to
For each app you have running you will need a context element in a xml
file. This should reside in the war. In this file you can setup the
resource which will be available only to that app. This will still give
you pooling. If you follow the instructions on the Tomcat site for the
JDBC How-To that
Chris,
When running top you can toggle displaying
individual threads by hitting
H.
Also, you can see threads using ps with the -m
switch.
Jim T.
OK thanks, that is useful for visibility into threads
vs processes. But I would think that if the CPU usage
in top is 50% when one tomcat
From: Chris Hyzer [mailto:[EMAIL PROTECTED]
Subject: RE: Running Tomcat on multiple processors on Windows 2003
... so if we can get to 100% CPU usage on both CPUs with
one tomcat running under load, that would be great.
How about trying a simple two-thread Java program, where each thread
I am using basic authentication in my application and I need to create
logout link in my JSP that does LOGOUT.
It seems session.invalidate() doesn't work.
How can I do this? Please help me!
Thanks
Otgo
-
To unsubscribe,
I am using some static fields in my beans, but when I am reloading
application the blocks were referenced by static fields still stays in
memory. I detected these using a profiler tool. I wrote a context listener
to free these blocks on destroy. But it doesn't help?
So what can I do? Please help
Tomcat hangs intermittently (1 to 10 days) with the following message in
catalina.out
20/04/2005 13:48:09 org.apache.tomcat.util.threads.ThreadPool logFull
SEVERE: All threads (250) are currently busy, waiting. Increase maxThreads
(250) or check the servlet status
We are running tomcat 5.5.7
Greg Baynham wrote:
I can ping to the Linux box, but not telnet.
Nowdays NOBODY enables Telnet, unless they are totally sure the network
is safe. And with the presence of freeware SSH clients, like OpenSSH on
Linux and PuTTY on Windows, nobody has to run Telnet, even on safe networks.
Try
73 matches
Mail list logo