[JBossWS] - WsTool NoClassDefFoundError ObjectModelFactory
by petertuerk
Hello,
running wstools as AntTask i get the following error:
[wstools] log4j:WARN No appenders could be found for logger (org.jboss.ws.tools.WSTools).
[wstools] log4j:WARN Please initialize the log4j system properly.
BUILD FAILED
java.lang.NoClassDefFoundError: org/jboss/xb/binding/ObjectModelFactory
I have installed JBoss-4.0.5.GA using the installer, leaving everything default.
My build.xml:
|
| <project default="generate-ws-sources" name="JBoss/Messaging">
|
| <!-- WSTools Classpath -->
| <path id="wstools.classpath">
| <fileset dir="C:/Programme/jboss-4.0.5.GA/client">
| <include name="activation.jar"/>
| <include name="commons-logging.jar"/>
| <include name="javassist.jar"/>
| <include name="jbossall-client.jar"/>
| <include name="jbossws14-client.jar"/>
| <include name="log4j.jar"/>
| <include name="mail.jar"/>
| <include name="jbossretro-rt.jar"/>
| <include name="jboss-backport-concurrent.jar"/>
| </fileset>
| </path>
|
| <path id="jbossws.client.classpath">
| <pathelement location="${jboss.client}/activation.jar"/>
| <pathelement location="${jboss.client}/commons-logging.jar"/>
| <pathelement location="${jboss.client}/javassist.jar"/>
| <pathelement location="${jboss.client}/jbossall-client.jar"/>
| <pathelement location="${jboss.client}/jbossws14.client.jar"/>
| <pathelement location="${jboss.client}/log4j.jar"/>
| <pathelement location="${jboss.client}/mail.jar"/>
| <pathelement location="${jboss.client}/jbossretro-rt.jar"/>
| <pathelement location="${jboss.client}/jboss-backport-concurrent.jar"/>
| </path>
|
| <!-- Define a taskdef for the wstools ant task -->
| <taskdef name="wstools" classname="org.jboss.ws.tools.ant.wstools">
| <classpath refid="wstools.classpath" />
| <classpath refid="jbossws.client.classpath"/>
| <classpath path="${build.classes}"/>
| </taskdef>
|
|
| <target name="generate-ws-sources" description="Generate the deployment resources.">
|
| <wstools dest="${build.src.metadata}/META-INF"
| config="${src.metadata}/src/ws/wstools-config.xml"/>
|
| </target>
| </project>
Thank you for your help!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020491#4020491
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020491
19Â years, 2Â months
[JBoss Messaging] - Re: jboss 1.2.0.CR1 MDB Cluster
by fancoli
Yes of course,
I have two jboss instance on two physical machines; I have removed JBossMQ and then deployed JBossMessaging inside deploy folder of both server; here there is a queue definition:
| <mbean code="org.jboss.jms.server.destination.QueueService"
| name="jboss.messaging.destination:service=Queue,name=BatchProcess_${jboss.partition.name:DefaultPartition}" xmbean-dd="xmdesc/Queue-xmbean.xml">
| <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
| <depends>jboss.messaging:service=PostOffice</depends>
| <attribute name="Clustered">true</attribute>
| </mbean>
|
I have a message driven bean (not singleton) and I am expecting that the messaging are processed by both server, but only one server works.
The problem is only on messaging EJB (session) are load balanced...
Thanks,
max.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020477#4020477
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020477
19Â years, 2Â months