Dear Tim and Everybody,
There is a question about Java Web Start(JWS below) in GlassFish V2.1.
When reading the GlassFish's source (*) ,I found that C:\glassfish\imq\lib\fscontext.jar
is used in JWS module.As I know,fscontext.jar is used in Message Queue ,
so why this jar file is used in JWS module?
Could you please tell me the function of the fscontext.jar in JWS?
Thanks for your time to read my question and look forward to your reply.
(*) These two places below show how fscontext.jar is used in JWS module.
com.sun.enterprise.appclient.jws.boot.ClassPathManager#locateDownloadedJars()
-----------------------------------------------------------------------------------
Line184
public URL[] locateDownloadedJars() throws
ClassNotFoundException,
URISyntaxException,
NoSuchMethodException,
IllegalAccessException,
InvocationTargetException,
MalformedURLException {
String probeClassNames = System.getProperty("com.sun.aas.jar.probe.class.names",
- snip -
"com.sun.jms.spi.xa.JMSXAConnection," /* imqjmsra */ +
"com.sun.jndi.fscontext.FSContext" /* fscontext */
);
return locateJARs(probeClassNames);
}
Line218
-----------------------------------------------------------------------------------
com.sun.enterprise.appclient.jws.AppclientJWSSupportInfo#preloadAppserverContent()
-----------------------------------------------------------------------------------
- snip -
Line856
AppserverContentOrigin mqlibFilesOrigin = new AppserverContentOrigin(
NamingConventions.APPSERVER_CATEGORY,
NamingConventions.APPSERVER_LIB_FILES);
File mqRoot = new File(installRootDir, "imq");
File mqlibRoot = new File(mqRoot, "lib");
addAppserverStaticContent(mqlibRoot, mqlibFilesOrigin, false /* isMain */, "fscontext.jar");
appserverOrigins.put(NamingConventions.APPSERVER_MQLIB_FILES, mqlibFilesOrigin);
- snip -
-----------------------------------------------------------------------------------
[Message sent by forum member 'garfieldpb']
http://forums.java.net/jive/thread.jspa?messageID=394190