-
1. Re: One kind of stuff and Trinidad
gavin.king Feb 2, 2007 9:53 AM (in response to denis.diggin)Yep, shared classes need to be in the ear classpath.
-
2. Re: One kind of stuff and Trinidad
pmuir Feb 2, 2007 9:54 AM (in response to denis.diggin)Can you expand on "do not work"? Exception?
When you say managed beans do you mean Seam components? -
3. Re: One kind of stuff and Trinidad
denis.diggin Feb 2, 2007 11:05 AM (in response to denis.diggin)Thanks for the replies. Managed to get it working.
btw. By "do not work" I meant the root of the tree is rendered but the children are not. No exceptions were thrown.
The solution is to put the trinidad api reference in application.xml<module> <java>trinidad-api-incubator-m1-SNAPSHOT.jar</java> </module>
and put trinidad-impl-incubator-m1-SNAPSHOT.jar file in web-inf/lib
Back to one kind of stuff, excellent. -
4. Re: One kind of stuff and Trinidad
kosl Feb 2, 2007 9:18 PM (in response to denis.diggin)Dear all,
I'm having the same "does not work" exception. I tried the solution given above but in my case it does not work. I'm getting such an exception:
03:16:17,840 ERROR [MainDeployer] Could not initialise deployment: file:/Applications/jboss-4.0.5.GA/server/default/deploy/youdo.ear/
org.jboss.deployment.DeploymentException: url file:/Applications/jboss/server/default/deploy/projectName.ear/trinidad-api-incubator-m1-SNAPSHOT.jar could not be opened, does it exist?
at org.jboss.deployment.DeploymentInfo.<init>(DeploymentInfo.java:214)
at org.jboss.deployment.EARDeployer.init(EARDeployer.java:250)
My project is one ear consisting of war and jar parts.
Thanks in advance for any suggestions,
karol -
5. Re: One kind of stuff and Trinidad
christian.bauer Feb 3, 2007 2:15 AM (in response to denis.diggin)The JAR does not go into /ear/war/WEB-INF/lib but into /ear.
-
6. Re: One kind of stuff and Trinidad
kosl Feb 3, 2007 6:34 AM (in response to denis.diggin)Well, of course I tried this and it didn't help, still only the tree root is displayed...
-
7. Re: One kind of stuff and Trinidad
adamkoprowski Feb 3, 2007 9:01 AM (in response to denis.diggin)Thanks a lot guys!
I finally got it working! The strange thing is that I thought I did exactly this and it didn't help but now I saw that I forgot to remove trinidad-api.jar from WEB-INF/lib and this was causing trouble. Still I find it a bit strange that this is a class loader issue and there were absolutely no exceptions... anyway, happy to get it working.
Cheers,
Adam