Re: worker0 tomcat ,manager is not wotking

2018-03-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Loai,

On 3/19/18 4:43 PM, Loai Abdallatif wrote:
> I have running three tomcat instances worker0,worker1 and worker2
> 
> the http connector to workero is listening on port 8080 but the
> manager is not opening as below and the tomcat-users.xml is 
> configured as this:
> 
> root@appserver01:/opt/worker0/conf# cat tomcat-users.xml  version="1.0" encoding="utf-8"?>   rolename="manager-gui"/>  password="password" roles="manager-gui"/> 
> 
> unfortunatly still not working and keep sending forbidden as below

Your image was stripped from the mailing list. Can you find a way to
show the problem using text only?

- -chris
-BEGIN PGP SIGNATURE-
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQJRBAEBCAA7FiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlqwOogdHGNocmlzQGNo
cmlzdG9waGVyc2NodWx0ei5uZXQACgkQHPApP6U8pFjP7w/6Ah5ZC6Y+jZz1R0VT
CxqPg1HpD5eRZLrxvBXodo1CqkHHZsJhdI82HrtnSOpBvqr4o9+Bp9M6X/3lubvn
A5e+zrNSslVCpALd3r8qUJxwdcK/EcHKVruUHAee7U61Y0wz1JXLhjtX+etARA4w
1AioSXc5o2R3JC5ssKAoFT6fg8vzh9JRXkSF8HM4g6RpU3ynR2Zh2Ixoa6Fl8Mf5
j+4UPuvBJnn/pX76RWn2cfEPGwK6sjn7rgNBMz/qEZhXC8otLfPGYOc4Tn/otImO
yDeuqetssNd99iw7LAaHB5gm3biqfr5TN3pqBvVojpqqmlDL+XJIYAn2Rik/w9rC
jzzcuU9eox/iCONPVheywjjafH89onYlkW4Dy/xMF/G7+bAMyzHxSFWzhst7PSZJ
7aG2FKVo1m10OThEPtFZkembz6tYxpzSx2V+nxvD5P6BqxCQwW8I8BAHIyemStK5
LRBRBKtz4yS7fBJdz+YEjJU49XAtwDR+aF41pv3gv5rrbkroysPoCPgOQI+Xo/wR
bLsAkYp5y8XPoMWVqCT1KOCE2zkVA3kt1vWpEP6kzsElQUQUpG2E5PU93WZ2q5j/
svGGJlSffcsXhUrxSYc1kj8N7EUZasKl1yEWVBHsjGR4TjYkbu5JQIqtVKcjIdAv
fmRGxlQqqQuj+5q9m9UKb+tIA1M=
=QBdh
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



worker0 tomcat ,manager is not wotking

2018-03-19 Thread Loai Abdallatif
Dear Friends ,

I have running three tomcat instances worker0,worker1 and worker2

the http connector to workero is listening on port 8080
but the manager is not opening as below and the tomcat-users.xml is
configured as this:

root@appserver01:/opt/worker0/conf# cat tomcat-users.xml


   
   


unfortunatly still not working and keep sending forbidden as below


Re: Tomcat on Power I

2018-03-19 Thread James H. H. Lampert

On 3/19/18 5:42 AM, Danny Rodius wrote:

has anyone tried tomcat on Power i systems?


We have a fair amount of experience with that combination, typically 
using Tomcat 7. We've even got a CL program that will seek out a 
suitable JVM, and launch Tomcat under that JVM, setting a number of 
other parameters in the process.


If you need SSL, use JSSE, not OpenSSL.

--
JHHL

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat on Power I

2018-03-19 Thread Greg Vilardi
On Mon, Mar 19, 2018 at 05:39:35PM +0100, Rainer Jung wrote:
> Am 19.03.2018 um 14:24 schrieb Christopher Schultz:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA256
> > 
> > Danny,
> > 
> > On 3/19/18 5:42 AM, Danny Rodius wrote:
> > > has anyone tried tomcat on Power i systems?
> > 
> > Which OS?
> 
> Probably the OP means System i, aka iSeries, aka AS/400.
> 
> > There is at least one guy here who uses Tomcat on AS/400, but I think
> > he has had better luck with a *NIX OS on the same hardware. I'm not
> > precisely sure how all that works.
> > 
> > Theoretically, if there is a Java Virtual Machine for the
> > OS/architecture, then Tomcat should run on it.
> 
> Regards,
> 
> Rainer

IBM Power systems come in a variety of flavors. The iSeries boxes do run i5OS
(Formerly OS/400), and they ship with an AIX subsystem which provides unix
functionality. IBM also supplies packages for the JVM that can be installed,
and Tomcat runs fine in those environments. We are running the latest 8.0 point
release on our dev servers. I can't comment on any potential issues with newer
releases yet.

If you have a machine with a PowerLinux partition, then it's Linux, and you
should have no difficulties there.

-Greg

-- 
Greg Vilardi   |Technical Lead E-mail:vila...@panix.com
USnail: 354 Indian Head Rd |Vormittag Associates, Inc.   Home:(631)864-1310
Commack, NY 11725  |Ronkonkoma, NY 11779 Cell:(631)627-1448
.sig Version 0.71 I thought, I wrote, I posted.

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat on Power I

2018-03-19 Thread Rainer Jung

Am 19.03.2018 um 14:24 schrieb Christopher Schultz:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Danny,

On 3/19/18 5:42 AM, Danny Rodius wrote:

has anyone tried tomcat on Power i systems?


Which OS?


Probably the OP means System i, aka iSeries, aka AS/400.


There is at least one guy here who uses Tomcat on AS/400, but I think
he has had better luck with a *NIX OS on the same hardware. I'm not
precisely sure how all that works.

Theoretically, if there is a Java Virtual Machine for the
OS/architecture, then Tomcat should run on it.


Regards,

Rainer

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: I cant start Tomcat instances

2018-03-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Loai,

On 3/17/18 1:58 PM, Loai Abdallatif wrote:
> On Sat, Mar 17, 2018 at 3:39 PM, Olaf Kock 
> wrote:
> 
>> On 17.03.2018 14:16, Loai Abdallatif wrote:
>> 
>>> Dear Colleagues I'm new to tomcat, I have successfully
>>> installed the service but when I tried to run three instances I
>>> coudnt  due to error below
>>> 
>>> : the this I did is copied the cataline Home to three instances
>>> tomcat0, tomcat1, and tomcat2 directories
>>> 
>>> and in each directory I have configured the connectors ports,
>>> AJP port and addresses . the tomcat main instance is working
>>> but I think the problem is that in CATALINA_BASE .but I dont
>>> know how to instruct the statup script
>>> 
>>> 
>>> root@appserver01:/opt/tomcat0# ./startup-instance0.sh 
>>> ./startup-instance0.sh: line 3: ./startup.sh: No such file or
>>> directory root@appserver01:/opt/tomcat0# 
>>> root@appserver01:/opt/tomcat0# root@appserver01:/opt/tomcat0#
>>> cat startup-instance0.sh export CATALINA_BASE=/opt/tomcat0 cd
>>> $CATALINA_HOME/bin ./startup.sh
>>> 
>> 
>> well,
>> 
>> ./startup.sh: No such file or directory
>> 
>> Did you see that you set CATALINA_BASE (note: BASE) and then cd
>> to the undefined CATALINA_HOME/bin (note: HOME)? You probably
>> didn't intend this: Both are typically undefined on a system
>> level, so you're probably not cding into the directory you
>> intend.
>> 
> Thanks Olaf
> 
> so how to tell the tomcat the instance 0 to take its config from 
> tomcat0 directory.
Have a look at the RUNNING.txt file under the "Advanced" heading. It
explains how to use a single Tomcat binary install (rooted at
CATALINA_HOME) and separate configurations for each instance you want
to run (each rooted under a different CATALINA_BASE). Note the
difference between those two environment variable names.

I think you want your script to look like this:

== CUT ==
export CATALINA_HOME="/opt/apache-tomcat-8.5.29"
export CATALINA_BASE="/opt/tomcat0"

"$CATALINA_HOME/bin/startup.sh"
== CUT ==

There is no need to "cd" to the directory which contains the script.

- -chris
-BEGIN PGP SIGNATURE-
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQJRBAEBCAA7FiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlqvuvMdHGNocmlzQGNo
cmlzdG9waGVyc2NodWx0ei5uZXQACgkQHPApP6U8pFhv7hAAsc8c6lVzHjyFrlLe
X++61J9cJ7PXkKJcMXHzX0bZnkB2jiG3kr9oDcH5ajZ772A9eJsUMmChP3fXA2EU
nxN67Crsv7X09oWqr81swmh6BL4FSkYX5wO3V8KoMUTbev/Lw+snksEdp3534HZ7
ZslXsPNPUku3GK4/BIPnXxDCGR8u2wmb2qTIIfOxYvgklWyIifkJMVf9642evICA
UiBha66gu01XeYPejH8rMGX5/1itg59wJi6xPsgi6Ig/JZtKCkqxCy9rUuWn6dQB
AhRjLO826Uj2Pn8I9gU+Gq4gv11Ah8RTRcDIxzVpqMLIpuFHkMa9te9K2ra9eCrM
oQ4QAtEyJ/i3cxx31oM/MONDdD33cGnmRYo+6La003Wtl50zadYaza9K06APnHe8
+I9RtUFNiCYfa+EtxCo+QQOwz1BDnfm9yQyNWDJexHM/xIbykoeg3E9Tzwur8Phc
zUZgv1gV0KFtLH24x1ogblu+j8jDD6mWCUoV2eNA51lNyEaGdnXvd7gG95kAajsc
3qZkXBml40YbPlM3/JtxIx/0pCTaexslosGo3WaIWrtKSPQbPNUVoZOHzSVq9MR2
AcM+sjNcqYV9d9Cee0W3XANnqh5ileoasDT2gvV5WDqP8EEEFp7f/OePGNUD6Aj7
eBA8gpMLiUC7LUKYugHRuMxNbxQ=
=jzxn
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat on Power I

2018-03-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Danny,

On 3/19/18 5:42 AM, Danny Rodius wrote:
> has anyone tried tomcat on Power i systems?

Which OS?

There is at least one guy here who uses Tomcat on AS/400, but I think
he has had better luck with a *NIX OS on the same hardware. I'm not
precisely sure how all that works.

Theoretically, if there is a Java Virtual Machine for the
OS/architecture, then Tomcat should run on it.

- -chris
-BEGIN PGP SIGNATURE-
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQJRBAEBCAA7FiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlqvufodHGNocmlzQGNo
cmlzdG9waGVyc2NodWx0ei5uZXQACgkQHPApP6U8pFhJpw/9FCUiteNRi7XUoZmf
pCrgqDwKbczDSrmDxelLUIEWQ3rZYITbqI4H+1qVhsekjesfBbAeq4ClMClT67V0
2alc1d1HqPETTvWM+wMDIgaTsEnzYvshHCD3ECmW6OF+R40QkDHZcVp4GBOtBc/B
AJNjQkMfo0He8USoZLAn8aEOJ+Ne5/Fc6xgcwqNLFvLvrir9000zy3LGPgzqvgOQ
u7uI9j59Ymn/lShrqxgfCaG6YeIsBcbtmByEg/JHVSS971ItWi1XhfH9uh9reBhQ
nL0AvPTd72W1YewhCWEBVHmAwiyw9zwGNuo+a5sA7dwscDNBXt3RX/++VjswVkCX
2syOlmI3HRcB1f3XKtwLUYBc0ysqiT/5M8GkbLqautysAZuwdkBDHEN5Ak/OUGnc
czfUivcw4vno5gI1ko9irgZPOvTM8p3coRUJS26rZvVay9KJEFs09LT0jRa9M0hJ
HLoIH9fDuaj9GBX3oAU6jDonAgNkyGRh/1vuvQc9HXSJVALe5W9mbogO3qagfuMI
sNzCatmR8JW7YHpeKTyLHw51Pp0JE3wIs9UYlosTHiNqsWXyur1SDWBqnEHVx5TM
GIP2THWdUgfJTa+VH7867yRq/gP9AP1Q+wgobp6E7Kxho+8GqA1oRJ3FKB1iq5Or
3Pz4JnKPbMFYG7OCfPDbZ0WxJ74=
=n0Xy
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Tomcat on Power I

2018-03-19 Thread Danny Rodius
Hello 

 

has anyone tried tomcat on Power i systems? 



mindIdle does not inherit default value from initalSize - tomcat 8.5.x

2018-03-19 Thread Torsten Krah
Tomcat docs for minIdle reads this:

https://tomcat.apache.org/tomcat-8.5-doc/jdbc-pool.html

minIdle 

(int) The minimum number of established connections that should be kept
in the pool at all times. The connection pool can shrink below this
number if validation queries fail. Default value is derived from
initialSize:10 (also see testWhileIdle) 


Setting this to a DS an starting the pool:

ds.setInitialSize(1);
ds.setMaxIdle(1)
ds.setMaxActive(10);

results in:

WARN  org.apache.tomcat.jdbc.pool.ConnectionPool [JuliLog.java:137] -
maxIdle is smaller than minIdle, setting maxIdle to: 10

If minIdle would be retrieved from initialSize it is not smaller - seems
like a Bug.
Do you agree? Should i open a bug report for that?



smime.p7s
Description: S/MIME cryptographic signature