File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Android Security Essentials Live Lessons this week in the Android 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: 1194
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
 
jQuery in Action, 2nd edition
 
subject: using a different server (tomcat)
 
Similar Threads
Servlets - Request - Threads question?
unable to access LogServlet...not the same error that Juliane had
question about selection of Orion
Problem with jsp finding my bean see code
Tomcat vs. Orion