Embedded DB for internal use
by Brian Stansberry
I know there've been a few threads on this general topic, so please
forgive if I'm rehashing old ground.
I'd like to replace the way clustered web sessions and clustered EJB3
SFSBs store their data. They currently do it to the file system via
JBossCache's FileCacheLoader. Lot's of issues with that. A simple
alternative is a config change to use JDBCCacheLoader and have the
storage done to an embedded DB.
My assumptions about this are:
1) Each AS instance would be *meant to* have it's own DB instance; it's
not meant to be a shared resource. A user reconfiguring the AS to share
the same db instance with the same schema between AS instances would be
making a configuration mistake.
2) It would be a production ready RDBMS (Derby ???); expectation would
not be that customers should replace it by default.
3) We'd deploy our own datasource (say "EmbeddedDS" or "InternalDS") to
talk to it. Internal services like I described would use that datasource.
4) DefaultDS could point to it as well, so the AS works out of the box.
But the recommendation there would be the same as now -- reconfigure the
DefaultDS to point to an external production-ready DB.
Thoughts?
--
Brian Stansberry
Lead, AS Clustering
JBoss, a division of Red Hat
brian.stansberry(a)redhat.com
17 years, 3 months
Class loading & JNDI lookup in MC
by Carlo de Wolf
Who can give me a clue why this failing?
2007-09-06 15:56:04,209 TRACE [org.jboss.ejb3.kernel.JNDIKernelRegistryPlugin:87] get entry for jndi:WSHandlerTest_wsejb_vehicleHome
2007-09-06 15:56:04,212 ERROR [STDERR:151] javax.naming.CommunicationException [Root exception is java.lang.ClassNotFoundException: No ClassLoaders found for: com.sun.ts.tests.common.vehicle.wsejb.WSEJBVehicleHome (no security manager: RMI class loader disabled)]
2007-09-06 15:56:04,214 ERROR [STDERR:151] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:788)
2007-09-06 15:56:04,215 ERROR [STDERR:151] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:629)
2007-09-06 15:56:04,215 ERROR [STDERR:151] at javax.naming.InitialContext.lookup(InitialContext.java:351)
2007-09-06 15:56:04,216 ERROR [STDERR:151] at org.jboss.ejb3.kernel.JNDIKernelRegistryPlugin.getEntry(JNDIKernelRegistryPlugin.java:91)
2007-09-06 15:56:04,217 ERROR [STDERR:151] at org.jboss.kernel.plugins.registry.AbstractKernelRegistry.getEntry(AbstractKernelRegistry.java:85)
2007-09-06 15:56:04,218 ERROR [STDERR:151] at org.jboss.kernel.plugins.dependency.AbstractKernelController.getContext(AbstractKernelController.java:120)
2007-09-06 15:56:04,219 ERROR [STDERR:151] at org.jboss.dependency.plugins.AbstractController.getInstalledContext(AbstractController.java:355)
2007-09-06 15:56:04,220 ERROR [STDERR:151] at org.jboss.beans.metadata.plugins.AbstractDemandMetaData$DemandDependencyItem.resolve(AbstractDemandMetaData.java:165)
2007-09-06 15:56:04,221 ERROR [STDERR:151] at org.jboss.dependency.plugins.AbstractDependencyInfo.resolveDependencies(AbstractDependencyInfo.java:140)
2007-09-06 15:56:04,221 ERROR [STDERR:151] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:901)
2007-09-06 15:56:04,222 ERROR [STDERR:151] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:839)
2007-09-06 15:56:04,223 ERROR [STDERR:151] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
2007-09-06 15:56:04,224 ERROR [STDERR:151] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622)
2007-09-06 15:56:04,227 ERROR [STDERR:151] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
2007-09-06 15:56:04,228 ERROR [STDERR:151] at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:495)
2007-09-06 15:56:04,229 ERROR [STDERR:151] at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:354) 2007-09-06 15:56:04,229 ERROR [STDERR:151] at org.jboss.deployment.services.DeploymentManagerService.deploy_phase2(DeploymentManagerService.java:412)
2007-09-06 15:56:04,230 ERROR [STDERR:151] at org.jboss.deployment.services.DeploymentManagerService.deploy(DeploymentManagerService.java:295)
2007-09-06 15:56:04,231 ERROR [STDERR:151] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2007-09-06 15:56:04,232 ERROR [STDERR:151] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2007-09-06 15:56:04,234 ERROR [STDERR:151] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2007-09-06 15:56:04,235 ERROR [STDERR:151] at java.lang.reflect.Method.invoke(Method.java:585)
2007-09-06 15:56:04,237 ERROR [STDERR:151] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
2007-09-06 15:56:04,237 ERROR [STDERR:151] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
2007-09-06 15:56:04,238 ERROR [STDERR:151] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
2007-09-06 15:56:04,239 ERROR [STDERR:151] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
2007-09-06 15:56:04,240 ERROR [STDERR:151] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
2007-09-06 15:56:04,241 ERROR [STDERR:151] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2007-09-06 15:56:04,241 ERROR [STDERR:151] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2007-09-06 15:56:04,243 ERROR [STDERR:151] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2007-09-06 15:56:04,244 ERROR [STDERR:151] at java.lang.reflect.Method.invoke(Method.java:585)
2007-09-06 15:56:04,245 ERROR [STDERR:151] at org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:270)
2007-09-06 15:56:04,245 ERROR [STDERR:151] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2007-09-06 15:56:04,247 ERROR [STDERR:151] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2007-09-06 15:56:04,249 ERROR [STDERR:151] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2007-09-06 15:56:04,249 ERROR [STDERR:151] at java.lang.reflect.Method.invoke(Method.java:585)
2007-09-06 15:56:04,251 ERROR [STDERR:151] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
2007-09-06 15:56:04,253 ERROR [STDERR:151] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
2007-09-06 15:56:04,254 ERROR [STDERR:151] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)
2007-09-06 15:56:04,255 ERROR [STDERR:151] at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
2007-09-06 15:56:04,256 ERROR [STDERR:151] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140)
2007-09-06 15:56:04,256 ERROR [STDERR:151] at org.jboss.jmx.connector.invoker.SerializableInterceptor.invoke(SerializableInterceptor.java:74)
2007-09-06 15:56:04,257 ERROR [STDERR:151] at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
2007-09-06 15:56:04,261 ERROR [STDERR:151] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
2007-09-06 15:56:04,263 ERROR [STDERR:151] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
2007-09-06 15:56:04,264 ERROR [STDERR:151] at org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:179)
2007-09-06 15:56:04,265 ERROR [STDERR:151] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2007-09-06 15:56:04,266 ERROR [STDERR:151] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2007-09-06 15:56:04,266 ERROR [STDERR:151] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2007-09-06 15:56:04,267 ERROR [STDERR:151] at java.lang.reflect.Method.invoke(Method.java:585)
2007-09-06 15:56:04,269 ERROR [STDERR:151] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
2007-09-06 15:56:04,270 ERROR [STDERR:151] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
2007-09-06 15:56:04,272 ERROR [STDERR:151] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
2007-09-06 15:56:04,273 ERROR [STDERR:151] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
2007-09-06 15:56:04,274 ERROR [STDERR:151] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
2007-09-06 15:56:04,275 ERROR [STDERR:151] at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:815)
2007-09-06 15:56:04,276 ERROR [STDERR:151] at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:416)
2007-09-06 15:56:04,277 ERROR [STDERR:151] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2007-09-06 15:56:04,280 ERROR [STDERR:151] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2007-09-06 15:56:04,280 ERROR [STDERR:151] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2007-09-06 15:56:04,282 ERROR [STDERR:151] at java.lang.reflect.Method.invoke(Method.java:585)
2007-09-06 15:56:04,283 ERROR [STDERR:151] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
2007-09-06 15:56:04,283 ERROR [STDERR:151] at sun.rmi.transport.Transport$1.run(Transport.java:153)
2007-09-06 15:56:04,284 ERROR [STDERR:151] at java.security.AccessController.doPrivileged(Native Method)
2007-09-06 15:56:04,285 ERROR [STDERR:151] at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
2007-09-06 15:56:04,285 ERROR [STDERR:151] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
2007-09-06 15:56:04,286 ERROR [STDERR:151] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
2007-09-06 15:56:04,287 ERROR [STDERR:151] at java.lang.Thread.run(Thread.java:595)
2007-09-06 15:56:04,289 ERROR [STDERR:151] Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: com.sun.ts.tests.common.vehicle.wsejb.WSEJBVehicleHome (no security manager: RMI class loader disabled)
2007-09-06 15:56:04,289 ERROR [STDERR:151] at sun.rmi.server.LoaderHandler.loadProxyClass(LoaderHandler.java:531)
2007-09-06 15:56:04,291 ERROR [STDERR:151] at java.rmi.server.RMIClassLoader$2.loadProxyClass(RMIClassLoader.java:628)
2007-09-06 15:56:04,292 ERROR [STDERR:151] at org.jboss.system.JBossRMIClassLoader.loadProxyClass(JBossRMIClassLoader.java:82)
2007-09-06 15:56:04,292 ERROR [STDERR:151] at java.rmi.server.RMIClassLoader.loadProxyClass(RMIClassLoader.java:294)
2007-09-06 15:56:04,293 ERROR [STDERR:151] at sun.rmi.server.MarshalInputStream.resolveProxyClass(MarshalInputStream.java:238)
2007-09-06 15:56:04,296 ERROR [STDERR:151] at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1499)
2007-09-06 15:56:04,297 ERROR [STDERR:151] at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1462)
2007-09-06 15:56:04,298 ERROR [STDERR:151] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1698)
2007-09-06 15:56:04,300 ERROR [STDERR:151] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1304)
2007-09-06 15:56:04,301 ERROR [STDERR:151] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:349)
2007-09-06 15:56:04,301 ERROR [STDERR:151] at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
2007-09-06 15:56:04,302 ERROR [STDERR:151] at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72)
2007-09-06 15:56:04,307 ERROR [STDERR:151] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:712)
2007-09-06 15:56:04,308 ERROR [STDERR:151] ... 67 more
17 years, 3 months
Hudson and XMLJUnitMultipleResultFormatter
by Brian Stansberry
Hudson doesn't seem to handle the XMLJUnitMultipleResultFormatter
business we add in the testsuite junit tasks. We do this to append the
name of the configuration to the test name for tests that we repeat
under multiple configurations:
<sysproperty key="jboss-junit-configuration"
value="${jboss-junit-configuration}"/>
<formatter
classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
usefile="${junit.formatter.usefile}"
extension="-${jboss-junit-configuration}.xml" />
http://hudson.jboss.org/hudson/job/JBoss-AS-5.0.x-TestSuite-sun15/32/test...
shows a Hudson report where the identifying information is lost. (Why
most of these tests are failing when they don't in cc is a separate issue.)
--
Brian Stansberry
Lead, AS Clustering
JBoss, a division of Red Hat
brian.stansberry(a)redhat.com
17 years, 3 months
jboss-test in HEAD
by Adrian
Head was using jboss-test-1.0.2.GA
but there is no tag for this in SVN?????
http://anonsvn.jboss.org/repos/jbossas/projects/test/tags/
I've updated it to the latest snapshot.
It needs a 1.0.4.GA release (tagged in SVN :-)
before 5.0.0-beta3
--
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Adrian Brock
Chief Scientist
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
17 years, 3 months
mail-ra.rar in AS 4.2
by Pete Muir
Hi
This doesn't seem to be in the zip for 4.2.x (whilst it was in 4.0.x).
Is this on purpose?
If so, can a packaged version be downloaded from somewhere?
Thanks :)
17 years, 3 months