NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

HTTP Status 500 -

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
mykee



Joined: 04 Jan 2012
Posts: 1

PostPosted: Wed Jan 04, 2012 11:45 am    Post subject: HTTP Status 500 - Reply with 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.



message.JPG
 Description:
error message
 Filesize:  53.5 KB
 Viewed:  3152 Time(s)

message.JPG



database.JPG
 Description:
database
 Filesize:  105.29 KB
 Viewed:  3152 Time(s)

database.JPG



jsp.JPG
 Description:
index.jsp
 Filesize:  97.54 KB
 Viewed:  3152 Time(s)

jsp.JPG


Back to top
jyeary



Joined: 21 Oct 2008
Posts: 610
Location: Simpsonville, SC

PostPosted: Thu Jan 05, 2012 5:22 pm    Post subject: Re: HTTP Status 500 - Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo