An update to my use case.
When I hit the browser refresh, it works as expected, the last selected
Category stays selected and the bullet image shows up next to it.
The problem occurs when I navigate back to home.xhtml from any other page, the
currentCategory is displayed, but the bullet image i
Actually, this concern is legitimate. I can confirm that both of you are
correct. If you run the seam examples, they work perfectly. If you use your
own setup with jsf-facelets-1.1.11.jar, then you get an error when trying to
use the bare . Apparently, seam has a modified (or just
alternate
I download the example from the web,when I deploy it.It always occurs
error.Could someone tell me how to use the example step by step?Thank you.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052866#4052866
Reply to the post :
http://www.jboss.com/index.html
Thanks titou09! Please let us know how your PMR w/ IBM works out. If they
suggest we do anything on Seam side to fix the issue, we can probably
accommodate it as well (we are open source ;)).
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052865#4052865
Repl
Sorry about truncating my reply, I had to go out.
"beligum" wrote : 5. Is it normal I can't use if I use
@PersistenceContext instead of an injected (@In) entity manager?
Yes. s:convertEntity uses an SMPC / Seam managed transactions to reload the
entity from the PC. Unless you have a LRC in w
"beligum" wrote : 0. If I inject (@In) my EntityManager in Seam, it holds an
extended persistence context, right?
If there is a long-running conversation, yes.
"beligum" wrote : 1. If I call merge() or not in the update() method, it
doesn't make any difference, the changes are always written to
I dont understand the question.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052860#4052860
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052860
___
jboss-user mailing list
The OptimisticLockException indicates that the second client has a stale
version of the entity, i.e. it won't be updating the latest version.
As far as I know, using the EntityManager.lock method will force the version to
be incremented, whether or not you actually changed the entity.
View the
Hello,
I'm new to the world of EJBs and 3 tier development in general. I would
appreciate any advice on designing a solution for the following scenario.
An application that lets users make requests for user account info, transaction
history, order status, messages, etc.
Most of the data resides
Hello,
I'm new to the world of EJBs and 3 tier development in general. I would
appreciate any advice on designing a solution for the following scenario.
An application that lets users make requests for user account info, transaction
history, order status, messages, etc.
Most of the data resides
Hello,
I'm new to the world of EJBs and 3 tier development in general. I would
appreciate any advice on designing a solution for the following scenario.
An application that lets users make requests for user account info, transaction
history, order status, messages, etc.
Most of the data resides
It does, except in the web tier.
For example, the @EJB annotation will not work if used in a servlet/JSP. But
you can use JNDI lookups to achieve the same results.
Most importantly, to get the EJB3 version you have to use the JEMS installer :)
View the original post :
http://www.jboss.com/inde
Worked like a charm! Thanks for your help...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052853#4052853
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052853
___
jboss-us
My runtime environment is:
Seam 1.2.1GA
Jboss 4.0.4GA
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052852#4052852
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052852
___
Hi guys, thanks for the replies, this is great stuff.
Any chance anyone wants to explain what happens if a RuntimeException is thrown
in my update() method? This is the only major conceptual hurdle I'm still
struggling with. My common sense tells me, when that method 'fails', the update
model v
One possibility: create a directory name doit.last in the deploy directory and
then place the WAR file in that directory. Any components in a directory ending
with the .last suffix are deployed after everything else.
(I though that WARs were always deployed after EARs. But is has been a while
s
You need a *-ds.xml file that describes the MySQL data source. You can find an
example one at docs/examples/jca/mysql-ds.xml. Once you edit it for your
database, copy it to server/xxx/deploy.
For more info:
http://docs.jboss.com/jbossas/guides/j2eeguide/r2/en/html_single/#ch7.jdbc.sect
View th
Install one of the Sun JDKs (latest 1.4.2 or 1.5, do not use 6) and try again.
The JVM that comes with most Linux distros will not work.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052848#4052848
Reply to the post :
http://www.jboss.com/index.html?module=
Ok. looks similar to the problem we have with seam 1.2.1 +was v6.1.0 + JSF
Implementation from WAS (not MyFaces..).
have a look my previous post here :
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=107948
I have open a PMR with IBM for it and still wait for an answer from IBM
View the
I have an Entitiy called Category as defined here:
| package com.mystuff.fresh.domain;
|
| import static org.jboss.seam.ScopeType.SESSION;
| import static org.jboss.seam.ScopeType.CONVERSATION;
|
| import java.io.Serializable;
|
| import javax.persistence.Entity;
| import java
"beligum" wrote : Hi all,
| 6. Is there a way to specify flushMode=MANUAL in the
tag of pages.xml?
|
Yes-- just specify flush-mode="MANUAL"
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052844#4052844
Reply to the post :
http://www.jboss.com/index.ht
"beligum" wrote : 0. If I inject (@In) my EntityManager in Seam, it holds an
extended persistence context, right?
A persistence context scoped to (current) conversation will be injected. An
extended persistence context is only scoped to the current SFSB whilst SMPC
allows *any* bean participat
I downloaded the 3.0.4 and the accompanied license has changed to BSD.
Thanks.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052842#4052842
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052842
___
Just wondering if urlrewrite is GPLed or LGPLed?
Reading along http://jira.jboss.org/jira/browse/JBSEAM-274, have you heard
anything regarding to request for change of license?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052841#4052841
Reply to the post :
I removed the jsf-ibm.jar from the server (it was on "shared lib" path), and
put the JSF RI jars into the server's lib directory. However, I am getting this
error now. Since the com.ibm.ws.jsf package is in
com.ibm.ws.webcontainer_2.0.0.jar file, there is no easy way to "remove" them.
I tried t
Hi all,
I know this is a much-asked topic/question, but it would be cool if someone
takes the time to explain a thing or two to me. Don't think I'm lazy; I've been
reading up on this all day, I just need some clarification ;-)
I also hope this is the right forum to ask, since it's pretty much
s
You can use the URL rewrite filter to rewrite .xhtml requests as .seam
requests. The latest CVS version of Seam has this built in, look at the wiki
example or seamBay example to see how it's used.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052837#4052837
Trying to do a full install of jems 1.2 GA. Get the stacktrace below that also
shows a null pointer being thrown.Anyone seen this or have any hints on how
to fix?
TIA,
Steve
OS is Ubuntu 7.04 (fiesty)
$ java -version
java version "1.4.2"
gij (GNU libgcj) version 4.1.2 (Ubuntu 4.1.2-0ubun
Hello!
Our application uses EJB3 SLSB, JmsXA, EJB3 Timers, entity manager is
configured for MySql XA Datasource.
I've read at http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigJBossMQDB that XA
is not required for JMS, but is it true for JmsXA? May be we need to configure
it too?
And what about E
If there is a burning reason to have different sequence_numbers for different
tables. you can create multiple sequences and modify the hibernate config files
for each table.
It is easist to leave it as is and think of the id's as correlation ids that
have no relationship other than to find the
This worked, thanks Gavin.
But is there no possibility to do the redirect from the page if the variable is
empty?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052832#4052832
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=repl
Thx for the reply. I will give it a shot then.
BTW. Its still kind of intriguing what happend to jboss-messaging-1.2.0.SP1.zip
;-).
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052831#4052831
Reply to the post :
http://www.jboss.com/index.html?module=bb&
First, this is with Seam 1.3alpha, from CVS, Jboss 4.2.0GA, on OS X.
I'm able to run the other seam examples I've tried, but seam-discs gives me the
following exception when I hit the landing page.
13:42:05,448 ERROR [ExceptionFilter] uncaught exception
javax.servlet.ServletException: Servlet ex
Stan, yes, I did have the ConfigureListener ...
titou09, yes, I did set to load the classes in the WAR first. Perhaps what I
should try is to remove those IBM JSF jars altogether and replace them with JSF
RI. I will try and let you know.
View the original post :
http://www.jboss.com/index.html
If I add the entity converter initialization config to components.xml in the
\jboss-seam-1.2.1.GA\examples\glassfish example I find that deploying the app
for the first time works. However, deploying subsequent times fails with many
errors produced in the log files (detailed below).
To use the
Probably a good idea to add it to Seam JIRA, that way people can vote for it
and it doesn't slip off the radar completely.
If you need something sooner, Trinidad has client side validation for all JSF
validators (and some of its own).
View the original post :
http://www.jboss.com/index.html?mo
Huh? If you want to navigate straight to an absolute URL then there is *no way*
for JSF/Seam to intercept it and do stuff (the browser just sends a request for
the URL). Do you mean you want to call an action and then redirect to your URL?
View the original post :
http://www.jboss.com/index.ht
Ooops, sorry, I should have written
anonymous wrote : Try using nested conversations I think, you may also need use
multiple entitiy managers, one for the parent conversation and one each nested
conversation - be careful when loading entities that you get it from the
correct one.
This is proba
Sorry,
Do you think I should fill a JIRA request for this functionnality ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052823#4052823
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052823
__
Hi
I have a problem and I would be greatful for a solution .
I have a property which is a URL (http://x.y.z?id=1&a=2&c=2 ).
I would like to pass this to aetc.
How do I do this from the backend ?
Just putting http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052822#4052
Thank for your reply Pete.
I tried nested conversation without success. The problem is that you get the
same persistence context even if you use two components.
I didn't find a solution with JTA as well :
- Start a transaction with entity manager 1
- Persist the parent
- Start a transaction wi
Try "not empty selectedSpaceInstance"
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052818#4052818
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052818
___
jboss-user mailin
Hi
What is the difference between @Version and EntityManager.lock method?
When I use @version then If one client is updating entity the version attribute
is being increased and if another client wants to update the same entity the
OptimisticLockException is thrown - there is no wainting for the
Hello,
I wonder if there is some "good practice" to recommend concerning loading
properties files inside a process archive.
My process actions call EJBs on a remote cluster and must have access to
cluster location properties located in a file called jndi-services.properties.
Some time ago I tr
JSF 1.2 doesn't actually rely on Servlet 2.5 APIs - even though the spec is
written agains Servlet 2.5. Many people have successfully run JSF 1.2 on
Tomcat 5.5, which is Servlet 2.4. You do need Servlet 2.5 if you are using
JSP with JSF 1.2. If you use Facelets you can run on Servlet 2.4.
S
Has anything changed regarding the requirement for JVM 1.4 compatibility in the
6 months since this thread was last active?
We are considering contributing back some engine code (not console code) with
JVM 1.5 dependencies.
Thanks,
-Ed Staub
View the original post :
http://www.jboss.com/index
Every other workflow system I've worked with has had a Queue domain object,
which is a persistent named repository for tasks. They are used in both push
and pull assignment models, and provide a point of control and extensibility to
address specific task-management needs.
Actor pools are not t
Without a stack trace no body will be able to help you...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052810#4052810
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052810
We don't recommend any release in 4.0.x, but 1.3.0.GA should work with it but
we don't make any guarantees.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052809#4052809
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=40
"alexgvozdenovic" wrote : Can you please confirm as to whether JDK 1.4 is
supported for JMS clients accessing JBM 1.3. If so, can you clarify what the
runtime libraries should be.
|
| Using various client jars from the 4.2 ga version of JBossAS does not work
as they are built for 1.5+
|
What JDK/JRE are you using (exact version) ?
There were bugs in some versions of Java that gave symptoms like this. AFAIK
they were fixed in later versions of Java.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052806#4052806
Reply to the post :
http://www
I did suspect this :(
What we need to do is to make user composable pages (like netvibes, but other
users should be able to visit your "portal" too).
The problem then becomes that there can be X amounts of any form/subview and
that they need to be seprated somehow.
We have been trying to adap
If I understand correctly, in order to generate table ids on Oracle, the
hibernate-generated DDL specifies one single sequence :
create sequence hibernate_sequence;
That means that successive values for, say, deployed processes
JBPM_PROCESSDEFINITION can be as far away from each other as 1 from
I had the same problem but it appears to fixed in the 20070609 CVS by using the
ajax4jsf-1.1.1.jar instead of the SNAPSHOT jar used in previous CVSs.
Carl
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052802#4052802
Reply to the post
Use @Factory or a page action
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052801#4052801
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052801
___
jboss-user mailing list
j
I'm not quite sure what Christian is meaning, as you can't have more than one
currently active conversation (i.e. more than one associated with a page,
ignoring nested conversations).
You need two backing entities, one for each form (use @Role, and pass in the
name of the entity to use a parame
Try using nested conversations I think, you may also need use a two entities,
one for the parent and one for the nested conversation, and be careful when
loading entities. You'll still need manual flush mode. An alternative would
be manually roll back changes on cancel, or to use detached ent
I wasn't sure where to post this after reading this blog entry. Just to get
this clear...Is Embedded EJB3 now Embedded Jboss?
I had to modify the NamingServer to get my Embedded EJB3 up and running in
Jetty with Seam. I went ahead and posted this in Embedded Jboss (Jetty,Embedded
Jboss/EJB, an
http://www.jboss.com/wiki/Edit.jsp?page=SeamOC4J11g - if you are logged in that
should work.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052797#4052797
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052797
_
Try
@In(required=false)
| private List pooledTaskInstanceList;
It would be neater to create a new Seam component based on
pooledTaskInstanceList which does the filtering for you rather than injecting
and outjecting as you describe.
View the original post :
http://www.jboss.com/index.html?mo
Oups I forgot: To my knowledge, JSF 1.2 needs servlet 2.5 which is part of
J2EE5...and websphere 6.1 only implements servlet 2.4 for J2EE 1.4
I don't know if you'll be able to make it work in WAS v6.1
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052795#40527
I think you should set both ear and war classloaders to PARENT_LAST to be sure
that the web container picks the JSF implementation you have in WEB-INF/lib,
like for MyFaces. Check the related IBM technote here:
http://www-1.ibm.com/support/docview.wss?rs=180&context=SSEQTP&q1=myfaces&uid=swg2124
I'm not sure I understand how to do this corerectly
If I create a form with seam gen and include it twice on a page with
ui:include, each form gets a different conversation id but they both reference
the same backing bean instance.
I have tried some other things as well but it did not suceed.
The latest release is 1.3.0.GA, you can download it here
http://labs.jboss.com/jbossmessaging/downloads
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052792#4052792
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=405279
Hello,
Running locally, I have a EAR with some EJB's that need to be accessed remotely
(I can not modify this application). I am building a WAR that access the
EJB's via a Spring Injection. This is working well when I deploy the EAR first
and secondly the WAR.
My problem is at startup, JBOS
Yeah, I thought that too, but it doesn't work at all, same exception.
I moved everything (including security) to a page-action, but it's a shame,
because, if you ask me, it doesn't belong there.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052790#4052790
Re
Hi all,
I'm just investigating the Seam PDF generation features.. and have some
difficulties:
#1. In FireFox I get:
This XML file does not appear to have any style information associated
with it. The document tree is shown below.
|
| ?
|
| ?
|
|
|
|
Ok no one see a solution without cloning ?
It would help me a lot !
Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052788#4052788
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052788
To prevent this you can use following structure in web.xml:
|
| Restrict XHTML Documents
|
| XHTML
| *.xhtml
|
|
| NONE
|
|
|
But Is there any mechanism to automaticly redirect to corr
Please, help me!
A have seam pages in *.xhtml files. Correct addresing to this page throught
*.seam. But if I point IE to corresponding *.xhtml page - I can downlod it and
view code. It seems quite unsecured.
Is there possibility to automaticly redirect from *.xhtml page to *.seam page?
Thank
I tried to use log4j with my web application deployed on JBoss..
but JBoss did not permit it . so i configured JBoss logging in my application
as in this link :http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigureLogging...
Every thing worked fine , but now i want to use MDC( mapped diagnostic
co
The memory still used is most likely to be the filesystem cache. Linux will
load all the files that JBoss needs into memory and cache them (like jars etc).
Read the first part of this article. Although it's written with db2 in mind, it
explains the effect you are seeing.
http://www.ibm.com/deve
72 matches
Mail list logo