Re: [5.0.1] Investigation on the precompilation failure + new tag

2003-02-26 Thread Jeanfrancois Arcand
I would like to fix a security exception before the alpha release:

Security Violation, attempt to use Restricted Class: 
org.apache.tomcat.util.buf.C2BConverter
java.security.AccessControlException: access denied 
(java.lang.RuntimePermission 
accessClassInPackage.org.apache.tomcat.util.buf)
   at 
java.security.AccessControlContext.checkPermission(AccessControlContext.java:270)
   at 
java.security.AccessController.checkPermission(AccessController.java:401)
   at 
java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
   at 
java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:1513)
   at 
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:820)
   at 
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:756)
   at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
   at 
org.apache.coyote.tomcat5.OutputBuffer.setConverter(OutputBuffer.java:607)

We must run the Watchdog tests with the security manager on more often ;-)

I will commit a fix today.

-- Jeanfrancois



Remy Maucherat wrote:

I made some progress, but now I am running into classloading problems 
which I've failed to fix :-( Any ideas ?

From a design standpoint, the tag file feature is IMO extremely evil, 
as it mixes the code generation phase with the compilation (and adds 
nasty tricks). This feature should be removed by the time the 
specification goes final.

That being said, I think we should proceed with the Tomcat 5.0.1 Alpha 
release.

Remy

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [5.0.1] Investigation on the precompilation failure + new tag

2003-02-26 Thread Remy Maucherat
Jeanfrancois Arcand wrote:
I would like to fix a security exception before the alpha release:

Security Violation, attempt to use Restricted Class: 
org.apache.tomcat.util.buf.C2BConverter
java.security.AccessControlException: access denied 
(java.lang.RuntimePermission 
accessClassInPackage.org.apache.tomcat.util.buf)
   at 
java.security.AccessControlContext.checkPermission(AccessControlContext.java:270) 

   at 
java.security.AccessController.checkPermission(AccessController.java:401)
   at 
java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
   at 
java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:1513)
   at 
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:820) 

   at 
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:756) 

   at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
   at 
org.apache.coyote.tomcat5.OutputBuffer.setConverter(OutputBuffer.java:607)

We must run the Watchdog tests with the security manager on more often ;-)

I will commit a fix today.
Sure, no problem.

Remy

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [5.0.1] Investigation on the precompilation failure + new tag

2003-02-26 Thread Remy Maucherat
Remy Maucherat wrote:
Jeanfrancois Arcand wrote:

I would like to fix a security exception before the alpha release:

Security Violation, attempt to use Restricted Class: 
org.apache.tomcat.util.buf.C2BConverter
java.security.AccessControlException: access denied 
(java.lang.RuntimePermission 
accessClassInPackage.org.apache.tomcat.util.buf)
   at 
java.security.AccessControlContext.checkPermission(AccessControlContext.java:270) 

   at 
java.security.AccessController.checkPermission(AccessController.java:401)
   at 
java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
   at 
java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:1513)
   at 
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:820) 

   at 
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:756) 

   at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
   at 
org.apache.coyote.tomcat5.OutputBuffer.setConverter(OutputBuffer.java:607) 

We must run the Watchdog tests with the security manager on more often 
;-)

I will commit a fix today.


Sure, no problem.
Ok, I saw your commit.
Now that I think about it, I'd like to include a build script for the 
new clustering features, and include them in the release (so it's 
delayed for one additional day).

Remy

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: [5.0.1] Investigation on the precompilation failure + new tag

2003-02-26 Thread Filip Hanik
Remy Maucherat wrote:
 Jeanfrancois Arcand wrote:
 
 I would like to fix a security exception before the alpha release:

 Security Violation, attempt to use Restricted Class: 
 org.apache.tomcat.util.buf.C2BConverter
 java.security.AccessControlException: access denied 
 (java.lang.RuntimePermission 
 accessClassInPackage.org.apache.tomcat.util.buf)
at 
 java.security.AccessControlContext.checkPermission(AccessControlContext.java:270) 

at 
 java.security.AccessController.checkPermission(AccessController.java:401)
at 
 java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
at 
 java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:1513)
at 
 org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:820)
  

at 
 org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:756)
  

at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at 
 org.apache.coyote.tomcat5.OutputBuffer.setConverter(OutputBuffer.java:607) 


 We must run the Watchdog tests with the security manager on more often 
 ;-)

 I will commit a fix today.
 
 
 Sure, no problem.

Ok, I saw your commit.
Now that I think about it, I'd like to include a build script for the 
new clustering features, and include them in the release (so it's 
delayed for one additional day).

Remy

cool beans, I added a super simple build.xml that uses the catalina dist directory to 
build.
if you wanna change it, then be my guest :)

Filip


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [5.0.1] Investigation on the precompilation failure + new tag

2003-02-26 Thread Costin Manolache
Remy Maucherat wrote:


 Ok, I saw your commit.
 Now that I think about it, I'd like to include a build script for the
 new clustering features, and include them in the release (so it's
 delayed for one additional day).

Can we postpone it till Monday ? I want to get the embed/ working too,
I just need to clean up some scripts and make few fixes.

Costin


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [5.0.1] Investigation on the precompilation failure + new tag

2003-02-26 Thread Remy Maucherat
Costin Manolache wrote:
Remy Maucherat wrote:



Ok, I saw your commit.
Now that I think about it, I'd like to include a build script for the
new clustering features, and include them in the release (so it's
delayed for one additional day).


Can we postpone it till Monday ? I want to get the embed/ working too,
I just need to clean up some scripts and make few fixes.
Ok no problem :)

Remy

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]