[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Error loading sqljdbc.jar
jaikiran
do-not-reply at jboss.com
Fri Jan 16 04:27:49 EST 2009
The vfs.xml is unchanged and looks like:
| <bean name="VfsNamesExceptionHandler" class="org.jboss.virtual.plugins.context.helpers.NamesExceptionHandler">
| <constructor>
| <parameter class="java.lang.String">sqljdbc.jar</parameter>
| </constructor>
| </bean>
|
| <bean name="JBossVFSInitializer" class="org.jboss.virtual.plugins.cache.PreInitializeVFSContexts">
| <property name="initializedVFSContexts" class="java.util.Map">
| <map keyClass="java.net.URL" valueClass="org.jboss.virtual.spi.ExceptionHandler">
| <entry>
| <key>${jboss.lib.url}</key>
| <value><null/></value>
| </entry>
| <entry>
| <key>${jboss.common.lib.url}</key>
| <value><inject bean="VfsNamesExceptionHandler"/></value>
| </entry>
| <entry>
| <key>${jboss.server.lib.url}</key>
| <value><inject bean="VfsNamesExceptionHandler"/></value>
| </entry>
| </map>
| </property>
| <property name="holdReference">true</property>
| </bean>
The debugger shows the exceptionhandler is being set for a FileSystemContext (for file:/blah/blah/jboss-5.0.0.GA/common/lib/) and which effectively means that the ZipEntryContext (for the sqljdbc.jar) doesn't have a exception handler.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4202364#4202364
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4202364
More information about the jboss-user
mailing list