I know this is rather a problem with xwork on 1.4.2, but on the
nightly builds page there
is statement to report problems of S2 retroweaved to 1.4.

I downloaded the latest nightly JAR files (api, core, spring,
xwork.2.0), retroweaved them using retrotranslator 1.1.0 and deployed
it all (+ retrotranslator-runtime-1.1.0.jar, +
backport-util-concurrent.jar)
in a single war file.
Target deployment on Websphere Portal 6.0 backed by Websphere 6.0
(uses 1.4.2 from IBM). It was a portlet app.

The result is a stacktrace:

Caused by: java.lang.NoSuchMethodError: java.lang.ThreadLocal: method
remove()V not found
        at 
com.opensymphony.xwork2.inject.util.ReferenceCache.internalCreate(ReferenceCache.java:87)
        at 
com.opensymphony.xwork2.inject.util.ReferenceCache.get(ReferenceCache.java:121)
        at 
com.opensymphony.xwork2.inject.ContainerImpl.getConstructor(ContainerImpl.java:559)
        at 
com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:457)
        at 
com.opensymphony.xwork2.inject.ContainerImpl$7.call(ContainerImpl.java:498)
        at 
com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:546)
        at 
com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:496)
        at 
com.opensymphony.xwork2.config.impl.LocatableFactory.create(LocatableFactory.java:32)
        at 
com.opensymphony.xwork2.inject.ContainerBuilder$4.create(ContainerBuilder.java:134)
        at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:49)
        at 
com.opensymphony.xwork2.inject.ContainerImpl$ParameterInjector.inject(ContainerImpl.java:428)
        at 
com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:443)
        at 
com.opensymphony.xwork2.inject.ContainerImpl.access$000(ContainerImpl.java:47)
        at 
com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:287)
        at 
com.opensymphony.xwork2.inject.ContainerImpl$2.call(ContainerImpl.java:116)
        at 
com.opensymphony.xwork2.inject.ContainerImpl$2.call(ContainerImpl.java:114)
        at 
com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:539)
        at 
com.opensymphony.xwork2.inject.ContainerImpl.injectStatics(ContainerImpl.java:113)
        at 
com.opensymphony.xwork2.inject.ContainerBuilder.create(ContainerBuilder.java:494)
        at 
com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:144)
        at 
com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:52)
        at 
org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:394)
        at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:450)
        at 
org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher.init(Jsr168Dispatcher.java:190)


I had some ClassNotFound errors before due to lack of retroweaver JAR files.
Now I have other type of error.

Does it means struts2 apps will not support 1.4.2?
I know even this kind of support was unnoficial - but does it close any hope?

regards
Dariusz Wojtas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to