This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread 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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 421
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: 1187
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: 9043
    
  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
 
wood burning stoves
 
subject: using a different server (tomcat)
 
Similar Threads
question about selection of Orion
Servlets - Request - Threads question?
unable to access LogServlet...not the same error that Juliane had
Tomcat vs. Orion
Problem with jsp finding my bean see code