|
|
|
Yes, of course. I'm using JIRA 3.0.1 Professional with Tomcat 4.1.27 (not the standalone version). In Tomcat's web.xml I'm using the same configuration I had with JIRA 2.6.1, and aside from adding portlets everything else is working fine.
I experienced the same using Tomcat 4.1.18 and the Jira Enterprise 3.0.1. Maybe a part of the stack might help:
com.atlassian.jira.web.util.component.PicoJavaActionFactory.getActionImpl(PicoJavaActionFactory.java:64) at webwork.action.factory.ScriptActionFactoryProxy.getActionImpl(ScriptActionFactoryProxy.java:54) at webwork.action.factory.XMLActionFactoryProxy.getActionImpl(XMLActionFactoryProxy.java:54) at webwork.action.factory.PrefixActionFactoryProxy.getActionImpl(PrefixActionFactoryProxy.java:102) at webwork.action.factory.JspActionFactoryProxy.getActionImpl(JspActionFactoryProxy.java:53) at webwork.action.factory.CommandActionFactoryProxy.getActionImpl(CommandActionFactoryProxy.java:62) at webwork.action.factory.AliasingActionFactoryProxy.getActionImpl(AliasingActionFactoryProxy.java:96) at webwork.action.factory.CommandActionFactoryProxy.getActionImpl(CommandActionFactoryProxy.java:53) at webwork.action.factory.ContextActionFactoryProxy.getActionImpl(ContextActionFactoryProxy.java:36) at webwork.action.factory.PrepareActionFactoryProxy.getActionImpl(PrepareActionFactoryProxy.java:37) at webwork.action.factory.ParametersActionFactoryProxy.getActionImpl(ParametersActionFactoryProxy.java:46) at webwork.action.factory.ChainingActionFactoryProxy.getActionImpl(ChainingActionFactoryProxy.java:52) at com.atlassian.jira.web.util.component.DefaultPicoActionFactory.getActionImpl(DefaultPicoActionFactory.java:49) at webwork.action.factory.ActionFactory.getAction(ActionFactory.java:63) at Hi,
Could you please try deleting Tomcat's work/ directory, and restarting. Occasionally Tomcat confuses itself about the state of compiled JSPs. If this doesn't help, please attach the logs here (or mail them to jira-support@atlassian.com). If you don't mind sending us an XML backup that would also help. Re. web.xml, you shouldn't be modifying anything in there - some things changed in web.xml between 2.6.1 and 3.0, so the unmodified 3.0 web.xml should be used. I forgot to mention that i of course delete the cache of tomcat and restarted. Also my web.xml is unchanged used in version 3.0
As far as I see it, there is no "saveportlet" action in WEB-INF/classes/actions.xml. There is an action with an alias of "SavePortlet", but no "saveportlet". I think that is causing the problem.
As for Tomcat's server.xml and JSP compilation caching, I've cleared everything and am using 3.0.1 defaults now. That did not help. I tried and installed a Standalone version of Jira, and with this, i didn't experienced the problem ...
Perhaps one of the Atlassian guys can comment on the different case issue ("saveportlet" vs "SavePortlet")?
"saveportlet" isn't referenced anywhere from JIRA's JSPs or source code, which is why this is a strange problem. I'll try to replicate with earlier versions of Tomcat (4.1.18). It seems there may be some odd classloader problem there.
Yes, I can replicate this bug on Tomcat 4.1.18 and 4.1.24. It doesn't occur on 4.1.27 and above. We'll look into this, but for now, the solution is to upgrade your Tomcat instance. I'll update the docs too.
Thanks for the reports. Hm, but I do have Tomcat 4.1.27 running...
Hrm, not sure then. I tested on 4.1.27 and could add portlets fine. Also, http://nagoya.apache.org/jira
i changed tomcat to 4.1.27, and with that, i had no longer these problems
We are also seeing this problem with 3.0.2 Enterprise on Tomcat 4.1.30 using Sun JDK 1.4.2_05 running on RHES 3.0. Is there a solution other than upgrading?
Scott,
I've just tried Tomcat 4.1.30 and an unable to replicate this problem there. Could you try deleting Tomcat's work/ directory, and see if that helps? Hi Jeff,
i tried today the life upgrade of our jira database, but it failed. Could you give me a hint, what my error could have been? Within the logs, it seems that jira doesnt recognize, that an interal upgrade of the database is necessary... Thx Titus Titus Leskien SSI Schäfer Noell GmbH phone +49 / (0) 9334 / 979 - 409 ---- [ http://jira.atlassian.com/browse/JRA-4977?page=comments#action_27085 Jeff Turner commented on Scott, I've just tried Tomcat 4.1.30 and an unable to replicate this problem there. Could you try deleting Tomcat's work/ directory, and see if that helps? – Which database are you using?
You need to export / re-import with HSQL as it does not support the SQL 'ALTER' statement. If this is the case, can you export from your old system, and then re-import into your new system? I don't quite see in what way this is related to the portlet adding problem...
Maik,
Actually - neither do I. Titus - can you please create a support issue regarding your problems? Cheers, I found this issue too, running tomcat 4.1.30 with 3.0.3 enterprise. I am running it with jdk 1.4.2. Deleting the temp/work directories in tomcat did not help. I can provide more information if required.
Praveen,
If you are able to replicate this, please raise a new issue and attach any relevant logs/server config files (perhaps on support.atlassian.com if these contain sensitive info). We are still unable to replicate this on Tomcat versions beyond 4.1.24, so any extra info you could provide would be helpful. It turns out this problem is caused by using an outdated Connector in Tomcat's conf/server.xml. The old connector which causes this error is:
<Connector className="org.apache.catalina.connector.http.HttpConnector" The new (correct) connector is: <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" Many thanks to Grant McKenzie for tracking this down. The Problem seems to be between Apache and Tomact with Jira and not in the Version of Tomact. Jira on Tomact-Http Connector works, but with apache/mod_jk2 the Location is wrong.
Configuration: Jira Prf.: 3.1 #80
HTTP/1.x 302 Moved Temporarily GET /jira-enterprise/secure/SavePortlet!default.jspa?portletIdStr=com.atlassian.jira.plugin.system.portlets:bugzilla&destination=dashboard HTTP/1.1 HTTP/1.x 200 OK
HTTP/1.x 302 Moved Temporarily GET /jira-enterprise/secure/saveportlet!default.jspa?portletidstr=com.atlassian.jira.plugin.system.portlets:?portletIdStr=com.atlassian.jira.plugin.system.portlets:bugzilla&destination=dashboard HTTP/1.1 HTTP/1.x 404 Not Found
The Difference is in the Location Header: Apache/mod_jk2 wrong: Because the Apache get the "saveportlet" Loaction it gets the 404 Error. ---------- I don't know if the Redirect in Jira or the mod_jk creates the wrong location. Maybe someone know how to workaround this. Best Regards Stephan,
Which connector are you using to hook Tomcat up with Apache? You should have: <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" Hello,
i used the old AJP 1.3 Connector. With Coyote Connector the Redirect Best Regards |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Can you provide some more details on your environment? Are you using JIRA Standalone, or an external app server? If external, which app server?
thanks