[JBossCache] - Re: PojoCache can't find classloader
by chip_schoch
Thanks alot for all your help. I was able to get it to work by using aopc first. I came across the enable loadtime weaving stuff in the docs and made one attempt to turn it on, but I got some class not found exception so I just backed off that. I must say it was difficult sifting through all the documentation to finally get it. Maybe I am just getting too old. Anyway, thanks again.
For anyone else that comes across this thread, the main lesson here is:
If you are running in JBossAS, loadtime instrumenting is off by default so you will have to run aopc, even if your code is jdk 5.0 annotated. If your cache object is serializable then you may not recognize right off that it is not getting field level replication, therefore, remove the serializable interface so if it is not aspectized you will get an exception.
I hope this is a correct summation.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027000#4027000
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027000
19Â years, 1Â month
[JBoss Seam] - Conversation and Tree+Tab Layout with @End
by app4youï¼ yahoo.com
Hello,
I have been using Seam successfully for small-mid sized project. However, now the project requires the tree (using Apache Tree2 now) and tab interfaces (the tree is available on the left of the application all the time, so are the tabs from the top).
So the QUESTION is: how will one implement using stateless or stateful or just simply Seam + POJO so that the @End of the component will be called, somehow, to cut down the run-away conversation and to end it. Otherwise, one has to implement @Begin(join=true) so no errors occur but doing this is not healty for an app server.
Remember that the tree and the tab are exposed on the application interface all the time so users may tempt to click on them while in long running conversation form? Is it a limit of Seam??? Please share your thought otherwise this seems to be a limition of Seam. A nice example is greatly helpful.
Thank you
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026991#4026991
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026991
19Â years, 1Â month
[JBoss Seam] - Errors bootstrapping jboss-beans.xml on Tomcat
by mlh496
I bought the book "JBoss Seam: Simplicity and Power beyond Java EE 5.0". I've been following the instructions to deploy an app on Tomcat, and I still cannot get it to work.
Here is the latest in my list of problems:
Per the instructions in the book, I added an additional datasource via a jboss-beans.xml file. However, as Seam initializes, I get this error message:
14:30:22,109 ERROR [[/grand]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener
| java.lang.IllegalStateException: Incompletely deployed:
|
| *** DEPLOYMENTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
| omegaDatasource -> omegaDatasourceBootstrap{Instantiated:Instantiated}
| omegaDatasourceBootstrap -> CachedConnectionManager{Configured:** NOT FOUND **}, TransactionManager{Configured:** NOT FOUND **}, InitialContextProperties{Configured:** NOT FOUND **}
However, if I cut-and-paste the datasource and datasource-bootstrap beans into the embedded-jboss-beans.xml, then it works. However, the book explicitly said that you did not have to edit the embedded-jboss-beans.xml file to add an additional datasource.
BTW, if I add a CachedConnectionManager bean, etc. to the jboss-beans.xml file, then I get an error saying it has already been loaded; the app then shuts down.
Is there a conflict between jboss-beans.xml and embedded-jboss-beans.xml? The Seam examples use a jboss-beans.xml file just like mine, and it works there... Hmm.....
-Michael
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026989#4026989
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026989
19Â years, 1Â month