History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: SQL-24
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Bob Swift
Reporter: Kirk Mook
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Confluence SQL Plugin

sql: javax.naming.NamingException: Could not create resource factory, ClassNotFoundException:org.objectweb.jndi.DataSourceFactory

Created: 21/Sep/07 07:29 AM   Updated: 21/Sep/07 07:29 AM
Component/s: None
Affects Version/s: 3.3.0
Fix Version/s: None

Time Tracking:
Not Specified

Environment: Windows 2k3, Confluence 2.5.4 stand-alone.

Labels:


 Description  « Hide
Now have Oracle dbase and this is not working. Message displaying:

sql: javax.naming.NamingException: Could not create resource factory, ClassNotFoundException:org.objectweb.jndi.DataSourceFactory

I'm using the default settings for Oracle setup as outlined, with the addition of the datasourcefactory line. It has failed with the same message both with and without the datasourcefactory line.

Here's my code from server.xml:

<Resource
name="jdbc/confluencedb"
auth="Container"
type="javax.sql.DataSource"
driverClassName="oracle.jdbc.driver.OracleDriver"
url="jdbc:oracle:thin:@serverIP:blah:blah"
username="theUsername"
password="thePassword"
factory="org.objectweb.jndi.DataSourceFactory"
connectionProperties="SetBigStringTryClob=true"
maxActive="25"
maxIdle="5"
maxWait="10000"
/>

My C:\confluence\confluence-2.5.4-std\confluence\WEB-INF\web.xml:

<resource-ref>
        <description>Connection Pool</description>
        <res-ref-name>jdbc/confluencedb</res-ref-name>
        <res-type>javax.sql.Datasource</res-type>
        <res-auth>Container</res-auth>
</resource-ref>

</web-app>

Another user had the same error I had, but I don't understand the fix he did, which seemed rather vague.

Thanks,
Kirk



 All   Comments   Work Log   Change History   FishEye   Crucible   Related Builds      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.