Tomcat jira problem

Pursway Pursway January 18, 2012

Does anyone saw the following error:

javax.management.MalformedObjectNameException: Cannot create object name for org.apache.catalina.connector.Connector

My Jira is not working now, I saw the error on the catalina log.

Thanks!

1 answer

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 18, 2012

Check the connector settings in Tomcat. Although if this is an OnDemand installation, I think you need to throw that back to support as you won't have access to that.

Pursway Pursway January 18, 2012

in the server.xml file i have " <Connector port="8080" protocol="HTTP/1.1"

connectionTimeout="200000"

redirectPort="8443" />

"
Do you meen to that file?
Thanks.
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 18, 2012

Yes, the error you are getting is usually to do with the connector settings in that file. But those look fine to me - standard off-the-shelf ones, so it must be something else.

What other errors are you getting - could you describe all the symptoms?

Pursway Pursway January 18, 2012

Sure, Thanks.

I start the tomcat6 service on my rhel6, an try to got to the server:8080 - but I got empty page.

I tried to look at the logs: /var/log/tomcat6/catalina.out and /var/log/tomcat6/catalina.2012-01-19.log

and i see in both files the following exeption:

...

SEVERE: Error, processing connection

java.lang.IndexOutOfBoundsException

...

SEVERE: destroyMBeans: Throwable

javax.management.MalformedObjectNameException: Cannot create object name for org.apache.catalina.connector.Connector@214a7a12

Do you want any other information? just tell me what to do :)
Thanks!
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 18, 2012

There's still not enough detail to tell from that, but you need to explain what you've done.

You imply it was running before - the question is therefore "what did you change" and then "what happens whwen you put it back the way you found it"

If I've misunderstood, and you've never had it running, can you explain how you installed it?

Pursway Pursway January 18, 2012

I installed it, and it works fine,

I changed something on the apache web conf (added virtual web server) - but i tried to remove it and try the jira, with no help..

Does Jira and Tomcat using apache web server somehow?

Thanks..

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 18, 2012

Well, they can use Apache - most places I've worked put Jira behind Apache for various reasons, and it works fine.

We've still got the problem that we really don't know what you've done, or changed, which is clearly the problem. As you've said it worked before, there must be something you've changed that broke it, and chasing that down is, I'm afraid, up to you. My next step would be to make sure Apache is not running at all and retry Jira. If Jira then works, then you need to focus on Apache. If it doesn't, then you need to go into more detail on what you changed in Jira.

Pursway Pursway January 21, 2012

Hi,

Thanks for your help, I stoped apache web server, and restarted jira, with no help..

I have not changed anything else on the system..

Maybe I need to update the tomcat? i am using 6.0.24 .. and i saw this: https://issues.apache.org/bugzilla/show_bug.cgi?id=48612

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 21, 2012

No. That version of Tomcat should be fine. Look at what has happened.

  1. You had a working Jira.
  2. You changed something.
  3. It stopped working.

Running off and blaming random problems in software that don't seem to relate to the errors in your logs probably won't hlpe much. I don't see how upgrading the Tomcat is going to help, unless it wipes out what you changed and puts it back to a working configuration. You have missed whatever it was you changed that broke it. By all means upgrade, but if you don't work out what you changed, you could easily break it again if you need to try whatever it was you did before.

Suggest an answer

Log in or Sign up to answer