oskopek / carcv Goto Github PK
View Code? Open in Web Editor NEWCarCV - A car recognizing and speed calculating platform
License: Apache License 2.0
CarCV - A car recognizing and speed calculating platform
License: Apache License 2.0
Fill the info pages (contact_us, contributing, features) with relevant content.
I want to test on core java & webApp for that i need db script pls add script...
thank u
SAndip
We would need to create the OpenCV C++ implementation first
Then interface it to Java via JNI or similar
It would probably be faster
Resources:
Currently fails on JBossAS 7.1.1.Final and WildFly 8.2.0.Final with:
Running org.carcv.web.test.RolesIT
19:00:33,121 INFO [org.jboss.as.repository] (management-handler-thread - 2) JBAS014900: Content added at location /home/oskopek/dev/jboss/jboss-as-7/standalone/data/content/ce/acd65891263f31fda8e84d74368b03a1669e61/content
19:00:33,127 INFO [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015876: Starting deployment of "carcv-webapp.war"
19:00:35,989 INFO [org.jboss.as.jpa] (MSC service thread 1-5) JBAS011401: Read persistence.xml for carcv_test
19:00:36,049 INFO [org.jboss.weld.deployer] (MSC service thread 1-3) JBAS016002: Processing weld deployment carcv-webapp.war
19:00:36,051 INFO [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-3) JNDI bindings for session bean named StorageBean in deployment unit deployment "carcv-webapp.war" are as follows:
java:global/carcv-webapp/StorageBean!org.carcv.web.beans.StorageBean
java:app/carcv-webapp/StorageBean!org.carcv.web.beans.StorageBean
java:module/StorageBean!org.carcv.web.beans.StorageBean
java:global/carcv-webapp/StorageBean
java:app/carcv-webapp/StorageBean
java:module/StorageBean
19:00:36,053 INFO [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-3) JNDI bindings for session bean named RecognizerBean in deployment unit deployment "carcv-webapp.war" are as follows:
java:global/carcv-webapp/RecognizerBean!org.carcv.web.beans.RecognizerBean
java:app/carcv-webapp/RecognizerBean!org.carcv.web.beans.RecognizerBean
java:module/RecognizerBean!org.carcv.web.beans.RecognizerBean
java:global/carcv-webapp/RecognizerBean
java:app/carcv-webapp/RecognizerBean
java:module/RecognizerBean
19:00:36,054 INFO [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-3) JNDI bindings for session bean named EntryBean in deployment unit deployment "carcv-webapp.war" are as follows:
java:global/carcv-webapp/EntryBean!org.carcv.web.beans.EntryBean
java:app/carcv-webapp/EntryBean!org.carcv.web.beans.EntryBean
java:module/EntryBean!org.carcv.web.beans.EntryBean
java:global/carcv-webapp/EntryBean
java:app/carcv-webapp/EntryBean
java:module/EntryBean
19:00:36,125 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-1) JBAS010404: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)
19:00:36,128 INFO [org.jboss.weld.deployer] (MSC service thread 1-1) JBAS016005: Starting Services for CDI deployment: carcv-webapp.war
19:00:36,136 INFO [org.jboss.as.jpa] (MSC service thread 1-8) JBAS011402: Starting Persistence Unit Service 'carcv-webapp.war#carcv_test'
19:00:36,138 INFO [org.hibernate.ejb.Ejb3Configuration] (MSC service thread 1-8) HHH000204: Processing PersistenceUnitInfo [
name: carcv_test
...]
19:00:36,183 INFO [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (MSC service thread 1-8) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
19:00:36,192 INFO [org.hibernate.dialect.Dialect] (MSC service thread 1-8) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
19:00:36,193 WARN [org.hibernate.dialect.H2Dialect] (MSC service thread 1-8) HHH000431: Unable to determine H2 database version, certain features may not work
19:00:36,193 INFO [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] (MSC service thread 1-8) HHH000423: Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4
19:00:36,195 INFO [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (MSC service thread 1-8) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory
19:00:36,196 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (MSC service thread 1-8) HHH000397: Using ASTQueryTranslatorFactory
19:00:36,225 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-8) HHH000227: Running hbm2ddl schema export
19:00:36,227 INFO [stdout] (MSC service thread 1-8) Hibernate:
19:00:36,227 INFO [stdout] (MSC service thread 1-8) alter table FileEntry_FileCarImage
19:00:36,227 INFO [stdout] (MSC service thread 1-8) drop constraint FKAEA5110CC87BC980
19:00:36,227 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-8) HHH000389: Unsuccessful: alter table FileEntry_FileCarImage drop constraint FKAEA5110CC87BC980
19:00:36,228 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-8) Table "FILEENTRY_FILECARIMAGE" not found; SQL statement:
alter table FileEntry_FileCarImage
drop constraint FKAEA5110CC87BC980 [42102-161]
19:00:36,228 INFO [stdout] (MSC service thread 1-8) Hibernate:
19:00:36,229 INFO [stdout] (MSC service thread 1-8) alter table FileEntry_FileCarImage
19:00:36,229 INFO [stdout] (MSC service thread 1-8) drop constraint FKAEA5110C141C352B
19:00:36,229 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-8) HHH000389: Unsuccessful: alter table FileEntry_FileCarImage drop constraint FKAEA5110C141C352B
19:00:36,230 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-8) Table "FILEENTRY_FILECARIMAGE" not found; SQL statement:
alter table FileEntry_FileCarImage
drop constraint FKAEA5110C141C352B [42102-161]
19:00:36,230 INFO [stdout] (MSC service thread 1-8) Hibernate:
19:00:36,230 INFO [stdout] (MSC service thread 1-8) drop table FileCarImage if exists
19:00:36,231 INFO [stdout] (MSC service thread 1-8) Hibernate:
19:00:36,231 INFO [stdout] (MSC service thread 1-8) drop table FileEntry if exists
19:00:36,231 INFO [stdout] (MSC service thread 1-8) Hibernate:
19:00:36,231 INFO [stdout] (MSC service thread 1-8) drop table FileEntry_FileCarImage if exists
19:00:36,232 INFO [stdout] (MSC service thread 1-8) Hibernate:
19:00:36,232 INFO [stdout] (MSC service thread 1-8) drop sequence hibernate_sequence
19:00:36,232 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-8) HHH000389: Unsuccessful: drop sequence hibernate_sequence
19:00:36,233 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-8) Sequence "HIBERNATE_SEQUENCE" not found; SQL statement:
drop sequence hibernate_sequence [90036-161]
19:00:36,233 INFO [stdout] (MSC service thread 1-8) Hibernate:
19:00:36,233 INFO [stdout] (MSC service thread 1-8) create table FileCarImage (
19:00:36,234 INFO [stdout] (MSC service thread 1-8) id bigint not null,
19:00:36,234 INFO [stdout] (MSC service thread 1-8) pathStr varchar(255),
19:00:36,234 INFO [stdout] (MSC service thread 1-8) primary key (id)
19:00:36,234 INFO [stdout] (MSC service thread 1-8) )
19:00:36,235 INFO [stdout] (MSC service thread 1-8) Hibernate:
19:00:36,235 INFO [stdout] (MSC service thread 1-8) create table FileEntry (
19:00:36,236 INFO [stdout] (MSC service thread 1-8) id bigint not null,
19:00:36,236 INFO [stdout] (MSC service thread 1-8) city varchar(255),
19:00:36,236 INFO [stdout] (MSC service thread 1-8) country varchar(255),
19:00:36,236 INFO [stdout] (MSC service thread 1-8) latitude double,
19:00:36,237 INFO [stdout] (MSC service thread 1-8) longitude double,
19:00:36,237 INFO [stdout] (MSC service thread 1-8) postalCode varchar(255),
19:00:36,237 INFO [stdout] (MSC service thread 1-8) referenceNumber integer,
19:00:36,237 INFO [stdout] (MSC service thread 1-8) street varchar(255),
19:00:36,238 INFO [stdout] (MSC service thread 1-8) streetNumber integer,
19:00:36,238 INFO [stdout] (MSC service thread 1-8) origin varchar(255),
19:00:36,238 INFO [stdout] (MSC service thread 1-8) text varchar(255),
19:00:36,238 INFO [stdout] (MSC service thread 1-8) speed double,
19:00:36,239 INFO [stdout] (MSC service thread 1-8) unit integer,
19:00:36,239 INFO [stdout] (MSC service thread 1-8) timestamp timestamp,
19:00:36,239 INFO [stdout] (MSC service thread 1-8) primary key (id)
19:00:36,239 INFO [stdout] (MSC service thread 1-8) )
19:00:36,240 INFO [stdout] (MSC service thread 1-8) Hibernate:
19:00:36,240 INFO [stdout] (MSC service thread 1-8) create table FileEntry_FileCarImage (
19:00:36,241 INFO [stdout] (MSC service thread 1-8) FileEntry_id bigint not null,
19:00:36,241 INFO [stdout] (MSC service thread 1-8) carImages_id bigint not null,
19:00:36,241 INFO [stdout] (MSC service thread 1-8) unique (carImages_id)
19:00:36,242 INFO [stdout] (MSC service thread 1-8) )
19:00:36,242 INFO [stdout] (MSC service thread 1-8) Hibernate:
19:00:36,242 INFO [stdout] (MSC service thread 1-8) alter table FileEntry_FileCarImage
19:00:36,243 INFO [stdout] (MSC service thread 1-8) add constraint FKAEA5110CC87BC980
19:00:36,243 INFO [stdout] (MSC service thread 1-8) foreign key (carImages_id)
19:00:36,243 INFO [stdout] (MSC service thread 1-8) references FileCarImage
19:00:36,244 INFO [stdout] (MSC service thread 1-8) Hibernate:
19:00:36,245 INFO [stdout] (MSC service thread 1-8) alter table FileEntry_FileCarImage
19:00:36,245 INFO [stdout] (MSC service thread 1-8) add constraint FKAEA5110C141C352B
19:00:36,245 INFO [stdout] (MSC service thread 1-8) foreign key (FileEntry_id)
19:00:36,246 INFO [stdout] (MSC service thread 1-8) references FileEntry
19:00:36,247 INFO [stdout] (MSC service thread 1-8) Hibernate:
19:00:36,247 INFO [stdout] (MSC service thread 1-8) create sequence hibernate_sequence start with 1 increment by 1
19:00:36,247 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-8) HHH000230: Schema export complete
19:00:36,250 INFO [org.jboss.weld.deployer] (MSC service thread 1-4) JBAS016008: Starting weld service for deployment carcv-webapp.war
19:00:36,342 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.deployment.unit."carcv-webapp.war".WeldService: org.jboss.msc.service.StartException in service jboss.deployment.unit."carcv-webapp.war".WeldService: org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [HttpServletRequest] with qualifiers [@Default] at injection point [[field] @Inject private org.carcv.web.test.RolesIT.adminRequest]
at org.jboss.as.weld.services.WeldService.start(WeldService.java:83)
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.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_67]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_67]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_67]
Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [HttpServletRequest] with qualifiers [@Default] at injection point [[field] @Inject private org.carcv.web.test.RolesIT.adminRequest]
at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:275)
at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:244)
at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:107)
at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:127)
at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:346)
at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:331)
at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:366)
at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:83)
at org.jboss.as.weld.services.WeldService.start(WeldService.java:76)
... 5 more
19:00:36,552 INFO [org.jboss.as.server] (management-handler-thread - 2) JBAS015870: Deploy of deployment "carcv-webapp.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"carcv-webapp.war\".WeldService" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"carcv-webapp.war\".WeldService: org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [HttpServletRequest] with qualifiers [@Default] at injection point [[field] @Inject private org.carcv.web.test.RolesIT.adminRequest]"}}
19:00:36,557 INFO [org.jboss.as.jpa] (MSC service thread 1-4) JBAS011403: Stopping Persistence Unit Service 'carcv-webapp.war#carcv_test'
19:00:36,559 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-4) HHH000227: Running hbm2ddl schema export
19:00:36,560 INFO [stdout] (MSC service thread 1-4) Hibernate:
19:00:36,560 INFO [stdout] (MSC service thread 1-4) alter table FileEntry_FileCarImage
19:00:36,561 INFO [stdout] (MSC service thread 1-4) drop constraint FKAEA5110CC87BC980
19:00:36,562 INFO [stdout] (MSC service thread 1-4) Hibernate:
19:00:36,562 INFO [stdout] (MSC service thread 1-4) alter table FileEntry_FileCarImage
19:00:36,562 INFO [stdout] (MSC service thread 1-4) drop constraint FKAEA5110C141C352B
19:00:36,563 INFO [stdout] (MSC service thread 1-4) Hibernate:
19:00:36,563 INFO [stdout] (MSC service thread 1-4) drop table FileCarImage if exists
19:00:36,564 INFO [stdout] (MSC service thread 1-4) Hibernate:
19:00:36,564 INFO [stdout] (MSC service thread 1-4) drop table FileEntry if exists
19:00:36,565 INFO [stdout] (MSC service thread 1-4) Hibernate:
19:00:36,565 INFO [stdout] (MSC service thread 1-4) drop table FileEntry_FileCarImage if exists
19:00:36,566 INFO [stdout] (MSC service thread 1-4) Hibernate:
19:00:36,566 INFO [stdout] (MSC service thread 1-4) drop sequence hibernate_sequence
19:00:36,567 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-4) HHH000230: Schema export complete
19:00:36,601 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment carcv-webapp.war in 49ms
19:00:36,602 INFO [org.jboss.as.controller] (management-handler-thread - 2) JBAS014774: Service status report
JBAS014777: Services which failed to start: service jboss.deployment.unit."carcv-webapp.war".WeldService: org.jboss.msc.service.StartException in service jboss.deployment.unit."carcv-webapp.war".WeldService: org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [HttpServletRequest] with qualifiers [@Default] at injection point [[field] @Inject private org.carcv.web.test.RolesIT.adminRequest]
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 6.531 sec <<< FAILURE! - in org.carcv.web.test.RolesIT
org.carcv.web.test.RolesIT Time elapsed: 6.531 sec <<< ERROR!
org.jboss.arquillian.container.spi.client.container.DeploymentException: Could not deploy to container: {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"carcv-webapp.war\".WeldService" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"carcv-webapp.war\".WeldService: org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [HttpServletRequest] with qualifiers [@Default] at injection point [[field] @Inject private org.carcv.web.test.RolesIT.adminRequest]"}}
at org.jboss.as.arquillian.container.ArchiveDeployer.deploy(ArchiveDeployer.java:74)
at org.jboss.as.arquillian.container.CommonDeployableContainer.deploy(CommonDeployableContainer.java:148)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$3.call(ContainerDeployController.java:161)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$3.call(ContainerDeployController.java:128)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.executeOperation(ContainerDeployController.java:271)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.deploy(ContainerDeployController.java:127)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
at org.jboss.arquillian.container.impl.client.container.DeploymentExceptionHandler.verifyExpectedExceptionDuringDeploy(DeploymentExceptionHandler.java:50)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.container.impl.client.ContainerDeploymentContextHandler.createDeploymentContext(ContainerDeploymentContextHandler.java:78)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.container.impl.client.ContainerDeploymentContextHandler.createContainerContext(ContainerDeploymentContextHandler.java:57)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$1.perform(ContainerDeployController.java:95)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$1.perform(ContainerDeployController.java:80)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.forEachDeployment(ContainerDeployController.java:263)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.forEachManagedDeployment(ContainerDeployController.java:239)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.deployManaged(ContainerDeployController.java:79)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
at org.jboss.arquillian.container.test.impl.client.ContainerEventController.execute(ContainerEventController.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:84)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:65)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.beforeClass(EventTestRunnerAdaptor.java:80)
at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:182)
at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:314)
at org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46)
at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:199)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:147)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
Caused by: java.lang.Exception: {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"carcv-webapp.war\".WeldService" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"carcv-webapp.war\".WeldService: org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [HttpServletRequest] with qualifiers [@Default] at injection point [[field] @Inject private org.carcv.web.test.RolesIT.adminRequest]"}}
at org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.getActionResult(ServerDeploymentPlanResultFuture.java:134)
at org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.getResultFromNode(ServerDeploymentPlanResultFuture.java:123)
at org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.get(ServerDeploymentPlanResultFuture.java:85)
at org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.get(ServerDeploymentPlanResultFuture.java:42)
at org.jboss.as.arquillian.container.ArchiveDeployer.executeDeploymentPlan(ArchiveDeployer.java:91)
at org.jboss.as.arquillian.container.ArchiveDeployer.deploy(ArchiveDeployer.java:58)
at org.jboss.as.arquillian.container.CommonDeployableContainer.deploy(CommonDeployableContainer.java:148)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$3.call(ContainerDeployController.java:161)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$3.call(ContainerDeployController.java:128)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.executeOperation(ContainerDeployController.java:271)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.deploy(ContainerDeployController.java:127)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
at org.jboss.arquillian.container.impl.client.container.DeploymentExceptionHandler.verifyExpectedExceptionDuringDeploy(DeploymentExceptionHandler.java:50)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.container.impl.client.ContainerDeploymentContextHandler.createDeploymentContext(ContainerDeploymentContextHandler.java:78)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.container.impl.client.ContainerDeploymentContextHandler.createContainerContext(ContainerDeploymentContextHandler.java:57)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$1.perform(ContainerDeployController.java:95)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$1.perform(ContainerDeployController.java:80)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.forEachDeployment(ContainerDeployController.java:263)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.forEachManagedDeployment(ContainerDeployController.java:239)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.deployManaged(ContainerDeployController.java:79)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
at org.jboss.arquillian.container.test.impl.client.ContainerEventController.execute(ContainerEventController.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:84)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:65)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.beforeClass(EventTestRunnerAdaptor.java:80)
at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:182)
at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:314)
at org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46)
at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:199)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:147)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
19:00:36.738 [main] DEBUG org.jboss.as.protocol - cancelled operation (499921181) attachment: (org.jboss.as.controller.client.impl.AbstractModelControllerClient$OperationExecutionContext@6d3fb627) this: org.jboss.as.protocol.mgmt.ManagementChannelHandler@71cff279.
Results :
Tests in error:
RolesIT.org.carcv.web.test.RolesIT » Deployment Could not deploy to container:...
Don't let the AS paste the whole stacktrace, show the user a custom error page according to the error that occurred.
CarCV has a very low number of unit and integration tests. Expand existing ones, add the ones missing.
Fails with cryptic errors. Keep backward compatibility with JBoss AS 7.1.1.Final.
2014-09-08 16:04:37,263 ERROR [org.jboss.as.ejb3.invocation] (pool-5-thread-1) JBAS014134: EJB Invocation failed on component RecognizerBean for method public void org.carcv.web.beans.RecognizerBean.recognize() throws java.io.IOException: javax.ejb.EJBException: java.lang.NullPointerException: null key in entry: null=1
at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInOurTx(CMTTxInterceptor.java:190) [wildfly-ejb3-8.0.0.CR1.jar:8.0.0.CR1]
at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:275) [wildfly-ejb3-8.0.0.CR1.jar:8.0.0.CR1]
at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:340) [wildfly-ejb3-8.0.0.CR1.jar:8.0.0.CR1]
at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:239) [wildfly-ejb3-8.0.0.CR1.jar:8.0.0.CR1]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [wildfly-ejb3-8.0.0.CR1.jar:8.0.0.CR1]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:43) [wildfly-ejb3-8.0.0.CR1.jar:8.0.0.CR1]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:95) [wildfly-ejb3-8.0.0.CR1.jar:8.0.0.CR1]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64) [wildfly-ejb3-8.0.0.CR1.jar:8.0.0.CR1]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59) [wildfly-ejb3-8.0.0.CR1.jar:8.0.0.CR1]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:55) [wildfly-ejb3-8.0.0.CR1.jar:8.0.0.CR1]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:325)
at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:437)
at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:325)
at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:185)
at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:182)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73)
at org.carcv.web.beans.RecognizerBean$$$view2.recognize(Unknown Source) [classes:]
at org.carcv.web.servlet.RecognizeServlet$RecognizeRunnable.run(RecognizeServlet.java:95) [classes:]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_65]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_65]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_65]
Caused by: java.lang.NullPointerException: null key in entry: null=1
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:235) [guava-13.0.1.jar:]
at com.google.common.collect.ImmutableMap.entryOf(ImmutableMap.java:143) [guava-13.0.1.jar:]
at com.google.common.collect.ImmutableMap$Builder.put(ImmutableMap.java:182) [guava-13.0.1.jar:]
at com.google.common.collect.ImmutableMultiset.copyFromEntries(ImmutableMultiset.java:201) [guava-13.0.1.jar:]
at com.google.common.collect.Multisets.copyHighestCountFirst(Multisets.java:970) [guava-13.0.1.jar:]
at org.carcv.impl.core.util.CollectionUtils.highestCountElement(CollectionUtils.java:30) [carcv-core-1.1.0-SNAPSHOT.jar:]
at org.carcv.impl.core.detect.NumberPlateDetectorImpl.detectPlateText(NumberPlateDetectorImpl.java:78) [carcv-core-1.1.0-SNAPSHOT.jar:]
at org.carcv.impl.core.recognize.FileCarRecognizer.detectNumberPlates(FileCarRecognizer.java:145) [carcv-core-1.1.0-SNAPSHOT.jar:]
at org.carcv.impl.core.recognize.FileCarRecognizer.listRecognize(FileCarRecognizer.java:99) [carcv-core-1.1.0-SNAPSHOT.jar:]
at org.carcv.web.beans.RecognizerBean.recognize(RecognizerBean.java:68) [classes:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_65]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_65]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_65]
at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_65]
at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:406)
at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:82) [wildfly-weld-8.0.0.CR1.jar:8.0.0.CR1]
at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:93) [wildfly-weld-8.0.0.CR1.jar:8.0.0.CR1]
at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43) [wildfly-ejb3-8.0.0.CR1.jar:8.0.0.CR1]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47) [wildfly-jpa-8.0.0.CR1.jar:8.0.0.CR1]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:406)
at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:55) [weld-core-impl-2.1.1.Final.jar:2013-12-03 09:59]
at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:84) [wildfly-weld-8.0.0.CR1.jar:8.0.0.CR1]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45) [wildfly-ee-8.0.0.CR1.jar:8.0.0.CR1]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:53)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51) [wildfly-ejb3-8.0.0.CR1.jar:8.0.0.CR1]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:273) [wildfly-ejb3-8.0.0.CR1.jar:8.0.0.CR1]
... 37 more
Add a pdf extension to the file but dont force it to be downloadable
Make master stable again, after fixing #21 release 1.0.2.Final and merge into master
But only after the build problems with maven http://stackoverflow.com/questions/20298954/maven-fails-to-pull-dependencies-on-travis-ci-connectioned-timed-out have been sorted out. Depends on #4.
hi
following is the output file generated by carcv for only one image.
issue here is i didn't get the numberplate-text.
[
address-long=0.0
address-postalCode=93221
numberplate-text=null
address-street=Hru\u00C5\u00A1kov\u00C3\u00A1
address-city=Bratislava
speed-value=1.2
address-refNo=1010
numberplate-origin=UN
address-streetNo=32
address-country=Slovakia
address-lat=0.0
timestamp=1450259334535
filepath0=D:\carcv_data\in\img\test_030.jpg
speed-unit=KPH
]
please help where i have to change in the code to get numberplate text?
Probably using bootstrap.
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
java.nio.file.FileAlreadyExistsException: /tmp/tempVideoStreamDir_-1190788231_7468821179797947115/0_image_8362451083448876982.png
sun.nio.fs.UnixCopyFile.copy(UnixCopyFile.java:544)
sun.nio.fs.UnixFileSystemProvider.copy(UnixFileSystemProvider.java:253)
java.nio.file.Files.copy(Files.java:1225)
org.carcv.impl.core.io.FFMPEG_VideoHandler.copyCarImagesToDir(FFMPEG_VideoHandler.java:151)
org.carcv.impl.core.io.FFMPEG_VideoHandler.generateVideoAsStream(FFMPEG_VideoHandler.java:134)
org.carcv.web.servlet.GenerateVideoServlet.processRequest(GenerateVideoServlet.java:59)
org.carcv.web.servlet.GenerateVideoServlet.doGet(GenerateVideoServlet.java:67)
javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
note The full stack trace of the root cause is available in the JBoss Web/7.0.13.Final logs.
The times on the openshift server are all in a different timezone.. Maybe we should do something like this: http://stackoverflow.com/questions/4631928/convert-utc-epoch-to-local-date-with-javascript and show the time in the local timezone, or work on a sensible aproach using http://stackoverflow.com/questions/11629936/joda-time-different-between-timezones
server.log excerpt:
2014-01-01 16:44:54,407 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "ROOT.war" (runtime-name: "ROOT.war")
2014-01-01 16:44:54,519 INFO [org.jboss.as.remoting] (MSC service thread 1-4) JBAS017100: Listening on 127.12.255.1:9999
2014-01-01 16:44:56,112 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) JBAS010400: Bound data source [java:jboss/datasources/MySQLDS]
2014-01-01 16:44:56,113 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
2014-01-01 16:44:58,615 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.deployment.unit."ROOT.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."ROOT.war".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of deployment "ROOT.war"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166) [wildfly-server-8.0.0.CR1.jar:8.0.0.CR1]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) [jboss-msc-1.2.0.CR1.jar:1.2.0.CR1]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) [jboss-msc-1.2.0.CR1.jar:1.2.0.CR1]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: java.lang.ClassNotFoundException: org.carcv.web.beans.StorageBean from [Module "deployment.ROOT.war:main" from Service Module Loader]
at org.jboss.as.ejb3.deployment.processors.BusinessViewAnnotationProcessor.getEjbClass(BusinessViewAnnotationProcessor.java:231)
at org.jboss.as.ejb3.deployment.processors.BusinessViewAnnotationProcessor.deploy(BusinessViewAnnotationProcessor.java:89)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) [wildfly-server-8.0.0.CR1.jar:8.0.0.CR1]
... 5 more
Caused by: java.lang.ClassNotFoundException: org.carcv.web.beans.StorageBean from [Module "deployment.ROOT.war:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:197) [jboss-modules.jar:1.3.0.Final]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:443) [jboss-modules.jar:1.3.0.Final]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:431) [jboss-modules.jar:1.3.0.Final]
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:373) [jboss-modules.jar:1.3.0.Final]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:118) [jboss-modules.jar:1.3.0.Final]
at org.jboss.as.ejb3.deployment.processors.BusinessViewAnnotationProcessor.getEjbClass(BusinessViewAnnotationProcessor.java:229)
... 7 more
2014-01-01 16:44:58,645 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("deploy") failed - address: ([("deployment" => "ROOT.war")]) - failure description: {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"ROOT.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"ROOT.war\".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of deployment \"ROOT.war\"
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: java.lang.ClassNotFoundException: org.carcv.web.beans.StorageBean from [Module \"deployment.ROOT.war:main\" from Service Module Loader]
Caused by: java.lang.ClassNotFoundException: org.carcv.web.beans.StorageBean from [Module \"deployment.ROOT.war:main\" from Service Module Loader]"}}
2014-01-01 16:44:58,709 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("add") failed - address: ([("subsystem" => "webservices")]) - failure description: {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.ws.config is missing [jboss.web.common.server]"]}
2014-01-01 16:44:58,717 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("add") failed - address: ([
("subsystem" => "ejb3"),
("service" => "remote")
]) - failure description: {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.ejb3.connector is missing [jboss.remoting.remotingConnectorInfoService.http-remoting-connector]"]}
2014-01-01 16:44:59,308 INFO [org.jboss.as.server] (ServerService Thread Pool -- 28) JBAS018559: Deployed "ROOT.war" (runtime-name : "ROOT.war")
2014-01-01 16:44:59,314 INFO [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
JBAS014775: New missing/unsatisfied dependencies:
service jboss.remoting.remotingConnectorInfoService.http-remoting-connector (missing) dependents: [service jboss.ejb3.connector]
service jboss.web.common.server (missing) dependents: [service jboss.ws.config]
JBAS014777: Services which failed to start: service jboss.deployment.unit."ROOT.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."ROOT.war".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of deployment "ROOT.war"
2014-01-01 16:44:59,719 INFO [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://127.12.255.1:9990/management
2014-01-01 16:44:59,725 INFO [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.12.255.1:9990
2014-01-01 16:44:59,725 ERROR [org.jboss.as] (Controller Boot Thread) JBAS015875: WildFly 8.0.0.CR1 "WildFly" started (with errors) in 43404ms - Started 186 of 240 services (3 services failed or missing dependencies, 72 services are lazy, passive or on-demand)
2014-01-01 16:45:00,324 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015877: Stopped deployment ROOT.war (runtime-name: ROOT.war) in 115ms
2014-01-01 16:45:00,707 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018558: Undeployed "ROOT.war" (runtime-name: "ROOT.war")
2014-01-01 16:45:00,708 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
JBAS014777: Services which failed to start: service jboss.deployment.unit."ROOT.war".POST_MODULE
Add SSL support for the carcv webapp in general, not only login. Maybe use https://www.startssl.com/ ?
info.properties
file-u.2015/03/02 04:57:45,595 INFO [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
JBAS014775: New missing/unsatisfied dependencies:
service jboss.logging.handler.CARCV (missing) dependents: [service jboss.logging.logger-handler."org.carcv".CARCV]
Add a logging library instead of all the sysout calls.
Implement a panel/toolbar on top of the car table to add, delete and edit the entries in the car table.
Make cobertura take integration test data too
Travis can't seem to pull jasperreports' dependencies when absenting a repository tag:
<repositories>
<repository>
<id>JasperReports Maven Repo</id>
<url>http://jasperreports.sourceforge.net/maven2/</url>
</repository>
</repositories>
The ideal scenario would have the repositories tag removed altogether and still pass builds, if possible.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.