tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: WARNING: WebAppInfo not found.
Date Fri, 04 Jan 2013 14:57:40 GMT
Hi,

webapps folder is for webapp ATM, try to put the jar in <tomee>/apps

Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau



2013/1/4 avrono <avron@neuralm.com>:
> Hi,
>
> I am having a problem deploying and using the webservice in this
> http://openejb.apache.org/examples-trunk/simple-webservice/
> <http://openejb.apache.org/examples-trunk/simple-webservice/>   example
>
> Any ideas how to resolve the "WARNING: WebAppInfo not found." error/warning
> ?
>
> I have copied the .jar to the Webapps folder of my TomEE installation and I
> am trying to run the JUnit test from another project. The test fails with a
> ServiceConstructionException
>
> Below is the server startup log (relevant part)
>
>
> 04-Jan-2013 14:11:41 org.apache.openejb.config.ConfigurationFactory
> configureApplication
> INFO: Configuring enterprise application:
> /home/avrono/TomEE/apache-tomee-plus-1.5.0/webapps/simple-webservice-1.1.0-SNAPSHOT.jar
> 04-Jan-2013 14:11:41 org.apache.openejb.config.InitEjbDeployments deploy
> INFO: Auto-deploying ejb Calculator: EjbDeployment(deployment-id=Calculator)
> 04-Jan-2013 14:11:41 org.apache.openejb.config.AppInfoBuilder build
> INFO: Enterprise application
> "/home/avrono/TomEE/apache-tomee-plus-1.5.0/webapps/simple-webservice-1.1.0-SNAPSHOT.jar"
> loaded.
> 04-Jan-2013 14:11:41 org.apache.openejb.assembler.classic.Assembler
> createApplication
> INFO: Assembling app:
> /home/avrono/TomEE/apache-tomee-plus-1.5.0/webapps/simple-webservice-1.1.0-SNAPSHOT.jar
> 04-Jan-2013 14:11:41 org.apache.openejb.cdi.CdiBuilder initSingleton
> INFO: Existing thread singleton service in SystemInstance()
> org.apache.openejb.cdi.ThreadSingletonServiceImpl@5da37c
> 04-Jan-2013 14:11:41 org.apache.openejb.cdi.OpenEJBLifecycle
> startApplication
> INFO: OpenWebBeans Container is starting...
> 04-Jan-2013 14:11:41 org.apache.webbeans.plugins.PluginLoader startUp
> INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
> 04-Jan-2013 14:11:41 org.apache.webbeans.plugins.PluginLoader startUp
> INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
> 04-Jan-2013 14:11:41 org.apache.openejb.cdi.BeansDeployer
> validateInjectionPoints
> INFO: All injection points are validated successfully.
> 04-Jan-2013 14:11:41 org.apache.openejb.cdi.OpenEJBLifecycle
> startApplication
> INFO: OpenWebBeans Container has started, it took 4 ms.
> 04-Jan-2013 14:11:41 org.apache.openejb.assembler.classic.Assembler
> createApplication
> INFO: Created Ejb(deployment-id=Calculator, ejb-name=Calculator,
> container=My Stateless Container)
> 04-Jan-2013 14:11:41 org.apache.openejb.assembler.classic.Assembler
> createApplication
> INFO: Started Ejb(deployment-id=Calculator, ejb-name=Calculator,
> container=My Stateless Container)
> 04-Jan-2013 14:11:41 org.apache.openejb.assembler.classic.Assembler
> createApplication
> INFO: Deployed
> Application(path=/home/avrono/TomEE/apache-tomee-plus-1.5.0/webapps/simple-webservice-1.1.0-SNAPSHOT.jar)
> 04-Jan-2013 14:11:41
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean
> buildServiceFromClass
> INFO: Creating Service {http://superbiz.org/wsdl}CalculatorService from
> class org.superbiz.calculator.ws.CalculatorWs
> 04-Jan-2013 14:11:42 org.apache.cxf.endpoint.ServerImpl initDestination
> INFO: Setting the server's publish address to be http://nopath:80
> 04-Jan-2013 14:11:42 org.apache.tomee.catalina.TomcatWebAppBuilder init
> INFO: -------------------------
> TomcatWebAppBuilder.init /Calculator
> 04-Jan-2013 14:11:42 org.apache.tomee.catalina.OpenEJBContextConfig
> processAnnotationsUrl
> WARNING: WebAppInfo not found.
> StandardContextInfo{standardContext=StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Calculator]}
> 04-Jan-2013 14:11:42 org.apache.tomee.catalina.OpenEJBContextConfig
> processAnnotationsUrl
> WARNING: WebAppInfo not found.
> StandardContextInfo{standardContext=StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Calculator]}
> 04-Jan-2013 14:11:43 org.apache.tomee.catalina.OpenEJBContextConfig
> processAnnotationsUrl
> WARNING: WebAppInfo not found.
> StandardContextInfo{standardContext=StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Calculator]}
> java.lang.NullPointerException
>         at
> org.apache.tomee.catalina.TomcatJndiBuilder.mergeJava(TomcatJndiBuilder.java:247)
>         at
> org.apache.tomee.catalina.TomcatJavaJndiBinder.lifecycleEvent(TomcatJavaJndiBinder.java:30)
>         at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>         at
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
>         at
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5173)
>         at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>         at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
>         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
>         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
>         at
> org.apache.tomee.webservices.TomcatWsRegistry.deployInFakeWebapp(TomcatWsRegistry.java:200)
>         at
> org.apache.tomee.webservices.TomcatWsRegistry.addWsContainer(TomcatWsRegistry.java:192)
>         at
> org.apache.openejb.server.webservices.WsService.afterApplicationCreated(WsService.java:279)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at
> org.apache.openejb.observer.ObserverManager$Observer.invoke(ObserverManager.java:145)
>         at
> org.apache.openejb.observer.ObserverManager.fireEvent(ObserverManager.java:69)
>         at
> org.apache.openejb.loader.SystemInstance.fireEvent(SystemInstance.java:105)
>         at
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:929)
>         at
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:532)
>         at
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:528)
>         at
> org.apache.tomee.catalina.TomcatWebAppBuilder.checkHost(TomcatWebAppBuilder.java:1394)
>         at
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:124)
>         at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>         at
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
>         at
> org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1374)
>         at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1530)
>         at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1540)
>         at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1519)
>         at java.lang.Thread.run(Thread.java:662)
> 04-Jan-2013 14:11:43 org.apache.myfaces.ee6.MyFacesContainerInitializer
> onStartup
> INFO: Added FacesServlet with mappings=[/faces/*, *.jsf, *.faces]
> 04-Jan-2013 14:11:43
> org.apache.myfaces.config.DefaultFacesConfigurationProvider
> getStandardFacesConfig
> INFO: Reading standard config META-INF/standard-faces-config.xml
> 04-Jan-2013 14:11:43
> org.apache.myfaces.config.DefaultFacesConfigurationProvider
> getClassloaderFacesConfig
> INFO: Reading config :
> jar:file:/home/avrono/TomEE/apache-tomee-plus-1.5.0/lib/primefaces-3.4.2.jar!/META-INF/faces-config.xml
> 04-Jan-2013 14:11:43 org.apache.myfaces.config.LogMetaInfUtils logArtifact
> INFO: Artifact 'myfaces-api' was found in version '2.1.9' from path
> 'file:/home/avrono/TomEE/apache-tomee-plus-1.5.0/lib/myfaces-api-2.1.9.jar'
> 04-Jan-2013 14:11:43 org.apache.myfaces.config.LogMetaInfUtils logArtifact
> INFO: Artifact 'myfaces-impl' was found in version '2.1.9' from path
> 'file:/home/avrono/TomEE/apache-tomee-plus-1.5.0/lib/myfaces-impl-2.1.9.jar'
> 04-Jan-2013 14:11:43 org.apache.myfaces.application.ApplicationImpl
> getProjectStage
> INFO: Couldn't discover the current project stage, using Production
> 04-Jan-2013 14:11:43 org.apache.myfaces.config.FacesConfigurator
> handleSerialFactory
> INFO: Serialization provider : class
> org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory
> 04-Jan-2013 14:11:43
> org.apache.myfaces.config.annotation.DefaultLifecycleProviderFactory
> getLifecycleProvider
> INFO: Using LifecycleProvider
> org.apache.myfaces.config.annotation.Tomcat7AnnotationLifecycleProvider
> 04-Jan-2013 14:11:43
> org.primefaces.webapp.PostConstructApplicationEventListener processEvent
> INFO: Running on PrimeFaces 3.4.2
> 04-Jan-2013 14:11:43 org.apache.myfaces.webapp.AbstractFacesInitializer
> initFaces
> INFO: ServletContext initialized.
> 04-Jan-2013 14:11:43 org.apache.openejb.server.webservices.WsService
> afterApplicationCreated
> INFO: Webservice(wsdl=http://localhost:8080/Calculator,
> qname={http://superbiz.org/wsdl}CalculatorService) --> Ejb(id=Calculator)
>
>
>
> --
> View this message in context: http://openejb.979440.n4.nabble.com/WARNING-WebAppInfo-not-found-tp4660077.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.

Mime
View raw message