Hello ,
the registration example throws exception.
A patch is filed to the jira.
http://jira.jboss.org/jira/browse/JBSEAM-437
2006-10-25 08:55:37,078 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-registration].[jsp]]
Servlet.service() for servlet jsp threw
Hello,
anonymous wrote : about your third solution, would you please explain more?
Sure.
try to search your complete project for the string hsql.
Not only the source code, check the generated artifacts also.
Even check the deployed project.
There must be an erroneus configuration. And this need to
Hello,
the uploaded trinidad example is just the adf example (also found at the wiki)
converted to trinidad. I must state that i am not the author of the adf example.
The uploaded example works for me on JBoss AS 4.0.4GA and on JBoss 4.0.5GA
Yes, the mentioned warning is rendered, but the button
Hello,
First, try to not use autoReconnect
property name=connectionURL
|
jdbc:mysql://192.168.0.157:3306/seamtest?autoReconnect=trueuseUnicode=truecharacterEncoding=UTF8
|
From the MySQL Connector/J documentation about autoReconnect:
anonymous wrote : The use
Hello,
i modified the ADF registration example on the wiki to use trinidad.
This example uses selfcompiled (19.11.2006) librarys for trinidad.
You can find this new example in the EXAMPLE section of the wiki.
As of today, trinidad does not support opera as browser:-(
but firefox works.
Ciao,
Hello,
i would like to ask which tag librarys can be used?
In the seam documentation i found:
anonymous wrote : We recommend the Ajax4JSF and
| ADF faces (now Trinidad) tag libraries for use with Seam. We do not
recommend the use of the Tomahawk tag
| library.
But,
i compiled trinidad for
Hello Gavin,
thanks for the note.
I will wait.
Ciao,
Carsten
Note:
I have not expected the examples to run,
i expected that seam will start (but it does not)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3976908#3976908
Reply to the post :
Solved.
My app runs again. Only a little change in one of my facelets templates.
I have disobeyed that jscook menu must be rendered inside a form.
If this is not the case tomahawk renders a dummy form which do not work with
the latest seam version.
@ codelion
The warning is about Tomahawk.
The
Hello,
i do have a little problem with the upgrade to HibernateEntity.
a ClassCastException: java.lang.String is raised at
org.hibernate.type.LongType.set(LongType.java:42)
see below.
My question: how must an id of type other than String be handled? The idclass
seems to be gone.
My
Hello,
totally my fault. now solved.
With HibernateManagedEntity you could outject only Objects of type String,
So HibernateManagedEntity has to convert a String to the real object type
(e.g.long) .For this purpose ther was the attribute idclass.
Now,
with HibernateEntity, you can outject the
Hello,
i have compiled the latest seam version out of cvs. I am aware that it is at
heavy development.
We are using tomcat with hibernate in the microcontainer
Besides the copying of the new seam jars to the apps lib folder i have to adapt
components.xml. No other files are changed.
With the
Hello,
We are using seam with tomcat.
Seams comes with great documentation for its configuration.
Please read this:
http://docs.jboss.com/seam/latest/reference/en/html/configuration.html.
You can use the embeddable EJB3 container
Hello,
i think your problem has nothing to do with seam running on tomcat.
If i am not completly misleaded your problem is with the jndi name of the
datasource.
Instead of
anonymous wrote : jta-data-sourcetestDatasource/jta-data-source
try
the newest thirdparty-all.jar into my app the
NoClassDefFoundError: net/sf/cglib/proxy/Factory does not vanish.
09:51:17,812 ERROR
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/baz]: Exception
sending context initialized event to listener instance of class
Hello,
i am used to use HibernateManagedEntity.
Both classes HibernateManagedEntity and ManagedEntity are renamed.
Please refer to this thread:
http://www.jboss.com/index.html?module=bbop=viewtopict=92311
We have to wait.
There will be an example which shows how to use the refectored (renamed )
Hello
anonymous wrote : it was rather unexpected to lose the class without any traces.
Not for us. This kind of functinality was never integrated in a production
stable seam library.
anonymous wrote : ut we try to use Seam in some kind of commercial development
If this is the case why are you
Hello,
i like to test s:decorate/
But i have some problems with building and using the latest seam jars.
When i execute the build and testcore targets this error occur in the tests
anonymous wrote :[testng] FAILED:
org.jboss.seam.test.ContextTest.testContexts()
|[testng]
anonymous wrote : Does anyone have experience with setting up Seam-managed
persistence context set-up in Tomcat?
Do you want to use embedded EJB or do you want a Hibernate session in a
microcontainer. The later is described in the seam docu and there is the
hibernate example in the seam
Hello,
The mentioned URL is a live example of the tomahawk components.
You can found more infos in the myfaces wiki:
http://wiki.apache.org/myfaces/
anonymous wrote : It would have taken someone about 3 minutes to say, Hey this
is what is in head.inc or you need to put this line in web.xml so
Hello,
anonymous wrote : 1) the nwFile.jsp I am trying to view is just a simple JSP
file why does it try to parse it?
This is because you are using https://facelets.dev.java.net/. This stiuff is
parsing your pages and complains about well formdness.
From your exception:
| ...must be
Hello,
when deploying the sample application i got an exception:
13:25:09,078 ERROR [[/seam-security]] Exception sending context initialized
event to listener instance of class org.jboss.seam.servlet.SeamListener
| java.lang.RuntimeException: error while reading components.xml
| at
Hello,
try
| @DataModel(scope=ScopeType.SESSION,)
| private ListMember members;
|
| @Factory(members)
| public void getmembers(){
|members = em.createQuery( from members member order by
member.joinDate).getResultList();
| }
You do
Hello,
Thanks for your answer.
anonymous wrote : you should not convert the id to a string.
if i do not convert, i get a class cast exception. This is due to this
codefragment from getInstance
return (Serializable) idConverter.getAsObject(
|facesContext,
|
Hello,
i am experience hundreds of exceptions, see below. Nevertheless the component
bazDatabase gets initialized sometimes. So the app could access the database.
Any ideas what went wrong.
My app works with tomcat5.15
hibernate is set up in the microcontainer (configuration after the exception
Hello,
i am using this facility successfully with javabeans.
Do you try to use a log statement in a constructor?
This will not function. The bean is first constructed and then injection take
place. So you can not use the logger in a constructor.
If you need it, you have 2 possibilities:
1. use
Hello,
i do have 2 Manged Entitys set up:
component name=bazProject
class=org.jboss.seam.core.ManagedHibernateEntity
| property
name=entityClassde.bafz.lims.model.Project/property
| property name=session#{bazDatabase}/property
| property
Hello,
anonymous wrote : The only difference is that bazProject is used in an html
page while bazExperiment is not.
That is the difference.
I accessed bazExperiment in a html page and..
voila it is injected.
If i do not access such a component in a html page it won't be injected.
Gavin can you
Hi Gavin,
i will change back to my own manager, if you have the opinion that my change
does not make sense.
IMHO, it can always happen that 'getInstance()' from the Manager is called
when there is no Id in any context. This will result in an exception. But if
there is no Id than there is no
anonymous wrote : And then, whenever the id of the object is available in a
context variable or request parameter, we can just inject the correct instance.
Hi Gavin,
i have tried your approach with a ManagedHibernateEntity.
i must learn what the word 'whenever' means:
if the id is not available i
201 - 229 of 229 matches
Mail list logo