You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by sv...@apache.org on 2008/01/17 18:45:28 UTC

svn commit: r612887 - in /incubator/tuscany/branches/sca-java-1.1/samples/helloworld-ws-service-secure/src: main/resources/helloworldKeys.jks test/java/helloworld/HelloWorldServerTestCase.java

Author: svkrish
Date: Thu Jan 17 09:45:18 2008
New Revision: 612887

URL: http://svn.apache.org/viewvc?rev=612887&view=rev
Log:
regenerated the keystore and uncommented the test

Modified:
    incubator/tuscany/branches/sca-java-1.1/samples/helloworld-ws-service-secure/src/main/resources/helloworldKeys.jks
    incubator/tuscany/branches/sca-java-1.1/samples/helloworld-ws-service-secure/src/test/java/helloworld/HelloWorldServerTestCase.java

Modified: incubator/tuscany/branches/sca-java-1.1/samples/helloworld-ws-service-secure/src/main/resources/helloworldKeys.jks
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-1.1/samples/helloworld-ws-service-secure/src/main/resources/helloworldKeys.jks?rev=612887&r1=612886&r2=612887&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/tuscany/branches/sca-java-1.1/samples/helloworld-ws-service-secure/src/test/java/helloworld/HelloWorldServerTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-1.1/samples/helloworld-ws-service-secure/src/test/java/helloworld/HelloWorldServerTestCase.java?rev=612887&r1=612886&r2=612887&view=diff
==============================================================================
--- incubator/tuscany/branches/sca-java-1.1/samples/helloworld-ws-service-secure/src/test/java/helloworld/HelloWorldServerTestCase.java (original)
+++ incubator/tuscany/branches/sca-java-1.1/samples/helloworld-ws-service-secure/src/test/java/helloworld/HelloWorldServerTestCase.java Thu Jan 17 09:45:18 2008
@@ -46,13 +46,13 @@
 		new Socket("127.0.0.1", 8085);
 	}
     
-    /*@Test
+    @Test
     public void testServiceCall() throws IOException {
         HelloWorldService helloWorldService = scaDomain.getService(HelloWorldService.class, "HelloWorldServiceComponent/HelloWorldService");
         assertNotNull(helloWorldService);
         
         assertEquals("Hello Smith", helloWorldService.getGreetings("Smith"));
-    }*/
+    }
 
 	@After
 	public void stopServer() throws Exception {



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org


Re: svn commit: r612887 - in /incubator/tuscany/branches/sca-java-1.1/samples/helloworld-ws-service-secure/src: main/resources/helloworldKeys.jks test/java/helloworld/HelloWorldServerTestCase.java

Posted by Venkata Krishnan <fo...@gmail.com>.
Hi,

The issue here seems to be with the validity of the certificate that we are
using for the sample.  I have now made the validity period as 4000 days :)
as I could not figure out a 'valid indefinitely' option.  Here is the
command I used for generating the keystore and the new key used in the
sample.

keytool -genkey - alias TuscanyWsUser -keyalg RSA -keystore
helloworldKeys.jks

I'll relook the FAQ to see if I can make it any clear.

Thanks

- Venkat



On Jan 17, 2008 11:47 PM, Simon Laws <si...@googlemail.com> wrote:

> On Jan 17, 2008 5:49 PM, Raymond Feng <en...@gmail.com> wrote:
>
> > Hi, Venkat.
> >
> > Can you explain why/how to regenerate the keystore? We were struggling
> > with
> > this issue last week.
> >
> > Thanks,
> > Raymond
> >
> > ----- Original Message -----
> > From: <sv...@apache.org>
> > To: <tu...@ws.apache.org>
> > Sent: Thursday, January 17, 2008 9:45 AM
> > Subject: svn commit: r612887 - in
> > /incubator/tuscany/branches/sca-java-1.1
> > /samples/helloworld-ws-service-secure/src:
> > main/resources/helloworldKeys.jks
> > test/java/helloworld/HelloWorldServerTestCase.java
> >
> >
> > > Author: svkrish
> > > Date: Thu Jan 17 09:45:18 2008
> > > New Revision: 612887
> > >
> > > URL: http://svn.apache.org/viewvc?rev=612887&view=rev
> > > Log:
> > > regenerated the keystore and uncommented the test
> > >
> > > Modified:
> > >
> > > incubator/tuscany/branches/sca-java-1.1
> >
> /samples/helloworld-ws-service-secure/src/main/resources/helloworldKeys.jks
> > >
> > > incubator/tuscany/branches/sca-java-1.1
> >
> /samples/helloworld-ws-service-secure/src/test/java/helloworld/HelloWorldServerTestCase.java
> > >
> > > Modified:
> > > incubator/tuscany/branches/sca-java-1.1
> >
> /samples/helloworld-ws-service-secure/src/main/resources/helloworldKeys.jks
> > > URL:
> > >
> >
> http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-1.1/samples/helloworld-ws-service-secure/src/main/resources/helloworldKeys.jks?rev=612887&r1=612886&r2=612887&view=diff
> > >
> >
> ==============================================================================
> > > Binary files - no diff available.
> > >
> > > Modified:
> > > incubator/tuscany/branches/sca-java-1.1
> >
> /samples/helloworld-ws-service-secure/src/test/java/helloworld/HelloWorldServerTestCase.java
> > > URL:
> > >
> >
> http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-1.1/samples/helloworld-ws-service-secure/src/test/java/helloworld/HelloWorldServerTestCase.java?rev=612887&r1=612886&r2=612887&view=diff
> > >
> >
> ==============================================================================
> > > ---
> > > incubator/tuscany/branches/sca-java-1.1
> >
> /samples/helloworld-ws-service-secure/src/test/java/helloworld/HelloWorldServerTestCase.java
> > > (original)
> > > +++
> > > incubator/tuscany/branches/sca-java-1.1
> >
> /samples/helloworld-ws-service-secure/src/test/java/helloworld/HelloWorldServerTestCase.java
> > > Thu Jan 17 09:45:18 2008
> > > @@ -46,13 +46,13 @@
> > >  new Socket("127.0.0.1", 8085);
> > >  }
> > >
> > > -    /*@Test
> > > +    @Test
> > >     public void testServiceCall() throws IOException {
> > >         HelloWorldService helloWorldService =
> > > scaDomain.getService(HelloWorldService.class,
> > > "HelloWorldServiceComponent/HelloWorldService");
> > >         assertNotNull(helloWorldService);
> > >
> > >         assertEquals("Hello Smith",
> > > helloWorldService.getGreetings("Smith"));
> > > -    }*/
> > > +    }
> > >
> > >  @After
> > >  public void stopServer() throws Exception {
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: tuscany-commits-help@ws.apache.org
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> >
> > Yeah - I followed the lengthy instructions linked off your FAQ entry but
> it failed. There we so many variables/things that I could have done wrong
> I
> moved onto other things.
>
> Simon
>

Re: svn commit: r612887 - in /incubator/tuscany/branches/sca-java-1.1/samples/helloworld-ws-service-secure/src: main/resources/helloworldKeys.jks test/java/helloworld/HelloWorldServerTestCase.java

Posted by Simon Laws <si...@googlemail.com>.
On Jan 17, 2008 5:49 PM, Raymond Feng <en...@gmail.com> wrote:

> Hi, Venkat.
>
> Can you explain why/how to regenerate the keystore? We were struggling
> with
> this issue last week.
>
> Thanks,
> Raymond
>
> ----- Original Message -----
> From: <sv...@apache.org>
> To: <tu...@ws.apache.org>
> Sent: Thursday, January 17, 2008 9:45 AM
> Subject: svn commit: r612887 - in
> /incubator/tuscany/branches/sca-java-1.1
> /samples/helloworld-ws-service-secure/src:
> main/resources/helloworldKeys.jks
> test/java/helloworld/HelloWorldServerTestCase.java
>
>
> > Author: svkrish
> > Date: Thu Jan 17 09:45:18 2008
> > New Revision: 612887
> >
> > URL: http://svn.apache.org/viewvc?rev=612887&view=rev
> > Log:
> > regenerated the keystore and uncommented the test
> >
> > Modified:
> >
> > incubator/tuscany/branches/sca-java-1.1
> /samples/helloworld-ws-service-secure/src/main/resources/helloworldKeys.jks
> >
> > incubator/tuscany/branches/sca-java-1.1
> /samples/helloworld-ws-service-secure/src/test/java/helloworld/HelloWorldServerTestCase.java
> >
> > Modified:
> > incubator/tuscany/branches/sca-java-1.1
> /samples/helloworld-ws-service-secure/src/main/resources/helloworldKeys.jks
> > URL:
> >
> http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-1.1/samples/helloworld-ws-service-secure/src/main/resources/helloworldKeys.jks?rev=612887&r1=612886&r2=612887&view=diff
> >
> ==============================================================================
> > Binary files - no diff available.
> >
> > Modified:
> > incubator/tuscany/branches/sca-java-1.1
> /samples/helloworld-ws-service-secure/src/test/java/helloworld/HelloWorldServerTestCase.java
> > URL:
> >
> http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-1.1/samples/helloworld-ws-service-secure/src/test/java/helloworld/HelloWorldServerTestCase.java?rev=612887&r1=612886&r2=612887&view=diff
> >
> ==============================================================================
> > ---
> > incubator/tuscany/branches/sca-java-1.1
> /samples/helloworld-ws-service-secure/src/test/java/helloworld/HelloWorldServerTestCase.java
> > (original)
> > +++
> > incubator/tuscany/branches/sca-java-1.1
> /samples/helloworld-ws-service-secure/src/test/java/helloworld/HelloWorldServerTestCase.java
> > Thu Jan 17 09:45:18 2008
> > @@ -46,13 +46,13 @@
> >  new Socket("127.0.0.1", 8085);
> >  }
> >
> > -    /*@Test
> > +    @Test
> >     public void testServiceCall() throws IOException {
> >         HelloWorldService helloWorldService =
> > scaDomain.getService(HelloWorldService.class,
> > "HelloWorldServiceComponent/HelloWorldService");
> >         assertNotNull(helloWorldService);
> >
> >         assertEquals("Hello Smith",
> > helloWorldService.getGreetings("Smith"));
> > -    }*/
> > +    }
> >
> >  @After
> >  public void stopServer() throws Exception {
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
> > For additional commands, e-mail: tuscany-commits-help@ws.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
> Yeah - I followed the lengthy instructions linked off your FAQ entry but
it failed. There we so many variables/things that I could have done wrong I
moved onto other things.

Simon

Re: svn commit: r612887 - in /incubator/tuscany/branches/sca-java-1.1/samples/helloworld-ws-service-secure/src: main/resources/helloworldKeys.jks test/java/helloworld/HelloWorldServerTestCase.java

Posted by Raymond Feng <en...@gmail.com>.
Hi, Venkat.

Can you explain why/how to regenerate the keystore? We were struggling with 
this issue last week.

Thanks,
Raymond

----- Original Message ----- 
From: <sv...@apache.org>
To: <tu...@ws.apache.org>
Sent: Thursday, January 17, 2008 9:45 AM
Subject: svn commit: r612887 - in 
/incubator/tuscany/branches/sca-java-1.1/samples/helloworld-ws-service-secure/src: 
main/resources/helloworldKeys.jks 
test/java/helloworld/HelloWorldServerTestCase.java


> Author: svkrish
> Date: Thu Jan 17 09:45:18 2008
> New Revision: 612887
>
> URL: http://svn.apache.org/viewvc?rev=612887&view=rev
> Log:
> regenerated the keystore and uncommented the test
>
> Modified:
> 
> incubator/tuscany/branches/sca-java-1.1/samples/helloworld-ws-service-secure/src/main/resources/helloworldKeys.jks
> 
> incubator/tuscany/branches/sca-java-1.1/samples/helloworld-ws-service-secure/src/test/java/helloworld/HelloWorldServerTestCase.java
>
> Modified: 
> incubator/tuscany/branches/sca-java-1.1/samples/helloworld-ws-service-secure/src/main/resources/helloworldKeys.jks
> URL: 
> http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-1.1/samples/helloworld-ws-service-secure/src/main/resources/helloworldKeys.jks?rev=612887&r1=612886&r2=612887&view=diff
> ==============================================================================
> Binary files - no diff available.
>
> Modified: 
> incubator/tuscany/branches/sca-java-1.1/samples/helloworld-ws-service-secure/src/test/java/helloworld/HelloWorldServerTestCase.java
> URL: 
> http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-1.1/samples/helloworld-ws-service-secure/src/test/java/helloworld/HelloWorldServerTestCase.java?rev=612887&r1=612886&r2=612887&view=diff
> ==============================================================================
> ---  
> incubator/tuscany/branches/sca-java-1.1/samples/helloworld-ws-service-secure/src/test/java/helloworld/HelloWorldServerTestCase.java 
> (original)
> +++ 
> incubator/tuscany/branches/sca-java-1.1/samples/helloworld-ws-service-secure/src/test/java/helloworld/HelloWorldServerTestCase.java 
> Thu Jan 17 09:45:18 2008
> @@ -46,13 +46,13 @@
>  new Socket("127.0.0.1", 8085);
>  }
>
> -    /*@Test
> +    @Test
>     public void testServiceCall() throws IOException {
>         HelloWorldService helloWorldService = 
> scaDomain.getService(HelloWorldService.class, 
> "HelloWorldServiceComponent/HelloWorldService");
>         assertNotNull(helloWorldService);
>
>         assertEquals("Hello Smith", 
> helloWorldService.getGreetings("Smith"));
> -    }*/
> +    }
>
>  @After
>  public void stopServer() throws Exception {
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-commits-help@ws.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org