I am trying to run the code that was run on Jboss already from the command line. Now i want to make it as a Tomcat project running from the IDE.
Don't know how to deploy the WAR file and EAR file to get it run.. .. To code compile fine and run to the home page, but when ia mtrying to access the database i have this error
J
un 22, 2012 12:13:39 PM org.apache.catalina.core.ApplicationContext log
INFO: action: Processing a GET for /login
Jun 22, 2012 12:13:39 PM org.apache.catalina.core.ApplicationContext log
INFO: action: Setting locale 'en_US'
Jun 22, 2012 12:13:39 PM org.apache.catalina.core.ApplicationContext log
INFO: action: Looking for ActionForm bean under attribute 'loginForm'
Jun 22, 2012 12:13:39 PM org.apache.catalina.core.ApplicationContext log
INFO: action: Creating new ActionForm instance of class 'com.sabre.atse.client.web.model.LogonForm'
Jun 22, 2012 12:13:39 PM org.apache.catalina.core.ApplicationContext log
INFO: action: Storing instance under attribute 'loginForm' in scope 'request'
Jun 22, 2012 12:13:39 PM org.apache.catalina.core.ApplicationContext log
INFO: action: Populating bean properties from this request
Jun 22, 2012 12:13:39 PM org.apache.catalina.core.ApplicationContext log
INFO: action: Validating input form properties
Jun 22, 2012 12:13:39 PM org.apache.catalina.core.ApplicationContext log
INFO: action: No errors detected, accepting input
Jun 22, 2012 12:13:39 PM org.apache.catalina.core.ApplicationContext log
INFO: action: Looking for Action instance for class com.sabre.atse.client.web.control.action.LoginAction
Jun 22, 2012 12:13:39 PM org.apache.catalina.core.ApplicationContext log
INFO: action: Double checking for Action instance already there
Jun 22, 2012 12:13:39 PM org.apache.catalina.core.ApplicationContext log
INFO: action: Creating new Action instance
Jun 22, 2012 12:13:45 PM org.apache.catalina.core.ApplicationContext log
INFO: action: Processing a GET for /login
Jun 22, 2012 12:13:45 PM org.apache.catalina.core.ApplicationContext log
INFO: action: Setting locale 'en_US'
Jun 22, 2012 12:13:45 PM org.apache.catalina.core.ApplicationContext log
INFO: action: Looking for ActionForm bean under attribute 'loginForm'
Jun 22, 2012 12:13:45 PM org.apache.catalina.core.ApplicationContext log
INFO: action: Creating new ActionForm instance of class 'com.sabre.atse.client.web.model.LogonForm'
Jun 22, 2012 12:13:45 PM org.apache.catalina.core.ApplicationContext log
INFO: action: Storing instance under attribute 'loginForm' in scope 'request'
Jun 22, 2012 12:13:45 PM org.apache.catalina.core.ApplicationContext log
INFO: action: Populating bean properties from this request
Jun 22, 2012 12:13:46 PM org.apache.catalina.core.ApplicationContext log
INFO: action: Validating input form properties
Jun 22, 2012 12:13:46 PM org.apache.catalina.core.ApplicationContext log
INFO: action: No errors detected, accepting input
Jun 22, 2012 12:13:46 PM org.apache.catalina.core.ApplicationContext log
INFO: action: Looking for Action instance for class com.sabre.atse.client.web.control.action.LoginAction
Jun 22, 2012 12:13:46 PM org.apache.catalina.core.ApplicationContext log
INFO: action: Double checking for Action instance already there
Jun 22, 2012 12:13:46 PM org.apache.catalina.core.ApplicationContext log
INFO: action: Creating new Action instance
Jun 22, 2012 12:13:48 PM org.apache.catalina.core.ApplicationContext log
INFO: action: Processing a GET for /login
Jun 22, 2012 12:13:48 PM org.apache.catalina.core.ApplicationContext log
INFO: action: Setting locale 'en_US'
Jun 22, 2012 12:13:48 PM org.apache.catalina.core.ApplicationContext log
INFO: action: Looking for ActionForm bean under attribute 'loginForm'
Jun 22, 2012 12:13:48 PM org.apache.catalina.core.ApplicationContext log
INFO: action: Creating new ActionForm instance of class 'com.sabre.atse.client.web.model.LogonForm'
Jun 22, 2012 12:13:48 PM org.apache.catalina.core.ApplicationContext log
INFO: action: Storing instance under attribute 'loginForm' in scope 'request'
Jun 22, 2012 12:13:48 PM org.apache.catalina.core.ApplicationContext log
INFO: action: Populating bean properties from this request
Jun 22, 2012 12:13:48 PM org.apache.catalina.core.ApplicationContext log
INFO: action: Validating input form properties
Jun 22, 2012 12:13:48 PM org.apache.catalina.core.ApplicationContext log
INFO: action: No errors detected, accepting input
Jun 22, 2012 12:13:48 PM org.apache.catalina.core.ApplicationContext log
INFO: action: Looking for Action instance for class com.sabre.atse.client.web.control.action.LoginAction
Jun 22, 2012 12:13:53 PM org.apache.catalina.core.ApplicationContext log
INFO: action: Processing a POST for /login
Jun 22, 2012 12:13:53 PM org.apache.catalina.core.ApplicationContext log
INFO: action: Looking for ActionForm bean under attribute 'loginForm'
Jun 22, 2012 12:13:53 PM org.apache.catalina.core.ApplicationContext log
INFO: action: Creating new ActionForm instance of class 'com.sabre.atse.client.web.model.LogonForm'
Jun 22, 2012 12:13:53 PM org.apache.catalina.core.ApplicationContext log
INFO: action: Storing instance under attribute 'loginForm' in scope 'request'
Jun 22, 2012 12:13:53 PM org.apache.catalina.core.ApplicationContext log
INFO: action: Populating bean properties from this request
Jun 22, 2012 12:13:53 PM org.apache.catalina.core.ApplicationContext log
INFO: action: Validating input form properties
Jun 22, 2012 12:13:53 PM org.apache.catalina.core.ApplicationContext log
INFO: action: No errors detected, accepting input
Jun 22, 2012 12:13:53 PM org.apache.catalina.core.ApplicationContext log
INFO: action: Looking for Action instance for class com.sabre.atse.client.web.control.action.LoginAction
Jun 22, 2012 12:13:53 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [action] in context with path [/atseweb] threw exception [Servlet execution threw an exception] with root cause
java.lang.ClassNotFoundException: javax.ejb.CreateException
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1711)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1556)
at com.sabre.atse.client.web.control.action.LoginAction.createSession(LoginAction.java:237)
at com.sabre.atse.client.web.control.action.LoginAction.perform(LoginAction.java:168)
at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1787)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at com.sabre.atse.client.web.util.HttpSessionTimeoutMonitorFilter.doFilter(HttpSessionTimeoutMonitorFilter.java:31)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Anyone have any ideas how it should works ?