You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Remy Maucherat <re...@apache.org> on 2003/02/26 17:49:07 UTC

[5.0.1] Investigation on the precompilation failure + new tag

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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


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

Posted by Remy Maucherat <re...@apache.org>.
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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


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

Posted by Costin Manolache <cm...@yahoo.com>.
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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


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

Posted by Remy Maucherat <re...@apache.org>.
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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


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

Posted by Remy Maucherat <re...@apache.org>.
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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


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

Posted by Jeanfrancois Arcand <jf...@apache.org>.
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: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org