You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Joe Bohn (JIRA)" <de...@geronimo.apache.org> on 2006/02/09 04:04:04 UTC

[jira] Created: (GERONIMO-1613) Eliminate unncessary dependencies to reduce assemnbly footprint size

Eliminate unncessary dependencies to reduce assemnbly footprint size
--------------------------------------------------------------------

         Key: GERONIMO-1613
         URL: http://issues.apache.org/jira/browse/GERONIMO-1613
     Project: Geronimo
        Type: Improvement
  Components: general  
    Versions: 1.1    
 Environment: all
    Reporter: Joe Bohn
     Fix For: 1.1


Clean up assembly project.xml and eliminate some unnecessary dependencies in various modules and configs.  This will reduce the footprint size (with special attention to the minimal-tomcat-assembly.

The patch contains the following:
- clean up minimal-tomcat-server\project.xml to remove commented out sections
- clean up web-jms-tomcat-server\project.xml to remove commented out sections
- remove dependencies from config\j2ee_server on xstream, jaxr-api, and geronimo-derby
- remove dependencies from config\j2ee_deployer on geronimo-client-builder
- remove dependencies from module\tomcat on activecluster, wadi-core, and wadi-tomcat55

There are still more dependencies that should be removed but this is a start.
These changes reduce the disk footprint of minimal-tomcat-server from 27 meg to about 21 meg.

-- 
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] Reopened: (GERONIMO-1613) Eliminate unncessary dependencies to reduce assemnbly footprint size

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


Re-opened this issue so that we can continue to attach patches as we reduce the size ... per Dave's request.

> Eliminate unncessary dependencies to reduce assemnbly footprint size
> --------------------------------------------------------------------
>
>          Key: GERONIMO-1613
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1613
>      Project: Geronimo
>         Type: Improvement
>   Components: general
>     Versions: 1.1
>  Environment: all
>     Reporter: Joe Bohn
>     Assignee: David Jencks
>      Fix For: 1.1
>  Attachments: RemoveDeps.patch
>
> Clean up assembly project.xml and eliminate some unnecessary dependencies in various modules and configs.  This will reduce the footprint size (with special attention to the minimal-tomcat-assembly.
> The patch contains the following:
> - clean up minimal-tomcat-server\project.xml to remove commented out sections
> - clean up web-jms-tomcat-server\project.xml to remove commented out sections
> - remove dependencies from config\j2ee_server on xstream, jaxr-api, and geronimo-derby
> - remove dependencies from config\j2ee_deployer on geronimo-client-builder
> - remove dependencies from module\tomcat on activecluster, wadi-core, and wadi-tomcat55
> There are still more dependencies that should be removed but this is a start.
> These changes reduce the disk footprint of minimal-tomcat-server from 27 meg to about 21 meg.

-- 
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-1613) Eliminate unncessary dependencies to reduce assemnbly footprint size

Posted by Joe Bohn <jo...@earthlink.net>.
Dave,

Based upon your request for a single JIRA with multiple patches I 
re-opened GERONIMO-1613 and added another patch (RemoveDeps2.patch).

Not much of an additional reduction with this one but it's taking me 
much longer to figure out what is going on with XmlBeans and 
geronimo-gbean-deployer and I didn't want to lose these changes along 
the way.

Joe


David Jencks wrote:
> 
> On Feb 14, 2006, at 10:03 AM, Joe Bohn wrote:
> 
>> David,
>>
>> Thanks for the clarification.  I'm still having some problems  
>> understanding our classloader construction ... so can I ask for a  
>> little more clarification?
>>
>> When I encountered this problem it was because I had removed 3  derby 
>> dependencies (geronimo-derby, derby, and derbynet) from  config 
>> j2ee-server.  Daytrader had a parent of j2ee-server ... so  it makes 
>> sense that this change could have affected daytrader.  I  had a fix 
>> that I hadn't made available yet where I added the  dependencies 
>> directly into daytrader for these same three derby  configs.  However, 
>> I noticed that you chose instead to add system- database (which also 
>> included these 3 dependencies) as a parent of  daytrader.  What 
>> additional benefits does this provide?
> 
> 
> I don't think your change would have worked, since I believe it would  
> have still resulted in 2 copies of the derby classes being loaded and  
> the derby engine (started and loaded from the system-database config)  
> being in a different classloader than the jdbc classes trying to use  it 
> in the daytrader app.
> 
> Making daytrader a child of system-database forces all the classes to  
> come from the system-database classloader.
> 
>>
>> Also, I'm working on additional updates.  Would you prefer to have  
>> individual JIRAs for these items or larger ones with more "bang for  
>> buck" in reducing the size of minimal?  What I have right now  doesn't 
>> provide a lot of additional savings yet.
> 
> 
> I think I might be happiest with a single jira item with mutliple  
> patches on it: when we decide we can't get any smaller we can close it.
> 
> thanks
> david jencks
> 
>>
>> Thanks,
>> Joe
>>
>>
>> David Jencks (JIRA) wrote:
>>
>>>     [ http://issues.apache.org/jira/browse/GERONIMO-1613? 
>>> page=comments#action_12366301 ] David Jencks commented on  
>>> GERONIMO-1613:
>>> ----------------------------------------
>>> To be a little clearer, I fixed the derby problems in daytrader  
>>> also. r377628
>>>
>>>> Eliminate unncessary dependencies to reduce assemnbly footprint size
>>>> --------------------------------------------------------------------
>>>>
>>>>         Key: GERONIMO-1613
>>>>         URL: http://issues.apache.org/jira/browse/GERONIMO-1613
>>>>     Project: Geronimo
>>>>        Type: Improvement
>>>>  Components: general
>>>>    Versions: 1.1
>>>> Environment: all
>>>>    Reporter: Joe Bohn
>>>>    Assignee: David Jencks
>>>>     Fix For: 1.1
>>>> Attachments: RemoveDeps.patch
>>>>
>>>> Clean up assembly project.xml and eliminate some unnecessary  
>>>> dependencies in various modules and configs.  This will reduce  the 
>>>> footprint size (with special attention to the minimal-tomcat- assembly.
>>>> The patch contains the following:
>>>> - clean up minimal-tomcat-server\project.xml to remove commented  
>>>> out sections
>>>> - clean up web-jms-tomcat-server\project.xml to remove commented  
>>>> out sections
>>>> - remove dependencies from config\j2ee_server on xstream, jaxr- api, 
>>>> and geronimo-derby
>>>> - remove dependencies from config\j2ee_deployer on geronimo- 
>>>> client-builder
>>>> - remove dependencies from module\tomcat on activecluster, wadi- 
>>>> core, and wadi-tomcat55
>>>> There are still more dependencies that should be removed but this  
>>>> is a start.
>>>> These changes reduce the disk footprint of minimal-tomcat-server  
>>>> from 27 meg to about 21 meg.
>>
>>
>> -- 
>> Joe Bohn
>> joe.bohn at earthlink.net
>>
>> "He is no fool who gives what he cannot keep, to gain what he  cannot 
>> lose."   -- Jim Elliot
> 
> 
> 
> 

-- 
Joe Bohn
joe.bohn at earthlink.net

"He is no fool who gives what he cannot keep, to gain what he cannot 
lose."   -- Jim Elliot

Re: [jira] Commented: (GERONIMO-1613) Eliminate unncessary dependencies to reduce assemnbly footprint size

Posted by David Jencks <da...@yahoo.com>.
On Feb 14, 2006, at 10:03 AM, Joe Bohn wrote:

> David,
>
> Thanks for the clarification.  I'm still having some problems  
> understanding our classloader construction ... so can I ask for a  
> little more clarification?
>
> When I encountered this problem it was because I had removed 3  
> derby dependencies (geronimo-derby, derby, and derbynet) from  
> config j2ee-server.  Daytrader had a parent of j2ee-server ... so  
> it makes sense that this change could have affected daytrader.  I  
> had a fix that I hadn't made available yet where I added the  
> dependencies directly into daytrader for these same three derby  
> configs.  However, I noticed that you chose instead to add system- 
> database (which also included these 3 dependencies) as a parent of  
> daytrader.  What additional benefits does this provide?

I don't think your change would have worked, since I believe it would  
have still resulted in 2 copies of the derby classes being loaded and  
the derby engine (started and loaded from the system-database config)  
being in a different classloader than the jdbc classes trying to use  
it in the daytrader app.

Making daytrader a child of system-database forces all the classes to  
come from the system-database classloader.
>
> Also, I'm working on additional updates.  Would you prefer to have  
> individual JIRAs for these items or larger ones with more "bang for  
> buck" in reducing the size of minimal?  What I have right now  
> doesn't provide a lot of additional savings yet.

I think I might be happiest with a single jira item with mutliple  
patches on it: when we decide we can't get any smaller we can close it.

thanks
david jencks

>
> Thanks,
> Joe
>
>
> David Jencks (JIRA) wrote:
>>     [ http://issues.apache.org/jira/browse/GERONIMO-1613? 
>> page=comments#action_12366301 ] David Jencks commented on  
>> GERONIMO-1613:
>> ----------------------------------------
>> To be a little clearer, I fixed the derby problems in daytrader  
>> also. r377628
>>> Eliminate unncessary dependencies to reduce assemnbly footprint size
>>> --------------------------------------------------------------------
>>>
>>>         Key: GERONIMO-1613
>>>         URL: http://issues.apache.org/jira/browse/GERONIMO-1613
>>>     Project: Geronimo
>>>        Type: Improvement
>>>  Components: general
>>>    Versions: 1.1
>>> Environment: all
>>>    Reporter: Joe Bohn
>>>    Assignee: David Jencks
>>>     Fix For: 1.1
>>> Attachments: RemoveDeps.patch
>>>
>>> Clean up assembly project.xml and eliminate some unnecessary  
>>> dependencies in various modules and configs.  This will reduce  
>>> the footprint size (with special attention to the minimal-tomcat- 
>>> assembly.
>>> The patch contains the following:
>>> - clean up minimal-tomcat-server\project.xml to remove commented  
>>> out sections
>>> - clean up web-jms-tomcat-server\project.xml to remove commented  
>>> out sections
>>> - remove dependencies from config\j2ee_server on xstream, jaxr- 
>>> api, and geronimo-derby
>>> - remove dependencies from config\j2ee_deployer on geronimo- 
>>> client-builder
>>> - remove dependencies from module\tomcat on activecluster, wadi- 
>>> core, and wadi-tomcat55
>>> There are still more dependencies that should be removed but this  
>>> is a start.
>>> These changes reduce the disk footprint of minimal-tomcat-server  
>>> from 27 meg to about 21 meg.
>
> -- 
> Joe Bohn
> joe.bohn at earthlink.net
>
> "He is no fool who gives what he cannot keep, to gain what he  
> cannot lose."   -- Jim Elliot


Re: [jira] Commented: (GERONIMO-1613) Eliminate unncessary dependencies to reduce assemnbly footprint size

Posted by Joe Bohn <jo...@earthlink.net>.
David,

Thanks for the clarification.  I'm still having some problems 
understanding our classloader construction ... so can I ask for a little 
more clarification?

When I encountered this problem it was because I had removed 3 derby 
dependencies (geronimo-derby, derby, and derbynet) from config 
j2ee-server.  Daytrader had a parent of j2ee-server ... so it makes 
sense that this change could have affected daytrader.  I had a fix that 
I hadn't made available yet where I added the dependencies directly into 
daytrader for these same three derby configs.  However, I noticed that 
you chose instead to add system-database (which also included these 3 
dependencies) as a parent of daytrader.  What additional benefits does 
this provide?

Also, I'm working on additional updates.  Would you prefer to have 
individual JIRAs for these items or larger ones with more "bang for 
buck" in reducing the size of minimal?  What I have right now doesn't 
provide a lot of additional savings yet.

Thanks,
Joe


David Jencks (JIRA) wrote:
>     [ http://issues.apache.org/jira/browse/GERONIMO-1613?page=comments#action_12366301 ] 
> 
> David Jencks commented on GERONIMO-1613:
> ----------------------------------------
> 
> To be a little clearer, I fixed the derby problems in daytrader also. r377628 
> 
> 
>>Eliminate unncessary dependencies to reduce assemnbly footprint size
>>--------------------------------------------------------------------
>>
>>         Key: GERONIMO-1613
>>         URL: http://issues.apache.org/jira/browse/GERONIMO-1613
>>     Project: Geronimo
>>        Type: Improvement
>>  Components: general
>>    Versions: 1.1
>> Environment: all
>>    Reporter: Joe Bohn
>>    Assignee: David Jencks
>>     Fix For: 1.1
>> Attachments: RemoveDeps.patch
>>
>>Clean up assembly project.xml and eliminate some unnecessary dependencies in various modules and configs.  This will reduce the footprint size (with special attention to the minimal-tomcat-assembly.
>>The patch contains the following:
>>- clean up minimal-tomcat-server\project.xml to remove commented out sections
>>- clean up web-jms-tomcat-server\project.xml to remove commented out sections
>>- remove dependencies from config\j2ee_server on xstream, jaxr-api, and geronimo-derby
>>- remove dependencies from config\j2ee_deployer on geronimo-client-builder
>>- remove dependencies from module\tomcat on activecluster, wadi-core, and wadi-tomcat55
>>There are still more dependencies that should be removed but this is a start.
>>These changes reduce the disk footprint of minimal-tomcat-server from 27 meg to about 21 meg.
> 
> 

-- 
Joe Bohn
joe.bohn at earthlink.net

"He is no fool who gives what he cannot keep, to gain what he cannot 
lose."   -- Jim Elliot

[jira] Commented: (GERONIMO-1613) Eliminate unncessary dependencies to reduce assemnbly footprint size

Posted by "David Jencks (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1613?page=comments#action_12366301 ] 

David Jencks commented on GERONIMO-1613:
----------------------------------------

To be a little clearer, I fixed the derby problems in daytrader also. r377628 

> Eliminate unncessary dependencies to reduce assemnbly footprint size
> --------------------------------------------------------------------
>
>          Key: GERONIMO-1613
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1613
>      Project: Geronimo
>         Type: Improvement
>   Components: general
>     Versions: 1.1
>  Environment: all
>     Reporter: Joe Bohn
>     Assignee: David Jencks
>      Fix For: 1.1
>  Attachments: RemoveDeps.patch
>
> Clean up assembly project.xml and eliminate some unnecessary dependencies in various modules and configs.  This will reduce the footprint size (with special attention to the minimal-tomcat-assembly.
> The patch contains the following:
> - clean up minimal-tomcat-server\project.xml to remove commented out sections
> - clean up web-jms-tomcat-server\project.xml to remove commented out sections
> - remove dependencies from config\j2ee_server on xstream, jaxr-api, and geronimo-derby
> - remove dependencies from config\j2ee_deployer on geronimo-client-builder
> - remove dependencies from module\tomcat on activecluster, wadi-core, and wadi-tomcat55
> There are still more dependencies that should be removed but this is a start.
> These changes reduce the disk footprint of minimal-tomcat-server from 27 meg to about 21 meg.

-- 
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-1613) Eliminate unncessary dependencies to reduce assemnbly footprint size

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

    Resolution: Fixed

Patch looks good and my preliminary testing shows it works.  I haven't run into any issues.  I have committed the patches, Joe, thanks for all of your hard work in this.  Please re-open if anyone finds issues.  Please open a new JIRA for M2 conversion if need be.

Sending        configs/activemq/project.properties
Sending        configs/axis/project.xml
Sending        configs/j2ee-server/project.xml
Sending        configs/javamail/project.xml
Sending        configs/openejb/project.xml
Sending        configs/rmi-naming/project.xml
Sending        configs/system-database/project.xml
Sending        modules/client-builder/maven.xml
Sending        modules/client-builder/project.xml
Sending        modules/tomcat/project.xml
Transmitting file data ..........
Committed revision 384651.


> Eliminate unncessary dependencies to reduce assemnbly footprint size
> --------------------------------------------------------------------
>
>          Key: GERONIMO-1613
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1613
>      Project: Geronimo
>         Type: Improvement
>   Components: general
>     Versions: 1.2
>  Environment: all
>     Reporter: Joe Bohn
>     Assignee: Jeff Genender
>      Fix For: 1.2
>  Attachments: 1613_RemoveDeps3.patch, 1613_RemoveDeps4.patch, RemoveDeps.patch, RemoveDeps2.1.patch, RemoveDeps2.2.patch, RemoveDeps2.3.patch, RemoveDeps2.patch
>
> Clean up assembly project.xml and eliminate some unnecessary dependencies in various modules and configs.  This will reduce the footprint size (with special attention to the minimal-tomcat-assembly.
> The patch contains the following:
> - clean up minimal-tomcat-server\project.xml to remove commented out sections
> - clean up web-jms-tomcat-server\project.xml to remove commented out sections
> - remove dependencies from config\j2ee_server on xstream, jaxr-api, and geronimo-derby
> - remove dependencies from config\j2ee_deployer on geronimo-client-builder
> - remove dependencies from module\tomcat on activecluster, wadi-core, and wadi-tomcat55
> There are still more dependencies that should be removed but this is a start.
> These changes reduce the disk footprint of minimal-tomcat-server from 27 meg to about 21 meg.

-- 
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-1613) Eliminate unncessary dependencies to reduce assemnbly footprint size

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

Joe Bohn updated GERONIMO-1613:
-------------------------------

    Attachment: 1613_RemoveDeps4.patch

Added new patch with corba spec dependency removed from configs/rmi-naming.  This gets the minimal image down to around 15.7 meg.

> Eliminate unncessary dependencies to reduce assemnbly footprint size
> --------------------------------------------------------------------
>
>          Key: GERONIMO-1613
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1613
>      Project: Geronimo
>         Type: Improvement
>   Components: general
>     Versions: 1.2
>  Environment: all
>     Reporter: Joe Bohn
>     Assignee: David Jencks
>      Fix For: 1.2
>  Attachments: 1613_RemoveDeps3.patch, 1613_RemoveDeps4.patch, RemoveDeps.patch, RemoveDeps2.1.patch, RemoveDeps2.2.patch, RemoveDeps2.3.patch, RemoveDeps2.patch
>
> Clean up assembly project.xml and eliminate some unnecessary dependencies in various modules and configs.  This will reduce the footprint size (with special attention to the minimal-tomcat-assembly.
> The patch contains the following:
> - clean up minimal-tomcat-server\project.xml to remove commented out sections
> - clean up web-jms-tomcat-server\project.xml to remove commented out sections
> - remove dependencies from config\j2ee_server on xstream, jaxr-api, and geronimo-derby
> - remove dependencies from config\j2ee_deployer on geronimo-client-builder
> - remove dependencies from module\tomcat on activecluster, wadi-core, and wadi-tomcat55
> There are still more dependencies that should be removed but this is a start.
> These changes reduce the disk footprint of minimal-tomcat-server from 27 meg to about 21 meg.

-- 
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-1613) Eliminate unncessary dependencies to reduce assemnbly footprint size

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

Joe Bohn updated GERONIMO-1613:
-------------------------------

    Attachment: RemoveDeps2.2.patch

Updated version of the second patch ....  RemoveDeps2.2.patch should be used instead of RemoveDeps2.1.patch

This patch removes some more dependencies.  Because it affected some of the same parts I could not make an independent patch and so I rolled in the changes from the previous patch (2.1).

> Eliminate unncessary dependencies to reduce assemnbly footprint size
> --------------------------------------------------------------------
>
>          Key: GERONIMO-1613
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1613
>      Project: Geronimo
>         Type: Improvement
>   Components: general
>     Versions: 1.1
>  Environment: all
>     Reporter: Joe Bohn
>     Assignee: David Jencks
>      Fix For: 1.1
>  Attachments: RemoveDeps.patch, RemoveDeps2.1.patch, RemoveDeps2.2.patch, RemoveDeps2.patch
>
> Clean up assembly project.xml and eliminate some unnecessary dependencies in various modules and configs.  This will reduce the footprint size (with special attention to the minimal-tomcat-assembly.
> The patch contains the following:
> - clean up minimal-tomcat-server\project.xml to remove commented out sections
> - clean up web-jms-tomcat-server\project.xml to remove commented out sections
> - remove dependencies from config\j2ee_server on xstream, jaxr-api, and geronimo-derby
> - remove dependencies from config\j2ee_deployer on geronimo-client-builder
> - remove dependencies from module\tomcat on activecluster, wadi-core, and wadi-tomcat55
> There are still more dependencies that should be removed but this is a start.
> These changes reduce the disk footprint of minimal-tomcat-server from 27 meg to about 21 meg.

-- 
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-1613) Eliminate unncessary dependencies to reduce assemnbly footprint size

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

Joe Bohn updated GERONIMO-1613:
-------------------------------

    Attachment: RemoveDeps2.3.patch

Latest and greatest patch.  This includes all previous patch contents (with the exception of the first patch that was already committed).  This gets us back down (again) to the 16.4 meg size with some additional small items removed (like asm).

It was created from geronimo root on windows xp.

> Eliminate unncessary dependencies to reduce assemnbly footprint size
> --------------------------------------------------------------------
>
>          Key: GERONIMO-1613
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1613
>      Project: Geronimo
>         Type: Improvement
>   Components: general
>     Versions: 1.1
>  Environment: all
>     Reporter: Joe Bohn
>     Assignee: David Jencks
>      Fix For: 1.1
>  Attachments: RemoveDeps.patch, RemoveDeps2.1.patch, RemoveDeps2.2.patch, RemoveDeps2.3.patch, RemoveDeps2.patch
>
> Clean up assembly project.xml and eliminate some unnecessary dependencies in various modules and configs.  This will reduce the footprint size (with special attention to the minimal-tomcat-assembly.
> The patch contains the following:
> - clean up minimal-tomcat-server\project.xml to remove commented out sections
> - clean up web-jms-tomcat-server\project.xml to remove commented out sections
> - remove dependencies from config\j2ee_server on xstream, jaxr-api, and geronimo-derby
> - remove dependencies from config\j2ee_deployer on geronimo-client-builder
> - remove dependencies from module\tomcat on activecluster, wadi-core, and wadi-tomcat55
> There are still more dependencies that should be removed but this is a start.
> These changes reduce the disk footprint of minimal-tomcat-server from 27 meg to about 21 meg.

-- 
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] Commented: (GERONIMO-1613) Eliminate unncessary dependencies to reduce assemnbly footprint size

Posted by "Joe Bohn (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1613?page=comments#action_12369689 ] 

Joe Bohn commented on GERONIMO-1613:
------------------------------------

Part of the work was already integrated prior to the start of the M2 conversion ... so that portion should be ok.  The other portion was completed in the patch before most of the M2 conversion work began.  I've been trying to identify areas where there may be "dueling changes" so that we can work together to ensure nothing is lost on either effort. 

On the plus side, I think the overlap is fairly small.  Most of the changes for the M2 conversion have been in the modules and plugins while most of these changes are in the configs.  I've also been told that changes in the project.xml for dependencies have not yet been addressed in the M2 conversion where the scope needs to be set.  So, hopefully we'll be able to get this work integrated before the dependency scopes are set and before the configs/assemblies are converted to M2.  

> Eliminate unncessary dependencies to reduce assemnbly footprint size
> --------------------------------------------------------------------
>
>          Key: GERONIMO-1613
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1613
>      Project: Geronimo
>         Type: Improvement
>   Components: general
>     Versions: 1.2
>  Environment: all
>     Reporter: Joe Bohn
>     Assignee: Jeff Genender
>      Fix For: 1.2
>  Attachments: 1613_RemoveDeps3.patch, 1613_RemoveDeps4.patch, RemoveDeps.patch, RemoveDeps2.1.patch, RemoveDeps2.2.patch, RemoveDeps2.3.patch, RemoveDeps2.patch
>
> Clean up assembly project.xml and eliminate some unnecessary dependencies in various modules and configs.  This will reduce the footprint size (with special attention to the minimal-tomcat-assembly.
> The patch contains the following:
> - clean up minimal-tomcat-server\project.xml to remove commented out sections
> - clean up web-jms-tomcat-server\project.xml to remove commented out sections
> - remove dependencies from config\j2ee_server on xstream, jaxr-api, and geronimo-derby
> - remove dependencies from config\j2ee_deployer on geronimo-client-builder
> - remove dependencies from module\tomcat on activecluster, wadi-core, and wadi-tomcat55
> There are still more dependencies that should be removed but this is a start.
> These changes reduce the disk footprint of minimal-tomcat-server from 27 meg to about 21 meg.

-- 
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-1613) Eliminate unncessary dependencies to reduce assemnbly footprint size

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

Joe Bohn updated GERONIMO-1613:
-------------------------------

    Attachment: RemoveDeps2.patch

Not a very big reduction .... just removal of two small jars.  I was going to wait until I had something more substantial but I'm a bit stuck on the removal of XmlBeans and I didn't want to lose these changes.   The RemoveDeps2 patch only removed geronimo-client and geronimo-timer.

> Eliminate unncessary dependencies to reduce assemnbly footprint size
> --------------------------------------------------------------------
>
>          Key: GERONIMO-1613
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1613
>      Project: Geronimo
>         Type: Improvement
>   Components: general
>     Versions: 1.1
>  Environment: all
>     Reporter: Joe Bohn
>     Assignee: David Jencks
>      Fix For: 1.1
>  Attachments: RemoveDeps.patch, RemoveDeps2.patch
>
> Clean up assembly project.xml and eliminate some unnecessary dependencies in various modules and configs.  This will reduce the footprint size (with special attention to the minimal-tomcat-assembly.
> The patch contains the following:
> - clean up minimal-tomcat-server\project.xml to remove commented out sections
> - clean up web-jms-tomcat-server\project.xml to remove commented out sections
> - remove dependencies from config\j2ee_server on xstream, jaxr-api, and geronimo-derby
> - remove dependencies from config\j2ee_deployer on geronimo-client-builder
> - remove dependencies from module\tomcat on activecluster, wadi-core, and wadi-tomcat55
> There are still more dependencies that should be removed but this is a start.
> These changes reduce the disk footprint of minimal-tomcat-server from 27 meg to about 21 meg.

-- 
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-1613) Eliminate unncessary dependencies to reduce assemnbly footprint size

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

Joe Bohn updated GERONIMO-1613:
-------------------------------

    Attachment: 1613_RemoveDeps3.patch

This patch includes the previous patches and removes the uber-spec jar as well.    This should have resulted in an additional savings of nearly 1.2 meg additional ... but unfortunately it doesn't.  I had to add in several individual spec jars that were not included earlier.  In addition to this there was a change (hopefully temporary) to add the corba spec as a dependency in rmi-naming which increased the image size by 640K.    The net result is that we only reduce the image from 16.4 to 16.3 at the moment (but without this change it actually has grown).

> Eliminate unncessary dependencies to reduce assemnbly footprint size
> --------------------------------------------------------------------
>
>          Key: GERONIMO-1613
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1613
>      Project: Geronimo
>         Type: Improvement
>   Components: general
>     Versions: 1.1
>  Environment: all
>     Reporter: Joe Bohn
>     Assignee: David Jencks
>      Fix For: 1.1
>  Attachments: 1613_RemoveDeps3.patch, RemoveDeps.patch, RemoveDeps2.1.patch, RemoveDeps2.2.patch, RemoveDeps2.3.patch, RemoveDeps2.patch
>
> Clean up assembly project.xml and eliminate some unnecessary dependencies in various modules and configs.  This will reduce the footprint size (with special attention to the minimal-tomcat-assembly.
> The patch contains the following:
> - clean up minimal-tomcat-server\project.xml to remove commented out sections
> - clean up web-jms-tomcat-server\project.xml to remove commented out sections
> - remove dependencies from config\j2ee_server on xstream, jaxr-api, and geronimo-derby
> - remove dependencies from config\j2ee_deployer on geronimo-client-builder
> - remove dependencies from module\tomcat on activecluster, wadi-core, and wadi-tomcat55
> There are still more dependencies that should be removed but this is a start.
> These changes reduce the disk footprint of minimal-tomcat-server from 27 meg to about 21 meg.

-- 
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] Assigned: (GERONIMO-1613) Eliminate unncessary dependencies to reduce assemnbly footprint size

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

Jeff Genender reassigned GERONIMO-1613:
---------------------------------------

    Assign To: Jeff Genender  (was: David Jencks)

> Eliminate unncessary dependencies to reduce assemnbly footprint size
> --------------------------------------------------------------------
>
>          Key: GERONIMO-1613
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1613
>      Project: Geronimo
>         Type: Improvement
>   Components: general
>     Versions: 1.2
>  Environment: all
>     Reporter: Joe Bohn
>     Assignee: Jeff Genender
>      Fix For: 1.2
>  Attachments: 1613_RemoveDeps3.patch, 1613_RemoveDeps4.patch, RemoveDeps.patch, RemoveDeps2.1.patch, RemoveDeps2.2.patch, RemoveDeps2.3.patch, RemoveDeps2.patch
>
> Clean up assembly project.xml and eliminate some unnecessary dependencies in various modules and configs.  This will reduce the footprint size (with special attention to the minimal-tomcat-assembly.
> The patch contains the following:
> - clean up minimal-tomcat-server\project.xml to remove commented out sections
> - clean up web-jms-tomcat-server\project.xml to remove commented out sections
> - remove dependencies from config\j2ee_server on xstream, jaxr-api, and geronimo-derby
> - remove dependencies from config\j2ee_deployer on geronimo-client-builder
> - remove dependencies from module\tomcat on activecluster, wadi-core, and wadi-tomcat55
> There are still more dependencies that should be removed but this is a start.
> These changes reduce the disk footprint of minimal-tomcat-server from 27 meg to about 21 meg.

-- 
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-1613) Eliminate unncessary dependencies to reduce assemnbly footprint size

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

Joe Bohn updated GERONIMO-1613:
-------------------------------

    Attachment: RemoveDeps2.1.patch

Please ignore the previous patch (RemoveDeps2.patch) and use this patch (RemoveDeps2.1.patch) instead.   I was a bit too eager to remove comments before I created the patch and accidentally removed a live dependency.

> Eliminate unncessary dependencies to reduce assemnbly footprint size
> --------------------------------------------------------------------
>
>          Key: GERONIMO-1613
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1613
>      Project: Geronimo
>         Type: Improvement
>   Components: general
>     Versions: 1.1
>  Environment: all
>     Reporter: Joe Bohn
>     Assignee: David Jencks
>      Fix For: 1.1
>  Attachments: RemoveDeps.patch, RemoveDeps2.1.patch, RemoveDeps2.patch
>
> Clean up assembly project.xml and eliminate some unnecessary dependencies in various modules and configs.  This will reduce the footprint size (with special attention to the minimal-tomcat-assembly.
> The patch contains the following:
> - clean up minimal-tomcat-server\project.xml to remove commented out sections
> - clean up web-jms-tomcat-server\project.xml to remove commented out sections
> - remove dependencies from config\j2ee_server on xstream, jaxr-api, and geronimo-derby
> - remove dependencies from config\j2ee_deployer on geronimo-client-builder
> - remove dependencies from module\tomcat on activecluster, wadi-core, and wadi-tomcat55
> There are still more dependencies that should be removed but this is a start.
> These changes reduce the disk footprint of minimal-tomcat-server from 27 meg to about 21 meg.

-- 
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] Commented: (GERONIMO-1613) Eliminate unncessary dependencies to reduce assemnbly footprint size

Posted by "Joe Bohn (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1613?page=comments#action_12366253 ] 

Joe Bohn commented on GERONIMO-1613:
------------------------------------

Hmmmm perhaps we should wait to apply this patch.   My initial tests with a simple application worked just fine on all assemblies.  However, when I attempt to populate the daytrader DB for either the tomcat or jetty assembly I get the following set of errors.   Anybody have any ideas how changes in the config dependencies could cause these types of error?  There doesn't seem to be any more information in the log.


        SQL Exception: Failed to start database 'DaytraderDatabase', see the next exception for details.
SQL Exception: Failed to start database 'DaytraderDatabase', see the next exception for details.
        at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Util.java)
        at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Util.java)
        at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Util.java)
        at org.apache.derby.impl.jdbc.EmbedConnection.newSQLException(EmbedConnection.java)
        at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(EmbedConnection.java)
        at org.apache.derby.impl.jdbc.EmbedConnection.<init>(EmbedConnection.java)
        at org.apache.derby.impl.jdbc.EmbedConnection20.<init>(EmbedConnection20.java)
        at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(EmbedConnection30.java)
        at org.apache.derby.jdbc.Driver30.getNewEmbedConnection(Driver30.java)
        at org.apache.derby.jdbc.Driver169.connect(Driver169.java)
        at org.apache.derby.jdbc.EmbeddedDataSource.getConnection(EmbeddedDataSource.java)
        at org.apache.derby.jdbc.EmbeddedDataSource.getConnection(EmbeddedDataSource.java)
        at org.apache.derby.jdbc.EmbeddedXADataSource.setupResourceAdapter(EmbeddedXADataSource.java)
        at org.apache.derby.jdbc.EmbeddedXADataSource.getXAConnection(EmbeddedXADataSource.java)
        at org.tranql.connector.jdbc.AbstractXADataSourceMCF.getPhysicalConnection(AbstractXADataSourceMCF.java:74)
        at org.tranql.connector.derby.EmbeddedXAMCF.createManagedConnection(EmbeddedXAMCF.java:52)
        at org.apache.geronimo.connector.outbound.MCFConnectionInterceptor.getConnection(MCFConnectionInterceptor.java:41)
        at org.apache.geronimo.connector.outbound.XAResourceInsertionInterceptor.getConnection(XAResourceInsertionInterceptor.java:41)
        at org.apache.geronimo.connector.outbound.SinglePoolConnectionInterceptor.internalGetConnection(SinglePoolConnectionInterceptor.java:63)
        at org.apache.geronimo.connector.outbound.AbstractSinglePoolConnectionInterceptor.getConnection(AbstractSinglePoolConnectionInterceptor.java:73)
        at org.apache.geronimo.connector.outbound.TransactionEnlistingInterceptor.getConnection(TransactionEnlistingInterceptor.java:47)
        at org.apache.geronimo.connector.outbound.TransactionCachingInterceptor.getConnection(TransactionCachingInterceptor.java:86)
        at org.apache.geronimo.connector.outbound.ConnectionHandleInterceptor.getConnection(ConnectionHandleInterceptor.java:43)
        at org.apache.geronimo.connector.outbound.TCCLInterceptor.getConnection(TCCLInterceptor.java:39)
        at org.apache.geronimo.connector.outbound.ConnectionTrackingInterceptor.getConnection(ConnectionTrackingInterceptor.java:66)
        at org.apache.geronimo.connector.outbound.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:57)
        at org.tranql.connector.jdbc.DataSource.getConnection(DataSource.java:56)
        at $javax.sql.DataSource$$FastClassByCGLIB$$6525cafd.invoke(<generated>)
        at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
        at org.apache.geronimo.connector.ConnectorMethodInterceptor.intercept(ConnectorMethodInterceptor.java:53)
        at $javax.sql.DataSource$$EnhancerByCGLIB$$4d687449.getConnection(<generated>)
        at org.apache.geronimo.samples.daytrader.direct.TradeDirect.getConn(TradeDirect.java:2035)
        at org.apache.geronimo.samples.daytrader.direct.TradeDirect.resetTrade(TradeDirect.java:1799)
        at org.apache.geronimo.samples.daytrader.TradeAction.resetTrade(TradeAction.java:490)
        at org.apache.geronimo.samples.daytrader.web.TradeBuildDB.<init>(TradeBuildDB.java:62)
        at org.apache.geronimo.samples.daytrader.web.TradeConfigServlet.service(TradeConfigServlet.java:353)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
        at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSubjectValve.java:46)
        at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:273)
        at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:31)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        at java.lang.Thread.run(Thread.java:534)
...
<@JAB  Same exception as above appears again   >
...
16:30:03,243 ERROR [Log] Error: TradeBuildDB: Unable to delete Trade users (uid:0, uid:1, ...) and Trade Quotes (s:0, s:1, ...)

        SQL Exception: Failed to start database 'DaytraderDatabase', see the next exception for details.
SQL Exception: Failed to start database 'DaytraderDatabase', see the next exception for details.
        at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Util.java)
        at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Util.java)
        at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Util.java)
        at org.apache.derby.impl.jdbc.EmbedConnection.newSQLException(EmbedConnection.java)
        at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(EmbedConnection.java)
        at org.apache.derby.impl.jdbc.EmbedConnection.<init>(EmbedConnection.java)
        at org.apache.derby.impl.jdbc.EmbedConnection20.<init>(EmbedConnection20.java)
        at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(EmbedConnection30.java)
        at org.apache.derby.jdbc.Driver30.getNewEmbedConnection(Driver30.java)
        at org.apache.derby.jdbc.Driver169.connect(Driver169.java)
        at org.apache.derby.jdbc.EmbeddedDataSource.getConnection(EmbeddedDataSource.java)
        at org.apache.derby.jdbc.EmbeddedDataSource.getConnection(EmbeddedDataSource.java)
        at org.apache.derby.jdbc.EmbeddedXADataSource.setupResourceAdapter(EmbeddedXADataSource.java)
        at org.apache.derby.jdbc.EmbeddedXADataSource.getXAConnection(EmbeddedXADataSource.java)
        at org.tranql.connector.jdbc.AbstractXADataSourceMCF.getPhysicalConnection(AbstractXADataSourceMCF.java:74)
        at org.tranql.connector.derby.EmbeddedXAMCF.createManagedConnection(EmbeddedXAMCF.java:52)
        at org.apache.geronimo.connector.outbound.MCFConnectionInterceptor.getConnection(MCFConnectionInterceptor.java:41)
        at org.apache.geronimo.connector.outbound.XAResourceInsertionInterceptor.getConnection(XAResourceInsertionInterceptor.java:41)
        at org.apache.geronimo.connector.outbound.SinglePoolConnectionInterceptor.internalGetConnection(SinglePoolConnectionInterceptor.java:63)
        at org.apache.geronimo.connector.outbound.AbstractSinglePoolConnectionInterceptor.getConnection(AbstractSinglePoolConnectionInterceptor.java:73)
        at org.apache.geronimo.connector.outbound.TransactionEnlistingInterceptor.getConnection(TransactionEnlistingInterceptor.java:47)
        at org.apache.geronimo.connector.outbound.TransactionCachingInterceptor.getConnection(TransactionCachingInterceptor.java:86)
        at org.apache.geronimo.connector.outbound.ConnectionHandleInterceptor.getConnection(ConnectionHandleInterceptor.java:43)
        at org.apache.geronimo.connector.outbound.TCCLInterceptor.getConnection(TCCLInterceptor.java:39)
        at org.apache.geronimo.connector.outbound.ConnectionTrackingInterceptor.getConnection(ConnectionTrackingInterceptor.java:66)
        at org.apache.geronimo.connector.outbound.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:57)
        at org.tranql.connector.jdbc.DataSource.getConnection(DataSource.java:56)
        at $javax.sql.DataSource$$FastClassByCGLIB$$6525cafd.invoke(<generated>)
        at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
        at org.apache.geronimo.connector.ConnectorMethodInterceptor.intercept(ConnectorMethodInterceptor.java:53)
        at $javax.sql.DataSource$$EnhancerByCGLIB$$4d687449.getConnection(<generated>)
        at org.apache.geronimo.samples.daytrader.direct.TradeDirect.getConn(TradeDirect.java:2035)
        at org.apache.geronimo.samples.daytrader.direct.TradeDirect.resetTrade(TradeDirect.java:1799)
        at org.apache.geronimo.samples.daytrader.TradeAction.resetTrade(TradeAction.java:490)
        at org.apache.geronimo.samples.daytrader.web.TradeBuildDB.<init>(TradeBuildDB.java:62)
        at org.apache.geronimo.samples.daytrader.web.TradeConfigServlet.service(TradeConfigServlet.java:353)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
        at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSubjectValve.java:46)
        at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:273)
        at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:31)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        at java.lang.Thread.run(Thread.java:534)
...
<@JAB same exception as above follows next  >
...

16:30:03,514 ERROR [Log] Error: TradeDirect:createQuote -- error creating quote
        SQL Exception: Failed to start database 'DaytraderDatabase', see the next exception for details.
SQL Exception: Failed to start database 'DaytraderDatabase', see the next exception for details.
        at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Util.java)
        at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Util.java)
        at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Util.java)
        at org.apache.derby.impl.jdbc.EmbedConnection.newSQLException(EmbedConnection.java)
        at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(EmbedConnection.java)
        at org.apache.derby.impl.jdbc.EmbedConnection.<init>(EmbedConnection.java)
        at org.apache.derby.impl.jdbc.EmbedConnection20.<init>(EmbedConnection20.java)
        at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(EmbedConnection30.java)
        at org.apache.derby.jdbc.Driver30.getNewEmbedConnection(Driver30.java)
        at org.apache.derby.jdbc.Driver169.connect(Driver169.java)
        at org.apache.derby.jdbc.EmbeddedDataSource.getConnection(EmbeddedDataSource.java)
        at org.apache.derby.jdbc.EmbeddedDataSource.getConnection(EmbeddedDataSource.java)
        at org.apache.derby.jdbc.EmbeddedXADataSource.setupResourceAdapter(EmbeddedXADataSource.java)
        at org.apache.derby.jdbc.EmbeddedXADataSource.getXAConnection(EmbeddedXADataSource.java)
        at org.tranql.connector.jdbc.AbstractXADataSourceMCF.getPhysicalConnection(AbstractXADataSourceMCF.java:74)
        at org.tranql.connector.derby.EmbeddedXAMCF.createManagedConnection(EmbeddedXAMCF.java:52)
        at org.apache.geronimo.connector.outbound.MCFConnectionInterceptor.getConnection(MCFConnectionInterceptor.java:41)
        at org.apache.geronimo.connector.outbound.XAResourceInsertionInterceptor.getConnection(XAResourceInsertionInterceptor.java:41)
        at org.apache.geronimo.connector.outbound.SinglePoolConnectionInterceptor.internalGetConnection(SinglePoolConnectionInterceptor.java:63)
        at org.apache.geronimo.connector.outbound.AbstractSinglePoolConnectionInterceptor.getConnection(AbstractSinglePoolConnectionInterceptor.java:73)
        at org.apache.geronimo.connector.outbound.TransactionEnlistingInterceptor.getConnection(TransactionEnlistingInterceptor.java:47)
        at org.apache.geronimo.connector.outbound.TransactionCachingInterceptor.getConnection(TransactionCachingInterceptor.java:86)
        at org.apache.geronimo.connector.outbound.ConnectionHandleInterceptor.getConnection(ConnectionHandleInterceptor.java:43)
        at org.apache.geronimo.connector.outbound.TCCLInterceptor.getConnection(TCCLInterceptor.java:39)
        at org.apache.geronimo.connector.outbound.ConnectionTrackingInterceptor.getConnection(ConnectionTrackingInterceptor.java:66)
        at org.apache.geronimo.connector.outbound.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:57)
        at org.tranql.connector.jdbc.DataSource.getConnection(DataSource.java:56)
        at $javax.sql.DataSource$$FastClassByCGLIB$$6525cafd.invoke(<generated>)
        at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
        at org.apache.geronimo.connector.ConnectorMethodInterceptor.intercept(ConnectorMethodInterceptor.java:53)
        at $javax.sql.DataSource$$EnhancerByCGLIB$$4d687449.getConnection(<generated>)
        at org.apache.geronimo.samples.daytrader.direct.TradeDirect.getConn(TradeDirect.java:2035)
        at org.apache.geronimo.samples.daytrader.direct.TradeDirect.createQuote(TradeDirect.java:804)
        at org.apache.geronimo.samples.daytrader.TradeAction.createQuote(TradeAction.java:274)
        at org.apache.geronimo.samples.daytrader.web.TradeBuildDB.<init>(TradeBuildDB.java:72)
        at org.apache.geronimo.samples.daytrader.web.TradeConfigServlet.service(TradeConfigServlet.java:353)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
        at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSubjectValve.java:46)
        at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:273)
        at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:31)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        at java.lang.Thread.run(Thread.java:534)

...
<@JAB same exception as above appears 9 times below  >
...

16:30:14,970 ERROR [Log] Error: TradeDirect:register -- error registering new user
        java.sql.SQLException
java.sql.SQLException
        at org.tranql.connector.jdbc.DataSource.getConnection(DataSource.java:61)
        at $javax.sql.DataSource$$FastClassByCGLIB$$6525cafd.invoke(<generated>)
        at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
        at org.apache.geronimo.connector.ConnectorMethodInterceptor.intercept(ConnectorMethodInterceptor.java:53)
        at $javax.sql.DataSource$$EnhancerByCGLIB$$4d687449.getConnection(<generated>)
        at org.apache.geronimo.samples.daytrader.direct.TradeDirect.getConn(TradeDirect.java:2035)
        at org.apache.geronimo.samples.daytrader.direct.TradeDirect.register(TradeDirect.java:1642)
        at org.apache.geronimo.samples.daytrader.TradeAction.register(TradeAction.java:472)
        at org.apache.geronimo.samples.daytrader.web.TradeBuildDB.<init>(TradeBuildDB.java:108)
        at org.apache.geronimo.samples.daytrader.web.TradeConfigServlet.service(TradeConfigServlet.java:353)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
        at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSubjectValve.java:46)
        at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:273)
        at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:31)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        at java.lang.Thread.run(Thread.java:534)
Caused by: No ManagedConnections available within configured blocking timeout ( 5000 [ms] )
        at org.apache.geronimo.connector.outbound.AbstractSinglePoolConnectionInterceptor.getConnection(AbstractSinglePoolConnectionInterceptor.java:75)
        at org.apache.geronimo.connector.outbound.TransactionEnlistingInterceptor.getConnection(TransactionEnlistingInterceptor.java:47)
        at org.apache.geronimo.connector.outbound.TransactionCachingInterceptor.getConnection(TransactionCachingInterceptor.java:86)
        at org.apache.geronimo.connector.outbound.ConnectionHandleInterceptor.getConnection(ConnectionHandleInterceptor.java:43)
        at org.apache.geronimo.connector.outbound.TCCLInterceptor.getConnection(TCCLInterceptor.java:39)
        at org.apache.geronimo.connector.outbound.ConnectionTrackingInterceptor.getConnection(ConnectionTrackingInterceptor.java:66)
        at org.apache.geronimo.connector.outbound.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:57)
        at org.tranql.connector.jdbc.DataSource.getConnection(DataSource.java:56)
        ... 28 more

...
<@JAB  same exception as above appears 4 more times below >
...



> Eliminate unncessary dependencies to reduce assemnbly footprint size
> --------------------------------------------------------------------
>
>          Key: GERONIMO-1613
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1613
>      Project: Geronimo
>         Type: Improvement
>   Components: general
>     Versions: 1.1
>  Environment: all
>     Reporter: Joe Bohn
>      Fix For: 1.1
>  Attachments: RemoveDeps.patch
>
> Clean up assembly project.xml and eliminate some unnecessary dependencies in various modules and configs.  This will reduce the footprint size (with special attention to the minimal-tomcat-assembly.
> The patch contains the following:
> - clean up minimal-tomcat-server\project.xml to remove commented out sections
> - clean up web-jms-tomcat-server\project.xml to remove commented out sections
> - remove dependencies from config\j2ee_server on xstream, jaxr-api, and geronimo-derby
> - remove dependencies from config\j2ee_deployer on geronimo-client-builder
> - remove dependencies from module\tomcat on activecluster, wadi-core, and wadi-tomcat55
> There are still more dependencies that should be removed but this is a start.
> These changes reduce the disk footprint of minimal-tomcat-server from 27 meg to about 21 meg.

-- 
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] Commented: (GERONIMO-1613) Eliminate unncessary dependencies to reduce assemnbly footprint size

Posted by "David Jencks (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1613?page=comments#action_12366532 ] 

David Jencks commented on GERONIMO-1613:
----------------------------------------

After the RemoveDeps2 patch the stuff I think that can be removed from minimal-tomcat is:
axis
wsdl4j
xerces + xmlParserAPIs (present in lib)
geronimo-axis
commons-discovery (??)
geronimo-activation (?)
geronimo-j2ee_1.4_spec-1.1-SNAPSHOT
regexp(??)

An additional project would be to separate the jsp stuff out of tomcat and jetty.  I suspect we'd need separate plans for tomcat and jetty.  I don't know if we want jsp support in minimal, but it would be nice to have the option of removing it.

> Eliminate unncessary dependencies to reduce assemnbly footprint size
> --------------------------------------------------------------------
>
>          Key: GERONIMO-1613
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1613
>      Project: Geronimo
>         Type: Improvement
>   Components: general
>     Versions: 1.1
>  Environment: all
>     Reporter: Joe Bohn
>     Assignee: David Jencks
>      Fix For: 1.1
>  Attachments: RemoveDeps.patch, RemoveDeps2.patch
>
> Clean up assembly project.xml and eliminate some unnecessary dependencies in various modules and configs.  This will reduce the footprint size (with special attention to the minimal-tomcat-assembly.
> The patch contains the following:
> - clean up minimal-tomcat-server\project.xml to remove commented out sections
> - clean up web-jms-tomcat-server\project.xml to remove commented out sections
> - remove dependencies from config\j2ee_server on xstream, jaxr-api, and geronimo-derby
> - remove dependencies from config\j2ee_deployer on geronimo-client-builder
> - remove dependencies from module\tomcat on activecluster, wadi-core, and wadi-tomcat55
> There are still more dependencies that should be removed but this is a start.
> These changes reduce the disk footprint of minimal-tomcat-server from 27 meg to about 21 meg.

-- 
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] Commented: (GERONIMO-1613) Eliminate unncessary dependencies to reduce assemnbly footprint size

Posted by "Alan Cabrera (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1613?page=comments#action_12369666 ] 

Alan Cabrera commented on GERONIMO-1613:
----------------------------------------

How is all this great work dovetailing with our M2 conversion effort?

> Eliminate unncessary dependencies to reduce assemnbly footprint size
> --------------------------------------------------------------------
>
>          Key: GERONIMO-1613
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1613
>      Project: Geronimo
>         Type: Improvement
>   Components: general
>     Versions: 1.2
>  Environment: all
>     Reporter: Joe Bohn
>     Assignee: Jeff Genender
>      Fix For: 1.2
>  Attachments: 1613_RemoveDeps3.patch, 1613_RemoveDeps4.patch, RemoveDeps.patch, RemoveDeps2.1.patch, RemoveDeps2.2.patch, RemoveDeps2.3.patch, RemoveDeps2.patch
>
> Clean up assembly project.xml and eliminate some unnecessary dependencies in various modules and configs.  This will reduce the footprint size (with special attention to the minimal-tomcat-assembly.
> The patch contains the following:
> - clean up minimal-tomcat-server\project.xml to remove commented out sections
> - clean up web-jms-tomcat-server\project.xml to remove commented out sections
> - remove dependencies from config\j2ee_server on xstream, jaxr-api, and geronimo-derby
> - remove dependencies from config\j2ee_deployer on geronimo-client-builder
> - remove dependencies from module\tomcat on activecluster, wadi-core, and wadi-tomcat55
> There are still more dependencies that should be removed but this is a start.
> These changes reduce the disk footprint of minimal-tomcat-server from 27 meg to about 21 meg.

-- 
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-1613) Eliminate unncessary dependencies to reduce assemnbly footprint size

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

    Resolution: Fixed
     Assign To: David Jencks

Patch applied.  The derby problems are because  daytrader needs to import system database config or there are 2 copies of derby loaded and they can't communicate: the driver can't talk to the engine.  I'm not sure how to help people avoid this problem when deploying other derby-dependent apps.

> Eliminate unncessary dependencies to reduce assemnbly footprint size
> --------------------------------------------------------------------
>
>          Key: GERONIMO-1613
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1613
>      Project: Geronimo
>         Type: Improvement
>   Components: general
>     Versions: 1.1
>  Environment: all
>     Reporter: Joe Bohn
>     Assignee: David Jencks
>      Fix For: 1.1
>  Attachments: RemoveDeps.patch
>
> Clean up assembly project.xml and eliminate some unnecessary dependencies in various modules and configs.  This will reduce the footprint size (with special attention to the minimal-tomcat-assembly.
> The patch contains the following:
> - clean up minimal-tomcat-server\project.xml to remove commented out sections
> - clean up web-jms-tomcat-server\project.xml to remove commented out sections
> - remove dependencies from config\j2ee_server on xstream, jaxr-api, and geronimo-derby
> - remove dependencies from config\j2ee_deployer on geronimo-client-builder
> - remove dependencies from module\tomcat on activecluster, wadi-core, and wadi-tomcat55
> There are still more dependencies that should be removed but this is a start.
> These changes reduce the disk footprint of minimal-tomcat-server from 27 meg to about 21 meg.

-- 
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-1613) Eliminate unncessary dependencies to reduce assemnbly footprint size

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

Joe Bohn updated GERONIMO-1613:
-------------------------------

    Attachment: RemoveDeps.patch

Patch created in win-XP from geronimo root directory.

I verified that I could start all server configs, access the console, and deploy a web application with these changes.  This isnt't the most extensive test ...  so I hope that these changes don't cause any problems in other scenarios.


> Eliminate unncessary dependencies to reduce assemnbly footprint size
> --------------------------------------------------------------------
>
>          Key: GERONIMO-1613
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1613
>      Project: Geronimo
>         Type: Improvement
>   Components: general
>     Versions: 1.1
>  Environment: all
>     Reporter: Joe Bohn
>      Fix For: 1.1
>  Attachments: RemoveDeps.patch
>
> Clean up assembly project.xml and eliminate some unnecessary dependencies in various modules and configs.  This will reduce the footprint size (with special attention to the minimal-tomcat-assembly.
> The patch contains the following:
> - clean up minimal-tomcat-server\project.xml to remove commented out sections
> - clean up web-jms-tomcat-server\project.xml to remove commented out sections
> - remove dependencies from config\j2ee_server on xstream, jaxr-api, and geronimo-derby
> - remove dependencies from config\j2ee_deployer on geronimo-client-builder
> - remove dependencies from module\tomcat on activecluster, wadi-core, and wadi-tomcat55
> There are still more dependencies that should be removed but this is a start.
> These changes reduce the disk footprint of minimal-tomcat-server from 27 meg to about 21 meg.

-- 
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