Re: [JBoss-user] File-system access

2002-04-16 Thread Dmitri Colebatch
2002 3:05 AM Subject: Re: [JBoss-user] File-system access > And is there a portable way of doing this? Portable between different > app servers, that is > > On Tue, Apr 16, 2002 at 10:30:08AM -0600, Mark Gulbrandsen wrote: > > > > Maybe I could ask a different question.

RE: [JBoss-user] File-system access

2002-04-16 Thread Lucas McGregor
Message- From: Simon Stewart [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 16, 2002 10:06 AM To: Mark Gulbrandsen Cc: [EMAIL PROTECTED] Subject: Re: [JBoss-user] File-system access And is there a portable way of doing this? Portable between different app servers, that is On Tue, Apr 16,

Re: [JBoss-user] File-system access

2002-04-16 Thread Simon Stewart
And is there a portable way of doing this? Portable between different app servers, that is On Tue, Apr 16, 2002 at 10:30:08AM -0600, Mark Gulbrandsen wrote: > > Maybe I could ask a different question. > > Can I assign a resource so that I can do a jndi lookup? > > Can I configure JBoss to

Re: [JBoss-user] File-system access

2002-04-16 Thread Mark Gulbrandsen
Maybe I could ask a different question. Can I assign a resource so that I can do a jndi lookup? Can I configure JBoss to load an arbitrary jar file and set it to a jndi name such as "jndi:/user/resource1.jar" "jndi:/usr/resource2.jar"? Then, a context lookup would return a JarFile for each of t

RE: [JBoss-user] File-system access (fwd)

2002-04-15 Thread Mark Gulbrandsen
-- Forwarded message -- Date: Mon, 15 Apr 2002 16:43:35 -0600 (MDT) From: Mark Gulbrandsen <[EMAIL PROTECTED]> To: JD Brennan <[EMAIL PROTECTED]> Subject: RE: [JBoss-user] File-system access String jarURLString = "templates.jar"; Syste

[JBoss-user] File-system access

2002-04-15 Thread Mark Gulbrandsen
I have an ejb jar file that is deployed in server/default/deploy. Call it myejbs.jar. I also have a jar file that has many resources called resources.jar. resources.jar is placed inside of myejbs.jar. I can access resource.jar through getClass().getResource("resource.jar"). This gives me a URL,