This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "using a different server (tomcat)" Watch "using a different server (tomcat)" New topic
Author

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
Bartender

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

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


JavaBeginnersFaq
"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: http://aspose.com/file-tools
 
subject: using a different server (tomcat)