Hi,
I was looking for documentation on how to configure multiple clustered mysql
servers as a datasource for a single transparent failovered persistence unit.
Is this possible and if yes where can I find documentation on this? There seems
to be nothing about this in the ejb3 specs.
Thanks
View
I know its not exactly Seam related but maybe somebody did it before and can
point me in the right direction:
I have a public enum with a few values used in an Entity to keep states.
| @Name("someEntity")
| @Entity
| public class SomeEntity {
|
| public enum SomeState { OPEN, CLO
COUNT was already supposed to return Long in the specs for a while now but
there was a bug in the previous EJB3 release to return Integer. It got fixed in
the last release so returning Long is the way it is supposed to be.
View the original post :
http://www.jboss.com/index.html?module=bb&op=vi
I had a similiar problem with my @Temporal annotations and after reding the
final ejb3 specs it seems they have removed the default value for the
TemporalType. In the last revision TemporalType.TIMESTAMP was the default when
you did not specify it anything. Try to annotate it like this
"@Tempor
"[EMAIL PROTECTED]" wrote : Is MyFaces 1.1.3 released now?
|
|
| If so, I will upgrade Seam to that and try it out.
yep, myfaces 1.1.3 and tomahawk 1.1.2 have both been released on the 9th.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944321#3944321
Yes I also updated to myfaces version 1.1.3 since it is the latest official
release and fixes quite some bugs. So it seems it is a little incompatibility
between Seam cvs <-> myfaces 1.1.3?
Gavin is it possible to change Seam so that it I don't need to downgrade to
1.1.2 again to get rid of it
I just updated to JBAS 4.0.4.GA and the latest seam CVS. Since then I am
gettign this exception quite random so I can't realy provide a reproduceable
scenario yet. :/ I does not break the functionality of the application since
everything works normal for the user after the exception.
18:20:21,79
You can add
|
to the properties of your persistence-units in your persistence.xml in order to
make EM and EMF available via JNDI lookup.
Cheers
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943147#3943147
Reply to the post :
http://www.jboss.com/index.
Since enum is a fixed set of attributes I don't think it would make much sens
to save it into a DB. So why persist something that does not change at runtime
and is part of your code?
Usualy you only want to save the value on an enum attribute inside of an Entity
and this would look somthing like
I'd like to add a few simple mouseover effects to a s:link button but
onmouseover and onmouseout are not supported. So I tried to work with the
trick but this
only seems to work with F'Fox but not IE.
Can you maybe add a few common scripthooks to the link component or is there a
simple workaro
I don't think it is much code, all the errors occure in very little code
acuallypackage com.broadcore.broadview;
|
| import java.io.IOException;
| import java.io.InputStream;
| import java.util.Properties;
|
| import org.jboss.logging.Logger;
| import org.jboss.seam.annotations.Beg
hehe, I am one step further now but I ran into the next problem right away :)
The TaskLists do work fine now but when a method annotated with @CreateProcess
is executed I am getting this Exception again:
Caused by: java.lang.IllegalStateException: JbpmContext may only be used inside
a transaction
yay, that did it! Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3939016#3939016
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3939016
---
Using Tomcat but nee
hm, now I am getting this Exception:java.lang.IllegalStateException:
JbpmContext may only be used inside a transaction
| at
org.jboss.seam.core.ManagedJbpmContext.getJbpmContext(ManagedJbpmContext.java:71)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun
I just upgraded to the latest seam CVS and JBoss AS 4.0.4.CR2 / EJB3 RC6. I
changed all the things required to make it work, including new config files,
etc.
Now the application is working fine again but I am getting an exception when
working with PooledTaskInstanceList and TaskInstanceList:
jav
Well this is how it happens:
A user starts a long running conversation somewhere in the application...
doesn't matter where exactly. Before he was doing anything meaningful in the
conversation a colleague jumps into his office and asks him if he could go to
his tasklist and acknowledge the sales
I had a look into the code and it seems that the exception is only throwen when
there was a regular-long-running-conversation active while a method annotated
with @StartTask or @BeginTask is called. The problem went away when I called a
dummy @End annotated method right before the @StartTask or
"dalvarezpy" wrote : My question is now: how do I "use" my security framework
from within SEAM? I mean, I'd like to customize the views according to the
roles the user have (e.g. show a given button only to Admins), so I would like
to know any moment what roles the user have, for example. Is the
We had the very same issues you describe with the @Factory method a few days
ago but it went away without changeing anything and we haven't been able to
reproduce - actually we haven't tried since then because time is short. ;)
Yes we do use @CreateProcess to create an instance of the long runni
selectItems works for me when I use Map. Haven't tried to put
others things then String into it yet since usualy a selectItem only accepts
Strings as value.
btw: I had coffee now and no need to point my silly nose on my obvious errors
of my first post! Please just ignore it. :/
View the origin
Interesting, then I got a whole lot about Seam wrong and hope even more that
Gavin or some other Seam guru is going to enlighten us. :(
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936091#3936091
Reply to the post :
http://www.jboss.com/index.html?module=
I am not sure about this and realy like to hear Gavins opinion on my response:
anonymous wrote : These attributes occur on component instance variables or
property
| accessor methodsThis is taken from the manual for bijection annotations and
I take it that bijection annotations only work for S
btw: if you want to use the facesmessages change your import from
org.jboss.seam.core.FacesContext to javax.faces.context.FacesContext. This way
it works for me just fine.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936085#3936085
Reply to the post :
ht
Hi mirko27,
can you please be a little more specific about what does not work, maybe
provide specifc cases/traces and maybe provide some information about the
version you are useing (myfaces, facelets, ejb3, jboss).
Since I am also useing a quite recent CVS version and everything works for me,
Thanks for the nice example Gavin.
Little sidenote for scaleablity and for the additional use of the Tomahawk Data
Scroller component: in order to reduce the heat and the overhead for very large
datasets I'd implement the sort() functionality not in the java code but in the
EJBQL (means to "dyna
"lcoetzee" wrote : 2. What does the GA mean ? Is this in line with the
Hibernate 3.2.0.CR1 release ?
Usualy (I am not sure about JBoss tho) GA means "General Availability" and is
used to flag a "final" and production ready release after a bunch of "Release
Candidates" (or in the new JBoss terms
I just played around with the most recent myfaces 1.1.3-snapshot and facelets
1.1.2 and it seems to be required to put a DOCTYPE element in the
faces-config.xml of seam
http://java.sun.com/dtd/web-facesconfig_1_1.dtd";>
I still haven't gotten it to work but at least this got me one step further :
hm, what is that thing actually good for? ok well besides redirecting stuff. ;)
Whats the impact if I'd turn it off? Is it just appending the conversationId to
all kinds of URLs?
btw: can't tell you guys how much I appreciate your extremly fast responses all
the time! Big big thanks for that! :
hi there,
I have a little issue with dynamic redirection from within my component.
In my component I construct the following URL
https://some.site.somewhere/index.php?param1=value1¶m2=value2
and try to redirect the client like this
...
| HttpServletResponse response =
(HttpServletResponse)face
Hi, this may be a trivial question but I was unable to find enough
documentation on it to make it work.
I have 2 DBs sitting on different hosts. I need some entities to be persisted
in database A and some others to be persited in database B. I have one SLSB
which needs to run querys on entitys
I'd be very interested to take a look at it. Is there a download link?
Thanks, Thorsten
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3927743#3927743
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3927743
Not a solution to your problem but a feature request:
wouldn't it be nice to add more granularity to the @Valid and @IfInvalid
annotations so that you would be able to exactly specify what @Valid annotation
should be validated with a call to a specific @IfInvalid annotation.
Example:
| @Stat
Hm, the JBoss-IDE 1.5 also uses the Hibernate stuff from ejb3.deployer/ for
EJB3 projects, not the ones in lib/
Does that make sens or should the classpath also include the jars from lib/
rather then ejb3.deployer/?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic
Thanks alot for the quick response! I appreciate it very much! :)
http://jira.jboss.com/jira/browse/JBSEAM-138
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925075#3925075
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p
Hi there,
I have a little issue with the understanding of how the HttpSession of a
webcontainer and the seam SessionContext interact.
My Problem is that I set a HttpSession variable in a Filter with
| session.setAttribute("loggedInUser", user);
|
this works finde since I can access the obje
Thanks Christophe, your post was the solution. :)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923341#3923341
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3923341
---
Hi there,
in JBAS 4.0.3sp1 I was able to do something like this to get the current caller
principals name from within an interceptor:
| @AroundInvoke
| public Object checkLoggedIn(InvocationContext invocation) throws
Exception {
| [...]
| String l
I seems this is not a seam bug but a EJB3 problem and - I think - it was
reported in JIRA and flaged as "done" in the current HEAD. Its an issue with
the SFSB passivation/activation code.
If you want a quick workaround for the moment annotate you SFSB like this to
avoid passivation:
| import
Is there a solution to this problem yet? I have the current CVS of seam and my
setup looks pretty much like Zealots. The table is rendered fine and the sort
links appear in the header but as soon as you click them it throws this nasty
exception:
| 19:55:12,281 ERROR [[Faces Servlet]] Servlet.
a few more things to make the sample more complete:
1. put a login-config.xml into the META-INF dir of you .ear and make it look
like this:
|
|
|
|
|
|
|
|
2. put a login-service.xml into the root of your .ear that look
Well I was also looking at a way to use the container based JAAS cababilities
of Tomcat to do webauthentication. I have it working as I wanted it to work but
the implementation is not how I want it to look like:
1. I have written a custom LoginModule that extends UsernamePasswordLoginModule
and
"anguyen" wrote : Perhaps the connections are remaining open until _ncRef and
_server are garbage collected.
|
I tried it now but it does not work. :( The connections are still there even
after a call to the _release() methods and to System.gc().
View the original post :
http://www.jboss.or
Hi all,
I have written a ejb3 service that connects to a remote corba server and other
EJBs use it to communnicate via XML with the remote server(this part is working
nicely). I don't know if this is the way a ORB/CORBA setup is supposed to be
done. So if you have any suggestions please let me k
43 matches
Mail list logo