[JBoss JIRA] (AS7-5071) JBoss 7.1.1 - NullPointer in JDBCEJBQLCompiler.visit(...)
by Carsten Maneg (JIRA)
Carsten Maneg created AS7-5071:
----------------------------------
Summary: JBoss 7.1.1 - NullPointer in JDBCEJBQLCompiler.visit(...)
Key: AS7-5071
URL: https://issues.jboss.org/browse/AS7-5071
Project: Application Server 7
Issue Type: Bug
Components: EJB
Affects Versions: 7.1.1.Final
Reporter: Carsten Maneg
Assignee: jaikiran pai
10:23:22,312 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC00001: Failed to start service jboss.deployment.subunit."MyCMP.ear"."my-persistence-4.3.0-SNAPSHOT.
jar".component.Auftrag.jdbc.store-manager.START: org.jboss.msc.service.StartException in service jboss.deployment.subunit."MyCMP.ear"."my-persistence-4.3.0-SNAPSHOT.jar".c
omponent.Auftrag.jdbc.store-manager.START: JBAS010785: Failed start store manager
at org.jboss.as.cmp.jdbc.JdbcStoreManagerStartService.start(JdbcStoreManagerStartService.java:46)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_31]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_31]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_31]
Caused by: java.lang.RuntimeException: JBAS018810: Error compiling EJB-QL statement for EJB 'Auftrag': select object(o) from Auftrag as o where o.aufid = ?1
at org.jboss.as.cmp.jdbc.JDBCEJBQLQuery.<init>(JDBCEJBQLQuery.java:58)
at org.jboss.as.cmp.jdbc.JDBCCommandFactory.createEJBQLQuery(JDBCCommandFactory.java:63)
at org.jboss.as.cmp.jdbc.JDBCQueryManager.start(JDBCQueryManager.java:223)
at org.jboss.as.cmp.jdbc.JDBCStoreManager.startStoreManager(JDBCStoreManager.java:239)
at org.jboss.as.cmp.jdbc.JdbcStoreManagerStartService.start(JdbcStoreManagerStartService.java:44)
... 5 more
Caused by: java.lang.NullPointerException
at org.jboss.as.cmp.jdbc.JDBCEJBQLCompiler.visit(JDBCEJBQLCompiler.java:588)
at org.jboss.as.cmp.ejbql.ASTEJBQL.jjtAccept(ASTEJBQL.java:39)
at org.jboss.as.cmp.jdbc.JDBCEJBQLCompiler.compileEJBQL(JDBCEJBQLCompiler.java:167)
at org.jboss.as.cmp.jdbc.JDBCEJBQLQuery.<init>(JDBCEJBQLQuery.java:52)
... 9 more
jbosscmp-jdbc.xml:
<entity>
<ejb-name>Auftrag</ejb-name>
<datasource>java:/MyDatasourceName</datasource>
<datasource-mapping>DB2</datasource-mapping>
<create-table>false</create-table>
<row-locking>true</row-locking>
...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 10 months
[JBoss JIRA] (AS7-5067) CLONE - CLI deploy with --name fails to deploy subdeployments
by Heiko Braun (JIRA)
[ https://issues.jboss.org/browse/AS7-5067?page=com.atlassian.jira.plugin.s... ]
Heiko Braun updated AS7-5067:
-----------------------------
Assignee: Alexey Loubyansky (was: Heiko Braun)
Component/s: CLI
(was: Console)
> CLONE - CLI deploy with --name fails to deploy subdeployments
> -------------------------------------------------------------
>
> Key: AS7-5067
> URL: https://issues.jboss.org/browse/AS7-5067
> Project: Application Server 7
> Issue Type: Bug
> Components: CLI
> Affects Versions: 7.1.2.Final (EAP)
> Reporter: Tom Fonteyne
> Assignee: Alexey Loubyansky
> Priority: Minor
> Attachments: simpleejb3.ear
>
>
> I have an ear file with inside a jar file with an ejb.
> Use the CLI to deploy with:
> > deploy simpleejb3.ear
> In the console log:
> 12:22:42,130 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015876: Starting deployment of "simpleejb3.ear"
> 12:22:42,174 INFO [org.jboss.as.server.deployment] (MSC service thread 1-16) JBAS015876: Starting deployment of "simpleejb3-ejb.jar"
> 12:22:42,293 INFO [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-5) JNDI bindings for session bean named sbean in deployment unit subdeployment "simpleejb3-ejb.jar" of deployment "simpleejb3.ear" are as follows:
> java:global/simpleejb3/simpleejb3-ejb/sbean!tf.sbeanLocal
> java:app/simpleejb3-ejb/sbean!tf.sbeanLocal
> java:module/sbean!tf.sbeanLocal
> java:global/simpleejb3/simpleejb3-ejb/sbean!tf.sbeanRemote
> java:app/simpleejb3-ejb/sbean!tf.sbeanRemote
> java:module/sbean!tf.sbeanRemote
> java:jboss/exported/simpleejb3/simpleejb3-ejb/sbean!tf.sbeanRemote
> and the bean will work.
> Now undeploy fully (+ restarted) and deploy again with:
> > deploy simpleejb3.ear --name=b
> and the log :
> 12:23:41,300 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "b"
> 12:23:41,431 INFO [org.jboss.as.osgi] (MSC service thread 1-4) JBAS011907: Register module: Module "deployment.b:main" from Service Module Loader
> 12:23:41,598 INFO [org.jboss.as.server] (management-handler-thread - 2) JBAS018559: Deployed "b"
> A test showed that the EJB was indeed not deployed/accessible.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 10 months