Re: Faces deploying, but persistence not working

2012-09-17 Thread David Nordahl
*Romain Manni-Bucau* *Twitter: @rmannibucau* *Blog: http://rmannibucau.wordpress.com* 2012/9/17 David Nordahl At last I have faces deploying, but the persistence link isn't there and I'm not getting any error messages that I can find regarding why. Attached is the startup log which

Recommended Reading?

2012-09-05 Thread David Nordahl
I realize the answer to this depends on the person, but in general what would be some core recommended reading (online/print) to understand the technology implemented by TomEE in terms of most effectively and concisely learn the best practice for structuring, designing, building, and deploying

Re: Myfaces errors / FacesContext not found

2012-08-26 Thread David Nordahl
myfaces.core myfaces-impl 2.1.8 provided web.xml header is not in the old 2.4 You shouldn't be requiring a StartupServletContextPluginCha**inLoader or have to worry about the standard-faces-**config.xml -Vishwa On Sun, Aug 26, 2012 at 11:20 PM, David Nordahl wrote:

Re: Myfaces errors / FacesContext not found

2012-08-26 Thread David Nordahl
rote: Xhtml is not the default extension, Maybe redefine it Le 26 août 2012 19:53, "David Nordahl" a écrit : I'm not getting JSF tags rendered to HTML/XHTML. I'm using the SNAPSHOT. I notice the errors "INFO: faces config file is null" even though I have the file f

Re: Not rendering JSF tags to HTML/XHTML

2012-08-26 Thread David Nordahl
What file do I update that setting in, and will that affect the .jsp files I have? On 08/26/2012 12:54 PM, Romain Manni-Bucau wrote: Xhtml is not the default extension, Maybe redefine it Le 26 août 2012 19:53, "David Nordahl" a écrit : I'm not getting JSF tags rendered to

Not rendering JSF tags to HTML/XHTML

2012-08-26 Thread David Nordahl
I'm not getting JSF tags rendered to HTML/XHTML. I'm using the SNAPSHOT. I notice the errors "INFO: faces config file is null" even though I have the file faces-config.xml in my WEB-INF folder from the root folder of my war file. The file contains: http://java.sun.com/xml/ns/javaee"; xm

Re: Random Exceptions

2012-08-22 Thread David Nordahl
more up to date) nice if it works *Romain Manni-Bucau* *Twitter: @rmannibucau* *Blog: http://rmannibucau.wordpress.com* 2012/8/23 David Nordahl Got it working by reinstalling TomEE on the problematic environment.. must have gotten a missing or damaged file. On 08/22/2012 05:00 PM, David

Re: Random Exceptions

2012-08-22 Thread David Nordahl
Got it working by reinstalling TomEE on the problematic environment.. must have gotten a missing or damaged file. On 08/22/2012 05:00 PM, David Nordahl wrote: Attached is the log file containing the exceptions and stack traces. I am using 1.1 SNAPSHOT On 08/22/2012 04:40 PM, Romain Manni

Re: Random Exceptions

2012-08-22 Thread David Nordahl
: http://rmannibucau.wordpress.com* 2012/8/22 David Nordahl Now my dev environment is working fine, but production is giving these exceptions all over the place: java.lang.**IllegalStateException: ContainerBase.addChild: start: org.apache.catal ina.LifecycleException: Failed to start

Random Exceptions

2012-08-22 Thread David Nordahl
Now my dev environment is working fine, but production is giving these exceptions all over the place: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catal ina.LifecycleException: Failed to start component [StandardEngine[Catalina].Stan dardHost[localhost].StandardC

Re: Exceptions in my deployed environment

2012-08-22 Thread David Nordahl
jpa meta classes? Le 17 août 2012 22:14, "David Nordahl" a écrit : I'm having trouble making TomEE happy on my deployed server and I'm not sure what is different from my dev environment. Basically I have my EJB class files included in a jar in the lib folder of TomEE as we

Deployment Folders / Subfolders

2012-08-22 Thread David Nordahl
When I drag my foo.war file to be deployed in the webapps folder it deploys the app to localhost:8080/foo, but it doesn't seem to serve any jsp/jpeg/css files contained in any subfolders of the war. When I rename the .war file to ROOT.war it serves everything up fine. So I was wondering, how

Re: Exceptions in my deployed environment

2012-08-20 Thread David Nordahl
u can put the entity classes in the classes folder of WEB-INF in the WAR file? On 8/17/2012 3:55 PM, Romain Manni-Bucau wrote: Did you generate jpa meta classes? Le 17 août 2012 22:14, "David Nordahl" a écrit : I'm having trouble making TomEE happy on my deployed ser

Exceptions in my deployed environment

2012-08-17 Thread David Nordahl
I'm having trouble making TomEE happy on my deployed server and I'm not sure what is different from my dev environment. Basically I have my EJB class files included in a jar in the lib folder of TomEE as well as in my deployed WAR web app. When EJBs are invoked, I get exceptions like: ClassC

Re: Detected Reentrant Flush - Trouble with merge / update

2012-07-09 Thread David Nordahl
w.cat"); userFacade.edit(result); On 7/9/2012 12:15 PM, Romain Manni-Bucau wrote: maybe try a find in your ejb before the merge to let you rentity be managed and to be allowed to merge. FYI the snapshot is not the beta-3 but the 1.1.0-SNAPSHOT. - Romain 2012/7/9 David Nordahl I lo

Re: Detected Reentrant Flush - Trouble with merge / update

2012-07-09 Thread David Nordahl
ample otherwise helping you is hard. Generally it is faster than 'trying' things. - Romun Le 9 juil. 2012 03:20, "David Nordahl" a écrit : Tried the snap shot.. I get an error in Netbeans saying that it can't deploy the app and to check the server log, yet the server l

Re: Detected Reentrant Flush

2012-07-08 Thread David Nordahl
d, like so: public class User implements Serializable { private static final long serialVersionUID = 1L; @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @Basic @Column(name = "user_id") private Integer userId; On 09-07-2012 03:20, D

Re: Detected Reentrant Flush

2012-07-08 Thread David Nordahl
ware needed for this project myself by now. Thanks for your efforts. On 7/8/2012 4:56 PM, Romain Manni-Bucau wrote: hmm you use tomee 1.0.0 can you give it a try to the snapshot please? we worked a bit on netbeans integration. - Romain 2012/7/8 David Nordahl Btw.. Is it normal to have

Re: Detected Reentrant Flush

2012-07-08 Thread David Nordahl
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) On 7/8/2012 4:32 PM, Romain Manni-Bucau wrote: i don't think so, can you try moving your code in a unit test to see if it still happen? - Romain 2012/7/8 David Nordahl

Re: Detected Reentrant Flush

2012-07-08 Thread David Nordahl
Could it be the Tomcat JDBCRealm I have enforcing container managed security from user data in the same table? On 7/8/2012 4:14 PM, Romain Manni-Bucau wrote: i can't say no but i'm pretty sure it is something in the container rather in the DB. - Romain 2012/7/8 David Nordahl Ma

Re: Detected Reentrant Flush

2012-07-08 Thread David Nordahl
ng reliability." Could some DB setting like this be causing the issue? On 7/8/2012 3:39 PM, Romain Manni-Bucau wrote: can you share a small sample to reproduce it, will be easier to help you? - Romain 2012/7/8 David Nordahl Not that I've configured.. Unless one of the annotations cre

Re: Detected Reentrant Flush

2012-07-08 Thread David Nordahl
e") @Temporal(TemporalType.TIMESTAMP) private Date lastLoginFailure; @JoinColumn(name = "associated_customer", referencedColumnName = "customer_id") @ManyToOne On 7/8/2012 3:25 PM, Romain Manni-Bucau wrote: Hi, any entity listener playing with id or special f

Detected Reentrant Flush

2012-07-08 Thread David Nordahl
I'm attempting the code: Properties properties = new Properties(); properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.LocalInitialContextFactory"); InitialContext initialContext = new InitialContext(properties); Object object = initialContext.lookup("UserFacadeLo

Re: Need advice on connecting up project

2012-07-07 Thread David Nordahl
I got it working. Seemed to happen right after I tried generating an emtpy beans.xml file to include with the configuration file list. Or maybe it was from clicking my heals together..

Re: Need advice on connecting up project

2012-07-07 Thread David Nordahl
ure i get it right? finally any clue on your app to see what your are using? - Romain 2012/7/7 David Nordahl I've been trying to get OpenEJB hooked up to my web app project in Netbeans and I've been having a lot of problems, but am making progress but have spent almost 15 hours now

Need advice on connecting up project

2012-07-07 Thread David Nordahl
I've been trying to get OpenEJB hooked up to my web app project in Netbeans and I've been having a lot of problems, but am making progress but have spent almost 15 hours now looking at mailing list, forum, and documentation stuff. I successfully deployed the OpenEJB war with Tomcat after runni