You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrp4j-user@portals.apache.org by Milind Waikul <mw...@yahoo.com> on 2005/02/09 20:08:24 UTC

org.apache.wsrp4j.exception.WSRPException: No message found

I could compile the WSRP4J
by running
build.bat
install-provider-pluto.bat
install-swing-consumer.bat

After executing the run.bat in the SwingConsumer
folder
I get
LogManager: Error while initializing log properties.
StackTrace
follows.
java.lang.NullPointerException
....
...
...
[ERROR]: The swing consumer could not be initialized.
Reason :org.apache.wsrp4j.exception.WSRPException: No
message found.

Also during the execution of install-provider-pluto I
got the
following exceptions but it says that the build was
sucessfull.
Is it necessary for the WSRP service to build
correctly to use
the consumer? Is it possible to use this consumer with
a external WSRP web
service?
......
......
DeployPortlet.intern:
deploying 'wsrptest' ...
java.util.zip.ZipException: The system cannot find the
file specified
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:112)
at java.util.jar.JarFile.<init>(JarFile.java:127)
at java.util.jar.JarFile.<init>(JarFile.java:65)
at org.apache.pluto.portalImpl.Deploy.deployArchive
(Deploy.java:90)
at
org.apache.pluto.portalImpl.Deploy.main(Deploy.java:485)

proxyportlet.set.logger:

BUILD SUCCESSFUL
Total time: 8 seconds



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail

Re: Followup: org.apache.wsrp4j.exception.WSRPException: No message found

Posted by Matthew Carey <ma...@ssl.co.uk>.
It is possible to get the swing consumer to point at another provider by 
altering some of the configuration files. Such as the xml file in
ws-wsrp4j/driver/SwingConsumer/persistence/producers/

However the swing consumer does not support form input, which is exactly 
the sort of thing you might want to be doing if you are using a database 
wsrp service.

The only way of getting form input with wsrp4j is to use the 
proxyportlet consumer as a jsr168 portlet within pluto. Again you have 
to set some of the configuration files to get it point at a different 
producer.

Milind Waikul wrote:
> I was getting this error due to classpath issues.
> I modified setcpath.bat and got the client to work.
> Now the Swing client comes up but I get the same
> message in the client
> "org.apache.wsrp4j.exception.WSRPException: No message
> found"
> I see place holders for what should have been data
> from portlets.
> Also I found out the url for Oracles WSRP service
> http://portalstandards.oracle.com/wsrp/jaxrpc
> Now my question what do I need to do to connect
> the SwingConsumer to the Oracles WSRP service
> I modified the
> "org.apache.wsrp4j.consumer.driver.ProducerImpl@WSRP4J.xml"
> file to point to the oracle locations with no results.
> See file below for details.
> So is it possible to connect this SwingConsumer to any
> WSRP producer?
> Thanks in advance
> -Milind
> 
> <?xml version="1.0" encoding="UTF-8" ?> 
> - <Producer id="1" registrationRequired="false">
> - <registration-data>
>   <consumer-name>WSRP4J Swing Consumer</consumer-name>
> 
>   <consumer-agent>WSRP4J Swing Consumer V.
> 0.1</consumer-agent> 
>   </registration-data>
>  
> <markup-interface-url>http://portalstandards.oracle.com:80/wsrp/jaxrpc/WSRPBaseService</markup-interface-url>
> 
>  
> <service-description-interface-url>http://portalstandards.oracle.com:80/wsrp/jaxrpc/WSRPServiceDescriptionService</service-description-interface-url>
> 
>  
> <registration-interface-url>http://portalstandards.oracle.com:80/wsrp/jaxrpc/WSRPRegistrationService</registration-interface-url>
> 
>  
> <portlet-management-interface-url>http://portalstandards.oracle.com:80/wsrp/jaxrpc/WSRPPortletManagementService</portlet-management-interface-url>
> 
> - <registration-context>
>  
> <registration-handle>10.10.240.131_1107984937390_0</registration-handle>
> 
>   </registration-context>
>   </Producer>
> 
> 
> --- Milind Waikul <mw...@yahoo.com> wrote:
> 
> 
>>I could compile the WSRP4J
>>by running
>>build.bat
>>install-provider-pluto.bat
>>install-swing-consumer.bat
>>
>>After executing the run.bat in the SwingConsumer
>>folder
>>I get
>>LogManager: Error while initializing log properties.
>>StackTrace
>>follows.
>>java.lang.NullPointerException
>>....
>>...
>>...
>>[ERROR]: The swing consumer could not be
>>initialized.
>>Reason :org.apache.wsrp4j.exception.WSRPException:
>>No
>>message found.
>>
>>Also during the execution of install-provider-pluto
>>I
>>got the
>>following exceptions but it says that the build was
>>sucessfull.
>>Is it necessary for the WSRP service to build
>>correctly to use
>>the consumer? Is it possible to use this consumer
>>with
>>a external WSRP web
>>service?
>>......
>>......
>>DeployPortlet.intern:
>>deploying 'wsrptest' ...
>>java.util.zip.ZipException: The system cannot find
>>the
>>file specified
>>at java.util.zip.ZipFile.open(Native Method)
>>at java.util.zip.ZipFile.<init>(ZipFile.java:112)
>>at java.util.jar.JarFile.<init>(JarFile.java:127)
>>at java.util.jar.JarFile.<init>(JarFile.java:65)
>>at org.apache.pluto.portalImpl.Deploy.deployArchive
>>(Deploy.java:90)
>>at
>>
> 
> org.apache.pluto.portalImpl.Deploy.main(Deploy.java:485)
> 
>>proxyportlet.set.logger:
>>
>>BUILD SUCCESSFUL
>>Total time: 8 seconds
>>
>>
>>
>>		
>>__________________________________ 
>>Do you Yahoo!? 
>>Yahoo! Mail - Helps protect you from nasty viruses. 
>>http://promotions.yahoo.com/new_mail
>>
> 
> 
> 
> 
> 		
> __________________________________ 
> Do you Yahoo!? 
> Yahoo! Mail - now with 250MB free storage. Learn more.
> http://info.mail.yahoo.com/mail_250


Followup: org.apache.wsrp4j.exception.WSRPException: No message found

Posted by Milind Waikul <mw...@yahoo.com>.
I was getting this error due to classpath issues.
I modified setcpath.bat and got the client to work.
Now the Swing client comes up but I get the same
message in the client
"org.apache.wsrp4j.exception.WSRPException: No message
found"
I see place holders for what should have been data
from portlets.
Also I found out the url for Oracles WSRP service
http://portalstandards.oracle.com/wsrp/jaxrpc
Now my question what do I need to do to connect
the SwingConsumer to the Oracles WSRP service
I modified the
"org.apache.wsrp4j.consumer.driver.ProducerImpl@WSRP4J.xml"
file to point to the oracle locations with no results.
See file below for details.
So is it possible to connect this SwingConsumer to any
WSRP producer?
Thanks in advance
-Milind

<?xml version="1.0" encoding="UTF-8" ?> 
- <Producer id="1" registrationRequired="false">
- <registration-data>
  <consumer-name>WSRP4J Swing Consumer</consumer-name>

  <consumer-agent>WSRP4J Swing Consumer V.
0.1</consumer-agent> 
  </registration-data>
 
<markup-interface-url>http://portalstandards.oracle.com:80/wsrp/jaxrpc/WSRPBaseService</markup-interface-url>

 
<service-description-interface-url>http://portalstandards.oracle.com:80/wsrp/jaxrpc/WSRPServiceDescriptionService</service-description-interface-url>

 
<registration-interface-url>http://portalstandards.oracle.com:80/wsrp/jaxrpc/WSRPRegistrationService</registration-interface-url>

 
<portlet-management-interface-url>http://portalstandards.oracle.com:80/wsrp/jaxrpc/WSRPPortletManagementService</portlet-management-interface-url>

- <registration-context>
 
<registration-handle>10.10.240.131_1107984937390_0</registration-handle>

  </registration-context>
  </Producer>


--- Milind Waikul <mw...@yahoo.com> wrote:

> I could compile the WSRP4J
> by running
> build.bat
> install-provider-pluto.bat
> install-swing-consumer.bat
> 
> After executing the run.bat in the SwingConsumer
> folder
> I get
> LogManager: Error while initializing log properties.
> StackTrace
> follows.
> java.lang.NullPointerException
> ....
> ...
> ...
> [ERROR]: The swing consumer could not be
> initialized.
> Reason :org.apache.wsrp4j.exception.WSRPException:
> No
> message found.
> 
> Also during the execution of install-provider-pluto
> I
> got the
> following exceptions but it says that the build was
> sucessfull.
> Is it necessary for the WSRP service to build
> correctly to use
> the consumer? Is it possible to use this consumer
> with
> a external WSRP web
> service?
> ......
> ......
> DeployPortlet.intern:
> deploying 'wsrptest' ...
> java.util.zip.ZipException: The system cannot find
> the
> file specified
> at java.util.zip.ZipFile.open(Native Method)
> at java.util.zip.ZipFile.<init>(ZipFile.java:112)
> at java.util.jar.JarFile.<init>(JarFile.java:127)
> at java.util.jar.JarFile.<init>(JarFile.java:65)
> at org.apache.pluto.portalImpl.Deploy.deployArchive
> (Deploy.java:90)
> at
>
org.apache.pluto.portalImpl.Deploy.main(Deploy.java:485)
> 
> proxyportlet.set.logger:
> 
> BUILD SUCCESSFUL
> Total time: 8 seconds
> 
> 
> 
> 		
> __________________________________ 
> Do you Yahoo!? 
> Yahoo! Mail - Helps protect you from nasty viruses. 
> http://promotions.yahoo.com/new_mail
> 



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250