You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pubscribe-dev@ws.apache.org by Ramot Lubis <ra...@gmail.com> on 2006/05/01 04:40:51 UTC

PubScribe FileSystem example..

hi,

i was trying to deploy FileSystem service example on pubscribe. I even
tried to create all FileSystem classes using
org.apache.ws.resource.tool.Wsdl2JavaTask
 and I suppose that all FileSystem classes are not to be modified.
But, somehow, they are not  working fine on my pubscribe installation.
So, when I try to debug, I found that the error was in:


topicExpressionDialectsPropCallback.refreshProperty(
topicExpressionDialectsProp );

line 138 of AbstractFileSystemResource.java

the error was NullException.



when I commented the line out. It was working fine. FileSystem service
is running and I can send Subscribe, GetCurrentMessage and they are
working fine.


Where did I do wrong? Because I shouldn't change the
AbstractFileSystemResource.java as it's auto generated!

There must be somewhere wrong, but I've got no clues.


Does anybody have experience deploying FileSystem example and give suggestion?



thanks in advance?


Ramot Lubis.

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


Re: PubScribe FileSystem example..

Posted by Ramot Lubis <ra...@gmail.com>.
thanks for your reply.

I found this "incompatibility issue" because I use different Axis
transport protocol. I am using JXTA P2P messaging system, not HTTP.
This is my own problem that it was not working well as you might
expect. I hope I will be able to handle it.

Curiousity in my previous question is that when I put comment on

//topicExpressionDialectsPropCallback.refreshProperty(topicExpressionDialectsProp
);
//line 138 of AbstractFileSystemResource.java

it's then working fine. I thought I shouldn't change code in any
auto-generated classes.
Because I am not changing anything in pubscribe but only changing
transport protocol in Axis.

Before trying PubScribe, I have tested Apache WSRF FileSystem example
on my Axis Transport, and it's also working fine.

However, I am currently studying PubScribe tutorial to see how I can
figure out the solution to my problem.


rgds,

RL.


On 5/1/06, Campana Jr., Salvatore J <sa...@hp.com> wrote:
> Please review the tutorial...Basically all your props need to be
> initialized else you will have issues...While we generate most of this
> for you, you will need to initialize them...Since you are using
> FileSystem, the whole process is documented...
>
> -S
>
> -----Original Message-----
> From: Ramot Lubis [mailto:ramot.lubis@gmail.com]
> Sent: Sunday, April 30, 2006 10:41 PM
> To: pubscribe-dev@ws.apache.org
> Subject: PubScribe FileSystem example..
>
> hi,
>
> i was trying to deploy FileSystem service example on pubscribe. I even
> tried to create all FileSystem classes using
> org.apache.ws.resource.tool.Wsdl2JavaTask
>  and I suppose that all FileSystem classes are not to be modified.
> But, somehow, they are not  working fine on my pubscribe installation.
> So, when I try to debug, I found that the error was in:
>
>
> topicExpressionDialectsPropCallback.refreshProperty(
> topicExpressionDialectsProp );
>
> line 138 of AbstractFileSystemResource.java
>
> the error was NullException.
>
>
>
> when I commented the line out. It was working fine. FileSystem service
> is running and I can send Subscribe, GetCurrentMessage and they are
> working fine.
>
>
> Where did I do wrong? Because I shouldn't change the
> AbstractFileSystemResource.java as it's auto generated!
>
> There must be somewhere wrong, but I've got no clues.
>
>
> Does anybody have experience deploying FileSystem example and give
> suggestion?
>
>
>
> thanks in advance?
>
>
> Ramot Lubis.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: pubscribe-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: pubscribe-dev-help@ws.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: pubscribe-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: pubscribe-dev-help@ws.apache.org
>
>

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


RE: PubScribe FileSystem example..

Posted by "Campana Jr., Salvatore J" <sa...@hp.com>.
Please review the tutorial...Basically all your props need to be
initialized else you will have issues...While we generate most of this
for you, you will need to initialize them...Since you are using
FileSystem, the whole process is documented...

-S 

-----Original Message-----
From: Ramot Lubis [mailto:ramot.lubis@gmail.com] 
Sent: Sunday, April 30, 2006 10:41 PM
To: pubscribe-dev@ws.apache.org
Subject: PubScribe FileSystem example..

hi,

i was trying to deploy FileSystem service example on pubscribe. I even
tried to create all FileSystem classes using
org.apache.ws.resource.tool.Wsdl2JavaTask
 and I suppose that all FileSystem classes are not to be modified.
But, somehow, they are not  working fine on my pubscribe installation.
So, when I try to debug, I found that the error was in:


topicExpressionDialectsPropCallback.refreshProperty(
topicExpressionDialectsProp );

line 138 of AbstractFileSystemResource.java

the error was NullException.



when I commented the line out. It was working fine. FileSystem service
is running and I can send Subscribe, GetCurrentMessage and they are
working fine.


Where did I do wrong? Because I shouldn't change the
AbstractFileSystemResource.java as it's auto generated!

There must be somewhere wrong, but I've got no clues.


Does anybody have experience deploying FileSystem example and give
suggestion?



thanks in advance?


Ramot Lubis.

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


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