[JBoss-user] ClassLoader not finding resource

2001-07-10 Thread Leonard Kierstead
  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

RE: [JBoss-user] ClassLoader exception

2001-06-11 Thread Leonard Kierstead
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

Re: [JBoss-user] Transaction Exceptions with OPTA2000

2001-05-17 Thread Leonard Kierstead
|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

Re: [JBoss-user] Transaction Exceptions with OPTA2000

2001-05-16 Thread Leonard Kierstead
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

Re: [JBoss-user] Transaction Exceptions with OPTA2000

2001-05-11 Thread Leonard Kierstead
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

[JBoss-user] re: CustomMBeans

2001-05-04 Thread Leonard Kierstead
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

[JBoss-user] Unable to create PreparedStatement

2001-05-02 Thread Leonard Kierstead
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

[JBoss-user] JSP's not finding classes in application

2001-05-01 Thread Leonard Kierstead
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

[JBoss-user] jdbc not bound - no resource manager found

2001-04-27 Thread Leonard Kierstead
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