Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
JSP - A mailing list about Java Server Pages specification and reference
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
- Re: JBoss Portal 2.6 jsf libraries confuses my oth

- Re: JBoss Portal 2.6 jsf libraries confuses my oth

2007-07-16       - By hartsock

 Back
Reply:     1     2     3     4     5     6     7     8  

Yes, I kind of figured this was a JSF bug and that it had something to do with
the class loaders and that whole Deployment Isolation thing I've been reading
about. Basically I figured that some class in the portal SAR was getting in the
way of "normal" JSF.

It would be nice if there was a page that new to JBoss Portal people could go
to learn how to build the portal.

Per your recommendation, I've checked out a version of the Portal from here:

 | http://anonsvn.jboss.org/repos/portal/trunk
 |

Now then, went over to the directory that I checked out the trunk from...

... huh, no install instructions... let's check out the build directory.

Ah, there's a local.properties file under trunk/build that has a bunch of build
variables that I can edit. I'll run the build like this (from the trunk
directory):

 |  $ export JBOSS_HOME=/usr/local/jboss
 |  $ ./build/build.sh
 |

So, where did those compiled bits end up? ARG! I have no idea...


 | shawn@(protected):~/portal/trunk> find . -name "*portal*.sar"
 | ./cms/output/lib/portal-cms.sar
 | ./core/output/lib/jboss-portal.sar
 | ./core/output/resources/jboss-portal.sar
 | ./test/output/lib/portal-test.sar
 | ./wsrp/output/lib/portal-wsrp.sar
 | ./core-samples/output/lib/portal-basic-samples.sar
 | ./core-samples/output/resources/portal-basic-samples.sar
 | ./core-management/output/lib/portal-management.sar
 | ./core-management/output/resources/portal-management.sar
 | ./core-cms/output/lib/portal-cms.sar
 | ./core-cms/output/resources/portal-cms/portal-workflow.sar
 | ./core-cms/output/resources/portal-cms.sar
 | ./core-cms/output/resources/portal-cms.sar/portal-workflow.sar
 | ./server/output/lib/portal-server.sar
 | ./core-admin/output/lib/portal-admin.sar
 | ./core-admin/output/resources/portal-admin.sar
 |

Okay, spiffy, one of these must be the SAR I need to replace my "broken" jboss
-portal.sar ... but that jboss-portal.sar is mighty dinky at 4.8M when the one I
have deployed consumes 21M ... what's going on here? Let's explode the SAR and
see what's in it.

I'll quickly make a back up copy of my /usr/local/jboss/server/default and then
try and swap out the JSF libs in jboss-portal.sar with the ones from the new
SAR we just made... and fire everything up and see what fireworks we can see...

...hmm... obviously I need to swap out things dealing with JSF... specifically
that troublesome JSFMetaBridgeFacesContextFactoryImpl class... where did that
bad boy end up? Ah, somewhere inside portal/trunk/faces/output/lib/... portal
-faces-lib.jar,  portal-faces-loader-lib.jar, or  portal-faces.war

Somewhere down in one of those is the class I need to swap out. Woah, portal
-faces-loader-lib.jar is nowhere in my $JBOSS_HOME/server/default directories...


Anybody want to clue me in on how to deploy this bad boy or do I continue to
fumble around like this?




View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic
&p=4064556#4064556

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode
=reply&p=4064556
__ ____ ____ ____ ____ ____ ____ ____ ____ ____
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user

©2008 junlu.com - Jax Systems, LLC, U.S.A.