You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by #Cyrille37# <cy...@gmail.com> on 2007/04/15 13:56:22 UTC

Error with Tapestry 4.1.1 and backport-util-concurrent

Hello,
I'm trying Tapestry 4.1.1 and at application startup there is an error 
with the lib backport-util-concurrent.
I'm using NetBeans 5.5 and Sun Java System Application Server Platform 
Edition 9.0_01.
...

org.apache.hivemind.ApplicationRuntimeException:
Failure invoking constructor for class org.apache.tapestry.services.impl.ComponentConstructorFactoryImpl:
class edu.emory.mathcs.backport.java.util.concurrent.helpers.AbstractOwnableQueuedSynchronizer
overrides final method setExclusiveOwnerThread.(Ljava/lang/Thread;)V

java.lang.VerifyError:
class edu.emory.mathcs.backport.java.util.concurrent.helpers.AbstractOwnableQueuedSynchronizer
overrides final method setExclusiveOwnerThread.(Ljava/lang/Thread;)V

Do you have an idea on it ?

Cyrille

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Error with Tapestry 4.1.1 and backport-util-concurrent

Posted by Jon McCarty <jo...@hotmail.com>.
There's definitely something "interesting" going on somewhere.  We're using
the Sun JDK 1.6 I downloaded several weeks ago.  I honestly didn't spend a
lot of time isolating the issue, as since we're on JDK 1.6, I could just
eliminate the backport library entirely.

I can say I was getting the exact error that the original poster listed.  I
wish I had more to contribute.

Jon


Jessek wrote:
> 
> That's weird, I use jdk6 on linux to develop Tapestry and haven't had any
> issues.
> 
> Is this some kind of blackdown jre or ?
> 

-- 
View this message in context: http://www.nabble.com/Error-with-Tapestry-4.1.1-and-backport-util-concurrent-tf3579267.html#a10110099
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Error with Tapestry 4.1.1 and backport-util-concurrent

Posted by Jesse Kuhnert <jk...@gmail.com>.
That's weird, I use jdk6 on linux to develop Tapestry and haven't had any
issues.

Is this some kind of blackdown jre or ?

On 4/20/07, Jon McCarty <jo...@hotmail.com> wrote:
>
>
> I had this problem when running against JDK 1.6 on the Linux platform
> (though
> it worked on windows JDK 1.6 I think).  It may be that the
> backport-concurrent library is not compatible with Linux JDK 1.6.
>
> In order to fix this, I went ahead and took out backport-concurrent on our
> local Tapestry 4.1.1 build.  This was as easy as deleting the string
> 'edu.emory.mathcs.backport.' across the entire code base (and removing the
> dependency from the pom.xml files).  Of course, now our local Tapestry
> build
> *requires* Java 6.
>
> Good luck!
> jonmcsj
>
>
> cyrille37 wrote:
> >
> > I'm trying Tapestry 4.1.1 and at application startup there is an error
> > with the lib backport-util-concurrent.
> >
> > org.apache.hivemind.ApplicationRuntimeException:
> > Failure invoking constructor for class
> > org.apache.tapestry.services.impl.ComponentConstructorFactoryImpl:
> > class
> >
> edu.emory.mathcs.backport.java.util.concurrent.helpers.AbstractOwnableQueuedSynchronizer
> > overrides final method setExclusiveOwnerThread.(Ljava/lang/Thread;)V
> >
> > java.lang.VerifyError:
> > class
> >
> edu.emory.mathcs.backport.java.util.concurrent.helpers.AbstractOwnableQueuedSynchronizer
> > overrides final method setExclusiveOwnerThread.(Ljava/lang/Thread;)V
> >
>
> --
> View this message in context:
> http://www.nabble.com/Error-with-Tapestry-4.1.1-and-backport-util-concurrent-tf3579267.html#a10107775
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>


-- 
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com

Re: Tapestry 5 and URL encoding

Posted by Howard Lewis Ship <hl...@gmail.com>.
Please double check that ... the source hasn't changed in a couple of
months.

On 5/25/07, Marcus <mveloso.java@gmail.com > wrote:
>
> Hi,
>
> Using this code
>
> @Inject
> private RequestGlobals _globals;
>
> there's no _globals.getHTTPServletRequest() method in T5.0.4
>
> Can you help me?
>
> Thanks,
>
> Marcus
>



-- 
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.   http://howardlewisship.com

Re: Tapestry 5 and URL encoding

Posted by Marcus <mv...@gmail.com>.
Hi,

Using this code

@Inject
private RequestGlobals _globals;

there's no _globals.getHTTPServletRequest() method in T5.0.4

Can you help me?

Thanks,

Marcus

Re: Tapestry 5 and URL encoding

Posted by Hans Braxmeier <ha...@uni-ulm.de>.
Hi Nick,

Thanks, that was exactly what I was looking for.

Hans

On Mon, 23 Apr 2007, Nick Westgate wrote:

>      @Inject
>      private RequestGlobals _globals;
>
> Then you can use _globals.getHTTPServletRequest().getRequestURL()
> and other methods from javax.servlet.http.HttpServletRequest.
>
> Cheers,
> Nick.
>
>
> Hans Braxmeier wrote:
> > Hello together,
> >
> > Today I installed T5 and it's a great
> > tool. Is there something like an URL
> > encoder implemented in Tapestry 5 and
> > how can the current URL be shown on a
> > page?
> >
> > Thanks for any help,
> >
> > Hans Braxmeier
> >
> > --
> >
> > Abteilungen SAI
> > und Stochastik
> >
> > Universität Ulm
> > Helmholtzstr. 18
> > Raum E22
> > 0731/50-23575
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: users-help@tapestry.apache.org
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>


--

Abteilungen SAI
und Stochastik

Universität Ulm
Helmholtzstr. 18
Raum E22
0731/50-23575

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Tapestry 5 and URL encoding

Posted by Nick Westgate <ni...@key-planning.co.jp>.
     @Inject
     private RequestGlobals _globals;

Then you can use _globals.getHTTPServletRequest().getRequestURL()
and other methods from javax.servlet.http.HttpServletRequest.

Cheers,
Nick.


Hans Braxmeier wrote:
> Hello together,
> 
> Today I installed T5 and it's a great
> tool. Is there something like an URL
> encoder implemented in Tapestry 5 and
> how can the current URL be shown on a
> page?
> 
> Thanks for any help,
> 
> Hans Braxmeier
> 
> --
> 
> Abteilungen SAI
> und Stochastik
> 
> Universität Ulm
> Helmholtzstr. 18
> Raum E22
> 0731/50-23575
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Tapestry 5 and URL encoding

Posted by Hans Braxmeier <ha...@uni-ulm.de>.
Hello together,

Today I installed T5 and it's a great
tool. Is there something like an URL
encoder implemented in Tapestry 5 and
how can the current URL be shown on a
page?

Thanks for any help,

Hans Braxmeier

--

Abteilungen SAI
und Stochastik

Universität Ulm
Helmholtzstr. 18
Raum E22
0731/50-23575

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Error with Tapestry 4.1.1 and backport-util-concurrent

Posted by Jon McCarty <jo...@hotmail.com>.
I had this problem when running against JDK 1.6 on the Linux platform (though
it worked on windows JDK 1.6 I think).  It may be that the
backport-concurrent library is not compatible with Linux JDK 1.6.

In order to fix this, I went ahead and took out backport-concurrent on our
local Tapestry 4.1.1 build.  This was as easy as deleting the string
'edu.emory.mathcs.backport.' across the entire code base (and removing the
dependency from the pom.xml files).  Of course, now our local Tapestry build
*requires* Java 6.

Good luck!
jonmcsj


cyrille37 wrote:
> 
> I'm trying Tapestry 4.1.1 and at application startup there is an error 
> with the lib backport-util-concurrent.
> 
> org.apache.hivemind.ApplicationRuntimeException:
> Failure invoking constructor for class
> org.apache.tapestry.services.impl.ComponentConstructorFactoryImpl:
> class
> edu.emory.mathcs.backport.java.util.concurrent.helpers.AbstractOwnableQueuedSynchronizer
> overrides final method setExclusiveOwnerThread.(Ljava/lang/Thread;)V
> 
> java.lang.VerifyError:
> class
> edu.emory.mathcs.backport.java.util.concurrent.helpers.AbstractOwnableQueuedSynchronizer
> overrides final method setExclusiveOwnerThread.(Ljava/lang/Thread;)V
> 

-- 
View this message in context: http://www.nabble.com/Error-with-Tapestry-4.1.1-and-backport-util-concurrent-tf3579267.html#a10107775
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org