Menu

#62 P2P execution on Portal does not work

open
nobody
5
2006-12-20
2006-12-20
No

I am trying to execute a service using the portal.
This is the scenario (refers to version servENT 0.3.8)

Machine A
-Services Deployed
- Portal
- KB/SR/RC, etc
- EchoNameService (from DBEStudio examples)

Machine B
-Services Deployed
- Portal
- KB/SR/RC, etc

I search using the portal on machine A the EchoNameService, I get a list with similar (BML/SDL/YadaYada) services appear, I execute it (click on "Execute"), etc, works fine

I search using the portal on machine B the EchoNameService, list with similar services appear, I execute it, etc, fine, I execute it (click on "Execute"), get a NPE on the servent output of machine B

This is the output , which I believe is the start of the log when I click on "execute"

(Otherwise, the service using a simple command line client works fine entering from one servent or the other as tested)

LOG:
-------------------------------------

2006-12-20 17:20:45,724 [SocketListener2-1] INFO org.dbe.toolkit.portal.client.DBEPortalClient - -----IF-checker: SMcreator 2222
1626763 [SocketListener2-1] INFO org.dbe.toolkit.portal.client.DBEPortalClient 192.168.1.100 111 - -----IF-checker: SMcreator 2222
2006-12-20 17:20:45,729 [SocketListener2-1] DEBUG org.dbe.toolkit.portal.client.DBEPortalClient - SMID is NOT a portal SMID
1626768 [SocketListener2-1] DEBUG org.dbe.toolkit.portal.client.DBEPortalClient 192.168.1.100 111 - SMID is NOT a portal SMID
2006-12-20 17:20:45,729 [SocketListener2-1] DEBUG org.dbe.toolkit.portal.client.DBEPortalClient - Getting ui for SMID: SM-809a38c771586296bc35988043ebf8a81f5724d5-11
1626768 [SocketListener2-1] DEBUG org.dbe.toolkit.portal.client.DBEPortalClient 192.168.1.100 111 - Getting ui for SMID: SM-809a38c771586296bc35988043ebf8a81f5724d5-11
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Getting portal SMID of service SMID: SM-809a38c771586296bc35988043ebf8a81f5724d5-11
portal proxy is ok!
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> portalID: null
2006-12-20 17:20:46,919 [SocketListener2-1] DEBUG org.dbe.toolkit.portal.client.DBEPortalClient - >>>>>>>>>>> PORTAL ID (From servent): null
1627958 [SocketListener2-1] DEBUG org.dbe.toolkit.portal.client.DBEPortalClient 192.168.1.100 111 - >>>>>>>>>>> PORTAL ID (From servent): null
2006-12-20 17:20:46,919 [SocketListener2-1] DEBUG org.dbe.toolkit.portal.client.DBEPortalClient - SMID of the portal hosting the UI of service SM-809a38c771586296bc35988043ebf8a81f5724d5-11 is: null
1627958 [SocketListener2-1] DEBUG org.dbe.toolkit.portal.client.DBEPortalClient 192.168.1.100 111 - SMID of the portal hosting the UI of service SM-809a38c771586296bc35988043ebf8a81f5724d5-11 is: null
[ INFO] Calling to SSS http://localhost:2727/SRservice - (CSSHandler.java:232)
[ INFO] trying to get AdapterWrapper with /SRservice - (SSSHandler.java:114)
2006-12-20 17:20:48,471 [SocketListener2-1] ERROR org.sun.dbe.ClientHelper - proxy == null !!!
1629510 [SocketListener2-1] ERROR org.sun.dbe.ClientHelper 192.168.1.100 111 - proxy == null !!!
2006-12-20 17:20:48,472 [SocketListener2-1] ERROR org.dbe.toolkit.portal.client.DBEPortalClient - No service found for: null null
1629511 [SocketListener2-1] ERROR org.dbe.toolkit.portal.client.DBEPortalClient 192.168.1.100 111 - No service found for: null null
2006-12-20 17:20:48,475 [SocketListener2-1] ERROR org.dbe.toolkit.portal.client.DBEPortalClient - Exception getting UI URL. Class SMID: SM-809a38c771586296bc35988043ebf8a81f5724d5-11
1629514 [SocketListener2-1] ERROR org.dbe.toolkit.portal.client.DBEPortalClient 192.168.1.100 111 - Exception getting UI URL. Class SMID: SM-809a38c771586296bc35988043ebf8a81f5724d5-11
org.dbe.toolkit.portal.DBEPortalException: No service found for: null null
at org.dbe.toolkit.portal.client.ProxyCache.getWorkspace(ProxyCache.java:141)
at org.dbe.toolkit.portal.client.ProxyCache.get(ProxyCache.java:116)
at org.dbe.toolkit.portal.ui.UIRetrievalDelegate.getWorkspace(UIRetrievalDelegate.java:740)
at org.dbe.toolkit.portal.ui.UIRetrievalDelegate.getUIArchiveURL(UIRetrievalDelegate.java:455)
at org.dbe.toolkit.portal.ui.UIRetrievalDelegate.getCacheLocalUI(UIRetrievalDelegate.java:432)
at org.dbe.toolkit.portal.ui.UIRetrievalDelegate.getUI(UIRetrievalDelegate.java:194)
at org.dbe.toolkit.portal.DBEPortal.getUI(DBEPortal.java:57)
at org.dbe.toolkit.portal.client.DBEPortalClient.getUI(DBEPortalClient.java:187)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.openlaszlo.data.JavaDataSource.execute(Unknown Source)
at org.openlaszlo.data.JavaDataSource.getData(Unknown Source)
at org.openlaszlo.data.DataSource.getAsSWF(Unknown Source)
at org.openlaszlo.servlets.responders.ResponderCache.respondImpl(Unknown Source)
at org.openlaszlo.servlets.responders.Responder.respond(Unknown Source)
at org.openlaszlo.servlets.LZServlet._doGet(Unknown Source)
at org.openlaszlo.servlets.LZServlet.doGet(Unknown Source)
at org.openlaszlo.servlets.LZServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
at org.mortbay.http.HttpServer.service(HttpServer.java:879)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
2006-12-20 17:20:48,495 [SocketListener2-1] DEBUG org.dbe.toolkit.portal.client.DBEPortalClient - DBEPortal::getUI(String smid) returns:
1629534 [SocketListener2-1] DEBUG org.dbe.toolkit.portal.client.DBEPortalClient 192.168.1.100 111 - DBEPortal::getUI(String smid) returns:
[ INFO] trying to get AdapterWrapper with /RCservice - (SSSHandler.java:114)

Discussion


Log in to post a comment.