Quantcast

Playing with atmosphere-spade-server + atmosphere-pubsub.war

classic Classic list List threaded Threaded
29 messages Options
12
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Playing with atmosphere-spade-server + atmosphere-pubsub.war

alfredwesterveld
Hi,

I would like to play with atmosphere-spade-server.jar + pubsub.war. First of I have maven installed, but to be honest Maven is kind of new to me. Could please someone please explain me how to use it correctly.

What I have tried

   1. Download atmosphere-spade-server.jar + pubsub.war from the site.
   2. java -jar atmosphere-spade-server-0.6.0-20100329.142039-1.jar -a atmosphere-pubsub.war
   3. curl http://localhost:8080/atmosphere-pubsub/myAtmosphereTopic

          <html><body>

Resource Not> Found

</body></html>

I guess the server is running, but I always get resource not found.
I would just have a quick guided tour of how to use atmosphere.

Many thanks,
Alfred Westerveld
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Playing with atmosphere-spade-server + atmosphere-pubsub.war

bardu


alfredwesterveld <[hidden email]> wrote:

>
>Hi,
>
>I would like to play with atmosphere-spade-server.jar + pubsub.war. First of
>I have maven installed, but to be honest Maven is kind of new to me. Could
>please someone please explain me how to use it correctly.
>
>What I have tried
>
>   1. Download atmosphere-spade-server.jar + pubsub.war from the site.
>   2. java -jar atmosphere-spade-server-0.6.0-20100329.142039-1.jar -a
>atmosphere-pubsub.war
>   3. curl http://localhost:8080/atmosphere-pubsub/myAtmosphereTopic
>
>          <html><body><h1>Resource Not> Found</h1></body></html>
>
>I guess the server is running, but I always get resource not found.
>I would just have a quick guided tour of how to use atmosphere.
>
>Many thanks,
>Alfred Westerveld
>--
>View this message in context: http://atmosphere-users-mailling-list.2493822.n2.nabble.com/Playing-with-atmosphere-spade-server-atmosphere-pubsub-war-tp5044687p5044687.html
>Sent from the Atmosphere users mailling list mailing list archive at Nabble.com.
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [hidden email]
>For additional commands, e-mail: [hidden email]
>
>
>--------------------------------
>Spam/Virus scanning by CanIt Pro
>
>For more information see
>http://www.kgbinternet.com/SpamFilter.htm
>
>To control your spam filter, log in at
>http://filter.kgbinternet.com
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Playing with atmosphere-spade-server + atmosphere-pubsub.war

jfarcand-2
In reply to this post by alfredwesterveld
Salut,

On 10-05-13 12:21 AM, alfredwesterveld wrote:

>
> Hi,
>
> I would like to play with atmosphere-spade-server.jar + pubsub.war. First of
> I have maven installed, but to be honest Maven is kind of new to me. Could
> please someone please explain me how to use it correctly.
>
> What I have tried
>
>     1. Download atmosphere-spade-server.jar + pubsub.war from the site.
>     2. java -jar atmosphere-spade-server-0.6.0-20100329.142039-1.jar -a
> atmosphere-pubsub.war
>     3. curl http://localhost:8080/atmosphere-pubsub/myAtmosphereTopic
>
>            <html><body><h1>Resource Not>  Found</h1></body></html>

The version (March) is old and bogus. I recommend you use the latest
version from here:

    (PubSub Sample) http://is.gd/c7uZo
    (SpadeServer) http://is.gd/c7vbW

I've tested and it works as expected:

> jfarcand:spade-server jfarcand$ java -jar target/atmosphere-spade-server-0.6-SNAPSHOT.jar -a /atmosphere/samples/pubsub/target/atmosphere-pubs
> ub.war
> May 13, 2010 10:22:19 AM org.atmosphere.grizzly.AtmosphereDeployer init
> INFO: DeployerServerConfiguration{, port=8080, waitToStart=false, libraryPath='null', webdefault='null', cometEnabled=true, ajpEnabled=false, websocketsEnabled=false, watchInterval=-1, watchFolder=null, applicationsList=[DeployableConfiguration{location='/atmosphere/samples/pubsub/target/atmosphere-pubsub.war', forcedContext='null', libraryPath='null', forceWarDeployment=false}]}
> May 13, 2010 10:22:19 AM com.sun.grizzly.http.servlet.deployer.WarDeployer cleanup
> INFO: cleaning folder : /Users/jfarcand/workspace/atmosphere.git/extras/spade-server/work
> May 13, 2010 10:22:20 AM com.sun.grizzly.http.servlet.deployer.WarDeployer fromURI
> INFO: Skipping Annotation for this URI : file:/atmosphere/samples/pubsub/target/atmosphere-pubsub.war
> May 13, 2010 10:22:22 AM org.atmosphere.cpr.AtmosphereServlet detectSupportedFramework
> WARNING: Missing META-INF/atmosphere.xml but found the Jersey runtime. Starting Jersey
> May 13, 2010 10:22:22 AM org.atmosphere.cpr.AtmosphereServlet configureBroadcaster
> INFO: Using org.atmosphere.samples.pubsub.PubSubBroadcaster with a Thread Pool size of : 8
> May 13, 2010 10:22:22 AM com.sun.jersey.api.core.WebAppResourceConfig init
> INFO: Scanning for root resource and provider classes in the Web app resource paths:
>   /WEB-INF/lib
>   /WEB-INF/classes
> May 13, 2010 10:22:23 AM com.sun.jersey.api.core.ScanningResourceConfig logClasses
> INFO: Root resource classes found:
>   class org.atmosphere.samples.pubsub.PubSub
> May 13, 2010 10:22:23 AM com.sun.jersey.api.core.ScanningResourceConfig logClasses
> INFO: Provider classes found:
>   class org.atmosphere.jersey.BroadcasterInjector
>   class org.atmosphere.jersey.AtmosphereResourceInjector
>   class org.atmosphere.jersey.BroadcasterFactoryInjector
>   class org.atmosphere.jersey.AtmosphereResourceConfigurator
> May 13, 2010 10:22:23 AM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
> INFO: Initiating Jersey application, version 'Jersey: 1.2 05/07/2010 02:04 PM'
> May 13, 2010 10:22:23 AM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
> INFO: Adding the following classes declared in META-INF/services/jersey-server-components to the resource configuration:
>   class org.atmosphere.jersey.BroadcasterInjector
>   class org.atmosphere.jersey.AtmosphereProviders$BroadcasterProvider
>   class org.atmosphere.jersey.BroadcasterFactoryInjector
>   class org.atmosphere.jersey.AtmosphereResourceInjector
>   class org.atmosphere.jersey.AtmosphereResourceConfigurator
> May 13, 2010 10:22:23 AM org.atmosphere.cpr.AtmosphereServlet init
> INFO: Atmosphere Framework 0.6-SNAPSHOT started.
> May 13, 2010 10:22:23 AM com.sun.grizzly.Controller logVersion
> INFO: Starting Grizzly Framework 1.9.19-beta3 - Thu May 13 10:22:23 EDT 2010
> Testing the @PreDestroy
> onDisconnect: org.atmosphere.cpr.AtmosphereResourceEventImpl@545eb748

Let me know how it goes.

A+

-- Jeanfrancois

>
> I guess the server is running, but I always get resource not found.
> I would just have a quick guided tour of how to use atmosphere.
>
> Many thanks,
> Alfred Westerveld

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Playing with atmosphere-spade-server + atmosphere-pubsub.war

alfredwesterveld
Wow thanks for the quick response. I now use the following command nut still no luck.

 java -jar atmosphere-spade-server-0.6-20100513.142557-196.jar atmosphere-pubsub-0.6-20100513.142557-187.war
May 13, 2010 6:25:36 PM org.atmosphere.grizzly.AtmosphereDeployer init
INFO: DeployerServerConfiguration{, port=8080, waitToStart=false, libraryPath='null', webdefault='null', cometEnabled=true, ajpEnabled=false, websocketsEnabled=false, watchInterval=-1, watchFolder=null, applicationsList=[]}
May 13, 2010 6:25:36 PM com.sun.grizzly.Controller logVersion
INFO: Starting Grizzly Framework 1.9.19-beta3 - Thu May 13 18:25:36 CEST 2010

curl http://localhost:8080/atmosphere-pubsub/myAtmosphereTopic
alfred@alfred-laptop:~/Downloads/spade$ curl http://localhost:8080/atmosphere-pubsub/myAtmosphereTopic
<html><head><title>Grizzly</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}HR {color : #525D76;}--></style> </head><body>

Not Found

<HR size="1" noshade>

Grizzly

</body></html>

Again I guess the server is up and running but every curl request shows "not found". How did you download these files. Via maven? How? Next question how do I know what URL to Curl?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Playing with atmosphere-spade-server + atmosphere-pubsub.war

survivant

You forgot -a before the war file

On May 13, 2010 12:33 PM, "alfredwesterveld" <[hidden email]> wrote:


Wow thanks for the quick response. I now use the following command nut still
no luck.

 java -jar atmosphere-spade-server-0.6-20100513.142557-196.jar
atmosphere-pubsub-0.6-20100513.142557-187.war
May 13, 2010 6:25:36 PM org.atmosphere.grizzly.AtmosphereDeployer init

INFO: DeployerServerConfiguration{, port=8080, waitToStart=false,
libraryPath='null', webdefault='nu...

applicationsList=[]}
May 13, 2010 6:25:36 PM com.sun.grizzly.Controller logVersion
INFO: Starting Grizzly Framework 1.9.19-beta3 - Thu May 13 18:25:36 CEST
2010


curl http://localhost:8080/atmosphere-pubsub/myAtmosphereTopic

alfred@alfred-laptop:~/Downloads/spade$ curl

http://localhost:8080/atmosphere-pubsub/myAtmosphereTopic

<html><head><title>Grizzly</title><style><!--H1
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
H2
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
H3
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
BODY
{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
P
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
{color : black;}HR {color : #525D76;}--></style> </head><body><h1>Not
Found</h1><HR size="1" noshade><h3>Grizzly</h3></body></html>

Again I guess the server is up and running but every curl request shows "not
found". How did you download these files. Via maven? How? Next question how
do I know what URL to Curl?
--
View this message in context: http://atmosphere-users-mailling-list.2493822.n2.nabble.com/Playing-with-atmosphere-spade-server-atmosphere-pubsub-war-tp5044687p5046951.html

Sent from the Atmosphere users mailling list mailing list archive at Nabble.com.

------------------...

To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: u...

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Playing with atmosphere-spade-server + atmosphere-pubsub.war

jfarcand-2
In reply to this post by alfredwesterveld
Salut,

On 10-05-13 12:33 PM, alfredwesterveld wrote:
>
> Wow thanks for the quick response. I now use the following command nut still
> no luck.
>
>   java -jar atmosphere-spade-server-0.6-20100513.142557-196.jar
> atmosphere-pubsub-0.6-20100513.142557-187.war

You must pass -a above (we will improve error)

java -jar atmosphere-spade-server-0.6-20100513.142557-196.jar
-a atmosphere-pubsub-0.6-20100513.142557-187.war

Let me know if that works.

-- Jeanfrancois


> May 13, 2010 6:25:36 PM org.atmosphere.grizzly.AtmosphereDeployer init
> INFO: DeployerServerConfiguration{, port=8080, waitToStart=false,
> libraryPath='null', webdefault='null', cometEnabled=true, ajpEnabled=false,
> websocketsEnabled=false, watchInterval=-1, watchFolder=null,
> applicationsList=[]}
> May 13, 2010 6:25:36 PM com.sun.grizzly.Controller logVersion
> INFO: Starting Grizzly Framework 1.9.19-beta3 - Thu May 13 18:25:36 CEST
> 2010
>
> curl http://localhost:8080/atmosphere-pubsub/myAtmosphereTopic
> alfred@alfred-laptop:~/Downloads/spade$ curl
> http://localhost:8080/atmosphere-pubsub/myAtmosphereTopic
> <html><head><title>Grizzly</title><style><!--H1
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
> H2
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
> H3
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
> BODY
> {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
> P
> {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
> {color : black;}HR {color : #525D76;}--></style>  </head><body><h1>Not
> Found</h1><HR size="1" noshade><h3>Grizzly</h3></body></html>
>
> Again I guess the server is up and running but every curl request shows "not
> found". How did you download these files. Via maven? How? Next question how
> do I know what URL to Curl?

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Playing with atmosphere-spade-server + atmosphere-pubsub.war

jfarcand-2
In reply to this post by survivant


On 10-05-13 1:01 PM, Sebastien Dionne wrote:
> You forgot -a before the war file

We need to fix that and throw an exception IMO.

A+

-- Jeanfrancois


>
>> On May 13, 2010 12:33 PM, "alfredwesterveld"
>> <[hidden email] <mailto:[hidden email]>> wrote:
>>
>>
>> Wow thanks for the quick response. I now use the following command nut
>> still
>> no luck.
>>
>>  java -jar atmosphere-spade-server-0.6-20100513.142557-196.jar
>> atmosphere-pubsub-0.6-20100513.142557-187.war
>> May 13, 2010 6:25:36 PM org.atmosphere.grizzly.AtmosphereDeployer init
>>
>> INFO: DeployerServerConfiguration{, port=8080, waitToStart=false,
>> libraryPath='null', webdefault='nu...
>>
>> applicationsList=[]}
>> May 13, 2010 6:25:36 PM com.sun.grizzly.Controller logVersion
>> INFO: Starting Grizzly Framework 1.9.19-beta3 - Thu May 13 18:25:36 CEST
>> 2010
>>
>>
>> curl http://localhost:8080/atmosphere-pubsub/myAtmosphereTopic
>>
>> alfred@alfred-laptop:~/Downloads/spade$ curl
>>
>> http://localhost:8080/atmosphere-pubsub/myAtmosphereTopic
>>
>> <html><head><title>Grizzly</title><style><!--H1
>> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
>> H2
>> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
>> H3
>> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
>> BODY
>> {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}
>> B
>> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
>> P
>> {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
>> {color : black;}HR {color : #525D76;}--></style> </head><body><h1>Not
>> Found</h1><HR size="1" noshade><h3>Grizzly</h3></body></html>
>>
>> Again I guess the server is up and running but every curl request
>> shows "not
>> found". How did you download these files. Via maven? How? Next
>> question how
>> do I know what URL to Curl?
>> --
>> View this message in context:
>> http://atmosphere-users-mailling-list.2493822.n2.nabble.com/Playing-with-atmosphere-spade-server-atmosphere-pubsub-war-tp5044687p5046951.html
>>
>> Sent from the Atmosphere users mailling list mailing list archive at
>> Nabble.com.
>>
>> ------------------...
>>
>> To unsubscribe, e-mail: [hidden email]
>> <mailto:[hidden email]>
>> For additional commands, e-mail: u...
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Playing with atmosphere-spade-server + atmosphere-pubsub.war

alfredwesterveld
Wow you guys are fast ;). I know about the -a, but made "-a" a little typo. Now I get an internal error.
SEVERE:
com.sun.jersey.spi.service.ServiceConfigurationError: com.sun.jersey.spi.container.WebApplicationProvider: The class com.sun.jersey.server.impl.container.WebApplicationProviderImplcom.sun.jersey.server.impl.container.WebApplicationProviderImplcom.sun.jersey.server.impl.container.WebApplicationProviderImpl implementing the provider interface com.sun.jersey.spi.container.WebApplicationProvider is not found. The provider implementation is ignored.

Am I missing something in my classpath? I thought spade-server had everything combined.

Thanks
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Playing with atmosphere-spade-server + atmosphere-pubsub.war

jfarcand-2
OK looks like my emails didn't make it. I was trying to send you my own
version to see if that makes a difference. Can you ping me direclty @
[hidden email]? I will send you the jar.

A+

-_ Jeanfrancois

On 10-05-13 1:37 PM, alfredwesterveld wrote:

>
> Wow you guys are fast ;). I know about the -a, but made "-a" a little typo.
> Now I get an internal error.
> SEVERE:
> com.sun.jersey.spi.service.ServiceConfigurationError:
> com.sun.jersey.spi.container.WebApplicationProvider: The class
> com.sun.jersey.server.impl.container.WebApplicationProviderImplcom.sun.jersey.server.impl.container.WebApplicationProviderImplcom.sun.jersey.server.impl.container.WebApplicationProviderImpl
> implementing the provider interface
> com.sun.jersey.spi.container.WebApplicationProvider is not found. The
> provider implementation is ignored.
>
> Am I missing something in my classpath? I thought spade-server had
> everything combined.
>
> Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Playing with atmosphere-spade-server + atmosphere-pubsub.war

alfredwesterveld
Hi Farcand,

Thanks for all the help. Still no luck. I have tested both on Linux/Ubuntu and Windows XP.

Step by step guide
1. download the jars files you sent me via e-mail to a folder.
2. java -jar atmosphere-spade-server-0.6-SNAPSHOT.jar -a atmosphere-pubsub.war
3. curl http://localhost:8080/atmosphere-pubsub/myAtmosphereTopic

Am I not performing a certain step?

Many thanks,
Alfred Westerveld
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Playing with atmosphere-spade-server + atmosphere-pubsub.war

survivant
works for me.  fromt he head (git)

C:\workspaces\workspace_atmo_git\atmosphere\extras\spade-server\target>java -jar
 atmosphere-spade-server-0.6-SNAPSHOT.jar -a atmosphere-pubsub.war
2010-05-15 19:55:38 org.atmosphere.grizzly.AtmosphereDeployer init
INFO: DeployerServerConfiguration{, port=8080, waitToStart=false, libraryPath='n
ull', webdefault='null', cometEnabled=true, ajpEnabled=false, websocketsEnabled=
false, watchInterval=-1, watchFolder=null, applicationsList=[DeployableConfigura
tion{location='atmosphere-pubsub.war', forcedContext='null', libraryPath='null',
 forceWarDeployment=false}]}
2010-05-15 19:55:40 com.sun.grizzly.http.servlet.deployer.WarDeployer fromURI
INFO: Skipping Annotation for this URI : file:/C:/workspaces/workspace_atmo_git/
atmosphere/extras/spade-server/target/atmosphere-pubsub.war
2010-05-15 19:55:52 org.atmosphere.cpr.AtmosphereServlet detectSupportedFramewor
k
ATTENTION: Missing META-INF/atmosphere.xml but found the Jersey runtime. Startin
g Jersey
2010-05-15 19:55:52 org.atmosphere.cpr.AtmosphereServlet configureBroadcaster
INFO: Using org.atmosphere.samples.pubsub.PubSubBroadcaster with a Thread Pool s
ize of : 4
2010-05-15 19:55:52 com.sun.jersey.api.core.WebAppResourceConfig init
INFO: Scanning for root resource and provider classes in the Web app resource pa
ths:
  /WEB-INF/lib
  /WEB-INF/classes
2010-05-15 19:55:53 com.sun.jersey.api.core.ScanningResourceConfig logClasses
INFO: Root resource classes found:
  class org.atmosphere.samples.pubsub.PubSub
2010-05-15 19:55:53 com.sun.jersey.api.core.ScanningResourceConfig logClasses
INFO: Provider classes found:
  class org.atmosphere.jersey.AtmosphereResourceConfigurator
  class org.atmosphere.jersey.BroadcasterFactoryInjector
  class org.atmosphere.jersey.AtmosphereResourceInjector
  class org.atmosphere.jersey.BroadcasterInjector
2010-05-15 19:55:53 com.sun.jersey.server.impl.application.WebApplicationImpl in
itiate
INFO: Initiating Jersey application, version 'Jersey: 1.2 05/07/2010 02:04 PM'
2010-05-15 19:55:53 com.sun.jersey.server.impl.application.WebApplicationImpl in
itiate
INFO: Adding the following classes declared in META-INF/services/jersey-server-c
omponents to the resource configuration:
  class org.atmosphere.jersey.BroadcasterInjector
  class org.atmosphere.jersey.AtmosphereProviders$BroadcasterProvider
  class org.atmosphere.jersey.BroadcasterFactoryInjector
  class org.atmosphere.jersey.AtmosphereResourceInjector
  class org.atmosphere.jersey.AtmosphereResourceConfigurator
2010-05-15 19:55:54 org.atmosphere.cpr.AtmosphereServlet init
INFO: Atmosphere Framework 0.6-SNAPSHOT started.
2010-05-15 19:55:54 com.sun.grizzly.Controller logVersion
INFO: Starting Grizzly Framework 1.9.19-beta3 - Sat May 15 19:55:54 EDT 2010
Testing the @PreDestroy

http://localhost:8080/atmosphere-pubsub/myAtmosphereTopic

produce that






<!-- --------------------------------------------------------------------------------------------------------------------------------------------------------------------- -->
<!-- Welcome to the Atmosphere Framework. To work with all the browsers when suspending connection, Atmosphere must output some data to makes WebKit based browser working.-->
<!-- --------------------------------------------------------------------------------------------------------------------------------------------------------------------- -->
<!-- --------------------------------------------------------------------------------------------------------------------------------------------------------------------- -->
<!-- --------------------------------------------------------------------------------------------------------------------------------------------------------------------- -->
<!-- --------------------------------------------------------------------------------------------------------------------------------------------------------------------- -->
<!-- --------------------------------------------------------------------------------------------------------------------------------------------------------------------- -->
<!-- --------------------------------------------------------------------------------------------------------------------------------------------------------------------- -->
<!-- --------------------------------------------------------------------------------------------------------------------------------------------------------------------- -->
<!-- --------------------------------------------------------------------------------------------------------------------------------------------------------------------- -->
<!-- --------------------------------------------------------------------------------------------------------------------------------------------------------------------- -->
<!-- --------------------------------------------------------------------------------------------------------------------------------------------------------------------- -->


2010/5/14 alfredwesterveld <[hidden email]>

Hi Farcand,

Thanks for all the help. Still no luck. I have tested both on Linux/Ubuntu
and Windows XP.

Step by step guide
1. download the jars files you sent me via e-mail to a folder.
2. java -jar atmosphere-spade-server-0.6-SNAPSHOT.jar -a
atmosphere-pubsub.war
3. curl http://localhost:8080/atmosphere-pubsub/myAtmosphereTopic

Am I not performing a certain step?

Many thanks,
Alfred Westerveld
--
View this message in context: http://atmosphere-users-mailling-list.2493822.n2.nabble.com/Playing-with-atmosphere-spade-server-atmosphere-pubsub-war-tp5044687p5057612.html
Sent from the Atmosphere users mailling list mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]




--
-------------
A+

Sébastien.

Vous pouvez me suivre sur Twitter / You can follow me on Twitter : http://twitter.com/survivant
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Playing with atmosphere-spade-server + atmosphere-pubsub.war

alfredwesterveld
In reply to this post by alfredwesterveld
Hi,

Jean Farcand sent me a e-mail with the following attachments:  

http://dl.dropbox.com/u/314941/atmosphere/atmosphere-pubsub.war
alfred@alfred-laptop:~/Dropbox/Public/atmosphere$ md5sum atmosphere-pubsub.war
d545eccb58bbe318f74b50874e958a06  atmosphere-pubsub.war
====
http://dl.dropbox.com/u/314941/atmosphere/atmosphere-spade-server-0.6-SNAPSHOT.jar
alfred@alfred-laptop:~/Dropbox/Public/atmosphere$ md5sum atmosphere-spade-server-0.6-SNAPSHOT.jar
1973269bde265572d5bbcf8d7eb64d28  atmosphere-spade-server-0.6-SNAPSHOT.jar

--------------------------------------
Please correct me if wrong, but I thought that the atmosphere-spade-server is a single jar file that contains all the dependencies.

https://gist.github.com/f6043dfb2dd4fde9e2e0

I had no luck running these 2 jars.
--------------------------------------

Like you said I tried to install using maven from github.
I get something I guess, but still I get a shitload of errors when doing maven install.
I created the following settings.xml in .m2/ which can be viewed in the github gist.
This time I actually saw:





Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Playing with atmosphere-spade-server + atmosphere-pubsub.war

jfarcand-2
Salut,

On 10-05-17 3:28 PM, alfredwesterveld wrote:

>
> Hi,
>
> Jean Farcand sent me a e-mail with the following attachments:
>
> http://dl.dropbox.com/u/314941/atmosphere/atmosphere-pubsub.war
> alfred@alfred-laptop:~/Dropbox/Public/atmosphere$ md5sum
> atmosphere-pubsub.war
> d545eccb58bbe318f74b50874e958a06  atmosphere-pubsub.war
> ====
> http://dl.dropbox.com/u/314941/atmosphere/atmosphere-spade-server-0.6-SNAPSHOT.jar
> alfred@alfred-laptop:~/Dropbox/Public/atmosphere$ md5sum
> atmosphere-spade-server-0.6-SNAPSHOT.jar
> 1973269bde265572d5bbcf8d7eb64d28  atmosphere-spade-server-0.6-SNAPSHOT.jar
>
> --------------------------------------
> Please correct me if wrong, but I thought that the atmosphere-spade-server
> is a single jar file that contains all the dependencies.
>
> https://gist.github.com/f6043dfb2dd4fde9e2e0
>
> I had no luck running these 2 jars.
> --------------------------------------
>
> Like you said I tried to install using maven from github.
> I get something I guess, but still I get a shitload of errors when doing
> maven install.
> I created the following settings.xml in .m2/ which can be viewed in the
> github gist.
> This time I actually saw:
>
> <!--
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
> -->
> <!-- Welcome to the Atmosphere Framework. To work with all the browsers when
> suspending connection, Atmosphere must output some data to makes WebKit
> based browser working.-->
>

That means it works if you see that. Sorry I cannot reproduce the issues
you are seeing...I've tested on OS X and Linux and the jar I've sent you
produces no error. Which OS are you?

A+

-_jeanfrancois


>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Playing with atmosphere-spade-server + atmosphere-pubsub.war

alfredwesterveld
Hi Jean,

I have tested these 2 jars on both linux/ubuntu 10.04 and Windows xp pc. Both no luck when downloading these 2 jars to a single folder and next run:

java -jar atmosphere-spade-server-0.6-SNAPSHOT.jar -a atmosphere-pubsub.war

But thanks for your help. Maybe you could remote connect to my windows box via logmein.com and see it for your self :)?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Playing with atmosphere-spade-server + atmosphere-pubsub.war

survivant

Works for me on win7.  I can send you my jars.

On May 17, 2010 3:48 PM, "alfredwesterveld" <[hidden email]> wrote:


Hi Jean,

I have tested these 2 jars on both linux/ubuntu 10.04 and Windows xp pc.
Both no luck when downloading these 2 jars to a single folder and next run:

java -jar atmosphere-spade-server-0.6-SNAPSHOT.jar -a atmosphere-pubsub.war

But thanks for your help. Maybe you could remote connect to my windows box
via logmein.com and see it for your self :)?
--
View this message in context: http://atmosphere-users-mailling-list.2493822.n2.nabble.com/Playing-with-atmosphere-spade-server-atmosphere-pubsub-war-tp5044687p5066723.html

Sent from the Atmosphere users mailling list mailing list archive at Nabble.com.

------------------...

To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: u...

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Playing with atmosphere-spade-server + atmosphere-pubsub.war

alfredwesterveld
Yes please :)

My email address is alfredwesterveld@gmail.com
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Playing with atmosphere-spade-server + atmosphere-pubsub.war

alfredwesterveld
Hi,

@Survivant your jar files did the trick :).

md5sum Survivant files:
76087672f40975197f9e8f727616aaf7  atmosphere-spade-server-0.6-SNAPSHOT.jar
82959ded17155c60c224a78c83b2815b  atmosphere-pubsub.war
file sent by Survivant:
http://dl.dropbox.com/u/314941/atmosphere/replayingwithatmospherespadeserveratmospherepubsub.zip

@JFarcand very strange, but did you maybe sent me wrong jar files by mistake?
md5sum JFarcand's files.
1973269bde265572d5bbcf8d7eb64d28  atmosphere-spade-server-0.6-SNAPSHOT.jar
d545eccb58bbe318f74b50874e958a06  atmosphere-pubsub.war
file sent by jfarcand:
http://dl.dropbox.com/u/314941/atmosphere/rejarfiles.zip

====

Also I would like to know what settings I need to use Maven correctly and build the tools myself. Many thanks for all the help :)
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Playing with atmosphere-spade-server + atmosphere-pubsub.war

jfarcand-2
Salut,

On 10-05-17 10:30 PM, alfredwesterveld wrote:

>
> Hi,
>
> @Survivant your jar files did the trick :).
>
> md5sum Survivant files:
> 76087672f40975197f9e8f727616aaf7  atmosphere-spade-server-0.6-SNAPSHOT.jar
> 82959ded17155c60c224a78c83b2815b  atmosphere-pubsub.war
> file sent by Survivant:
> http://dl.dropbox.com/u/314941/atmosphere/replayingwithatmospherespadeserveratmospherepubsub.zip
>
> @JFarcand very strange, but did you maybe sent me wrong jar files by
> mistake?
> md5sum JFarcand's files.
> 1973269bde265572d5bbcf8d7eb64d28  atmosphere-spade-server-0.6-SNAPSHOT.jar
> d545eccb58bbe318f74b50874e958a06  atmosphere-pubsub.war
> file sent by jfarcand:
> http://dl.dropbox.com/u/314941/atmosphere/rejarfiles.zip

Strange, that version works for me. Anyway :-)

>
> ====
>
> Also I would like to know what settings I need to use Maven correctly and
> build the tools myself. Many thanks for all the help :)
>

% git clone [hidden email]:jfarcand/atmosphere.git
% cd atmosphere
% mvm install

A+

- Jeanfrancois




---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Playing with atmosphere-spade-server + atmosphere-pubsub.war

survivant

Maybe he needed a clean.  

mvn clean install

On May 18, 2010 10:27 AM, "jfarcand" <[hidden email]> wrote:

Salut,



On 10-05-17 10:30 PM, alfredwesterveld wrote:
>
>
> Hi,
>
> @Survivant your jar files did the tric...

Strange, that version works for me. Anyway :-)



>
> ====
>
> Also I would like to know what settings I need to use Maven correctly and
> build the...

% git clone [hidden email]:jfarcand/atmosphere.git
% cd atmosphere
% mvm install

A+

- Jeanfrancois






---------------------------------------------------------------------
To unsubscribe, e-mail: u...

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Playing with atmosphere-spade-server + atmosphere-pubsub.war

alfredwesterveld
But do  I need to modify pom.xml or settings.xml because I am getting a lot of errors.
12
Loading...