Bugs item #971010, was opened at 2004-06-11 09:51
Message generated for change (Comment added) made by gohde
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=971010&group_id=22866
Category: JBossServer
Group: v3.2
Status: Open
Resolution: None
Priority: 5
Submitted By: ulf gohde (gohde)
Assigned to: Scott M Stark (starksm)
Summary: 3.2.4 and 4DR4 can not handle spaces in dir names
Initial Comment:
An MBean loads a configuration file from the jboss start
directory. In our case this directory contains spaces
whicj is not a problem in JBoss 3.2.2. However, 3.2.4
and 4DR4 seem to have problems with spaces in
directory names.
see attached log
----------------------------------------------------------------------
>Comment By: ulf gohde (gohde)
Date: 2004-06-23 08:11
Message:
Logged In: YES
user_id=1022717
The code is actually quite simple. The passed filename is just
the filename w/o any path information. After looking at the
code it was clear that JBoss is not the problem. I replaced
the xercesimpl.jar and xml-apis.jar with the versions used in
JBoss 3.2.2 and after that it is working fine.
public Configuration(String strFilename) throws
CaseWareException
{
m_strFilename = strFilename;
try
{
DOMParser parser = new DOMParser();
parser.parse(m_strFilename);
m_document = parser.getDocument();
// build hashtable with section name as key and
corresponding handler name
extractSections();
// build hashtable with section name as key and
corresponding handler instance
extractNameValuePairs();
}
catch(Exception e)
{
if( Debug.isOnFor(FULL_CLASS))
Debug.debug
(FULL_CLASS, "Configuration", Debug.INFO, e.getMessage());
//Debug.showError(e);
throw new CaseWareException
(CLASS, "Configuration",
EFWResourceBundle.ERR_APP_SERVER, SeverityType.FATAL,
ErrorType.FLOWARE, null, e);
//throw new FlowareException(e);
}
} // Configuration
----------------------------------------------------------------------
Comment By: Scott M Stark (starksm)
Date: 2004-06-20 04:31
Message:
Logged In: YES
user_id=175228
Show the code from:
com.plx.framework.config.Configuration.<init>(Configuration.java:139)
along with how the file URL is being obtained.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=971010&group_id=22866
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development