[Bug 374567] Re: tomcat6 with spring throws org/springframework/core/NestedExceptionUtils

2010-07-28 Thread Thierry Carrez
Yes, to match upstream behavior we disabled security by default in Lucid
(10.04), which basically avoids the problem altogether. I still think we
should strive for a better security configuration shipped in the package
though (for those trying to enable it), so I will test and add your
suggested snippet. Thanks !

** Changed in: tomcat6 (Ubuntu)
   Status: New = Triaged

-- 
tomcat6 with spring throws org/springframework/core/NestedExceptionUtils
https://bugs.launchpad.net/bugs/374567
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 374567] Re: tomcat6 with spring throws org/springframework/core/NestedExceptionUtils

2010-07-28 Thread Bob Kerns
Great!

It would be even better if someone (you or I or an interested bystander)
figured out just what permissions it really needs. I tried guessing, but
that didn't work. Since (as is typical of classloader issues) it doesn't
really tell you what went wrong, this probably needs either seriously
systematic trial-and-error or setting up to attach a debugger.

BTW, enabling security by default led to a bug in Apache Tiles getting
fixed, so some good came of the experiment!

(Every time I see 'Lucid' I think of the Lisp company of the same name
from the '80's and early '90's.)

-- 
tomcat6 with spring throws org/springframework/core/NestedExceptionUtils
https://bugs.launchpad.net/bugs/374567
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 374567] Re: tomcat6 with spring throws org/springframework/core/NestedExceptionUtils

2010-07-28 Thread Thierry Carrez
Yes, to match upstream behavior we disabled security by default in Lucid
(10.04), which basically avoids the problem altogether. I still think we
should strive for a better security configuration shipped in the package
though (for those trying to enable it), so I will test and add your
suggested snippet. Thanks !

** Changed in: tomcat6 (Ubuntu)
   Status: New = Triaged

-- 
tomcat6 with spring throws org/springframework/core/NestedExceptionUtils
https://bugs.launchpad.net/bugs/374567
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 374567] Re: tomcat6 with spring throws org/springframework/core/NestedExceptionUtils

2010-07-28 Thread Bob Kerns
Great!

It would be even better if someone (you or I or an interested bystander)
figured out just what permissions it really needs. I tried guessing, but
that didn't work. Since (as is typical of classloader issues) it doesn't
really tell you what went wrong, this probably needs either seriously
systematic trial-and-error or setting up to attach a debugger.

BTW, enabling security by default led to a bug in Apache Tiles getting
fixed, so some good came of the experiment!

(Every time I see 'Lucid' I think of the Lisp company of the same name
from the '80's and early '90's.)

-- 
tomcat6 with spring throws org/springframework/core/NestedExceptionUtils
https://bugs.launchpad.net/bugs/374567
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 374567] Re: tomcat6 with spring throws org/springframework/core/NestedExceptionUtils

2010-07-27 Thread Bob Kerns
** Changed in: tomcat6 (Ubuntu)
   Status: Invalid = New

-- 
tomcat6 with spring throws org/springframework/core/NestedExceptionUtils
https://bugs.launchpad.net/bugs/374567
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 374567] Re: tomcat6 with spring throws org/springframework/core/NestedExceptionUtils

2010-07-27 Thread Bob Kerns
Reopening, with added information and a better workaround...

The problem here is that insufficient privileges are given to tomcat-
juli.jar in /etc/tomcat6/policy.d/03catalina.policy.

i haven't determined yet the specific missing permissions, but giving
this jar file all permissions does resolve the issue.

You probably need some error in need of logging to reproduce it.

It would seem to me that it must be something needed by the classloader
to produce this symptom. In particular, in trying to load one class form
the spring-core..jar file, it fails to find another class in the
same jar file. This should always succeed!

In googling around, I find quite a number of people have run into this.
The tomcat people blame it on the 3rd-party packagers (I believe that be
you!). Everyone else ends up disabling security entirely as a
workaround.

This is a much better workaround:

// Workaround for missing permissions on tomcat-juiljar
grant codeBase file:${catalina.home}/bin/tomcat-juli.jar {
 permission java.security.AllPermission;
};

Also note that you can give AllPermission to the webapp itself,, and it
does NOT solve the problem. This places the blame squarely on the
distro's security configuration rather than on the application and
Spring -- I think. (Between security and classloaders, there's plenty of
room for confusion!)

BTW, kudos for at least trying to get it installed with a working
security configuration, even if it isn't 100%. It is a real pain to work
out the right security policy, and it is well worth getting the basics
right and sharing the result. And configuring it by dropping in my
webapp's policy is a breeze, even if I DID end up giving it
AllPermission for now.

-- 
tomcat6 with spring throws org/springframework/core/NestedExceptionUtils
https://bugs.launchpad.net/bugs/374567
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 374567] Re: tomcat6 with spring throws org/springframework/core/NestedExceptionUtils

2010-07-27 Thread Bob Kerns
BTW, this was originally reported in Jaunty --  I'm encountering it in
Karmic Koala.

-- 
tomcat6 with spring throws org/springframework/core/NestedExceptionUtils
https://bugs.launchpad.net/bugs/374567
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 374567] Re: tomcat6 with spring throws org/springframework/core/NestedExceptionUtils

2010-07-27 Thread Bob Kerns
** Changed in: tomcat6 (Ubuntu)
   Status: Invalid = New

-- 
tomcat6 with spring throws org/springframework/core/NestedExceptionUtils
https://bugs.launchpad.net/bugs/374567
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 374567] Re: tomcat6 with spring throws org/springframework/core/NestedExceptionUtils

2010-07-27 Thread Bob Kerns
Reopening, with added information and a better workaround...

The problem here is that insufficient privileges are given to tomcat-
juli.jar in /etc/tomcat6/policy.d/03catalina.policy.

i haven't determined yet the specific missing permissions, but giving
this jar file all permissions does resolve the issue.

You probably need some error in need of logging to reproduce it.

It would seem to me that it must be something needed by the classloader
to produce this symptom. In particular, in trying to load one class form
the spring-core..jar file, it fails to find another class in the
same jar file. This should always succeed!

In googling around, I find quite a number of people have run into this.
The tomcat people blame it on the 3rd-party packagers (I believe that be
you!). Everyone else ends up disabling security entirely as a
workaround.

This is a much better workaround:

// Workaround for missing permissions on tomcat-juiljar
grant codeBase file:${catalina.home}/bin/tomcat-juli.jar {
 permission java.security.AllPermission;
};

Also note that you can give AllPermission to the webapp itself,, and it
does NOT solve the problem. This places the blame squarely on the
distro's security configuration rather than on the application and
Spring -- I think. (Between security and classloaders, there's plenty of
room for confusion!)

BTW, kudos for at least trying to get it installed with a working
security configuration, even if it isn't 100%. It is a real pain to work
out the right security policy, and it is well worth getting the basics
right and sharing the result. And configuring it by dropping in my
webapp's policy is a breeze, even if I DID end up giving it
AllPermission for now.

-- 
tomcat6 with spring throws org/springframework/core/NestedExceptionUtils
https://bugs.launchpad.net/bugs/374567
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 374567] Re: tomcat6 with spring throws org/springframework/core/NestedExceptionUtils

2010-07-27 Thread Bob Kerns
BTW, this was originally reported in Jaunty --  I'm encountering it in
Karmic Koala.

-- 
tomcat6 with spring throws org/springframework/core/NestedExceptionUtils
https://bugs.launchpad.net/bugs/374567
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 374567] Re: tomcat6 with spring throws org/springframework/core/NestedExceptionUtils

2010-01-25 Thread Chuck Short
We are closing this bug report because it lacks the information we need
to investigate the problem, as described in the previous comments.
Please reopen it if you can give us the missing information, and don't
hesitate to submit bug reports in the future. To reopen the bug report
you can click on the current status, under the Status column, and change
the Status back to New. Thanks again!

** Changed in: tomcat6 (Ubuntu)
   Status: Incomplete = Invalid

-- 
tomcat6 with spring throws org/springframework/core/NestedExceptionUtils
https://bugs.launchpad.net/bugs/374567
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 374567] Re: tomcat6 with spring throws org/springframework/core/NestedExceptionUtils

2010-01-25 Thread Chuck Short
We are closing this bug report because it lacks the information we need
to investigate the problem, as described in the previous comments.
Please reopen it if you can give us the missing information, and don't
hesitate to submit bug reports in the future. To reopen the bug report
you can click on the current status, under the Status column, and change
the Status back to New. Thanks again!

** Changed in: tomcat6 (Ubuntu)
   Status: Incomplete = Invalid

-- 
tomcat6 with spring throws org/springframework/core/NestedExceptionUtils
https://bugs.launchpad.net/bugs/374567
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 374567] Re: tomcat6 with spring throws org/springframework/core/NestedExceptionUtils

2009-12-14 Thread Thierry Carrez
We'd like to figure out what's causing this bug for you, but we haven't
heard back from you in a while. Could you please provide the requested
information? Thanks!

-- 
tomcat6 with spring throws org/springframework/core/NestedExceptionUtils
https://bugs.launchpad.net/bugs/374567
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 374567] Re: tomcat6 with spring throws org/springframework/core/NestedExceptionUtils

2009-12-14 Thread Thierry Carrez
We'd like to figure out what's causing this bug for you, but we haven't
heard back from you in a while. Could you please provide the requested
information? Thanks!

-- 
tomcat6 with spring throws org/springframework/core/NestedExceptionUtils
https://bugs.launchpad.net/bugs/374567
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 374567] Re: tomcat6 with spring throws org/springframework/core/NestedExceptionUtils

2009-10-14 Thread Thierry Carrez
We'd like to figure out what's causing this bug for you, but we haven't
heard back from you in a while. Could you please provide the requested
information? Thanks!

** Changed in: tomcat6 (Ubuntu)
   Importance: Undecided = Low

-- 
tomcat6 with spring throws org/springframework/core/NestedExceptionUtils
https://bugs.launchpad.net/bugs/374567
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 374567] Re: tomcat6 with spring throws org/springframework/core/NestedExceptionUtils

2009-10-14 Thread Calum
I'm just at work now, so I'll have a look when I'm back at home.

On Wed, Oct 14, 2009 at 2:57 PM, Thierry Carrez
thierry.car...@ubuntu.com wrote:
 We'd like to figure out what's causing this bug for you, but we haven't
 heard back from you in a while. Could you please provide the requested
 information? Thanks!

-- 
tomcat6 with spring throws org/springframework/core/NestedExceptionUtils
https://bugs.launchpad.net/bugs/374567
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 374567] Re: tomcat6 with spring throws org/springframework/core/NestedExceptionUtils

2009-10-14 Thread Thierry Carrez
We'd like to figure out what's causing this bug for you, but we haven't
heard back from you in a while. Could you please provide the requested
information? Thanks!

** Changed in: tomcat6 (Ubuntu)
   Importance: Undecided = Low

-- 
tomcat6 with spring throws org/springframework/core/NestedExceptionUtils
https://bugs.launchpad.net/bugs/374567
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 374567] Re: tomcat6 with spring throws org/springframework/core/NestedExceptionUtils

2009-10-14 Thread Calum
I'm just at work now, so I'll have a look when I'm back at home.

On Wed, Oct 14, 2009 at 2:57 PM, Thierry Carrez
thierry.car...@ubuntu.com wrote:
 We'd like to figure out what's causing this bug for you, but we haven't
 heard back from you in a while. Could you please provide the requested
 information? Thanks!

-- 
tomcat6 with spring throws org/springframework/core/NestedExceptionUtils
https://bugs.launchpad.net/bugs/374567
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 374567] Re: tomcat6 with spring throws org/springframework/core/NestedExceptionUtils

2009-08-31 Thread Thierry Carrez
This bug was closed because it's assumed to be a Spring / Tomcat6
SecurityManager incompatibility (then it's not a bug in our Tomcat6
packaging).

Do you manage to run it with a SecurityManager with the stock Tomcat6
from Apache, and the same JDK ? If yes, then it's a valid Ubuntu bug,
and please attach the SecurityManager configuration you used. If not,
then it's a bug in Tomcat6 or Spring.

** Changed in: tomcat6 (Ubuntu)
   Status: New = Incomplete

-- 
tomcat6 with spring throws org/springframework/core/NestedExceptionUtils
https://bugs.launchpad.net/bugs/374567
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 374567] Re: tomcat6 with spring throws org/springframework/core/NestedExceptionUtils

2009-08-31 Thread Calum
I'd just like to say that I'm getting this too, and the big problem here
is that there is nothing in any logs I can see that actually says what
the permission not being granted is.

Usually, the error includes something like...

java.security.AccessControlException: access denied
(java.util.PropertyPermission webapp.root read)

which makes it very obvious what to put in the security manager policy
files.

The errors generated by this don't have any of the exceptions above,
which means I'm stuck as to what it is wanting.

-- 
tomcat6 with spring throws org/springframework/core/NestedExceptionUtils
https://bugs.launchpad.net/bugs/374567
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 374567] Re: tomcat6 with spring throws org/springframework/core/NestedExceptionUtils

2009-08-31 Thread Calum
Can we have another look at this one, please?

** Changed in: tomcat6 (Ubuntu)
   Status: Invalid = New

-- 
tomcat6 with spring throws org/springframework/core/NestedExceptionUtils
https://bugs.launchpad.net/bugs/374567
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 374567] Re: tomcat6 with spring throws org/springframework/core/NestedExceptionUtils

2009-08-31 Thread Calum
Also, I don't want to just disable the security manager which is
mentioned as a workaround above.

-- 
tomcat6 with spring throws org/springframework/core/NestedExceptionUtils
https://bugs.launchpad.net/bugs/374567
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 374567] Re: tomcat6 with spring throws org/springframework/core/NestedExceptionUtils

2009-08-31 Thread Calum
Also, I don't want to just disable the security manager which is
mentioned as a workaround above.

-- 
tomcat6 with spring throws org/springframework/core/NestedExceptionUtils
https://bugs.launchpad.net/bugs/374567
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 374567] Re: tomcat6 with spring throws org/springframework/core/NestedExceptionUtils

2009-08-31 Thread Thierry Carrez
This bug was closed because it's assumed to be a Spring / Tomcat6
SecurityManager incompatibility (then it's not a bug in our Tomcat6
packaging).

Do you manage to run it with a SecurityManager with the stock Tomcat6
from Apache, and the same JDK ? If yes, then it's a valid Ubuntu bug,
and please attach the SecurityManager configuration you used. If not,
then it's a bug in Tomcat6 or Spring.

** Changed in: tomcat6 (Ubuntu)
   Status: New = Incomplete

-- 
tomcat6 with spring throws org/springframework/core/NestedExceptionUtils
https://bugs.launchpad.net/bugs/374567
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 374567] Re: tomcat6 with spring throws org/springframework/core/NestedExceptionUtils

2009-08-31 Thread Calum
I'd just like to say that I'm getting this too, and the big problem here
is that there is nothing in any logs I can see that actually says what
the permission not being granted is.

Usually, the error includes something like...

java.security.AccessControlException: access denied
(java.util.PropertyPermission webapp.root read)

which makes it very obvious what to put in the security manager policy
files.

The errors generated by this don't have any of the exceptions above,
which means I'm stuck as to what it is wanting.

-- 
tomcat6 with spring throws org/springframework/core/NestedExceptionUtils
https://bugs.launchpad.net/bugs/374567
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 374567] Re: tomcat6 with spring throws org/springframework/core/NestedExceptionUtils

2009-08-31 Thread Calum
Can we have another look at this one, please?

** Changed in: tomcat6 (Ubuntu)
   Status: Invalid = New

-- 
tomcat6 with spring throws org/springframework/core/NestedExceptionUtils
https://bugs.launchpad.net/bugs/374567
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 374567] Re: tomcat6 with spring throws org/springframework/core/NestedExceptionUtils

2009-05-12 Thread Thierry Carrez
Yes, by default we run Tomcat with a security manager, which means you
need to configure rights for your application in the policy files.

See instructions at:
http://tomcat.apache.org/tomcat-6.0-doc/security-manager-howto.html

Given the complexity of getting security policy files right, depending
on your environment it may make sense to run without the security
manager (i.e. disabling TOMCAT_SECURITY). The security manager is just
another layer for security in depth, restricting what the code run can
ultimately do with your system.

By the way, this is not a specificity in our Tomcat packaging... It
would also fail with a stock Tomcat 6 if you enabled the security
manager without configuring policy files to give proper rights to your
application.

Closing as invalid as this is not a bug.

** Changed in: tomcat6 (Ubuntu)
   Status: New = Invalid

-- 
tomcat6 with spring throws org/springframework/core/NestedExceptionUtils
https://bugs.launchpad.net/bugs/374567
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 374567] Re: tomcat6 with spring throws org/springframework/core/NestedExceptionUtils

2009-05-12 Thread Thierry Carrez
Yes, by default we run Tomcat with a security manager, which means you
need to configure rights for your application in the policy files.

See instructions at:
http://tomcat.apache.org/tomcat-6.0-doc/security-manager-howto.html

Given the complexity of getting security policy files right, depending
on your environment it may make sense to run without the security
manager (i.e. disabling TOMCAT_SECURITY). The security manager is just
another layer for security in depth, restricting what the code run can
ultimately do with your system.

By the way, this is not a specificity in our Tomcat packaging... It
would also fail with a stock Tomcat 6 if you enabled the security
manager without configuring policy files to give proper rights to your
application.

Closing as invalid as this is not a bug.

** Changed in: tomcat6 (Ubuntu)
   Status: New = Invalid

-- 
tomcat6 with spring throws org/springframework/core/NestedExceptionUtils
https://bugs.launchpad.net/bugs/374567
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 374567] Re: tomcat6 with spring throws org/springframework/core/NestedExceptionUtils

2009-05-10 Thread Thag
Forgot platform details:
This is an up to data jaunty 64 bit system.

It's running without an X server, if that matters. I know some java apps
barf because of this.


 # update-java-alternatives -l
java-6-openjdk 1061 /usr/lib/jvm/java-6-openjdk
java-gcj 1042 /usr/lib/jvm/java-gcj

It's set to java-6-openjdk

Other than adding a tomcat user I have zero changes to the tomcat6
config.

Let me know if you need _anything_ else.

I would very much like to use the prepackaged tomcat6 as opposed to the
apache tgz for reasons of recreatibility, integration and simplicity.

-Bruce

-- 
tomcat6 with spring throws org/springframework/core/NestedExceptionUtils
https://bugs.launchpad.net/bugs/374567
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 374567] Re: tomcat6 with spring throws org/springframework/core/NestedExceptionUtils

2009-05-10 Thread Thag

** Attachment added: This is the web service that exhibits the problem on 
tomcat6
   http://launchpadlibrarian.net/26540236/service-war.war

-- 
tomcat6 with spring throws org/springframework/core/NestedExceptionUtils
https://bugs.launchpad.net/bugs/374567
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 374567] Re: tomcat6 with spring throws org/springframework/core/NestedExceptionUtils

2009-05-10 Thread Thag
Found a workaround, disabling TOMCAT_SECURITY in /etc/init.d/tomcat6
allows this app to run.

-Bruce

-- 
tomcat6 with spring throws org/springframework/core/NestedExceptionUtils
https://bugs.launchpad.net/bugs/374567
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs



[Bug 374567] Re: tomcat6 with spring throws org/springframework/core/NestedExceptionUtils

2009-05-10 Thread Thag

** Attachment added: This is the web service that exhibits the problem on 
tomcat6
   http://launchpadlibrarian.net/26540236/service-war.war

-- 
tomcat6 with spring throws org/springframework/core/NestedExceptionUtils
https://bugs.launchpad.net/bugs/374567
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 374567] Re: tomcat6 with spring throws org/springframework/core/NestedExceptionUtils

2009-05-10 Thread Thag
Forgot platform details:
This is an up to data jaunty 64 bit system.

It's running without an X server, if that matters. I know some java apps
barf because of this.


 # update-java-alternatives -l
java-6-openjdk 1061 /usr/lib/jvm/java-6-openjdk
java-gcj 1042 /usr/lib/jvm/java-gcj

It's set to java-6-openjdk

Other than adding a tomcat user I have zero changes to the tomcat6
config.

Let me know if you need _anything_ else.

I would very much like to use the prepackaged tomcat6 as opposed to the
apache tgz for reasons of recreatibility, integration and simplicity.

-Bruce

-- 
tomcat6 with spring throws org/springframework/core/NestedExceptionUtils
https://bugs.launchpad.net/bugs/374567
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 374567] Re: tomcat6 with spring throws org/springframework/core/NestedExceptionUtils

2009-05-10 Thread Thag
Found a workaround, disabling TOMCAT_SECURITY in /etc/init.d/tomcat6
allows this app to run.

-Bruce

-- 
tomcat6 with spring throws org/springframework/core/NestedExceptionUtils
https://bugs.launchpad.net/bugs/374567
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs