tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Wöhrer <w.alexan...@gmx.at>
Subject rowset.jar can't find properties
Date Thu, 27 Jan 2005 10:36:26 GMT
Hello,

I'm working on this since 2 days and the suggested solutions on the 
tomcat-user archive didn't help me.

Here is my problem.

The following code works fine under a standalone java app:

WebRowSet c1 = new WebRowSetImpl(); //here comes the exception

Using the same code in Tomcat 4.1.29/Win2k/j2sdk1.4.2 I get the 
following error:

java.lang.NullPointerException
         at java.io.Reader.<init>(Reader.java:61)
         at java.io.InputStreamReader.<init>(InputStreamReader.java:80)
         at java.util.Properties.load(Properties.java:266)
         at 
java.util.PropertyResourceBundle.<init>(PropertyResourceBundle.java:9
6)
         at com.sun.rowset.JdbcRowSetResourceBundle.<init>(Unknown Source)
         at 
com.sun.rowset.JdbcRowSetResourceBundle.getJdbcRowSetResourceBundle(U
nknown Source)
         at com.sun.rowset.CachedRowSetImpl.<init>(Unknown Source)
         at com.sun.rowset.WebRowSetImpl.<init>(Unknown Source)

The rowset.jar (which includes the propertie file) is placed in 
/WEB-INF/lib.

I already tried to place the propertie file in 
/WEB-INF/classes/com/sun/rowset/

As I don't have the source code of the rowset.jar I don't know how they 
try to access the file.

Thanks for your time and help,
	Alexander Woehrer

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message