Hi,

I am facing the same problem now in JBOSS 4.0.1Sp1.

I am having an EAR which has all EJB's and they seem to be deployed fine. Now I 
want to have a expose one of the EJB as a WS. So first tried a with Hello Bean 
and tried to expose as WS. I am not using any ejb-doclet. I used Sun's JSWDP to 
create the WSDL, config and mapping xml. But still I am getting this error:

12:06:27,178 INFO  [EARDeployer] Init J2EE application: file:/C:/jboss-4.0.1sp1/
server/mas/deploy/mas.ear
12:06:53,205 WARN  [verifier] EJB spec violation:
Bean   : HelloBean
Section: 7.10.1
Warning: The session bean must implement either a remote home and remote, or a l
ocal home and a local interface.

12:06:55,148 ERROR [MainDeployer] could not create deployment: file:/C:/jboss-4.
0.1sp1/server/mas/tmp/deploy/tmp49186mas.ear-contents/mas-ejb.jar
org.jboss.deployment.DeploymentException: Verification of Enterprise Beans faile
d, see above for error messages.
        at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:553)
        at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918)
        at org.jboss.deployment.MainDeployer.create(MainDeployer.java:910)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
        at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)


But if I deploy the same Webservice as a separate JAR file then it seem to work 
perfectly. Can somebody help me out on this issue ASAP. I have already posted 
several times in this newsgroup. But no response so far.

-Sathish

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

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

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
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to