Hi Isuru,

On Thu, Sep 9, 2010 at 7:37 AM, Isuru Suriarachchi <is...@wso2.com> wrote:

>
>
> On Thu, Sep 9, 2010 at 12:18 AM, Afkham Azeez <az...@wso2.com> wrote:
>
>> Isuru,
>> this change was done on June 20th, after which several Stratos AS upgrades
>> were done. You can check the current Stratos AS. Codegen is working there.
>> So, my change could not have been the reason for this issue.
>>
>
> I also suspected that this is a fix done for Stratos. Did you check this on
> your local machine after doing the fix? In the localhost case,
> wso2.wsf.Util.getServerURL() returns the URL with "localhost" and
> backendServerURL returns the URL with the correct ip address. Somehow, first
> one works and the second one doesnt. We'll have to look into this..
>

Just recalling similar experiences I've had with some other UI components:
does this fail/work if the address was https://localhost:9443/carbon/foo and
work/fail if the address was https://10.20.30.40:9443/carbon/foo?

Thanks,
Senaka.

>
> Thanks,
> ~Isuru
>
>
>>
>> Azeez
>>
>>
>>
>>
>> On Thu, Sep 9, 2010 at 12:02 AM, Afkham Azeez <az...@wso2.com> wrote:
>>
>>> This was a fix for some other issue, which I cannot immediately recall.
>>> This fix was to address that issue. What was the problem
>>> with backendServerURL? Was it null?
>>>
>>> Azeez
>>>
>>>
>>>
>>>
>>> On Wed, Sep 8, 2010 at 10:22 PM, Isuru Suriarachchi <is...@wso2.com>wrote:
>>>
>>>> After fixing all comments related issues, I found that the actual reason
>>>> for the above codegen issue is the following change made by Azeez :).
>>>>
>>>>  -  var frondendURL = wso2.wsf.Util.getServerURL() + "/";
>>>> + var frondendURL = '<%= backendServerURL%>';
>>>>
>>>> Reverting this commit fixes the issue.
>>>>
>>>> Thanks,
>>>> ~Isuru
>>>>
>>>>
>>>> On Wed, Sep 8, 2010 at 5:24 PM, Supun Kamburugamuva <su...@wso2.com>wrote:
>>>>
>>>>> This happened in the ESB components and I've removed the license
>>>>> header to get them working.
>>>>>
>>>>> Thanks,
>>>>> Supun..
>>>>>
>>>>> On Wed, Sep 8, 2010 at 4:43 PM, Ajith Vitharana <aji...@wso2.com>
>>>>> wrote:
>>>>> >
>>>>> >
>>>>> > On Wed, Sep 8, 2010 at 4:25 PM, Tyrell Perera <tyr...@wso2.com>
>>>>> wrote:
>>>>> >>
>>>>> >>
>>>>> >> On Wed, Sep 8, 2010 at 4:19 PM, Isuru Suriarachchi <is...@wso2.com>
>>>>> wrote:
>>>>> >>>
>>>>> >>> Hi all,
>>>>> >>>
>>>>> >>> We've found that some javascript functions are broken on trunk due
>>>>> to the
>>>>> >>> inclusion of copyright headers. Ex: wsdl2java. But I'm still unable
>>>>> to find
>>>>> >>> the exact reason and exact place from where the issue occurs. We
>>>>> might have
>>>>> >>> to remove the license headers from those files.
>>>>> >>>
>>>>> >>
>>>>> >> Usually HTML comments inside ajax-processor JSPs is the culprit. We
>>>>> CAN'T
>>>>> >> have HTML comments within ajax-processor JSPs because they are used
>>>>> to proxy
>>>>> >> data to javascript. The code parsing the response from such JSPs
>>>>> don't
>>>>> >> expect anything else in the response other than the data.
>>>>> >>
>>>>> >> Solution: Find ajax-processors that are being called by javascript
>>>>> >> XMLHttpRequest calls and replace their HTML comments with Java
>>>>> comments :)
>>>>> >>
>>>>> >
>>>>> >   I have the same experience , related to BAM  ajax-processor JSP's
>>>>> and it
>>>>> > was fixed   from Tyrell's solution.
>>>>> >
>>>>> > Thanks
>>>>> > ajithn
>>>>> >
>>>>> > _______________________________________________
>>>>> > Carbon-dev mailing list
>>>>> > Carbon-dev@wso2.org
>>>>> > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>> >
>>>>> >
>>>>>
>>>>> _______________________________________________
>>>>> Carbon-dev mailing list
>>>>> Carbon-dev@wso2.org
>>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Isuru Suriarachchi
>>>> Technical Lead & Product Manager, WSO2 Web Services Application Server
>>>> WSO2 Inc. http://wso2.com
>>>> email : is...@wso2.com
>>>> blog : http://isurues.wordpress.com/
>>>>
>>>> lean . enterprise . middleware
>>>>
>>>>
>>>> _______________________________________________
>>>> Carbon-dev mailing list
>>>> Carbon-dev@wso2.org
>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>
>>>>
>>>
>>>
>>> --
>>> *Afkham Azeez*
>>> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com
>>> ,
>>> *
>>> *
>>> *Member; Apache Software Foundation; 
>>> **http://www.apache.org/*<http://www.apache.org/>
>>> *
>>> email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919
>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>> *
>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>> *
>>> *
>>> *Lean . Enterprise . Middleware*
>>>
>>>
>>
>>
>> --
>> *Afkham Azeez*
>> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
>> *
>> *
>> *Member; Apache Software Foundation; 
>> **http://www.apache.org/*<http://www.apache.org/>
>> *
>> email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919
>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>> *
>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>> *
>> *
>> *Lean . Enterprise . Middleware*
>>
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Isuru Suriarachchi
> Technical Lead & Product Manager, WSO2 Web Services Application Server
> WSO2 Inc. http://wso2.com
> email : is...@wso2.com
> blog : http://isurues.wordpress.com/
>
> lean . enterprise . middleware
>
>
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Senaka Fernando
Associate Technical Lead
WSO2 Inc.
E-mail: senaka AT wso2.com;  Mobile: +94 77 322 1818

http://www.wso2.com/ - "Lean . Enterprise . Middleware"
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to