On Nov 30, 2007 1:50 PM, ant elder <[EMAIL PROTECTED]> wrote: > I'm getting the exception below when i try to register a contribution in a > node thats running in a separate JVM from the domain. Does this mean all > contributions in nodes also need to be in the classpath used by the > domain? > > INFO: Registered node: http://localhost:8080/tuscany/ at endpoint > http://L32H83W:8080/tuscany//SCANodeManagerComponent/SCANodeManagerService > 30-Nov-2007 13:46:23 > org.apache.tuscany.sca.domain.impl.SCADomainImplregisterContribution > SEVERE: Exception when registering contribution C:\Tomcat\apache- > > tomcat-6.0.10\webapps\sample-helloworld-ws-service-webapp\org.apache.tuscany.sca.domain.DomainException: > java.lang.ClassNotFoundException: helloworld.HelloWorldImpl > > ...ant > Yes, the domain reads the contribution to build the domain model.
- we don't at the moment have a mechanism of moving contributions physically between domain/node or node/domain. Only the id and location is passed. A shared filesystem is assumed. - we could relax this restriction when you add a contribution to a node but we would still need to pass the model back to the domain somehow. Would require work. In your case when you drop the contribution (war/jar?) into the web app container what do you provide as the contribution URL? Can we make sure that is an absolute URL and make sure that the domain can see it? Simon
