-
1. Re: Running with the full featured profile service
ccrouch Jan 15, 2007 6:06 PM (in response to starksm64)I'm getting exactly two tests passing, just not including the one I really want :-). FWIW BasicDeploymentTemplateInfo is in /trunk/profileservice and getting built.
Testcase: testProfileKeys took 2.653 sec Testcase: testDataSourceType took 0.151 sec Testcase: testAddDataSource took 0.06 sec Caused an ERROR org.jboss.profileservice.management.plugins.BasicDeploymentTemplateInfo java.lang.ClassNotFoundException: org.jboss.profileservice.management.plugins.BasicDeploymentTemplateInfo at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:242) at org.jboss.remoting.loading.RemotingClassLoader.loadClass(RemotingClassLoader.java:50) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:242) at org.jboss.remoting.loading.ObjectInputStreamWithClassLoader.resolveClass(ObjectInputStreamWithClassLoader.java:139) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1543) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1465) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1698) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1304) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:349) at org.jboss.aop.joinpoint.InvocationResponse.readExternal(InvocationResponse.java:122) at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1758) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1716) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1304) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1917) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1841) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1718) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1304) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:349) at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.receiveObject(JavaSerializationManager.java:132) at org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.read(SerializableUnMarshaller.java:66) at org.jboss.invocation.unified.marshall.InvocationUnMarshaller.read(InvocationUnMarshaller.java:48) at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.versionedRead(MicroSocketClientInvoker.java:485) at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:356) at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:125) at org.jboss.remoting.Client.invoke(Client.java:589) at org.jboss.remoting.Client.invoke(Client.java:581) at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:62) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.remoting.MergeMetaDataInterceptor.invoke(MergeMetaDataInterceptor.java:74) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at AOPProxy$1.getTemplate(AOPProxy$1.java) at org.jboss.test.profileservice.test.ProfileServiceUnitTestCase.testAddDataSource(ProfileServiceUnitTestCase.java:91) at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:74) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.remoting.MergeMetaDataInterceptor.invoke(MergeMetaDataInterceptor.java:74) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at AOPProxy$1.getTemplate(AOPProxy$1.java) at org.jboss.test.profileservice.test.ProfileServiceUnitTestCase.testAddDataSource(ProfileServiceUnitTestCase.java:91)
-
2. Re: Running with the full featured profile service
ccrouch Jan 15, 2007 6:13 PM (in response to starksm64)FWIW I'm seeing the following errors when booting the profileservice enabled version of the default config in /trunk:
16:48:41,197 ERROR [SerializableDeploymentRepository] Failed to load attachments, ignoringjava.lang.ClassNotFoundException: org.jboss.resource.metadata.ConnectorMetaData 16:48:41,227 ERROR [SerializableDeploymentRepository] Failed to load attachments, ignoringjava.lang.ClassNotFoundException: org.jboss.resource.metadata.ConnectorMetaData 16:48:41,247 ERROR [SerializableDeploymentRepository] Failed to load attachments, ignoringjava.lang.ClassNotFoundException: org.jboss.resource.metadata.ConnectorMetaData 16:48:41,297 ERROR [SerializableDeploymentRepository] Failed to load attachments, ignoringjava.lang.ClassNotFoundException: org.jboss.resource.metadata.ConnectorMetaData 16:48:41,528 ERROR [SerializableDeploymentRepository] Failed to load attachments, ignoringjava.lang.ClassNotFoundException: org.jboss.resource.metadata.ConnectorMetaData 16:48:41,578 ERROR [SerializableDeploymentRepository] Failed to load attachments, ignoringjava.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.jbos s.metadata.WebMetaData 16:48:41,958 ERROR [SerializableDeploymentRepository] Failed to load attachments, ignoringjava.lang.ClassNotFoundException: org.jboss.resource.metadata.ConnectorMetaData 16:48:42,169 ERROR [SerializableDeploymentRepository] Failed to load attachments, ignoringjava.lang.ClassNotFoundException: org.jboss.resource.metadata.ConnectorMetaData 16:48:42,179 ERROR [SerializableDeploymentRepository] Failed to load attachments, ignoringjava.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.jbos s.metadata.WebMetaData
and16:49:09,388 ERROR [AbstractKernelController] Error installing to Start: name=jboss.jca:name='quartz-ra.rar',service=RARDeployment state=Create mode=Manual requiredState=Installed java.lang.StackOverflowError at java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:544) at java.lang.StringCoding$CharsetSD.decode(StringCoding.java:190) at java.lang.StringCoding.decode(StringCoding.java:228) at java.lang.String.<init>(String.java:405) at java.net.URLDecoder.decode(URLDecoder.java:171) at org.jboss.net.protocol.file.FileURLConnection.<init>(FileURLConnection.java:66) at org.jboss.net.protocol.file.Handler.openConnection(Handler.java:42) at java.net.URL.openConnection(URL.java:943) at org.jboss.virtual.plugins.context.AbstractURLHandler.initCacheLastModified(AbstractURLHandler.java:72) at org.jboss.virtual.plugins.context.AbstractURLHandler.<init>(AbstractURLHandler.java:65) at org.jboss.virtual.plugins.context.file.FileHandler.<init>(FileHandler.java:70) at org.jboss.virtual.plugins.context.file.FileHandler.<init>(FileHandler.java:89) at org.jboss.virtual.plugins.context.file.FileSystemContext.createVirtualFileHandler(FileSystemContext.java:253) at org.jboss.virtual.plugins.context.file.FileSystemContext.createVirtualFileHandler(FileSystemContext.java:186) at org.jboss.virtual.plugins.context.file.FileHandler.getChildren(FileHandler.java:171) at org.jboss.virtual.plugins.context.file.FileSystemContext.createVirtualFileHandler(FileSystemContext.java:239) at org.jboss.virtual.plugins.context.file.FileSystemContext.createVirtualFileHandler(FileSystemContext.java:186) at org.jboss.virtual.plugins.context.file.FileHandler.getChildren(FileHandler.java:171) at org.jboss.virtual.plugins.context.file.FileSystemContext.createVirtualFileHandler(FileSystemContext.java:239) at org.jboss.virtual.plugins.context.file.FileSystemContext.createVirtualFileHandler(FileSystemContext.java:186) at org.jboss.virtual.plugins.context.file.FileHandler.getChildren(FileHandler.java:171) at org.jboss.virtual.plugins.context.file.FileSystemContext.createVirtualFileHandler(FileSystemContext.java:239) at org.jboss.virtual.plugins.context.file.FileSystemContext.createVirtualFileHandler(FileSystemContext.java:186) at org.jboss.virtual.plugins.context.file.FileHandler.getChildren(FileHandler.java:171) ...
and the very similar16:49:14,635 ERROR [AbstractKernelController] Error installing to Start: name=jboss.jca:name='quartz-ra.rar#quartz-ra.rar',service=RARDeployment state=Create mode=Manual requiredSt ate=Installed java.lang.StackOverflowError at sun.nio.cs.UTF_8$Decoder.decodeLoop(UTF_8.java:416) at java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:544) at java.lang.StringCoding$CharsetSD.decode(StringCoding.java:190) at java.lang.StringCoding.decode(StringCoding.java:228) at java.lang.String.<init>(String.java:405) at java.net.URLDecoder.decode(URLDecoder.java:171) at org.jboss.net.protocol.file.FileURLConnection.<init>(FileURLConnection.java:66) at org.jboss.net.protocol.file.Handler.openConnection(Handler.java:42) at java.net.URL.openConnection(URL.java:943) at org.jboss.virtual.plugins.context.AbstractURLHandler.initCacheLastModified(AbstractURLHandler.java:72) at org.jboss.virtual.plugins.context.AbstractURLHandler.<init>(AbstractURLHandler.java:65) at org.jboss.virtual.plugins.context.file.FileHandler.<init>(FileHandler.java:70) at org.jboss.virtual.plugins.context.file.FileHandler.<init>(FileHandler.java:89) at org.jboss.virtual.plugins.context.file.FileSystemContext.createVirtualFileHandler(FileSystemContext.java:253) at org.jboss.virtual.plugins.context.file.FileSystemContext.createVirtualFileHandler(FileSystemContext.java:186) at org.jboss.virtual.plugins.context.file.FileHandler.getChildren(FileHandler.java:171) at org.jboss.virtual.plugins.context.file.FileSystemContext.createVirtualFileHandler(FileSystemContext.java:239) at org.jboss.virtual.plugins.context.file.FileSystemContext.createVirtualFileHandler(FileSystemContext.java:186) at org.jboss.virtual.plugins.context.file.FileHandler.getChildren(FileHandler.java:171) at org.jboss.virtual.plugins.context.file.FileSystemContext.createVirtualFileHandler(FileSystemContext.java:239) at org.jboss.virtual.plugins.context.file.FileSystemContext.createVirtualFileHandler(FileSystemContext.java:186) at org.jboss.virtual.plugins.context.file.FileHandler.getChildren(FileHandler.java:171)
-
3. Re: Running with the full featured profile service
starksm64 Jan 15, 2007 9:13 PM (in response to starksm64)CNFE are expected and prevent updates from loading. I don't see any overflows though. What is the os and jdk in use?
-
4. Re: Running with the full featured profile service
ccrouch Jan 15, 2007 9:28 PM (in response to starksm64)OS: Windows XP SP2
C:\usr\projects\current\jboss\trunk\build\output\jboss-5.0.0.Beta2\bin>java -version
java version "1.5.0_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
Java HotSpot(TM) Client VM (build 1.5.0_07-b03, mixed mode) -
5. Re: Running with the full featured profile service
starksm64 Jan 15, 2007 11:05 PM (in response to starksm64)Ok, see this issue:
http://jira.jboss.com/jira/browse/JBMICROCONT-139
You need jdk1.5.0_09+ to fix the underlying jdk issue that is causing the recursion on win32. -
6. Re: Running with the full featured profile service
ccrouch Jan 16, 2007 11:26 AM (in response to starksm64)"scott.stark@jboss.org" wrote:
CNFE are expected and prevent updates from loading.
So the testAddDataSource is expected to fail? What needs to be in place for it to succeed?"scott.stark@jboss.org" wrote:
I don't see any overflows though. What is the os and jdk in use?
Ok, I will try a new JDK.
Thanks -
7. Re: Running with the full featured profile service
starksm64 Jan 16, 2007 1:36 PM (in response to starksm64)"charles.crouch@jboss.com" wrote:
"scott.stark@jboss.org" wrote:
CNFE are expected and prevent updates from loading.
So the testAddDataSource is expected to fail? What needs to be in place for it to succeed?
No, that works for me. I'm running from within eclipse though so most likely a classpath is missing from the ant scripts that cause the problem when running from the command line.
The update loading is a startup problem. -
8. Re: Running with the full featured profile service
starksm64 Jan 16, 2007 4:22 PM (in response to starksm64)"scott.stark@jboss.org" wrote:
"charles.crouch@jboss.com" wrote:
"scott.stark@jboss.org" wrote:
CNFE are expected and prevent updates from loading.
So the testAddDataSource is expected to fail? What needs to be in place for it to succeed?
No, that works for me.
Ok, I was lying. A previous simple deployment creation was working, but applying changes to the template properties as is currently done in the test is not. This should be working by tonight's checkin. -
9. Re: Running with the full featured profile service
ccrouch Jan 17, 2007 11:32 AM (in response to starksm64)"scott.stark@jboss.org" wrote:
Ok, I was lying. A previous simple deployment creation was working, but applying changes to the template properties as is currently done in the test is not. This should be working by tonight's checkin.
I'm watching the rss feeds from fisheye for checkin's and haven't seen anything. However these are definitely behind real time so I was wondering if this checkin happened? -
10. Re: Running with the full featured profile service
starksm64 Jan 17, 2007 12:18 PM (in response to starksm64)No as svn was down past 2am. It won't be until latter today now.
-
11. Re: Running with the full featured profile service
rrajesh Jul 5, 2007 4:18 PM (in response to starksm64)I added a test-config to the testsuite with the full featured profile service as mentioned above, but i am not able to start the test configuration. I get NoClassDefFoundError as shown below.
The target in the testsuite is "tests-profileservice". This is not part of the main testsuite yet.16:14:19,362 ERROR [AbstractKernelController] Error installing to PreInstall: name=AspectDeployer state=Not Installed java.lang.NoClassDefFoundError: org/jboss/deployers/plugins/deployer/AbstractSimpleDeployer at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.resolveComplexTypeInfo(IntrospectionTypeInfoFactoryImpl.java:349) at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.getTypeInfo(IntrospectionTypeInfoFactoryImpl.java:340) at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactory.getTypeInfo(IntrospectionTypeInfoFactory.java:49) at org.jboss.classadapter.plugins.BasicClassAdapterFactory.getClassAdapter(BasicClassAdapterFactory.java:61) at org.jboss.config.plugins.AbstractConfiguration.getBeanInfo(AbstractConfiguration.java:70) at org.jboss.kernel.plugins.config.AbstractKernelConfig.getBeanInfo(AbstractKernelConfig.java:55) at org.jboss.kernel.plugins.config.AbstractKernelConfigurator.getBeanInfo(AbstractKernelConfigurator.java:65) at org.jboss.kernel.plugins.config.AbstractKernelConfigurator.getBeanInfo(AbstractKernelConfigurator.java:84) at org.jboss.kernel.plugins.dependency.PreInstallAction.installActionInternal(PreInstallAction.java:63) at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:147) at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:53) at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:304) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1257) at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:685) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:813) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:735) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:525) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:361) at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:309) at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:279) at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:130) at org.jboss.kernel.plugins.deployment.BasicKernelDeployer.deploy(BasicKernelDeployer.java:76) at org.jboss.kernel.plugins.deployment.xml.BasicXMLDeployer.deploy(BasicXMLDeployer.java:88) at org.jboss.kernel.plugins.deployment.xml.BasicXMLDeployer.deploy(BasicXMLDeployer.java:158) at org.jboss.system.server.profileservice.ProfileServiceBootstrap.deploy(ProfileServiceBootstrap.java:295) at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:222) at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89) at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.java:403) at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.java:342) at org.jboss.Main.boot(Main.java:210) at org.jboss.Main$1.run(Main.java:523) at java.lang.Thread.run(Thread.java:595)
-
12. Re: Running with the full featured profile service
alesj Jul 6, 2007 12:04 AM (in response to starksm64)The deployers module from MC was recently re-written, and there is no AbstractSimpleDeployer class anymore.
Maybe this is the problem? -
13. Re: Running with the full featured profile service
adrian.brock Jul 6, 2007 8:11 AM (in response to starksm64)Do a full rebuild, i.e. ./build.sh clean before building
-
14. Re: Running with the full featured profile service
rrajesh Jul 6, 2007 12:48 PM (in response to starksm64)I did work with a clean build. I verified it again now.
I am creating a profileservice config by:
1. moving conf/bootstrap-repo-beans.xml.xml to conf/bootstrap-beans.xml
2. moving deployers/profileservice-beans.xml.bak to deployers/profileservice-beans.xml
I am unable to start the server with the same error as above.12:43:05,277 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/qa/home/rrajasekaran/jboss-trunk/build/output/jboss-5.0.0.Beta3/server/profileservice/conf/bootstrap-beans.xml 12:43:07,196 INFO [ProfileServiceImpl] Loading profile: profileservice from: org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@df2d38(root=/qa/home/rrajasekaran/jboss-trunk/build/output/jboss-5.0.0.Beta3/server, key=org.jboss.profileservice.spi.ProfileKey@99c7696e[domain=default,server=default,name=profileservice]) 12:43:07,199 INFO [ProfileImpl] Using repository:org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@df2d38(root=/qa/home/rrajasekaran/jboss-trunk/build/output/jboss-5.0.0.Beta3/server, key=org.jboss.profileservice.spi.ProfileKey@99c7696e[domain=default,server=default,name=profileservice]) 12:43:07,347 ERROR [AbstractKernelController] Error installing to PreInstall: name=AspectDeployer state=Not Installed java.lang.NoClassDefFoundError: org/jboss/deployers/plugins/deployer/AbstractSimpleDeployer