problem in doing start up openjms server programatically?
nisus <[email protected]> Thu, 22 Mar 2007 01:49:05 +0000 (UTC)
| Newsgroups | gmane.comp.java.openjms.user |
|---|---|
| Message-ID | <[email protected]> |
Hi guys,
I'd like to start up the openjms server programatically.
so I did as follows:
-----------------------------------------------------------------------
String configuration = "c:\\openjms-0.7.7-beta-1\\config\\openjms.xml";
JmsServer jmsServer = new JmsServer(configuration);
jmsServer.init();
-----------------------------------------------------------------------
but, I got a error mesaage as follows:
-----------------------------------------------------------------------
OpenJMS 0.7.7-alpha-3
The OpenJMS Group. (C) 1999-2005. All rights reserved.
http://openjms.sourceforge.net
WARN - AttributeExpander$AttributeInterceptor .expand(197) | Cannot expand
script as property openjms.home is not defined
WARN - AttributeExpander$AttributeInterceptor .expand(197) | Cannot expand
keyStore as property openjms.home is not defined
WARN - AttributeExpander$AttributeInterceptor .expand(197) | Cannot expand
file as property openjms.home is not defined
log4j:ERROR Could not open [${openjms.home}/config/log4j.xml].
java.io.FileNotFoundException: ${openjms.home}\config\log4j.xml
...
-------------------------------------------------------------------------
Because the OPENJMS_HOME is correctly defined as system environment variable,
I don't know the reason.
Can anybody tell me the reason?
Thanks,
Lee
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV