DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=38866>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38866 Summary: java.lang.NullPointerException Product: Struts Version: 1.2.8 Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: Action AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Dear, I´m received the message above when I try connect in the oracle database. I´m using the pool database struts for the control the database connections, but I don´t have success. Below, follow the code of the struts-config.xml: <data-source type="oracle.jdbc.pool.OracleDataSource" key="userDB"> <set-property property="driverClass" value="oracle.jdbc.driver.OracleDriver" /> <set-property property="URL" value="jdbc:oracle:thin:@<ip address of the Oracle>:<port>:<oracle instance>" /> <set-property property="user" value="my username" /> <set-property property="password" value="my password" /> <set-property property="PortNumber" value="1521" /> <set-property property="DatabaseName" value="my databasename" /> Below, follow the code of the Action: DataSource dataSource = getDataSource(request,"userDB"); Connection conn = dataSource.getConnection(); If I try to connect without pool connections, I have sucess in the process. My classes12.jar is present in the <tomcat_home/webapps/my apllication/lib directory. All the packages for the struts dbcp, are the present in the <tomcat_home/webapps/my apllication/lib directory. Please, I need some help. Regards, Reginaldo -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
