Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

using a different server (tomcat)

 
Peter Gragert
Ranch Hand
Posts: 424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I try to get the final JDBC-4 assignment to work with Tomcat and not on the orion server.
AddVideoServlet and ListVideoServlet (after several days trial ) finally work (the rest suffers from errors not yet understood).
Here is one 'strange' error, which cost me a lot of time to find out.
ResultSet rs used

Tomcat needs the "title" written as "TITLE" whereas all runs fine with the orion-server!
Furthermore, I had to give 'servlets' mappings in a web.xml file ... the "/servlet/VideoLoginServlet" will not (yet) work, see "tomcat/apache" for more.
Maybe this is a reason to use the orion-server ... Worked up to now at once and perfectly!
 
Lance Finney
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Orion is much more forgiving than a lot of the other app servers out there. My team at work is designing an enterprise application, and we used Orion as our primary development application server. Since we're almost done, we're now testing the application on WebLogic and SunONE, and we have to be a LOT more specific with our deployment descriptors and packaging with those app servers than we had to be with Orion.
 
Carol Murphy
village idiot
Bartender
Posts: 1203
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're using Video objects in your solution? I didn't think creating video objects would help with these assignments, since we're using a database. What am I missing? I've been trying to solve just using SQL commands to change the database and building on the previous assignment's solution. Am I barking up the wrong tree?
 
Marilyn de Queiroz
Sheriff
Posts: 9065
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Video objects are not required.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic