You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "KARR, DAVID" <dk...@att.com> on 2013/01/16 17:13:27 UTC
Is error with Bamboo Sonar plugin because of Tomcat 6 instead of
Tomcat 7?
We're running Bamboo 3.4.3 in Tomcat 6.0.20. It mostly apparently works fine, but yesterday I tried to get the Bamboo Sonar plugin working, and when I tried to add a server connection, I got the following stack trace:
Caused by: java.lang.IllegalAccessException: Class com.atlassian.activeobjects.bamboo.ConnectionHandler can not access a member of class org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper with modifiers "public"
at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:65)
at java.lang.reflect.Method.invoke(Method.java:588)
at com.atlassian.activeobjects.bamboo.ConnectionHandler.delegate(ConnectionHandler.java:43)
at com.atlassian.activeobjects.bamboo.ConnectionHandler.invoke(ConnectionHandler.java:38)
... 239 more
I notice that it's trying to access something in the "org.apache.tomcat.dbcp.*" package. I'm pursuing this on the Sonar users list, but I'm wondering whether this might be an issue with Tomcat 6 vs. Tomcat 7. Is this symptom familiar to anyone?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Is error with Bamboo Sonar plugin because of Tomcat 6 instead
of Tomcat 7?
Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
David,
On 1/16/13 2:38 PM, KARR, DAVID wrote:
> We're running Bamboo with Tomcat 6. We're trying to add the Sonar
> plugin. When we try to configure it, we get this exception when
> it tries to call that specific Tomcat API. The theory that I'm
> exploring is that the plugin requires Bamboo to be running with
> Tomcat 7, not Tomcat 6.
Shouldn't it be very easy to check the requirements of the plug-in?
Perhaps, on a "Bamboo Sonar Plug-in Requirements" page? I wasn't able to
find anything quickly on Google, but then that plug-in has either not
been supported since 2010 (Atlassian) or merely requires Bamboo 3.3 or
higher, which only supports running under Tomcat 5.5 or 6.0. So, your
suggestion that upgrading to Tomcat 7 may fix your problem seems unlikely.
> I don't want to try moving to Tomcat 7 unless we have some
> assurance that that will resolve the problem.
I wouldn't move to Tomcat 7 until Bamboo says they support it.
Back to the original problem:
> Caused by: java.lang.IllegalAccessException: Class
> com.atlassian.activeobjects.bamboo.ConnectionHandler can not access
> a member of class
> org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper
> with modifiers "public" at
> sun.reflect.Reflection.ensureMemberAccess(Reflection.java:65) at
> java.lang.reflect.Method.invoke(Method.java:588) at
> com.atlassian.activeobjects.bamboo.ConnectionHandler.delegate(ConnectionHandler.java:43)
>
>
at
com.atlassian.activeobjects.bamboo.ConnectionHandler.invoke(ConnectionHandler.java:38)
Is that class (com.atlassian.activeobjects.bamboo.ConnectionHandler) a
part of Bamboo or the Sonar plug-in? Since it doesn't have any "sonar"
name in it, I'd suspect it's part of Bamboo and not the plug-in.
If you gave us the whole stack trace, maybe we'd be able to guess at
the actual problem and give you some suggestions.
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with undefined - http://www.enigmail.net/
iEYEAREIAAYFAlD3C7cACgkQ9CaO5/Lv0PD5KwCdGglkGhsttFzHBG7Fnf7t9Ylf
brwAnAscXVXVfoyef4YHH8O0laFLDDdu
=Du65
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Is error with Bamboo Sonar plugin because of Tomcat 6 instead of
Tomcat 7?
Posted by rop <ro...@gmail.com>.
Googling the exception, turns up this:
https://answers.atlassian.com/questions/54260/potenntial-incopmatibilty-between-tomcat-dpcp-oracle-active-objects
If that doesnt answer your question james@atlassian.com is asking you to
contact him :)
2013/1/16 KARR, DAVID <dk...@att.com>
> > -----Original Message-----
> > From: David kerber [mailto:dckerber@verizon.net]
> > Sent: Wednesday, January 16, 2013 11:42 AM
> > To: Tomcat Users List
> > Subject: Re: Is error with Bamboo Sonar plugin because of Tomcat 6
> instead of
> > Tomcat 7?
> >
> > On 1/16/2013 2:38 PM, KARR, DAVID wrote:
> > >> -----Original Message-----
> > >> From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com]
> > >> Sent: Wednesday, January 16, 2013 10:58 AM
> > >> To: Tomcat Users List
> > >> Subject: RE: Is error with Bamboo Sonar plugin because of Tomcat 6
> instead
> > of
> > >> Tomcat 7?
> > >>
> > >>> From: KARR, DAVID [mailto:dk068x@att.com]
> > >>> Subject: RE: Is error with Bamboo Sonar plugin because of
> > >>> Tomcat 6 instead of Tomcat 7?
> > >>
> > >>>>> We're running Bamboo 3.4.3 in Tomcat 6.0.20. It mostly apparently
> > >> works
> > >>>>> fine, but yesterday I tried to get the Bamboo Sonar plugin working,
> > >>>>
> > >>>> Did you leave out "in Tomcat 7" at the end there?
> > >>
> > >>> I don't know what you mean. Our Bamboo is running in Tomcat 6. I'm
> > >> wondering
> > >>> whether the error is due to a change in the Tomcat API between
> Tomcat 6
> > and
> > >> 7.
> > >>
> > >> You're not explaining your problem. First you say you have Bamboo
> running
> > in
> > >> Tomcat 6.0.20, then you say it's not running, you're getting an
> exception.
> > >> (Remember that very few - if any - people on this list have any idea
> what
> > >> Bamboo is, let alone how it works with Tomcat.) Since your subject
> line
> > >> refers to Tomcat 7, I assumed (bad idea) that you were having problems
> > >> migrating to Tomcat 7. So what's really going on (be precise)?
> > >
> > > We're running Bamboo with Tomcat 6. We're trying to add the Sonar
> plugin.
> > When we try to configure it, we get this exception when it tries to call
> that
> > specific Tomcat API. The theory that I'm exploring is that the plugin
> > requires Bamboo to be running with Tomcat 7, not Tomcat 6. I don't want
> to
> > try moving to Tomcat 7 unless we have some assurance that that will
> resolve
> > the problem.
> >
> > Why don't you check with the Bamboo people? As Chuck said, there
> > probably aren't very many people here who know anything about Bamboo. I
> > certainly have never heard of it.
>
> That was the first thing I did. Bamboo is a commercial product, and they
> don't support the Sonar plugin. I'm also asking the group that built the
> Sonar plugin, but replies to that are slow. I also asked on the Sonar
> mailing list. Checking with tomcat-users was only the last step.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
RE: Is error with Bamboo Sonar plugin because of Tomcat 6 instead
of Tomcat 7?
Posted by "KARR, DAVID" <dk...@att.com>.
> -----Original Message-----
> From: David kerber [mailto:dckerber@verizon.net]
> Sent: Wednesday, January 16, 2013 11:42 AM
> To: Tomcat Users List
> Subject: Re: Is error with Bamboo Sonar plugin because of Tomcat 6 instead of
> Tomcat 7?
>
> On 1/16/2013 2:38 PM, KARR, DAVID wrote:
> >> -----Original Message-----
> >> From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com]
> >> Sent: Wednesday, January 16, 2013 10:58 AM
> >> To: Tomcat Users List
> >> Subject: RE: Is error with Bamboo Sonar plugin because of Tomcat 6 instead
> of
> >> Tomcat 7?
> >>
> >>> From: KARR, DAVID [mailto:dk068x@att.com]
> >>> Subject: RE: Is error with Bamboo Sonar plugin because of
> >>> Tomcat 6 instead of Tomcat 7?
> >>
> >>>>> We're running Bamboo 3.4.3 in Tomcat 6.0.20. It mostly apparently
> >> works
> >>>>> fine, but yesterday I tried to get the Bamboo Sonar plugin working,
> >>>>
> >>>> Did you leave out "in Tomcat 7" at the end there?
> >>
> >>> I don't know what you mean. Our Bamboo is running in Tomcat 6. I'm
> >> wondering
> >>> whether the error is due to a change in the Tomcat API between Tomcat 6
> and
> >> 7.
> >>
> >> You're not explaining your problem. First you say you have Bamboo running
> in
> >> Tomcat 6.0.20, then you say it's not running, you're getting an exception.
> >> (Remember that very few - if any - people on this list have any idea what
> >> Bamboo is, let alone how it works with Tomcat.) Since your subject line
> >> refers to Tomcat 7, I assumed (bad idea) that you were having problems
> >> migrating to Tomcat 7. So what's really going on (be precise)?
> >
> > We're running Bamboo with Tomcat 6. We're trying to add the Sonar plugin.
> When we try to configure it, we get this exception when it tries to call that
> specific Tomcat API. The theory that I'm exploring is that the plugin
> requires Bamboo to be running with Tomcat 7, not Tomcat 6. I don't want to
> try moving to Tomcat 7 unless we have some assurance that that will resolve
> the problem.
>
> Why don't you check with the Bamboo people? As Chuck said, there
> probably aren't very many people here who know anything about Bamboo. I
> certainly have never heard of it.
That was the first thing I did. Bamboo is a commercial product, and they don't support the Sonar plugin. I'm also asking the group that built the Sonar plugin, but replies to that are slow. I also asked on the Sonar mailing list. Checking with tomcat-users was only the last step.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Is error with Bamboo Sonar plugin because of Tomcat 6 instead of
Tomcat 7?
Posted by David kerber <dc...@verizon.net>.
On 1/16/2013 2:38 PM, KARR, DAVID wrote:
>> -----Original Message-----
>> From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com]
>> Sent: Wednesday, January 16, 2013 10:58 AM
>> To: Tomcat Users List
>> Subject: RE: Is error with Bamboo Sonar plugin because of Tomcat 6 instead of
>> Tomcat 7?
>>
>>> From: KARR, DAVID [mailto:dk068x@att.com]
>>> Subject: RE: Is error with Bamboo Sonar plugin because of
>>> Tomcat 6 instead of Tomcat 7?
>>
>>>>> We're running Bamboo 3.4.3 in Tomcat 6.0.20. It mostly apparently
>> works
>>>>> fine, but yesterday I tried to get the Bamboo Sonar plugin working,
>>>>
>>>> Did you leave out "in Tomcat 7" at the end there?
>>
>>> I don't know what you mean. Our Bamboo is running in Tomcat 6. I'm
>> wondering
>>> whether the error is due to a change in the Tomcat API between Tomcat 6 and
>> 7.
>>
>> You're not explaining your problem. First you say you have Bamboo running in
>> Tomcat 6.0.20, then you say it's not running, you're getting an exception.
>> (Remember that very few - if any - people on this list have any idea what
>> Bamboo is, let alone how it works with Tomcat.) Since your subject line
>> refers to Tomcat 7, I assumed (bad idea) that you were having problems
>> migrating to Tomcat 7. So what's really going on (be precise)?
>
> We're running Bamboo with Tomcat 6. We're trying to add the Sonar plugin. When we try to configure it, we get this exception when it tries to call that specific Tomcat API. The theory that I'm exploring is that the plugin requires Bamboo to be running with Tomcat 7, not Tomcat 6. I don't want to try moving to Tomcat 7 unless we have some assurance that that will resolve the problem.
Why don't you check with the Bamboo people? As Chuck said, there
probably aren't very many people here who know anything about Bamboo. I
certainly have never heard of it.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Is error with Bamboo Sonar plugin because of Tomcat 6 instead
of Tomcat 7?
Posted by "KARR, DAVID" <dk...@att.com>.
> -----Original Message-----
> From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com]
> Sent: Wednesday, January 16, 2013 10:58 AM
> To: Tomcat Users List
> Subject: RE: Is error with Bamboo Sonar plugin because of Tomcat 6 instead of
> Tomcat 7?
>
> > From: KARR, DAVID [mailto:dk068x@att.com]
> > Subject: RE: Is error with Bamboo Sonar plugin because of
> > Tomcat 6 instead of Tomcat 7?
>
> > > > We're running Bamboo 3.4.3 in Tomcat 6.0.20. It mostly apparently
> works
> > > > fine, but yesterday I tried to get the Bamboo Sonar plugin working,
> > >
> > > Did you leave out "in Tomcat 7" at the end there?
>
> > I don't know what you mean. Our Bamboo is running in Tomcat 6. I'm
> wondering
> > whether the error is due to a change in the Tomcat API between Tomcat 6 and
> 7.
>
> You're not explaining your problem. First you say you have Bamboo running in
> Tomcat 6.0.20, then you say it's not running, you're getting an exception.
> (Remember that very few - if any - people on this list have any idea what
> Bamboo is, let alone how it works with Tomcat.) Since your subject line
> refers to Tomcat 7, I assumed (bad idea) that you were having problems
> migrating to Tomcat 7. So what's really going on (be precise)?
We're running Bamboo with Tomcat 6. We're trying to add the Sonar plugin. When we try to configure it, we get this exception when it tries to call that specific Tomcat API. The theory that I'm exploring is that the plugin requires Bamboo to be running with Tomcat 7, not Tomcat 6. I don't want to try moving to Tomcat 7 unless we have some assurance that that will resolve the problem.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Is error with Bamboo Sonar plugin because of Tomcat 6 instead of
Tomcat 7?
Posted by David kerber <dc...@verizon.net>.
On 1/16/2013 1:57 PM, Caldarale, Charles R wrote:
>> From: KARR, DAVID [mailto:dk068x@att.com]
>> Subject: RE: Is error with Bamboo Sonar plugin because of
>> Tomcat 6 instead of Tomcat 7?
>
>>>> We're running Bamboo 3.4.3 in Tomcat 6.0.20. It mostly apparently works
>>>> fine, but yesterday I tried to get the Bamboo Sonar plugin working,
>>>
>>> Did you leave out "in Tomcat 7" at the end there?
>
>> I don't know what you mean. Our Bamboo is running in Tomcat 6. I'm wondering
>> whether the error is due to a change in the Tomcat API between Tomcat 6 and 7.
>
> You're not explaining your problem. First you say you have Bamboo running in Tomcat 6.0.20, then you say it's not running, you're getting an exception. (Remember that very few - if any - people on this list have any idea what Bamboo is, let alone how it works with Tomcat.) Since your subject line refers to Tomcat 7, I assumed (bad idea) that you were having problems migrating to Tomcat 7. So what's really going on (be precise)?
My WAG here is that his version of Bamboo is for TC 7, and he's trying
to run it in TC 6. But he'll have to confirm...
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Is error with Bamboo Sonar plugin because of Tomcat 6 instead
of Tomcat 7?
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: KARR, DAVID [mailto:dk068x@att.com]
> Subject: RE: Is error with Bamboo Sonar plugin because of
> Tomcat 6 instead of Tomcat 7?
> > > We're running Bamboo 3.4.3 in Tomcat 6.0.20. It mostly apparently works
> > > fine, but yesterday I tried to get the Bamboo Sonar plugin working,
> >
> > Did you leave out "in Tomcat 7" at the end there?
> I don't know what you mean. Our Bamboo is running in Tomcat 6. I'm wondering
> whether the error is due to a change in the Tomcat API between Tomcat 6 and 7.
You're not explaining your problem. First you say you have Bamboo running in Tomcat 6.0.20, then you say it's not running, you're getting an exception. (Remember that very few - if any - people on this list have any idea what Bamboo is, let alone how it works with Tomcat.) Since your subject line refers to Tomcat 7, I assumed (bad idea) that you were having problems migrating to Tomcat 7. So what's really going on (be precise)?
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Is error with Bamboo Sonar plugin because of Tomcat 6 instead
of Tomcat 7?
Posted by "KARR, DAVID" <dk...@att.com>.
> -----Original Message-----
> From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com]
> Sent: Wednesday, January 16, 2013 10:10 AM
> To: Tomcat Users List
> Subject: RE: Is error with Bamboo Sonar plugin because of Tomcat 6 instead of
> Tomcat 7?
>
> > From: KARR, DAVID [mailto:dk068x@att.com]
> > Subject: Is error with Bamboo Sonar plugin because of Tomcat 6 instead of
> Tomcat 7?
>
> > We're running Bamboo 3.4.3 in Tomcat 6.0.20. It mostly apparently works
> > fine, but yesterday I tried to get the Bamboo Sonar plugin working,
>
> Did you leave out "in Tomcat 7" at the end there?
I don't know what you mean. Our Bamboo is running in Tomcat 6. I'm wondering whether the error is due to a change in the Tomcat API between Tomcat 6 and 7. I might ask someone here to try moving to Tomcat 7, but that's potentially a big change, and I want to be sure it will make a difference before I ask for that.
> > I notice that it's trying to access something in the
> "org.apache.tomcat.dbcp.*"
> > package. I'm pursuing this on the Sonar users list, but I'm wondering
> whether
> > this might be an issue with Tomcat 6 vs. Tomcat 7.
>
> I haven't looked at the API differences in that package between Tomcat 6 and
> 7, but changing the APIs for internal packages between major revisions is
> quite common. Likely Bamboo will need a separate plugin for each major
> Tomcat level, since there's no guarantee of upward compatibility for internal
> interfaces.
>
> - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you received
> this in error, please contact the sender and delete the e-mail and its
> attachments from all computers.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Is error with Bamboo Sonar plugin because of Tomcat 6 instead
of Tomcat 7?
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: KARR, DAVID [mailto:dk068x@att.com]
> Subject: Is error with Bamboo Sonar plugin because of Tomcat 6 instead of Tomcat 7?
> We're running Bamboo 3.4.3 in Tomcat 6.0.20. It mostly apparently works
> fine, but yesterday I tried to get the Bamboo Sonar plugin working,
Did you leave out "in Tomcat 7" at the end there?
> I notice that it's trying to access something in the "org.apache.tomcat.dbcp.*"
> package. I'm pursuing this on the Sonar users list, but I'm wondering whether
> this might be an issue with Tomcat 6 vs. Tomcat 7.
I haven't looked at the API differences in that package between Tomcat 6 and 7, but changing the APIs for internal packages between major revisions is quite common. Likely Bamboo will need a separate plugin for each major Tomcat level, since there's no guarantee of upward compatibility for internal interfaces.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org