-
1. Re: Jboss 6Final: DEPLOYMENTS MISSING DEPENDENCIES
wdfink Jul 1, 2011 2:19 PM (in response to catares)Hoe do you start JBoss?
Could it be that you remove parts of EJB3?
-
2. Re: Jboss 6Final: DEPLOYMENTS MISSING DEPENDENCIES
catares Jul 4, 2011 2:36 AM (in response to wdfink)I start the Jboss over the run.sh in the console. I have a new configuration for my tests. Its a copy of the default-configuration. I don't think that is anything missing. the structure is ok I think.
At the moment I don't know what I should do! Please help!
-
3. Re: Jboss 6Final: DEPLOYMENTS MISSING DEPENDENCIES
jaikiran Jul 4, 2011 6:04 AM (in response to catares)Do you have any <depends> or @Depends within your eDesk:service=ConversionJobService MBean? What does that *-service.xml file look like?
-
4. Re: Jboss 6Final: DEPLOYMENTS MISSING DEPENDENCIES
catares Jul 4, 2011 7:43 AM (in response to jaikiran)The jboss-service.xml looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE server
PUBLIC "-//JBoss//DTD MBean Service 5.0//EN"
"http://www.jboss.org/j2ee/dtd/jboss-service_5_0.dtd">
<server>
<mbean code="de.xcom.xline.service.mbean.ConversionJobService" name="eDesk:service=ConversionJobService" xmbean-dd="">
<xmbean>
<description>
ConversionJobService
</description>
<class>de.xcom.xline.service.mbean.ConversionJobService</class>
<constructor>
<description>The no-arg constructor</description>
<name>de.xcom.xline.service.mbean.ConversionJobService</name>
</constructor>
<operation>
<description>restartConversionJobs
</description>
<name>restartConversionJobs</name>
<parameter>
<description>refIds</description>
<name>refIds</name>
<type>java.lang.String</type>
</parameter>
<return-type>java.lang.String</return-type>
</operation>
<operation>
<description>restartOCRJobs
</description>
<name>restartOCRJobs</name>
<parameter>
<description>refIds</description>
<name>refIds</name>
<type>java.lang.String</type>
</parameter>
<return-type>java.lang.String</return-type>
</operation>
<operation>
<description>getJobsForRefId
</description>
<name>getJobsForRefId</name>
<parameter>
<description>refId</description>
<name>refId</name>
<type>java.lang.Long</type>
</parameter>
<return-type>java.lang.String</return-type>
</operation>
<operation>
<description>restartJob
</description>
<name>restartJob</name>
<parameter>
<description>jobId</description>
<name>jobId</name>
<type>java.lang.Long</type>
</parameter>
<return-type>java.lang.String</return-type>
</operation>
</xmbean>
<depends>jboss.j2ee:module=beans.jar,service=EJB3</depends>
</mbean>
</server>
I found something like this: http://entjavastuff.blogspot.com/2010/07/migrating-to-jboss-51-from-jboss-42x.html
Did I have to change some packages on my code for the annotations like it is discribe on this page?
I only use the @LocalBinding or @RemoteBinding annotations. Should I do what is said on this page:
"If you only use the @LocalBinding or @RemoteBinding annotations and you need a cross-platform alternative (well, at least across JBoss platforms) that works all the way up to and including JBoss 6, then don't use the annotations. In stead, override the JNDI names using a META-INF/jboss.xml file"
But when I change the import to: "import org.jboss.ejb3.annotation.LocalBinding;" Eclise could not revolve and I should configure the biuld path of my project.