Before deploying war do I need to first deploy
moviefun jar in openejb server also using openejb
deploy command. I am confused with this stuff as to
how this is supposed to work. My understanding was
that deploying moviefun.war file is sufficient to run
this application and openejb.home merely provided
binaries for openejb and
the application bean need to reside in
openejb.home/bean. I was able to make it work when
openejb server is up and Tomcat is up but we want to
have intravm setting so that we do not need to bother
to bring up openejb manually.

--- Rajesh Puri <[EMAIL PROTECTED]> wrote:

> David,
> 
> I did followings:
> 
> downloaded installed new version on my C drive in
> c:\openejb.
> copied movie.war file to tomcat(5.0)(NT), changed
> web.xml to set openejb.home to directory c:\openejb.
> AND goot following error messages. Seems this time
> it
> did give me better error messages than not working.
> I 
> did not do anything else as this is all readme asked
> me to do. First error I see is:
> org.openejb.OpenEJBException: Could not initialize
> Connector 'Movie Database Connector'.: null
>  and then there are more probably dpenedent on this
> or
> vice versa.
> 
> 
> -------
> 
> Sep 20, 2005 2:09:24 PM
> org.apache.coyote.http11.Http11Protocol init
> INFO: Initializing Coyote HTTP/1.1 on http-9050
> Sep 20, 2005 2:09:24 PM
> org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 2125 ms
> Sep 20, 2005 2:09:24 PM
> org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> Sep 20, 2005 2:09:24 PM
> org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/5.0.25
> Sep 20, 2005 2:09:26 PM
> org.apache.catalina.core.StandardHost start
> INFO: XML validation disabled
> Sep 20, 2005 2:09:26 PM
> org.apache.catalina.core.StandardHost getDeployer
> INFO: Create Host deployer for direct deployment (
> non-jmx ) 
> Sep 20, 2005 2:09:26 PM
> org.apache.catalina.core.StandardHostDeployer
> install
> INFO: Processing Context configuration file URL
> file:C:\Program Files\Apache Software
> Foundation\Tomcat
> 5.0\conf\Catalina\localhost\admin.xml
> Sep 20, 2005 2:09:27 PM
> org.apache.struts.util.PropertyMessageResources
> <init>
> INFO: Initializing,
> config='org.apache.struts.util.LocalStrings',
> returnNull=true
> Sep 20, 2005 2:09:27 PM
> org.apache.struts.util.PropertyMessageResources
> <init>
> INFO: Initializing,
> config='org.apache.struts.action.ActionResources',
> returnNull=true
> Sep 20, 2005 2:09:28 PM
> org.apache.struts.util.PropertyMessageResources
> <init>
> INFO: Initializing,
>
config='org.apache.webapp.admin.ApplicationResources',
> returnNull=true
> Sep 20, 2005 2:09:30 PM
> org.apache.catalina.core.StandardHostDeployer
> install
> INFO: Processing Context configuration file URL
> file:C:\Program Files\Apache Software
> Foundation\Tomcat
> 5.0\conf\Catalina\localhost\balancer.xml
> Sep 20, 2005 2:09:31 PM
> org.apache.catalina.core.StandardHostDeployer
> install
> INFO: Processing Context configuration file URL
> file:C:\Program Files\Apache Software
> Foundation\Tomcat
> 5.0\conf\Catalina\localhost\manager.xml
> Sep 20, 2005 2:09:31 PM
> org.apache.catalina.core.StandardHostDeployer
> install
> INFO: Processing Context configuration file URL
> file:C:\Program Files\Apache Software
> Foundation\Tomcat
> 5.0\conf\Catalina\localhost\testejb.xml
> Sep 20, 2005 2:09:31 PM
> org.apache.catalina.core.StandardHostDeployer
> install
> INFO: Installing web application at context path
> /jasper-webapp from URL file:C:/Program Files/Apache
> Software Foundation/Tomcat 5.0/webapps/jasper-webapp
> Sep 20, 2005 2:09:32 PM
> org.apache.catalina.core.StandardHostDeployer
> install
> INFO: Installing web application at context path
> /miceapplication from URL file:C:/Program
> Files/Apache
> Software Foundation/Tomcat
> 5.0/webapps/miceapplication
> Sep 20, 2005 2:09:32 PM
> org.apache.catalina.startup.ContextConfig
> validateSecurityRoles
> INFO: WARNING: Security role name admin used in an
> <auth-constraint> without being defined in a
> <security-role>
> Sep 20, 2005 2:09:32 PM
> org.apache.catalina.core.StandardHostDeployer
> install
> INFO: Installing web application at context path
> /mouse from URL file:C:/Program Files/Apache
> Software
> Foundation/Tomcat 5.0/webapps/mouse
> Sep 20, 2005 2:09:33 PM
> org.apache.catalina.core.StandardHostDeployer
> install
> INFO: Installing web application at context path
> /moviefun from URL file:C:/Program Files/Apache
> Software Foundation/Tomcat 5.0/webapps/moviefun
> OpenEJB init-params:
>       param-name: openejb.home, param-value: c:/openejb
>       param-name: openejb.loader, param-value:
> tomcat-webapp
> OpenEJB 1.0-20050917    build: 20050917-1716
> http://www.openejb.org
> resources 1
> org.openejb.OpenEJBException: Could not initialize
> Connector 'Movie Database Connector'.: null
>       at
>
org.openejb.alt.assembler.classic.AssemblerTool.assembleManagedConnectionFactory(AssemblerTool.java:215)
>       at
>
org.openejb.alt.assembler.classic.Assembler.buildContainerSystem(Assembler.java:294)
>       at
>
org.openejb.alt.assembler.classic.Assembler.build(Assembler.java:153)
>       at org.openejb.OpenEJB.init(OpenEJB.java:243)
>       at org.openejb.OpenEJB.init(OpenEJB.java:129)
>       at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>       at
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
> Source)
>       at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
>       at java.lang.reflect.Method.invoke(Unknown Source)
>       at
>
org.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:76)
>       at
>
org.openejb.loader.LoaderServlet.init(LoaderServlet.java:105)
>       at
>
org.openejb.loader.LoaderServlet.init(LoaderServlet.java:94)
>       at
>
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1019)
>       at
>
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
>       at
>
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3991)
>       at
>
org.apache.catalina.core.StandardContext.start(StandardContext.java:4335)
>       at
>
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
>       at
>
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
>       at
>
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
>       at
>
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:277)
>       at
>
org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
>       at
>
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:613)
>       at
>
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:431)
>       at
>
org.apache.catalina.startup.HostConfig.start(HostConfig.java:964)
>       at
>
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
>       at
>
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>       at
>
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
>       at
>
org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
>       at
>
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
>       at
>
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
>       at
>
org.apache.catalina.core.StandardService.start(StandardService.java:476)
>       at
>
org.apache.catalina.core.StandardServer.start(StandardServer.java:2298)
>       at
>
org.apache.catalina.startup.Catalina.start(Catalina.java:556)
>       at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>       at
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to