Hello, i'm currently integrating jboss messaging in my thesis and already have 
a working client app.
but on the jboss server side there are still some problems.

config:
- jboss 4.0.4GA
- jboss-messaging-1.0.1.CR2
- jboss-EJB-3.0_RC6-PFD

When trying the ejb3mdb example the compile fails with the following errors:


  | compile:
  |     [javac] Compiling 2 source files to 
M:\filesharing\fh\jboss-messaging-1.0.1.CR2\examples\common\output
  |     [javac] Compiling 2 source files to 
M:\filesharing\fh\jboss-messaging-1.0.1.CR2\examples\ejb3mdb\output\classes
  |     [javac] 
M:\filesharing\fh\jboss-messaging-1.0.1.CR2\examples\ejb3mdb\src\org\jboss\example\jms\ejb3mdb\EJB3MDBExample.java:11:
 cannot find symbol
  |     [javac] symbol  : class PostConstruct
  |     [javac] location: package javax.ejb
  |     [javac] import javax.ejb.PostConstruct;
  |     [javac]                  ^
  |     [javac] 
M:\filesharing\fh\jboss-messaging-1.0.1.CR2\examples\ejb3mdb\src\org\jboss\example\jms\ejb3mdb\EJB3MDBExample.java:30:
 cannot find symbol
  |     [javac] symbol  : method activateConfig()
  |     [javac] location: @interface javax.ejb.MessageDriven
  |     [javac] @MessageDriven(activateConfig =
  |     [javac]                ^
  |     [javac] 
M:\filesharing\fh\jboss-messaging-1.0.1.CR2\examples\ejb3mdb\src\org\jboss\example\jms\ejb3mdb\EJB3MDBExample.java:32:
 annotation not valid for a value of type <any>
  |     [javac]       @ActivationConfigProperty(propertyName="destinationType", 
propertyValue="javax.jms.Queue"),
  |     [javac]       ^
  |     [javac] 
M:\filesharing\fh\jboss-messaging-1.0.1.CR2\examples\ejb3mdb\src\org\jboss\example\jms\ejb3mdb\EJB3MDBExample.java:33:
 annotation not valid for a value of type <any>
  |     [javac]       @ActivationConfigProperty(propertyName="destination", 
propertyValue="queue/testQueue")
  |     [javac]       ^
  |     [javac] 4 errors
  | 

The mdb example works so far, but i'm not able to implement a working mdb in my 
server-application. it does not listen to incoming messages, maybe i forgot a 
needed file? already put rfidnodes-service.xml in the deploy directory:


  | <?xml version="1.0" encoding="UTF-8"?>
  | <server>
  | <loader-repository>jboss.messaging:loader=ScopedLoaderRepository
  | 
<loader-repository-config>java2ParentDelegation=false</loader-repository-config>
  | </loader-repository>
  | <mbean code="org.jboss.jms.server.destination.Queue"
  |     name="jboss.messaging.destination:service=Queue,name=rfidnodes"
  |     xmbean-dd="xmdesc/Queue-xmbean.xml">
  |     <depends 
optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
  |     <attribute name="SecurityConfig">
  |     <security>
  |             <role name="guest" read="true" write="true"/>
  |             <role name="publisher" read="true" write="true" create="false"/>
  |             <role name="noacc" read="false" write="false" create="false"/>
  |     </security>
  |     </attribute> <!--
  |     <attribute name="fullSize">75000</attribute>
  |     <attribute name="pageSize">2000</attribute>
  |     <attribute name="downCacheSize">2000</attribute>
  |     -->
  | </mbean>
  | </server>
  | 

Thanks in advance, great product & helpful forum

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3947992#3947992

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3947992


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to