|
|
|
[
Permlink
| « Hide
]
Chris Kohlhardt - 16/Jun/08 12:48 PM
We may try to remove struts completely in the next release of the plugin.
Yah, sounds like the milestone builds are unstable. Good plan.
Tried with milestone 5, still the same problem.
I don't know enough about struts to know whats going on yet, just looking at the config, in the error message where it says it can't find /clientopendiagram shouldn't it be looking for /gliffyapi/clientopendiagram Shannon,
In the version of Struts that we ship with our plugin, Jonathan Nolen actually modified some of the class loading code. This was a long time ago, but I'm wondering if there was perhaps a long standing class loader issue in Confluence, which is now fixed? I'm guessing that Struts isn't able to load the config file, which is why we see these errors. Can you look some more armed with this information? thx! -chris Hi Shannon,
Dave, Clint and I have been discussing this issue, and we think it might be easiest to simply remove Struts from Gliffy all together. We don't really use any of the features of Struts anyways, and we think it would be a lot simpler for future integrations to get Struts out of the picture. So, here's the plan: 1 - I'm going to remove Struts from all Confluence Plugin code used on the 1.4.1 branch This should save you from having to try and work through the potentially really annoying class loader issues. Sound good? If its not going to be much work to get rid of it that sounds like a good plan, would probably justify a "1.5" release since its a pretty significant change :-\
I'm still not exactly sure what is going on with the struts stuff in 2.9, it seems like the url that gets passed to the servlet class is different, missing the gliffyapi part which is why the config is not finding the right implementation class. I did a quick mode the the struts config and made it work, but this would obviously require a different binary for the different confluence versions. From a forum post
Hey guys, we are getting ready to release Confluence 2.9 and I wanted to know how you've gone with this issue. Is there anything one of us Atlassians can help with?
Are you planning on working around the issue for now or is your immediate plan to remove struts? @Matthew, This issue should be resolved with the 1.4.1 release. The plan is to release this version around the same time as Confluence 2.9.
If you want a snapshot build to do some testing or to deploy on C.A.C, please create an issue in the support project so we can attach it there. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||