[ 
https://issues.apache.org/jira/browse/GERONIMO-2742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12474471
 ] 

Aman Nanner commented on GERONIMO-2742:
---------------------------------------

Hi,

I added the sharedlib configuration to the offline-deployer-list and it solved 
this particular issue.  Thanks for the info.

My deployment is failing on another issue now.  I have a class in 
/shared/classes that imports "org.apache.geronimo.connector.AdminObjectSource". 
 However, during deployment I get a NoClassDefFoundError because the deployer 
cannot find the "org.apache.geronimo.connector.AdminObjectSource" class.  I'm 
guessing that the deployer does not have access to the repository when 
processing a class in /shared/classes.  This happens with BOTH offline and 
server deployment.

> Deployer cannot access libaries in shared/lib and shared/classes
> ----------------------------------------------------------------
>
>                 Key: GERONIMO-2742
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-2742
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 1.2
>         Environment: Windows XP, Geronimo 1.2-beta
>            Reporter: Aman Nanner
>         Attachments: sharedlib-2.0.zip, sharedlib.zip, testing.ear.zip
>
>
> It seems that when running the deployer to deploy my EAR file, the 
> classloaders during deployment cannot access the shared/lib and 
> shared/classes directory.  My app has dependencies on libraries that are 
> stored in both shared/classes and shared/lib.  Because these libraries cannot 
> be found, the deployment fails.
> Neither regular deployment nor hot deployment works.  My EAR file used to hot 
> deploy properly in Geronimo 1.1.1 (I never used the regular deployer in 
> 1.1.1, so I don't know if that would have worked too).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to