so i switched to tomcat7 :
Dec 15, 2012 11:19:35 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.25
but still i get the locale bean...
Type: Posts; User: zerodrift; Keyword(s):
so i switched to tomcat7 :
Dec 15, 2012 11:19:35 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.25
but still i get the locale bean...
if i instead use jetty:run (since i think i am using tomcat 7) i get this:
Problem accessing /myapp/pages/main.jsf. Reason:
Target Unreachable, identifier 'bookBean' resolved to null
...
package com.myapp.jsf.util;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Locale;
import javax.annotation.PostConstruct;
import...
interesting...i removed those lines but now i get this:
javax.servlet.ServletException: /templates/layout.xhtml at line 8 and column 63 locale="#{localeBean.locale}" Attribute did not evaluate to...
~/Documents/workspace-sts-3.1.0.RELEASE $ locale
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"...
yes i think it's english locale. my desktop is ubuntu linux. any way to be sure?
the app is in skunk-works so i'll send you the files separately via IM.
that was already done but it still doesn't work...
http://forum.springsource.org/showthread.php?133068-can-t-get-mongodb-jsf-to-run-mvn-tomcat-run-or-jetty-run&p=432831#post432831
I'll pay anyone $100 an hour to help get this working today via paypal. Any takers?
my Book bean class definition:
package com.myapp.jsf;
import com.myapp.domain.Book;
import org.springframework.roo.addon.jsf.managedbean.RooJsfManagedBean;
import...
so as a test i created a managed bean for one entity (not sure why i have to do this with jsf2.0 but anyway...) this is the error that i get when i click on the entity create:
Problem accessing...
had to create a managed bean entry for this in faces-config.xml. do i have to do that for all beans b/c now the website comes up (under jetty:run not tomcat) but if i click on an entity i get an...
stack trace when i tried to access the root website. i ran mvn tomcat:run from within STS
type Exception report
message
description The server encountered an internal error () that...
I already did that. Still doesn't work...same error message.
my roo steps:
mongo setup --databaseName mymongo --host localhost --port 27017
entity mongo --class ~.domain.Book --testAutomatically
entity mongo --class ~.domain.Library --testAutomatically ...
java.lang.ClassNotFoundException: org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)
at...