You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by Antonio <an...@gmail.com> on 2013/03/21 12:28:15 UTC
Injection data not found in JNDI context
Hi there,
I created an ejb library (jar) and I imported into my tomee-jsf project
(war).
The problem is that when I try to use the bean of the library I get null
pointer exception.
The message I can see on the console is:
WARNING: Injection data not found in JNDI context:
jndiName='comp/env/com.altobridge.omc.gui.login.Authenticator/userDao',
target=com.altobridge.omc.gui.login.Authenticator/userDao
Mar 21, 2013 11:19:26 AM org.apache.openejb.cdi.CdiResourceInjectionService
fillInjectionProperties
WARNING: Injection data not found in JNDI context:
jndiName='comp/env/com.altobridge.omc.gui.login.Authenticator/userDao',
target=com.altobridge.omc.gui.login.Authenticator/userDao
I'm not sure how should I Inject or use it from a different project, should
be remote?
Here is the class I want to use
@Local
public interface UserProfileDaoLocal
{
public void createUser( Userprofile user );
public void deleteUser( Userprofile user );
public List<Userprofile> findById( String id );
}
@Stateless
public class UserProfileDao implements UserProfileDaoLocal
{
@PersistenceContext( unitName = "aomdb_unit" )
private EntityManager entityManager;
@Override
@TransactionAttribute( TransactionAttributeType.REQUIRED )
public void createUser( Userprofile user )
{
entityManager.persist(user);
}
@Override
@TransactionAttribute( TransactionAttributeType.REQUIRED )
public void deleteUser( Userprofile user )
{
String id =
user.getId();
Userprofile persistenceUser =
entityManager.find( Userprofile.class, id );
entityManager.remove( persistenceUser );
}
@Override
@TransactionAttribute( TransactionAttributeType.REQUIRED )
public List<Userprofile> findById(String id)
{
Query query =
entityManager.createNamedQuery( "Userprofile.findById");
query.setParameter( "id", id );
return query.getResultList();
}
And here the class from where i want to use it
@ManagedBean
@Named("authenticator")
@RequestScoped
public class Authenticator
{
@EJB
private UserProfileDao userDao;
private String userName;
private String password;
private String result;
public Authenticator()
{
this.userName = new String();
this.password = new String();
this.result = new String();
}
public void execute()
{
//userDao.findById(userName);
if ( userName.compareTo("Me") == 0 )
{
result = "Log Success!";
}
else
{
result = "Log Failed!";
}
}
public String getResult() {
return result;
}
public void setResult(String result) {
this.result = result;
}
public String getUserName() {
return userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
}
Regards,
Antonio
--
View this message in context: http://openejb.979440.n4.nabble.com/Injection-data-not-found-in-JNDI-context-tp4661652.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: AW: AW: Injection data not found in JNDI context
Posted by Antonio <an...@gmail.com>.
Hi there, Thanks to both for the answers.
I Included ejb-jar.xml in both projects in the web project and in the ejb
project but it didn't work.
I'm trying now to reproduce the error in a different project but I can't.
In the new project it works fine but I would like to point out one thing:
In the project that doesn't work I see this:
WARNING: Unresolved ejb reference
"java:comp/env/com.altobridge.omc.gui.login.Authenticator/userDao" in bean
"omc-gui-1.0-snapshot.Comp". Will attempt resolution again at runtime
And in the project that works i see this other one:
INFO:
Jndi(name=global/sampleJndiNotBindingejb-web-1.0-snapshot/helloWorld!com.mycompany.sample.helloWorldLocal)
--> Ejb(deployment-id=helloWorld)
Regards,
Antonio
--
View this message in context: http://openejb.979440.n4.nabble.com/Injection-data-not-found-in-JNDI-context-tp4661652p4661662.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: AW: AW: Injection data not found in JNDI context
Posted by Romain Manni-Bucau <rm...@gmail.com>.
FYI i just tested:
foo.war
`-WEB-INF
`-lib
`-foolib.jar
`-org.Foo.class
with Foo:
package org;
@Stateless
public class Foo {
public String ok() {
return "ok";
}
}
And it deploys fine.
*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*
2013/3/21 Romain Manni-Bucau <rm...@gmail.com>
> ejb-jar.xml is no more mandatory in a bunch of cases (war for instance)
>
>
>
> *Romain Manni-Bucau*
> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> *Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> *Github: https://github.com/rmannibucau*
>
>
>
> 2013/3/21 Thomas Herzog <t....@curecomp.com>
>
>> I am working on webspehere without maven but an EJB module just needs to
>> have an ejb-jar.xml and they beans are annotated with @Stateless,
>> @Statefull,...
>>
>>
>>
>> ejb-jar.xml:
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>>
>> <ejb-jar version="3.1" xmlns="http://java.sun.com/xml/ns/javaee"
>>
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>
>> xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
>> http://java.sun.com/xml/ns/javaee/ejb-jar_3_1.xsd">
>>
>> <display-name>CarrierServiceImpl</display-name>
>>
>> </ejb-jar>
>>
>>
>>
>> With this the websphere knows that he has to search for ejb beans wihtin
>> this jar.
>>
>> I guess this will fix your issue.
>>
>> Without ejb-jar.xml no beans will get deployed because not marked a s an
>> ejb module and the server will not search for beans.
>>
>> Just a guess but try out to deploy it as a n ejb via maven (if a project)
>> and if its is an jar in web-inf/lib then add the ejb-jar.xml
>>
>>
>>
>> Mit freundlichen Grüßen
>>
>>
>>
>> Thomas Herzog
>>
>> Softwareentwicklung
>>
>>
>>
>> curecomp Software Services GmbH
>>
>> Hafenstrasse 47-51
>>
>> 4020 Linz
>>
>>
>>
>> web: www.curecomp.com
>>
>> e-Mail: t.herzog@curecomp.com
>>
>> tel: +43 (0)732 9015-5563
>>
>> mobile: +43 (0)664 8867 9829
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> -----Ursprüngliche Nachricht-----
>> Von: Antonio [mailto:anttonijo20@gmail.com]
>> Gesendet: Donnerstag, 21. März 2013 15:25
>> An: users@openejb.apache.org
>> Betreff: Re: AW: AW: Injection data not found in JNDI context
>>
>>
>>
>> Okey Now that you say that there is a couple of things that I didn't
>> noticed about the deployment
>>
>>
>>
>> antonio@altodesk24: pts/6: 6 files 40Kb -> mvn install tomee:run [INFO]
>> Scanning for projects...
>>
>> [INFO]
>>
>> [INFO]
>>
>> ------------------------------------------------------------------------
>>
>> [INFO] Building omc-gui 1.0-snapshot
>>
>> [INFO]
>>
>> ------------------------------------------------------------------------
>>
>> [INFO]
>>
>> [INFO] --- maven-dependency-plugin:2.1:copy (default) @ omc-gui ---
>> [INFO] [INFO] --- maven-resources-plugin:2.5:resources (default-resources)
>> @ omc-gui --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding
>> to copy filtered resources.
>>
>> [INFO] Copying 1 resource
>>
>> [INFO]
>>
>> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ omc-gui
>>
>> ---
>>
>> [INFO] Compiling 1 source file to
>>
>> /home/antonio/builds/working_copy4/omc/omc-gui/target/classes
>>
>> [INFO]
>>
>> [INFO] --- maven-resources-plugin:2.5:testResources
>> (default-testResources) @ omc-gui --- [debug] execute contextualize [INFO]
>> Using 'UTF-8' encoding to copy filtered resources.
>>
>> [INFO] skip non existing resourceDirectory
>> /home/antonio/builds/working_copy4/omc/omc-gui/src/test/resources
>>
>> [INFO]
>>
>> [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile)
>> @ omc-gui --- [INFO] No sources to compile [INFO] [INFO] ---
>> maven-surefire-plugin:2.10:test (default-test) @ omc-gui --- [INFO] No
>> tests to run.
>>
>> [INFO] Surefire report directory:
>>
>> /home/antonio/builds/working_copy4/omc/omc-gui/target/surefire-reports
>>
>>
>>
>> -------------------------------------------------------
>>
>> T E S T S
>>
>> -------------------------------------------------------
>>
>>
>>
>> Results :
>>
>>
>>
>> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
>>
>>
>>
>> [INFO]
>>
>> [INFO] --- maven-war-plugin:2.1.1:war (default-war) @ omc-gui --- [INFO]
>> Packaging webapp [INFO] Assembling webapp [omc-gui] in
>> [/home/antonio/builds/working_copy4/omc/omc-gui/target/omc-gui-1.0-snapshot]
>>
>> [INFO] Processing war project
>>
>> [INFO] Copying webapp resources
>>
>> [/home/antonio/builds/working_copy4/omc/omc-gui/src/main/webapp]
>>
>> [INFO] Webapp assembled in [101 msecs]
>>
>> [INFO] Building war:
>>
>>
>> /home/antonio/builds/working_copy4/omc/omc-gui/target/omc-gui-1.0-snapshot.war
>>
>> [INFO] WEB-INF/web.xml already added, skipping [INFO] [INFO] ---
>> maven-install-plugin:2.3.1:install (default-install) @ omc-gui
>>
>> ---
>>
>> [INFO] Installing
>>
>>
>> /home/antonio/builds/working_copy4/omc/omc-gui/target/omc-gui-1.0-snapshot.war
>>
>> to
>>
>>
>> /home/antonio/.m2/repository/com/altobridge/omc-gui/1.0-snapshot/omc-gui-1.0-snapshot.war
>>
>> [INFO] Installing /home/antonio/builds/working_copy4/omc/omc-gui/pom.xml
>> to
>> /home/antonio/.m2/repository/com/altobridge/omc-gui/1.0-snapshot/omc-gui-1.0-snapshot.pom
>>
>> [INFO]
>>
>> [INFO] --- tomee-maven-plugin:1.0.1:run (default-cli) @ omc-gui ---
>> [INFO] TomEE was unzipped in
>> '/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee'
>>
>> [INFO] Removed not mandatory default webapps [INFO] Installed
>> '/home/antonio/builds/working_copy4/omc/omc-gui/target/omc-gui-1.0-snapshot.war'
>>
>> in
>>
>>
>> /home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot.war
>>
>> [INFO] Running 'run'. Configured TomEE in plugin is localhost:8080
>> (plugin shutdown port is 8005) Mar 21, 2013 2:11:50 PM
>> org.apache.catalina.core.AprLifecycleListener init
>>
>> SEVERE: An incompatible version 1.1.23 of the APR based Apache Tomcat
>> Native library is installed, while Tomcat requires version 1.1.24 Mar 21,
>> 2013 2:11:50 PM org.apache.catalina.core.AprLifecycleListener init
>>
>> SEVERE: An incompatible version 1.1.23 of the APR based Apache Tomcat
>> Native library is installed, while Tomcat requires version 1.1.24 Mar 21,
>> 2013 2:11:50 PM org.apache.catalina.core.AprLifecycleListener init
>>
>> SEVERE: An incompatible version 1.1.23 of the APR based Apache Tomcat
>> Native library is installed, while Tomcat requires version 1.1.24 Mar 21,
>> 2013 2:11:50 PM org.apache.catalina.core.AprLifecycleListener init
>>
>> SEVERE: An incompatible version 1.1.23 of the APR based Apache Tomcat
>> Native library is installed, while Tomcat requires version 1.1.24 Mar 21,
>> 2013 2:11:50 PM org.apache.catalina.core.AprLifecycleListener init
>>
>> SEVERE: An incompatible version 1.1.23 of the APR based Apache Tomcat
>> Native library is installed, while Tomcat requires version 1.1.24 Mar 21,
>> 2013 2:11:50 PM org.apache.coyote.AbstractProtocol init
>>
>> INFO: Initializing ProtocolHandler ["http-bio-8080"] Mar 21, 2013 2:11:50
>> PM org.apache.coyote.AbstractProtocol init
>>
>> INFO: Initializing ProtocolHandler ["ajp-bio-8009"] Mar 21, 2013 2:11:51
>> PM org.apache.openejb.util.OptionsLog info
>>
>> INFO: Using
>>
>>
>> 'openejb.jdbc.datasource-creator=org.apache.tomee.jdbc.TomEEDataSourceCreator'
>>
>> Mar 21, 2013 2:11:51 PM org.apache.openejb.OpenEJB$Instance <init>
>>
>> INFO:
>>
>>
>> ********************************************************************************
>>
>> Mar 21, 2013 2:11:51 PM org.apache.openejb.OpenEJB$Instance <init>
>>
>> INFO: OpenEJB http://openejb.apache.org/ <http://openejb.apache.org/>
>> Mar 21, 2013 2:11:51 PM org.apache.openejb.OpenEJB$Instance <init>
>>
>> INFO: Startup: Thu Mar 21 14:11:51 GMT 2013 Mar 21, 2013 2:11:51 PM
>> org.apache.openejb.OpenEJB$Instance <init>
>>
>> INFO: Copyright 1999-2012 (C) Apache OpenEJB Project, All Rights Reserved.
>>
>> Mar 21, 2013 2:11:51 PM org.apache.openejb.OpenEJB$Instance <init>
>>
>> INFO: Version: 4.5.1
>>
>> Mar 21, 2013 2:11:51 PM org.apache.openejb.OpenEJB$Instance <init>
>>
>> INFO: Build date: 20121209
>>
>> Mar 21, 2013 2:11:51 PM org.apache.openejb.OpenEJB$Instance <init>
>>
>> INFO: Build time: 08:47
>>
>> Mar 21, 2013 2:11:51 PM org.apache.openejb.OpenEJB$Instance <init>
>>
>> INFO:
>>
>>
>> ********************************************************************************
>>
>> Mar 21, 2013 2:11:51 PM org.apache.openejb.OpenEJB$Instance <init>
>>
>> INFO: openejb.home =
>>
>> /home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee
>>
>> Mar 21, 2013 2:11:51 PM org.apache.openejb.OpenEJB$Instance <init>
>>
>> INFO: openejb.base =
>>
>> /home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee
>>
>> Mar 21, 2013 2:11:51 PM org.apache.openejb.cdi.CdiBuilder initializeOWB
>>
>> INFO: Created new singletonService
>>
>> org.apache.openejb.cdi.ThreadSingletonServiceImpl@5cd6b35f <mailto:
>> org.apache.openejb.cdi.ThreadSingletonServiceImpl@5cd6b35f>
>>
>> Mar 21, 2013 2:11:51 PM org.apache.openejb.cdi.CdiBuilder initializeOWB
>>
>> INFO: Succeeded in installing singleton service Mar 21, 2013 2:11:51 PM
>> org.apache.openejb.config.ConfigurationFactory init
>>
>> INFO: openejb configuration file is
>>
>>
>> '/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/conf/tomee.xml'
>>
>> Mar 21, 2013 2:11:52 PM org.apache.openejb.util.OptionsLog info
>>
>> INFO: Using 'openejb.provider.default=org.apache.tomee'
>>
>> Mar 21, 2013 2:11:52 PM org.apache.openejb.config.ConfigurationFactory
>>
>> configureService
>>
>> INFO: Configuring Service(id=Tomcat Security Service,
>> type=SecurityService, provider-id=Tomcat Security Service) Mar 21, 2013
>> 2:11:52 PM org.apache.openejb.config.ConfigurationFactory
>>
>> configureService
>>
>> INFO: Configuring Service(id=Default Transaction Manager,
>> type=TransactionManager, provider-id=Default Transaction Manager) Mar 21,
>> 2013 2:11:52 PM org.apache.openejb.config.ConfigurationFactory
>>
>> configureService
>>
>> INFO: Configuring Service(id=My DataSource, type=Resource,
>> provider-id=Default JDBC Database) Mar 21, 2013 2:11:52 PM
>> org.apache.openejb.config.ConfigurationFactory
>>
>> configureService
>>
>> INFO: Configuring Service(id=My Unmanaged DataSource, type=Resource,
>> provider-id=Default JDBC Database) Mar 21, 2013 2:11:52 PM
>> org.apache.openejb.config.ConfigurationFactory
>>
>> configureService
>>
>> INFO: Configuring Service(id=My Singleton Container, type=Container,
>> provider-id=Default Singleton Container) Mar 21, 2013 2:11:52 PM
>> org.apache.openejb.config.ConfigurationFactory
>>
>> configureService
>>
>> INFO: Configuring Service(id=My Stateful Container, type=Container,
>> provider-id=Default Stateful Container) Mar 21, 2013 2:11:52 PM
>> org.apache.openejb.config.ConfigurationFactory
>>
>> configureService
>>
>> INFO: Configuring Service(id=My Stateless Container, type=Container,
>> provider-id=Default Stateless Container) Mar 21, 2013 2:11:52 PM
>> org.apache.openejb.config.DeploymentsResolver
>>
>> loadFrom
>>
>> WARNING: <Deployments dir="null"> - Does not exist:
>>
>> /home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/apps
>>
>> Mar 21, 2013 2:11:52 PM org.apache.openejb.util.OptionsLog info
>>
>> INFO: Using 'openejb.system.apps=true'
>>
>> Mar 21, 2013 2:11:52 PM org.apache.openejb.config.ConfigurationFactory
>>
>> configureApplication
>>
>> INFO: Configuring enterprise application: null Mar 21, 2013 2:11:52 PM
>> org.apache.openejb.config.InitEjbDeployments deploy
>>
>> INFO: Using openejb.deploymentId.format '{ejbName}'
>>
>> Mar 21, 2013 2:11:52 PM org.apache.openejb.config.InitEjbDeployments
>> deploy
>>
>> INFO: Auto-deploying ejb openejb/User:
>>
>> EjbDeployment(deployment-id=openejb/User)
>>
>> Mar 21, 2013 2:11:52 PM org.apache.openejb.config.InitEjbDeployments
>> deploy
>>
>> INFO: Auto-deploying ejb openejb/Deployer:
>>
>> EjbDeployment(deployment-id=openejb/Deployer)
>>
>> Mar 21, 2013 2:11:52 PM org.apache.openejb.config.InitEjbDeployments
>> deploy
>>
>> INFO: Auto-deploying ejb openejb/ConfigurationInfo:
>>
>> EjbDeployment(deployment-id=openejb/ConfigurationInfo)
>>
>> Mar 21, 2013 2:11:52 PM org.apache.openejb.config.InitEjbDeployments
>> deploy
>>
>> INFO: Auto-deploying ejb MEJB: EjbDeployment(deployment-id=MEJB) Mar 21,
>> 2013 2:11:52 PM org.apache.openejb.config.AppInfoBuilder build
>>
>> INFO: Enterprise application "openejb" loaded.
>>
>> Mar 21, 2013 2:11:52 PM org.apache.openejb.assembler.classic.Assembler
>>
>> createRecipe
>>
>> INFO: Creating TransactionManager(id=Default Transaction Manager) Mar 21,
>> 2013 2:11:52 PM org.apache.openejb.assembler.classic.Assembler
>>
>> createRecipe
>>
>> INFO: Creating SecurityService(id=Tomcat Security Service) Mar 21, 2013
>> 2:11:52 PM org.apache.openejb.assembler.classic.Assembler
>>
>> createRecipe
>>
>> INFO: Creating Resource(id=My DataSource) Mar 21, 2013 2:11:52 PM
>> org.apache.openejb.assembler.classic.Assembler
>>
>> createRecipe
>>
>> INFO: Creating Resource(id=My Unmanaged DataSource) Mar 21, 2013 2:11:52
>> PM org.apache.openejb.assembler.classic.Assembler
>>
>> createRecipe
>>
>> INFO: Creating Container(id=My Singleton Container) Mar 21, 2013 2:11:52
>> PM org.apache.openejb.assembler.classic.Assembler
>>
>> createRecipe
>>
>> INFO: Creating Container(id=My Stateful Container) Mar 21, 2013 2:11:52
>> PM org.apache.openejb.core.stateful.SimplePassivater
>>
>> init
>>
>> INFO: Using directory
>>
>> /home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/temp
>> for stateful session passivation Mar 21, 2013 2:11:52 PM
>> org.apache.openejb.assembler.classic.Assembler
>>
>> createRecipe
>>
>> INFO: Creating Container(id=My Stateless Container) Mar 21, 2013 2:11:52
>> PM org.apache.openejb.assembler.classic.Assembler
>>
>> createApplication
>>
>> INFO: Assembling app: openejb
>>
>> Mar 21, 2013 2:11:53 PM org.apache.openejb.util.OptionsLog info
>>
>> INFO: Using
>>
>> 'openejb.jndiname.format={deploymentId}{interfaceType.openejbLegacyName}'
>>
>> Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
>>
>> bind
>>
>> INFO: Jndi(name=openejb/UserBusinessRemote) -->
>>
>> Ejb(deployment-id=openejb/User)
>>
>> Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
>>
>> bind
>>
>> INFO:
>>
>>
>> Jndi(name=global/openejb/openejb/User!org.apache.openejb.assembler.util.User)
>>
>> --> Ejb(deployment-id=openejb/User)
>>
>> Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
>>
>> bind
>>
>> INFO: Jndi(name=global/openejb/openejb/User) -->
>>
>> Ejb(deployment-id=openejb/User)
>>
>> Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
>>
>> bind
>>
>> INFO: Jndi(name=openejb/DeployerBusinessRemote) -->
>>
>> Ejb(deployment-id=openejb/Deployer)
>>
>> Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
>>
>> bind
>>
>> INFO:
>>
>>
>> Jndi(name=global/openejb/openejb/Deployer!org.apache.openejb.assembler.Deployer)
>>
>> --> Ejb(deployment-id=openejb/Deployer)
>>
>> Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
>>
>> bind
>>
>> INFO: Jndi(name=global/openejb/openejb/Deployer) -->
>>
>> Ejb(deployment-id=openejb/Deployer)
>>
>> Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
>>
>> bind
>>
>> INFO: Jndi(name=openejb/ConfigurationInfoBusinessRemote) -->
>>
>> Ejb(deployment-id=openejb/ConfigurationInfo)
>>
>> Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
>>
>> bind
>>
>> INFO:
>>
>>
>> Jndi(name=global/openejb/openejb/ConfigurationInfo!org.apache.openejb.assembler.classic.cmd.ConfigurationInfo)
>>
>> --> Ejb(deployment-id=openejb/ConfigurationInfo)
>>
>> Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
>>
>> bind
>>
>> INFO: Jndi(name=global/openejb/openejb/ConfigurationInfo) -->
>>
>> Ejb(deployment-id=openejb/ConfigurationInfo)
>>
>> Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
>>
>> bind
>>
>> INFO: Jndi(name=MEJB) --> Ejb(deployment-id=MEJB) Mar 21, 2013 2:11:53 PM
>> org.apache.openejb.assembler.classic.JndiBuilder
>>
>> bind
>>
>> INFO: Jndi(name=global/openejb/MEJB!javax.management.j2ee.ManagementHome)
>>
>> --> Ejb(deployment-id=MEJB)
>>
>> Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
>>
>> bind
>>
>> INFO: Jndi(name=global/openejb/MEJB) --> Ejb(deployment-id=MEJB) Mar 21,
>> 2013 2:11:53 PM org.apache.openejb.cdi.CdiBuilder initSingleton
>>
>> INFO: Existing thread singleton service in SystemInstance()
>> org.apache.openejb.cdi.ThreadSingletonServiceImpl@5cd6b35f <mailto:
>> org.apache.openejb.cdi.ThreadSingletonServiceImpl@5cd6b35f>
>>
>> Mar 21, 2013 2:11:53 PM org.apache.openejb.cdi.OpenEJBLifecycle
>>
>> startApplication
>>
>> INFO: OpenWebBeans Container is starting...
>>
>> Mar 21, 2013 2:11:53 PM org.apache.webbeans.plugins.PluginLoader startUp
>>
>> INFO: Adding OpenWebBeansPlugin : [CdiPlugin] Mar 21, 2013 2:11:53 PM
>> org.apache.webbeans.plugins.PluginLoader startUp
>>
>> INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin] Mar 21, 2013
>> 2:11:53 PM org.apache.openejb.cdi.BeansDeployer
>>
>> validateInjectionPoints
>>
>> INFO: All injection points are validated successfully.
>>
>> Mar 21, 2013 2:11:53 PM org.apache.openejb.cdi.OpenEJBLifecycle
>>
>> startApplication
>>
>> INFO: OpenWebBeans Container has started, it took 117 ms.
>>
>> Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.Assembler
>>
>> createApplication
>>
>> INFO: Created Ejb(deployment-id=openejb/Deployer,
>> ejb-name=openejb/Deployer, container=My Stateless Container) Mar 21, 2013
>> 2:11:53 PM org.apache.openejb.assembler.classic.Assembler
>>
>> createApplication
>>
>> INFO: Created Ejb(deployment-id=MEJB, ejb-name=MEJB, container=My
>> Stateless
>>
>> Container)
>>
>> Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.Assembler
>>
>> createApplication
>>
>> INFO: Created Ejb(deployment-id=openejb/ConfigurationInfo,
>>
>> ejb-name=openejb/ConfigurationInfo, container=My Stateless Container) Mar
>> 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.Assembler
>>
>> createApplication
>>
>> INFO: Created Ejb(deployment-id=openejb/User, ejb-name=openejb/User,
>> container=My Stateless Container) Mar 21, 2013 2:11:53 PM
>> org.apache.openejb.assembler.classic.Assembler
>>
>> createApplication
>>
>> INFO: Started Ejb(deployment-id=openejb/Deployer,
>> ejb-name=openejb/Deployer, container=My Stateless Container) Mar 21, 2013
>> 2:11:53 PM org.apache.openejb.assembler.classic.Assembler
>>
>> createApplication
>>
>> INFO: Started Ejb(deployment-id=MEJB, ejb-name=MEJB, container=My
>> Stateless
>>
>> Container)
>>
>> Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.Assembler
>>
>> createApplication
>>
>> INFO: Started Ejb(deployment-id=openejb/ConfigurationInfo,
>>
>> ejb-name=openejb/ConfigurationInfo, container=My Stateless Container) Mar
>> 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.Assembler
>>
>> createApplication
>>
>> INFO: Started Ejb(deployment-id=openejb/User, ejb-name=openejb/User,
>> container=My Stateless Container) Mar 21, 2013 2:11:53 PM
>> org.apache.openejb.assembler.classic.Assembler
>>
>> deployMBean
>>
>> INFO: Deployed
>>
>>
>> MBean(openejb.user.mbeans:application=openejb,group=org.apache.openejb.assembler.monitoring,name=JMXDeployer)
>>
>> Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.Assembler
>>
>> createApplication
>>
>> INFO: Deployed Application(path=openejb) Mar 21, 2013 2:11:53 PM
>> org.apache.openejb.util.OptionsLog info
>>
>> INFO: Using 'openejb.profile.custom=false'
>>
>> Mar 21, 2013 2:11:53 PM org.apache.openejb.server.ServiceManager
>> initServer
>>
>> INFO: Creating ServerService(id=cxf)
>>
>> Mar 21, 2013 2:11:53 PM org.apache.openejb.server.ServiceManager
>> initServer
>>
>> INFO: Creating ServerService(id=cxf-rs)
>>
>> Mar 21, 2013 2:11:53 PM org.apache.openejb.server.SimpleServiceManager
>> start
>>
>> INFO: Starting service cxf
>>
>> Mar 21, 2013 2:11:53 PM org.apache.openejb.server.SimpleServiceManager
>> start
>>
>> INFO: Started service cxf
>>
>> Mar 21, 2013 2:11:53 PM org.apache.openejb.server.SimpleServiceManager
>> start
>>
>> INFO: Starting service cxf-rs
>>
>> Mar 21, 2013 2:11:53 PM org.apache.openejb.server.SimpleServiceManager
>> start
>>
>> INFO: Started service cxf-rs
>>
>> Mar 21, 2013 2:11:53 PM org.apache.openejb.server.SimpleServiceManager
>> start
>>
>> INFO: ** Bound Services **
>>
>> Mar 21, 2013 2:11:53 PM org.apache.openejb.server.SimpleServiceManager
>>
>> printRow
>>
>> INFO: NAME IP PORT
>>
>> Mar 21, 2013 2:11:53 PM org.apache.openejb.server.SimpleServiceManager
>> start
>>
>> INFO: -------
>>
>> Mar 21, 2013 2:11:53 PM org.apache.openejb.server.SimpleServiceManager
>> start
>>
>> INFO: Ready!
>>
>> Mar 21, 2013 2:11:53 PM org.apache.catalina.startup.Catalina load
>>
>> INFO: Initialization processed in 4488 ms Mar 21, 2013 2:11:53 PM
>> org.apache.tomee.catalina.OpenEJBNamingContextListener bindResource
>>
>> INFO: Importing a Tomcat Resource with id 'UserDatabase' of type
>> 'org.apache.catalina.UserDatabase'.
>>
>> Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.Assembler
>>
>> createRecipe
>>
>> INFO: Creating Resource(id=UserDatabase) Mar 21, 2013 2:11:53 PM
>> org.apache.catalina.core.StandardService
>>
>> startInternal
>>
>> INFO: Starting service Catalina
>>
>> Mar 21, 2013 2:11:53 PM org.apache.catalina.core.StandardEngine
>>
>> startInternal
>>
>> INFO: Starting Servlet Engine: Apache Tomcat (TomEE)/7.0.34 Mar 21, 2013
>> 2:11:53 PM org.apache.catalina.startup.HostConfig deployWAR
>>
>> INFO: Deploying web application archive
>>
>>
>> /home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot.war
>>
>> Mar 21, 2013 2:11:53 PM org.apache.tomee.catalina.TomcatWebAppBuilder init
>>
>> INFO: -------------------------
>>
>> TomcatWebAppBuilder.init /omc-gui-1.0-snapshot Mar 21, 2013 2:11:54 PM
>> org.apache.openejb.util.JarExtractor extract
>>
>> INFO: Extracting jar:
>>
>>
>> /home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot.war
>>
>> Mar 21, 2013 2:11:54 PM org.apache.openejb.util.JarExtractor extract
>>
>> INFO: Extracted path:
>>
>>
>> /home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot
>>
>> Mar 21, 2013 2:11:54 PM org.apache.openejb.util.OptionsLog info
>>
>> INFO: Using
>>
>>
>> 'openejb.session.manager=org.apache.tomee.catalina.session.QuickSessionManager'
>>
>> Mar 21, 2013 2:11:54 PM org.apache.tomee.catalina.TomEEClassLoaderEnricher
>>
>> validateJarFile
>>
>> WARNING: jar
>>
>>
>> '/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot/WEB-INF/lib/javax.persistence-2.0.3.jar'
>>
>> contains offending class: javax.persistence.Entity. It will be ignored.
>>
>> Mar 21, 2013 2:11:56 PM org.apache.openejb.config.ConfigurationFactory
>>
>> configureApplication
>>
>> INFO: Configuring enterprise application:
>>
>>
>> /home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot
>>
>> Mar 21, 2013 2:11:58 PM org.apache.openejb.config.InitEjbDeployments
>> deploy
>>
>> INFO: Auto-deploying ejb UserProfileDao:
>>
>> EjbDeployment(deployment-id=UserProfileDao)
>>
>> Mar 21, 2013 2:11:58 PM org.apache.openejb.config.ConfigurationFactory
>>
>> configureService
>>
>> INFO: Configuring Service(id=Default Managed Container, type=Container,
>> provider-id=Default Managed Container) Mar 21, 2013 2:11:58 PM
>> org.apache.openejb.config.AutoConfig createContainer
>>
>> INFO: Auto-creating a container for bean
>> omc-gui-1.0-snapshot.Comp502210334:
>>
>> Container(type=MANAGED, id=Default Managed Container) Mar 21, 2013
>> 2:11:58 PM org.apache.openejb.assembler.classic.Assembler
>>
>> createRecipe
>>
>> INFO: Creating Container(id=Default Managed Container) Mar 21, 2013
>> 2:11:58 PM org.apache.openejb.core.managed.SimplePassivater
>>
>> init
>>
>> INFO: Using directory
>>
>> /home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/temp
>> for stateful session passivation Mar 21, 2013 2:11:58 PM
>> org.apache.openejb.config.AutoConfig deploy
>>
>> INFO: Configuring PersistenceUnit(name=aomdb_unit,
>>
>> provider=org.eclipse.persistence.jpa.PersistenceProvider)
>>
>> Mar 21, 2013 2:11:58 PM org.apache.openejb.config.AutoConfig
>>
>> setJtaDataSource
>>
>> INFO: Adjusting PersistenceUnit aomdb_unit <jta-data-source> to Resource
>> ID 'My DataSource' from 'postgresDatabase'
>>
>> Mar 21, 2013 2:11:58 PM org.apache.openejb.config.AutoConfig
>>
>> setNonJtaDataSource
>>
>> INFO: Adjusting PersistenceUnit aomdb_unit <non-jta-data-source> to
>> Resource ID 'My Unmanaged DataSource' from 'postgresDatabaseUnmanaged'
>>
>> Mar 21, 2013 2:11:58 PM org.apache.openejb.config.JndiEncInfoBuilder
>>
>> buildEjbRefs
>>
>> WARNING: Unresolved ejb reference
>>
>> "java:comp/env/com.altobridge.omc.gui.login.Authenticator/userDao" in
>> bean "omc-gui-1.0-snapshot.Comp". Will attempt resolution again at runtime.
>>
>> Mar 21, 2013 2:11:58 PM org.apache.openejb.config.JndiEncInfoBuilder
>>
>> buildEjbRefs
>>
>> WARNING: Unresolved ejb reference
>>
>> "java:comp/env/com.altobridge.omc.gui.login.Authenticator/userDao" in
>> bean "UserProfileDao". Will attempt resolution again at runtime.
>>
>> Mar 21, 2013 2:11:58 PM org.apache.openejb.config.JndiEncInfoBuilder
>>
>> buildEjbRefs
>>
>> WARNING: Unresolved ejb reference
>>
>> "java:comp/env/com.altobridge.omc.gui.login.Authenticator/userDao" in
>> bean
>> "/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot".
>>
>> Will attempt resolution again at runtime.
>>
>> Mar 21, 2013 2:11:58 PM org.apache.openejb.config.AppInfoBuilder build
>>
>> INFO: Enterprise application
>>
>>
>> "/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot"
>>
>> loaded.
>>
>> Mar 21, 2013 2:11:58 PM org.apache.openejb.assembler.classic.Assembler
>>
>> createApplication
>>
>> INFO: Assembling app:
>>
>>
>> /home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot
>>
>> Mar 21, 2013 2:11:59 PM
>>
>> org.apache.openejb.assembler.classic.PersistenceBuilder
>>
>> createEntityManagerFactory
>>
>> INFO: PersistenceUnit(name=aomdb_unit,
>>
>> provider=org.eclipse.persistence.jpa.PersistenceProvider) - provider time
>> 1002ms Mar 21, 2013 2:11:59 PM
>> org.apache.openejb.assembler.classic.JndiBuilder
>>
>> bind
>>
>> INFO: Jndi(name=UserProfileDaoLocal) -->
>> Ejb(deployment-id=UserProfileDao) Mar 21, 2013 2:12:00 PM
>> org.apache.openejb.assembler.classic.JndiBuilder
>>
>> bind
>>
>> INFO:
>>
>>
>> Jndi(name=global/omc-gui-1.0-snapshot/UserProfileDao!com.altobridge.omc.orm.dao.UserProfileDaoLocal)
>>
>> --> Ejb(deployment-id=UserProfileDao)
>>
>> Mar 21, 2013 2:12:00 PM org.apache.openejb.assembler.classic.JndiBuilder
>>
>> bind
>>
>> INFO: Jndi(name=global/omc-gui-1.0-snapshot/UserProfileDao) -->
>>
>> Ejb(deployment-id=UserProfileDao)
>>
>> Mar 21, 2013 2:12:00 PM org.apache.openejb.cdi.CdiBuilder initSingleton
>>
>> INFO: Existing thread singleton service in SystemInstance()
>> org.apache.openejb.cdi.ThreadSingletonServiceImpl@5cd6b35f <mailto:
>> org.apache.openejb.cdi.ThreadSingletonServiceImpl@5cd6b35f>
>>
>> Mar 21, 2013 2:12:00 PM org.apache.openejb.cdi.OpenEJBLifecycle
>>
>> startApplication
>>
>> INFO: OpenWebBeans Container is starting...
>>
>> Mar 21, 2013 2:12:00 PM org.apache.webbeans.plugins.PluginLoader startUp
>>
>> INFO: Adding OpenWebBeansPlugin : [CdiPlugin] Mar 21, 2013 2:12:00 PM
>> org.apache.webbeans.plugins.PluginLoader startUp
>>
>> INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin] Mar 21, 2013
>> 2:12:00 PM org.apache.openejb.cdi.BeansDeployer
>>
>> validateInjectionPoints
>>
>> INFO: All injection points are validated successfully.
>>
>> Mar 21, 2013 2:12:00 PM org.apache.openejb.cdi.OpenEJBLifecycle
>>
>> startApplication
>>
>> INFO: OpenWebBeans Container has started, it took 89 ms.
>>
>> Mar 21, 2013 2:12:00 PM org.apache.openejb.assembler.classic.Assembler
>>
>> createApplication
>>
>> INFO: Created Ejb(deployment-id=UserProfileDao, ejb-name=UserProfileDao,
>> container=My Stateless Container) Mar 21, 2013 2:12:00 PM
>> org.apache.openejb.assembler.classic.Assembler
>>
>> createApplication
>>
>> INFO: Started Ejb(deployment-id=UserProfileDao, ejb-name=UserProfileDao,
>> container=My Stateless Container) Mar 21, 2013 2:12:00 PM
>> org.apache.openejb.assembler.classic.Assembler
>>
>> createApplication
>>
>> INFO: Deployed
>>
>>
>> Application(path=/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot)
>>
>> Mar 21, 2013 2:12:03 PM
>>
>> org.apache.myfaces.config.DefaultFacesConfigurationProvider
>>
>> getStandardFacesConfig
>>
>> INFO: Reading standard config META-INF/standard-faces-config.xml
>>
>> Mar 21, 2013 2:12:03 PM
>>
>> org.apache.myfaces.config.DefaultFacesConfigurationProvider
>>
>> getWebAppFacesConfig
>>
>> INFO: Reading config /WEB-INF/faces-config.xml Mar 21, 2013 2:12:03 PM
>> org.apache.myfaces.config.DefaultFacesConfigurationProvider
>>
>> getClassloaderFacesConfig
>>
>> INFO: Reading config :
>>
>>
>> jar:file:/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/lib/openwebbeans-jsf-1.1.7.jar!/META-INF/faces-config.xml
>>
>> Mar 21, 2013 2:12:03 PM
>>
>> org.apache.myfaces.config.DefaultFacesConfigurationProvider
>>
>> getClassloaderFacesConfig
>>
>> INFO: Reading config :
>>
>>
>> jar:file:/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot/WEB-INF/lib/richfaces-core-impl-4.3.0.Final.jar!/META-INF/faces-config.xml
>>
>> Mar 21, 2013 2:12:03 PM
>>
>> org.apache.myfaces.config.DefaultFacesConfigurationProvider
>>
>> getClassloaderFacesConfig
>>
>> INFO: Reading config :
>>
>>
>> jar:file:/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot/WEB-INF/lib/richfaces-components-ui-4.3.0.Final.jar!/META-INF/faces-config.xml
>>
>> Mar 21, 2013 2:12:04 PM org.apache.myfaces.config.LogMetaInfUtils
>>
>> logArtifact
>>
>> INFO: Artifact 'myfaces-api' was found in version '2.1.10' from path
>> 'file:/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/lib/myfaces-api-2.1.10.jar'
>>
>> Mar 21, 2013 2:12:04 PM org.apache.myfaces.config.LogMetaInfUtils
>>
>> logArtifact
>>
>> INFO: Artifact 'myfaces-impl' was found in version '2.1.10' from path
>> 'file:/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/lib/myfaces-impl-2.1.10.jar'
>>
>> Mar 21, 2013 2:12:04 PM org.apache.myfaces.util.ExternalSpecifications
>>
>> isBeanValidationAvailable
>>
>> INFO: MyFaces Bean Validation support enabled Mar 21, 2013 2:12:04 PM
>> org.apache.myfaces.config.FacesConfigurator
>>
>> handleSerialFactory
>>
>> INFO: Serialization provider : class
>>
>> org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory
>>
>> Mar 21, 2013 2:12:04 PM
>>
>> org.apache.myfaces.config.annotation.DefaultLifecycleProviderFactory
>>
>> getLifecycleProvider
>>
>> INFO: Using LifecycleProvider
>>
>> org.apache.myfaces.config.annotation.Tomcat7AnnotationLifecycleProvider
>>
>> Mar 21, 2013 2:12:05 PM org.richfaces.javascript.ClientServiceConfigParser
>>
>> parse
>>
>> WARNING: Found JavaScript function definition for class
>> org.hibernate.validator.constraints.NotEmpty, but that class is not
>> presented Mar 21, 2013 2:12:05 PM org.richfaces.cache.CacheManager
>> getCacheFactory
>>
>> INFO: Selected fallback cache factory
>>
>> Mar 21, 2013 2:12:05 PM org.richfaces.cache.lru.LRUMapCacheFactory
>>
>> createCache
>>
>> INFO: Creating LRUMap cache instance using parameters:
>>
>> {javax.faces.PROJECT_STAGE=Development,
>>
>> org.apache.myfaces.LOG_WEB_CONTEXT_PARAMS=false}
>>
>> Mar 21, 2013 2:12:05 PM org.richfaces.cache.lru.LRUMapCacheFactory
>>
>> createCache
>>
>> INFO: Creating LRUMap cache instance of 512 items capacity Mar 21, 2013
>> 2:12:05 PM org.richfaces.application.InitializationListener
>>
>> onStart
>>
>> INFO: RichFaces Core Implementation by JBoss by Red Hat, version
>> 4.3.0.Final Mar 21, 2013 2:12:06 PM
>> org.richfaces.application.InitializationListener
>>
>> logWarningWhenConnectionFactoryPresent
>>
>> WARNING: JMS API was found on the classpath; if you want to enable
>> RichFaces Push JMS integration, set context-param
>> 'org.richfaces.push.jms.enabled' in web.xml Mar 21, 2013 2:12:06 PM
>> org.apache.myfaces.webapp.AbstractFacesInitializer
>>
>> initFaces
>>
>> INFO: ServletContext initialized.
>>
>> Mar 21, 2013 2:12:06 PM org.apache.myfaces.util.ExternalSpecifications
>>
>> isUnifiedELAvailable
>>
>> INFO: MyFaces Unified EL support enabled Mar 21, 2013 2:12:06 PM
>> org.apache.myfaces.webapp.AbstractFacesInitializer
>>
>> initFaces
>>
>> WARNING:
>>
>>
>>
>> *******************************************************************
>>
>> *** WARNING: Apache MyFaces-2 is running in DEVELOPMENT mode. ***
>>
>> *** ^^^^^^^^^^^ ***
>>
>> *** Do NOT deploy to your live server(s) without changing this. ***
>>
>> *** See Application#getProjectStage() for more information. ***
>>
>> *******************************************************************
>>
>>
>>
>> Mar 21, 2013 2:12:06 PM org.apache.catalina.startup.HostConfig
>>
>> deployDirectory
>>
>> INFO: Deploying web application directory
>> /home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/tomee
>>
>> Mar 21, 2013 2:12:06 PM org.apache.tomee.catalina.TomcatWebAppBuilder init
>>
>> INFO: -------------------------
>>
>> TomcatWebAppBuilder.init /tomee
>>
>> Mar 21, 2013 2:12:06 PM org.apache.openejb.util.OptionsLog info
>>
>> INFO: Using
>>
>>
>> 'openejb.session.manager=org.apache.tomee.catalina.session.QuickSessionManager'
>>
>> Mar 21, 2013 2:12:06 PM org.apache.openejb.config.ConfigurationFactory
>>
>> configureApplication
>>
>> INFO: Configuring enterprise application:
>>
>>
>> /home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/tomee
>>
>> Mar 21, 2013 2:12:06 PM org.apache.openejb.config.AppInfoBuilder build
>>
>> INFO: Enterprise application
>>
>>
>> "/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/tomee"
>>
>> loaded.
>>
>> Mar 21, 2013 2:12:06 PM org.apache.openejb.assembler.classic.Assembler
>>
>> createApplication
>>
>> INFO: Assembling app:
>>
>>
>> /home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/tomee
>>
>> Mar 21, 2013 2:12:06 PM org.apache.openejb.cdi.CdiBuilder initSingleton
>>
>> INFO: Existing thread singleton service in SystemInstance()
>> org.apache.openejb.cdi.ThreadSingletonServiceImpl@5cd6b35f <mailto:
>> org.apache.openejb.cdi.ThreadSingletonServiceImpl@5cd6b35f>
>>
>> Mar 21, 2013 2:12:06 PM org.apache.openejb.cdi.OpenEJBLifecycle
>>
>> startApplication
>>
>> INFO: OpenWebBeans Container is starting...
>>
>> Mar 21, 2013 2:12:06 PM org.apache.webbeans.plugins.PluginLoader startUp
>>
>> INFO: Adding OpenWebBeansPlugin : [CdiPlugin] Mar 21, 2013 2:12:06 PM
>> org.apache.webbeans.plugins.PluginLoader startUp
>>
>> INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin] Mar 21, 2013
>> 2:12:06 PM org.apache.openejb.cdi.BeansDeployer
>>
>> validateInjectionPoints
>>
>> INFO: All injection points are validated successfully.
>>
>> Mar 21, 2013 2:12:06 PM org.apache.openejb.cdi.OpenEJBLifecycle
>>
>> startApplication
>>
>> INFO: OpenWebBeans Container has started, it took 8 ms.
>>
>> Mar 21, 2013 2:12:06 PM org.apache.openejb.assembler.classic.Assembler
>>
>> createApplication
>>
>> INFO: Deployed
>>
>>
>> Application(path=/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/tomee)
>>
>> Mar 21, 2013 2:12:07 PM org.apache.coyote.AbstractProtocol start
>>
>> INFO: Starting ProtocolHandler ["http-bio-8080"] Mar 21, 2013 2:12:07 PM
>> org.apache.coyote.AbstractProtocol start
>>
>> INFO: Starting ProtocolHandler ["ajp-bio-8009"] Mar 21, 2013 2:12:07 PM
>> org.apache.catalina.startup.Catalina start
>>
>> INFO: Server startup in 13578 ms
>>
>>
>>
>> There is a couple of deployment warnings as
>>
>>
>>
>> WARNING: <Deployments dir="null"> - Does not exist:
>>
>> /home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/apps
>>
>> Mar 21, 2013 2:11:52 PM org.apache.openejb.util.OptionsLog info
>>
>>
>>
>> and this one
>>
>>
>>
>> WARNING: Unresolved ejb reference
>>
>> "java:comp/env/com.altobridge.omc.gui.login.Authenticator/userDao" in
>> bean "omc-gui-1.0-snapshot.Comp". Will attempt resolution again at runtime.
>>
>> Mar 21, 2013 2:11:58 PM org.apache.openejb.config.JndiEncInfoBuilder
>>
>> buildEjbRefs
>>
>> WARNING: Unresolved ejb reference
>>
>> "java:comp/env/com.altobridge.omc.gui.login.Authenticator/userDao" in
>> bean "UserProfileDao". Will attempt resolution again at runtime.
>>
>> Mar 21, 2013 2:11:58 PM org.apache.openejb.config.JndiEncInfoBuilder
>>
>> buildEjbRefs
>>
>> WARNING: Unresolved ejb reference
>>
>> "java:comp/env/com.altobridge.omc.gui.login.Authenticator/userDao" in
>> bean
>> "/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot".
>>
>> Will attempt resolution again at runtime.
>>
>>
>>
>> This say that the ejb reference is not there. So its not found.
>>
>> There is no ejb-jar.xml in the META-INF folder.
>>
>> Should I add an ejb-jar.xml with all the beans I'm including in the
>> library?
>>
>>
>>
>> Regards,
>>
>> Antonio
>>
>>
>>
>>
>>
>>
>>
>> --
>>
>> View this message in context:
>> http://openejb.979440.n4.nabble.com/Injection-data-not-found-in-JNDI-context-tp4661652p4661657.html<
>> http://openejb.979440.n4.nabble.com/Injection-data-not-found-in-JNDI-context-tp4661652p4661657.html
>> >
>>
>> Sent from the OpenEJB User mailing list archive at Nabble.com.
>>
>>
>
Re: AW: AW: Injection data not found in JNDI context
Posted by Romain Manni-Bucau <rm...@gmail.com>.
ejb-jar.xml is no more mandatory in a bunch of cases (war for instance)
*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*
2013/3/21 Thomas Herzog <t....@curecomp.com>
> I am working on webspehere without maven but an EJB module just needs to
> have an ejb-jar.xml and they beans are annotated with @Stateless,
> @Statefull,...
>
>
>
> ejb-jar.xml:
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <ejb-jar version="3.1" xmlns="http://java.sun.com/xml/ns/javaee"
>
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>
> xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
> http://java.sun.com/xml/ns/javaee/ejb-jar_3_1.xsd">
>
> <display-name>CarrierServiceImpl</display-name>
>
> </ejb-jar>
>
>
>
> With this the websphere knows that he has to search for ejb beans wihtin
> this jar.
>
> I guess this will fix your issue.
>
> Without ejb-jar.xml no beans will get deployed because not marked a s an
> ejb module and the server will not search for beans.
>
> Just a guess but try out to deploy it as a n ejb via maven (if a project)
> and if its is an jar in web-inf/lib then add the ejb-jar.xml
>
>
>
> Mit freundlichen Grüßen
>
>
>
> Thomas Herzog
>
> Softwareentwicklung
>
>
>
> curecomp Software Services GmbH
>
> Hafenstrasse 47-51
>
> 4020 Linz
>
>
>
> web: www.curecomp.com
>
> e-Mail: t.herzog@curecomp.com
>
> tel: +43 (0)732 9015-5563
>
> mobile: +43 (0)664 8867 9829
>
>
>
>
>
>
>
>
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Antonio [mailto:anttonijo20@gmail.com]
> Gesendet: Donnerstag, 21. März 2013 15:25
> An: users@openejb.apache.org
> Betreff: Re: AW: AW: Injection data not found in JNDI context
>
>
>
> Okey Now that you say that there is a couple of things that I didn't
> noticed about the deployment
>
>
>
> antonio@altodesk24: pts/6: 6 files 40Kb -> mvn install tomee:run [INFO]
> Scanning for projects...
>
> [INFO]
>
> [INFO]
>
> ------------------------------------------------------------------------
>
> [INFO] Building omc-gui 1.0-snapshot
>
> [INFO]
>
> ------------------------------------------------------------------------
>
> [INFO]
>
> [INFO] --- maven-dependency-plugin:2.1:copy (default) @ omc-gui --- [INFO]
> [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
> omc-gui --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to
> copy filtered resources.
>
> [INFO] Copying 1 resource
>
> [INFO]
>
> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ omc-gui
>
> ---
>
> [INFO] Compiling 1 source file to
>
> /home/antonio/builds/working_copy4/omc/omc-gui/target/classes
>
> [INFO]
>
> [INFO] --- maven-resources-plugin:2.5:testResources
> (default-testResources) @ omc-gui --- [debug] execute contextualize [INFO]
> Using 'UTF-8' encoding to copy filtered resources.
>
> [INFO] skip non existing resourceDirectory
> /home/antonio/builds/working_copy4/omc/omc-gui/src/test/resources
>
> [INFO]
>
> [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @
> omc-gui --- [INFO] No sources to compile [INFO] [INFO] ---
> maven-surefire-plugin:2.10:test (default-test) @ omc-gui --- [INFO] No
> tests to run.
>
> [INFO] Surefire report directory:
>
> /home/antonio/builds/working_copy4/omc/omc-gui/target/surefire-reports
>
>
>
> -------------------------------------------------------
>
> T E S T S
>
> -------------------------------------------------------
>
>
>
> Results :
>
>
>
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
>
>
>
> [INFO]
>
> [INFO] --- maven-war-plugin:2.1.1:war (default-war) @ omc-gui --- [INFO]
> Packaging webapp [INFO] Assembling webapp [omc-gui] in
> [/home/antonio/builds/working_copy4/omc/omc-gui/target/omc-gui-1.0-snapshot]
>
> [INFO] Processing war project
>
> [INFO] Copying webapp resources
>
> [/home/antonio/builds/working_copy4/omc/omc-gui/src/main/webapp]
>
> [INFO] Webapp assembled in [101 msecs]
>
> [INFO] Building war:
>
>
> /home/antonio/builds/working_copy4/omc/omc-gui/target/omc-gui-1.0-snapshot.war
>
> [INFO] WEB-INF/web.xml already added, skipping [INFO] [INFO] ---
> maven-install-plugin:2.3.1:install (default-install) @ omc-gui
>
> ---
>
> [INFO] Installing
>
>
> /home/antonio/builds/working_copy4/omc/omc-gui/target/omc-gui-1.0-snapshot.war
>
> to
>
>
> /home/antonio/.m2/repository/com/altobridge/omc-gui/1.0-snapshot/omc-gui-1.0-snapshot.war
>
> [INFO] Installing /home/antonio/builds/working_copy4/omc/omc-gui/pom.xml
> to
> /home/antonio/.m2/repository/com/altobridge/omc-gui/1.0-snapshot/omc-gui-1.0-snapshot.pom
>
> [INFO]
>
> [INFO] --- tomee-maven-plugin:1.0.1:run (default-cli) @ omc-gui --- [INFO]
> TomEE was unzipped in
> '/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee'
>
> [INFO] Removed not mandatory default webapps [INFO] Installed
> '/home/antonio/builds/working_copy4/omc/omc-gui/target/omc-gui-1.0-snapshot.war'
>
> in
>
>
> /home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot.war
>
> [INFO] Running 'run'. Configured TomEE in plugin is localhost:8080 (plugin
> shutdown port is 8005) Mar 21, 2013 2:11:50 PM
> org.apache.catalina.core.AprLifecycleListener init
>
> SEVERE: An incompatible version 1.1.23 of the APR based Apache Tomcat
> Native library is installed, while Tomcat requires version 1.1.24 Mar 21,
> 2013 2:11:50 PM org.apache.catalina.core.AprLifecycleListener init
>
> SEVERE: An incompatible version 1.1.23 of the APR based Apache Tomcat
> Native library is installed, while Tomcat requires version 1.1.24 Mar 21,
> 2013 2:11:50 PM org.apache.catalina.core.AprLifecycleListener init
>
> SEVERE: An incompatible version 1.1.23 of the APR based Apache Tomcat
> Native library is installed, while Tomcat requires version 1.1.24 Mar 21,
> 2013 2:11:50 PM org.apache.catalina.core.AprLifecycleListener init
>
> SEVERE: An incompatible version 1.1.23 of the APR based Apache Tomcat
> Native library is installed, while Tomcat requires version 1.1.24 Mar 21,
> 2013 2:11:50 PM org.apache.catalina.core.AprLifecycleListener init
>
> SEVERE: An incompatible version 1.1.23 of the APR based Apache Tomcat
> Native library is installed, while Tomcat requires version 1.1.24 Mar 21,
> 2013 2:11:50 PM org.apache.coyote.AbstractProtocol init
>
> INFO: Initializing ProtocolHandler ["http-bio-8080"] Mar 21, 2013 2:11:50
> PM org.apache.coyote.AbstractProtocol init
>
> INFO: Initializing ProtocolHandler ["ajp-bio-8009"] Mar 21, 2013 2:11:51
> PM org.apache.openejb.util.OptionsLog info
>
> INFO: Using
>
>
> 'openejb.jdbc.datasource-creator=org.apache.tomee.jdbc.TomEEDataSourceCreator'
>
> Mar 21, 2013 2:11:51 PM org.apache.openejb.OpenEJB$Instance <init>
>
> INFO:
>
>
> ********************************************************************************
>
> Mar 21, 2013 2:11:51 PM org.apache.openejb.OpenEJB$Instance <init>
>
> INFO: OpenEJB http://openejb.apache.org/ <http://openejb.apache.org/>
> Mar 21, 2013 2:11:51 PM org.apache.openejb.OpenEJB$Instance <init>
>
> INFO: Startup: Thu Mar 21 14:11:51 GMT 2013 Mar 21, 2013 2:11:51 PM
> org.apache.openejb.OpenEJB$Instance <init>
>
> INFO: Copyright 1999-2012 (C) Apache OpenEJB Project, All Rights Reserved.
>
> Mar 21, 2013 2:11:51 PM org.apache.openejb.OpenEJB$Instance <init>
>
> INFO: Version: 4.5.1
>
> Mar 21, 2013 2:11:51 PM org.apache.openejb.OpenEJB$Instance <init>
>
> INFO: Build date: 20121209
>
> Mar 21, 2013 2:11:51 PM org.apache.openejb.OpenEJB$Instance <init>
>
> INFO: Build time: 08:47
>
> Mar 21, 2013 2:11:51 PM org.apache.openejb.OpenEJB$Instance <init>
>
> INFO:
>
>
> ********************************************************************************
>
> Mar 21, 2013 2:11:51 PM org.apache.openejb.OpenEJB$Instance <init>
>
> INFO: openejb.home =
>
> /home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee
>
> Mar 21, 2013 2:11:51 PM org.apache.openejb.OpenEJB$Instance <init>
>
> INFO: openejb.base =
>
> /home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee
>
> Mar 21, 2013 2:11:51 PM org.apache.openejb.cdi.CdiBuilder initializeOWB
>
> INFO: Created new singletonService
>
> org.apache.openejb.cdi.ThreadSingletonServiceImpl@5cd6b35f <mailto:
> org.apache.openejb.cdi.ThreadSingletonServiceImpl@5cd6b35f>
>
> Mar 21, 2013 2:11:51 PM org.apache.openejb.cdi.CdiBuilder initializeOWB
>
> INFO: Succeeded in installing singleton service Mar 21, 2013 2:11:51 PM
> org.apache.openejb.config.ConfigurationFactory init
>
> INFO: openejb configuration file is
>
>
> '/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/conf/tomee.xml'
>
> Mar 21, 2013 2:11:52 PM org.apache.openejb.util.OptionsLog info
>
> INFO: Using 'openejb.provider.default=org.apache.tomee'
>
> Mar 21, 2013 2:11:52 PM org.apache.openejb.config.ConfigurationFactory
>
> configureService
>
> INFO: Configuring Service(id=Tomcat Security Service,
> type=SecurityService, provider-id=Tomcat Security Service) Mar 21, 2013
> 2:11:52 PM org.apache.openejb.config.ConfigurationFactory
>
> configureService
>
> INFO: Configuring Service(id=Default Transaction Manager,
> type=TransactionManager, provider-id=Default Transaction Manager) Mar 21,
> 2013 2:11:52 PM org.apache.openejb.config.ConfigurationFactory
>
> configureService
>
> INFO: Configuring Service(id=My DataSource, type=Resource,
> provider-id=Default JDBC Database) Mar 21, 2013 2:11:52 PM
> org.apache.openejb.config.ConfigurationFactory
>
> configureService
>
> INFO: Configuring Service(id=My Unmanaged DataSource, type=Resource,
> provider-id=Default JDBC Database) Mar 21, 2013 2:11:52 PM
> org.apache.openejb.config.ConfigurationFactory
>
> configureService
>
> INFO: Configuring Service(id=My Singleton Container, type=Container,
> provider-id=Default Singleton Container) Mar 21, 2013 2:11:52 PM
> org.apache.openejb.config.ConfigurationFactory
>
> configureService
>
> INFO: Configuring Service(id=My Stateful Container, type=Container,
> provider-id=Default Stateful Container) Mar 21, 2013 2:11:52 PM
> org.apache.openejb.config.ConfigurationFactory
>
> configureService
>
> INFO: Configuring Service(id=My Stateless Container, type=Container,
> provider-id=Default Stateless Container) Mar 21, 2013 2:11:52 PM
> org.apache.openejb.config.DeploymentsResolver
>
> loadFrom
>
> WARNING: <Deployments dir="null"> - Does not exist:
>
> /home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/apps
>
> Mar 21, 2013 2:11:52 PM org.apache.openejb.util.OptionsLog info
>
> INFO: Using 'openejb.system.apps=true'
>
> Mar 21, 2013 2:11:52 PM org.apache.openejb.config.ConfigurationFactory
>
> configureApplication
>
> INFO: Configuring enterprise application: null Mar 21, 2013 2:11:52 PM
> org.apache.openejb.config.InitEjbDeployments deploy
>
> INFO: Using openejb.deploymentId.format '{ejbName}'
>
> Mar 21, 2013 2:11:52 PM org.apache.openejb.config.InitEjbDeployments deploy
>
> INFO: Auto-deploying ejb openejb/User:
>
> EjbDeployment(deployment-id=openejb/User)
>
> Mar 21, 2013 2:11:52 PM org.apache.openejb.config.InitEjbDeployments deploy
>
> INFO: Auto-deploying ejb openejb/Deployer:
>
> EjbDeployment(deployment-id=openejb/Deployer)
>
> Mar 21, 2013 2:11:52 PM org.apache.openejb.config.InitEjbDeployments deploy
>
> INFO: Auto-deploying ejb openejb/ConfigurationInfo:
>
> EjbDeployment(deployment-id=openejb/ConfigurationInfo)
>
> Mar 21, 2013 2:11:52 PM org.apache.openejb.config.InitEjbDeployments deploy
>
> INFO: Auto-deploying ejb MEJB: EjbDeployment(deployment-id=MEJB) Mar 21,
> 2013 2:11:52 PM org.apache.openejb.config.AppInfoBuilder build
>
> INFO: Enterprise application "openejb" loaded.
>
> Mar 21, 2013 2:11:52 PM org.apache.openejb.assembler.classic.Assembler
>
> createRecipe
>
> INFO: Creating TransactionManager(id=Default Transaction Manager) Mar 21,
> 2013 2:11:52 PM org.apache.openejb.assembler.classic.Assembler
>
> createRecipe
>
> INFO: Creating SecurityService(id=Tomcat Security Service) Mar 21, 2013
> 2:11:52 PM org.apache.openejb.assembler.classic.Assembler
>
> createRecipe
>
> INFO: Creating Resource(id=My DataSource) Mar 21, 2013 2:11:52 PM
> org.apache.openejb.assembler.classic.Assembler
>
> createRecipe
>
> INFO: Creating Resource(id=My Unmanaged DataSource) Mar 21, 2013 2:11:52
> PM org.apache.openejb.assembler.classic.Assembler
>
> createRecipe
>
> INFO: Creating Container(id=My Singleton Container) Mar 21, 2013 2:11:52
> PM org.apache.openejb.assembler.classic.Assembler
>
> createRecipe
>
> INFO: Creating Container(id=My Stateful Container) Mar 21, 2013 2:11:52 PM
> org.apache.openejb.core.stateful.SimplePassivater
>
> init
>
> INFO: Using directory
>
> /home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/temp
> for stateful session passivation Mar 21, 2013 2:11:52 PM
> org.apache.openejb.assembler.classic.Assembler
>
> createRecipe
>
> INFO: Creating Container(id=My Stateless Container) Mar 21, 2013 2:11:52
> PM org.apache.openejb.assembler.classic.Assembler
>
> createApplication
>
> INFO: Assembling app: openejb
>
> Mar 21, 2013 2:11:53 PM org.apache.openejb.util.OptionsLog info
>
> INFO: Using
>
> 'openejb.jndiname.format={deploymentId}{interfaceType.openejbLegacyName}'
>
> Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
>
> bind
>
> INFO: Jndi(name=openejb/UserBusinessRemote) -->
>
> Ejb(deployment-id=openejb/User)
>
> Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
>
> bind
>
> INFO:
>
>
> Jndi(name=global/openejb/openejb/User!org.apache.openejb.assembler.util.User)
>
> --> Ejb(deployment-id=openejb/User)
>
> Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
>
> bind
>
> INFO: Jndi(name=global/openejb/openejb/User) -->
>
> Ejb(deployment-id=openejb/User)
>
> Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
>
> bind
>
> INFO: Jndi(name=openejb/DeployerBusinessRemote) -->
>
> Ejb(deployment-id=openejb/Deployer)
>
> Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
>
> bind
>
> INFO:
>
>
> Jndi(name=global/openejb/openejb/Deployer!org.apache.openejb.assembler.Deployer)
>
> --> Ejb(deployment-id=openejb/Deployer)
>
> Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
>
> bind
>
> INFO: Jndi(name=global/openejb/openejb/Deployer) -->
>
> Ejb(deployment-id=openejb/Deployer)
>
> Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
>
> bind
>
> INFO: Jndi(name=openejb/ConfigurationInfoBusinessRemote) -->
>
> Ejb(deployment-id=openejb/ConfigurationInfo)
>
> Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
>
> bind
>
> INFO:
>
>
> Jndi(name=global/openejb/openejb/ConfigurationInfo!org.apache.openejb.assembler.classic.cmd.ConfigurationInfo)
>
> --> Ejb(deployment-id=openejb/ConfigurationInfo)
>
> Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
>
> bind
>
> INFO: Jndi(name=global/openejb/openejb/ConfigurationInfo) -->
>
> Ejb(deployment-id=openejb/ConfigurationInfo)
>
> Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
>
> bind
>
> INFO: Jndi(name=MEJB) --> Ejb(deployment-id=MEJB) Mar 21, 2013 2:11:53 PM
> org.apache.openejb.assembler.classic.JndiBuilder
>
> bind
>
> INFO: Jndi(name=global/openejb/MEJB!javax.management.j2ee.ManagementHome)
>
> --> Ejb(deployment-id=MEJB)
>
> Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
>
> bind
>
> INFO: Jndi(name=global/openejb/MEJB) --> Ejb(deployment-id=MEJB) Mar 21,
> 2013 2:11:53 PM org.apache.openejb.cdi.CdiBuilder initSingleton
>
> INFO: Existing thread singleton service in SystemInstance()
> org.apache.openejb.cdi.ThreadSingletonServiceImpl@5cd6b35f <mailto:
> org.apache.openejb.cdi.ThreadSingletonServiceImpl@5cd6b35f>
>
> Mar 21, 2013 2:11:53 PM org.apache.openejb.cdi.OpenEJBLifecycle
>
> startApplication
>
> INFO: OpenWebBeans Container is starting...
>
> Mar 21, 2013 2:11:53 PM org.apache.webbeans.plugins.PluginLoader startUp
>
> INFO: Adding OpenWebBeansPlugin : [CdiPlugin] Mar 21, 2013 2:11:53 PM
> org.apache.webbeans.plugins.PluginLoader startUp
>
> INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin] Mar 21, 2013
> 2:11:53 PM org.apache.openejb.cdi.BeansDeployer
>
> validateInjectionPoints
>
> INFO: All injection points are validated successfully.
>
> Mar 21, 2013 2:11:53 PM org.apache.openejb.cdi.OpenEJBLifecycle
>
> startApplication
>
> INFO: OpenWebBeans Container has started, it took 117 ms.
>
> Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.Assembler
>
> createApplication
>
> INFO: Created Ejb(deployment-id=openejb/Deployer,
> ejb-name=openejb/Deployer, container=My Stateless Container) Mar 21, 2013
> 2:11:53 PM org.apache.openejb.assembler.classic.Assembler
>
> createApplication
>
> INFO: Created Ejb(deployment-id=MEJB, ejb-name=MEJB, container=My Stateless
>
> Container)
>
> Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.Assembler
>
> createApplication
>
> INFO: Created Ejb(deployment-id=openejb/ConfigurationInfo,
>
> ejb-name=openejb/ConfigurationInfo, container=My Stateless Container) Mar
> 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.Assembler
>
> createApplication
>
> INFO: Created Ejb(deployment-id=openejb/User, ejb-name=openejb/User,
> container=My Stateless Container) Mar 21, 2013 2:11:53 PM
> org.apache.openejb.assembler.classic.Assembler
>
> createApplication
>
> INFO: Started Ejb(deployment-id=openejb/Deployer,
> ejb-name=openejb/Deployer, container=My Stateless Container) Mar 21, 2013
> 2:11:53 PM org.apache.openejb.assembler.classic.Assembler
>
> createApplication
>
> INFO: Started Ejb(deployment-id=MEJB, ejb-name=MEJB, container=My Stateless
>
> Container)
>
> Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.Assembler
>
> createApplication
>
> INFO: Started Ejb(deployment-id=openejb/ConfigurationInfo,
>
> ejb-name=openejb/ConfigurationInfo, container=My Stateless Container) Mar
> 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.Assembler
>
> createApplication
>
> INFO: Started Ejb(deployment-id=openejb/User, ejb-name=openejb/User,
> container=My Stateless Container) Mar 21, 2013 2:11:53 PM
> org.apache.openejb.assembler.classic.Assembler
>
> deployMBean
>
> INFO: Deployed
>
>
> MBean(openejb.user.mbeans:application=openejb,group=org.apache.openejb.assembler.monitoring,name=JMXDeployer)
>
> Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.Assembler
>
> createApplication
>
> INFO: Deployed Application(path=openejb) Mar 21, 2013 2:11:53 PM
> org.apache.openejb.util.OptionsLog info
>
> INFO: Using 'openejb.profile.custom=false'
>
> Mar 21, 2013 2:11:53 PM org.apache.openejb.server.ServiceManager initServer
>
> INFO: Creating ServerService(id=cxf)
>
> Mar 21, 2013 2:11:53 PM org.apache.openejb.server.ServiceManager initServer
>
> INFO: Creating ServerService(id=cxf-rs)
>
> Mar 21, 2013 2:11:53 PM org.apache.openejb.server.SimpleServiceManager
> start
>
> INFO: Starting service cxf
>
> Mar 21, 2013 2:11:53 PM org.apache.openejb.server.SimpleServiceManager
> start
>
> INFO: Started service cxf
>
> Mar 21, 2013 2:11:53 PM org.apache.openejb.server.SimpleServiceManager
> start
>
> INFO: Starting service cxf-rs
>
> Mar 21, 2013 2:11:53 PM org.apache.openejb.server.SimpleServiceManager
> start
>
> INFO: Started service cxf-rs
>
> Mar 21, 2013 2:11:53 PM org.apache.openejb.server.SimpleServiceManager
> start
>
> INFO: ** Bound Services **
>
> Mar 21, 2013 2:11:53 PM org.apache.openejb.server.SimpleServiceManager
>
> printRow
>
> INFO: NAME IP PORT
>
> Mar 21, 2013 2:11:53 PM org.apache.openejb.server.SimpleServiceManager
> start
>
> INFO: -------
>
> Mar 21, 2013 2:11:53 PM org.apache.openejb.server.SimpleServiceManager
> start
>
> INFO: Ready!
>
> Mar 21, 2013 2:11:53 PM org.apache.catalina.startup.Catalina load
>
> INFO: Initialization processed in 4488 ms Mar 21, 2013 2:11:53 PM
> org.apache.tomee.catalina.OpenEJBNamingContextListener bindResource
>
> INFO: Importing a Tomcat Resource with id 'UserDatabase' of type
> 'org.apache.catalina.UserDatabase'.
>
> Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.Assembler
>
> createRecipe
>
> INFO: Creating Resource(id=UserDatabase) Mar 21, 2013 2:11:53 PM
> org.apache.catalina.core.StandardService
>
> startInternal
>
> INFO: Starting service Catalina
>
> Mar 21, 2013 2:11:53 PM org.apache.catalina.core.StandardEngine
>
> startInternal
>
> INFO: Starting Servlet Engine: Apache Tomcat (TomEE)/7.0.34 Mar 21, 2013
> 2:11:53 PM org.apache.catalina.startup.HostConfig deployWAR
>
> INFO: Deploying web application archive
>
>
> /home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot.war
>
> Mar 21, 2013 2:11:53 PM org.apache.tomee.catalina.TomcatWebAppBuilder init
>
> INFO: -------------------------
>
> TomcatWebAppBuilder.init /omc-gui-1.0-snapshot Mar 21, 2013 2:11:54 PM
> org.apache.openejb.util.JarExtractor extract
>
> INFO: Extracting jar:
>
>
> /home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot.war
>
> Mar 21, 2013 2:11:54 PM org.apache.openejb.util.JarExtractor extract
>
> INFO: Extracted path:
>
>
> /home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot
>
> Mar 21, 2013 2:11:54 PM org.apache.openejb.util.OptionsLog info
>
> INFO: Using
>
>
> 'openejb.session.manager=org.apache.tomee.catalina.session.QuickSessionManager'
>
> Mar 21, 2013 2:11:54 PM org.apache.tomee.catalina.TomEEClassLoaderEnricher
>
> validateJarFile
>
> WARNING: jar
>
>
> '/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot/WEB-INF/lib/javax.persistence-2.0.3.jar'
>
> contains offending class: javax.persistence.Entity. It will be ignored.
>
> Mar 21, 2013 2:11:56 PM org.apache.openejb.config.ConfigurationFactory
>
> configureApplication
>
> INFO: Configuring enterprise application:
>
>
> /home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot
>
> Mar 21, 2013 2:11:58 PM org.apache.openejb.config.InitEjbDeployments deploy
>
> INFO: Auto-deploying ejb UserProfileDao:
>
> EjbDeployment(deployment-id=UserProfileDao)
>
> Mar 21, 2013 2:11:58 PM org.apache.openejb.config.ConfigurationFactory
>
> configureService
>
> INFO: Configuring Service(id=Default Managed Container, type=Container,
> provider-id=Default Managed Container) Mar 21, 2013 2:11:58 PM
> org.apache.openejb.config.AutoConfig createContainer
>
> INFO: Auto-creating a container for bean
> omc-gui-1.0-snapshot.Comp502210334:
>
> Container(type=MANAGED, id=Default Managed Container) Mar 21, 2013 2:11:58
> PM org.apache.openejb.assembler.classic.Assembler
>
> createRecipe
>
> INFO: Creating Container(id=Default Managed Container) Mar 21, 2013
> 2:11:58 PM org.apache.openejb.core.managed.SimplePassivater
>
> init
>
> INFO: Using directory
>
> /home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/temp
> for stateful session passivation Mar 21, 2013 2:11:58 PM
> org.apache.openejb.config.AutoConfig deploy
>
> INFO: Configuring PersistenceUnit(name=aomdb_unit,
>
> provider=org.eclipse.persistence.jpa.PersistenceProvider)
>
> Mar 21, 2013 2:11:58 PM org.apache.openejb.config.AutoConfig
>
> setJtaDataSource
>
> INFO: Adjusting PersistenceUnit aomdb_unit <jta-data-source> to Resource
> ID 'My DataSource' from 'postgresDatabase'
>
> Mar 21, 2013 2:11:58 PM org.apache.openejb.config.AutoConfig
>
> setNonJtaDataSource
>
> INFO: Adjusting PersistenceUnit aomdb_unit <non-jta-data-source> to
> Resource ID 'My Unmanaged DataSource' from 'postgresDatabaseUnmanaged'
>
> Mar 21, 2013 2:11:58 PM org.apache.openejb.config.JndiEncInfoBuilder
>
> buildEjbRefs
>
> WARNING: Unresolved ejb reference
>
> "java:comp/env/com.altobridge.omc.gui.login.Authenticator/userDao" in bean
> "omc-gui-1.0-snapshot.Comp". Will attempt resolution again at runtime.
>
> Mar 21, 2013 2:11:58 PM org.apache.openejb.config.JndiEncInfoBuilder
>
> buildEjbRefs
>
> WARNING: Unresolved ejb reference
>
> "java:comp/env/com.altobridge.omc.gui.login.Authenticator/userDao" in bean
> "UserProfileDao". Will attempt resolution again at runtime.
>
> Mar 21, 2013 2:11:58 PM org.apache.openejb.config.JndiEncInfoBuilder
>
> buildEjbRefs
>
> WARNING: Unresolved ejb reference
>
> "java:comp/env/com.altobridge.omc.gui.login.Authenticator/userDao" in bean
> "/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot".
>
> Will attempt resolution again at runtime.
>
> Mar 21, 2013 2:11:58 PM org.apache.openejb.config.AppInfoBuilder build
>
> INFO: Enterprise application
>
>
> "/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot"
>
> loaded.
>
> Mar 21, 2013 2:11:58 PM org.apache.openejb.assembler.classic.Assembler
>
> createApplication
>
> INFO: Assembling app:
>
>
> /home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot
>
> Mar 21, 2013 2:11:59 PM
>
> org.apache.openejb.assembler.classic.PersistenceBuilder
>
> createEntityManagerFactory
>
> INFO: PersistenceUnit(name=aomdb_unit,
>
> provider=org.eclipse.persistence.jpa.PersistenceProvider) - provider time
> 1002ms Mar 21, 2013 2:11:59 PM
> org.apache.openejb.assembler.classic.JndiBuilder
>
> bind
>
> INFO: Jndi(name=UserProfileDaoLocal) --> Ejb(deployment-id=UserProfileDao)
> Mar 21, 2013 2:12:00 PM org.apache.openejb.assembler.classic.JndiBuilder
>
> bind
>
> INFO:
>
>
> Jndi(name=global/omc-gui-1.0-snapshot/UserProfileDao!com.altobridge.omc.orm.dao.UserProfileDaoLocal)
>
> --> Ejb(deployment-id=UserProfileDao)
>
> Mar 21, 2013 2:12:00 PM org.apache.openejb.assembler.classic.JndiBuilder
>
> bind
>
> INFO: Jndi(name=global/omc-gui-1.0-snapshot/UserProfileDao) -->
>
> Ejb(deployment-id=UserProfileDao)
>
> Mar 21, 2013 2:12:00 PM org.apache.openejb.cdi.CdiBuilder initSingleton
>
> INFO: Existing thread singleton service in SystemInstance()
> org.apache.openejb.cdi.ThreadSingletonServiceImpl@5cd6b35f <mailto:
> org.apache.openejb.cdi.ThreadSingletonServiceImpl@5cd6b35f>
>
> Mar 21, 2013 2:12:00 PM org.apache.openejb.cdi.OpenEJBLifecycle
>
> startApplication
>
> INFO: OpenWebBeans Container is starting...
>
> Mar 21, 2013 2:12:00 PM org.apache.webbeans.plugins.PluginLoader startUp
>
> INFO: Adding OpenWebBeansPlugin : [CdiPlugin] Mar 21, 2013 2:12:00 PM
> org.apache.webbeans.plugins.PluginLoader startUp
>
> INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin] Mar 21, 2013
> 2:12:00 PM org.apache.openejb.cdi.BeansDeployer
>
> validateInjectionPoints
>
> INFO: All injection points are validated successfully.
>
> Mar 21, 2013 2:12:00 PM org.apache.openejb.cdi.OpenEJBLifecycle
>
> startApplication
>
> INFO: OpenWebBeans Container has started, it took 89 ms.
>
> Mar 21, 2013 2:12:00 PM org.apache.openejb.assembler.classic.Assembler
>
> createApplication
>
> INFO: Created Ejb(deployment-id=UserProfileDao, ejb-name=UserProfileDao,
> container=My Stateless Container) Mar 21, 2013 2:12:00 PM
> org.apache.openejb.assembler.classic.Assembler
>
> createApplication
>
> INFO: Started Ejb(deployment-id=UserProfileDao, ejb-name=UserProfileDao,
> container=My Stateless Container) Mar 21, 2013 2:12:00 PM
> org.apache.openejb.assembler.classic.Assembler
>
> createApplication
>
> INFO: Deployed
>
>
> Application(path=/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot)
>
> Mar 21, 2013 2:12:03 PM
>
> org.apache.myfaces.config.DefaultFacesConfigurationProvider
>
> getStandardFacesConfig
>
> INFO: Reading standard config META-INF/standard-faces-config.xml
>
> Mar 21, 2013 2:12:03 PM
>
> org.apache.myfaces.config.DefaultFacesConfigurationProvider
>
> getWebAppFacesConfig
>
> INFO: Reading config /WEB-INF/faces-config.xml Mar 21, 2013 2:12:03 PM
> org.apache.myfaces.config.DefaultFacesConfigurationProvider
>
> getClassloaderFacesConfig
>
> INFO: Reading config :
>
>
> jar:file:/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/lib/openwebbeans-jsf-1.1.7.jar!/META-INF/faces-config.xml
>
> Mar 21, 2013 2:12:03 PM
>
> org.apache.myfaces.config.DefaultFacesConfigurationProvider
>
> getClassloaderFacesConfig
>
> INFO: Reading config :
>
>
> jar:file:/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot/WEB-INF/lib/richfaces-core-impl-4.3.0.Final.jar!/META-INF/faces-config.xml
>
> Mar 21, 2013 2:12:03 PM
>
> org.apache.myfaces.config.DefaultFacesConfigurationProvider
>
> getClassloaderFacesConfig
>
> INFO: Reading config :
>
>
> jar:file:/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot/WEB-INF/lib/richfaces-components-ui-4.3.0.Final.jar!/META-INF/faces-config.xml
>
> Mar 21, 2013 2:12:04 PM org.apache.myfaces.config.LogMetaInfUtils
>
> logArtifact
>
> INFO: Artifact 'myfaces-api' was found in version '2.1.10' from path
> 'file:/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/lib/myfaces-api-2.1.10.jar'
>
> Mar 21, 2013 2:12:04 PM org.apache.myfaces.config.LogMetaInfUtils
>
> logArtifact
>
> INFO: Artifact 'myfaces-impl' was found in version '2.1.10' from path
> 'file:/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/lib/myfaces-impl-2.1.10.jar'
>
> Mar 21, 2013 2:12:04 PM org.apache.myfaces.util.ExternalSpecifications
>
> isBeanValidationAvailable
>
> INFO: MyFaces Bean Validation support enabled Mar 21, 2013 2:12:04 PM
> org.apache.myfaces.config.FacesConfigurator
>
> handleSerialFactory
>
> INFO: Serialization provider : class
>
> org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory
>
> Mar 21, 2013 2:12:04 PM
>
> org.apache.myfaces.config.annotation.DefaultLifecycleProviderFactory
>
> getLifecycleProvider
>
> INFO: Using LifecycleProvider
>
> org.apache.myfaces.config.annotation.Tomcat7AnnotationLifecycleProvider
>
> Mar 21, 2013 2:12:05 PM org.richfaces.javascript.ClientServiceConfigParser
>
> parse
>
> WARNING: Found JavaScript function definition for class
> org.hibernate.validator.constraints.NotEmpty, but that class is not
> presented Mar 21, 2013 2:12:05 PM org.richfaces.cache.CacheManager
> getCacheFactory
>
> INFO: Selected fallback cache factory
>
> Mar 21, 2013 2:12:05 PM org.richfaces.cache.lru.LRUMapCacheFactory
>
> createCache
>
> INFO: Creating LRUMap cache instance using parameters:
>
> {javax.faces.PROJECT_STAGE=Development,
>
> org.apache.myfaces.LOG_WEB_CONTEXT_PARAMS=false}
>
> Mar 21, 2013 2:12:05 PM org.richfaces.cache.lru.LRUMapCacheFactory
>
> createCache
>
> INFO: Creating LRUMap cache instance of 512 items capacity Mar 21, 2013
> 2:12:05 PM org.richfaces.application.InitializationListener
>
> onStart
>
> INFO: RichFaces Core Implementation by JBoss by Red Hat, version
> 4.3.0.Final Mar 21, 2013 2:12:06 PM
> org.richfaces.application.InitializationListener
>
> logWarningWhenConnectionFactoryPresent
>
> WARNING: JMS API was found on the classpath; if you want to enable
> RichFaces Push JMS integration, set context-param
> 'org.richfaces.push.jms.enabled' in web.xml Mar 21, 2013 2:12:06 PM
> org.apache.myfaces.webapp.AbstractFacesInitializer
>
> initFaces
>
> INFO: ServletContext initialized.
>
> Mar 21, 2013 2:12:06 PM org.apache.myfaces.util.ExternalSpecifications
>
> isUnifiedELAvailable
>
> INFO: MyFaces Unified EL support enabled Mar 21, 2013 2:12:06 PM
> org.apache.myfaces.webapp.AbstractFacesInitializer
>
> initFaces
>
> WARNING:
>
>
>
> *******************************************************************
>
> *** WARNING: Apache MyFaces-2 is running in DEVELOPMENT mode. ***
>
> *** ^^^^^^^^^^^ ***
>
> *** Do NOT deploy to your live server(s) without changing this. ***
>
> *** See Application#getProjectStage() for more information. ***
>
> *******************************************************************
>
>
>
> Mar 21, 2013 2:12:06 PM org.apache.catalina.startup.HostConfig
>
> deployDirectory
>
> INFO: Deploying web application directory
> /home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/tomee
>
> Mar 21, 2013 2:12:06 PM org.apache.tomee.catalina.TomcatWebAppBuilder init
>
> INFO: -------------------------
>
> TomcatWebAppBuilder.init /tomee
>
> Mar 21, 2013 2:12:06 PM org.apache.openejb.util.OptionsLog info
>
> INFO: Using
>
>
> 'openejb.session.manager=org.apache.tomee.catalina.session.QuickSessionManager'
>
> Mar 21, 2013 2:12:06 PM org.apache.openejb.config.ConfigurationFactory
>
> configureApplication
>
> INFO: Configuring enterprise application:
>
>
> /home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/tomee
>
> Mar 21, 2013 2:12:06 PM org.apache.openejb.config.AppInfoBuilder build
>
> INFO: Enterprise application
>
>
> "/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/tomee"
>
> loaded.
>
> Mar 21, 2013 2:12:06 PM org.apache.openejb.assembler.classic.Assembler
>
> createApplication
>
> INFO: Assembling app:
>
>
> /home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/tomee
>
> Mar 21, 2013 2:12:06 PM org.apache.openejb.cdi.CdiBuilder initSingleton
>
> INFO: Existing thread singleton service in SystemInstance()
> org.apache.openejb.cdi.ThreadSingletonServiceImpl@5cd6b35f <mailto:
> org.apache.openejb.cdi.ThreadSingletonServiceImpl@5cd6b35f>
>
> Mar 21, 2013 2:12:06 PM org.apache.openejb.cdi.OpenEJBLifecycle
>
> startApplication
>
> INFO: OpenWebBeans Container is starting...
>
> Mar 21, 2013 2:12:06 PM org.apache.webbeans.plugins.PluginLoader startUp
>
> INFO: Adding OpenWebBeansPlugin : [CdiPlugin] Mar 21, 2013 2:12:06 PM
> org.apache.webbeans.plugins.PluginLoader startUp
>
> INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin] Mar 21, 2013
> 2:12:06 PM org.apache.openejb.cdi.BeansDeployer
>
> validateInjectionPoints
>
> INFO: All injection points are validated successfully.
>
> Mar 21, 2013 2:12:06 PM org.apache.openejb.cdi.OpenEJBLifecycle
>
> startApplication
>
> INFO: OpenWebBeans Container has started, it took 8 ms.
>
> Mar 21, 2013 2:12:06 PM org.apache.openejb.assembler.classic.Assembler
>
> createApplication
>
> INFO: Deployed
>
>
> Application(path=/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/tomee)
>
> Mar 21, 2013 2:12:07 PM org.apache.coyote.AbstractProtocol start
>
> INFO: Starting ProtocolHandler ["http-bio-8080"] Mar 21, 2013 2:12:07 PM
> org.apache.coyote.AbstractProtocol start
>
> INFO: Starting ProtocolHandler ["ajp-bio-8009"] Mar 21, 2013 2:12:07 PM
> org.apache.catalina.startup.Catalina start
>
> INFO: Server startup in 13578 ms
>
>
>
> There is a couple of deployment warnings as
>
>
>
> WARNING: <Deployments dir="null"> - Does not exist:
>
> /home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/apps
>
> Mar 21, 2013 2:11:52 PM org.apache.openejb.util.OptionsLog info
>
>
>
> and this one
>
>
>
> WARNING: Unresolved ejb reference
>
> "java:comp/env/com.altobridge.omc.gui.login.Authenticator/userDao" in bean
> "omc-gui-1.0-snapshot.Comp". Will attempt resolution again at runtime.
>
> Mar 21, 2013 2:11:58 PM org.apache.openejb.config.JndiEncInfoBuilder
>
> buildEjbRefs
>
> WARNING: Unresolved ejb reference
>
> "java:comp/env/com.altobridge.omc.gui.login.Authenticator/userDao" in bean
> "UserProfileDao". Will attempt resolution again at runtime.
>
> Mar 21, 2013 2:11:58 PM org.apache.openejb.config.JndiEncInfoBuilder
>
> buildEjbRefs
>
> WARNING: Unresolved ejb reference
>
> "java:comp/env/com.altobridge.omc.gui.login.Authenticator/userDao" in bean
> "/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot".
>
> Will attempt resolution again at runtime.
>
>
>
> This say that the ejb reference is not there. So its not found.
>
> There is no ejb-jar.xml in the META-INF folder.
>
> Should I add an ejb-jar.xml with all the beans I'm including in the
> library?
>
>
>
> Regards,
>
> Antonio
>
>
>
>
>
>
>
> --
>
> View this message in context:
> http://openejb.979440.n4.nabble.com/Injection-data-not-found-in-JNDI-context-tp4661652p4661657.html<
> http://openejb.979440.n4.nabble.com/Injection-data-not-found-in-JNDI-context-tp4661652p4661657.html
> >
>
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>
>
AW: AW: AW: Injection data not found in JNDI context
Posted by Thomas Herzog <t....@curecomp.com>.
I am working on webspehere without maven but an EJB module just needs to have an ejb-jar.xml and they beans are annotated with @Stateless, @Statefull,...
ejb-jar.xml:
<?xml version="1.0" encoding="UTF-8"?>
<ejb-jar version="3.1" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_1.xsd">
<display-name>CarrierServiceImpl</display-name>
</ejb-jar>
With this the websphere knows that he has to search for ejb beans wihtin this jar.
I guess this will fix your issue.
Without ejb-jar.xml no beans will get deployed because not marked a s an ejb module and the server will not search for beans.
Just a guess but try out to deploy it as a n ejb via maven (if a project) and if its is an jar in web-inf/lib then add the ejb-jar.xml
Mit freundlichen Grüßen
Thomas Herzog
Softwareentwicklung
curecomp Software Services GmbH
Hafenstrasse 47-51
4020 Linz
web: www.curecomp.com
e-Mail: t.herzog@curecomp.com
tel: +43 (0)732 9015-5563
mobile: +43 (0)664 8867 9829
-----Ursprüngliche Nachricht-----
Von: Antonio [mailto:anttonijo20@gmail.com]
Gesendet: Donnerstag, 21. März 2013 15:25
An: users@openejb.apache.org
Betreff: Re: AW: AW: Injection data not found in JNDI context
Okey Now that you say that there is a couple of things that I didn't noticed about the deployment
antonio@altodesk24: pts/6: 6 files 40Kb -> mvn install tomee:run [INFO] Scanning for projects...
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building omc-gui 1.0-snapshot
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:2.1:copy (default) @ omc-gui --- [INFO] [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ omc-gui --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ omc-gui
---
[INFO] Compiling 1 source file to
/home/antonio/builds/working_copy4/omc/omc-gui/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ omc-gui --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/antonio/builds/working_copy4/omc/omc-gui/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ omc-gui --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.10:test (default-test) @ omc-gui --- [INFO] No tests to run.
[INFO] Surefire report directory:
/home/antonio/builds/working_copy4/omc/omc-gui/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- maven-war-plugin:2.1.1:war (default-war) @ omc-gui --- [INFO] Packaging webapp [INFO] Assembling webapp [omc-gui] in [/home/antonio/builds/working_copy4/omc/omc-gui/target/omc-gui-1.0-snapshot]
[INFO] Processing war project
[INFO] Copying webapp resources
[/home/antonio/builds/working_copy4/omc/omc-gui/src/main/webapp]
[INFO] Webapp assembled in [101 msecs]
[INFO] Building war:
/home/antonio/builds/working_copy4/omc/omc-gui/target/omc-gui-1.0-snapshot.war
[INFO] WEB-INF/web.xml already added, skipping [INFO] [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ omc-gui
---
[INFO] Installing
/home/antonio/builds/working_copy4/omc/omc-gui/target/omc-gui-1.0-snapshot.war
to
/home/antonio/.m2/repository/com/altobridge/omc-gui/1.0-snapshot/omc-gui-1.0-snapshot.war
[INFO] Installing /home/antonio/builds/working_copy4/omc/omc-gui/pom.xml to /home/antonio/.m2/repository/com/altobridge/omc-gui/1.0-snapshot/omc-gui-1.0-snapshot.pom
[INFO]
[INFO] --- tomee-maven-plugin:1.0.1:run (default-cli) @ omc-gui --- [INFO] TomEE was unzipped in '/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee'
[INFO] Removed not mandatory default webapps [INFO] Installed '/home/antonio/builds/working_copy4/omc/omc-gui/target/omc-gui-1.0-snapshot.war'
in
/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot.war
[INFO] Running 'run'. Configured TomEE in plugin is localhost:8080 (plugin shutdown port is 8005) Mar 21, 2013 2:11:50 PM org.apache.catalina.core.AprLifecycleListener init
SEVERE: An incompatible version 1.1.23 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.24 Mar 21, 2013 2:11:50 PM org.apache.catalina.core.AprLifecycleListener init
SEVERE: An incompatible version 1.1.23 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.24 Mar 21, 2013 2:11:50 PM org.apache.catalina.core.AprLifecycleListener init
SEVERE: An incompatible version 1.1.23 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.24 Mar 21, 2013 2:11:50 PM org.apache.catalina.core.AprLifecycleListener init
SEVERE: An incompatible version 1.1.23 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.24 Mar 21, 2013 2:11:50 PM org.apache.catalina.core.AprLifecycleListener init
SEVERE: An incompatible version 1.1.23 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.24 Mar 21, 2013 2:11:50 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"] Mar 21, 2013 2:11:50 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"] Mar 21, 2013 2:11:51 PM org.apache.openejb.util.OptionsLog info
INFO: Using
'openejb.jdbc.datasource-creator=org.apache.tomee.jdbc.TomEEDataSourceCreator'
Mar 21, 2013 2:11:51 PM org.apache.openejb.OpenEJB$Instance <init>
INFO:
********************************************************************************
Mar 21, 2013 2:11:51 PM org.apache.openejb.OpenEJB$Instance <init>
INFO: OpenEJB http://openejb.apache.org/ <http://openejb.apache.org/> Mar 21, 2013 2:11:51 PM org.apache.openejb.OpenEJB$Instance <init>
INFO: Startup: Thu Mar 21 14:11:51 GMT 2013 Mar 21, 2013 2:11:51 PM org.apache.openejb.OpenEJB$Instance <init>
INFO: Copyright 1999-2012 (C) Apache OpenEJB Project, All Rights Reserved.
Mar 21, 2013 2:11:51 PM org.apache.openejb.OpenEJB$Instance <init>
INFO: Version: 4.5.1
Mar 21, 2013 2:11:51 PM org.apache.openejb.OpenEJB$Instance <init>
INFO: Build date: 20121209
Mar 21, 2013 2:11:51 PM org.apache.openejb.OpenEJB$Instance <init>
INFO: Build time: 08:47
Mar 21, 2013 2:11:51 PM org.apache.openejb.OpenEJB$Instance <init>
INFO:
********************************************************************************
Mar 21, 2013 2:11:51 PM org.apache.openejb.OpenEJB$Instance <init>
INFO: openejb.home =
/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee
Mar 21, 2013 2:11:51 PM org.apache.openejb.OpenEJB$Instance <init>
INFO: openejb.base =
/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee
Mar 21, 2013 2:11:51 PM org.apache.openejb.cdi.CdiBuilder initializeOWB
INFO: Created new singletonService
org.apache.openejb.cdi.ThreadSingletonServiceImpl@5cd6b35f <ma...@5cd6b35f>
Mar 21, 2013 2:11:51 PM org.apache.openejb.cdi.CdiBuilder initializeOWB
INFO: Succeeded in installing singleton service Mar 21, 2013 2:11:51 PM org.apache.openejb.config.ConfigurationFactory init
INFO: openejb configuration file is
'/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/conf/tomee.xml'
Mar 21, 2013 2:11:52 PM org.apache.openejb.util.OptionsLog info
INFO: Using 'openejb.provider.default=org.apache.tomee'
Mar 21, 2013 2:11:52 PM org.apache.openejb.config.ConfigurationFactory
configureService
INFO: Configuring Service(id=Tomcat Security Service, type=SecurityService, provider-id=Tomcat Security Service) Mar 21, 2013 2:11:52 PM org.apache.openejb.config.ConfigurationFactory
configureService
INFO: Configuring Service(id=Default Transaction Manager, type=TransactionManager, provider-id=Default Transaction Manager) Mar 21, 2013 2:11:52 PM org.apache.openejb.config.ConfigurationFactory
configureService
INFO: Configuring Service(id=My DataSource, type=Resource, provider-id=Default JDBC Database) Mar 21, 2013 2:11:52 PM org.apache.openejb.config.ConfigurationFactory
configureService
INFO: Configuring Service(id=My Unmanaged DataSource, type=Resource, provider-id=Default JDBC Database) Mar 21, 2013 2:11:52 PM org.apache.openejb.config.ConfigurationFactory
configureService
INFO: Configuring Service(id=My Singleton Container, type=Container, provider-id=Default Singleton Container) Mar 21, 2013 2:11:52 PM org.apache.openejb.config.ConfigurationFactory
configureService
INFO: Configuring Service(id=My Stateful Container, type=Container, provider-id=Default Stateful Container) Mar 21, 2013 2:11:52 PM org.apache.openejb.config.ConfigurationFactory
configureService
INFO: Configuring Service(id=My Stateless Container, type=Container, provider-id=Default Stateless Container) Mar 21, 2013 2:11:52 PM org.apache.openejb.config.DeploymentsResolver
loadFrom
WARNING: <Deployments dir="null"> - Does not exist:
/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/apps
Mar 21, 2013 2:11:52 PM org.apache.openejb.util.OptionsLog info
INFO: Using 'openejb.system.apps=true'
Mar 21, 2013 2:11:52 PM org.apache.openejb.config.ConfigurationFactory
configureApplication
INFO: Configuring enterprise application: null Mar 21, 2013 2:11:52 PM org.apache.openejb.config.InitEjbDeployments deploy
INFO: Using openejb.deploymentId.format '{ejbName}'
Mar 21, 2013 2:11:52 PM org.apache.openejb.config.InitEjbDeployments deploy
INFO: Auto-deploying ejb openejb/User:
EjbDeployment(deployment-id=openejb/User)
Mar 21, 2013 2:11:52 PM org.apache.openejb.config.InitEjbDeployments deploy
INFO: Auto-deploying ejb openejb/Deployer:
EjbDeployment(deployment-id=openejb/Deployer)
Mar 21, 2013 2:11:52 PM org.apache.openejb.config.InitEjbDeployments deploy
INFO: Auto-deploying ejb openejb/ConfigurationInfo:
EjbDeployment(deployment-id=openejb/ConfigurationInfo)
Mar 21, 2013 2:11:52 PM org.apache.openejb.config.InitEjbDeployments deploy
INFO: Auto-deploying ejb MEJB: EjbDeployment(deployment-id=MEJB) Mar 21, 2013 2:11:52 PM org.apache.openejb.config.AppInfoBuilder build
INFO: Enterprise application "openejb" loaded.
Mar 21, 2013 2:11:52 PM org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating TransactionManager(id=Default Transaction Manager) Mar 21, 2013 2:11:52 PM org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating SecurityService(id=Tomcat Security Service) Mar 21, 2013 2:11:52 PM org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating Resource(id=My DataSource) Mar 21, 2013 2:11:52 PM org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating Resource(id=My Unmanaged DataSource) Mar 21, 2013 2:11:52 PM org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating Container(id=My Singleton Container) Mar 21, 2013 2:11:52 PM org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating Container(id=My Stateful Container) Mar 21, 2013 2:11:52 PM org.apache.openejb.core.stateful.SimplePassivater
init
INFO: Using directory
/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/temp for stateful session passivation Mar 21, 2013 2:11:52 PM org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating Container(id=My Stateless Container) Mar 21, 2013 2:11:52 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Assembling app: openejb
Mar 21, 2013 2:11:53 PM org.apache.openejb.util.OptionsLog info
INFO: Using
'openejb.jndiname.format={deploymentId}{interfaceType.openejbLegacyName}'
Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=openejb/UserBusinessRemote) -->
Ejb(deployment-id=openejb/User)
Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO:
Jndi(name=global/openejb/openejb/User!org.apache.openejb.assembler.util.User)
--> Ejb(deployment-id=openejb/User)
Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=global/openejb/openejb/User) -->
Ejb(deployment-id=openejb/User)
Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=openejb/DeployerBusinessRemote) -->
Ejb(deployment-id=openejb/Deployer)
Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO:
Jndi(name=global/openejb/openejb/Deployer!org.apache.openejb.assembler.Deployer)
--> Ejb(deployment-id=openejb/Deployer)
Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=global/openejb/openejb/Deployer) -->
Ejb(deployment-id=openejb/Deployer)
Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=openejb/ConfigurationInfoBusinessRemote) -->
Ejb(deployment-id=openejb/ConfigurationInfo)
Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO:
Jndi(name=global/openejb/openejb/ConfigurationInfo!org.apache.openejb.assembler.classic.cmd.ConfigurationInfo)
--> Ejb(deployment-id=openejb/ConfigurationInfo)
Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=global/openejb/openejb/ConfigurationInfo) -->
Ejb(deployment-id=openejb/ConfigurationInfo)
Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=MEJB) --> Ejb(deployment-id=MEJB) Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=global/openejb/MEJB!javax.management.j2ee.ManagementHome)
--> Ejb(deployment-id=MEJB)
Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=global/openejb/MEJB) --> Ejb(deployment-id=MEJB) Mar 21, 2013 2:11:53 PM org.apache.openejb.cdi.CdiBuilder initSingleton
INFO: Existing thread singleton service in SystemInstance() org.apache.openejb.cdi.ThreadSingletonServiceImpl@5cd6b35f <ma...@5cd6b35f>
Mar 21, 2013 2:11:53 PM org.apache.openejb.cdi.OpenEJBLifecycle
startApplication
INFO: OpenWebBeans Container is starting...
Mar 21, 2013 2:11:53 PM org.apache.webbeans.plugins.PluginLoader startUp
INFO: Adding OpenWebBeansPlugin : [CdiPlugin] Mar 21, 2013 2:11:53 PM org.apache.webbeans.plugins.PluginLoader startUp
INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin] Mar 21, 2013 2:11:53 PM org.apache.openejb.cdi.BeansDeployer
validateInjectionPoints
INFO: All injection points are validated successfully.
Mar 21, 2013 2:11:53 PM org.apache.openejb.cdi.OpenEJBLifecycle
startApplication
INFO: OpenWebBeans Container has started, it took 117 ms.
Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Created Ejb(deployment-id=openejb/Deployer, ejb-name=openejb/Deployer, container=My Stateless Container) Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Created Ejb(deployment-id=MEJB, ejb-name=MEJB, container=My Stateless
Container)
Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Created Ejb(deployment-id=openejb/ConfigurationInfo,
ejb-name=openejb/ConfigurationInfo, container=My Stateless Container) Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Created Ejb(deployment-id=openejb/User, ejb-name=openejb/User, container=My Stateless Container) Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Started Ejb(deployment-id=openejb/Deployer, ejb-name=openejb/Deployer, container=My Stateless Container) Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Started Ejb(deployment-id=MEJB, ejb-name=MEJB, container=My Stateless
Container)
Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Started Ejb(deployment-id=openejb/ConfigurationInfo,
ejb-name=openejb/ConfigurationInfo, container=My Stateless Container) Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Started Ejb(deployment-id=openejb/User, ejb-name=openejb/User, container=My Stateless Container) Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.Assembler
deployMBean
INFO: Deployed
MBean(openejb.user.mbeans:application=openejb,group=org.apache.openejb.assembler.monitoring,name=JMXDeployer)
Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Deployed Application(path=openejb) Mar 21, 2013 2:11:53 PM org.apache.openejb.util.OptionsLog info
INFO: Using 'openejb.profile.custom=false'
Mar 21, 2013 2:11:53 PM org.apache.openejb.server.ServiceManager initServer
INFO: Creating ServerService(id=cxf)
Mar 21, 2013 2:11:53 PM org.apache.openejb.server.ServiceManager initServer
INFO: Creating ServerService(id=cxf-rs)
Mar 21, 2013 2:11:53 PM org.apache.openejb.server.SimpleServiceManager start
INFO: Starting service cxf
Mar 21, 2013 2:11:53 PM org.apache.openejb.server.SimpleServiceManager start
INFO: Started service cxf
Mar 21, 2013 2:11:53 PM org.apache.openejb.server.SimpleServiceManager start
INFO: Starting service cxf-rs
Mar 21, 2013 2:11:53 PM org.apache.openejb.server.SimpleServiceManager start
INFO: Started service cxf-rs
Mar 21, 2013 2:11:53 PM org.apache.openejb.server.SimpleServiceManager start
INFO: ** Bound Services **
Mar 21, 2013 2:11:53 PM org.apache.openejb.server.SimpleServiceManager
printRow
INFO: NAME IP PORT
Mar 21, 2013 2:11:53 PM org.apache.openejb.server.SimpleServiceManager start
INFO: -------
Mar 21, 2013 2:11:53 PM org.apache.openejb.server.SimpleServiceManager start
INFO: Ready!
Mar 21, 2013 2:11:53 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 4488 ms Mar 21, 2013 2:11:53 PM org.apache.tomee.catalina.OpenEJBNamingContextListener bindResource
INFO: Importing a Tomcat Resource with id 'UserDatabase' of type 'org.apache.catalina.UserDatabase'.
Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating Resource(id=UserDatabase) Mar 21, 2013 2:11:53 PM org.apache.catalina.core.StandardService
startInternal
INFO: Starting service Catalina
Mar 21, 2013 2:11:53 PM org.apache.catalina.core.StandardEngine
startInternal
INFO: Starting Servlet Engine: Apache Tomcat (TomEE)/7.0.34 Mar 21, 2013 2:11:53 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive
/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot.war
Mar 21, 2013 2:11:53 PM org.apache.tomee.catalina.TomcatWebAppBuilder init
INFO: -------------------------
TomcatWebAppBuilder.init /omc-gui-1.0-snapshot Mar 21, 2013 2:11:54 PM org.apache.openejb.util.JarExtractor extract
INFO: Extracting jar:
/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot.war
Mar 21, 2013 2:11:54 PM org.apache.openejb.util.JarExtractor extract
INFO: Extracted path:
/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot
Mar 21, 2013 2:11:54 PM org.apache.openejb.util.OptionsLog info
INFO: Using
'openejb.session.manager=org.apache.tomee.catalina.session.QuickSessionManager'
Mar 21, 2013 2:11:54 PM org.apache.tomee.catalina.TomEEClassLoaderEnricher
validateJarFile
WARNING: jar
'/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot/WEB-INF/lib/javax.persistence-2.0.3.jar'
contains offending class: javax.persistence.Entity. It will be ignored.
Mar 21, 2013 2:11:56 PM org.apache.openejb.config.ConfigurationFactory
configureApplication
INFO: Configuring enterprise application:
/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot
Mar 21, 2013 2:11:58 PM org.apache.openejb.config.InitEjbDeployments deploy
INFO: Auto-deploying ejb UserProfileDao:
EjbDeployment(deployment-id=UserProfileDao)
Mar 21, 2013 2:11:58 PM org.apache.openejb.config.ConfigurationFactory
configureService
INFO: Configuring Service(id=Default Managed Container, type=Container, provider-id=Default Managed Container) Mar 21, 2013 2:11:58 PM org.apache.openejb.config.AutoConfig createContainer
INFO: Auto-creating a container for bean omc-gui-1.0-snapshot.Comp502210334:
Container(type=MANAGED, id=Default Managed Container) Mar 21, 2013 2:11:58 PM org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating Container(id=Default Managed Container) Mar 21, 2013 2:11:58 PM org.apache.openejb.core.managed.SimplePassivater
init
INFO: Using directory
/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/temp for stateful session passivation Mar 21, 2013 2:11:58 PM org.apache.openejb.config.AutoConfig deploy
INFO: Configuring PersistenceUnit(name=aomdb_unit,
provider=org.eclipse.persistence.jpa.PersistenceProvider)
Mar 21, 2013 2:11:58 PM org.apache.openejb.config.AutoConfig
setJtaDataSource
INFO: Adjusting PersistenceUnit aomdb_unit <jta-data-source> to Resource ID 'My DataSource' from 'postgresDatabase'
Mar 21, 2013 2:11:58 PM org.apache.openejb.config.AutoConfig
setNonJtaDataSource
INFO: Adjusting PersistenceUnit aomdb_unit <non-jta-data-source> to Resource ID 'My Unmanaged DataSource' from 'postgresDatabaseUnmanaged'
Mar 21, 2013 2:11:58 PM org.apache.openejb.config.JndiEncInfoBuilder
buildEjbRefs
WARNING: Unresolved ejb reference
"java:comp/env/com.altobridge.omc.gui.login.Authenticator/userDao" in bean "omc-gui-1.0-snapshot.Comp". Will attempt resolution again at runtime.
Mar 21, 2013 2:11:58 PM org.apache.openejb.config.JndiEncInfoBuilder
buildEjbRefs
WARNING: Unresolved ejb reference
"java:comp/env/com.altobridge.omc.gui.login.Authenticator/userDao" in bean "UserProfileDao". Will attempt resolution again at runtime.
Mar 21, 2013 2:11:58 PM org.apache.openejb.config.JndiEncInfoBuilder
buildEjbRefs
WARNING: Unresolved ejb reference
"java:comp/env/com.altobridge.omc.gui.login.Authenticator/userDao" in bean "/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot".
Will attempt resolution again at runtime.
Mar 21, 2013 2:11:58 PM org.apache.openejb.config.AppInfoBuilder build
INFO: Enterprise application
"/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot"
loaded.
Mar 21, 2013 2:11:58 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Assembling app:
/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot
Mar 21, 2013 2:11:59 PM
org.apache.openejb.assembler.classic.PersistenceBuilder
createEntityManagerFactory
INFO: PersistenceUnit(name=aomdb_unit,
provider=org.eclipse.persistence.jpa.PersistenceProvider) - provider time 1002ms Mar 21, 2013 2:11:59 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=UserProfileDaoLocal) --> Ejb(deployment-id=UserProfileDao) Mar 21, 2013 2:12:00 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO:
Jndi(name=global/omc-gui-1.0-snapshot/UserProfileDao!com.altobridge.omc.orm.dao.UserProfileDaoLocal)
--> Ejb(deployment-id=UserProfileDao)
Mar 21, 2013 2:12:00 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=global/omc-gui-1.0-snapshot/UserProfileDao) -->
Ejb(deployment-id=UserProfileDao)
Mar 21, 2013 2:12:00 PM org.apache.openejb.cdi.CdiBuilder initSingleton
INFO: Existing thread singleton service in SystemInstance() org.apache.openejb.cdi.ThreadSingletonServiceImpl@5cd6b35f <ma...@5cd6b35f>
Mar 21, 2013 2:12:00 PM org.apache.openejb.cdi.OpenEJBLifecycle
startApplication
INFO: OpenWebBeans Container is starting...
Mar 21, 2013 2:12:00 PM org.apache.webbeans.plugins.PluginLoader startUp
INFO: Adding OpenWebBeansPlugin : [CdiPlugin] Mar 21, 2013 2:12:00 PM org.apache.webbeans.plugins.PluginLoader startUp
INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin] Mar 21, 2013 2:12:00 PM org.apache.openejb.cdi.BeansDeployer
validateInjectionPoints
INFO: All injection points are validated successfully.
Mar 21, 2013 2:12:00 PM org.apache.openejb.cdi.OpenEJBLifecycle
startApplication
INFO: OpenWebBeans Container has started, it took 89 ms.
Mar 21, 2013 2:12:00 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Created Ejb(deployment-id=UserProfileDao, ejb-name=UserProfileDao, container=My Stateless Container) Mar 21, 2013 2:12:00 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Started Ejb(deployment-id=UserProfileDao, ejb-name=UserProfileDao, container=My Stateless Container) Mar 21, 2013 2:12:00 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Deployed
Application(path=/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot)
Mar 21, 2013 2:12:03 PM
org.apache.myfaces.config.DefaultFacesConfigurationProvider
getStandardFacesConfig
INFO: Reading standard config META-INF/standard-faces-config.xml
Mar 21, 2013 2:12:03 PM
org.apache.myfaces.config.DefaultFacesConfigurationProvider
getWebAppFacesConfig
INFO: Reading config /WEB-INF/faces-config.xml Mar 21, 2013 2:12:03 PM org.apache.myfaces.config.DefaultFacesConfigurationProvider
getClassloaderFacesConfig
INFO: Reading config :
jar:file:/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/lib/openwebbeans-jsf-1.1.7.jar!/META-INF/faces-config.xml
Mar 21, 2013 2:12:03 PM
org.apache.myfaces.config.DefaultFacesConfigurationProvider
getClassloaderFacesConfig
INFO: Reading config :
jar:file:/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot/WEB-INF/lib/richfaces-core-impl-4.3.0.Final.jar!/META-INF/faces-config.xml
Mar 21, 2013 2:12:03 PM
org.apache.myfaces.config.DefaultFacesConfigurationProvider
getClassloaderFacesConfig
INFO: Reading config :
jar:file:/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot/WEB-INF/lib/richfaces-components-ui-4.3.0.Final.jar!/META-INF/faces-config.xml
Mar 21, 2013 2:12:04 PM org.apache.myfaces.config.LogMetaInfUtils
logArtifact
INFO: Artifact 'myfaces-api' was found in version '2.1.10' from path 'file:/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/lib/myfaces-api-2.1.10.jar'
Mar 21, 2013 2:12:04 PM org.apache.myfaces.config.LogMetaInfUtils
logArtifact
INFO: Artifact 'myfaces-impl' was found in version '2.1.10' from path 'file:/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/lib/myfaces-impl-2.1.10.jar'
Mar 21, 2013 2:12:04 PM org.apache.myfaces.util.ExternalSpecifications
isBeanValidationAvailable
INFO: MyFaces Bean Validation support enabled Mar 21, 2013 2:12:04 PM org.apache.myfaces.config.FacesConfigurator
handleSerialFactory
INFO: Serialization provider : class
org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory
Mar 21, 2013 2:12:04 PM
org.apache.myfaces.config.annotation.DefaultLifecycleProviderFactory
getLifecycleProvider
INFO: Using LifecycleProvider
org.apache.myfaces.config.annotation.Tomcat7AnnotationLifecycleProvider
Mar 21, 2013 2:12:05 PM org.richfaces.javascript.ClientServiceConfigParser
parse
WARNING: Found JavaScript function definition for class org.hibernate.validator.constraints.NotEmpty, but that class is not presented Mar 21, 2013 2:12:05 PM org.richfaces.cache.CacheManager getCacheFactory
INFO: Selected fallback cache factory
Mar 21, 2013 2:12:05 PM org.richfaces.cache.lru.LRUMapCacheFactory
createCache
INFO: Creating LRUMap cache instance using parameters:
{javax.faces.PROJECT_STAGE=Development,
org.apache.myfaces.LOG_WEB_CONTEXT_PARAMS=false}
Mar 21, 2013 2:12:05 PM org.richfaces.cache.lru.LRUMapCacheFactory
createCache
INFO: Creating LRUMap cache instance of 512 items capacity Mar 21, 2013 2:12:05 PM org.richfaces.application.InitializationListener
onStart
INFO: RichFaces Core Implementation by JBoss by Red Hat, version 4.3.0.Final Mar 21, 2013 2:12:06 PM org.richfaces.application.InitializationListener
logWarningWhenConnectionFactoryPresent
WARNING: JMS API was found on the classpath; if you want to enable RichFaces Push JMS integration, set context-param 'org.richfaces.push.jms.enabled' in web.xml Mar 21, 2013 2:12:06 PM org.apache.myfaces.webapp.AbstractFacesInitializer
initFaces
INFO: ServletContext initialized.
Mar 21, 2013 2:12:06 PM org.apache.myfaces.util.ExternalSpecifications
isUnifiedELAvailable
INFO: MyFaces Unified EL support enabled Mar 21, 2013 2:12:06 PM org.apache.myfaces.webapp.AbstractFacesInitializer
initFaces
WARNING:
*******************************************************************
*** WARNING: Apache MyFaces-2 is running in DEVELOPMENT mode. ***
*** ^^^^^^^^^^^ ***
*** Do NOT deploy to your live server(s) without changing this. ***
*** See Application#getProjectStage() for more information. ***
*******************************************************************
Mar 21, 2013 2:12:06 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory /home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/tomee
Mar 21, 2013 2:12:06 PM org.apache.tomee.catalina.TomcatWebAppBuilder init
INFO: -------------------------
TomcatWebAppBuilder.init /tomee
Mar 21, 2013 2:12:06 PM org.apache.openejb.util.OptionsLog info
INFO: Using
'openejb.session.manager=org.apache.tomee.catalina.session.QuickSessionManager'
Mar 21, 2013 2:12:06 PM org.apache.openejb.config.ConfigurationFactory
configureApplication
INFO: Configuring enterprise application:
/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/tomee
Mar 21, 2013 2:12:06 PM org.apache.openejb.config.AppInfoBuilder build
INFO: Enterprise application
"/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/tomee"
loaded.
Mar 21, 2013 2:12:06 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Assembling app:
/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/tomee
Mar 21, 2013 2:12:06 PM org.apache.openejb.cdi.CdiBuilder initSingleton
INFO: Existing thread singleton service in SystemInstance() org.apache.openejb.cdi.ThreadSingletonServiceImpl@5cd6b35f <ma...@5cd6b35f>
Mar 21, 2013 2:12:06 PM org.apache.openejb.cdi.OpenEJBLifecycle
startApplication
INFO: OpenWebBeans Container is starting...
Mar 21, 2013 2:12:06 PM org.apache.webbeans.plugins.PluginLoader startUp
INFO: Adding OpenWebBeansPlugin : [CdiPlugin] Mar 21, 2013 2:12:06 PM org.apache.webbeans.plugins.PluginLoader startUp
INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin] Mar 21, 2013 2:12:06 PM org.apache.openejb.cdi.BeansDeployer
validateInjectionPoints
INFO: All injection points are validated successfully.
Mar 21, 2013 2:12:06 PM org.apache.openejb.cdi.OpenEJBLifecycle
startApplication
INFO: OpenWebBeans Container has started, it took 8 ms.
Mar 21, 2013 2:12:06 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Deployed
Application(path=/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/tomee)
Mar 21, 2013 2:12:07 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"] Mar 21, 2013 2:12:07 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"] Mar 21, 2013 2:12:07 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 13578 ms
There is a couple of deployment warnings as
WARNING: <Deployments dir="null"> - Does not exist:
/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/apps
Mar 21, 2013 2:11:52 PM org.apache.openejb.util.OptionsLog info
and this one
WARNING: Unresolved ejb reference
"java:comp/env/com.altobridge.omc.gui.login.Authenticator/userDao" in bean "omc-gui-1.0-snapshot.Comp". Will attempt resolution again at runtime.
Mar 21, 2013 2:11:58 PM org.apache.openejb.config.JndiEncInfoBuilder
buildEjbRefs
WARNING: Unresolved ejb reference
"java:comp/env/com.altobridge.omc.gui.login.Authenticator/userDao" in bean "UserProfileDao". Will attempt resolution again at runtime.
Mar 21, 2013 2:11:58 PM org.apache.openejb.config.JndiEncInfoBuilder
buildEjbRefs
WARNING: Unresolved ejb reference
"java:comp/env/com.altobridge.omc.gui.login.Authenticator/userDao" in bean "/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot".
Will attempt resolution again at runtime.
This say that the ejb reference is not there. So its not found.
There is no ejb-jar.xml in the META-INF folder.
Should I add an ejb-jar.xml with all the beans I'm including in the library?
Regards,
Antonio
--
View this message in context: http://openejb.979440.n4.nabble.com/Injection-data-not-found-in-JNDI-context-tp4661652p4661657.html <http://openejb.979440.n4.nabble.com/Injection-data-not-found-in-JNDI-context-tp4661652p4661657.html>
Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: AW: AW: Injection data not found in JNDI context
Posted by Antonio <an...@gmail.com>.
Okey Now that you say that there is a couple of things that I didn't noticed
about the deployment
antonio@altodesk24: pts/6: 6 files 40Kb -> mvn install tomee:run
[INFO] Scanning for projects...
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building omc-gui 1.0-snapshot
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:2.1:copy (default) @ omc-gui ---
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
omc-gui ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ omc-gui
---
[INFO] Compiling 1 source file to
/home/antonio/builds/working_copy4/omc/omc-gui/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources)
@ omc-gui ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/home/antonio/builds/working_copy4/omc/omc-gui/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @
omc-gui ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.10:test (default-test) @ omc-gui ---
[INFO] No tests to run.
[INFO] Surefire report directory:
/home/antonio/builds/working_copy4/omc/omc-gui/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- maven-war-plugin:2.1.1:war (default-war) @ omc-gui ---
[INFO] Packaging webapp
[INFO] Assembling webapp [omc-gui] in
[/home/antonio/builds/working_copy4/omc/omc-gui/target/omc-gui-1.0-snapshot]
[INFO] Processing war project
[INFO] Copying webapp resources
[/home/antonio/builds/working_copy4/omc/omc-gui/src/main/webapp]
[INFO] Webapp assembled in [101 msecs]
[INFO] Building war:
/home/antonio/builds/working_copy4/omc/omc-gui/target/omc-gui-1.0-snapshot.war
[INFO] WEB-INF/web.xml already added, skipping
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ omc-gui
---
[INFO] Installing
/home/antonio/builds/working_copy4/omc/omc-gui/target/omc-gui-1.0-snapshot.war
to
/home/antonio/.m2/repository/com/altobridge/omc-gui/1.0-snapshot/omc-gui-1.0-snapshot.war
[INFO] Installing /home/antonio/builds/working_copy4/omc/omc-gui/pom.xml to
/home/antonio/.m2/repository/com/altobridge/omc-gui/1.0-snapshot/omc-gui-1.0-snapshot.pom
[INFO]
[INFO] --- tomee-maven-plugin:1.0.1:run (default-cli) @ omc-gui ---
[INFO] TomEE was unzipped in
'/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee'
[INFO] Removed not mandatory default webapps
[INFO] Installed
'/home/antonio/builds/working_copy4/omc/omc-gui/target/omc-gui-1.0-snapshot.war'
in
/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot.war
[INFO] Running 'run'. Configured TomEE in plugin is localhost:8080 (plugin
shutdown port is 8005)
Mar 21, 2013 2:11:50 PM org.apache.catalina.core.AprLifecycleListener init
SEVERE: An incompatible version 1.1.23 of the APR based Apache Tomcat Native
library is installed, while Tomcat requires version 1.1.24
Mar 21, 2013 2:11:50 PM org.apache.catalina.core.AprLifecycleListener init
SEVERE: An incompatible version 1.1.23 of the APR based Apache Tomcat Native
library is installed, while Tomcat requires version 1.1.24
Mar 21, 2013 2:11:50 PM org.apache.catalina.core.AprLifecycleListener init
SEVERE: An incompatible version 1.1.23 of the APR based Apache Tomcat Native
library is installed, while Tomcat requires version 1.1.24
Mar 21, 2013 2:11:50 PM org.apache.catalina.core.AprLifecycleListener init
SEVERE: An incompatible version 1.1.23 of the APR based Apache Tomcat Native
library is installed, while Tomcat requires version 1.1.24
Mar 21, 2013 2:11:50 PM org.apache.catalina.core.AprLifecycleListener init
SEVERE: An incompatible version 1.1.23 of the APR based Apache Tomcat Native
library is installed, while Tomcat requires version 1.1.24
Mar 21, 2013 2:11:50 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Mar 21, 2013 2:11:50 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Mar 21, 2013 2:11:51 PM org.apache.openejb.util.OptionsLog info
INFO: Using
'openejb.jdbc.datasource-creator=org.apache.tomee.jdbc.TomEEDataSourceCreator'
Mar 21, 2013 2:11:51 PM org.apache.openejb.OpenEJB$Instance <init>
INFO:
********************************************************************************
Mar 21, 2013 2:11:51 PM org.apache.openejb.OpenEJB$Instance <init>
INFO: OpenEJB http://openejb.apache.org/
Mar 21, 2013 2:11:51 PM org.apache.openejb.OpenEJB$Instance <init>
INFO: Startup: Thu Mar 21 14:11:51 GMT 2013
Mar 21, 2013 2:11:51 PM org.apache.openejb.OpenEJB$Instance <init>
INFO: Copyright 1999-2012 (C) Apache OpenEJB Project, All Rights Reserved.
Mar 21, 2013 2:11:51 PM org.apache.openejb.OpenEJB$Instance <init>
INFO: Version: 4.5.1
Mar 21, 2013 2:11:51 PM org.apache.openejb.OpenEJB$Instance <init>
INFO: Build date: 20121209
Mar 21, 2013 2:11:51 PM org.apache.openejb.OpenEJB$Instance <init>
INFO: Build time: 08:47
Mar 21, 2013 2:11:51 PM org.apache.openejb.OpenEJB$Instance <init>
INFO:
********************************************************************************
Mar 21, 2013 2:11:51 PM org.apache.openejb.OpenEJB$Instance <init>
INFO: openejb.home =
/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee
Mar 21, 2013 2:11:51 PM org.apache.openejb.OpenEJB$Instance <init>
INFO: openejb.base =
/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee
Mar 21, 2013 2:11:51 PM org.apache.openejb.cdi.CdiBuilder initializeOWB
INFO: Created new singletonService
org.apache.openejb.cdi.ThreadSingletonServiceImpl@5cd6b35f
Mar 21, 2013 2:11:51 PM org.apache.openejb.cdi.CdiBuilder initializeOWB
INFO: Succeeded in installing singleton service
Mar 21, 2013 2:11:51 PM org.apache.openejb.config.ConfigurationFactory init
INFO: openejb configuration file is
'/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/conf/tomee.xml'
Mar 21, 2013 2:11:52 PM org.apache.openejb.util.OptionsLog info
INFO: Using 'openejb.provider.default=org.apache.tomee'
Mar 21, 2013 2:11:52 PM org.apache.openejb.config.ConfigurationFactory
configureService
INFO: Configuring Service(id=Tomcat Security Service, type=SecurityService,
provider-id=Tomcat Security Service)
Mar 21, 2013 2:11:52 PM org.apache.openejb.config.ConfigurationFactory
configureService
INFO: Configuring Service(id=Default Transaction Manager,
type=TransactionManager, provider-id=Default Transaction Manager)
Mar 21, 2013 2:11:52 PM org.apache.openejb.config.ConfigurationFactory
configureService
INFO: Configuring Service(id=My DataSource, type=Resource,
provider-id=Default JDBC Database)
Mar 21, 2013 2:11:52 PM org.apache.openejb.config.ConfigurationFactory
configureService
INFO: Configuring Service(id=My Unmanaged DataSource, type=Resource,
provider-id=Default JDBC Database)
Mar 21, 2013 2:11:52 PM org.apache.openejb.config.ConfigurationFactory
configureService
INFO: Configuring Service(id=My Singleton Container, type=Container,
provider-id=Default Singleton Container)
Mar 21, 2013 2:11:52 PM org.apache.openejb.config.ConfigurationFactory
configureService
INFO: Configuring Service(id=My Stateful Container, type=Container,
provider-id=Default Stateful Container)
Mar 21, 2013 2:11:52 PM org.apache.openejb.config.ConfigurationFactory
configureService
INFO: Configuring Service(id=My Stateless Container, type=Container,
provider-id=Default Stateless Container)
Mar 21, 2013 2:11:52 PM org.apache.openejb.config.DeploymentsResolver
loadFrom
WARNING: <Deployments dir="null"> - Does not exist:
/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/apps
Mar 21, 2013 2:11:52 PM org.apache.openejb.util.OptionsLog info
INFO: Using 'openejb.system.apps=true'
Mar 21, 2013 2:11:52 PM org.apache.openejb.config.ConfigurationFactory
configureApplication
INFO: Configuring enterprise application: null
Mar 21, 2013 2:11:52 PM org.apache.openejb.config.InitEjbDeployments deploy
INFO: Using openejb.deploymentId.format '{ejbName}'
Mar 21, 2013 2:11:52 PM org.apache.openejb.config.InitEjbDeployments deploy
INFO: Auto-deploying ejb openejb/User:
EjbDeployment(deployment-id=openejb/User)
Mar 21, 2013 2:11:52 PM org.apache.openejb.config.InitEjbDeployments deploy
INFO: Auto-deploying ejb openejb/Deployer:
EjbDeployment(deployment-id=openejb/Deployer)
Mar 21, 2013 2:11:52 PM org.apache.openejb.config.InitEjbDeployments deploy
INFO: Auto-deploying ejb openejb/ConfigurationInfo:
EjbDeployment(deployment-id=openejb/ConfigurationInfo)
Mar 21, 2013 2:11:52 PM org.apache.openejb.config.InitEjbDeployments deploy
INFO: Auto-deploying ejb MEJB: EjbDeployment(deployment-id=MEJB)
Mar 21, 2013 2:11:52 PM org.apache.openejb.config.AppInfoBuilder build
INFO: Enterprise application "openejb" loaded.
Mar 21, 2013 2:11:52 PM org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating TransactionManager(id=Default Transaction Manager)
Mar 21, 2013 2:11:52 PM org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating SecurityService(id=Tomcat Security Service)
Mar 21, 2013 2:11:52 PM org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating Resource(id=My DataSource)
Mar 21, 2013 2:11:52 PM org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating Resource(id=My Unmanaged DataSource)
Mar 21, 2013 2:11:52 PM org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating Container(id=My Singleton Container)
Mar 21, 2013 2:11:52 PM org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating Container(id=My Stateful Container)
Mar 21, 2013 2:11:52 PM org.apache.openejb.core.stateful.SimplePassivater
init
INFO: Using directory
/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/temp for
stateful session passivation
Mar 21, 2013 2:11:52 PM org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating Container(id=My Stateless Container)
Mar 21, 2013 2:11:52 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Assembling app: openejb
Mar 21, 2013 2:11:53 PM org.apache.openejb.util.OptionsLog info
INFO: Using
'openejb.jndiname.format={deploymentId}{interfaceType.openejbLegacyName}'
Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=openejb/UserBusinessRemote) -->
Ejb(deployment-id=openejb/User)
Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO:
Jndi(name=global/openejb/openejb/User!org.apache.openejb.assembler.util.User)
--> Ejb(deployment-id=openejb/User)
Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=global/openejb/openejb/User) -->
Ejb(deployment-id=openejb/User)
Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=openejb/DeployerBusinessRemote) -->
Ejb(deployment-id=openejb/Deployer)
Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO:
Jndi(name=global/openejb/openejb/Deployer!org.apache.openejb.assembler.Deployer)
--> Ejb(deployment-id=openejb/Deployer)
Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=global/openejb/openejb/Deployer) -->
Ejb(deployment-id=openejb/Deployer)
Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=openejb/ConfigurationInfoBusinessRemote) -->
Ejb(deployment-id=openejb/ConfigurationInfo)
Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO:
Jndi(name=global/openejb/openejb/ConfigurationInfo!org.apache.openejb.assembler.classic.cmd.ConfigurationInfo)
--> Ejb(deployment-id=openejb/ConfigurationInfo)
Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=global/openejb/openejb/ConfigurationInfo) -->
Ejb(deployment-id=openejb/ConfigurationInfo)
Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=MEJB) --> Ejb(deployment-id=MEJB)
Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=global/openejb/MEJB!javax.management.j2ee.ManagementHome)
--> Ejb(deployment-id=MEJB)
Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=global/openejb/MEJB) --> Ejb(deployment-id=MEJB)
Mar 21, 2013 2:11:53 PM org.apache.openejb.cdi.CdiBuilder initSingleton
INFO: Existing thread singleton service in SystemInstance()
org.apache.openejb.cdi.ThreadSingletonServiceImpl@5cd6b35f
Mar 21, 2013 2:11:53 PM org.apache.openejb.cdi.OpenEJBLifecycle
startApplication
INFO: OpenWebBeans Container is starting...
Mar 21, 2013 2:11:53 PM org.apache.webbeans.plugins.PluginLoader startUp
INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
Mar 21, 2013 2:11:53 PM org.apache.webbeans.plugins.PluginLoader startUp
INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
Mar 21, 2013 2:11:53 PM org.apache.openejb.cdi.BeansDeployer
validateInjectionPoints
INFO: All injection points are validated successfully.
Mar 21, 2013 2:11:53 PM org.apache.openejb.cdi.OpenEJBLifecycle
startApplication
INFO: OpenWebBeans Container has started, it took 117 ms.
Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Created Ejb(deployment-id=openejb/Deployer, ejb-name=openejb/Deployer,
container=My Stateless Container)
Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Created Ejb(deployment-id=MEJB, ejb-name=MEJB, container=My Stateless
Container)
Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Created Ejb(deployment-id=openejb/ConfigurationInfo,
ejb-name=openejb/ConfigurationInfo, container=My Stateless Container)
Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Created Ejb(deployment-id=openejb/User, ejb-name=openejb/User,
container=My Stateless Container)
Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Started Ejb(deployment-id=openejb/Deployer, ejb-name=openejb/Deployer,
container=My Stateless Container)
Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Started Ejb(deployment-id=MEJB, ejb-name=MEJB, container=My Stateless
Container)
Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Started Ejb(deployment-id=openejb/ConfigurationInfo,
ejb-name=openejb/ConfigurationInfo, container=My Stateless Container)
Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Started Ejb(deployment-id=openejb/User, ejb-name=openejb/User,
container=My Stateless Container)
Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.Assembler
deployMBean
INFO: Deployed
MBean(openejb.user.mbeans:application=openejb,group=org.apache.openejb.assembler.monitoring,name=JMXDeployer)
Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Deployed Application(path=openejb)
Mar 21, 2013 2:11:53 PM org.apache.openejb.util.OptionsLog info
INFO: Using 'openejb.profile.custom=false'
Mar 21, 2013 2:11:53 PM org.apache.openejb.server.ServiceManager initServer
INFO: Creating ServerService(id=cxf)
Mar 21, 2013 2:11:53 PM org.apache.openejb.server.ServiceManager initServer
INFO: Creating ServerService(id=cxf-rs)
Mar 21, 2013 2:11:53 PM org.apache.openejb.server.SimpleServiceManager start
INFO: Starting service cxf
Mar 21, 2013 2:11:53 PM org.apache.openejb.server.SimpleServiceManager start
INFO: Started service cxf
Mar 21, 2013 2:11:53 PM org.apache.openejb.server.SimpleServiceManager start
INFO: Starting service cxf-rs
Mar 21, 2013 2:11:53 PM org.apache.openejb.server.SimpleServiceManager start
INFO: Started service cxf-rs
Mar 21, 2013 2:11:53 PM org.apache.openejb.server.SimpleServiceManager start
INFO: ** Bound Services **
Mar 21, 2013 2:11:53 PM org.apache.openejb.server.SimpleServiceManager
printRow
INFO: NAME IP PORT
Mar 21, 2013 2:11:53 PM org.apache.openejb.server.SimpleServiceManager start
INFO: -------
Mar 21, 2013 2:11:53 PM org.apache.openejb.server.SimpleServiceManager start
INFO: Ready!
Mar 21, 2013 2:11:53 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 4488 ms
Mar 21, 2013 2:11:53 PM
org.apache.tomee.catalina.OpenEJBNamingContextListener bindResource
INFO: Importing a Tomcat Resource with id 'UserDatabase' of type
'org.apache.catalina.UserDatabase'.
Mar 21, 2013 2:11:53 PM org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating Resource(id=UserDatabase)
Mar 21, 2013 2:11:53 PM org.apache.catalina.core.StandardService
startInternal
INFO: Starting service Catalina
Mar 21, 2013 2:11:53 PM org.apache.catalina.core.StandardEngine
startInternal
INFO: Starting Servlet Engine: Apache Tomcat (TomEE)/7.0.34
Mar 21, 2013 2:11:53 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive
/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot.war
Mar 21, 2013 2:11:53 PM org.apache.tomee.catalina.TomcatWebAppBuilder init
INFO: -------------------------
TomcatWebAppBuilder.init /omc-gui-1.0-snapshot
Mar 21, 2013 2:11:54 PM org.apache.openejb.util.JarExtractor extract
INFO: Extracting jar:
/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot.war
Mar 21, 2013 2:11:54 PM org.apache.openejb.util.JarExtractor extract
INFO: Extracted path:
/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot
Mar 21, 2013 2:11:54 PM org.apache.openejb.util.OptionsLog info
INFO: Using
'openejb.session.manager=org.apache.tomee.catalina.session.QuickSessionManager'
Mar 21, 2013 2:11:54 PM org.apache.tomee.catalina.TomEEClassLoaderEnricher
validateJarFile
WARNING: jar
'/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot/WEB-INF/lib/javax.persistence-2.0.3.jar'
contains offending class: javax.persistence.Entity. It will be ignored.
Mar 21, 2013 2:11:56 PM org.apache.openejb.config.ConfigurationFactory
configureApplication
INFO: Configuring enterprise application:
/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot
Mar 21, 2013 2:11:58 PM org.apache.openejb.config.InitEjbDeployments deploy
INFO: Auto-deploying ejb UserProfileDao:
EjbDeployment(deployment-id=UserProfileDao)
Mar 21, 2013 2:11:58 PM org.apache.openejb.config.ConfigurationFactory
configureService
INFO: Configuring Service(id=Default Managed Container, type=Container,
provider-id=Default Managed Container)
Mar 21, 2013 2:11:58 PM org.apache.openejb.config.AutoConfig createContainer
INFO: Auto-creating a container for bean omc-gui-1.0-snapshot.Comp502210334:
Container(type=MANAGED, id=Default Managed Container)
Mar 21, 2013 2:11:58 PM org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating Container(id=Default Managed Container)
Mar 21, 2013 2:11:58 PM org.apache.openejb.core.managed.SimplePassivater
init
INFO: Using directory
/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/temp for
stateful session passivation
Mar 21, 2013 2:11:58 PM org.apache.openejb.config.AutoConfig deploy
INFO: Configuring PersistenceUnit(name=aomdb_unit,
provider=org.eclipse.persistence.jpa.PersistenceProvider)
Mar 21, 2013 2:11:58 PM org.apache.openejb.config.AutoConfig
setJtaDataSource
INFO: Adjusting PersistenceUnit aomdb_unit <jta-data-source> to Resource ID
'My DataSource' from 'postgresDatabase'
Mar 21, 2013 2:11:58 PM org.apache.openejb.config.AutoConfig
setNonJtaDataSource
INFO: Adjusting PersistenceUnit aomdb_unit <non-jta-data-source> to Resource
ID 'My Unmanaged DataSource' from 'postgresDatabaseUnmanaged'
Mar 21, 2013 2:11:58 PM org.apache.openejb.config.JndiEncInfoBuilder
buildEjbRefs
WARNING: Unresolved ejb reference
"java:comp/env/com.altobridge.omc.gui.login.Authenticator/userDao" in bean
"omc-gui-1.0-snapshot.Comp". Will attempt resolution again at runtime.
Mar 21, 2013 2:11:58 PM org.apache.openejb.config.JndiEncInfoBuilder
buildEjbRefs
WARNING: Unresolved ejb reference
"java:comp/env/com.altobridge.omc.gui.login.Authenticator/userDao" in bean
"UserProfileDao". Will attempt resolution again at runtime.
Mar 21, 2013 2:11:58 PM org.apache.openejb.config.JndiEncInfoBuilder
buildEjbRefs
WARNING: Unresolved ejb reference
"java:comp/env/com.altobridge.omc.gui.login.Authenticator/userDao" in bean
"/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot".
Will attempt resolution again at runtime.
Mar 21, 2013 2:11:58 PM org.apache.openejb.config.AppInfoBuilder build
INFO: Enterprise application
"/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot"
loaded.
Mar 21, 2013 2:11:58 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Assembling app:
/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot
Mar 21, 2013 2:11:59 PM
org.apache.openejb.assembler.classic.PersistenceBuilder
createEntityManagerFactory
INFO: PersistenceUnit(name=aomdb_unit,
provider=org.eclipse.persistence.jpa.PersistenceProvider) - provider time
1002ms
Mar 21, 2013 2:11:59 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=UserProfileDaoLocal) --> Ejb(deployment-id=UserProfileDao)
Mar 21, 2013 2:12:00 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO:
Jndi(name=global/omc-gui-1.0-snapshot/UserProfileDao!com.altobridge.omc.orm.dao.UserProfileDaoLocal)
--> Ejb(deployment-id=UserProfileDao)
Mar 21, 2013 2:12:00 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=global/omc-gui-1.0-snapshot/UserProfileDao) -->
Ejb(deployment-id=UserProfileDao)
Mar 21, 2013 2:12:00 PM org.apache.openejb.cdi.CdiBuilder initSingleton
INFO: Existing thread singleton service in SystemInstance()
org.apache.openejb.cdi.ThreadSingletonServiceImpl@5cd6b35f
Mar 21, 2013 2:12:00 PM org.apache.openejb.cdi.OpenEJBLifecycle
startApplication
INFO: OpenWebBeans Container is starting...
Mar 21, 2013 2:12:00 PM org.apache.webbeans.plugins.PluginLoader startUp
INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
Mar 21, 2013 2:12:00 PM org.apache.webbeans.plugins.PluginLoader startUp
INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
Mar 21, 2013 2:12:00 PM org.apache.openejb.cdi.BeansDeployer
validateInjectionPoints
INFO: All injection points are validated successfully.
Mar 21, 2013 2:12:00 PM org.apache.openejb.cdi.OpenEJBLifecycle
startApplication
INFO: OpenWebBeans Container has started, it took 89 ms.
Mar 21, 2013 2:12:00 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Created Ejb(deployment-id=UserProfileDao, ejb-name=UserProfileDao,
container=My Stateless Container)
Mar 21, 2013 2:12:00 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Started Ejb(deployment-id=UserProfileDao, ejb-name=UserProfileDao,
container=My Stateless Container)
Mar 21, 2013 2:12:00 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Deployed
Application(path=/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot)
Mar 21, 2013 2:12:03 PM
org.apache.myfaces.config.DefaultFacesConfigurationProvider
getStandardFacesConfig
INFO: Reading standard config META-INF/standard-faces-config.xml
Mar 21, 2013 2:12:03 PM
org.apache.myfaces.config.DefaultFacesConfigurationProvider
getWebAppFacesConfig
INFO: Reading config /WEB-INF/faces-config.xml
Mar 21, 2013 2:12:03 PM
org.apache.myfaces.config.DefaultFacesConfigurationProvider
getClassloaderFacesConfig
INFO: Reading config :
jar:file:/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/lib/openwebbeans-jsf-1.1.7.jar!/META-INF/faces-config.xml
Mar 21, 2013 2:12:03 PM
org.apache.myfaces.config.DefaultFacesConfigurationProvider
getClassloaderFacesConfig
INFO: Reading config :
jar:file:/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot/WEB-INF/lib/richfaces-core-impl-4.3.0.Final.jar!/META-INF/faces-config.xml
Mar 21, 2013 2:12:03 PM
org.apache.myfaces.config.DefaultFacesConfigurationProvider
getClassloaderFacesConfig
INFO: Reading config :
jar:file:/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot/WEB-INF/lib/richfaces-components-ui-4.3.0.Final.jar!/META-INF/faces-config.xml
Mar 21, 2013 2:12:04 PM org.apache.myfaces.config.LogMetaInfUtils
logArtifact
INFO: Artifact 'myfaces-api' was found in version '2.1.10' from path
'file:/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/lib/myfaces-api-2.1.10.jar'
Mar 21, 2013 2:12:04 PM org.apache.myfaces.config.LogMetaInfUtils
logArtifact
INFO: Artifact 'myfaces-impl' was found in version '2.1.10' from path
'file:/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/lib/myfaces-impl-2.1.10.jar'
Mar 21, 2013 2:12:04 PM org.apache.myfaces.util.ExternalSpecifications
isBeanValidationAvailable
INFO: MyFaces Bean Validation support enabled
Mar 21, 2013 2:12:04 PM org.apache.myfaces.config.FacesConfigurator
handleSerialFactory
INFO: Serialization provider : class
org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory
Mar 21, 2013 2:12:04 PM
org.apache.myfaces.config.annotation.DefaultLifecycleProviderFactory
getLifecycleProvider
INFO: Using LifecycleProvider
org.apache.myfaces.config.annotation.Tomcat7AnnotationLifecycleProvider
Mar 21, 2013 2:12:05 PM org.richfaces.javascript.ClientServiceConfigParser
parse
WARNING: Found JavaScript function definition for class
org.hibernate.validator.constraints.NotEmpty, but that class is not
presented
Mar 21, 2013 2:12:05 PM org.richfaces.cache.CacheManager getCacheFactory
INFO: Selected fallback cache factory
Mar 21, 2013 2:12:05 PM org.richfaces.cache.lru.LRUMapCacheFactory
createCache
INFO: Creating LRUMap cache instance using parameters:
{javax.faces.PROJECT_STAGE=Development,
org.apache.myfaces.LOG_WEB_CONTEXT_PARAMS=false}
Mar 21, 2013 2:12:05 PM org.richfaces.cache.lru.LRUMapCacheFactory
createCache
INFO: Creating LRUMap cache instance of 512 items capacity
Mar 21, 2013 2:12:05 PM org.richfaces.application.InitializationListener
onStart
INFO: RichFaces Core Implementation by JBoss by Red Hat, version 4.3.0.Final
Mar 21, 2013 2:12:06 PM org.richfaces.application.InitializationListener
logWarningWhenConnectionFactoryPresent
WARNING: JMS API was found on the classpath; if you want to enable RichFaces
Push JMS integration, set context-param 'org.richfaces.push.jms.enabled' in
web.xml
Mar 21, 2013 2:12:06 PM org.apache.myfaces.webapp.AbstractFacesInitializer
initFaces
INFO: ServletContext initialized.
Mar 21, 2013 2:12:06 PM org.apache.myfaces.util.ExternalSpecifications
isUnifiedELAvailable
INFO: MyFaces Unified EL support enabled
Mar 21, 2013 2:12:06 PM org.apache.myfaces.webapp.AbstractFacesInitializer
initFaces
WARNING:
*******************************************************************
*** WARNING: Apache MyFaces-2 is running in DEVELOPMENT mode. ***
*** ^^^^^^^^^^^ ***
*** Do NOT deploy to your live server(s) without changing this. ***
*** See Application#getProjectStage() for more information. ***
*******************************************************************
Mar 21, 2013 2:12:06 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory
/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/tomee
Mar 21, 2013 2:12:06 PM org.apache.tomee.catalina.TomcatWebAppBuilder init
INFO: -------------------------
TomcatWebAppBuilder.init /tomee
Mar 21, 2013 2:12:06 PM org.apache.openejb.util.OptionsLog info
INFO: Using
'openejb.session.manager=org.apache.tomee.catalina.session.QuickSessionManager'
Mar 21, 2013 2:12:06 PM org.apache.openejb.config.ConfigurationFactory
configureApplication
INFO: Configuring enterprise application:
/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/tomee
Mar 21, 2013 2:12:06 PM org.apache.openejb.config.AppInfoBuilder build
INFO: Enterprise application
"/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/tomee"
loaded.
Mar 21, 2013 2:12:06 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Assembling app:
/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/tomee
Mar 21, 2013 2:12:06 PM org.apache.openejb.cdi.CdiBuilder initSingleton
INFO: Existing thread singleton service in SystemInstance()
org.apache.openejb.cdi.ThreadSingletonServiceImpl@5cd6b35f
Mar 21, 2013 2:12:06 PM org.apache.openejb.cdi.OpenEJBLifecycle
startApplication
INFO: OpenWebBeans Container is starting...
Mar 21, 2013 2:12:06 PM org.apache.webbeans.plugins.PluginLoader startUp
INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
Mar 21, 2013 2:12:06 PM org.apache.webbeans.plugins.PluginLoader startUp
INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
Mar 21, 2013 2:12:06 PM org.apache.openejb.cdi.BeansDeployer
validateInjectionPoints
INFO: All injection points are validated successfully.
Mar 21, 2013 2:12:06 PM org.apache.openejb.cdi.OpenEJBLifecycle
startApplication
INFO: OpenWebBeans Container has started, it took 8 ms.
Mar 21, 2013 2:12:06 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Deployed
Application(path=/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/tomee)
Mar 21, 2013 2:12:07 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Mar 21, 2013 2:12:07 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Mar 21, 2013 2:12:07 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 13578 ms
There is a couple of deployment warnings as
WARNING: <Deployments dir="null"> - Does not exist:
/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/apps
Mar 21, 2013 2:11:52 PM org.apache.openejb.util.OptionsLog info
and this one
WARNING: Unresolved ejb reference
"java:comp/env/com.altobridge.omc.gui.login.Authenticator/userDao" in bean
"omc-gui-1.0-snapshot.Comp". Will attempt resolution again at runtime.
Mar 21, 2013 2:11:58 PM org.apache.openejb.config.JndiEncInfoBuilder
buildEjbRefs
WARNING: Unresolved ejb reference
"java:comp/env/com.altobridge.omc.gui.login.Authenticator/userDao" in bean
"UserProfileDao". Will attempt resolution again at runtime.
Mar 21, 2013 2:11:58 PM org.apache.openejb.config.JndiEncInfoBuilder
buildEjbRefs
WARNING: Unresolved ejb reference
"java:comp/env/com.altobridge.omc.gui.login.Authenticator/userDao" in bean
"/home/antonio/builds/working_copy4/omc/omc-gui/target/apache-tomee/webapps/omc-gui-1.0-snapshot".
Will attempt resolution again at runtime.
This say that the ejb reference is not there. So its not found.
There is no ejb-jar.xml in the META-INF folder.
Should I add an ejb-jar.xml with all the beans I'm including in the library?
Regards,
Antonio
--
View this message in context: http://openejb.979440.n4.nabble.com/Injection-data-not-found-in-JNDI-context-tp4661652p4661657.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
AW: AW: Injection data not found in JNDI context
Posted by Thomas Herzog <t....@curecomp.com>.
Does it has an ejb-jar.xml within the META-INF folder and do you see in the console that the ejb is deployed?
Mit freundlichen Grüßen
Thomas Herzog
Softwareentwicklung
curecomp Software Services GmbH
Hafenstrasse 47-51
4020 Linz
web: www.curecomp.com
e-Mail: t.herzog@curecomp.com
tel: +43 (0)732 9015-5563
mobile: +43 (0)664 8867 9829
-----Ursprüngliche Nachricht-----
Von: Antonio [mailto:anttonijo20@gmail.com]
Gesendet: Donnerstag, 21. März 2013 14:11
An: users@openejb.apache.org
Betreff: Re: AW: Injection data not found in JNDI context
Well my jar
omc-aomdb-model-ejb-1.0-snapshot.jar
is located in
target/apache-tomee/webapps/omc-gui-1.0-snapshot/WEB-INF/lib
so the class should be found there.
Regards,
Antonio
--
View this message in context: http://openejb.979440.n4.nabble.com/Injection-data-not-found-in-JNDI-context-tp4661652p4661655.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: AW: Injection data not found in JNDI context
Posted by Antonio <an...@gmail.com>.
Well my jar
omc-aomdb-model-ejb-1.0-snapshot.jar
is located in
target/apache-tomee/webapps/omc-gui-1.0-snapshot/WEB-INF/lib
so the class should be found there.
Regards,
Antonio
--
View this message in context: http://openejb.979440.n4.nabble.com/Injection-data-not-found-in-JNDI-context-tp4661652p4661655.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
AW: Injection data not found in JNDI context
Posted by Thomas Herzog <t....@curecomp.com>.
Are you sure that your EJB is deployed ?
Sounds like the EJB bean is not bound to JDNI.
Mit freundlichen Grüßen
Thomas Herzog
Softwareentwicklung
curecomp Software Services GmbH
Hafenstrasse 47-51
4020 Linz
web: www.curecomp.com
e-Mail: t.herzog@curecomp.com
tel: +43 (0)732 9015-5563
mobile: +43 (0)664 8867 9829
-----Ursprüngliche Nachricht-----
Von: Antonio [mailto:anttonijo20@gmail.com]
Gesendet: Donnerstag, 21. März 2013 12:28
An: users@openejb.apache.org
Betreff: Injection data not found in JNDI context
Hi there,
I created an ejb library (jar) and I imported into my tomee-jsf project (war).
The problem is that when I try to use the bean of the library I get null pointer exception.
The message I can see on the console is:
WARNING: Injection data not found in JNDI context:
jndiName='comp/env/com.altobridge.omc.gui.login.Authenticator/userDao',
target=com.altobridge.omc.gui.login.Authenticator/userDao
Mar 21, 2013 11:19:26 AM org.apache.openejb.cdi.CdiResourceInjectionService
fillInjectionProperties
WARNING: Injection data not found in JNDI context:
jndiName='comp/env/com.altobridge.omc.gui.login.Authenticator/userDao',
target=com.altobridge.omc.gui.login.Authenticator/userDao
I'm not sure how should I Inject or use it from a different project, should be remote?
Here is the class I want to use
@Local
public interface UserProfileDaoLocal
{
public void createUser( Userprofile user );
public void deleteUser( Userprofile user );
public List<Userprofile> findById( String id ); }
@Stateless
public class UserProfileDao implements UserProfileDaoLocal {
@PersistenceContext( unitName = "aomdb_unit" )
private EntityManager entityManager;
@Override
@TransactionAttribute( TransactionAttributeType.REQUIRED )
public void createUser( Userprofile user )
{
entityManager.persist(user);
}
@Override
@TransactionAttribute( TransactionAttributeType.REQUIRED )
public void deleteUser( Userprofile user )
{
String id =
user.getId();
Userprofile persistenceUser =
entityManager.find( Userprofile.class, id );
entityManager.remove( persistenceUser );
}
@Override
@TransactionAttribute( TransactionAttributeType.REQUIRED )
public List<Userprofile> findById(String id)
{
Query query =
entityManager.createNamedQuery( "Userprofile.findById");
query.setParameter( "id", id );
return query.getResultList();
}
And here the class from where i want to use it
@ManagedBean
@Named("authenticator")
@RequestScoped
public class Authenticator
{
@EJB
private UserProfileDao userDao;
private String userName;
private String password;
private String result;
public Authenticator()
{
this.userName = new String();
this.password = new String();
this.result = new String();
}
public void execute()
{
//userDao.findById(userName);
if ( userName.compareTo("Me") == 0 )
{
result = "Log Success!";
}
else
{
result = "Log Failed!";
}
}
public String getResult() {
return result;
}
public void setResult(String result) {
this.result = result;
}
public String getUserName() {
return userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
}
Regards,
Antonio
--
View this message in context: http://openejb.979440.n4.nabble.com/Injection-data-not-found-in-JNDI-context-tp4661652.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: Injection data not found in JNDI context
Posted by Mark Struberg <st...@yahoo.de>.
according to the spec any EJB is automatically @Local if it doesn't implement more than 1 Interface (apart from javax.ejb.* stuff).
LieGrue,
strub
----- Original Message -----
> From: Romain Manni-Bucau <rm...@gmail.com>
> To: users@tomee.apache.org
> Cc:
> Sent: Friday, March 22, 2013 2:42 PM
> Subject: Re: Injection data not found in JNDI context
>
> well basically if you implement a unique interface it will be the interface
> of your bean if you don't implement any interface the bean class will be
> the interface of your bean.
>
> You asked a local bean (maybe see @Local) and tried to use the impl class
> which is not intended to be done
>
> *Romain Manni-Bucau*
> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> *Blog:
> **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> *Github: https://github.com/rmannibucau*
>
>
>
> 2013/3/22 Antonio <an...@gmail.com>
>
>> Ufff, it worked for me as well.
>>
>> Can I ask why?
>> I understand the EJB forces me to use interfaces and not implementations,
>> right or is there anything else I should know?
>>
>> Regards,
>> Antonio
>>
>>
>>
>> --
>> View this message in context:
>>
> http://openejb.979440.n4.nabble.com/Injection-data-not-found-in-JNDI-context-tp4661652p4661669.html
>> Sent from the OpenEJB User mailing list archive at Nabble.com.
>>
>
Re: Injection data not found in JNDI context
Posted by Romain Manni-Bucau <rm...@gmail.com>.
well basically if you implement a unique interface it will be the interface
of your bean if you don't implement any interface the bean class will be
the interface of your bean.
You asked a local bean (maybe see @Local) and tried to use the impl class
which is not intended to be done
*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*
2013/3/22 Antonio <an...@gmail.com>
> Ufff, it worked for me as well.
>
> Can I ask why?
> I understand the EJB forces me to use interfaces and not implementations,
> right or is there anything else I should know?
>
> Regards,
> Antonio
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Injection-data-not-found-in-JNDI-context-tp4661652p4661669.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>
Re: Injection data not found in JNDI context
Posted by Antonio <an...@gmail.com>.
Ufff, it worked for me as well.
Can I ask why?
I understand the EJB forces me to use interfaces and not implementations,
right or is there anything else I should know?
Regards,
Antonio
--
View this message in context: http://openejb.979440.n4.nabble.com/Injection-data-not-found-in-JNDI-context-tp4661652p4661669.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: Injection data not found in JNDI context
Posted by Romain Manni-Bucau <rm...@gmail.com>.
Take care your sample doesn't work out of the box
that said:
@Stateless
public class UserProfileDao implements UserProfileDaoLocal
and later
@EJB private UserProfileDao userDao;
can't work
@EJB private UserProfileDaoLocal userDao;
works
*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*
2013/3/22 Antonio <an...@gmail.com>
> Hi There,
>
> I created a sample of the project to reproduce it.
> It is here
> https://github.com/Antwane/InjectionDataNotFound
> As a Note the Web modules depends on the Jar module so you might have to
> build everything first from the main folder and then jump in the the Web
> module.
>
> I hope it helps,
> Regards,
> Antonio
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Injection-data-not-found-in-JNDI-context-tp4661652p4661666.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>
Re: Injection data not found in JNDI context
Posted by Antonio <an...@gmail.com>.
Hi There,
I created a sample of the project to reproduce it.
It is here
https://github.com/Antwane/InjectionDataNotFound
As a Note the Web modules depends on the Jar module so you might have to
build everything first from the main folder and then jump in the the Web
module.
I hope it helps,
Regards,
Antonio
--
View this message in context: http://openejb.979440.n4.nabble.com/Injection-data-not-found-in-JNDI-context-tp4661652p4661666.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: Injection data not found in JNDI context
Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi
Can you share a sample reproducing it?
Le 21 mars 2013 12:54, "Antonio" <an...@gmail.com> a écrit :
> Hi there,
>
> I created an ejb library (jar) and I imported into my tomee-jsf project
> (war).
> The problem is that when I try to use the bean of the library I get null
> pointer exception.
> The message I can see on the console is:
>
> WARNING: Injection data not found in JNDI context:
> jndiName='comp/env/com.altobridge.omc.gui.login.Authenticator/userDao',
> target=com.altobridge.omc.gui.login.Authenticator/userDao
> Mar 21, 2013 11:19:26 AM org.apache.openejb.cdi.CdiResourceInjectionService
> fillInjectionProperties
> WARNING: Injection data not found in JNDI context:
> jndiName='comp/env/com.altobridge.omc.gui.login.Authenticator/userDao',
> target=com.altobridge.omc.gui.login.Authenticator/userDao
>
> I'm not sure how should I Inject or use it from a different project, should
> be remote?
> Here is the class I want to use
>
> @Local
> public interface UserProfileDaoLocal
> {
> public void createUser( Userprofile user );
> public void deleteUser( Userprofile user );
> public List<Userprofile> findById( String id );
> }
>
> @Stateless
> public class UserProfileDao implements UserProfileDaoLocal
> {
> @PersistenceContext( unitName = "aomdb_unit" )
> private EntityManager entityManager;
>
>
> @Override
> @TransactionAttribute( TransactionAttributeType.REQUIRED )
> public void createUser( Userprofile user )
> {
> entityManager.persist(user);
> }
>
> @Override
> @TransactionAttribute( TransactionAttributeType.REQUIRED )
> public void deleteUser( Userprofile user )
> {
> String id =
> user.getId();
> Userprofile persistenceUser =
> entityManager.find( Userprofile.class, id );
> entityManager.remove( persistenceUser );
> }
>
> @Override
> @TransactionAttribute( TransactionAttributeType.REQUIRED )
> public List<Userprofile> findById(String id)
> {
> Query query =
> entityManager.createNamedQuery( "Userprofile.findById");
> query.setParameter( "id", id );
> return query.getResultList();
> }
>
> And here the class from where i want to use it
>
> @ManagedBean
> @Named("authenticator")
> @RequestScoped
> public class Authenticator
> {
> @EJB
> private UserProfileDao userDao;
>
> private String userName;
> private String password;
> private String result;
>
> public Authenticator()
> {
> this.userName = new String();
> this.password = new String();
> this.result = new String();
> }
>
>
> public void execute()
> {
> //userDao.findById(userName);
> if ( userName.compareTo("Me") == 0 )
> {
> result = "Log Success!";
> }
> else
> {
> result = "Log Failed!";
> }
>
> }
>
> public String getResult() {
> return result;
> }
>
> public void setResult(String result) {
> this.result = result;
> }
>
> public String getUserName() {
> return userName;
> }
>
> public void setUserName(String userName) {
> this.userName = userName;
> }
>
> public String getPassword() {
> return password;
> }
>
> public void setPassword(String password) {
> this.password = password;
> }
> }
>
> Regards,
> Antonio
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Injection-data-not-found-in-JNDI-context-tp4661652.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>