[jbosstools-issues] [JBoss JIRA] (JBIDE-11509) Starting the AS/EAP when it already has multiple projects deployed
Burr Sutter (JIRA)
jira-events at lists.jboss.org
Tue Apr 17 06:58:18 EDT 2012
[ https://issues.jboss.org/browse/JBIDE-11509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12684859#comment-12684859 ]
Burr Sutter commented on JBIDE-11509:
-------------------------------------
AS log/console errors:
06:53:01,332 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-2) HHH000231: Schema export unsuccessful: org.hibernate.tool.hbm2ddl.ImportScriptException: Error during statement execution (file: '/import.sql'): insert into Member (id, name, email, phone_number) values (0, 'John Smith', 'john.smith at mailinator.com', '2125551212')
at org.hibernate.tool.hbm2ddl.SchemaExport.importScript(SchemaExport.java:452) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
Caused by: org.h2.jdbc.JdbcSQLException: Unique index or primary key violation: "PRIMARY_KEY_8 ON PUBLIC.MEMBER(ID)"; SQL statement:
insert into Member (id, name, email, phone_number) values (0, 'John Smith', 'john.smith at mailinator.com', '2125551212') [23505-161]
and
JBAS014777: Services which failed to start: service jboss.deployment.unit."truxie.war".WeldService: org.jboss.msc.service.StartException in service jboss.deployment.unit."truxie.war".WeldService: org.jboss.weld.exceptions.DefinitionException: Exception List with 1 exceptions:
Exception 0 :
java.lang.NullPointerException
at org.jboss.weld.manager.BeanManagerImpl.getMostSpecializedBean(BeanManagerImpl.java:931)
at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:605)
at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:228)
at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:207)
at org.jboss.weld.bootstrap.events.AbstractContainerEvent.fire(AbstractContainerEvent.java:75)
at org.jboss.weld.bootstrap.events.AbstractDefinitionContainerEvent.fire(AbstractDefinitionContainerEvent.java:46)
at org.jboss.weld.bootstrap.events.BeforeBeanDiscoveryImpl.fire(BeforeBeanDiscoveryImpl.java:46)
at org.jboss.weld.bootstrap.WeldBootstrap.startInitialization(WeldBootstrap.java:322)
at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:81)
at org.jboss.as.weld.services.WeldService.start(WeldService.java:76)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
service jboss.deployment.unit."poh5.war".WeldService: org.jboss.msc.service.StartException in service jboss.deployment.unit."poh5.war".WeldService: org.jboss.weld.exceptions.DefinitionException: Exception List with 1 exceptions:
Exception 0 :
> Starting the AS/EAP when it already has multiple projects deployed
> ------------------------------------------------------------------
>
> Key: JBIDE-11509
> URL: https://issues.jboss.org/browse/JBIDE-11509
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: JBossAS/Servers
> Reporter: Burr Sutter
> Assignee: Rob Stryker
> Fix For: 3.3.0.Beta3
>
> Attachments: poh5.war.failed
>
>
> When the server is started via "Run As on Server", and there were previous projects deployed (both inside/outside of the IDE), they tend to all fail to start.
--
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
More information about the jbosstools-issues
mailing list