[JBoss-user] [Beginners Corner] - Re: getResourceAsStream returns null when invoked from an EJ

2006-07-05 Thread offline
I'm not sure I understand: The resource is not in META-INF in config.jar, it's in the root of the jar, and is at the root of the classpath. My understanding of getResourceAsStream was that if you don't provide the leading "/" character, it looks relative to the current class, which is undesire

[JBoss-user] [Beginners Corner] - getResourceAsStream returns null when invoked from an EJB ja

2006-07-05 Thread offline
My application makes use of a configuration file stored inside a jar that ships in the EAR file. This config file is accessed by way of a classloader.getResourceAsStream(), where the classloader is returned from the Thread.getContextClassloader() method. This operation succeeds on WebLogic and

[JBoss-user] [Beginners Corner] - Re: getResourceAsStream in ear/jar

2006-07-05 Thread offline
osterday -- I'm having the same issue as you are, here. I don't suppose you've had any luck in resolving it? I would love to hear if anyone else has experienced this problem, and what their resolution for it was. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&

[JBoss-user] [Beginners Corner] - Re: Unable to access MySQL datasource

2004-04-22 Thread offline
So just to get this straight: If i use the datasource binding with a command line application i'm wasting my time. There's no way? And also, if i am using the datasource from within a bean, as defined above, i need to use it as java:comp/evn/jdbc/MySQLDS ? View the original post : http://www

[JBoss-user] [Beginners Corner] - Re: Unable to access MySQL datasource

2004-04-22 Thread offline
Kab: That sounds quite plausible. I can tell from the JBoss startup messages, and the jmx console, that the data source is bound properly. So, i guess it comes to: How can i best convert this command line app, prior to having a full understanding of J2EE programming, into one that will run i

[JBoss-user] [Beginners Corner] - Unable to access MySQL datasource

2004-04-21 Thread offline
Alright, I'm going to admit right off that i am *learning* J2EE programming, and i am currently at a very elementary stage of it. So, if answering questions that seem really obvious to you isn't your bag, i'd stop reading about... now. On to the question(s?): I'm trying to go through the IBM De

[JBoss-user] [Beginners Corner] - How do I schedule a task for action

2004-03-16 Thread offline
Alright, I know that this is not a new question, but most of what i've seen doesn't seem to apply to what i'm trying to accomplish, so please bear with me. What i'd like to do is have a task of some kind running on the server that, every night at midnight, for example, will send an e-mail messag