File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes JBoss error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "JBoss error" Watch "JBoss error" New topic
Author

JBoss error

Lydia Vaughan
Greenhorn

Joined: Jul 06, 2010
Posts: 14
I am trying create a Hello Web Service in Eclipse but when I add the project to my JBoss 4.0 server in Eclipse I get the following error:

$Proxy54 cannot be cast to org.jboss.lang.Annotation
at org.jboss.lang.AnnotationHelper.getAnnotation(AnnotationHelper.java:80)
at org.jboss.lang.AnnotationHelper.isAnnotationPresent(AnnotationHelper.java:61)
at org.jboss.ws.integration.jboss.DeployerInterceptorJSE.isWebserviceDeployment(DeployerInterceptorJSE.java:125)
at org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInterceptor.java:76)
at org.jboss.ws.integration.jboss.DeployerInterceptorJSE.create(DeployerInterceptorJSE.java:74)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy39.create(Unknown Source)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy8.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)

I added all of the jars under the jwsdp 2.0 to my CLASSPATH: .;C:\Program Files\Java\jre6\lib\ext;C:\Program Files\apache-ant-1.8.0\bin;C:\Program Files\Java\jre6\lib\ext\QTJava.zip;c:\sun\jwsdp-2.0\jaxws\lib\jaxws-api.jar;c:\sun\jwsdp-2.0\jaxws\lib\jaxws\lib
axws-rt.jar;c:\sun\jwsdp-2.0\jaxws\lib\jaxws-tools.jar;c:\sun\jwsdp-2.0\jaxws\lib\jsr181-api.jar;c:\sun\jwsdp-2.0\jaxws\lib\jsr250-api.jar

Any ideas on what I'm missing?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JBoss error