This content has been marked as final.
Show 4 replies
-
1. Re: JNDI name not bound
jaikiran Jun 20, 2010 1:51 AM (in response to bacooper81)Is it a EJB2.x or EJB3 jar? Does it have a ejb-jar.xml? Please post the console logs (not server.log) from the time the application is being deployed.
-
2. Re: JNDI name not bound
bacooper81 Jun 20, 2010 10:50 AM (in response to jaikiran)Thanks for the reply. Its EJB 3. There is no ejb-jar.xml.
This is the console when jboss starts up:
/Applications/jboss-4.2.3.GA/bin/run.sh -c defaultrun.sh: Could not set maximum file descriptor limit: unlimited/Applications/jboss-4.2.3.GA/bin/run.sh: line 89: ulimit: open files: cannot modify limit: Invalid argument=========================================================================JBoss Bootstrap EnvironmentJBOSS_HOME: /Applications/jboss-4.2.3.GAJAVA: /Library/Java/Home/bin/javaJAVA_OPTS: -Dprogram.name=run.sh -Xdebug -Xrunjdwp:transport=dt_socket,address=127.0.0.1:53133,suspend=y,server=nCLASSPATH: /Applications/jboss-4.2.3.GA/bin/run.jar=========================================================================Connected to the target VM, address: '127.0.0.1:53133', transport: 'socket'09:44:07,658 INFO [Server] Starting JBoss (MX MicroKernel)...09:44:07,659 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)09:44:07,661 INFO [Server] Home Dir: /Applications/jboss-4.2.3.GA09:44:07,661 INFO [Server] Home URL: file:/Applications/jboss-4.2.3.GA/09:44:07,662 INFO [Server] Patch URL: null09:44:07,662 INFO [Server] Server Name: default09:44:07,663 INFO [Server] Server Home Dir: /Applications/jboss-4.2.3.GA/server/default09:44:07,663 INFO [Server] Server Home URL: file:/Applications/jboss-4.2.3.GA/server/default/09:44:07,663 INFO [Server] Server Log Dir: /Applications/jboss-4.2.3.GA/server/default/log09:44:07,663 INFO [Server] Server Temp Dir: /Applications/jboss-4.2.3.GA/server/default/tmp09:44:07,664 INFO [Server] Root Deployment Filename: jboss-service.xml09:44:08,039 INFO [ServerInfo] Java version: 1.6.0_15,Apple Inc.09:44:08,039 INFO [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 14.1-b02-90,Apple Inc.09:44:08,039 INFO [ServerInfo] OS-System: Mac OS X 10.6.3,x86_6409:44:08,552 INFO [Server] Core system initialized09:44:10,958 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/09:44:10,960 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml09:44:11,526 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.09:44:11,526 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer09:44:11,809 INFO [TransactionManagerService] Starting recovery manager09:44:11,909 INFO [TransactionManagerService] Recovery manager started09:44:11,909 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference09:44:14,800 ERROR [STDERR] [Deprecated] Xalan: org.apache.xml.serializer.XMLEntities09:44:15,267 INFO [EJB3Deployer] Starting java:comp multiplexer09:44:18,184 INFO [NativeServerConfig] JBoss Web Services - Native09:44:18,184 INFO [NativeServerConfig] jbossws-3.0.1-native-2.0.4.GA (build=200803312044)09:44:19,249 INFO [Embedded] Catalina naming disabled09:44:19,461 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /Applications/IntelliJ IDEA 8.1.3.app/Contents/Resources/Java:/System/Library/PrivateFrameworks/JavaApplicationLauncher.framework/Resources:.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java09:44:19,536 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-808009:44:20,254 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-144309:44:20,255 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-800909:44:20,255 INFO [Catalina] Initialization processed in 1006 ms09:44:20,256 INFO [StandardService] Starting service jboss.web09:44:20,259 INFO [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA09:44:20,328 INFO [Catalina] Server startup in 72 ms09:44:20,469 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/09:44:21,195 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/09:44:21,407 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws-context.war/09:44:21,508 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/09:44:22,469 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/09:44:23,298 INFO [MailService] Mail Service bound to java:/Mail09:44:23,499 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar09:44:23,540 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar09:44:23,570 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar09:44:23,601 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar09:44:23,702 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar09:44:23,750 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar09:44:23,802 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar09:44:23,815 INFO [QuartzResourceAdapter] start quartz!!!09:44:23,890 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main09:44:23,967 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.09:44:23,971 INFO [RAMJobStore] RAMJobStore initialized.09:44:23,975 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'09:44:23,975 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.209:44:23,975 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.09:44:24,226 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=blunt-ds' to JNDI name 'java:blunt-ds'09:44:24,336 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=castOfShadows-ds' to JNDI name 'java:castOfShadows-ds'09:44:25,046 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'09:44:25,353 INFO [A] Bound to JNDI name: queue/A09:44:25,355 INFO [B] Bound to JNDI name: queue/B09:44:25,356 INFO [C] Bound to JNDI name: queue/C09:44:25,358 INFO [D] Bound to JNDI name: queue/D09:44:25,359 INFO [ex] Bound to JNDI name: queue/ex09:44:25,380 INFO [testTopic] Bound to JNDI name: topic/testTopic09:44:25,382 INFO [securedTopic] Bound to JNDI name: topic/securedTopic09:44:25,384 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic09:44:25,387 INFO [testQueue] Bound to JNDI name: queue/testQueue09:44:25,429 INFO [UILServerILService] JBossMQ UIL service available at : /127.0.0.1:809309:44:25,467 INFO [DLQ] Bound to JNDI name: queue/DLQ09:44:25,629 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'09:44:25,872 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=lawless-ds' to JNDI name 'java:lawless-ds'09:44:26,011 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=sloop-ds' to JNDI name 'java:sloop-ds'09:44:26,158 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/09:44:26,671 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-808009:44:26,821 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-144309:44:26,857 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-800909:44:26,891 INFO [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)] Started in 19s:225msConnected to server[2010-06-20 09:44:26,921] Facet javaEEApplication: Facet is being deployed, please wait...09:44:27,359 INFO [EARDeployer] Init J2EE application: file:/Users/bcooper/Projects/Lawless/out/lawless.ear09:44:36,848 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.entity.PersistenceUnitDeployment09:44:36,853 INFO [JmxKernelAbstraction] installing MBean: persistence.units:ear=lawless.ear,jar=lawless.jar,unitName=lawless with dependencies:09:44:36,853 INFO [JmxKernelAbstraction] jboss.jca:name=lawless-ds,service=DataSourceBinding09:44:36,856 INFO [PersistenceUnitDeployment] Starting persistence unit persistence.units:ear=lawless.ear,jar=lawless.jar,unitName=lawless09:44:36,887 INFO [Version] Hibernate EntityManager 3.2.1.GA09:44:36,908 INFO [Version] Hibernate Annotations 3.2.1.GA09:44:36,918 INFO [Environment] Hibernate 3.2.4.sp109:44:36,928 INFO [Environment] hibernate.properties not found09:44:36,931 INFO [Environment] Bytecode provider name : javassist09:44:36,938 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling09:44:37,136 INFO [Ejb3Configuration] found EJB3 @MappedSuperclass: com.lawless.entity.BaseEntity09:44:37,137 INFO [Ejb3Configuration] found EJB3 Entity bean: com.lawless.entity.Category09:44:37,174 INFO [Configuration] Reading mappings from resource : META-INF/orm.xml09:44:37,178 INFO [Ejb3Configuration] [PersistenceUnit: lawless] no META-INF/orm.xml found09:44:37,255 INFO [AnnotationBinder] Binding entity from annotated class: com.lawless.entity.Category09:44:37,266 INFO [QueryBinder] Binding Named query: category_findAll => select c from Category c order by c.name09:44:37,309 INFO [EntityBinder] Bind entity com.lawless.entity.Category on table Category09:44:37,579 INFO [ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider09:44:37,585 INFO [InjectedDataSourceConnectionProvider] Using provided datasource09:44:37,822 INFO [SettingsFactory] RDBMS: MySQL, version: 5.1.3909:44:37,823 INFO [SettingsFactory] JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-5.0.4 ( $Date: 2006-10-19 17:47:48 +0200 (Thu, 19 Oct 2006) $, $Revision: 5908 $ )09:44:37,884 INFO [Dialect] Using dialect: org.hibernate.dialect.MySQLDialect09:44:37,892 INFO [TransactionFactoryFactory] Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory09:44:37,896 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup09:44:37,899 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup09:44:37,899 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled09:44:37,899 INFO [SettingsFactory] Automatic session close at end of transaction: disabled09:44:37,899 INFO [SettingsFactory] JDBC batch size: 1509:44:37,899 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled09:44:37,901 INFO [SettingsFactory] Scrollable result sets: enabled09:44:37,902 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): enabled09:44:37,902 INFO [SettingsFactory] Connection release mode: auto09:44:37,903 INFO [SettingsFactory] Maximum outer join fetch depth: 209:44:37,903 INFO [SettingsFactory] Default batch fetch size: 109:44:37,903 INFO [SettingsFactory] Generate SQL with comments: disabled09:44:37,903 INFO [SettingsFactory] Order SQL updates by primary key: disabled09:44:37,903 INFO [SettingsFactory] Order SQL inserts for batching: disabled09:44:37,904 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory09:44:37,908 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory09:44:37,908 INFO [SettingsFactory] Query language substitutions: {}09:44:37,908 INFO [SettingsFactory] JPA-QL strict compliance: enabled09:44:37,908 INFO [SettingsFactory] Second-level cache: enabled09:44:37,908 INFO [SettingsFactory] Query cache: disabled09:44:37,909 INFO [SettingsFactory] Cache provider: org.hibernate.cache.HashtableCacheProvider09:44:37,913 INFO [SettingsFactory] Optimize cache for minimal puts: disabled09:44:37,913 INFO [SettingsFactory] Cache region prefix: lawless_ear,lawless_jar,lawless09:44:37,913 INFO [SettingsFactory] Structured second-level cache entries: disabled09:44:37,927 INFO [SettingsFactory] Statistics: disabled09:44:37,927 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled09:44:37,928 INFO [SettingsFactory] Default entity-mode: pojo09:44:37,928 INFO [SettingsFactory] Named query checking : enabled09:44:37,986 INFO [SessionFactoryImpl] building session factory09:44:38,388 INFO [SessionFactoryObjectFactory] Factory name: persistence.units:ear=lawless.ear,jar=lawless.jar,unitName=lawless09:44:38,390 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}09:44:38,398 INFO [SessionFactoryObjectFactory] Bound factory to JNDI name: persistence.units:ear=lawless.ear,jar=lawless.jar,unitName=lawless09:44:38,398 WARN [SessionFactoryObjectFactory] InitialContext did not implement EventContext09:44:38,404 INFO [SchemaUpdate] Running hbm2ddl schema update09:44:38,404 INFO [SchemaUpdate] fetching database metadata09:44:38,417 INFO [SchemaUpdate] updating schema09:44:38,444 INFO [TableMetadata] table found: lawless.Category09:44:38,444 INFO [TableMetadata] columns: [id, modifieddate, name, createddate]09:44:38,444 INFO [TableMetadata] foreign keys: []09:44:38,444 INFO [TableMetadata] indexes: [primary]09:44:38,445 INFO [SchemaUpdate] schema update complete09:44:38,449 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}09:44:39,012 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer09:44:39,019 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=lawless.ear,jar=lawless.jar,name=ListingManagerBean,service=EJB3 with dependencies:09:44:39,019 INFO [JmxKernelAbstraction] persistence.units:ear=lawless.ear,jar=lawless.jar,unitName=lawless09:44:39,090 INFO [EJBContainer] STARTED EJB: com.lawless.manager.ListingManagerBean ejbName: ListingManagerBean09:44:39,116 INFO [EJB3Deployer] Deployed: file:/Applications/jboss-4.2.3.GA/server/default/tmp/deploy/tmp2113655771296867926lawless.ear-contents/lawless.jar09:44:39,137 WARN [TomcatDeployer] Failed to map vhost: www.lawless.com09:44:39,137 WARN [TomcatDeployer] Failed to map vhost: lawless.com09:44:39,137 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../tmp/deploy/tmp2113655771296867926lawless.ear-contents/lawless-exp.war/09:44:39,212 WARN [config] Unable to process deployment descriptor for context '/conf'09:44:40,150 WARN [config] Unable to process deployment descriptor for context '/data'09:44:40,287 WARN [config] Unable to process deployment descriptor for context '/deploy'09:44:40,501 WARN [config] Unable to process deployment descriptor for context '/lib'09:44:40,586 WARN [config] Unable to process deployment descriptor for context '/log'09:44:40,690 WARN [config] Unable to process deployment descriptor for context '/tmp'09:44:40,837 WARN [config] Unable to process deployment descriptor for context '/work'09:44:41,595 INFO [BootstrapPropertyResolver] Class implementing/extending ActionResolver found in web.xml: com.lawless.controller.framework.LawlessActionResolver09:44:41,601 INFO [ResolverUtil] Scanning for classes in [/Applications/jboss-4.2.3.GA/server/default/tmp/deploy/tmp2113655771296867926lawless.ear-contents/lawless-exp.war/WEB-INF/classes/com/lawless/controller/action/] matching criteria: is assignable to ActionBean09:44:41,647 INFO [DefaultLocalePicker] No locale list specified, defaulting to single locale: en_US09:44:41,668 INFO [DefaultMultipartWrapperFactory] Using net.sourceforge.stripes.controller.multipart.CosMultipartWrapper as MultipartWrapper implementation.09:44:41,681 WARN [DefaultConfiguration] Interceptor class net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor is configured to run more than once for RequestInit09:44:41,681 WARN [DefaultConfiguration] Interceptor class net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor is configured to run more than once for BindingAndValidation09:44:41,681 WARN [DefaultConfiguration] Interceptor class net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor is configured to run more than once for EventHandling09:44:41,681 WARN [DefaultConfiguration] Interceptor class net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor is configured to run more than once for HandlerResolution09:44:41,681 WARN [DefaultConfiguration] Interceptor class net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor is configured to run more than once for RequestComplete09:44:41,681 WARN [DefaultConfiguration] Interceptor class net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor is configured to run more than once for ActionBeanResolution09:44:41,681 WARN [DefaultConfiguration] Interceptor class net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor is configured to run more than once for CustomValidation09:44:41,682 WARN [DefaultConfiguration] Interceptor class net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor is configured to run more than once for ResolutionExecution09:44:41,682 INFO [StripesFilter] Stripes Initialization Complete. Version: 1.5.1, Build: 110209:44:41,687 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../tmp/deploy/tmp2113655771296867926lawless.ear-contents/lawless-exp.war/09:44:41,746 WARN [config] Unable to process deployment descriptor for context '/conf'09:44:41,929 WARN [config] Unable to process deployment descriptor for context '/data'09:44:42,091 WARN [config] Unable to process deployment descriptor for context '/deploy'09:44:42,182 WARN [config] Unable to process deployment descriptor for context '/lib'09:44:42,277 WARN [config] Unable to process deployment descriptor for context '/log'09:44:42,400 WARN [config] Unable to process deployment descriptor for context '/tmp'09:44:42,492 WARN [config] Unable to process deployment descriptor for context '/work'09:44:43,568 INFO [BootstrapPropertyResolver] Class implementing/extending ActionResolver found in web.xml: com.lawless.controller.framework.LawlessActionResolver09:44:43,577 INFO [ResolverUtil] Scanning for classes in [/Applications/jboss-4.2.3.GA/server/default/tmp/deploy/tmp2113655771296867926lawless.ear-contents/lawless-exp.war/WEB-INF/classes/com/lawless/controller/action/] matching criteria: is assignable to ActionBean09:44:43,628 INFO [DefaultLocalePicker] No locale list specified, defaulting to single locale: en_US09:44:43,658 INFO [DefaultMultipartWrapperFactory] Using net.sourceforge.stripes.controller.multipart.CosMultipartWrapper as MultipartWrapper implementation.09:44:43,676 WARN [DefaultConfiguration] Interceptor class net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor is configured to run more than once for ActionBeanResolution09:44:43,676 WARN [DefaultConfiguration] Interceptor class net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor is configured to run more than once for RequestComplete09:44:43,676 WARN [DefaultConfiguration] Interceptor class net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor is configured to run more than once for CustomValidation09:44:43,676 WARN [DefaultConfiguration] Interceptor class net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor is configured to run more than once for EventHandling09:44:43,676 WARN [DefaultConfiguration] Interceptor class net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor is configured to run more than once for HandlerResolution09:44:43,676 WARN [DefaultConfiguration] Interceptor class net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor is configured to run more than once for BindingAndValidation09:44:43,676 WARN [DefaultConfiguration] Interceptor class net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor is configured to run more than once for RequestInit09:44:43,676 WARN [DefaultConfiguration] Interceptor class net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor is configured to run more than once for ResolutionExecution09:44:43,677 INFO [StripesFilter] Stripes Initialization Complete. Version: 1.5.1, Build: 110209:44:43,683 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../tmp/deploy/tmp2113655771296867926lawless.ear-contents/lawless-exp.war/09:44:44,270 INFO [BootstrapPropertyResolver] Class implementing/extending ActionResolver found in web.xml: com.lawless.controller.framework.LawlessActionResolver09:44:44,277 INFO [ResolverUtil] Scanning for classes in [/Applications/jboss-4.2.3.GA/server/default/tmp/deploy/tmp2113655771296867926lawless.ear-contents/lawless-exp.war/WEB-INF/classes/com/lawless/controller/action/] matching criteria: is assignable to ActionBean09:44:44,357 INFO [DefaultLocalePicker] No locale list specified, defaulting to single locale: en_US09:44:44,385 INFO [DefaultMultipartWrapperFactory] Using net.sourceforge.stripes.controller.multipart.CosMultipartWrapper as MultipartWrapper implementation.09:44:44,405 WARN [DefaultConfiguration] Interceptor class net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor is configured to run more than once for RequestComplete09:44:44,405 WARN [DefaultConfiguration] Interceptor class net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor is configured to run more than once for EventHandling09:44:44,405 WARN [DefaultConfiguration] Interceptor class net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor is configured to run more than once for RequestInit09:44:44,405 WARN [DefaultConfiguration] Interceptor class net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor is configured to run more than once for CustomValidation09:44:44,405 WARN [DefaultConfiguration] Interceptor class net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor is configured to run more than once for ActionBeanResolution09:44:44,405 WARN [DefaultConfiguration] Interceptor class net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor is configured to run more than once for ResolutionExecution09:44:44,405 WARN [DefaultConfiguration] Interceptor class net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor is configured to run more than once for HandlerResolution09:44:44,405 WARN [DefaultConfiguration] Interceptor class net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor is configured to run more than once for BindingAndValidation09:44:44,406 INFO [StripesFilter] Stripes Initialization Complete. Version: 1.5.1, Build: 110209:44:44,446 INFO [EARDeployer] Started J2EE application: file:/Users/bcooper/Projects/Lawless/out/lawless.ear[2010-06-20 09:44:44,449] Facet javaEEApplication: Facet is deployed successfullyThis is the console after I hit the web page with my browser:09:45:22,761 INFO [ExpressionValidator] Expression validation will be performed using: net.sourceforge.stripes.validation.expression.Jsp21ExpressionExecutor09:45:22,895 WARN [DefaultExceptionHandler] Unhandled exception caught by the Stripes default exception handler.com.google.inject.ProvisionException: Error while locating instancebound to com.lawless.manager.ListingManagerfor member at com.lawless.controller.action.CategoriesAction.listingManager(CategoriesAction.java:15)at com.google.inject.InjectorImpl$SingleFieldInjector.inject(InjectorImpl.java:486)at com.google.inject.InjectorImpl.injectMembers(InjectorImpl.java:674)at com.google.inject.InjectorImpl$8.call(InjectorImpl.java:682)at com.google.inject.InjectorImpl$8.call(InjectorImpl.java:681)at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:747)at com.google.inject.InjectorImpl.injectMembers(InjectorImpl.java:680)at com.lawless.controller.interceptor.GuiceInterceptor.intercept(GuiceInterceptor.java:19)at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)at net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:113)at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)at net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:74)at net.sourceforge.stripes.controller.DispatcherHelper.resolveActionBean(DispatcherHelper.java:102)at net.sourceforge.stripes.controller.DispatcherServlet.resolveActionBean(DispatcherServlet.java:238)at net.sourceforge.stripes.controller.DispatcherServlet.service(DispatcherServlet.java:141)at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)at net.sourceforge.stripes.controller.DynamicMappingFilter$2.doFilter(DynamicMappingFilter.java:364)at net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:247)at net.sourceforge.stripes.controller.DynamicMappingFilter.doFilter(DynamicMappingFilter.java:351)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)at java.lang.Thread.run(Thread.java:637)Caused by: java.lang.RuntimeException: javax.naming.NameNotFoundException: lawless not boundat com.google.inject.jndi.JndiIntegration$JndiProvider.get(JndiIntegration.java:62)at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)at com.google.inject.InjectorImpl$SingleFieldInjector.inject(InjectorImpl.java:473)... 35 moreCaused by: javax.naming.NameNotFoundException: lawless not boundat org.jnp.server.NamingServer.getBinding(NamingServer.java:529)at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)at org.jnp.server.NamingServer.getObject(NamingServer.java:543)at org.jnp.server.NamingServer.lookup(NamingServer.java:267)at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667)at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)at javax.naming.InitialContext.lookup(InitialContext.java:392)at com.google.inject.jndi.JndiIntegration$JndiProvider.get(JndiIntegration.java:59)... 37 more09:45:22,897 ERROR [[default]] Servlet.service() for servlet default threw exceptionjavax.naming.NameNotFoundException: lawless not boundat org.jnp.server.NamingServer.getBinding(NamingServer.java:529)at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)at org.jnp.server.NamingServer.getObject(NamingServer.java:543)at org.jnp.server.NamingServer.lookup(NamingServer.java:267)at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667)at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)at javax.naming.InitialContext.lookup(InitialContext.java:392)at com.google.inject.jndi.JndiIntegration$JndiProvider.get(JndiIntegration.java:59)at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)at com.google.inject.InjectorImpl$SingleFieldInjector.inject(InjectorImpl.java:473)at com.google.inject.InjectorImpl.injectMembers(InjectorImpl.java:674)at com.google.inject.InjectorImpl$8.call(InjectorImpl.java:682)at com.google.inject.InjectorImpl$8.call(InjectorImpl.java:681)at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:747)at com.google.inject.InjectorImpl.injectMembers(InjectorImpl.java:680)at com.lawless.controller.interceptor.GuiceInterceptor.intercept(GuiceInterceptor.java:19)at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)at net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:113)at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)at net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:74)at net.sourceforge.stripes.controller.DispatcherHelper.resolveActionBean(DispatcherHelper.java:102)at net.sourceforge.stripes.controller.DispatcherServlet.resolveActionBean(DispatcherServlet.java:238)at net.sourceforge.stripes.controller.DispatcherServlet.service(DispatcherServlet.java:141)at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)at net.sourceforge.stripes.controller.DynamicMappingFilter$2.doFilter(DynamicMappingFilter.java:364)at net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:247)at net.sourceforge.stripes.controller.DynamicMappingFilter.doFilter(DynamicMappingFilter.java:351)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)at java.lang.Thread.run(Thread.java:637) -
3. Re: JNDI name not bound
jaikiran Jun 20, 2010 11:08 AM (in response to bacooper81)From the logs:
09:44:39,090 INFO [EJBContainer] STARTED EJB: com.lawless.manager.ListingManagerBean ejbName: ListingManagerBean
It does deploy the bean. Can you post the JNDIView tree contents? Maybe it's being bound to a JNDI name which you are not expecting.
-
4. Re: JNDI name not bound
bacooper81 Jun 20, 2010 3:48 PM (in response to jaikiran)Global JNDI Namespace
+- TopicConnectionFactory (class: org.jboss.naming.LinkRefPair) +- jmx (class: org.jnp.interfaces.NamingContext) | +- invoker (class: org.jnp.interfaces.NamingContext) | | +- RMIAdaptor (proxy: $Proxy47 implements interface org.jboss.jmx.adaptor.rmi.RMIAdaptor,interface org.jboss.jmx.adaptor.rmi.RMIAdaptorExt) | +- rmi (class: org.jnp.interfaces.NamingContext) | | +- RMIAdaptor[link -> jmx/invoker/RMIAdaptor] (class: javax.naming.LinkRef) +- HTTPXAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory) +- ConnectionFactory (class: org.jboss.mq.SpyConnectionFactory) +- UserTransactionSessionFactory (proxy: $Proxy15 implements interface org.jboss.tm.usertx.interfaces.UserTransactionSessionFactory) +- HTTPConnectionFactory (class: org.jboss.mq.SpyConnectionFactory) +- XAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory) +- TransactionSynchronizationRegistry (class: com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionSynchronizationRegistryImple) +- persistence.units:ear=lawless.ear,jar=lawless.jar,unitName=lawless (class: org.hibernate.impl.SessionFactoryImpl) +- UserTransaction (class: org.jboss.tm.usertx.client.ClientUserTransaction) +- UILXAConnectionFactory[link -> XAConnectionFactory] (class: javax.naming.LinkRef) +- UIL2XAConnectionFactory[link -> XAConnectionFactory] (class: javax.naming.LinkRef) +- queue (class: org.jnp.interfaces.NamingContext) | +- A (class: org.jboss.mq.SpyQueue) | +- testQueue (class: org.jboss.mq.SpyQueue) | +- ex (class: org.jboss.mq.SpyQueue) | +- DLQ (class: org.jboss.mq.SpyQueue) | +- D (class: org.jboss.mq.SpyQueue) | +- C (class: org.jboss.mq.SpyQueue) | +- B (class: org.jboss.mq.SpyQueue) +- topic (class: org.jnp.interfaces.NamingContext) | +- testDurableTopic (class: org.jboss.mq.SpyTopic) | +- testTopic (class: org.jboss.mq.SpyTopic) | +- securedTopic (class: org.jboss.mq.SpyTopic) +- console (class: org.jnp.interfaces.NamingContext) | +- PluginManager (proxy: $Proxy48 implements interface org.jboss.console.manager.PluginManagerMBean) +- UIL2ConnectionFactory[link -> ConnectionFactory] (class: javax.naming.LinkRef) +- HiLoKeyGeneratorFactory (class: org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory) +- UILConnectionFactory[link -> ConnectionFactory] (class: javax.naming.LinkRef) +- QueueConnectionFactory (class: org.jboss.naming.LinkRefPair) +- UUIDKeyGeneratorFactory (class: org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactory)