Hi,
I have a virutual host in a tomcat 6 server, example, myHost, now I'd like
myHost to have its own logging like catalina.out, etc, not missing with
other hosts in the same server, possible? thanks,
Angelo
--
View this message in context:
I found a solution...
Instead of setting this in my web.xml:
servlet
servlet-namecgi/servlet-name
servlet-classorg.apache.catalina.servlets.CGIServlet/servlet-class
init-param
param-namedebug/param-name
param-value6/param-value
/init-param
init-param
ericp56 wrote:
I have the following declaration in my class:
@PersistenceContext(unitName = CallScheduler)
EntityManagerFactory emf;
If I compile the code in NetBeans/Glassfish, emf is instantiated.
If I compile the code in Eclipse/Tomcat, emf is *not* instantiated - no
errors, other than a
David Smith wrote:
Nope I do it on my production server and it works like a charm.
Just have to add address=127.0.0.1 to your AJP connector in server.xml
to force it to bind to the loopback.
--David
And in fact if you don't configure any workers, I think there's a
builtin default
I created a test app of my own and was able to prove that the cluster is
working correctly. Its the vendor app that is having problems. I have
referred the issue back to them.
Here is the app I used:
index.jsp
%@ page language=java import=java.util.* session=true
Shepherd, Mathew (IST) wrote:
Thankyou! And for your prompt reply. Now to get it working...
why would you want to use the tomcat-balancer app? if you are looking
for load balancing, this is not really the route to take.
take a look at mod_jk or mod_proxy_balancer used with httpd
Filip
Hi there,
I tries to make my Tomcat 5.5.25 standalone to only communicate via a
certain encryption. For test I altered the server.xml:
Connector port=8443 maxHttpHeaderSize=8192
maxThreads=150 minSpareThreads=25 maxSpareThreads=75
enableLookups=false
I'm wanting to register a custom authenticator to send out and handle
a custom WWW-Authenticate header (similar to what's described
here[1]). I gather that I can implement AuthenticatorBase for this
purpose but I'm curious about registering it. The docs[2] suggests
registering it by adding the
That's good to know.
I think the basis of my problem is Tomcat 6 on it's own doesn't support
this?
Eric
--
View this message in context:
http://www.nabble.com/%40PersistenceContext-injection-works-on-other-app-server%2C-not-Tomcat...-tp18350591p18360896.html
Sent from the Tomcat - User
From: Tim Williams [mailto:[EMAIL PROTECTED]
Subject: Custom Authentication
The docs[2] suggests registering it by adding the entry
to the Authenticators.properties file, which, I gather,
requires unjaring catalina.jar.
Put your authenticator config in:
I'm having problems with the jsp includes directive where the jsp is in a
sub-directory.
I have 2 subdirectories:
/admin
/segments
index.jsp contains the line %@ include file=/segments/setup.jsp % which is
fine
admin/index.jsp also contains the line %@ include file=/segments/setup.jsp
%
This
Hi,
I get the following error when I publish my web application to debian
server running apache-tomcat 5.5.17:
java.lang.IllegalArgumentException: Value is no String
(class=java.lang.Integer, value=4) and component _idJsp46:smUnidadewith
path: {Component-Path : [Class:
On Wed, Jul 9, 2008 at 6:45 AM, Andrew Connick [EMAIL PROTECTED] wrote:
I'm having problems with the jsp includes directive where the jsp is in a
sub-directory.
I have 2 subdirectories:
/admin
uh-oh :-)
I suspect the issue is that Tomcat now sees sub-directory /admin as a
separate
Thanks *a lot* for the suggestion, but I was not able to find a file with that
pattern anywhere on my system.
I tried again to load a few jsp pages, including a very simple one, but they
all failed, after what seemed like 5 minutes of trying, with 503. The failed
requests didn't add anything
Andrew Connick wrote:
I'm having problems with the jsp includes directive where the jsp is in a
sub-directory.
I have 2 subdirectories:
/admin
/segments
index.jsp contains the line %@ include file=/segments/setup.jsp % which is
fine
admin/index.jsp also contains the line %@ include
On Wed, Jul 9, 2008 at 9:20 AM, Caldarale, Charles R
[EMAIL PROTECTED] wrote:
From: Tim Williams [mailto:[EMAIL PROTECTED]
Subject: Custom Authentication
The docs[2] suggests registering it by adding the entry
to the Authenticators.properties file, which, I gather,
requires unjaring
From: Sérgio Vieira Rolanski [mailto:[EMAIL PROTECTED]
Subject: Problem publishing application to debian with tomcat 5.5.17
java.lang.IllegalArgumentException: Value is no String
(class=java.lang.Integer, value=4) and component
_idJsp46:smUnidadewith
The above error message does not look
What are the consequences of putting shared web resources in the common
folder vs. the shared folder?
I'm not sure how to articulate the consequences of putting shared resources
in the common folder.
The following below is in the documentation, but is it enough to force
another QA cycle on
On 9 Jul 2008 at 11:57, Edward Song wrote:
What are the consequences of putting shared web resources in the common
folder vs. the
shared folder?
I´m not sure how to articulate the consequences of putting shared resources
in the common
folder.
The following below is in the
Steve Ochani wrote:
On 9 Jul 2008 at 11:57, Edward Song wrote:
What are the consequences of putting shared web resources in the common folder vs. the
shared folder?
I´m not sure how to articulate the consequences of putting shared resources in the common
folder.
The following below is
Date sent: Wed, 09 Jul 2008 12:42:34 -0400
From: David kerber [EMAIL PROTECTED]
Subject:Re: What are the consequences of putting shared web
resources in
the
common folder?
To: Tomcat Users List users@tomcat.apache.org
Send
Thanks guys for replying.
I should of stated that the shared resources were already in the common
folder and have been for quite a while.
It seems to work fine, however, I was looking at my catalina.properties and
the documentation and noticed that maybe the shared resources should be
moved to
If you look at the development of tomcat, you'll see tomcat 6.0.x
actually eliminated the split between shared and common putting all
shared and common jars in the /lib directory. I would guess it's
primarily because no one was using shared. With that in mind, I don't
see any benefit to
Quick update:
I looked farther back in the logs, and WARNING: Unable to open config file
was in the Catalina log all the time back when it worked, so sorry for the bad
steer.
I compared my httpd.conf, working_mod_jk2.conf, server.xml, and web.xml files
to versions on a working server and
This is my java -version from the server running debian:
Java version 1.5.0_14
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
Java HotSpot(TM) Server VM (build 1.5.0_14-b03, mixed mode)
About my Tomcat, I downloaded and used the last 5.5.x and the 6.0.16
versions on both
From: Sérgio Vieira Rolanski [mailto:[EMAIL PROTECTED]
Subject: Re: Problem publishing application to debian with
tomcat 5.5.17
This is my java -version from the server running debian:
O.k., that looks good. Digging deeper into your error messages, there's this
one:
does not have a
Hello Mark Thomas
Thanks for your reply.
I have got some information from my hosting company, my setup is:
Host name=windsor-chamber.co.uk appBase=/home/andrew42/public_html
Aliaswww.windsor-chamber.co.uk/Alias
Context path= reloadable=true docBase=/home/andrew42/public_html
debug=1/
/Host
From: Andrew Connick [mailto:[EMAIL PROTECTED]
Subject: Re: Problems with jsp include files in sub-directories
Host name=windsor-chamber.co.uk
appBase=/home/andrew42/public_html
Aliaswww.windsor-chamber.co.uk/Alias
Context path= reloadable=true
docBase=/home/andrew42/public_html
debug=1/
I believe you mean the System.GetProperty(file.encoding), if that is
the case on my windows computer I get Cp1252 and on my debian server I
get UTF-8. How do I change it to be same on both computers? Should I
use UTF-8, right?
Caldarale, Charles R wrote:
From: Sérgio Vieira Rolanski
From: Sérgio Vieira Rolanski [mailto:[EMAIL PROTECTED]
Subject: Re: Problem publishing application to debian with
tomcat 5.5.17
I believe you mean the System.GetProperty(file.encoding)
It's System.getProperty(), but yes.
on my windows computer I get Cp1252 and on my
debian server I get
Andrew Connick wrote:
Hello Mark Thomas
Thanks for your reply.
I have got some information from my hosting company, my setup is:
Host name=windsor-chamber.co.uk appBase=/home/andrew42/public_html
Aliaswww.windsor-chamber.co.uk/Alias
Context path= reloadable=true
Tim Hunt wrote:
If I comment out the 'Include /etc/httpd/conf/working_mod_jk2.conf' line from
httpd.conf and restart, it serves simple .jsp pages as text (not processed)
Storing httpd content and Tomcat content in the same directory structure is
asking for a world of security pain (generally
Hi,
Tomcat version 5.5.26 running on Linux. I'm trying to run 2 web applications
in the same host but I haven't been able to figure out how to make it work
right. If I only put one of the web applications in the webapps folder
(either of them) then that single web application will work properly.
From: Elliot Huntington [mailto:[EMAIL PROTECTED]
Subject: How to configure multiple web applications in a single host
If I only put one of the web applications in the webapps
folder (either of them) then that single web application
will work properly.
What exactly do you mean by put one of
Hi,
I am starting Tomcat through one of my C++ programs on
windows 2003 server. I am using Bootsrap
org.apache.catalina.startup.Bootstrap.main() method and
pass 'Start' and 'Stop' as arguments.
The documentation read mentioned that this will start
tomcat in daemon mode. However,
Thank you for your quick response.
When I say put one of the web applications in the webapps folder I mean
that if the webapps folder looks like either:
$CATALINA_HOME/webapps/
$CATALINA_HOME/webapps/A/
$CATALINA_HOME/webapps/A/...
or
$CATALINA_HOME/webapps/
$CATALINA_HOME/webapps/B/
On 9 Jul 2008 at 17:03, Suma Rakesh wrote:
Hi,
I am starting Tomcat through one of my C++ programs on
windows 2003 server. I am using Bootsrap
org.apache.catalina.startup.Bootstrap.main() method and
pass 'Start' and 'Stop' as arguments.
Hmm OK, I would have used the startup.bat and
Suma Rakesh [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
I am starting Tomcat through one of my C++ programs on
windows 2003 server. I am using Bootsrap
org.apache.catalina.startup.Bootstrap.main() method and
pass 'Start' and 'Stop' as arguments.
You need to pass in
hi,
this question might not be totally tomcat related, sorry for that. I'd like
to let a web application pointing at something like a subdomain or alias,
like this:
www.test.example.com
any tips/directions on how to achieve this ? thanks.
Angelo
--
View this message in context:
From: Elliot Huntington [mailto:[EMAIL PROTECTED]
Subject: Re: How to configure multiple web applications in a
single host
$CATALINA_HOME/conf/Catalina/localhost/A.xml
?xml version=1.0 encoding=UTF-8?
Context path= docBase=${catalina.home}/webapps/A
ResourceLink name=users
From: Angelo Chen [mailto:[EMAIL PROTECTED]
Subject: Tomcat 6 virtual hosting and subdomain
I'd like to let a web application pointing at something like a
subdomain or alias, like this:
www.test.example.com
Your question is not phrased well, so I can only guess at what you're asking
for.
Hi people.
I need to deploy a war file in Tomcat 5.5.26
I upload the war, but when uploads finished i have the next error.
What can be wrong ?
(I can deploy in my pc as localhost, but in my ISP don?t work and is the
same .war file )
thanks for any help.
HTTP Status 500 -
type Exception
Looks like your ISP's Tomcat installation is missing some jars .
-Sameer
--- On Thu, 7/10/08, Marcos [EMAIL PROTECTED] wrote:
From: Marcos [EMAIL PROTECTED]
Subject: Error HTTP 500 in war deployment
To: Tomcat Users List users@tomcat.apache.org
Date: Thursday, July 10, 2008, 9:04 AM
Hi
Hi,
We are using JBoss 4.0.5GA. The web server can be accessed using a number of
subdomains, such as:
a.mydomain.com
b.mydomain.com
In a same web browser instance, if a user visits a.mydomain.com, then click
b.mydomain.com in the page, the new page will be a different session.
For
Hi
Myself Raghu, is implementing the JCS for one of my projects.Here I use
the concept of RemoteCacheServer and RemoteCacheClient.
When I populate some 1 lakh objects from the client it updates server as
well.My problem is to update the objects from client to server JCS
maintains only ONE
45 matches
Mail list logo