Mantis - Resin
Viewing Issue Advanced Details
863 minor always 01-13-06 14:49 01-16-06 09:37
ferg  
ferg  
urgent  
closed 3.0.17  
fixed  
none    
none 3.0.18  
0000863: config overloading issues with sybase
(rep by Bill Au)

It turns out setPortNumber(String) is protected but
setPortNumber(int) is public. I have tried
many different ways but never got it to work.
I have tried setting the url with <url> and <init-param url="..."/>
and then setting port number with <port-number> and
<init-param port-number="..."/>

When I used <port-number> it complains that the set method is protected:

500 Servlet Exception
WEB-INF/resin-web.xml:32: java.lang.IllegalStateException: 'protected void
com.sybase.jdbc2.jdbc.SybDataSource.setPortNumber(java.lang.String)' is
not public.

When I used <init-param port-number="..."/> it didn't pick that up
at all and I got the following:

There are no notes attached to this issue.