[JBoss Seam] - Re: Multiple WARs in one Seam application?
by SmokingAPipe
Yes I configured them in the jboss-tomcat.sar/server.xml. I also split the application up into two totally separate ear files. Now nothing is working. This is a nightmare. JBoss + Seam offers great promise but literally I have spent 1/4 of my time in this project tracking down configuration problems. I know that if I knew how to do it all it would be easy but the learning curve is steep and given the dozen or so config files in play, tracking down problems is far from trivial.
The other problem I'm having right now is logging. For some reason my application isn't giving any log messages at all on my live server. On my desktop system I get plenty of informational log messages. And now I'm getting even more problems with entities not being mapped and I have no idea what's causing that.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001613#4001613
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001613
19 years, 3 months
[EJB 3.0] - Possible bug? EJB3 in a .sar
by adamw
Hello,
I tried deploying an .ejb3 archive in a .sar, and I get the following exception:
| 00:43:00,131 ERROR [STDERR] java.lang.NullPointerException
| 00:43:00,133 ERROR [STDERR] at org.jboss.ejb.txtimer.DatabasePersistencePolicy.listTimerHandles(DatabasePersistencePolicy.java:164)
| 00:43:00,133 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 00:43:00,133 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 00:43:00,134 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 00:43:00,134 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 00:43:00,134 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| 00:43:00,134 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| 00:43:00,134 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| 00:43:00,135 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| 00:43:00,135 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| 00:43:00,135 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| 00:43:00,136 ERROR [STDERR] at $Proxy26.listTimerHandles(Unknown Source)
| 00:43:00,136 ERROR [STDERR] at org.jboss.ejb.txtimer.EJBTimerServiceImpl.restoreTimers(EJBTimerServiceImpl.java:408)
| 00:43:00,136 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 00:43:00,136 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 00:43:00,136 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 00:43:00,137 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 00:43:00,137 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| 00:43:00,137 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| 00:43:00,137 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| 00:43:00,138 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| 00:43:00,138 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| 00:43:00,138 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| 00:43:00,138 ERROR [STDERR] at $Proxy48.restoreTimers(Unknown Source)
| 00:43:00,138 ERROR [STDERR] at org.jboss.ejb3.timerservice.jboss.JBossTimerServiceFactory.restoreTimerService(JBossTimerServiceFactory.java:120)
| 00:43:00,142 ERROR [STDERR] at org.jboss.ejb3.service.ServiceContainer.start(ServiceContainer.java:149)
| 00:43:00,158 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 00:43:00,158 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 00:43:00,159 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 00:43:00,159 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 00:43:00,159 ERROR [STDERR] at org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:102)
| 00:43:00,160 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| 00:43:00,160 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| 00:43:00,160 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
| 00:43:00,160 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 00:43:00,160 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 00:43:00,161 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| 00:43:00,161 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| 00:43:00,161 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| 00:43:00,161 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| 00:43:00,162 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| 00:43:00,162 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| 00:43:00,162 ERROR [STDERR] at $Proxy0.start(Unknown Source)
| 00:43:00,162 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417)
| 00:43:00,163 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
| 00:43:00,278 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 00:43:00,280 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 00:43:00,280 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| 00:43:00,281 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| 00:43:00,281 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| 00:43:00,281 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| 00:43:00,281 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| 00:43:00,282 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| 00:43:00,282 ERROR [STDERR] at $Proxy37.start(Unknown Source)
| 00:43:00,282 ERROR [STDERR] at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:96)
| 00:43:00,282 ERROR [STDERR] at org.jboss.ejb3.Ejb3Deployment.registerEJBContainer(Ejb3Deployment.java:281)
| 00:43:00,283 ERROR [STDERR] at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:328)
| 00:43:00,283 ERROR [STDERR] at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:91)
| 00:43:00,283 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| 00:43:00,283 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| 00:43:00,284 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
| 00:43:00,284 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 00:43:00,284 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 00:43:00,284 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| 00:43:00,284 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| 00:43:00,285 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| 00:43:00,285 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| 00:43:00,285 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| 00:43:00,285 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| 00:43:00,286 ERROR [STDERR] at $Proxy0.start(Unknown Source)
| 00:43:00,286 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417)
| 00:43:00,286 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
| 00:43:00,286 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 00:43:00,286 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 00:43:00,357 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| 00:43:00,358 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| 00:43:00,358 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| 00:43:00,358 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| 00:43:00,358 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| 00:43:00,360 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| 00:43:00,360 ERROR [STDERR] at $Proxy29.start(Unknown Source)
| 00:43:00,360 ERROR [STDERR] at org.jboss.ejb3.EJB3Deployer.start(EJB3Deployer.java:449)
| 00:43:00,360 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 00:43:00,360 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 00:43:00,361 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 00:43:00,361 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 00:43:00,361 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| 00:43:00,361 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| 00:43:00,362 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| 00:43:00,362 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| 00:43:00,362 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| 00:43:00,362 ERROR [STDERR] at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
| 00:43:00,362 ERROR [STDERR] at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
| 00:43:00,363 ERROR [STDERR] at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92)
| 00:43:00,363 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
| 00:43:00,363 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
| 00:43:00,363 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| 00:43:00,364 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| 00:43:00,364 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| 00:43:00,364 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| 00:43:00,364 ERROR [STDERR] at $Proxy30.start(Unknown Source)
| 00:43:00,365 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
| 00:43:00,365 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
| 00:43:00,365 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
| 00:43:00,365 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| 00:43:00,366 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 00:43:00,366 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 00:43:00,366 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 00:43:00,366 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 00:43:00,366 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| 00:43:00,431 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| 00:43:00,431 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| 00:43:00,432 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| 00:43:00,432 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| 00:43:00,432 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| 00:43:00,433 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| 00:43:00,433 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| 00:43:00,434 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| 00:43:00,434 ERROR [STDERR] at $Proxy8.deploy(Unknown Source)
| 00:43:00,434 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
| 00:43:00,434 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
| 00:43:00,434 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
| 00:43:00,695 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
| 00:43:00,695 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| 00:43:00,695 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| 00:43:00,695 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
| 00:43:00,696 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 00:43:00,696 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 00:43:00,696 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| 00:43:00,696 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| 00:43:00,696 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| 00:43:00,696 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| 00:43:00,697 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| 00:43:00,697 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| 00:43:00,697 ERROR [STDERR] at $Proxy0.start(Unknown Source)
| 00:43:00,697 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417)
| 00:43:00,697 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
| 00:43:00,697 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 00:43:00,697 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 00:43:00,698 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| 00:43:00,698 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| 00:43:00,698 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| 00:43:00,698 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| 00:43:00,698 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| 00:43:00,698 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| 00:43:00,699 ERROR [STDERR] at $Proxy4.start(Unknown Source)
| 00:43:00,699 ERROR [STDERR] at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
| 00:43:00,699 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
| 00:43:00,699 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
| 00:43:00,699 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| 00:43:00,699 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
| 00:43:00,699 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 00:43:00,700 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 00:43:00,700 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 00:43:00,700 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 00:43:00,700 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| 00:43:00,700 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| 00:43:00,700 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| 00:43:00,700 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| 00:43:00,700 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| 00:43:00,701 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| 00:43:00,701 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| 00:43:00,701 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| 00:43:00,701 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| 00:43:00,701 ERROR [STDERR] at $Proxy5.deploy(Unknown Source)
| 00:43:00,772 ERROR [STDERR] at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
| 00:43:00,773 ERROR [STDERR] at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
| 00:43:00,774 ERROR [STDERR] at org.jboss.Main.boot(Main.java:200)
| 00:43:00,774 ERROR [STDERR] at org.jboss.Main$1.run(Main.java:490)
| 00:43:00,775 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
|
The same .ejb3 works when deployed separately.
--
Cheers,
Adam
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001603#4001603
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001603
19 years, 3 months
[JBoss Seam] - Re: dataTable in two windows
by lightbulb432
Here's something else that happens, which I think is probably more important to address than the previous, and I think it'll solve the previous.
If you delete a row, then refresh the page, the next row gets deleted. The more you refresh, the more rows get deleted!
Here's what the table rows are initially:
a
b
c
d
Let's say you delete row b, so the table now looks like
a
c
d
You refresh the page, click OK for the rePOST error that IE presents, but the table has changed again!
a
d
Another refresh would result in:
d
The refresh repeats the delete operation with the current row index, so keeps deleting whatever is next in line from where b was initially.
Is this just a downside of using DataModelSelection, or is there some way to avoid the injection based on row index (preferrably the id of the underlying entity for that row)?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001602#4001602
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001602
19 years, 3 months
[JBoss Seam] - dataTable in two windows
by lightbulb432
If you have the same page containing a dataTable open in two windows and you delete an element from one window (assume you've made delete functionality in your code to simply remove the injected @DataModelSelection from the entity and the EntityManager), then delete the same element from the other window (without refreshing first to pick up the deletion), something happens that I didn't expect.
Rather than the second delete not doing anything (because the underlying object for that row doesn't exist), it actually deletes whatever object is currently under the row index in place of where the previous row was before. Let me clarify:
table contains following elements:
a
b
c
In window one you delete a, and the table looks like this:
b
c
In window two because you haven't refreshed it still looks like
a
b
c
In window two you delete a. I would think that nothing should happen because a is already gone. However, here's what window two (and window one after refreshing) looks like:
c
Apparently clicking delete deleted whatever is currently in the row index position that a was in before, which is now b...
Do dataTables have some functionality to get around this or is this actually how this is supposed to work?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001600#4001600
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001600
19 years, 3 months
[Tomcat, HTTPD, Servlets & JSP] - Re: JBoss Web vs Tomcat?
by lightbulb432
A couple more questions:
1) Can you still use things like .htaccess in JBoss Web to get the full functionality that Apache offers in terms of its configuration power and flexibility? Or is .htaccess not possible in JBoss Web?
2) Does JBoss Web replace jbossweb-tomcat55.sar, or does it simply connect to it? (i.e. Will jbossweb-tomcat55.sar be necessary in the deploy directory of a JBoss configuration that's using JBoss Web?)
3) The following page says JBoss Web is a standalone web server. It looks like you start it up separately, you deploy things to its own deploy directory...if it's so standalone, do you front JBoss AS with JBoss Web (sort of like how you from Tomcat wth Apache), or do you have two distinct servers running simultaneously - JBoss AS and JBoss Web? I hope it's the former option because of my next question...
http://labs.jboss.com/file-access/default/members/jbossweb/freezone/insta...
4) If currently I deploy EARs to JBoss AS that contain JARs and WARs, how would I make it work if the WARs now need to be put in the JBoss Web deploy dir rather than the JBoss AS deploy dir, if there are two separate servers running?
5) If there are not two separate servers running and you in fact connect JBoss Web to intercept requests to JBoss AS or something like that, what's the benefit to connecting JBoss Web to JBoss AS, versus connecting Apache to jbossweb-tomcat55.sar?
The performance graph on the JBoss Web homepage only compares JBoss Web to Tomcat alone...I wonder where Apache+Tomcat would lay on that graph...probably up there with JBoss Web? I say this because Apache+Tomcat is supposed to seriously outperform Tomcat alone when serving static content...so what's the benefit to connecting JBoss Web to JBoss AS, versus connecting Apache to jbossweb-tomcat55.sar?
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001598#4001598
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001598
19 years, 3 months