-
1. Re: SeamProject on Tomcat
walterjwhite Jan 12, 2010 6:35 PM (in response to mamark67)Hi Marco,
I have used Seam on both Tomcat and Jetty without problem (other than my own). If you're using Maven, take advantage of Jetty and include it into your development cycle. It greatly speeds up development as well as helps you spot bugs much faster.
With regards to tomcat, I will need to see your logs in the tomcat directory. This should indicate what is going on and why your application is not running.
It looks like there might be an exception being thrown and the server keeps redirecting to a page it cannot serve. This is why it is important to have logging setup properly (especially with JSF 1.x).
If there is truly nothing in your logs, then we will probably need to see your tomcat configuration as perhaps logging is not setup properly.
Let's take it one step at a time and see the logs to go from there.
The process I want to follow is like this:
1. review application server logs
2. if there is a stack trace, review it accordingly
3. if there are no logs, check tomcat installation and configuration
4. list all libraries in the tomcat /lib folder
5. post web application configuration files
web.xml
persistence.xml
components.xml6. does each jar that contains seam components have a seam.properties
7. if possible, enable tomcat in debug mode, attach a debugger, and step through the application code while you request home.seam. You should very quickly get an idea where the application is blowing up and why.Thanks,
Walter -
2. Re: SeamProject on Tomcat
mamark67 Jan 15, 2010 3:39 PM (in response to mamark67)Hello Walter. First of all thanks.
I'm doing what I've said I'm ready when you submit all the logs.
But the first problem I encountered to make the deployment on Tomcat is the definition of Oracle datasource. What files should be changed and how?Bye Marco.
And thanks again