NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
mykee
Joined: 04 Jan 2012 Posts: 1
|
Posted: Wed Jan 04, 2012 11:45 am Post subject: HTTP Status 500 - |
|
|
Dear all,
I would like to ask help the following problem. I use Netbeans IDE 7.0.1, MySQL Server 5.5 and installed GlassFish Server 3.1.
I created new database in MySQL Workbench, then I set in Netbeans the new database. Netbeans can be able connect to the database, the tables and fields of the database that I can see and I can be able to change.
I wanted to write out data from the database (index.jsp) and the first time I ran it I got the following error message:
type Exception report
message
descriptionThe server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: No suitable driver found for jdbc/antro"
root cause
javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: No suitable driver found for jdbc/antro"
note The full stack traces of the exception and its root causes are available in the GlassFish Server Open Source Edition 3.1.1 logs.
| Description: |
|
| Filesize: |
53.5 KB |
| Viewed: |
3152 Time(s) |

|
| Description: |
|
| Filesize: |
105.29 KB |
| Viewed: |
3152 Time(s) |

|
| Description: |
|
| Filesize: |
97.54 KB |
| Viewed: |
3152 Time(s) |

|
|
|
| Back to top |
|
 |
jyeary
Joined: 21 Oct 2008 Posts: 610 Location: Simpsonville, SC
|
Posted: Thu Jan 05, 2012 5:22 pm Post subject: Re: HTTP Status 500 - |
|
|
Please include the MySQL drivers in the application (war), or add them to GlassFish. See the other post in the forum http://netbeans.org/projects/www/lists/nbj2ee/archive/2012-01/message/10
John
On Wed, Jan 4, 2012 at 6:45 AM, mykee <address-removed ([email]address-removed[/email])> wrote:
| Quote: | Dear all,
I would like to ask help the following problem. I use Netbeans IDE 7.0.1, MySQL Server 5.5 and installed GlassFish Server 3.1.
I created new database in MySQL Workbench, then I set in Netbeans the new database. Netbeans can be able connect to the database, the tables and fields of the database that I can see and I can be able to change.
I wanted to write out data from the database (index.jsp) and the first time I ran it I got the following error message:
type Exception report
message
descriptionThe server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: No suitable driver found for jdbc/antro"
root cause
javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: No suitable driver found for jdbc/antro"
note The full stack traces of the exception and its root causes are available in the GlassFish Server Open Source Edition 3.1.1 logs.
Attachments:
http://forums.netbeans.org//files/message_441.jpg
http://forums.netbeans.org//files/database_450.jpg
http://forums.netbeans.org//files/jsp_127.jpg
|
--
John Yeary
--
http://javaevangelist.blogspot.com
http://www.johnyeary.com
@jyeary
"Far better it is to dare mighty things, to win glorious triumphs, even though checkered by failure, than to take rank with those poor spirits who neither enjoy much nor suffer much, because they live in the gray twilight that knows not victory nor defeat."
-- Theodore Roosevelt
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|