@cdotrakesh
whats your problem?
I hope you have read the installation guide!
http://docs.jboss.org/ejb3/app-server/tutorial/installing.html
Some of the points, like 3,5,6,7,8,.. dont exists default in the all lib or 
deploy directory. I think you can ignore this points!
Change the jboss-EJB-3.0_RC6-PFD\docs\tutorial\local.properties -> 
jboss.server.config=default to jboss.server.config=all
Now you can execute the ant tasks described in the tutorials html files.


Another Problem. I want to execute the WebService Sample but I earn some 
compilation errors.

The stateless sample works fine!
Buildfile: build.xml
  | 
  | prepare:
  |     [mkdir] Created dir: 
D:\SOA\jboss-EJB-3.0_RC6-PFD\jboss-EJB-3.0_RC6-PFD\docs\tutorial\webservice\build
  |     [mkdir] Created dir: 
D:\SOA\jboss-EJB-3.0_RC6-PFD\jboss-EJB-3.0_RC6-PFD\docs\tutorial\webservice\build\classes
  | 
  | compile:
  |     [javac] Compiling 3 source files to 
D:\SOA\jboss-EJB-3.0_RC6-PFD\jboss-EJB-3.0_RC6-PFD\docs\tutorial\webservice\build\classes
  |     [javac] 
D:\SOA\jboss-EJB-3.0_RC6-PFD\jboss-EJB-3.0_RC6-PFD\docs\tutorial\webservice\src\org\jboss\tutorial\webservice\bean\CalculatorBea
  | n.java:24: cannot find symbol
  |     [javac] symbol  : class Stateless
  |     [javac] location: package javax.ejb
  |     [javac] import javax.ejb.Stateless;
  |     [javac]                  ^
  |     [javac] 
D:\SOA\jboss-EJB-3.0_RC6-PFD\jboss-EJB-3.0_RC6-PFD\docs\tutorial\webservice\src\org\jboss\tutorial\webservice\bean\Calculator.ja
  | va:31: incompatible types
  |     [javac] found   : javax.jws.WebService
  |     [javac] required: java.lang.annotation.Annotation
  |     [javac] @WebService
  |     [javac]  ^
  |     [javac] 
D:\SOA\jboss-EJB-3.0_RC6-PFD\jboss-EJB-3.0_RC6-PFD\docs\tutorial\webservice\src\org\jboss\tutorial\webservice\bean\Calculator.ja
  | va:32: incompatible types
  |     [javac] found   : javax.jws.soap.SOAPBinding
  |     [javac] required: java.lang.annotation.Annotation
  |     [javac] @SOAPBinding(style=Style.RPC)
  |     [javac]  ^
  |     [javac] 
D:\SOA\jboss-EJB-3.0_RC6-PFD\jboss-EJB-3.0_RC6-PFD\docs\tutorial\webservice\src\org\jboss\tutorial\webservice\bean\Calculator.ja
  | va:32: duplicate annotation
  |     [javac] @SOAPBinding(style=Style.RPC)
  |     [javac]                         ^
  |     [javac] 
D:\SOA\jboss-EJB-3.0_RC6-PFD\jboss-EJB-3.0_RC6-PFD\docs\tutorial\webservice\src\org\jboss\tutorial\webservice\bean\Calculator.ja
  | va:35: incompatible types
  |     [javac] found   : javax.jws.WebMethod
  |     [javac] required: java.lang.annotation.Annotation
  |     [javac]    @WebMethod int add(int x, int y);
  |     [javac]     ^
  | ...                                      ^
  |     [javac] 8 errors
  |     [javac] 5 warnings
  | 
  | BUILD FAILED

Some ideas?

Installed:
jboss-4.0.4.GA.zip
jboss-EJB-3.0_RC6-PFD.zip

Regards
Markus

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

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


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to