From: <ale...@jb...> - 2006-06-26 16:28:22
|
Jira issue for this bug: http://jira.jboss.com/jira/browse/JBAS-3341 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953486#3953486 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953486 |
From: <ale...@jb...> - 2006-06-28 10:03:52
|
Actually, I don't think the changes committed as a fix for JBAS-993 introduced the bug. Before the changes, the initialization of the commands of every JDBCStoreManager in the EjbMOdule was triggered by the startService call on the last EntityContainer in the EjbModule. So, by that time all the other EntityContainers in the EjbModule have successfully passed the startService phase. The right service to depend on in this case would be the EjbModule, not the EntityContainer. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953949#3953949 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953949 |
From: <ale...@jb...> - 2006-06-28 10:13:10
|
But if I move startPmAndInterceptors() to the EntityContainer.startService() the testcase passes... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953951#3953951 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953951 |
From: <ale...@jb...> - 2006-06-28 10:23:13
|
Actually that's not surprising since the testcase has only one EJB. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953957#3953957 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953957 |
From: <sco...@jb...> - 2006-06-28 14:25:50
|
Ok, I see. Where was the logic for the last EntityContainer startService call in the EjbModule? I don't see it looking at the EjbModule, EntityContainer of 4.0.3SP1. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954054#3954054 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954054 |
From: <ale...@jb...> - 2006-06-28 14:45:47
|
I am checking out 4.0.3.SP1 now. But I guess it's the same as in the current EjbModule, i.e. in the EjbModule.startService. I was thinking about moving persistenceManager.start() to EntityContainer.createService() right after persistenceManager.create(). At this point all plugins are created and set, not started though. The start() of the persistenceManager will use the DataSource and possibly the TransactionManager. Is this acceptable? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954060#3954060 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954060 |
From: <ale...@jb...> - 2006-06-28 14:56:09
|
BTW, what is the correct tag name for 4.0.3.SP1? JBoss_4_0_3_SP1 doesn't seem to be correct. Is it Branch_4_0_3_SP1? Then I can see JBoss_4_0_3_SP1_CP_2006_06 and then patches. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954070#3954070 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954070 |
From: <sco...@jb...> - 2006-06-28 15:06:52
|
JBoss_4_0_3_SP1 is the correct cvs tag for the 4.0.3.SP1 release. I'm using it to browser diffs between versions. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954078#3954078 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954078 |
From: <ale...@jb...> - 2006-06-28 15:27:28
|
Right, I confused it with Branch_4_0_3_SP1 again. Containers are started in the same way, i.e. in the EjbModule.startService by invoking serviceController.start(con.getJmxName()). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954086#3954086 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954086 |
From: <sco...@jb...> - 2006-06-28 17:15:22
|
"ale...@jb..." wrote : | I was thinking about moving persistenceManager.start() to EntityContainer.createService() right after persistenceManager.create(). At this point all plugins are created and set, not started though. | The start() of the persistenceManager will use the DataSource and possibly the TransactionManager. Is this acceptable? It depends on how fine grained we want to be with dependencies. The ejb-deployer should have a dependency on the TM (and it does), but the datasouce can be deployment specific so we would have to rely on startup semantics other than dependencies for this to work. The PM should have its datasource injected via a dependency such that its not really started until the datasource is available. Back to the original JBAS-993, can't there just be better tracking of the ejbs causing the errors rather than having to start the PM differently? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954142#3954142 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954142 |
From: <ale...@jb...> - 2006-06-28 17:42:31
|
The whole issue was about a message like this: "failed to start EJB1: query in EJB2 could not be compiled". The exception is thrown from the last entity (as a service) in the module. So the causing exception is wrapped. BTW, moving pm.start() to EntityContainer.createService() won't fix the exception message but only the dependency issue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954152#3954152 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954152 |
From: <ale...@jb...> - 2006-06-28 22:03:58
|
"Scott" wrote : but the datasouce can be deployment specific so we would have to rely on startup semantics other than dependencies for this to work. I think, a datasource should always be deployed before EJBs. EJBs may need a datasource to start but datasources don't need EJBs. "Scott" wrote : The PM should have its datasource injected via a dependency such that its not really started until the datasource is available. There are cyclic dependencies: EntityContainer cannot start until its PM is started while the PM is started from the EntityContainer.startService(). PM.start() should be called before EntityContainer.startService(). Maybe, EjbModule.createService() after the loop that creates all the containers, there should be another one that starts PMs. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954199#3954199 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954199 |
From: <ale...@jb...> - 2006-06-30 09:56:41
|
So, is it ok to assume that after EntityContainer.createService() returns, the DataSource is availble and can be used? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954622#3954622 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954622 |
From: <sco...@jb...> - 2006-06-30 15:25:25
|
It does not match our service life cycle contract in that a service is generally not usable until its started and the dependent service has its start called. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954692#3954692 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954692 |
From: <ale...@jb...> - 2006-06-30 22:15:25
|
Then the only way to fix the dependency issue I see is to to move PM initialization to EntityContainer.createService and PM start to EntityContainer.startService. So that the first container to start will start all the PM's in the module, not the last container like it has been until now. But this will reopen JBAS-993 again. Other alternatives I can think of are broken in some way. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954767#3954767 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954767 |
From: <sco...@jb...> - 2006-07-01 11:31:06
|
I would have to see an example deployment that illustrates the 993 issue and why these exceptions cannot be collected in the EjbModule or elsewhere for latter reporting. The 993 issue could also be handle by logging and a summary see the log exception. Breaking the service lifecycle for this 993 issue is not worth it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954798#3954798 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954798 |
From: <ale...@jb...> - 2006-07-01 12:14:50
|
The more I think about it the more I get convinced that to depend on a specific EJB is not a good idea. The right service to depend on would be the EjbModule. Suppose there is an EJB module that contains to EJBs A and B. The startService will be called on one of them first then on the other one. So, if A returns from its startService but the B's startService hasn't yet been called, can we assume that the A bean is usable? The may have CMR or call each other, etc So, I think, it's ok to assume that in EjbModule.startService we can use the DataSource. And so, we can complete the initialization of all the PMs before starting the EJB containers. What do you think about this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954804#3954804 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954804 |
From: <sco...@jb...> - 2006-07-01 13:17:49
|
Ok. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954811#3954811 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954811 |
From: <ale...@jb...> - 2006-07-01 17:48:53
|
Here is the log that shows issue JBAS-993. Service controller complains about the EJB A while the EJB C is one that is guilty. 2006-07-01 19:41:43,091 INFO [org.jboss.system.server.Server] JBoss (MX MicroKernel) [5.0.0.Alpha (build: CVSTag=HEAD date=200606231301)] Started in 1m:13s:576ms | 2006-07-01 19:42:18,742 INFO [org.jboss.ejb.EjbModule] Deploying B | 2006-07-01 19:42:19,213 INFO [org.jboss.ejb.EjbModule] Deploying C | 2006-07-01 19:42:19,233 INFO [org.jboss.ejb.EjbModule] Deploying A | 2006-07-01 19:42:19,253 INFO [org.jboss.ejb.EjbModule] Deploying Facade | 2006-07-01 19:42:19,944 DEBUG [org.jboss.ejb.EntityContainer] Creating jboss.j2ee:jndiName=BLocal,service=EJB | 2006-07-01 19:42:20,044 DEBUG [org.jboss.ejb.EntityContainer] Created jboss.j2ee:jndiName=BLocal,service=EJB | 2006-07-01 19:42:20,064 DEBUG [org.jboss.ejb.EntityContainer] Creating jboss.j2ee:jndiName=CLocal,service=EJB | 2006-07-01 19:42:20,094 DEBUG [org.jboss.ejb.EntityContainer] Created jboss.j2ee:jndiName=CLocal,service=EJB | 2006-07-01 19:42:20,124 DEBUG [org.jboss.ejb.EntityContainer] Creating jboss.j2ee:jndiName=ALocal,service=EJB | 2006-07-01 19:42:20,164 DEBUG [org.jboss.ejb.EntityContainer] Created jboss.j2ee:jndiName=ALocal,service=EJB | 2006-07-01 19:42:20,265 DEBUG [org.jboss.ejb.EntityContainer] Starting jboss.j2ee:jndiName=BLocal,service=EJB | 2006-07-01 19:42:20,265 DEBUG [org.jboss.ejb.EntityContainer] Begin java:comp/env for EJB: B | 2006-07-01 19:42:20,275 DEBUG [org.jboss.ejb.EntityContainer] TCL: org.jboss.util.loading.DelegatingClassLoader@6972f1 | 2006-07-01 19:42:20,285 DEBUG [org.jboss.ejb.EntityContainer] Unable to retrieve orbjavax.management.InstanceNotFoundException: jboss:service=CorbaORB is not registered. | 2006-07-01 19:42:20,305 DEBUG [org.jboss.ejb.EntityContainer] End java:comp/env for EJB: B | 2006-07-01 19:42:20,325 INFO [org.jboss.ejb.plugins.local.BaseLocalProxyFactory] Bound EJB LocalHome 'B' to jndi 'BLocal' | 2006-07-01 19:42:21,086 DEBUG [org.jboss.ejb.EntityContainer] Started jboss.j2ee:jndiName=BLocal,service=EJB | 2006-07-01 19:42:21,096 DEBUG [org.jboss.ejb.EntityContainer] Starting jboss.j2ee:jndiName=CLocal,service=EJB | 2006-07-01 19:42:21,096 DEBUG [org.jboss.ejb.EntityContainer] Begin java:comp/env for EJB: C | 2006-07-01 19:42:21,106 DEBUG [org.jboss.ejb.EntityContainer] TCL: org.jboss.util.loading.DelegatingClassLoader@193b604 | 2006-07-01 19:42:21,116 DEBUG [org.jboss.ejb.EntityContainer] Unable to retrieve orbjavax.management.InstanceNotFoundException: jboss:service=CorbaORB is not registered. | 2006-07-01 19:42:21,146 DEBUG [org.jboss.ejb.EntityContainer] End java:comp/env for EJB: C | 2006-07-01 19:42:21,166 INFO [org.jboss.ejb.plugins.local.BaseLocalProxyFactory] Bound EJB LocalHome 'C' to jndi 'CLocal' | 2006-07-01 19:42:21,176 DEBUG [org.jboss.ejb.EntityContainer] Started jboss.j2ee:jndiName=CLocal,service=EJB | 2006-07-01 19:42:21,186 DEBUG [org.jboss.ejb.EntityContainer] Starting jboss.j2ee:jndiName=ALocal,service=EJB | 2006-07-01 19:42:21,196 DEBUG [org.jboss.ejb.EntityContainer] Begin java:comp/env for EJB: A | 2006-07-01 19:42:21,196 DEBUG [org.jboss.ejb.EntityContainer] TCL: org.jboss.util.loading.DelegatingClassLoader@12801c5 | 2006-07-01 19:42:21,206 DEBUG [org.jboss.ejb.EntityContainer] Unable to retrieve orbjavax.management.InstanceNotFoundException: jboss:service=CorbaORB is not registered. | 2006-07-01 19:42:21,236 DEBUG [org.jboss.ejb.EntityContainer] End java:comp/env for EJB: A | 2006-07-01 19:42:21,256 INFO [org.jboss.ejb.plugins.local.BaseLocalProxyFactory] Bound EJB LocalHome 'A' to jndi 'ALocal' | 2006-07-01 19:42:22,638 ERROR [org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.C#findAll] Encountered "o" at line 1, column 15. | Was expecting: | <IDENTIFICATION_VARIABLE> ... | | org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered "o" at line 1, column 15. | Was expecting: | <IDENTIFICATION_VARIABLE> ... | | at org.jboss.ejb.plugins.cmp.ejbql.EJBQLParser.generateParseException(EJBQLParser.java:4360) | at org.jboss.ejb.plugins.cmp.ejbql.EJBQLParser.jj_consume_token(EJBQLParser.java:4237) | at org.jboss.ejb.plugins.cmp.ejbql.EJBQLParser.IdentificationVariable(EJBQLParser.java:2256) | at org.jboss.ejb.plugins.cmp.ejbql.EJBQLParser.SelectClause(EJBQLParser.java:515) | at org.jboss.ejb.plugins.cmp.ejbql.EJBQLParser.EJBQL(EJBQLParser.java:172) | at org.jboss.ejb.plugins.cmp.ejbql.EJBQLParser.parse(EJBQLParser.java:65) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLCompiler.compileEJBQL(JDBCEJBQLCompiler.java:167) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.<init>(JDBCEJBQLQuery.java:57) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.createEJBQLQuery(JDBCCommandFactory.java:75) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCQueryManager.start(JDBCQueryManager.java:286) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDBCStoreManager.java:505) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:396) | at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:172) | at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:355) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:417) | at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy56.start(Unknown Source) | at org.jboss.ejb.EjbModule.startService(EjbModule.java:409) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:417) | at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy27.start(Unknown Source) | at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:662) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:90) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140) | at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97) | at org.jboss.deployment.SubDeployerInterceptor.invokeNext(SubDeployerInterceptor.java:124) | at org.jboss.security.auth.login.LoginConfigInterceptor.start(LoginConfigInterceptor.java:173) | at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95) | at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238) | at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92) | at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188) | at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:90) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy28.start(Unknown Source) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:90) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:90) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy8.deploy(Unknown Source) | at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) | at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225) | 2006-07-01 19:42:23,559 DEBUG [org.jboss.ejb.EntityContainer] Starting failed jboss.j2ee:jndiName=ALocal,service=EJB | org.jboss.deployment.DeploymentException: Error compiling EJB-QL statement for EJB 'C': select object(o) from C oo; - nested throwable: (org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered "o" at line 1, column 15. | Was expecting: | <IDENTIFICATION_VARIABLE> ... | ) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.<init>(JDBCEJBQLQuery.java:66) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.createEJBQLQuery(JDBCCommandFactory.java:75) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCQueryManager.start(JDBCQueryManager.java:286) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDBCStoreManager.java:505) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:396) | at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:172) | at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:355) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:417) | at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy56.start(Unknown Source) | at org.jboss.ejb.EjbModule.startService(EjbModule.java:409) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:417) | at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy27.start(Unknown Source) | at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:662) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:90) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140) | at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97) | at org.jboss.deployment.SubDeployerInterceptor.invokeNext(SubDeployerInterceptor.java:124) | at org.jboss.security.auth.login.LoginConfigInterceptor.start(LoginConfigInterceptor.java:173) | at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95) | at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238) | at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92) | at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188) | at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:90) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy28.start(Unknown Source) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:90) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:90) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy8.deploy(Unknown Source) | at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) | at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225) | Caused by: org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered "o" at line 1, column 15. | Was expecting: | <IDENTIFICATION_VARIABLE> ... | | at org.jboss.ejb.plugins.cmp.ejbql.EJBQLParser.generateParseException(EJBQLParser.java:4360) | at org.jboss.ejb.plugins.cmp.ejbql.EJBQLParser.jj_consume_token(EJBQLParser.java:4237) | at org.jboss.ejb.plugins.cmp.ejbql.EJBQLParser.IdentificationVariable(EJBQLParser.java:2256) | at org.jboss.ejb.plugins.cmp.ejbql.EJBQLParser.SelectClause(EJBQLParser.java:515) | at org.jboss.ejb.plugins.cmp.ejbql.EJBQLParser.EJBQL(EJBQLParser.java:172) | at org.jboss.ejb.plugins.cmp.ejbql.EJBQLParser.parse(EJBQLParser.java:65) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLCompiler.compileEJBQL(JDBCEJBQLCompiler.java:167) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.<init>(JDBCEJBQLQuery.java:57) | ... 97 more | 2006-07-01 19:42:24,511 WARN [org.jboss.system.ServiceController] Problem starting service jboss.j2ee:jndiName=ALocal,service=EJB | org.jboss.deployment.DeploymentException: Error compiling EJB-QL statement for EJB 'C': select object(o) from C oo; - nested throwable: (org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered "o" at line 1, column 15. | Was expecting: | <IDENTIFICATION_VARIABLE> ... | ) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.<init>(JDBCEJBQLQuery.java:66) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.createEJBQLQuery(JDBCCommandFactory.java:75) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCQueryManager.start(JDBCQueryManager.java:286) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDBCStoreManager.java:505) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:396) | at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:172) | at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:355) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:417) | at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy56.start(Unknown Source) | at org.jboss.ejb.EjbModule.startService(EjbModule.java:409) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:417) | at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy27.start(Unknown Source) | at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:662) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:90) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140) | at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97) | at org.jboss.deployment.SubDeployerInterceptor.invokeNext(SubDeployerInterceptor.java:124) | at org.jboss.security.auth.login.LoginConfigInterceptor.start(LoginConfigInterceptor.java:173) | at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95) | at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238) | at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92) | at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188) | at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:90) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy28.start(Unknown Source) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:90) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:90) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy8.deploy(Unknown Source) | at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) | at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225) | Caused by: org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered "o" at line 1, column 15. | Was expecting: | <IDENTIFICATION_VARIABLE> ... | | at org.jboss.ejb.plugins.cmp.ejbql.EJBQLParser.generateParseException(EJBQLParser.java:4360) | at org.jboss.ejb.plugins.cmp.ejbql.EJBQLParser.jj_consume_token(EJBQLParser.java:4237) | at org.jboss.ejb.plugins.cmp.ejbql.EJBQLParser.IdentificationVariable(EJBQLParser.java:2256) | at org.jboss.ejb.plugins.cmp.ejbql.EJBQLParser.SelectClause(EJBQLParser.java:515) | at org.jboss.ejb.plugins.cmp.ejbql.EJBQLParser.EJBQL(EJBQLParser.java:172) | at org.jboss.ejb.plugins.cmp.ejbql.EJBQLParser.parse(EJBQLParser.java:65) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLCompiler.compileEJBQL(JDBCEJBQLCompiler.java:167) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.<init>(JDBCEJBQLQuery.java:57) | ... 97 more | 2006-07-01 19:42:25,532 INFO [org.jboss.proxy.ejb.ProxyFactory] Bound EJB Home 'Facade' to jndi 'Facade' | 2006-07-01 19:42:25,542 INFO [org.jboss.ejb.EJBDeployer] Deployed: file:/E:/cvsroot/jboss-head/build/output/jboss-5.0.0.Alpha/server/default/deploy/test-ejb.jar | 2006-07-01 19:42:25,652 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment listing: | | --- MBeans waiting for other MBeans --- | ObjectName: jboss.j2ee:jndiName=ALocal,service=EJB | State: FAILED | Reason: org.jboss.deployment.DeploymentException: Error compiling EJB-QL statement for EJB 'C': select object(o) from C oo; - nested throwable: (org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered "o" at line 1, column 15. | Was expecting: | <IDENTIFICATION_VARIABLE> ... | ) | | --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- | ObjectName: jboss.j2ee:jndiName=ALocal,service=EJB | State: FAILED | Reason: org.jboss.deployment.DeploymentException: Error compiling EJB-QL statement for EJB 'C': select object(o) from C oo; - nested throwable: (org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered "o" at line 1, column 15. | Was expecting: | <IDENTIFICATION_VARIABLE> ... | ) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954847#3954847 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954847 |