[Design of JBoss internal QA (Test Suite)] - Test suite classpath normalization
by ryan.campbell@jboss.com
While the test suite allows you to test the server binaries available under jboss.dist, it does not allow you to test the client jars available under ${jboss.dist}/client. Instead, the client classpath is essentially all the jars either:
1. Produced by the build under */output/lib
2. Downloaded in /thirdparty
This prevents you from testing the client jars under ${jboss.dist} and fully validating that image which is useful for many different applications including patch testing and the testing of various installation techniques. Perhaps just as important, it will allow us to detect inadvertent omissions.
I have created http://jira.jboss.com/jira/browse/JBAS-3993 which suggest we should source the tests.classpath primarly from ${jboss.dist}/client/*.jar, and only supplement as needed for test cases which require additional jars.
I propose the following approach:
- rename the existing tests.classpath to tests.compile.classpath
- create a new tests.classpath which is intially only contains ${jboss.dist}/client/*.jar
- add additional jars as needed. I would expect things like apache HTTPClient. Each of these exceptions should be listed in this thread so we are aware of what they are.
This should first be implemented in Branch_4_0, then 4_2, then trunk. Most of the task will be identifying which additional jars must be added to the classpath besides ${jboss.dist}/client/*.jar and verifying this work causes no regressions.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002077#4002077
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002077
19 years, 2 months
[Design of POJO Server] - Re: Running with the full featured profile service
by charles.crouch@jboss.com
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
and
16: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 similar
16: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)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002004#4002004
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002004
19 years, 2 months