Hey there,
Suppose you have a Stateful bean called "PersonManager" that handles both the
CRUD and search features for the "Person" entity. I'm using Session scope. I
have the following in the "PersonManager"
| @DataModel
| List people;
|
| @DataModelSelection
| Person selectedPerso
Dude, you rock... I don't know a way to transfer that large a file. Perhaps
you could send it and leave out the Jar files?
Thank you, thank You!
-Michael
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027635#4027635
Reply to the post :
http://www.jboss.co
I hope I'm not being too forward, but could you perhaps send me a WAR file that
works for you on Tomcat 5.5? (Perhaps a simple app that has a single table in
MySql.) My e-mail address is [EMAIL PROTECTED]
If I had a working MySql example on Tomcat 5.5, then I'm sure that I could
identify where
Looking through the log-file, I see this error:
16:14:20,044 INFO [Component] Component: entityManager, scope: CONVERSATION,
type: JAVA_BEAN, class: org.jboss.seam.core.ManagedPersistenceContext
| 16:14:20,044 DEBUG [Component]
entityManager.entityManagerFactory=omegaDatabase
| 16:14:20,060
It seems the entity manager is not getting inject into the right place. I
continue to get this error:
Caused by: java.lang.NullPointerException
| at
org.jboss.seam.core.ManagedPersistenceContext.getEntityManager(ManagedPersistenceContext.java:96)
|
Here are my updated persistence.xml,
Here is my persistence.xml file:
|
| org.hibernate.ejb.HibernatePersistence
| java:/omegaDatasource
|
|
|
|
|
|
|
|
|
|
And here is my jboss-beans.
I believe my jboss-beans.xml, persistence.xml and components.xml files are
correct. I now receive the following error:
javax.faces.el.EvaluationException: Cannot get value for expression
'#{usersList.firstResult}'
| at
org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java
Thank you so much for your response. At least now I'm getting different error
messages. :-)
There seems to be some conflicts in the Seam documentation. Do you need a
"entity-manager-factory" node as well? In some places I've read where this
configuration is needed (even though it never work
BTW, I wasn't being sarcastic. I was ramming against the "null entityManager"
error for quite some time, and your recommended config line has definitely
pushed me closer to the finish line. Again, thank you.
-Michael
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewt
Hey everyone,
I'm having trouble getting my Seam app to run on Tomcat; the entityManager is
not being injected into my Seam objects, most notably the EntityQuery objects.
[Note: This app works fine on JBoss, so this is a config issue.]
Here is my components.xml file:
| http://jboss.com/prod
I bought the book "JBoss Seam: Simplicity and Power beyond Java EE 5.0". I've
been following the instructions to deploy an app on Tomcat, and I still cannot
get it to work.
Here is the latest in my list of problems:
Per the instructions in the book, I added an additional datasource via a
jb
Hey there,
The problem I've hit deploying a Seam app to Tomcat deals with the datasource.
Here is a sample of the error trail that I get:
16:27:52,083 ERROR [NamingHelper] Could not obtain initial context
| javax.naming.NamingException: Local server is not initialized
| 16:27:52,098 FATAL [
I'm sorry that I can't help you with this problem. However, have you ever
gotten a MySql-backed Seam app to work on Tomcat 5.5? I've been trying to do
this for about 8 days now, and I'm uber-stuck.
-Michael
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=402
When I try to bind an entitymanager using this:
|
|
I get the following exception:
Mar 8, 2007 11:56:47 AM org.apache.catalina.core.StandardContext listenerStart
| SEVERE: Exception sending context initialized event to listener instance of
class org.jboss.seam.servlet.SeamL
It's nice to know that this problem *can* be solved. I've been able to deploy
the examples to Tomcat using "ant deploy.tomcat". However, when I generate a
simple example that uses EJB3 and MySql and try to get it to work on Tomcat,
I'm always met with failure. The errors that I seem unable to
Hey everyone,
If you create a simple MySql database and then use the seam command-line tool
to create a WAR using this database, then everything works fine on JBoss but
not on Tomcat. The WAR file assumes you are deploying to JBoss, not Tomcat.
So I've created an Ant target to deploy to Tomca
I need to be able to deploy Seam apps on Tomcat. I've setup the datasource,
but keep getting this stack trace. Can anyone help me decipher the following
errors? Many thanks! -Michael
00:34:59,593 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling
| 00:34:59,781 FATAL [Ejb3Config
The components.xml file is in the /web-inf directory in the war file. In fact,
I've added a context to Tomcat pointing to an exploded directory containing my
web app, so I can confirm that the components.xml file is in the right place.
Here is an expanded excerpt from the log file:
10:18:37,01
Is this the line that does it?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025299#4025299
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025299
___
jboss-user mailing lis
As an aside, once I get this figured out I will post a deploy.tomcat ant target
that should work for the war apps created using the seam command line tool.
-Michael
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025296#4025296
Reply to the post :
http://www
My apologies for not providing the log info.
Here is where the trouble begins...
21:13:12,687 FATAL [Ejb3Configuration] hibernate.cfg.xmlO-:-Ofalse
| 21:13:12,687 FATAL [Ejb3Configuration] import.sqlO-:-Ofalse
| 21:13:12,687 FATAL [Ejb3Configuration] messages_en.propertiesO-:-Ofalse
| 21:13:
I am able to get the Seam examples to run on Tomcat with no problem. Where I
run into trouble is when I do this:
1. Create a new ear application using the seam gen script
[The application runs against MySql.]
2. Generate the entities for the existing tables.
3. Add a new target to the build.
If my understanding is correct, the mc-conf.jar file consists of the files int
the jboss-seam-1.2.0/embedded-ejb/conf directory. This is shared across all
Seam example applications. If this is the case, then shouldn't all examples be
EJB3 enabled?
I did compare the contents of my mc-conf.jar
Hey everyone,
My ongoing saga to get my app running in Tomcat continues. I did a
file-by-file comparison between my config files and those in the DVD Store, and
could not find any meaningful difference.
I've read in several places that the Booking example uses EJB3 and, when using
the provide
Unfortunately, for reasons I won't list, I need to deploy to Tomcat. :-(
What I find frustrating is I was able to deploy the Seam examples to Tomcat
with no problem. I have been comparing my config files with those from the
Booking and DVD examples, and so far I cannot find a difference that w
I've been struggling for several hours trying to get my Seam app to run on
Tomcat. I've hit a brick wall. I get the following error in the catalina.log
file:
SEVERE: Error Rendering View[/home.xhtml]
javax.faces.el.EvaluationException: Cannot get value for expression
'#{testList.firstResult}
Quick update:
I downloaded the latest Seam from CVS (2/20/07). Everything now works fine on
Tomcat...
-Michael
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4021325#4021325
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=rep
Just now I cleaned out my Tomcat 6 webapp folder and removed any cached stuff.
I redeployed the booking application. It starts-up fine. However, whenever I
try to submit a form it fails with the following errors:
13:00:17,369 ERROR [SeamExceptionFilter] could not roll back transaction
| jav
Hey everyone,
I'm new to Seam and am very excited the framework. For reasons I won't go
into, I need to deploy a simple example of a Seam app that uses a database to
Tomcat.
When I first installed Tomcat 6.0, I was able to successfully deploy the DVD
store and Booking examples. However, now
29 matches
Mail list logo