Click here to Skip to main content
15,898,010 members
Please Sign up or sign in to vote.
3.67/5 (3 votes)
See more:
Hello,

I am using cloudbees to deploy applications which
i develop on my own. I am trying to deploy a jsp application with
database connectivity (am using derby db and netbeans 7.0.1 IDE). But
when i deploy, i get an exception thrown. I don't know the solution.
How should i develop a jsp app with db and convert it into a war file
so that when deployed i don't have this problem. Please help me in this regard.
This is the exception thrown:


exception

org.apache.jasper.JasperException: An exception occurred processing JSP page /chatpage.jsp at line 19

16: %>
17: <%
18: Class.forName("org.apache.derby.jdbc.ClientDriver");
19: con=DriverManager.getConnection("jdbc:derby://localhost:1527/sample","app","app");
20: %>
21: <%
22: String str=request.getParameter("msg1");


With regards,
Jannani
Posted
Updated 21-Mar-13 6:38am
v2
Comments
Richard C Bishop 21-Mar-13 12:19pm    
In the future, you can use the "Improve question" widget to add to or alter your threads. It could be misconstrued as abuse to repost the same questions.
jannanim 21-Mar-13 12:22pm    
@richcb Ok Thank you.I will do it next time :)

1 solution

Hello,

Your war file must be missing db-derby-10.9.1.0.jar. Include it in the lib folder of your war file & it should work. Please have a look at this[^} article.

Regards,
 
Share this answer
 
Comments
jannanim 13-Apr-13 2:30am    
thank you :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900