James-

I am creating a sorta kickstart project, using technologies like

Apache MyFaces
Facelets
Apache Trinidad (formal Oracle ADF Faces)
Shale (View and application.manager (test will follow soon))
JPA
Toplink Essentials

as the container I am using jetty.

check here:
http://code.google.com/p/facesgoodies/

-M

On 1/15/07, Craig McClanahan <[EMAIL PROTECTED]> wrote:
On 1/15/07, Reynolds, James <[EMAIL PROTECTED]> wrote:
>
> Steps 0 & 1 are complete :)
>
> I'm much closer as I can see Tomcat behaving as I'd expect, though I did
> end up with a couple errors in the log:
>
> 1. java.lang.NoClassDefFoundError: javax/el/ExpressionFactory


This is supposed to be pulled in by the dependencies for MyFaces
(commons-el?)  if you're using JSF 1.1.  It'll be part of the server if
you're using JSF 1.2 (the RI, since MyFaces doesn't support this yet).

2. org.apache.commons.chain.web.ChainListener


Make sure commons chain is not *also* in your Tomcat shared or common dirs.

Commons-chain is definitely in my project, but I can't locate
> javax/el/ExpressionFactory in my jsf libs.  Should this be in my server
> or J2EE libs?  I'm attempting to use Tomcat 5.5.20


Does the prebuilt war in the 1.0.4 test builds work out of the box?  If so,
it'd be interesting to do a detailed comparison of JARs in yours versus that
one.  If not, we've got something else weird, because the out-of-the-box one
runs for me.

Craig

On 1/15/07, Reynolds, James <[EMAIL PROTECTED]> wrote:
> >
> > I've been on a hiatus from Shale since changing jobs last year;
> however,
> > my new company is considering it based on my gushing recommendation.
> >
> > Embarrassingly enough, I can't fire up the shale-blank application.
> > When I run the app, I see the output below in the console then -
> > nothing.  No errors in tomcat or anything (that I can see).  This
> output
> > has changed since I last ran Shale.  Do you see anything that might
> > explain the silent failure?
>
>
> I've never tried it with the Shale libraries or facelets installed in
> Tomcat's common/lib directory ... FIrst thing I would try is a
> completely
> vanilla Tomcat install, with the Shale jars deployed inside the webapp
> (as
> they should default when shale-blank builds).
>
> Actually, the zeroth thing I would try is the 1.0.4 release instead of
> 1.0.3:-).  Rahul is in the process of getting it out there; his test
> build is
> available at <http://people.apache.org/~rahul/shale/v104/>.
>
> Craig
>
> Thanks!
> >
> >
> > "cmd /c C:\apache-tomcat-5.5.20\bin\catalina.bat run
> > Using CATALINA_BASE:   C:\Documents and
> > Settings\jReynolds\.IntelliJIdea60\system\tomcat_Unnamed_5094815
> > Using CATALINA_HOME:   C:\apache-tomcat-5.5.20
> > Using CATALINA_TMPDIR: C:\apache-tomcat-5.5.20\temp
> > Using JRE_HOME:        C:\Java\jdk1.5.0_09
> > log4j:WARN No appenders could be found for logger
> > (org.apache.catalina.startup.Embedded).
> > log4j:WARN Please initialize the log4j system properly.
> > ContextListener:
> attributeAdded('org$apache$shale$view$VIEW_CALLBACKS',
> > '[EMAIL PROTECTED]')
> > ContextListener:
> > attributeAdded('org.apache.shale.tiger.FACES_CONFIG_CONFIG',
> > '[EMAIL PROTECTED]')
> > ContextListener:
> > attributeAdded('org.apache.myfaces.config.RuntimeConfig',
> > '[EMAIL PROTECTED]')
> > ContextListener:
> > attributeAdded('org.apache.myfaces.webapp.webxml.WebXml',
> > '[EMAIL PROTECTED]')
> > ContextListener:
> >
> attributeAdded('org.apache.myfaces.webapp.StartupServletContextListener.
> > FACES_INIT_DONE', 'true')
> > ContextListener:
> attributeAdded('org$apache$shale$view$VIEW_CALLBACKS',
> > '[EMAIL PROTECTED]')
> > ContextListener:
> > attributeAdded('org.apache.shale.tiger.FACES_CONFIG_CONFIG',
> > '[EMAIL PROTECTED]')
> > ContextListener:
> > attributeAdded('org.apache.myfaces.config.RuntimeConfig',
> > '[EMAIL PROTECTED]')
> > ContextListener:
> > attributeAdded('org.apache.myfaces.webapp.webxml.WebXml',
> > '[EMAIL PROTECTED]')
> > ContextListener:
> >
> attributeAdded('org.apache.myfaces.webapp.StartupServletContextListener.
> > FACES_INIT_DONE', 'true')
> > ContextListener:
> > attributeRemoved('org.apache.shale.tiger.FACES_CONFIG_CONFIG',
> > '[EMAIL PROTECTED]')
> > ContextListener: attributeRemoved('org.apache.catalina.jsp_classpath',
> >
> '/C:/apache-tomcat-5.5.20/webapps/servlets-examples/WEB-INF/classes/;/C:
> >
> /apache-tomcat-5.5.20/common/classes/;/C:/apache-tomcat-5.5.20/common/i1
> >
> 8n/tomcat-i18n-en.jar;/C:/apache-tomcat-5.5.20/common/i18n/tomcat-i18n-e
> >
> s.jar;/C:/apache-tomcat-5.5.20/common/i18n/tomcat-i18n-fr.jar;/C:/apache
> >
> -tomcat-5.5.20/common/i18n/tomcat-i18n-ja.jar;/C:/apache-tomcat-5.5.20/c
> >
> ommon/lib/commons-beanutils-1.7.0.jar;/C:/apache-tomcat-5.5.20/common/li
> >
> b/commons-chain-1.1.jar;/C:/apache-tomcat-5.5.20/common/lib/commons-code
> >
> c-1.3.jar;/C:/apache-tomcat-5.5.20/common/lib/commons-collections-3.1.ja
> >
> r;/C:/apache-tomcat-5.5.20/common/lib/commons-digester-1.7.jar;/C:/apach
> >
> e-tomcat-5.5.20/common/lib/commons-el-1.0.jar;/C:/apache-tomcat-5.5.20/c
> >
> ommon/lib/commons-el.jar;/C:/apache-tomcat-5.5.20/common/lib/commons-fil
> >
> eupload-1.0.jar;/C:/apache-tomcat-5.5.20/common/lib/commons-lang-2.1.jar
> >
> ;/C:/apache-tomcat-5.5.20/common/lib/commons-logging-1.1.jar;/C:/apache-
> >
> tomcat-5.5.20/common/lib/commons-validator-1.1.4.jar;/C:/apache-tomcat-5
> >
> .5.20/common/lib/jasper-compiler-jdt.jar;/C:/apache-tomcat-5.5.20/common
> >
> /lib/jasper-compiler.jar;/C:/apache-tomcat-5.5.20/common/lib/jasper-runt
> >
> ime.jar;/C:/apache-tomcat-5.5.20/common/lib/jsf-facelets.jar;/C:/apache-
> >
> tomcat-5.5.20/common/lib/jsp-api.jar;/C:/apache-tomcat-5.5.20/common/lib
> >
> /jstl-1.1.2.jar;/C:/apache-tomcat-5.5.20/common/lib/log4j-1.2.12.jar;/C:
> >
> /apache-tomcat-5.5.20/common/lib/myfaces-api-1.1.1.jar;/C:/apache-tomcat
> >
> -5.5.20/common/lib/myfaces-impl-1.1.1.jar;/C:/apache-tomcat-5.5.20/commo
> >
> n/lib/naming-factory-dbcp.jar;/C:/apache-tomcat-5.5.20/common/lib/naming
> >
> -factory.jar;/C:/apache-tomcat-5.5.20/common/lib/naming-resources.jar;/C
> >
> :/apache-tomcat-5.5.20/common/lib/oro-2.0.8.jar;/C:/apache-tomcat-5.5.20
> >
> /common/lib/servlet-api.jar;/C:/apache-tomcat-5.5.20/common/lib/shale-cl
> >
> ay-1.0.3.jar;/C:/apache-tomcat-5.5.20/common/lib/shale-core-1.0.3.jar;/C
> >
> :/apache-tomcat-5.5.20/common/lib/shale-remoting-1.0.3.jar;/C:/apache-to
> >
> mcat-5.5.20/common/lib/shale-spring-1.0.3.jar;/C:/apache-tomcat-5.5.20/c
> >
> ommon/lib/shale-test-1.0.3.jar;/C:/apache-tomcat-5.5.20/common/lib/shale
> >
> -tiger-1.0.3.jar;/C:/apache-tomcat-5.5.20/common/lib/shale-tiles-1.0.3.j
> >
> ar;/C:/apache-tomcat-5.5.20/common/lib/spring-beans-1.2.8.jar;/C:/apache
> >
> -tomcat-5.5.20/common/lib/spring-context-1.2.8.jar;/C:/apache-tomcat-5.5
> >
> .20/common/lib/spring-core-1.2.8.jar;/C:/apache-tomcat-5.5.20/common/lib
> >
> /spring-web-1.2.8.jar;/C:/apache-tomcat-5.5.20/common/lib/tiles-core-2.0
> >
> -SNAPSHOT.jar;/C:/Java/jdk1.5.0_09/lib/tools.jar;/C:/apache-tomcat-5.5.2
> >
> 0/bin/bootstrap.jar;/C:/Java/jdk1.5.0_09/jre/lib/ext/dnsns.jar;/C:/Java/
> >
> jdk1.5.0_09/jre/lib/ext/localedata.jar;/C:/Java/jdk1.5.0_09/jre/lib/ext/
> > sunjce_provider.jar;/C:/Java/jdk1.5.0_09/jre/lib/ext/sunpkcs11.jar')
> > ContextListener: attributeRemoved('javax.servlet.context.tempdir',
> > 'C:\Documents and
> >
> Settings\jReynolds\.IntelliJIdea60\system\tomcat_Unnamed_5094815\work\Ca
> > talina\localhost\servlets-examples')
> > ContextListener:
> >
> attributeRemoved('org.apache.myfaces.webapp.StartupServletContextListene
> > r.FACES_INIT_DONE', 'true')
> > ContextListener:
> > attributeRemoved('org.apache.myfaces.config.RuntimeConfig',
> > '[EMAIL PROTECTED]')
> > ContextListener:
> > attributeRemoved('org.apache.myfaces.webapp.webxml.WebXml',
> > '[EMAIL PROTECTED]')
> > ContextListener:
> > attributeRemoved('org$apache$shale$view$VIEW_CALLBACKS',
> > '[EMAIL PROTECTED]')
> > ContextListener: attributeRemoved('org.apache.catalina.resources',
> > '[EMAIL PROTECTED]')
> > ContextListener: attributeRemoved('org.apache.catalina.WELCOME_FILES',
> > '[Ljava.lang.String;@430b6')
> >
> >
> >
> >
> >
> > E-Mail messages may contain viruses, worms, or other malicious code.
> By
> > reading the message and opening any attachments, the recipient accepts
> full
> > responsibility for taking protective action against such code. Sender
> is not
> > liable for any loss or damage arising from this message.
> >
> > The information in this e-mail is confidential and may be legally
> > privileged. It is intended solely for the addressee(s). Access to this
> > e-mail by anyone else is unauthorized.
> >
> >
>
>
>
>
>
> E-Mail messages may contain viruses, worms, or other malicious code. By
> reading the message and opening any attachments, the recipient accepts full
> responsibility for taking protective action against such code. Sender is not
> liable for any loss or damage arising from this message.
>
> The information in this e-mail is confidential and may be legally
> privileged. It is intended solely for the addressee(s). Access to this
> e-mail by anyone else is unauthorized.
>
>




--
Matthias Wessendorf
http://tinyurl.com/fmywh

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Reply via email to