jbossxb at 2.0.0-SNAPSHOT or 2.0.0.CR5
by Dimitris Andreadis
The root AS5 pom.xml refers to jbossxb 2.0.0-SNAPSHOT. The removed
build/build-thirdparty.xml was referencing 2.0.0.CR5 instead.
Do we need to revert? The server fails to start with the snapshot:
18:52:41,578 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/X:/c
vs/jboss-public/jboss-head/build/output/jboss-5.0.0.CR1/server/all/conf/bootstra
p-beans.xml
Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/xb/binding/
UnmarshallerFactory
at org.jboss.kernel.plugins.deployment.xml.BasicXMLDeployer.<clinit>(Bas
icXMLDeployer.java:52)
at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java
:98)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:
398)
at org.jboss.Main.boot(Main.java:209)
at org.jboss.Main$1.run(Main.java:544)
at java.lang.Thread.run(Thread.java:595)
18:52:41,593 INFO [ServerImpl] Runtime shutdown hook called, forceHalt: true
18:52:41,593 INFO [ServerImpl] Shutdown complete
16 years, 9 months
Query related to JBoss performance with MULE
by nandan_tiwari
Hi,
I am facing a trivial situation. I am testing the performance of JBoss with
Mule.
Here is the scenario:-
1. I have built a Mule application and deployed on jboss server in which I
have exposed one http endpoint and passed one parameter.
2. Inbound transformer will extrac the request and convert it to java bean.
3. This java bean is passed to UMO which will not do anything but passes it
to response tranformer.
4. This java bean is converted to string and passed as a http-string as a
output.
The problem is the performance. The result is very inconsistent. Response
time varies a lot for same request. I performed this test several times even
restarting the jboss server.
Please let me know where i am wrong or is it a known pattern for jboss.
My boss is really pushing me to sort this out. Immediate responses are
highly appreciated.
--
View this message in context: http://www.nabble.com/Query-related-to-JBoss-performance-with-MULE-tp1604...
Sent from the JBoss - Dev mailing list archive at Nabble.com.
16 years, 9 months
Usage of consistent groupIds/artifactIds
by Dimitris Andreadis
So jbossws appears at:
http://repository.jboss.org/maven2/
jboss
jbossws-common
jbossws-framework
jbossws-jboss50
jbossws-jdk14
jbossws-spi
jbossws
jbossws14
and
org/jboss
jbossws-client
jbossws-spi
I guess the org/jboss is the most current?
Going forward, can we agree on a common set of guidelines what goes where? Or else, define
consistent groupIds not only for jboss projects but for the thirdparty ones, too? Aren't
there any maven best practises?
Can we remove legacy maven stuff that is probably not in use yet? (that could be tricky)
Can we agree on common rules for defining artifactIds/libs? Take a look a AS server/all/lib
to understand what I mean. Most libs are like jboss-id[-id2].jar. But then you have
jbossha.jar (but jboss-ha-client.jar), jbossws-*.jar, jbosssx*.jar, jbosscache*.jar,
jbossts/jta.jar, etc.
At least, we should be consistent for new components/libs.
16 years, 9 months
Changes to JBoss AS Build
by Paul Gier
Hi Everyone,
As a step in the ongoing effort to mavenize the app server, I am replacing the
build-thirdparty.xml with a maven build. There is a new pom.xml in the
thirdparty directory that will now manage the app server dependencies. So
starting tomorrow, you will need to update the pom in the root directory of the
app server and the pom in the thirdparty directory.
All new dependencies will have to be added to the maven section of our
repository (http://repository.jboss.org/maven2) because this is where the new
thirdparty stuff will be downloaded from.
The pom in the thirdparty directory will be called automatically by the main
build script build/build.xml and you can also call it directly using "mvn
package". The thirdparty maven build then uses a plugin that reads the
dependencies from the pom, and then generates a thirdparty dependencies
directory that matches what was generated by the build-thirdparty.xml. I'm also
working on some documentation for the plugin, and I will post it as soon as it
is somewhat complete.
Please let me know if there are any questions/concerns.
Thanks!
16 years, 9 months
AS start-up failure
by Dimitris Andreadis
http://hudson.qa.jboss.com/hudson/view/JBoss%20AS/job/JBoss-AS-5.0.x-Test...
The server doesn't start properly due to the 2 bean files in
deploy/jbossws.sar/META-INF
jbossws-beans.xml
jbossws-native50-beans.xml
13:33:03,250 ERROR [AbstractKernelController] Error installing to Parse: name=vf
sfile:/X:/cvs/jboss-public/jboss-head/build/output/jboss-5.0.0.CR1/server/all/de
ploy/jbossws.sar/ state=Not Installed mode=Manual requiredState=Parse
org.jboss.deployers.spi.DeploymentException: Only one file is allowed, found=[Fi
leHandler(a)8930293[path=jbossws.sar/META-INF/jbossws-beans.xml context=file:/X:/c
vs/jboss-public/jboss-head/build/output/jboss-5.0.0.CR1/server/all/deploy/ real=
file:/X:/cvs/jboss-public/jboss-head/build/output/jboss-5.0.0.CR1/server/all/dep
loy/jbossws.sar/META-INF/jbossws-beans.xml], FileHandler(a)2464124[path=jbossws.sa
r/META-INF/jbossws-native50-beans.xml context=file:/X:/cvs/jboss-public/jboss-he
ad/build/output/jboss-5.0.0.CR1/server/all/deploy/ real=file:/X:/cvs/jboss-publi
c/jboss-head/build/output/jboss-5.0.0.CR1/server/all/deploy/jbossws.sar/META-INF
/jbossws-native50-beans.xml]]
16 years, 9 months
Re: [jboss-cvs] JBossAS SVN: r70794 - in trunk: testsuite and 1 other directory.
by Adrian Brock
Nice. Major change to how the build works with no warning
about the commit.
The "Design of JBoss Build" forum isn't something
that every developer reads, unlike this jboss-dev mailing list.
In fact, this topic has never even been raised on the jboss-dev
mailing list, so many probably don't even know what this is about?
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=130257
And there's not exactly a WARNING post there either :-)
<sarcasm>
Good job nobody's doing anything major at the moment
and has to "redo" the last couple of days work.
</sarcasm>
If they'd known they might have rescheduled or asked you
to reschedule so the two things don't conflict.
P.S. "redo" is an exaggeration, just be more considerate in future. :-)
On Wed, 2008-03-12 at 21:34 -0400, jboss-cvs-commits(a)lists.jboss.org
wrote:
> Author: pgier
> Date: 2008-03-12 21:34:22 -0400 (Wed, 12 Mar 2008)
> New Revision: 70794
>
> Removed:
> trunk/build/build-thirdparty.xml
> trunk/testsuite/build-thirdparty.xml
> Modified:
> trunk/build/build.xml
> Log:
> [JBBUILD-453] Removing build-thirdparty.xml. Adding call to mvn package in build.xml.
>
> Deleted: trunk/build/build-thirdparty.xml
> ===================================================================
> --- trunk/build/build-thirdparty.xml 2008-03-13 01:15:00 UTC (rev 70793)
> +++ trunk/build/build-thirdparty.xml 2008-03-13 01:34:22 UTC (rev 70794)
> @@ -1,167 +0,0 @@
> -<?xml version="1.0"?>
> -<!-- $Id$ -->
> -<project name="main.build" default="synchronize" basedir=".">
> -
> - <!-- Property File definitions -->
> - <property file="local.properties"/>
> - <property file="synchronize.properties"/>
> - <property environment="env"/>
> -
> - <!-- Property Definitions -->
> - <property name="generatedLibrariesFiles" value="../thirdparty/libraries.ent"/>
> -
> - <!-- Allow jbossbuild.repository to be set from (in order or priority)
> - | Command line -Djbossbuild.repository=...
> - | synchronize.properties jbossbuild.repository setting
> - | JBOSS_REPOSITORY environment variable
> - | (e.g. JBOSS_REPOSITORY=file:///d:/projects/repository.jboss.com/)
> - -->
> -
> - <condition property="jbossbuild.repository" value="${env.JBOSS_REPOSITORY}">
> - <isset property="env.JBOSS_REPOSITORY"/>
> - </condition>
> -
> - <!-- Fall back to default -->
> - <property name="jbossbuild.repository" value="http://repository.jboss.com"/>
> -
> - <!-- File Imports -->
> - <import file="../tools/etc/jbossbuild/tasks.xml"/>
> -
> - <!-- Main Definition of dependencies -->
> - <build
> - id="jbossas-thirdparty"
> - impltitle="JBossAS"
> - implversion="jboss-head"
> - implvendor="JBoss Inc."
> - implurl="http://www.jboss.org"
> - description="JBoss Application Server"
> - cvsroot="${cvs.prefix}@cvs.forge.jboss.com:/cvsroot/jboss"
> - thirdpartypath="../thirdparty/"
> - location="${jbossbuild.repository}"
> - targetdefs="targets">
> -
> - <!--
> - The repository is in CVS under the module repository.jboss.com whose contents
> - are pushed to the http://repository.jboss.com site.
> - -->
> -
> - <componentref name="antlr" version="2.7.6-brew"/>
> - <componentref name="apache-avalon" version="4.1.5"/>
> - <componentref name="apache-avalon-logkit" version="1.2"/>
> - <componentref name="apache-bcel" version="5.1"/>
> - <componentref name="apache-beanutils" version="1.7.0"/>
> - <componentref name="apache-bsf" version="2.3.0"/>
> - <componentref name="apache-codec" version="1.3.0"/>
> - <componentref name="apache-collections" version="3.1"/>
> - <componentref name="apache-digester" version="1.7-brew"/>
> - <componentref name="apache-discovery" version="0.4-brew"/>
> - <componentref name="apache-fileupload" version="1.1.1"/>
> - <componentref name="apache-httpclient" version="3.0.1"/>
> - <componentref name="apache-jaxme" version="0.2-cvs"/>
> - <componentref name="apache-log4j" version="1.2.14"/>
> - <componentref name="apache-logging" version="1.1.0.jboss"/>
> - <componentref name="apache-myfaces" version="1.1.3"/>
> - <componentref name="apache-scout" version="0.7rc2"/>
> - <componentref name="apache-slide" version="2.1-brew"/>
> - <componentref name="apache-velocity" version="1.4jboss"/>
> - <componentref name="apache-xalan" version="2.7.0.patch01-brew"/>
> - <componentref name="apache-xerces" version="2.9.0"/>
> - <componentref name="apache-xmlsec" version="1.3.0"/>
> - <componentref name="beanshell" version="1.3.0"/>
> - <componentref name="cglib" version="2.1.3"/>
> - <componentref name="commons-el" version="1.0"/>
> - <componentref name="dom4j" version="1.6.1"/>
> - <componentref name="easymock" version="1.1"/>
> - <componentref name="gnu-getopt" version="1.0.12-brew"/>
> - <componentref name="hibernate" version="3.2.4.SP1_CP01-brew"/>
> - <componentref name="hibernate-annotations" version="3.3.1.Beta1"/>
> - <componentref name="hibernate-commons-annotations" version="3.0.0.GA"/>
> - <componentref name="hibernate-entitymanager" version="3.3.2.Beta3"/>
> - <componentref name="hibernate-validator" version="3.0.0.GA"/>
> - <componentref name="hsqldb" version="1.8.0.8-brew"/>
> - <componentref name="jacorb" version="2.3.0jboss.patch5-brew"/>
> - <componentref name="javassist" version="3.7.1.GA"/>
> - <componentref name="jaxen" version="1.1-brew"/>
> - <componentref name="jboss/aop" version="2.0.0.CR7"/>
> - <componentref name="jboss/cache/jbosscache-core" version="2.1.0.CR4"/>
> - <componentref name="jboss/cache/jbosscache-pojo" version="2.1.0.CR4"/>
> - <componentref name="jboss/common-core" version="2.2.3.GA"/>
> - <componentref name="jboss/common-logging-jdk" version="2.0.2.GA"/>
> - <componentref name="jboss/common-logging-log4j" version="2.0.2.GA"/>
> - <componentref name="jboss/common-logging-spi" version="2.0.2.GA"/>
> - <componentref name="jboss/integration" version="5.0.0.Beta4"/>
> - <componentref name="jboss/jaxr" version="1.2.0.GA"/>
> - <componentref name="jboss/jboss-ejb3-cache" version="0.11.1"/>
> - <componentref name="jboss/jboss-ejb3-ext-api" version="0.3-SNAPSHOT"/>
> - <componentref name="jboss/jboss-ejb3-ext-api-impl" version="0.3-SNAPSHOT"/>
> - <componentref name="jboss/jboss-ejb3-interceptors" version="0.12.0-SNAPSHOT"/>
> - <componentref name="jboss/jboss-ejb3-metadata" version="0.12.0-SNAPSHOT"/>
> - <componentref name="jboss/jboss-ejb3-core" version="0.1.0-SNAPSHOT"/>
> - <componentref name="jboss/jboss-ha-client" version="1.0.0.GA"/>
> - <componentref name="jboss/jboss-ha-server-api" version="1.0.0.GA"/>
> - <componentref name="jboss/jboss-jaspi-api" version="1.0-BETA1"/>
> - <componentref name="jboss/jboss-javaee" version="5.0.0-SNAPSHOT"/>
> - <componentref name="jboss/jboss-managed" version="2.0.0.snapshot"/>
> - <componentref name="jboss/jboss-security-spi" version="2.0.2.Beta5"/>
> - <componentref name="jboss/jbosssx" version="2.0.2-SNAPSHOT"/>
> - <componentref name="jboss/jbosssx-client" version="2.0.2.Beta5"/>
> - <componentref name="jboss/jbossts" version="4.3.0.BETA2"/>
> - <componentref name="jboss/jboss-vfs" version="2.0.0.snapshot"/>
> - <componentref name="jboss/jbossws" version="snapshot"/>
> - <componentref name="jboss/jbossxb" version="2.0.0.CR5"/>
> - <componentref name="jboss/jms-integration-tests" version="1.0.1.GA"/>
> - <componentref name="jboss/jnp-client" version="5.0.0.Beta4"/>
> - <componentref name="jboss/jnpserver" version="5.0.0.Beta4"/>
> - <componentref name="jboss/messaging" version="1.4.1.Beta1"/>
> - <componentref name="jboss/metadata" version="1.0.0.Beta6"/>
> - <componentref name="jboss/microcontainer" version="2.0.0.Beta10.1"/>
> - <componentref name="jboss/profiler/jvmti" version="1.0.0.CR5"/>
> - <componentref name="jboss/remoting" version="2.4.0.Beta2"/>
> - <componentref name="jboss/serialization" version="1.0.3.GA"/>
> - <componentref name="jboss/test" version="1.0.5.GA"/>
> - <componentref name="jboss/web" version="2.1.0.CR13"/>
> - <componentref name="jfreechart" version="1.0.2"/>
> - <componentref name="jgroups" version="2.6.2"/>
> - <componentref name="joesnmp" version="0.3.4"/>
> - <componentref name="juddi" version="0.9RC4"/>
> - <componentref name="junit" version="3.8.2-brew"/>
> - <componentref name="nekohtml" version="0.9.1"/>
> - <componentref name="objectweb-joramtests" version="1.5"/>
> - <componentref name="odmg" version="3.0"/>
> - <componentref name="opensaml" version="1.1b"/>
> - <componentref name="osgi" version="4.0"/>
> - <componentref name="oswego-concurrent" version="1.3.4-jboss-update1"/>
> - <componentref name="qdox" version="1.6.1"/>
> - <componentref name="quartz" version="1.5.2"/>
> - <componentref name="sleepycat" version="3.0.12"/>
> - <componentref name="snmptrapappender" version="1.2.8-brew"/>
> - <componentref name="spring" version="2.0"/>
> - <componentref name="sun-jaf" version="1.1"/>
> - <componentref name="sun-javacc" version="3.2"/>
> - <componentref name="sun-javamail" version="1.4"/>
> - <componentref name="sun-jsf" version="1.2_08"/>
> - <componentref name="sun-jstl" version="1.2"/>
> - <componentref name="sun-opends" version="0.1.0.build016"/>
> - <componentref name="sun-servlet" version="2.5"/>
> - <componentref name="sun-xacml" version="2.0"/>
> - <componentref name="trove" version="1.0.2"/>
> - <componentref name="woodstox" version="3.1.1"/>
> - <componentref name="xdoclet" version="1.2.3"/>
> - <componentref name="xmlunit-xmlunit" version="1.0"/>
> -
> - </build>
> -
> - <synchronizeinfo/>
> -
> - <!-- Generate the targets -->
> - <generate generate="jbossas-thirdparty"/>
> -
> - <target
> - name="generate-lib-file"
> - description="generate libraries.ent and thirdparty license info"
> - depends="synchronize">
> - <gen-lib-file filename="${generatedLibrariesFiles}" />
> - <visit-componentref-graph componentVisitor="org.jboss.ant.util.graph.ComponentRefGraphLicenseVisitor"/>
> - </target>
> -
> -</project>
>
> Modified: trunk/build/build.xml
> ===================================================================
> --- trunk/build/build.xml 2008-03-13 01:15:00 UTC (rev 70793)
> +++ trunk/build/build.xml 2008-03-13 01:34:22 UTC (rev 70794)
> @@ -912,21 +912,15 @@
> <!-- the build -->
> <target name="createthirdparty" unless="inhibit.downloads"
> depends="check.inhibit.downloads, set.proxy">
> - <ant antfile="build-thirdparty.xml" target="generate-lib-file"/>
> - <ant dir="../testsuite" antfile="build-thirdparty.xml" target="generate-lib-file"/>
> + <exec executable="mvn" dir="../thirdparty">
> + <arg line="package"/>
> + </exec>
> </target>
>
> <!-- check if thirdparty libraries are to be downloaded -->
> <target name="check.inhibit.downloads">
> <condition property="inhibit.downloads">
> - <or>
> - <uptodate property="dependencies.current"
> - targetfile="../thirdparty/libraries.ent">
> - <srcfiles dir= "." includes="build-thirdparty.xml"/>
> - <srcfiles dir= "../testsuite" includes="build-thirdparty.xml"/>
> - </uptodate>
> - <istrue value="${nodownload}"/>
> - </or>
> + <istrue value="${nodownload}"/>
> </condition>
> </target>
>
>
> Deleted: trunk/testsuite/build-thirdparty.xml
> ===================================================================
> --- trunk/testsuite/build-thirdparty.xml 2008-03-13 01:15:00 UTC (rev 70793)
> +++ trunk/testsuite/build-thirdparty.xml 2008-03-13 01:34:22 UTC (rev 70794)
> @@ -1,60 +0,0 @@
> -<?xml version="1.0"?>
> -
> -<project name="main.build"
> - default="synchronize"
> - basedir=".">
> -
> - <!-- Property File definitions -->
> - <property file="local.properties"/>
> - <property file="synchronize.properties"/>
> - <property environment="env"/>
> -
> - <!-- Property Definitions -->
> - <property name="generatedLibrariesFiles" value="../thirdparty/testsuite-libraries.ent"/>
> -
> - <!-- Allow jbossbuild.repository to be set from (in order or priority)
> - + Command line -Djbossbuild.repository=...
> - + synchronize.properties jbossbuild.repository setting
> - + JBOSS_REPOSITORY environment variable
> - -->
> - <condition property="jbossbuild.repository" value="${env.JBOSS_REPOSITORY}">
> - <isset property="env.JBOSS_REPOSITORY"/>
> - </condition>
> - <!-- Fall back to default -->
> - <property name="jbossbuild.repository" value="http://repository.jboss.com"/>
> -
> - <!-- File Imports -->
> - <import file="../tools/etc/jbossbuild/tasks.xml"/>
> -
> - <!-- Main Definition of dependencies -->
> - <build id="jbossas-thirdparty"
> - impltitle="JBossAS"
> - implversion="jboss-head"
> - implvendor="JBoss Inc."
> - implurl="http://www.jboss.org"
> - description="JBoss Application Server"
> - cvsroot="${cvs.prefix}@cvs.forge.jboss.com:/cvsroot/jboss"
> - thirdpartypath="../thirdparty/"
> - location="${jbossbuild.repository}"
> - targetdefs="targets">
> -
> - <!--
> - The repository is in CVS under the module repository.jboss.com whose contents
> - are pushed to the http://repository.jboss.com site.
> - -->
> - <componentref name="apache-maven-ant-tasks" version="2.0.8"/>
> - <componentref name="httpunit" version="1.6"/>
> - </build>
> -
> - <synchronizeinfo/>
> -
> - <!-- Generate the targets -->
> - <generate generate="jbossas-thirdparty"/>
> -
> - <target name="generate-lib-file"
> - description="generate testsuite-libraries.ent"
> - depends="synchronize">
> - <gen-lib-file filename="${generatedLibrariesFiles}" />
> - </target>
> -
> -</project>
>
> _______________________________________________
> jboss-cvs-commits mailing list
> jboss-cvs-commits(a)lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-cvs-commits
--
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Adrian Brock
Chief Scientist
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
16 years, 9 months
maven2 repo
by Heiko Braun
How do non maven projects publish binaries
to the maven repo?
/Heiko
16 years, 9 months
AS5 CR1 component updates
by Dimitris Andreadis
I have recorded the component updates needed for AS5 CR1 here:
http://jira.jboss.com/jira/browse/JBAS-5121
Although the target was to have GA release for everything, this looks very optimistic as
there as still components in active development and other on-going refactorings, so we are
shooting for CR or better.
We expect deliverables from:
- Hibernate
- Hibernate Entity Manager / Annotations
- JBoss Transactions
- JBoss Cache
- JBoss Security
- JBoss VFS
- JBoss Remoting
- JBoss AOP
- Javassist
- JBoss Integration
- JBoss EJB3 (quite a few here)
- Security & JASPI
- JBoss WS
- JBoss JavaEE
- Jnp-client/server
- JBoss Messaging
- JBoss Metadata
- JBoss Microcontainer (+JBossXB maybe and the new broken out libs?)
- JBoss Web (maybe)
Check the JIRA for version details and comment if I have missed something, or there is some
hidden dependency.
We might need to make a small upgrade to xerces, too, and see if we can get rid of cglib.
There are quite a few components at snapshot currently that make things difficult,
especially with regards to testing, so please try to avoid them.
The target for those updates is Mar/14th-21st. If you can't make those dates and for any
other issue, please let know.
Thanks
/Dimitris
16 years, 9 months