Unable to override systemScdl in a webapp
-----------------------------------------

                 Key: TUSCANY-672
                 URL: http://issues.apache.org/jira/browse/TUSCANY-672
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Common
    Affects Versions: Java-M2
         Environment: WinXP with Tomcat 5.5.17
            Reporter: Bert Lamb


Ok, so the good news is that I got the binding and the sample working
when modifying the webapp.system.scdl in webapp-host.jar.

I decided it would be cleaner though to create my own copy of
webapp.system.scdl (and call it jsonrpc.system.scdl) to put in my
hello world webapp.  I tried this and modified the web.xml to have

<context-param>
    <param-name>systemScdlPath</param-name>
    <param-value>/META-INF/sca/jsonrpc.system.scdl</param-value>
</context-param>

However, this gives me a "Null system SCDL URL" Exception thrown.  I
looked at ServletLauncherListener.java and it looks like the
systemScdlPath URL is being loaded with a different classloader than
the applicationScdlPath which may be leading to the exception.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to