[jboss-user] [JBoss Seam] - Re: Seam 2.0.1GA : EJB Blockers with Weblogic 9.x/10.x
Hi Lauerc, Thanks for the detail analysis and fix, for making seams to run in weblogic :-) As explained by you, I have tried to update your fix on to the latest seam version and tried to re-build the seam package, after lot of struggle due to maven artifact download/path/proxy setting(some URL are blocked by our company) I was able to re-build the seam jarâs with all the fix you had provided. After this build, I had built the booking example and deployed to my Weblogic 10.0 and found that there were still EJB compiler errors, which stopped me to deploy my booking example in the server, for more detail kindly request you refer the below logs. To do some more testing, I had removed the TimerServiceDispatcher java class and re-build my seam and the booking example. After these changes I was able to deploy my booking examples but encountered runtime exception. Finally, I would kindly request if you could help me in overcoming this issue. Logs from my Server: D:\bea10\user_projects\domains\W4WPDomain\servers\AdminServer\cache\EJBCompilerCache\-1aw4ncv1tb5k\org\jboss\seam\async\Timer ServiceDispatcher_qzt5w2_LocalTimerServiceDispatcherImpl.java:149: cannot find symbol symbol : method scheduleInvocation(org.jboss.seam.intercept.InvocationContext,org.jboss.seam.Component) location: interface org.jboss.seam.async.TimerServiceDispatcher_qzt5w2_Intf result = __bean.scheduleInvocation( ^ Note: D:\bea10\user_projects\domains\W4WPDomain\servers\AdminServer\cache\EJBCompilerCache\-1aw4ncv1tb5k\org\jboss\seam\trans action\EjbSynchronizations_4yfxmo_Impl.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error > http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4129075#4129075 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4129075 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 2.0.1GA : EJB Blockers with Weblogic 9.x/10.x
Hi again, I've managed to primarily fix the varags problem together with BEA support. Although the seam timer service still doesn't work because of different problem. I've opened a new support case hoping to get this finally fixed. I'll keep you up to date. Best regards, Christian View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128431#4128431 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128431 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 2.0.1GA : EJB Blockers with Weblogic 9.x/10.x
Hi Christian, I'm glad to hear that they are moving forward with the ticket and that BEA is doing something about it. I am talking with the dev team about your changes. Including the interceptor change. We'll see how it fits it, and how it needs to be implemented. Thanks again, Jay View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127825#4127825 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4127825 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 2.0.1GA : EJB Blockers with Weblogic 9.x/10.x
Hi Christian, could you let me know the case number with BEA ? Since I opened a case myself I could refer to your number when talking to BEA. You can send me the case number to : [EMAIL PROTECTED] Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127675#4127675 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4127675 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 2.0.1GA : EJB Blockers with Weblogic 9.x/10.x
Hi Guys, in parallel I'm running a support case at BEA. Surprisingly they seem to be on the move to fix the EJB3 compiler bug. I've received a first patch, which didn't fully fix it but it seems they are on a good way. I'll keep you informed about the progress. Regarding the interceptor change, someone with deeper knowledge of Seam internals should take a look at this issue. My solution is only a workaround. It shows that there's a possible problem with compatibility of JBoss AS or WebLogic Server regarding the EJB3 spec, so please check this issue carefully. Best regards, Christian View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127624#4127624 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4127624 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 2.0.1GA : EJB Blockers with Weblogic 9.x/10.x
Hi, does that mean the changes (finally :-) find their way into the next release of Seam ? That is at least what I'd expect and as far as I understood from Gavin, support for other appservers than JBoss has become a top priority for the Seam project (see respect. Seam 2.0.0 announcment thread in TheServerSide). @Christian : again, thanks for that excellent piece of work. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127534#4127534 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4127534 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 2.0.1GA : EJB Blockers with Weblogic 9.x/10.x
I wanted to let you know that I tested out your changes and they are working great. Good investigation. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127419#4127419 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4127419 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 2.0.1GA : EJB Blockers with Weblogic 9.x/10.x
Hi guys, finally I've found a way to release the patch ;-) It's attached to this JIRA issue: http://jira.jboss.com/jira/browse/JBSEAM-2592 Kind regards, Christian View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127258#4127258 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4127258 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 2.0.1GA : EJB Blockers with Weblogic 9.x/10.x
Excellent - brilliant - what more can I say ? Apparently someone finally spent some fforts in resolving this issue entirely and got Seam work fine in Weblogic. Now, that not only the vararg issue is resolved but also any subsequent issue and the Seam examples running fine (incl. the TimerServiceDispatcher EJB) I'd strongly suggest to include these changes into the next release. Just excluding the TimerService from the seam deployment should not be an option anymore, now that there is a solution available. You made my day :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127250#4127250 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4127250 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 2.0.1GA : EJB Blockers with Weblogic 9.x/10.x
Great Job!! - it's funny, I've been working on this exact issue today. Only instead of changing the ejb timer I removed the offending EJB from the jar. Same effect because we are not using that EJB in the example. Since I was working on the 10.0.3 tech preview when I got past the EJB issue I ran into the issue where EJB's only work with kodo/openJPA. The last thing I was working on was the JSF issue that you describe. I'll try your solution tomorrow. The best way to post files or patches is through jira - here is the link for this issue: http://jira.jboss.com/jira/browse/JBSEAM-2482 I'm curious about the interceptor and deployment file changes that you made as well. After I get the example running I'll update the reference guide with this info. Thanks again, Jay View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127235#4127235 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4127235 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 2.0.1GA : EJB Blockers with Weblogic 9.x/10.x
Unfortunately there doesn't seem to exist a possibility to upload attachments into a thread, any ideas how to make my patches available? Regards, Christian View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127231#4127231 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4127231 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 2.0.1GA : EJB Blockers with Weblogic 9.x/10.x
Hi folks, I'm currently working on the same issues because I'm forced to use BEA WebLogic Server, but like to continue to use JBoss Seam. I've tried to patch the current Seam version (2.0.1.GA) to get one step beyond the known EJB3 compiler problem. This was quite easy because only one single EJB interface is affected: org.jboss.seam.async.Dispatcher I've replaced the varargs definitions (Object...) by Object[], which is what the compiler creates anyway from it. For reasons of convenience, I've also created an method which completely reduces the method to the non variable parts. Here's an example: public T scheduleTimedEvent(String type, S schedule, Object... parameters); was turned into: public T scheduleTimedEvent(String type, S schedule); | public T scheduleTimedEvent(String type, S schedule, Object[] parameters); Maybe this is not as elegant as the varags solution, but it's a pragmatic way to suit our needs as I don't think BEA will fix the related problem in short. The next problem I stumbled into was a classloading problem related to another problem in BEA WebLogic 10.0 MP1. The server only works properly with it's own jsf implementation which is not deployed by default. It is packed into a war archive located at wlserver_10.0/common/deployable-libraries/jsf-1.2.war I tried to deploy this archive which failed, so I unpacked it and placed the included jars into the 'lib' folder below my weblogic domain root. After that I found out, that one jboss jar, which is needed to run the application under other application servers was missing in the seam distribution. I placed this file (concurrent.jar) into the folder lib below by test application subproject (examples/jee5/lib). After some more deployment descriptor related changes, which I will not describe in detail, the application seems to work at first. Unfortunately I detected runtime failures when playing around with the booking application. From time to time the application failed with an InvocationTargetException. After hours of code analyzing and debugging, I found out that the problem has to be a side effect of different EJB lifecycle implementation in WebLogic Server compared to JBoss AS (I don't know which behaviour is wrong or right, and I won't judge it here). Actually the method postConstruct(...) of class org.jboss.seam.intercept.SessionBeanInterceptor seems to rule the initialization of this interceptor. This method seems to be called before any call of aroundInvoke at JBoss AS. On WebLogic Server this is different. As a result of this sometimes the injection field or method invoking for a specific object is executed using the reflection fields and methods of different component classes. To fix this problem, I've copied the initialization calls from method post construct into the method aroundInvoke to make sure that it is called prior to the actual invocation. After this change the booking demo seems to work perfectly. I've packed all source changes and the missing jar file into one zip archive and will post it into this thread. To use this, simply extract it below the exploded distro archive and rebuild first seam and then the jee5/booking demo. Best regards, Christian View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127228#4127228 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4127228 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 2.0.1GA : EJB Blockers with Weblogic 9.x/10.x
Thank you very much for adding your voice to this. I find this unacceptable that BEA does not fix this. It has been there for over a year. "joerg.schneider" wrote : Hi, | | since my company owns a support contract with BEA, I did open an official "CASE" with BEA - let's see what happens. | | I will keep you informed. | | Thanks. | I will be looking at implementing an alternative jboss-seam jar that does not have the EJB timer in it. For now this is the least intrusive approach. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126617#4126617 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4126617 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 2.0.1GA : EJB Blockers with Weblogic 9.x/10.x
Hi, I don't think that there will be a problem running JBoss with jrockit, since the part that decompiles the EJB's and creates the source code seem to be weblogic/appserver specific and has nothing to do with the plain underlying JVM. Apparently, JBoss is working fine in this respect - anyhow, a simple test case could be to deploy the seam samples as they are in JBoss using a jrockit JVM. Since Seam contains the TimerServiceDispatcher EJB using varargs that should trigger the problem - or not :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126581#4126581 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4126581 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 2.0.1GA : EJB Blockers with Weblogic 9.x/10.x
Does this have any relevance when using JBoss 4.2.2 with jrockit? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126575#4126575 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4126575 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 2.0.1GA : EJB Blockers with Weblogic 9.x/10.x
Hi, since my company owns a support contract with BEA, I did open an official "CASE" with BEA - let's see what happens. I will keep you informed. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126534#4126534 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4126534 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 2.0.1GA : EJB Blockers with Weblogic 9.x/10.x
http://jira.jboss.com/jira/browse/JBSEAM-2482 As a workaround, try reconstituting the jboss-seam.jar without the org.jboss.seam.async.TimerServiceDispatcher class View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126526#4126526 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4126526 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 2.0.1GA : EJB Blockers with Weblogic 9.x/10.x
Hi, I added some more comments to the existing BEA forum, so anyone being interested can read : http://forums.bea.com/thread.jspa?messageID=36290 I very much appreciate Pete's comment and would naturally be happy either way it is done - using arrays/ArrayLists or having a separate jboss-seam.jar for weblogic is perfectly fine with me :-) Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126515#4126515 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4126515 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 2.0.1GA : EJB Blockers with Weblogic 9.x/10.x
This is worth considering, or alternatively providing a version of the jboss-seam.jar that is compatible with jrockit. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126506#4126506 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4126506 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user