[JBoss Seam] - Re: Accessing generated PDFs
by norman.richardsï¼ jboss.com
Ok, UIDocument now has a sendRedirect flag. If this is set (either in the template or by the parent component reaching down) we will bypass the the generation and just keep the value locally.
We needed some way to transfer the data. I noticed UIAttachment us using get/setValue. Assuming that it implemented ValueHolder, I thought I might reach up and set the values directly if I could. Unfortunately, I just realized you don't actually implement ValueHolder. I'm not sure this is proper use of ValueHolder anyway, so if you have a better idea, I'm all ears.
Also, note that you'll need to do your processing in encodeEnd() and not in encodeBegin(). The PDF won't available until UIDocument completes it's encodeEnd.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4010328#4010328
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4010328
19Â years, 2Â months
[JBoss Seam] - Directory structure change in JBoss AS affecting seam
by saeediqbal1
Hi,
I would like to point out that the directory structure of JBoss AS referenced in this small tutorial http://www.jboss.com/index.html?module=bb&op=viewtopic&t=94738 is this "server/default/deploy/tomcat/jbossweb-tomcat55.sar/jsf-libs "
in the JBoss AS5.xbeta i downloaded just now, deploy/ folder does not contain any folder called tomcat/ . Thereby we'r facing a few errors while doing a fresh install of JBoss AS with fresh Seam and a sample example application like registration deployed.
The error is :
2007-02-02 16:29:24,866 DEBUG [org.jboss.web.WebPermissionMapping] Qualified url patterns: {/=PatternInfo[pattern=/,type=3,isOverriden=false,qualifiers=[]]}
2007-02-02 16:29:24,866 INFO [org.jboss.web.tomcat.tc6.deployers.TomcatDeployment] deploy, ctxPath=/seam-registration, warUrl=.../tmp/deploy/jboss-seam-registration60195-exp.war/
2007-02-02 16:29:24,882 DEBUG [org.jboss.web.tomcat.tc6.deployers.TomcatDeployment] Using session cookies default setting
2007-02-02 16:29:24,897 DEBUG [org.jboss.web.tomcat.tc6.WebAppLoader] injectionContainer enabled and processing beginning with Tomcat WebAppLoader
2007-02-02 16:29:24,960 ERROR [org.apache.tomcat.util.modeler.BaseModelMBean] Exception invoking method addChild
java.lang.RuntimeException: could not find listener class in classpath
at org.jboss.web.tomcat.tc6.TomcatInjectionContainer.processMetadata(TomcatInjectionContainer.java:339)
.
.
.
.
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.ClassNotFoundException: org.apache.myfaces.webapp.StartupServletContextListener
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1355)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
at org.jboss.web.tomcat.tc6.TomcatInjectionContainer.processMetadata(TomcatInjectionContainer.java:333)
I would appreciate any guidance in this matter so that I can learn the exciting stuff Seam has to offer and contribute to it if i can :)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4010318#4010318
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4010318
19Â years, 2Â months
[Tomcat, HTTPD, Servlets & JSP] - Re: Trying to deploy web app directory
by emrandle
Thanks Peter. I was able to a directory structure like this:
c:\webapps\ccr2\ccr.war
Dropped my app files into the ccr.war directory
set the line in jboss-service.xml to:
deploy/,file:/webapps/ccr2
started JBoss, and all is fine.
The reason I want to do this in the first place is, that i'm trying an alternative of debugging my code other than having to deploy and do remote debugging. I use JDeveloper as my IDE. I'd like to run the JBoss main class from within my IDE so I can debug local. I layout my directory structure for my webapps just as the web spec calls for it, and point my IDE project to that structure. When I used JRun4, this worked great cause in JRun4 config file i just point to the root directory of my app, and it considered that the expanded web application. Then set the JRun main class as my project run target, include the jrun libs and off you go. I want that with JBoss, but it looks like here I have to have another level of directory structure. Means I have to reconfigure all my apps to have this structure. O no!
Has this been attempted before with JBoss? I can't believe I'm the only one who doesn't want to go thru having to deploy the app and then remote debugging. Seems to much. I've been spoiled.
Any help appreciated!
Thanks
mike
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4010316#4010316
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4010316
19Â years, 2Â months