You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by de...@geronimo.apache.org on 2004/09/08 20:47:37 UTC

[jira] Created: (GERONIMO-289) Interface classes for an ejb-ref in a war cannot be loaded from war libs or classes

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/GERONIMO-289

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: GERONIMO-289
    Summary: Interface classes for an ejb-ref in a war cannot be loaded from war libs or classes
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Apache Geronimo
 Components: 
             web
   Versions:
             1.0-M2

   Assignee: 
   Reporter: Dain Sundstrom

    Created: Wed, 8 Sep 2004 11:46 AM
    Updated: Wed, 8 Sep 2004 11:46 AM

Description:
The libraries contained in a war WEB-INF/lib and classes in the WEB-INF/classes directories are not added to the configuration classloader.  This is an problem since this class loader is used to resolve ejb-refs.  This means that war ejb-refs can only be used when deploying an ear and the interface classes are available from another module in the ear.  We could simply add libs and classes to the configuration class loader, but it would make it impossible to isolate wars in the same configuration.  This should be handled when we rewrite the JettyConfigurationBuilder to add JSR 77 objects.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (GERONIMO-289) Interface classes for an ejb-ref in a war cannot be loaded from war libs or classes

Posted by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-289?page=comments#action_12359269 ] 

Aaron Mulder commented on GERONIMO-289:
---------------------------------------

This is also a problem because it prevents GBean classes from being loaded from a WAR

> Interface classes for an ejb-ref in a war cannot be loaded from war libs or classes
> -----------------------------------------------------------------------------------
>
>          Key: GERONIMO-289
>          URL: http://issues.apache.org/jira/browse/GERONIMO-289
>      Project: Geronimo
>         Type: Bug
>   Components: web
>     Versions: 1.0-M2
>     Reporter: Dain Sundstrom
>      Fix For: 1.x

>
> The libraries contained in a war WEB-INF/lib and classes in the WEB-INF/classes directories are not added to the configuration classloader.  This is an problem since this class loader is used to resolve ejb-refs.  This means that war ejb-refs can only be used when deploying an ear and the interface classes are available from another module in the ear.  We could simply add libs and classes to the configuration class loader, but it would make it impossible to isolate wars in the same configuration.  This should be handled when we rewrite the JettyConfigurationBuilder to add JSR 77 objects.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (GERONIMO-289) Interface classes for an ejb-ref in a war cannot be loaded from war libs or classes

Posted by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-289?page=all ]

Aaron Mulder updated GERONIMO-289:
----------------------------------

    Fix Version: 1.0
    Environment: 

This issue needs to be reviewed -- it may or may not still be a problem.

> Interface classes for an ejb-ref in a war cannot be loaded from war libs or classes
> -----------------------------------------------------------------------------------
>
>          Key: GERONIMO-289
>          URL: http://issues.apache.org/jira/browse/GERONIMO-289
>      Project: Geronimo
>         Type: Bug
>   Components: web
>     Versions: 1.0-M2
>     Reporter: Dain Sundstrom
>      Fix For: 1.0

>
> The libraries contained in a war WEB-INF/lib and classes in the WEB-INF/classes directories are not added to the configuration classloader.  This is an problem since this class loader is used to resolve ejb-refs.  This means that war ejb-refs can only be used when deploying an ear and the interface classes are available from another module in the ear.  We could simply add libs and classes to the configuration class loader, but it would make it impossible to isolate wars in the same configuration.  This should be handled when we rewrite the JettyConfigurationBuilder to add JSR 77 objects.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (GERONIMO-289) WEB-INF/lib/* and WEB-INF/classes aren't on configuration class loader

Posted by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-289?page=all ]

Aaron Mulder updated GERONIMO-289:
----------------------------------

        Summary: WEB-INF/lib/* and WEB-INF/classes aren't on configuration class loader  (was: Interface classes for an ejb-ref in a war cannot be loaded from war libs or classes)
    Fix Version: 1.0
                     (was: 1.x)
    Description: The libraries contained in a war WEB-INF/lib and classes in the WEB-INF/classes directories are not added to the configuration classloader.  This has historically been a problem since this class loader is used to resolve ejb-refs.  This means that war ejb-refs can only be used when deploying an ear and the interface classes are available from another module in the ear.  We could simply add libs and classes to the configuration class loader, but it would make it impossible to isolate wars in the same configuration.  This should be handled when we rewrite the JettyConfigurationBuilder to add JSR 77 objects.  (was: The libraries contained in a war WEB-INF/lib and classes in the WEB-INF/classes directories are not added to the configuration classloader.  This is an problem since this class loader is used to resolve ejb-refs.  This means that war ejb-refs can only be used when deploying an ear and the interface classes are available from another module in the ear.  We could simply add libs and classes to the configuration class loader, but it would make it impossible to isolate wars in the same configuration.  This should be handled when we rewrite the JettyConfigurationBuilder to add JSR 77 objects.)

> WEB-INF/lib/* and WEB-INF/classes aren't on configuration class loader
> ----------------------------------------------------------------------
>
>          Key: GERONIMO-289
>          URL: http://issues.apache.org/jira/browse/GERONIMO-289
>      Project: Geronimo
>         Type: Bug
>   Components: web
>     Versions: 1.0-M2
>     Reporter: Dain Sundstrom
>      Fix For: 1.0

>
> The libraries contained in a war WEB-INF/lib and classes in the WEB-INF/classes directories are not added to the configuration classloader.  This has historically been a problem since this class loader is used to resolve ejb-refs.  This means that war ejb-refs can only be used when deploying an ear and the interface classes are available from another module in the ear.  We could simply add libs and classes to the configuration class loader, but it would make it impossible to isolate wars in the same configuration.  This should be handled when we rewrite the JettyConfigurationBuilder to add JSR 77 objects.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (GERONIMO-289) WEB-INF/lib/* and WEB-INF/classes aren't on configuration class loader

Posted by "Dain Sundstrom (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-289?page=all ]

Dain Sundstrom updated GERONIMO-289:
------------------------------------

    Fix Version: 1.1
                     (was: 1.0)

I don't think this is required for 1.0.

> WEB-INF/lib/* and WEB-INF/classes aren't on configuration class loader
> ----------------------------------------------------------------------
>
>          Key: GERONIMO-289
>          URL: http://issues.apache.org/jira/browse/GERONIMO-289
>      Project: Geronimo
>         Type: Bug
>   Components: web
>     Versions: 1.0-M2
>     Reporter: Dain Sundstrom
>      Fix For: 1.1

>
> The libraries contained in a war WEB-INF/lib and classes in the WEB-INF/classes directories are not added to the configuration classloader.  This has historically been a problem since this class loader is used to resolve ejb-refs.  This means that war ejb-refs can only be used when deploying an ear and the interface classes are available from another module in the ear.  We could simply add libs and classes to the configuration class loader, but it would make it impossible to isolate wars in the same configuration.  This should be handled when we rewrite the JettyConfigurationBuilder to add JSR 77 objects.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (GERONIMO-289) WEB-INF/lib/* and WEB-INF/classes aren't on configuration class loader

Posted by "Dain Sundstrom (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-289?page=all ]
     
Dain Sundstrom closed GERONIMO-289:
-----------------------------------

    Fix Version: 1.1
                     (was: 1.2)
     Resolution: Fixed

> WEB-INF/lib/* and WEB-INF/classes aren't on configuration class loader
> ----------------------------------------------------------------------
>
>          Key: GERONIMO-289
>          URL: http://issues.apache.org/jira/browse/GERONIMO-289
>      Project: Geronimo
>         Type: Bug

>   Components: web
>     Versions: 1.0-M2
>     Reporter: Dain Sundstrom
>      Fix For: 1.1

>
> The libraries contained in a war WEB-INF/lib and classes in the WEB-INF/classes directories are not added to the configuration classloader.  This has historically been a problem since this class loader is used to resolve ejb-refs.  This means that war ejb-refs can only be used when deploying an ear and the interface classes are available from another module in the ear.  We could simply add libs and classes to the configuration class loader, but it would make it impossible to isolate wars in the same configuration.  This should be handled when we rewrite the JettyConfigurationBuilder to add JSR 77 objects.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (GERONIMO-289) Interface classes for an ejb-ref in a war cannot be loaded from war libs or classes

Posted by "Matt Hogstrom (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-289?page=all ]

Matt Hogstrom updated GERONIMO-289:
-----------------------------------

    Fix Version: 1.x
                     (was: 1.0)

This JIRA has been opened for quite some time and is related to GERONIMO-282.  Dain, can you comment on its disposition?

> Interface classes for an ejb-ref in a war cannot be loaded from war libs or classes
> -----------------------------------------------------------------------------------
>
>          Key: GERONIMO-289
>          URL: http://issues.apache.org/jira/browse/GERONIMO-289
>      Project: Geronimo
>         Type: Bug
>   Components: web
>     Versions: 1.0-M2
>     Reporter: Dain Sundstrom
>      Fix For: 1.x

>
> The libraries contained in a war WEB-INF/lib and classes in the WEB-INF/classes directories are not added to the configuration classloader.  This is an problem since this class loader is used to resolve ejb-refs.  This means that war ejb-refs can only be used when deploying an ear and the interface classes are available from another module in the ear.  We could simply add libs and classes to the configuration class loader, but it would make it impossible to isolate wars in the same configuration.  This should be handled when we rewrite the JettyConfigurationBuilder to add JSR 77 objects.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Re: [jira] Commented: (GERONIMO-289) Interface classes for an ejb-ref in a war cannot be loaded from war libs or classes

Posted by Dain Sundstrom <ds...@gluecode.com>.
This is a classloader bug.  We just don't mount the WEB-INF/lib and  
WEB-INF/classes during deployment, so we can't verify anything that  
depends on those classes.

-dain

--
Dain Sundstrom
Chief Architect
Gluecode Software
310.536.8355, ext. 26

On Sep 15, 2004, at 6:37 PM, dev@geronimo.apache.org wrote:

> The following comment has been added to this issue:
>
>      Author: David Jencks
>     Created: Wed, 15 Sep 2004 6:36 PM
>        Body:
> In my experience the ejb interfaces can't be found from a war even if  
> they are elsewhere in an ear such as in the ejb jar file.
> ---------------------------------------------------------------------
> View this comment:
>    
> http://issues.apache.org/jira/browse/GERONIMO-289? 
> page=comments#action_53118
>
> ---------------------------------------------------------------------
> View the issue:
>   http://issues.apache.org/jira/browse/GERONIMO-289
>
> Here is an overview of the issue:
> ---------------------------------------------------------------------
>         Key: GERONIMO-289
>     Summary: Interface classes for an ejb-ref in a war cannot be  
> loaded from war libs or classes
>        Type: Bug
>
>      Status: Unassigned
>    Priority: Major
>
>     Project: Apache Geronimo
>  Components:
>              web
>    Versions:
>              1.0-M2
>
>    Assignee:
>    Reporter: Dain Sundstrom
>
>     Created: Wed, 8 Sep 2004 11:46 AM
>     Updated: Wed, 15 Sep 2004 6:36 PM
>
> Description:
> The libraries contained in a war WEB-INF/lib and classes in the  
> WEB-INF/classes directories are not added to the configuration  
> classloader.  This is an problem since this class loader is used to  
> resolve ejb-refs.  This means that war ejb-refs can only be used when  
> deploying an ear and the interface classes are available from another  
> module in the ear.  We could simply add libs and classes to the  
> configuration class loader, but it would make it impossible to isolate  
> wars in the same configuration.  This should be handled when we  
> rewrite the JettyConfigurationBuilder to add JSR 77 objects.
>
>
> ---------------------------------------------------------------------
> JIRA INFORMATION:
> This message is automatically generated by JIRA.
>
> If you think it was sent incorrectly contact one of the administrators:
>    http://issues.apache.org/jira/secure/Administrators.jspa
>
> If you want more information on JIRA, or have a bug to report see:
>    http://www.atlassian.com/software/jira


[jira] Commented: (GERONIMO-289) Interface classes for an ejb-ref in a war cannot be loaded from war libs or classes

Posted by de...@geronimo.apache.org.
The following comment has been added to this issue:

     Author: David Jencks
    Created: Wed, 15 Sep 2004 6:36 PM
       Body:
In my experience the ejb interfaces can't be found from a war even if they are elsewhere in an ear such as in the ejb jar file.
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/GERONIMO-289?page=comments#action_53118

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/GERONIMO-289

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: GERONIMO-289
    Summary: Interface classes for an ejb-ref in a war cannot be loaded from war libs or classes
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Apache Geronimo
 Components: 
             web
   Versions:
             1.0-M2

   Assignee: 
   Reporter: Dain Sundstrom

    Created: Wed, 8 Sep 2004 11:46 AM
    Updated: Wed, 15 Sep 2004 6:36 PM

Description:
The libraries contained in a war WEB-INF/lib and classes in the WEB-INF/classes directories are not added to the configuration classloader.  This is an problem since this class loader is used to resolve ejb-refs.  This means that war ejb-refs can only be used when deploying an ear and the interface classes are available from another module in the ear.  We could simply add libs and classes to the configuration class loader, but it would make it impossible to isolate wars in the same configuration.  This should be handled when we rewrite the JettyConfigurationBuilder to add JSR 77 objects.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira