When my application
is running as a service under JBoss the ClassLoader can't
find a resource (an
XML file) that is in one of my application jar files. The
following
code returns
null.
java.net.URL url =
ClassLoader.getSystemResource(fileName);
It works fine
outside of JBoss. T
I had the same problem. The Xerces parser was in lib/ext
but did not seem to be available to my classes within
JBoss.
To get around the problem I changed JBoss's run.bat to
use Xerces instead of Crimson. Specifically I commented
out the following three lines and replaced them with the
ones t
|The workaround I found was to ignore i-net data sources and use
|OPTA 2000 as a JDBC 2.0 Optional Package non-compliant driver:
I'm not exactly sure what you mean by this. I'm guessing that by changing :
com.inet.tds.XDataSource
to
org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImp
l
I've now got a very simple example that shows the Transaction Exception when
trying to use SQLServer. I deployed the Cabin example from chapter four in
the book:
Enterprise JavaBeans
Richard Monson-Haefel
O'reilly
I've attached the ear file, the code, the log, and the j
on is: Unable to create PreparedStatement.
I've switched to InstandDB and everything works fine.
I've included the exceptions from both the Merant and INet drivers, on
both a create and a find.
I assume others are using JBoss with SQLServer? Any suggestions on how
I can resolve this?
T
James Kiryakoza posted a note that explains how create an MBean called Foo.
http://www.mail-archive.com/jboss-user@lists.sourceforge.net/msg01054.html
Can some one explain how I would then call the setFileName method on the
service from an external Java application, or how to call it from an EJB
with both.
Any help would be greatly appreciated.
Please send any responses to [EMAIL PROTECTED]
Thanks,
Leonard Kierstead
The following shows the settings I use for both the InstantDB and SQLServer
JDBC driver and pools:
org.enhydra.instantdb.jdbc.idbDriver
I can't get JBoss/Tomcat to find classes that are in my application war
file. When I access any of the JSP's in application I get the following
error:
Class com.cerulean.amstel1.UnitInfoHome not found in import
The class is in both my application jar file and the special jar file tha
Hi,
I am getting a "jdbc not bound" exception my CMB entity
bean is trying to access the database. The JBoss log (below)
indicates the driver is loading, the JDBC pool is created,
and the beans are deployed. However, it gives a message that
"no resource manager found for jdbc/Amstel1DB". I su