This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Given I go on "/jax-rs" page(| OPTIONS | OPTIONS /test/echo |) Time elapsed: 0.001 sec <<< ERROR! | |
| org.openqa.selenium.WebDriverException: {"errorMessage":"'undefined' is not an object (evaluating 'angular.element(e1).injector().get')","request":{"headers":{"Accept":"application/json, image/png","Connection":"Keep-Alive","Content-Length":"239","Content-Type":"application/json; charset=utf-8","Host":"localhost:39570"},"httpVersion":"1.1","method":"POST","post":"{\"args\":[],\"script\":\"var callback = arguments[arguments.length - 1];var e1 = document.querySelector('body');if (window.angular) {angular.element(e1).injector().get('$browser').notifyWhenNoOutstandingRequests(callback);} else {callback()}\"}","url":"/execute_async","urlParsed":{"anchor":"","query":"","file":"execute_async","directory":"/","path":"/execute_async","relative":"/execute_async","port":"","host":"","password":"","user":"","userInfo":"","authority":"","protocol":"","source":"/execute_async","queryKey":{},"chunks":["execute_async"]},"urlOr |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| INFOS - ------------------------- localhost -> /rest-example-1.1.0-SNAPSHOT | |
| INFOS - Extracting jar: /Users/jlmonteiro/devs/tomitribe/tribestream/webapp/console/tribestream-console/target/apache-tomee/webapps/rest-example-1.1.0-SNAPSHOT.war | |
| INFOS - Extracted path: /Users/jlmonteiro/devs/tomitribe/tribestream/webapp/console/tribestream-console/target/apache-tomee/webapps/rest-example-1.1.0-SNAPSHOT | |
| INFOS - Using 'openejb.session.manager=org.apache.tomee.catalina.session.QuickSessionManager' | |
| AVERTISSEMENT - Can't have a beans.xml in WEB-INF and WEB-INF/classes/META-INF, second will be ignored | |
| AVERTISSEMENT - Can't have a beans.xml in WEB-INF and WEB-INF/classes/META-INF, second will be ignored | |
| INFOS - Configuring enterprise application: /Users/jlmonteiro/devs/tomitribe/tribestream/webapp/console/tribestream-console/target/apache-tomee/webapps/rest-example-1.1.0-SNAPSHOT | |
| INFOS - Auto-deploying ejb DAO: EjbDeployment(deployment-id=rest-example-1.1.0-SNAPSHOT/rest-example-1.1.0-SNAPSHOT/DAO) | |
| INFOS - Auto-deploying |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| RAVE - Unable to deploy collapsed ear in war StandardEngine[Catalina].StandardHost[localhost].StandardContext[/pug-webapp-0.24-SNAPSHOT] | |
| org.apache.openejb.OpenEJBException: Creating application failed: /Users/jlmonteiro/devs/tomitribe/tribestream/webapp/console/tribestream-console/target/apache-tomee/webapps/pug-webapp-0.24-SNAPSHOT: Error building bean 'Pug'. Exception: class org.apache.openejb.OpenEJBException: Error while loading bean class org.pug.Pug for bean pug-webapp-0.24-SNAPSHOT/pug-webapp-0.24-SNAPSHOT/Pug. Received message: Cannot locate the class org.pug.Pug from the codebase [/Users/jlmonteiro/devs/tomitribe/tribestream/webapp/console/tribestream-console/target/apache-tomee/webapps/pug-webapp-0.24-SNAPSHOT]: Error while loading bean class org.pug.Pug for bean pug-webapp-0.24-SNAPSHOT/pug-webapp-0.24-SNAPSHOT/Pug. Received message: Cannot locate the class org.pug.Pug from the codebase [/Users/jlmonteiro/devs/tomitribe/tribestream/webapp/console/tribestream-console/target/apache-tomee/webapps/pu |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private Response handleMetadataRequest(Message m) { | |
| List<ProviderInfo<RequestHandler>> shs = ProviderFactory.getInstance(m).getRequestHandlers(); | |
| // this is actually being tested by ProviderFactory unit tests but just in case | |
| // WadlGenerator, the custom or default one, must be the first one | |
| if (shs.size() > 0 && shs.get(0).getProvider() instanceof WadlGenerator) { | |
| return shs.get(0).getProvider().handleRequest(m, null); | |
| } else { | |
| return null; | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| INFOS - Stopping network services | |
| INFOS - Stopping server services | |
| INFOS - Scheduler OpenEJB-TimerService-Scheduler_$_OpenEJB shutting down. | |
| INFOS - Scheduler OpenEJB-TimerService-Scheduler_$_OpenEJB paused. | |
| INFOS - Scheduler unregistered from name 'quartz:type=QuartzScheduler,name=OpenEJB-TimerService-Scheduler,instance=OpenEJB' in the local MBeanServer. | |
| INFOS - Scheduler OpenEJB-TimerService-Scheduler_$_OpenEJB shutdown complete. | |
| INFOS - Cannot find the configuration file [conf/openejb.xml]. Will attempt to create one for the beans deployed. | |
| INFOS - Configuring Service(id=Default Security Service, type=SecurityService, provider-id=Default Security Service) | |
| INFOS - Configuring Service(id=Default Transaction Manager, type=TransactionManager, provider-id=Default Transaction Manager) | |
| INFOS - Creating TransactionManager(id=Default Transaction Manager) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /Library/Java/JavaVirtualMachines/jdk1.8/Contents/Home/bin/java -ea -Xmx1024m -XX:MaxPermSize=256m -Didea.launcher.port=7543 "-Didea.launcher.bin.path=/Applications/IntelliJ IDEA 13.app/bin" -Dfile.encoding=UTF-8 -classpath "/Applications/IntelliJ IDEA 13.app/lib/idea_rt.jar:/Applications/IntelliJ IDEA 13.app/plugins/junit/lib/junit-rt.jar:/Library/Java/JavaVirtualMachines/jdk1.8/Contents/Home/lib/ant-javafx.jar:/Library/Java/JavaVirtualMachines/jdk1.8/Contents/Home/lib/dt.jar:/Library/Java/JavaVirtualMachines/jdk1.8/Contents/Home/lib/javafx-mx.jar:/Library/Java/JavaVirtualMachines/jdk1.8/Contents/Home/lib/jconsole.jar:/Library/Java/JavaVirtualMachines/jdk1.8/Contents/Home/lib/sa-jdi.jar:/Library/Java/JavaVirtualMachines/jdk1.8/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8/Contents/Home/jre/lib/deploy.jar:/Library/Java/JavaVirtualMachines/jdk1.8/Contents/Home/jre/lib/htmlconverter.jar:/Library/Java/JavaVirtualMa |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /Library/Java/JavaVirtualMachines/jdk1.8/Contents/Home/bin/java -ea -Xmx1024m -XX:MaxPermSize=256m -Didea.launcher.port=7542 "-Didea.launcher.bin.path=/Applications/IntelliJ IDEA 13.app/bin" -Dfile.encoding=UTF-8 -classpath "/Applications/IntelliJ IDEA 13.app/lib/idea_rt.jar:/Applications/IntelliJ IDEA 13.app/plugins/junit/lib/junit-rt.jar:/Library/Java/JavaVirtualMachines/jdk1.8/Contents/Home/lib/ant-javafx.jar:/Library/Java/JavaVirtualMachines/jdk1.8/Contents/Home/lib/dt.jar:/Library/Java/JavaVirtualMachines/jdk1.8/Contents/Home/lib/javafx-mx.jar:/Library/Java/JavaVirtualMachines/jdk1.8/Contents/Home/lib/jconsole.jar:/Library/Java/JavaVirtualMachines/jdk1.8/Contents/Home/lib/sa-jdi.jar:/Library/Java/JavaVirtualMachines/jdk1.8/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8/Contents/Home/jre/lib/deploy.jar:/Library/Java/JavaVirtualMachines/jdk1.8/Contents/Home/jre/lib/htmlconverter.jar:/Library/Java/JavaVirtualMa |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| INFOS - Initialized Scheduler Signaller of type: class org.apache.openejb.quartz.core.SchedulerSignalerImpl | |
| INFOS - Quartz Scheduler v.2.2.1 created. | |
| INFOS - RAMJobStore initialized. | |
| INFOS - Scheduler meta-data: Quartz Scheduler (v2.2.1) 'OpenEJB-TimerService-Scheduler' with instanceId 'OpenEJB' | |
| Scheduler class: 'org.apache.openejb.quartz.core.QuartzScheduler' - running locally. | |
| NOT STARTED. | |
| Currently in standby mode. | |
| Number of jobs executed: 0 | |
| Using thread pool 'org.apache.openejb.core.timer.DefaultTimerThreadPoolAdapter' - with 0 threads. | |
| Using job-store 'org.apache.openejb.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public void beforeInfoTreeBuilder(final BeforeAppInfoBuilderEvent event) { | |
| LOGGER.fine("Adding governance interceptor to application > " + event.getAppModule().getModuleId()); | |
| final List<EjbModule> ejbModules = event.getAppModule().getEjbModules(); | |
| for (EjbModule ejbModule : ejbModules) { | |
| final EjbJar ejbJar = ejbModule.getEjbJar(); | |
| ejbJar.addInterceptor(new Interceptor(GovernanceEnforcerInterceptor.class)); | |
| final AssemblyDescriptor assemblyDescriptor = ejbJar.getAssemblyDescriptor(); | |
| assemblyDescriptor.addInterceptorBinding(new InterceptorBinding("*", GovernanceEnforcerInterceptor.class.getName())); | |
| LOGGER.fine("Successfully added governance interceptor to ejb module > " + ejbModule.getModuleId()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public void observeAssemblerBeforeApplicationDestroyed(@Observes final AssemblerAfterApplicationCreated event) { | |
| final ContainerSystem containerSystem = SystemInstance.get().getComponent(ContainerSystem.class); | |
| final AppContext appContext = containerSystem.getAppContext(event.getApp().appId); | |
| final List<WebContext> webContexts = appContext.getWebContexts(); | |
| for (WebContext webContext : webContexts) { | |
| final ClassLoader classLoader = webContext.getClassLoader(); | |
| final String id = webContext.getId(); | |
| TrackerService.get().registerClassloaderForAppId(id, classLoader); | |
| } | |
| } |