[JBoss-user] How can I use a properties file?

2001-04-19 Thread Sam Liu
Hi, In ejb project(include .war file), Can i use a properties file? because I think properties file is convenient. if i can use a properties file, where can i put it? and how can i use it in a java file? thanks, Sam Liu. http://lists.sourceforge.net/lists/listinfo/jboss-user

re: [JBoss-user] Why can not I use my mySQL data source?

2001-04-05 Thread Sam Liu
thanks to Scott M Stark, I see. Because jboss.conf is parsed by the javax.management.loading.MLet and this class does not accept an xml document. It has its own file format that looks like xml but is not. > > in addition: >Perhaps it is a silly problem. >I want to know why t

re: [JBoss-user] Why can not I use my mySQL data source?

2001-04-05 Thread Sam Liu
thanks to danch, when I use Jboss2.1 beta, all of things are OK. thanks to Ken Jenks. in addition: Perhaps it is a silly problem. I want to know why the file "jboss.conf" and other likewise ***.conf files use the format of XML? but when I comment this line in jboss.conf like th

[JBoss-user] Why can not I use my mySQL data source?

2001-04-04 Thread Sam Liu
is important and I'm thankful.   Sam Liu  

re: [JBoss-user] Problem about Servlet calling ejb

2001-04-03 Thread Sam Liu
thanks, I have solved it ! Sam Liu === [EMAIL PROTECTED] origional mail- >I guess that the Interest Bean had been deployed rightly. >but the servlet can not find the ejb by the jndi name. Something I didn't cover in my original "Interest Bean&

re: [JBoss-user] Problem about Servlet calling ejb

2001-04-03 Thread Sam Liu
thanks to Ken! Oh, I have just find how to run the Servlet rightly. I am under windows 2000 If I run "run.bat " all is OK, but I always run "java -jar run.jar", so I can not get it. that is to say, we must put the "run.jar" in the CLASSPATH. Sam Liu. 20

re: [JBoss-user] Problem about Servlet calling ejb

2001-04-03 Thread Sam Liu
hope your help again! (I have download the JBoss_tomcat.zip, the instructions tell me no need to config.) best regard, Sam Liu Your debugging string, sHome, indicates that you got an InitialContext(), but that there was probably an exception when you tried to get a reference