geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <>
Subject Re: deployment plan classloading question
Date Fri, 08 Jul 2005 23:42:17 GMT
I dont' think you have successfully located the problem.  The system  
plan doesn't have any dependencies, so the message is appropriate.  You  
are comparing the System and Server classpaths.

IIUC the System configuration does rely on a manifest classpath entry  
in server.jar that includes many of the jars in lib.  Perhaps including  
those in an eclipse property would help?

You can definitely implement a different Repository that looks  
elsewhere, but I'm not sure that is advisable simply for use in  
eclipse.  It might be useful to have one that looks directly in your  
local maven repository.  IIUC the current Repository uses the system  
info gbean to locate the geronimo repository.

david jencks

On Jul 8, 2005, at 4:31 PM, Sachin Patel wrote:

> Hi,
> I'm looking at the System deployment plan and the section where the  
> dependencies are being defined.  The entries contain relative paths  
> which in an install image resolve back into the "repository" folder,  
> as expected.
> (1) Is there any way at startup I can specify a different location on  
> the filesystem where these relative paths can be attempted to be  
> resolved? Is there a system variable that can be set?
> (2) Would someone mind pointing me in the code where these dependency  
> entries are loaded and resolved?...
> Where I'm trying to go with this is to create a true development  
> environment using Eclipse, so that the server can be launched within  
> the IDE without having to do a remote debug connection.
> The blocking issue I'm currently having is that when the server is  
> starting and the configurations are loaded the classpath's don't  
> resolve and the debug statement says...
> 19:10:47,901 DEBUG [Configuration] ClassPath for  
> org/apache/geronimo/System resolved to []
> rather then...
> 17:58:01,712 DEBUG [Configuration] ClassPath for  
> org/apache/geronimo/Server resolved to  
> [file:/C:/geronimo-snapshot/repository/geronimo-spec/jars/geronimo- 
> spec-j2ee-1.4-rc4.jar,  
> file:/C:/geronimo-snapshot/repository/geronimo-spec/jars/geronimo- 
> spec-j2ee-jacc-1.0-rc4.jar,  
> file:/C:/geronimo-snapshot/repository/geronimo/jars/geronimo- 
> activation-1.0-SNAPSHOT.jar,  
> file:/C:/geronimo-snapshot/repository/geronimo/jars/geronimo-j2ee-1.0- 
> ....
> If there was a way to specify a different absolute path to be used to  
> append to the relative paths, I think I would be golden!
> Thanks in advance.
> Sachin.

View raw message