You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2006/03/06 18:48:57 UTC
DO NOT REPLY [Bug 38866] New: - java.lang.NullPointerException
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: dev@struts.apache.org
ReportedBy: reginaldotakita@yahoo.com.br
CC: reginaldotakita@yahoo.com.br
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: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
DO NOT REPLY [Bug 38866] - java.lang.NullPointerException
Posted by bu...@apache.org.
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
------- Additional Comments From reginaldotakita@yahoo.com.br 2006-03-06 18:28 -------
(In reply to comment #1)
> Bugzilla is for reporting issues with Struts code, not for asking for help.
> Please sign up on the user mailing list and post your questions there.
> http://struts.apache.org/mail.html
> Thanks
> --
> James Mitchell
James,
Sorry!!! I don�t know that Bugzilla is used to put issues with Struts code.
I go to mailing list for the put this question.
Thanks a lot!
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: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
DO NOT REPLY [Bug 38866] - java.lang.NullPointerException
Posted by bu...@apache.org.
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
jmitchell@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From jmitchell@apache.org 2006-03-06 17:55 -------
Bugzilla is for reporting issues with Struts code, not for asking for help.
Please sign up on the user mailing list and post your questions there.
http://struts.apache.org/mail.html
Thanks
--
James Mitchell
--
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: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org