Chris;
This example is not mean that put your database architecture on top of this :)
Just shows that container injects the resource if you use container aware class.
Otherwise stick with JPA :)
Thanks;
--Gurkan
From: Christopher Schultz
To: Tomcat Users L
> From: MB [mailto:digital.disc...@gmail.com]
> Subject: Re: basic 2 virtual hosts configuration
>
> > >
> >
> > Why have you declared the above? Where in the doc does it say you
> > should do that?
>
> Actually Tomcat did that.
Tomcat did what? Inserted a element inside one of your s?
Pl
> From: Robinson, Eric [mailto:eric.robin...@psmnv.com]
> Subject: Setting the Right Amount of Memory
>
> If tomcat is not throwing OutOfMemory errors and system responsiveness
> is good, is there really any reason to allocate higher amounts of RAM?
If your heap size is right on the edge of your
> From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov]
> Subject: RE: Multiple Tomcat Instances
>
> And that is the part that clears it up. The users are starting and
> stopping Tomcat via the scripts, not the windows process.
You could install a separate Tomcat service for each us
> From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov]
> Subject: RE: Multiple Tomcat Instances
>
> The doc didn't mention that Tomcat will calculate a "relative"
> reference for files in /lib, a few lines above this quote.
Correct, because Tomcat doesn't. $CATALINA_BASE/lib is sea
> From: peter_f...@blm.gov [mailto:peter_f...@blm.gov]
> Subject: Re: Tomcat 6.0 documentation: is classloading description
> correct?
>
> The docs say in one place that the order is one way (WebApp
> first, then Boot, System and Common, which is as I'd expect)
Please document where it says that
> From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov]
> Subject: RE: Multiple Tomcat Instances
>
> http://tomcat.apache.org/tomcat-6.0-doc/introduction.html ( If read
> the docs literally, there is no README.txt in my CATALINA_HOME )
Nor does the doc actually say there is a README
> From: Marco Castillo [mailto:mabcasti...@vdkit.net]
> Subject: Tomcat unexpected shutdown on Solaris
>
> I have checked all the logs and there is no exception displayed,
> no error, nothing. I look for an error file from java, but there
> is no one. It happens randomly. Sometimes the Tomcat work
>>
>> The problem with the Realm system is its designed with the assumption
>> that tomcat is doing the authentication which is not a valid
>> assumption in an environment where the authentication is seperated
>> from authorization. The entire point of container security is that as
>> a coder I do
Dear List:
I have installed Tomcat 6.0.26 with Java 1.6.0_20 in a Solaris 5.10 OS
virtualized machine. Everything works fine, but unexpectedly Tomcat
shutdowns gracefully. In catalina.out I see the following lines logged:
Jun 16, 2010 7:07:18 PM org.apache.coyote.http11.Http11Protocol pause
INFO:
Hi All,
We have a hardware load balancer terminating SSL requests before making a
plain-text connection with Tomcat. So that all contexts are aware that the
request is actually a secure request, we have implemented the RemoteIpValve
with a LB injected header. This works well for our apps. Howev
Any possibility that the Excel file was modified (e.g. FTP)? I've used
POI in a Tomcat 5.5 webapp on Windows Server and didn't see any problems
like this.
-Terence Bandoian
Jorge Moya wrote:
Hello guys.
For the past couple of days, I've been working as an intern in a local
company and I'd
Hi,
I am facing a problem which can be solved if I can disable copy of
context.xml to conf/Catalina/localhost. Is there some setting to do so?
Thanks for the help.
Regards,
Raj
>From: Christopher Schultz [mailto:ch...@christopherschultz.net]
>Subject: Re: Multiple Tomcat Instances
>
>-BEGIN PGP SIGNED MESSAGE-
>Hash: SHA1
>
>Leo,
>
>On 6/16/2010 1:31 PM, Leo Donahue - PLANDEVX wrote:
>> Tomcat zip dir:
>> C:\ApacheTomcat\apache-tomcat-6.0.26\bin
>> In here I creat
>From: André Warnier [mailto:a...@ice-sa.com]
>Subject: Re: Multiple Tomcat Instances
>
>No wonder.
>I am starting to think that you do this on purpose..
Unfortunately, I'm not.
Everyone always says "read the docs".
There are a lot of things I don’t understand, and other than the docs
mention
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gurkan,
On 6/16/2010 10:44 AM, Gurkan Erdogdu wrote:
> Please define some servlet and try with it,
>
> class TestClass extends HttpServlet{
>
> private @Resource(name="jdbc/TestDb") DataSource datasource;
>
> @PostConstruct
> public
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Leo,
On 6/16/2010 1:31 PM, Leo Donahue - PLANDEVX wrote:
> Tomcat zip dir:
> C:\ApacheTomcat\apache-tomcat-6.0.26\bin
> In here I created a setenv.bat that has the following: set
> "CATALINA_BASE=%C:\Catalina_Base1%"
That is going to be counter-prod
Hi Eric,
Just wondering, what tools do you use to manage all the instances?
Also, what do you use to look for the OutOfMemory in logs? I am
looking at Splunk too.
Andrew
On Thu, Jun 17, 2010 at 12:42 AM, Robinson, Eric
wrote:
>
> We run 150+ instances of tomcat on one server. To optimize memo
On 16/06/2010 10:08, Petr Hracek wrote:
> Sorry my wrong explanation. I have ment the when the request is
> authorized/authenticated by my module how the request should be sent to the
> "proxy" IP address define in apache module:
>
> RewriteRule ^/PAC$ http://192.168.0.23:8080/PACAdmin [P]
> Rewri
On 16/06/2010 23:13, marble4u wrote:
>
> Thank you, that helped a lot! I am new to j2ee... I have a lot of application
> logic that will be used without representation as a jsp or a servlet:
>
> objects that extend TimerTask and register at a timer objekt. they execute
> code which accesses a dat
On 16/06/2010 18:27, Marc Boorshtein wrote:
>>
>> To look at this from a very strict point of view, the whole area is already
>> a bit stretched. Tomcat has this notion of "roles" (because the Servlet
>> Spec has this same notion). But if you look at common authentication
>> schemes, like NTLM or
Thank you, that helped a lot! I am new to j2ee... I have a lot of application
logic that will be used without representation as a jsp or a servlet:
objects that extend TimerTask and register at a timer objekt. they execute
code which accesses a database (importer classes that collect data from
di
On 16/06/2010 17:26, yucca...@live.co.za wrote:
> Please can someone also explain process of ensuring that my dns name
> comes with me to new host?
Seriously now. This mailing list is not an all-in-one personalised help
service for new developers.
Do some research yourself, maybe call some host
On 16/06/2010 20:46, André Warnier wrote:
> j...@rogers.com wrote:
>> i have configured iis7 to work in front of tomcat6 with the isapi
>> redirector. Now, i can see a servlet("my-servlet") i've made under
>> http://localhost/my-servlet. How do i get it to work for my own
>> domain("www.mywebsite.c
When I wrote "CLASSPATH" I meant the classpath value that's built up by the
catalina.sh - I'm well aware that it creates this from clean. I think
you're missing the point; CLASSPATH is used to set the System classloader's
search path, sure - but the question is where that loader fits into the
loade
Use "Class Loader Definitions" carefully,
System - This class loader is normally initialized from the contents of the
CLASSPATH environment variable.
All such classes are visible to both Tomcat internal classes, and to web
applications. However, the standard Tomcat 6 startup scripts
($CATALI
On Wed, Jun 16, 2010 at 12:13 PM, MB wrote:
> I'm sorry Hassan, but I don't have time with a meta-debate right now.
I'm not trying to "debate" anything, I'm trying to understand what
*exactly* you found lacking so it can be improved.
> That the how-to didn't work out for me is proof enough a mo
Hi.
Just send responses to the list, I get all messages to the list.
If you send it to me also, I get each one twice.
(In other words, just hit "reply", not "reply to all").
Below here, when asked to copy and paste the content of some files, really do
it that way.
Do not send the files as attac
hi andre
thanks for the reply
i found the hosts file where you
said it would be and made the according changes
im still getting a
404 error, but now it is an IIS error page.
I tried removing the
hosts parameter for the website in server.xml, and also putting it back,
but i get the same error pa
j...@rogers.com wrote:
i have configured iis7 to work in front of tomcat6 with the isapi
redirector. Now, i can see a servlet("my-servlet") i've made under
http://localhost/my-servlet. How do i get it to work for my own
domain("www.mywebsite.com"), ie. www.mywebsite.com/my-servlet ? I've
read
Leo Donahue - PLANDEVX wrote:
Tomcat zip dir:
C:\ApacheTomcat\apache-tomcat-6.0.26\bin
In here I created a setenv.bat that has the following: set
"CATALINA_BASE=%C:\Catalina_Base1%"
C:\Catalina_Base1\
** \conf
** \logs(automatically added when I ran
C:\ApacheTomcat\apache-tomcat-6.0.2
Hassan Schroeder said:
>On Wed, Jun 16, 2010 at 11:29 AM, MB wrote:
>
>> And? The how-to not very real world for people in my situation
>
>> Too little real world
>
>You keep saying that, without detail. What is "not real world" about
>the content of the how-to? It is, after all, intended to be
On Wed, Jun 16, 2010 at 11:29 AM, MB wrote:
> And? The how-to not very real world for people in my situation
> Too little real world
You keep saying that, without detail. What is "not real world" about
the content of the how-to? It is, after all, intended to be a minimalist
description, and it
Looking at section 10 of the 6.0 user guide, which describes classloading,
the text makes perfect sense and matches the way I understand things work.
However the summary at the end of the section "Class Loader Definitions"
looks wrong; it basically says that the search order is...
Bootstrap
$CLAS
Hassan Schroeder said:
>That's what that virtual hosting how-to is *intended* to provide
And? The how-to not very real world for people in my situation and
doesn't contain all the relevant info in one page. That's what I intend
to write when I get my head around it all. Unless I find a link to an
i get a 404 file not found error
--- On Wed, 6/16/10, Pid wrote:
From: Pid
Subject: Re: adding hosts to server.xml
To: "Tomcat Users List"
Date: Wednesday, June 16, 2010, 2:11 PM
On 16/06/2010 19:07, j...@rogers.com wrote:
> i have configured iis7 to work in front of tomcat6 with the isapi
>
On 16/06/2010 19:07, j...@rogers.com wrote:
> i have configured iis7 to work in front of tomcat6 with the isapi
> redirector. Now, i can see a servlet("my-servlet") i've made under
> http://localhost/my-servlet. How do i get it to work for my own
> domain("www.mywebsite.com"), ie. www.mywebsite.
i have configured iis7 to work in front of tomcat6 with the isapi
redirector. Now, i can see a servlet("my-servlet") i've made under
http://localhost/my-servlet. How do i get it to work for my own
domain("www.mywebsite.com"), ie. www.mywebsite.com/my-servlet ? I've
read the docs and tried addin
>-Original Message-
>From: Christopher Schultz [mailto:ch...@christopherschultz.net]
>Subject: Re: Multiple Tomcat Instances
>
>Leo,
>
>
>No, you don't have to have one, but if it's there, Tomcat will prefer
>the more-specific library(ies) found in CATALINA_BASE/lib to those found
>in CATAL
>
> To look at this from a very strict point of view, the whole area is already
> a bit stretched. Tomcat has this notion of "roles" (because the Servlet
> Spec has this same notion). But if you look at common authentication
> schemes, like NTLM or LDAP, they do not have this notion. It is possi
Marc Boorshtein wrote:
OK, come context first:
What I'm trying to do is integrate a Commercial Off The Shelf (COTS)
application that relies on container security into a Web Access
Manager (WAM). In a typical WAM deployment there are AAA is broken up
into multiple layers:
Web Server - Authentic
Where is the domain registered?
If you have access to the dns tables for the domain, you can just
point the domain at the new IP; that is, point the nameserver 1-4
entries in the domain table to point at the nameservers for eapps (or
whereev er you end up moving to).
Otherwise, you probab
Please can someone also explain process of ensuring that my dns name comes
with me to new host?
--
From: "Ken Bowen"
Sent: Wednesday, June 16, 2010 6:14 PM
To: "Tomcat Users List"
Subject: Re: recommend a host please.
Previously suggested eApp
We use eApps:
http://www.eapps.com/
Their customer service is great, and they have many options with reasonable
prices.
Good luck.
--
Dave Cherkassky
VP of Software Development
DJiNN Software Inc.
416.504.1354
On 16/06/2010 12:01 PM, yucca...@live.co.za wrote:
I would like some feedback
Previously suggested eApps.com to you.
On Jun 16, 2010, at 12:01 PM, wrote:
I would like some feedback on a hosting provider for me. I have had
little choice but to cancel at dailyrazor as they failed to provide
me with what I was paying for. To my horror, I asked for new tomcat
and was
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Leo,
On 6/16/2010 11:36 AM, Leo Donahue - PLANDEVX wrote:
>>> From: André Warnier [mailto:a...@ice-sa.com]
>>> Subject: Re: Multiple Tomcat Instances
>>>
>>> The other part that is confusing me is that what if all users are
>>> running a "process" of
I would like some feedback on a hosting provider for me. I have had little
choice but to cancel at dailyrazor as they failed to provide me with what I was
paying for. To my horror, I asked for new tomcat and was given a tomcat 5 again
as was evident again by the presence of no lib in root and pr
On 16/06/2010 15:59, Jorge Moya wrote:
> Hello guys.
>
> For the past couple of days, I've been working as an intern in a local
> company and I'd like to mention I'm kind of new with Tomcat and POI. My
> first task was to update a java code they had to extract information of
> excel 97-2003 files
>>From: André Warnier [mailto:a...@ice-sa.com]
>>Subject: Re: Multiple Tomcat Instances
>>
>> The other part that is confusing me is that what if all users are
>>running a "process" of Tomcat at the same time, I'm assuming they all
>>have to use a separate HTTP port and shutdown port?
>>>
>>You are
Sent from my iPhone
On Jun 16, 2010, at 11:12 AM, David kerber wrote:
On 6/16/2010 10:58 AM, Marc Boorshtein wrote:
...
That being said, the sequence of events should be:
1. Web server authenticates the user (works)
2. Pass the context to Tomcat (works)
3. Tomcat calls the realm to ret
On 6/16/2010 10:58 AM, Marc Boorshtein wrote:
...
That being said, the sequence of events should be:
1. Web server authenticates the user (works)
2. Pass the context to Tomcat (works)
3. Tomcat calls the realm to retrieve the user information and set
the context (doesn't presently occur)
#3
Hello guys.
For the past couple of days, I've been working as an intern in a local
company and I'd like to mention I'm kind of new with Tomcat and POI. My
first task was to update a java code they had to extract information of
excel 97-2003 files to the new POI so that I could also extract and wor
OK, come context first:
What I'm trying to do is integrate a Commercial Off The Shelf (COTS)
application that relies on container security into a Web Access
Manager (WAM). In a typical WAM deployment there are AAA is broken up
into multiple layers:
Web Server - Authentication (via the WAM) and c
On 6/16/2010 10:42 AM, Robinson, Eric wrote:
We run 150+ instances of tomcat on one server. To optimize memory
utilization, each tomcat instance is configured with 64MB by default
(export JAVA_OPTS="-ms64M -mx64M"). We then watch for
Java.Lang.OutOfmemory errors in the logs. If we see any of the
On Wed, Jun 16, 2010 at 7:38 AM, André Warnier wrote:
> Of course, all of the above is in the case you/someone installed Apache and
> Tomcat /not/ using the standard Solaris package management system.
#facepalm
Yes, thanks, Andre, you're absolutely right. I am so averse to using
"package manage
What is a TestClass? Tomcat has no knowledge about your class for injection
occurs.
Please define some servlet and try with it,
class TestClass extends HttpServlet{
private @Resource(name="jdbc/TestDb") DataSource datasource;
@PostConstruct
public void postConstruct(){
Leo Donahue - PLANDEVX wrote:
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Subject: RE: Multiple Tomcat Instances
Read the rest of that section of RUNNING.txt as well:
"When you use $CATALINA_BASE, Tomcat will calculate all relative
references for files in the following direct
On 6/16/2010 10:28 AM, Hassan Schroeder wrote:
...
That way you can always run the old version while getting the new
one's configuration fine-tuned (since you can't simply copy over the
old config files).
Yeah, that's the piece that bit me in the behind when I did a version
upgrade. Once I
We run 150+ instances of tomcat on one server. To optimize memory
utilization, each tomcat instance is configured with 64MB by default
(export JAVA_OPTS="-ms64M -mx64M"). We then watch for
Java.Lang.OutOfmemory errors in the logs. If we see any of these over
time, we allocate additional RAM in 32
Hassan Schroeder wrote:
On Wed, Jun 16, 2010 at 7:01 AM, Mishra, Pabitrakumar (GE Capital,
consultant) wrote:
So, we are basically looking for any such steps/methods where we can
upgrade to 5.5.27 without a new installation as we have the webapps
already deployed in TOMCAT_HOME/webapps folder.
Marc Boorshtein wrote:
You should not need to do that, it should be automatic.
Just make sure that in the Tomcat for AJP (in server.xml), you
set the attribute
tomcatAuthentication="false"
If the request is authenticated by Apache, mod_jk will (always) pass it
internally to Tomcat, along with t
>>From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
>>Subject: RE: Multiple Tomcat Instances
>>
>>Read the rest of that section of RUNNING.txt as well:
>>
>>"When you use $CATALINA_BASE, Tomcat will calculate all relative
>>references for files in the following directories based on the
On Wed, Jun 16, 2010 at 7:01 AM, Mishra, Pabitrakumar (GE Capital,
consultant) wrote:
> So, we are basically looking for any such steps/methods where we can
> upgrade to 5.5.27 without a new installation as we have the webapps
> already deployed in TOMCAT_HOME/webapps folder.
There isn't one. Ju
>
> You should not need to do that, it should be automatic.
> Just make sure that in the Tomcat for AJP (in server.xml), you
> set the attribute
> tomcatAuthentication="false"
>
> If the request is authenticated by Apache, mod_jk will (always) pass it
> internally to Tomcat, along with the request
Hi Team,
I was trying to send the mail for last 2-3 days but somehow seems I had
not subscribed properly. Hope this time it will; reach you.
Thanks,
Pabitra
From: Mishra, Pabitrakumar (GE Capital, consultant)
Sent: Monday, June 14, 2010 11:22 AM
To: 'users@tom
On Tue, Jun 15, 2010 at 10:21 PM, MB wrote:
>>http://tomcat.apache.org/tomcat-5.5-doc/virtual-hosting-howto.html
>
> Thanks for your response, Hassan. Perhaps I should have been more clear
> what I had done already.
>
> I've read that page, took my time, cleaned out my old install,
> reinstalled
Also, it is *really really really* helpful, when you post a question, that you would
specify the precise versions of software you are talking about.
Like :
Apache httpd version : 2.2.3
Tomcat version : 5.5.21
mod_jk version : 1.2.18
.. the documentation .. : the documentation page at :
http://to
Marc Boorshtein wrote:
All,
I'm trying to setup apache in front of tomcat and have apache do the
authentication for access and pass the user's context back to tomcat.
I've seen documentation that says that I should set the JK_REMOTE_USER
environment variable but it doesn't seem to be working.
It can also (and frequently does) happen when there is some mismatch
between where the resource is defined and where it's used. Maybe the
context.xml file you think tomcat is using for your webapp isn't being
used at all.
--David
On 6/16/10 7:33 AM, yucca...@live.co.za wrote:
> The bottom line f
Hi.
Could you please post a version of server.xml without the comments.
They are very helpful as documentation but make the file extremely
difficult to read. Also, I would check to see if the problem is because
the driver jar could not be found or because of some other problem.
It's easy enough
The bottom line for me is that this exception from what I have read usually
happens when container can not find the mysql connector. Gonna ask them to
reinstall my tomcat instance and take it from there.
--
From: "Pid"
Sent: Wednesday, June 16, 2
On 16/06/2010 12:08, yucca...@live.co.za wrote:
> I manually added the "lib" dir to root of production server and am still
> stuck with same exception
Adding "lib" to an installation that isn't expecting one isn't going to
make a jot of difference.
> I now have also remove mysql connector as
All,
I'm trying to setup apache in front of tomcat and have apache do the
authentication for access and pass the user's context back to tomcat.
I've seen documentation that says that I should set the JK_REMOTE_USER
environment variable but it doesn't seem to be working. Here is my
httpd configura
I manually added the "lib" dir to root of production server and am still
stuck with same exception
I now have also remove mysql connector as provider instructed me t because
there is already a connector on server-side...
My last hope, it would appear is that I missed something in config f
Have a look at CAS http://www.jasig.org/cas
On Wed, Jun 16, 2010 at 8:17 PM, Chandana Napagoda wrote:
> Hi,
>
>
>
> I have two tomcat instance, frist one run on https://localhost:8080 and
> secound one run on https://localhost:9090. each server i have deployed Admin
> and User web application
Hi,
I have two tomcat instance, frist one run on https://localhost:8080 and
secound one run on https://localhost:9090. each server i have deployed Admin
and User web application
I need to implement Single Sign-On for this two web application. While user
is logging to "https://localhost:8080/
You're right of course.
I meant you don't copy over the manager web application separately from the
ROOT. It's in $CATALINA_HOME/server/webapps/manager and the manager.xml file in
$CATALINA_HOME/conf/Catalina/ has a docBase attribute.
/mde/
--- On Wed, 6/16/10, Pid wrote:
> From: Pid
> Subj
On 16/06/2010 08:12, Mark Eggers wrote:
> MB,
>
> You can follow the instructions given for Tomcat 6 on this wiki page:
>
> http://wiki.apache.org/tomcat/TomcatDevelopmentVirtualHosts
>
> The only difference is that the Manager application for Tomcat 5.5.29 is
> contained in the ROOT applicatio
Sorry my wrong explanation. I have ment the when the request is
authorized/authenticated by my module how the request should be sent to the
"proxy" IP address define in apache module:
RewriteRule ^/PAC$ http://192.168.0.23:8080/PACAdmin [P]
RewriteRule ^/PAC/(.*) http://192.168.0.23:8080/PACAdmin/
Hello everybody,
I have been struggeling a long time with this problem, but didn't solve it.
I have a tomcat server 6.0.24 and try to use the resource annotation to get
ms sql database access. It works fine if i do a jndi lookup without
annotations, but if I try to use resource injection my Data
Ok I am getting to the bottom of this but my hosting provider wish to argue.
They moved me over a month ago from tomcat 5 to 6 and I remember the
installation was not clean because I had some stuff left over from the
tomcat 5 in my new tomcat 6.
I downloaded tomcat 5 and viewed the root direct
MB,
You can follow the instructions given for Tomcat 6 on this wiki page:
http://wiki.apache.org/tomcat/TomcatDevelopmentVirtualHosts
The only difference is that the Manager application for Tomcat 5.5.29 is
contained in the ROOT application. This means that you will skip the following
step.
3
82 matches
Mail list logo