It's not a secret anymore!
The moose likes Cattle Drive and the fly likes using a different server (tomcat) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "using a different server (tomcat)" Watch "using a different server (tomcat)" New topic

using a different server (tomcat)

Peter Gragert
Ranch Hand

Joined: Jan 16, 2001
Posts: 424
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

Joined: Apr 26, 2001
Posts: 133
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

Joined: Mar 15, 2001
Posts: 1202
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

Joined: Jul 22, 2000
Posts: 9059
Video objects are not required.

"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
I agree. Here's the link:
subject: using a different server (tomcat)
It's not a secret anymore!