[EJB 3.0] - interceptor metadata issue
by tterm
Hello,
There is a problem for me with the interceptors (adding some metadata) during an EJB3 method invocation. I thought it is an issue with the serialization framework so had a conversation with Clebert before in this forum: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=89387.
So I will give an abstract. The complete stacktrace and code snippets are given in the serialization forum.
I created an clientside and an serverside interceptor. The clientside interceptor put a string in the SimpleMetaData with the default payload key MARSHALLED and the serverside interceptor should read this data. So if I do this I get allways a ClassCastException (shown in the other forum) with JBoss-4.0.4 and newer but not with JBoss-4.0.3SP1 (That works fine). If I set the payload key to AS_IS then it works fine with the newest version.
I would like to know what I do wrong or understand wrong that I allways get this ClassCastException?
If you need more information, testcases (I added a url where you can find a complete example) ore something please let me know.
Thanks in advance,
Thomas Termin
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974945#3974945
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974945
19 years, 6 months
[JBoss Portal] - Error by building JBoss Portal from source
by mifa
I try to build a portal from source. At compilation I get an error:
| C:\Entwicklung\jboss-portal-2.4.0-src\build>ant
| ...
| BUILD FAILED
| C:\Entwicklung\diplom\jb2.4trunk\build\build.xml:356: The following error occurred while executing this line:
| C:\Entwicklung\diplom\jb2.4trunk\build\build-thirdparty.xml:117: A versioning problem exists:
| Component: javassist is at version: 3.3.0.GA
| but it is also required to be compatible with: [Compatible@15ac3c9{id=null, version=3.2.0.CR1}, Compatible@1ebd75b{id=null, version=3.2.0.CR2}, Compatible@87c268{id=null, version=3.2.0.GA}]
| by: jboss/jbossretro-rt
|
| Total time: 17 seconds
| C:\Entwicklung\diplom\jb2.4trunk\build>
|
What is wrong here?
(I use java version 1.4.2; with version 1.5 is the same; ant version 1.6.5)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974941#3974941
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974941
19 years, 6 months