Thanks Richard,
Along with the once I excluded the following also
org/jboss/test/ws/jaxws/samples/webserviceref/*
Then only it's working..
It's time to start the POC..
Regards,
Rajagopal Y (Raj)
HCU-Consulting & Enterprise Solutions.
Phone: (C) +91-9986584084 / (W)+91-80-6658 3685.
-----Original Message-----
From: Richard Opalka [mailto:ropalka@redhat.com]
Sent: Thursday, January 03, 2008 3:33 PM
To: Rajagopal_Yendluri
Cc: jbossws-users(a)lists.jboss.org
Subject: Re: [jbossws-users] Problem running Samples
You can always use your local JBossWS version. If you don't need the
serviceref feature, just specify this test in your excludes file:
There're files in src/test/resources called test-excludes-jbossXYZ.txt
The content of these files is really simple. Just specify the test you
want to exclude from compilation,
in your case just add
org/jboss/test/ws/jaxws/samples/serviceref/*
to test-excludes-jboss500.txt
Richard
Rajagopal_Yendluri wrote:
Thanks Richard,
Let me know how can I download the stack, where as I can see the SVN
files as following:
.classpath
.project
ant-import/
ant-import-tests/
ant.properties.example
build.bat
build.sh
build.xml
jbossws-native-2.0.2.iml
src/
tools/
version.properties
Is there any way to download the whole project as .zip?
Regards,
Rajagopal Y (Raj)
HCU-Consulting & Enterprise Solutions.
Phone: (C) +91-9986584084 / (W)+91-80-6658 3685.
-----Original Message-----
From: Richard Opalka [mailto:ropalka@redhat.com]
Sent: Thursday, January 03, 2008 1:17 PM
To: Rajagopal_Yendluri
Cc: jbossws-users(a)lists.jboss.org
Subject: Re: [jbossws-users]
Hi Raj,
you're right. Further more there is no such class in JBoss AS 5
code
base.
I took a look to our current code base and reference to RemoteBinding
was
removed because it is not compatible accross container versions.
I suggest you to download and use our current trunk:
https://svn.jboss.org/repos/jbossws/stack/native/trunk
It's fixed there.
Richard
Rajagopal_Yendluri wrote:
> The jboss-annotations-ejb3.jar contains no classes,
>
> am I missing some thing ???
>
> Regards,
> Rajagopal Y (Raj)
> HCU-Consulting & Enterprise Solutions.
> Phone: (C) +91-9986584084 / (W)+91-80-6658 3685.
>
> -----Original Message-----
> From: Richard Opalka [mailto:ropalka@redhat.com]
> Sent: Wednesday, January 02, 2008 3:18 PM
> To: Rajagopal_Yendluri
> Cc: jbossws-users(a)lists.jboss.org
> Subject: Re: [jbossws-users] (no subject)
>
> [echo] jboss.home = C:jboss-5.0.0.B3
>
> The above looks strange to me, it should to be:
>
> C:\jboss-5.0.0.B3
>
> Please double check your ant.properties file (try to specify \\
instead
> of \ there)
>
> Richard
>
> Rajagopal_Yendluri wrote:
>
>> Hi Richard,
>>
>> Following is my complete log
>>
>>
>
------------------------------------------------------------------------
>
>> ----
>> Buildfile: build.xml
>>
>> prepare:
>>
>> tests-prepare:
>>
>> [echo] -----------------------------------------------
>> [echo] jboss.home = C:jboss-5.0.0.B3
>> [echo] excludesfile =
>>
>>
>
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA/t
>
>> ests/resources/test-excludes-jboss500.txt
>> [echo] java.home = C:\jdk1.5.0_06\jre
>> [echo] jboss.bind = localhost
>> [echo] -----------------------------------------------
>>
>> tests-classpath-jboss50:
>>
>> tests-classpath-jboss42:
>>
>> tests-classpath-jboss40:
>>
>> tests-classpath-jboss40-no-ejb3:
>>
>> tests-classpath:
>>
>> tests-init:
>>
>> tests-compile:
>> [javac] Compiling 205 source files to
>>
>>
>
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA\o
>
>> utput\classes
>> [javac]
>>
>>
>
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA\t
>
>
ests\java\org\jboss\test\ws\jaxws\samples\serviceref\EJBClient.java:24:
>
>> package org.jboss.annotation.ejb does not exist
>> [javac] import org.jboss.annotation.ejb.RemoteBinding;
>> [javac] ^
>> [javac]
>>
>>
>
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA\t
>
>
ests\java\org\jboss\test\ws\jaxws\samples\webserviceref\EJB3Client.java:
>
>> 33: package org.jboss.annotation.ejb does not exist
>> [javac] import org.jboss.annotation.ejb.RemoteBinding;
>> [javac] ^
>> [javac]
>>
>>
>
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA\t
>
>
ests\java\org\jboss\test\ws\jaxws\samples\serviceref\EJBClient.java:38:
>
>> cannot find symbol
>> [javac] symbol: class RemoteBinding
>> [javac] @RemoteBinding(jndiBinding = "/ejb/EJBClient")
>> [javac] ^
>> [javac]
>>
>>
>
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA\t
>
>
ests\java\org\jboss\test\ws\jaxws\samples\webserviceref\EJB3Client.java:
>
>> 38: cannot find symbol
>> [javac] symbol: class RemoteBinding
>> [javac] @RemoteBinding(jndiBinding = "/ejb3/EJB3Client")
>> [javac] ^
>> [javac] Note: Some input files use unchecked or unsafe
operations.
>> [javac] Note: Recompile with -Xlint:unchecked for details.
>> [javac] 4 errors
>>
>> BUILD FAILED
>>
>>
>
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA\b
>
>> uild.xml:137: The following error occurred while executing this
line:
>>
>>
>
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA\t
>
> >
>
> >> ests\ant-import\build-testsuite.xml:340: Compile failed; see the
>
> >> compiler error output for details.
>
> >>
>
> >> Total time: 4 seconds
>>
>>
>
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA>
>
>>
>
------------------------------------------------------------------------
>
> >
>
> >> ----
>
> >> Regards,
>
> >> Rajagopal Y (Raj)
>
> >> HCU-Consulting & Enterprise Solutions.
>
> >> Phone: (C) +91-9986584084 / (W)+91-80-6658 3685.
>
> >>
>
> >> -----Original Message-----
>
> >> From: Richard Opalka [mailto:ropalka@redhat.com]
>
> >> Sent: Wednesday, January 02, 2008 2:54 PM
>
> >> To: Rajagopal_Yendluri
>
> >> Cc: jbossws-users(a)lists.jboss.org
>
> >> Subject: Re: [jbossws-users] (no subject)
>
> >>
>
> >> Hi,
>
> >>
>
> >> this is the output of my tool:
>
> >>
>
> >> >>> archive is:
>>
>>
>
/opt/svn/jbossas/trunk/build/output/jboss-5.0.0.Beta3/server/all/deploye
>
> >
>
> >> rs/ejb3.deployer/jboss-annotations-ejb3.jar
>
> >> >>> archive is:
>>
>>
>
/opt/svn/jbossas/trunk/build/output/jboss-5.0.0.Beta3/server/default/dep
>
> >
>
> >> loyers/ejb3.deployer/jboss-annotations-ejb3.jar
>
> >> >>> archive is:
>>
>>
>
/opt/svn/jbossas/trunk/build/output/jboss-5.0.0.Beta3/client/jboss-annot
>
> >
>
> >> ations-ejb3.jar
>
> >> >>> archive is:
>>
>>
>
/opt/svn/jbossas/trunk/build/output/jboss-5.0.0.Beta3/client/jbossall-cl
>
>> ient.jar
>>
>> It's strange you're still getting this compilation error. Are you
>> driving against JBoss AS trunk?
>>
>> Richard
>>
>> Rajagopal_Yendluri wrote:
>>
>>
>>> It Exists @ "C:\jboss-5.0.0.B3\client ", still am getting the
>>> exception. Do I need to keep the jar in some where else also..
>>>
>>> -----Original Message-----
>>> From: Richard Opalka [mailto:ropalka@redhat.com]
>>> Sent: Wednesday, January 02, 2008 2:31 PM
>>> To: Rajagopal_Yendluri
>>> Cc: jbossws-users(a)lists.jboss.org
>>> Subject: Re: [jbossws-users] (no subject)
>>>
>>> jboss-4.2.2.GA/client/jboss-annotations-ejb3.jar
>>>
>>> Rajagopal_Yendluri wrote:
>>>
>>>
>>>
>>>> Hi Richard,
>>>>
>>>> Thanks for your help, now I am getting the following
exceptions.
>>>>
>>>> Which jar is missing and where I have to keep it.
>>>>
>>>>
>>>>
>>>>
>>>>
>
========================================================================
>
>>
>>
>>>
>>>
>>>
>>>> =
>>>>
>>>> tests-compile:
>>>> [javac] Compiling 205 source files to
>>>>
>>>>
>>>>
>>>>
>
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA\o
>
>>
>>
>>>
>>>
>>>
>>>> utput\classes
>>>> [javac]
>>>>
>>>>
>>>>
>>>>
>
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA\t
>
>>
>>
>>>
>>>
>>>
>>>
>
ests\java\org\jboss\test\ws\jaxws\samples\serviceref\EJBClient.java:24:
>
>>
>>
>>>
>>>
>>>
>>>> package org.jboss.annotation.ejb does not exist
>>>> [javac] import org.jboss.annotation.ejb.RemoteBinding;
>>>> [javac] ^
>>>> [javac]
>>>>
>>>>
>>>>
>>>>
>
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA\t
>
>>
>>
>>>
>>>
>>>
>>>
>
ests\java\org\jboss\test\ws\jaxws\samples\webserviceref\EJB3Client.java:
>
>>
>>
>>>
>>>
>>>
>>>> 33: package org.jboss.annotation.ejb does not exist
>>>> [javac] import org.jboss.annotation.ejb.RemoteBinding;
>>>> [javac] ^
>>>> [javac]
>>>>
>>>>
>>>>
>>>>
>
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA\t
>
>>
>>
>>>
>>>
>>>
>>>
>
ests\java\org\jboss\test\ws\jaxws\samples\serviceref\EJBClient.java:38:
>
>>
>>
>>>
>>>
>>>
>>>> cannot find symbol
>>>> [javac] symbol: class RemoteBinding
>>>> [javac] @RemoteBinding(jndiBinding = "/ejb/EJBClient")
>>>> [javac] ^
>>>> [javac]
>>>>
>>>>
>>>>
>>>>
>
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA\t
>
>>
>>
>>>
>>>
>>>
>>>
>
ests\java\org\jboss\test\ws\jaxws\samples\webserviceref\EJB3Client.java:
>
>>
>>
>>>
>>>
>>>
>>>> 38: cannot find symbol
>>>> [javac] symbol: class RemoteBinding
>>>> [javac] @RemoteBinding(jndiBinding = "/ejb3/EJB3Client")
>>>> [javac] ^
>>>> [javac] Note: Some input files use unchecked or unsafe
>>>>
>>>>
>> operations.
>>
>>
>>>> [javac] Note: Recompile with -Xlint:unchecked for details.
>>>> [javac] 4 errors
>>>>
>>>> BUILD FAILED
>>>>
>>>>
>>>>
>>>>
>
========================================================================
>
>>
>>
>>>
>>>
>>>
>>>> ===
>>>>
>>>>
>>>>
>>>> Regards,
>>>> Rajagopal Y (Raj)
>>>> HCU-Consulting & Enterprise Solutions.
>>>> Phone: (C) +91-9986584084 / (W)+91-80-6658 3685.
>>>>
>>>> -----Original Message-----
>>>> From: Richard Opalka [mailto:ropalka@redhat.com]
>>>> Sent: Wednesday, January 02, 2008 1:59 PM
>>>> To: Rajagopal_Yendluri
>>>> Cc: jbossws-users(a)lists.jboss.org
>>>> Subject: Re: [jbossws-users] (no subject)
>>>>
>>>> Hi Raj,
>>>>
>>>> you have to put junit.jar to your ANT_HOME/lib directory to make
it
>>>> work.
>>>>
>>>> Rajagopal_Yendluri wrote:
>>>>
>>>>
>>>>
>>>>
>>>>> Hi,
>>>>>
>>>>> I am new to JBoss WS, I just started working on this for a POC,
I
>>>>> successfully installed the WS on JBoss AS.
>>>>>
>>>>> When I try to run the samples, by using...ant from jbossWS home,
am
>>>>>
>
>
>>>>> getting the following exceptions...
>>>>>
>>>>> I can understand that the junit.jar is missing and something for
>>>>> assertions, but let me know where can I keep the junit.jar... it
>>>>>
>>>>>
>>>>>
>>>>>
>>>> exists
>>>>
>>>>
>>>>
>>>>
>>>>> in lib directory of JBossWS.
>>>>>
>>>>> Any Suggestions....
>>>>>
>>>>> [javac] ^
>>>>>
>>>>> [javac]
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA\t
>
>>
>>
>>>
>>>
>>>
>>>
>
ests\java\org\jboss\test\ws\jaxws\samples\xop\doclit\XOPHandlerTestCase.
>
>>
>>
>>>
>>>
>>>
>>>> java:58:
>>>>
>>>>
>>>>
>>>>
>>>>> cannot find symbol
>>>>>
>>>>> [javac] symbol : class Test
>>>>>
>>>>> [javac] location: class
>>>>> org.jboss.test.ws.jaxws.samples.xop.doclit.XOPHandlerTestCase
>>>>>
>>>>> [javac] public static Test suite()
>>>>>
>>>>> [javac] ^
>>>>>
>>>>> [javac]
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA\t
>
>>
>>
>>>
>>>
>>>
>>>
>
ests\java\org\jboss\test\ws\jaxws\samples\xop\doclit\XOPWrappedTestCase.
>
>>
>>
>>>
>>>
>>>
>>>> java:53:
>>>>
>>>>
>>>>
>>>>
>>>>> cannot find symbol
>>>>>
>>>>> [javac] symbol : class Test
>>>>>
>>>>> [javac] location: class
>>>>> org.jboss.test.ws.jaxws.samples.xop.doclit.XOPWrappedTestCase
>>>>>
>>>>> [javac] public static Test suite()
>>>>>
>>>>> [javac] ^
>>>>>
>>>>> [javac]
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA\t
>
>>
>>
>>>
>>>
>>>
>
ests\java\org\jboss\test\ws\jaxws\smoke\tools\ScriptTestCase.java:37:
>
>>>>
>>>>
>>
>>
>>>>
>>>>
>>>>
>>>>
>>>>> cannot find symbol
>>>>>
>>>>> [javac] symbol: class TestCase
>>>>>
>>>>> [javac] public class ScriptTestCase extends TestCase
>>>>>
>>>>> [javac] ^
>>>>>
>>>>> [javac]
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA\t
>
>>
>>
>>>
>>>
>>>
>>>
>
ests\java\org\jboss\test\ws\jaxws\smoke\tools\WSConsumerTestCase.java:46
>
>>
>>
>>>
>>>
>>>
>>>> :
>>>>
>>>>
>>>>
>>>>
>>>>> cannot find symbol
>>>>>
>>>>> [javac] symbol: class TestCase
>>>>>
>>>>> [javac] public class WSConsumerTestCase extends TestCase
>>>>>
>>>>> [javac] ^
>>>>>
>>>>> [javac]
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA\t
>
>>
>>
>>>
>>>
>>>
>>>
>
ests\java\org\jboss\test\ws\jaxws\samples\serviceref\EJBClient.java:38:
>
>>
>>
>>>
>>>
>>>
>>>>
>>>>
>>>>
>>>>
>>>>> cannot find symbol
>>>>>
>>>>> [javac] symbol: class RemoteBinding
>>>>>
>>>>> [javac] @RemoteBinding(jndiBinding = "/ejb/EJBClient")
>>>>>
>>>>> [javac] ^
>>>>>
>>>>> [javac]
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA\t
>
>>
>>
>>>
>>>
>>>
>>>
>
ests\java\org\jboss\test\ws\jaxws\samples\webserviceref\EJB3Client.java:
>
>>
>>
>>>
>>>
>>>
>>>> 38:
>>>>
>>>>
>>>>
>>>>
>>>>> cannot find symbol
>>>>>
>>>>> [javac] symbol: class RemoteBinding
>>>>>
>>>>> [javac] @RemoteBinding(jndiBinding = "/ejb3/EJB3Client")
>>>>>
>>>>> [javac] ^
>>>>>
>>>>> [javac]
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA\t
>
>>
>>
>>>
>>>
>>>
>>>
>
ests\java\org\jboss\test\ws\jaxws\samples\asynchronous\AsynchronousDispa
>
>>
>>
>>>
>>>
>>>
>>>> tchTestCase.java:66:
>>>>
>>>>
>>>>
>>>>
>>>>> cannot access junit.extensions.TestSetup
>>>>>
>>>>> [javac] file junit\extensions\TestSetup.class not found
>>>>>
>>>>> [javac] return new
>>>>> JBossWSTestSetup(AsynchronousDispatchTestCase.class,
>>>>> "jaxws-samples-asynchronous.war");
>>>>>
>>>>> [javac] ^
>>>>>
>>>>> [javac]
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA\t
>
>>
>>
>>>
>>>
>>>
>>>
>
ests\java\org\jboss\test\ws\jaxws\samples\asynchronous\AsynchronousDispa
>
>>
>>
>>>
>>>
>>>
>>>> tchTestCase.java:100:
>>>>
>>>>
>>>>
>>>>
>>>>> cannot find symbol
>>>>>
>>>>> [javac] symbol : method assertTrue(java.lang.String,boolean)
>>>>>
>>>>> [javac] location: class
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>
org.jboss.test.ws.jaxws.samples.asynchronous.AsynchronousDispatchTestCas
>
>>
>>
>>>
>>>
>>>
>>>> e
>>>>
>>>>
>>>>
>>>>
>>>>> [javac] assertTrue("Async handler called",
asyncHandlerCalled);
>>>>>
>>>>> [javac] ^
>>>>>
>>>>> [javac]
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA\t
>
>>
>>
>>>
>>>
>>>
>>>
>
ests\java\org\jboss\test\ws\jaxws\samples\asynchronous\AsynchronousDispa
>
>>
>>
>>>
>>>
>>>
>>>> tchTestCase.java:105:
>>>>
>>>>
>>>>
>>>>
>>>>> cannot find symbol
>>>>>
>>>>> **Regards,**
>>>>>
>>>>> **Rajagopal Y (Raj)**
>>>>>
>>>>> **HCU-Consulting & Enterprise Solutions.**
>>>>>
>>>>> **Phone: (C) +91-9986584084 / (W)+91-80-6658 3685.**
>>>>>
>>>>> DISCLAIMER:
>>>>> This email (including any attachments) is intended for the sole
use
>>>>>
>>>>>
>>>>>
>>> of
>>>
>>>
>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>>> the intended recipient/s and may contain material that is
>>>>>
>>>>>
>>>>>
>>> CONFIDENTIAL
>>>
>>>
>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>>> AND PRIVATE COMPANY INFORMATION. Any review or reliance by
others
>>>>>
> or
>
>>>>>
>>>>>
>>
>>
>>>>> copying or distribution or forwarding of any or all of the
contents
>>>>>
>>>>>
>>>>>
>>> in
>>>
>>>
>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>>> this message is STRICTLY PROHIBITED. If you are not the intended
>>>>> recipient, please contact the sender by email and delete all
>>>>>
> copies;
>
>>>>>
>>>>>
>>
>>
>>>>> your cooperation in this regard is appreciated..
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>
------------------------------------------------------------------------
>
>>
>>
>>>
>>>
>>>
>>>>
>>>>
>>>>
>>>>
>>>>> _______________________________________________
>>>>> jbossws-users mailing list
>>>>> jbossws-users(a)lists.jboss.org
>>>>>
https://lists.jboss.org/mailman/listinfo/jbossws-users
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>
>
>
--
B.Sc. Richard Opalka
Senior Software Engineer
JBoss, a division of Red Hat
Mobile: +420 731 186 942
Mail: ropalka(a)redhat.com
DISCLAIMER:
This email (including any attachments) is intended for the sole use of
the intended recipient/s and may contain material that is
CONFIDENTIAL
AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or
copying or distribution or forwarding of any or all of the contents in
this message is STRICTLY PROHIBITED. If you are not the intended
recipient, please contact the sender by email and delete all copies;
your cooperation in this regard is appreciated..
--
B.Sc. Richard Opalka
Senior Software Engineer
JBoss, a division of Red Hat
Mobile: +420 731 186 942
Mail: ropalka(a)redhat.com
DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended
recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION.
Any review or reliance by others or copying or distribution or forwarding of any or all of
the contents in this message is STRICTLY PROHIBITED. If you are not the intended
recipient, please contact the sender by email and delete all copies; your cooperation in
this regard is appreciated.