[JBossWS] - missing client libraries when setting up JBossWS Testsuite E
by davidyu8888
Hello,
I am new to JBossWS.
I have installed it successfully on my machine.
I am using jboss-5.0.0.GA and jbossws native 3.0.4 GA. I am trying to set up my Eclipse IDE(3.4.0) with the JBossWS Testsuite Eclispe Project.
>From the root directory for the JBoss WS Native Binary Distributaiton, I run "ant eclipse", for the compiling target, I encountered about 54 compiling errors, most of them a complaining about missing EJB3 related classes/jars/annotations.
When I check the class path for <jbossws root>\tests\ant-import\build-testsuite.xml, I found that several jars needed for compilation are missing from related directories for my jboss AS. Especially from ${jboss.client}.
Not quite sure how to proceed in this case?Where should I find the missing jars? Should I download the right version of JBoss AS so that all EJB3 related jars are included?
See below for examples of the compilation errors:
amples\advanced\retail\OrderAdmin.java:29: cannot find symbol
[javac] symbol: class Remote
[javac] @Remote
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\advanced\retail\OrderMgmt.java:24: cannot find symbol
[javac] symbol : class Remote
[javac] location: package javax.ejb
[javac] import javax.ejb.Remote;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\advanced\retail\OrderMgmt.java:29: cannot find symbol
[javac] symbol: class Remote
[javac] @Remote
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\advanced\retail\OrderMgmtBean.java:25: cannot find symbol
[javac] symbol : class Stateless
[javac] location: package javax.ejb
[javac] import javax.ejb.Stateless;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\advanced\retail\OrderMgmtBean.java:43: cannot find symbol
[javac] symbol: class Stateless
[javac] @Stateless
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\advanced\retail\profile\ProfileMgmt.java:24: cannot find symbol
[javac] symbol : class Remote
[javac] location: package javax.ejb
[javac] import javax.ejb.Remote;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\advanced\retail\profile\ProfileMgmt.java:29: cannot find symbol
[javac] symbol: class Remote
[javac] @Remote
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\advanced\retail\cc\CCVerificationBean.java:24: cannot find symbol
[javac] symbol : class Stateless
[javac] location: package javax.ejb
[javac] import javax.ejb.Stateless;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\advanced\retail\cc\CCVerificationBean.java:31: cannot find symbol
[javac] symbol: class Stateless
[javac] @Stateless
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\advanced\retail\profile\ProfileMgmtBean.java:24: cannot find symbol
[javac] symbol : class Stateless
[javac] location: package javax.ejb
[javac] import javax.ejb.Stateless;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\advanced\retail\profile\ProfileMgmtBean.java:29: cannot find symbol
[javac] symbol: class Stateless
[javac] @Stateless
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\context\EndpointEJB.java:28: package javax.annotation.security does not e
xist
[javac] import javax.annotation.security.RolesAllowed;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\context\EndpointEJB.java:29: cannot find symbol
[javac] symbol : class Stateless
[javac] location: package javax.ejb
[javac] import javax.ejb.Stateless;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\context\EndpointEJB.java:47: cannot find symbol
[javac] symbol: class Stateless
[javac] @Stateless
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\context\EndpointEJB.java:53: cannot find symbol
[javac] symbol: class RolesAllowed
[javac] @RolesAllowed("friend")
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\eardeployment\EJB3Bean.java:24: cannot find symbol
[javac] symbol : class Stateless
[javac] location: package javax.ejb
[javac] import javax.ejb.Stateless;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\eardeployment\EJB3Bean.java:38: cannot find symbol
[javac] symbol: class Stateless
[javac] @Stateless
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\exception\server\ExceptionEndpointEJB3Impl.java:24: cannot find symbol
[javac] symbol : class Stateless
[javac] location: package javax.ejb
[javac] import javax.ejb.Stateless;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\exception\server\ExceptionEndpointEJB3Impl.java:28: cannot find symbol
[javac] symbol: class Stateless
[javac] @Stateless
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\securityDomain\SecureEndpointAS5Impl.java:24: package javax.annotation.se
curity does not exist
[javac] import javax.annotation.security.RolesAllowed;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\securityDomain\SecureEndpointAS5Impl.java:25: cannot find symbol
[javac] symbol : class Stateless
[javac] location: package javax.ejb
[javac] import javax.ejb.Stateless;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\securityDomain\SecureEndpointAS5Impl.java:36: cannot find symbol
[javac] symbol: class Stateless
[javac] @Stateless(name = "SecureEndpoint")
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\securityDomain\SecureEndpointAS5Impl.java:41: cannot find symbol
[javac] symbol: class RolesAllowed
[javac] @RolesAllowed("friend")
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\serviceref\EJBClient.java:26: cannot find symbol
[javac] symbol : class Remote
[javac] location: package javax.ejb
[javac] import javax.ejb.Remote;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\serviceref\EJBClient.java:27: cannot find symbol
[javac] symbol : class Stateless
[javac] location: package javax.ejb
[javac] import javax.ejb.Stateless;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\serviceref\EJBClient.java:36: cannot find symbol
[javac] symbol: class Remote
[javac] @Remote(EJBRemote.class)
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\serviceref\EJBClient.java:37: cannot find symbol
[javac] symbol: class Stateless
[javac] @Stateless
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\swaref\BareEndpointImpl.java:29: cannot find symbol
[javac] symbol : class Stateless
[javac] location: package javax.ejb
[javac] import javax.ejb.Stateless;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\swaref\BareEndpointImpl.java:37: cannot find symbol
[javac] symbol: class Stateless
[javac] @Stateless
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\swaref\RpcLitEndpointImpl.java:26: cannot find symbol
[javac] symbol : class Stateless
[javac] location: package javax.ejb
[javac] import javax.ejb.Stateless;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\swaref\RpcLitEndpointImpl.java:37: cannot find symbol
[javac] symbol: class Stateless
[javac] @Stateless
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\swaref\WrappedEndpointImpl.java:29: cannot find symbol
[javac] symbol : class Stateless
[javac] location: package javax.ejb
[javac] import javax.ejb.Stateless;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\swaref\WrappedEndpointImpl.java:38: cannot find symbol
[javac] symbol: class Stateless
[javac] @Stateless
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\webservice\EJB3Bean01.java:24: cannot find symbol
[javac] symbol : class Remote
[javac] location: package javax.ejb
[javac] import javax.ejb.Remote;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\webservice\EJB3Bean01.java:25: cannot find symbol
[javac] symbol : class Stateless
[javac] location: package javax.ejb
[javac] import javax.ejb.Stateless;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\webservice\EJB3Bean01.java:41: cannot find symbol
[javac] symbol: class Remote
[javac] @Remote(EJB3RemoteInterface.class)
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\webservice\EJB3Bean01.java:42: cannot find symbol
[javac] symbol: class Stateless
[javac] @Stateless
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\webservice\EJB3Bean02.java:25: cannot find symbol
[javac] symbol : class Remote
[javac] location: package javax.ejb
[javac] import javax.ejb.Remote;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\webservice\EJB3Bean02.java:27: cannot find symbol
[javac] symbol : class Stateless
[javac] location: package javax.ejb
[javac] import javax.ejb.Stateless;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\webservice\EJB3Bean02.java:45: cannot find symbol
[javac] symbol: class Remote
[javac] @Remote(EJB3RemoteInterface.class)
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\webservice\EJB3Bean02.java:46: cannot find symbol
[javac] symbol: class Stateless
[javac] @Stateless
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\webservice\EJB3Bean03.java:24: cannot find symbol
[javac] symbol : class Remote
[javac] location: package javax.ejb
[javac] import javax.ejb.Remote;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\webservice\EJB3Bean03.java:25: cannot find symbol
[javac] symbol : class Stateless
[javac] location: package javax.ejb
[javac] import javax.ejb.Stateless;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\webservice\EJB3Bean03.java:38: cannot find symbol
[javac] symbol: class Remote
[javac] @Remote(EJB3RemoteInterface.class)
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\webservice\EJB3Bean03.java:39: cannot find symbol
[javac] symbol: class Stateless
[javac] @Stateless
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\webserviceref\EJB3Client.java:26: cannot find symbol
[javac] symbol : class Remote
[javac] location: package javax.ejb
[javac] import javax.ejb.Remote;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\webserviceref\EJB3Client.java:27: cannot find symbol
[javac] symbol : class Stateless
[javac] location: package javax.ejb
[javac] import javax.ejb.Stateless;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\webserviceref\EJB3Client.java:37: cannot find symbol
[javac] symbol: class Remote
[javac] @Remote(EJB3Remote.class)
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\webserviceref\EJB3Client.java:38: cannot find symbol
[javac] symbol: class Stateless
[javac] @Stateless
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\managem
ent\recording\EndpointImpl.java:24: cannot find symbol
[javac] symbol : class Stateless
[javac] location: package javax.ejb
[javac] import javax.ejb.Stateless;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\managem
ent\recording\EndpointImpl.java:34: cannot find symbol
[javac] symbol: class Stateless
[javac] @Stateless
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\managem
ent\recording\EndpointWithHandlerImpl.java:24: cannot find symbol
[javac] symbol : class Stateless
[javac] location: package javax.ejb
[javac] import javax.ejb.Stateless;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\managem
ent\recording\EndpointWithHandlerImpl.java:35: cannot find symbol
[javac] symbol: class Stateless
[javac] @Stateless
[javac] ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 54 errors
BUILD FAILED
C:\Java\jbossws-native-bin-dist\build.xml:88: The following error occurred while
executing this line:
C:\Java\jbossws-native-bin-dist\tests\ant-import\build-testsuite.xml:275: Compil
e failed; see the compiler error output for details.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198668#4198668
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198668
15 years, 6 months
[Installation, Configuration & DEPLOYMENT] - JBoss startup extremely Slow Mac OS X 10.5.5...
by mburbidg
JBoss Version: 4.2.3
JRE Version: 1.5.0_16
I downloaded and installed JBoss 4.2.3 on my Macintosh OS X 10.5.5. When I start JBoss it takes about 2 minutes to start. I have run JBoss on this Mac before without problems. This is a clean version of JBoss. I have installed no new components and have not changed any settings for the default configuration.
I've tried other versions of JBoss (4.2.1, 5.0) and they all now exhibit this behavior on this Macintosh.
While JBoss is starting up, it is using up almost 100% of the CPU so it is not like it is waiting for something.
I turned on DEBUG logging and noticed that for every jar that it is deploying it prints out the following and then pauses for 5-10 seconds before more is output to the log.
| 2008-12-28 13:38:39,235 DEBUG [org.jboss.deployment.JARDeployer] No xml files found
| 2008-12-28 13:38:39,235 DEBUG [org.jboss.deployment.MainDeployer] using deployer org.jboss.deployment.JARDeployer@31f16027
| 2008-12-28 13:38:39,239 DEBUG [org.jboss.deployment.JARDeployer] looking for nested deployments in : file:/Users/mburbidg/ambsoft/checklist/jboss-4.2.3.GA/server/default/deploy/ejb3.deployer/jboss-ejb3.jar
|
Does anyone have any ideas what may be causing JBoss to startup so slowly. I'm trying to do development on this machine, but it is unusable this way.
Thanks,
Michael-
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198667#4198667
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198667
15 years, 6 months
[EJB 3.0] - JBoss 5 deployement problem
by Hatem1982
Hi all,
I am trying to deploy JEE application using JBOSS 5 GA. Under JBoss 4.x.x the application works fine but under JBoss 5 GA I get the following error in the server log:
*** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
|
| jboss.j2ee:jar=StudProject.jar,name=JPQLManager,service=EJB3
| -> <UNKNOWN jboss.j2ee:jar=StudProject.jar,name=JPQLManager,service=EJB3>{Described:** UNRESOLVED Demands 'persistence.unit:unitName=#StudProject' **}
|
| jboss.j2ee:jar=StudProject.jar,name=NativeSqlManager,service=EJB3
| -> <UNKNOWN jboss.j2ee:jar=StudProject.jar,name=NativeSqlManager,service=EJB3>{Described:** UNRESOLVED Demands 'persistence.unit:unitName=#StudProject' **}
|
| persistence.unit:unitName=#StudProject
| -> jboss.jca:name=studProjectDS
| ,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=studProjectDS
| ,service=DataSourceBinding' **}
|
|
| *** CONTEXTS IN ERROR: Name -> Error
|
| jboss.jca:name=studProjectDS
| ,service=DataSourceBinding -> ** NOT FOUND Depends on 'jboss.jca:name=studProjectDS
| ,service=DataSourceBinding' **
|
| <UNKNOWN jboss.j2ee:jar=StudProject.jar,name=NativeSqlManager,service=EJB3> -> ** UNRESOLVED Demands 'persistence.unit:unitName=#StudProject' **
|
| <UNKNOWN jboss.j2ee:jar=StudProject.jar,name=JPQLManager,service=EJB3> -> ** UNRESOLVED Demands 'persistence.unit:unitName=#StudProject' **
|
|
| at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:863)
| at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:665)
| at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:293)
| at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
| at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
| at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
| at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
| at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
| at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
| at java.lang.Thread.run(Thread.java:619)
|
I searched the forum and found the same problem in another thread (using another JBoss version) and tried all the sugessted solutions but I still have the same problem.
Thanks in advance for any help
Hatem
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198658#4198658
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198658
15 years, 6 months