Re: path to application in parallel deployment

2011-08-24 Thread Aristedes Maniatis
On 25/08/11 12:43 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aristedes, On 8/24/2011 10:36 AM, Aristedes Maniatis wrote: On 25/08/11 12:15 AM, Christopher Schultz wrote: So, if you could do this with code it would be: getServletContext().getRealPath("/WEB-I

Re: path to application in parallel deployment

2011-08-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aristedes, On 8/24/2011 10:36 AM, Aristedes Maniatis wrote: > On 25/08/11 12:15 AM, Christopher Schultz wrote: > >> So, if you could do this with code it would be: >> >> getServletContext().getRealPath("/WEB-INF/classes/solr") >> >> Right? > > Yes

Re: path to application in parallel deployment

2011-08-24 Thread Aristedes Maniatis
On 25/08/11 12:15 AM, Christopher Schultz wrote: So, if you could do this with code it would be: getServletContext().getRealPath("/WEB-INF/classes/solr") Right? Yes. There isn't any system property for this kind of thing (since system properties are JVM-wide, and not specific to any pa

Re: path to application in parallel deployment

2011-08-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aristedes, On 8/24/2011 6:12 AM, Aristedes Maniatis wrote: > I have another parallel deployment question: I am deploying Solr > within a custom war application and it requires a path to its > config files. Before parallel deployment I had this entry i

path to application in parallel deployment

2011-08-24 Thread Aristedes Maniatis
I have another parallel deployment question: I am deploying Solr within a custom war application and it requires a path to its config files. Before parallel deployment I had this entry in context.xml: But now, I cannot predict the name of the application path (since it looks like this "searc