Can you change JSF setting to 'server' side state saving (in web.xml) and try
the tests again? With myfaces and these suggestions
http://wiki.apache.org/myfaces/Performance
it had dramatic effect.
I haven't tried with Sun's JSF 1.2, but client side state saving should have
negative impact on
Another thing:
JSF doesn't (in base components) let you to define a variable on a page.
So people quite often would write something like
#{hashMapBean[key].prop}
in many places on the page, which in fact leads to looking up hashMap many
times + using reflection to access property.
JSF also
And in your case you should migrate to MyFaces 1.1.5 and Tomahawk 1.1.6.
MyFaces 1.1.3 is too broken anyway to be used in production.
It would be interesting to compare Myfaces 1.1.5 performance
vs Sun's JSF 1.2 (with server side state for both) and see who wins...
View the original post :
Thank you for your reply, Ales Justin
sorry it was this one correct
module
| ejbspring-pojo.spring/ejb
| /module
|
i extracted the ear file and try to rename this JBoss-Spring.sping also
changed in application.xml but it did not worked
so i want from start
Anyone used QuipuKit with Seam? Can you, please, share you experiences?
http://www.teamdev.com/quipukit/demo/homepage.jsf
Thx
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4057089#4057089
Reply to the post :
Well, actually the session isn't invalidated until the end of the request. So
if you render a page with a login form on it, it will remember the username
(but not the password, of course).
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4057096#4057096
Reply to
I can't find out how to see what jbpm is doing
When i use jbpm-enterprise.ear and test my process i see log detailed
on stdout, but when i embed the engine in my ear jbpm
does not log nothing.
I have unpacked jbpm-enterprise.ear to find some
log4j.xml or whatever without luck
any hints?
View
I have this snippet process definition
| decision name=CheckState
|transition name=tr2 to=node2
| condition#{JBpmService.status=='DELETED'}/condition
| /transition
| transition name=tr3 to=node3
|
Thanks for your reply. I am using server side states saving, and we don't have
hashmap lookup in our pages.
We can't migrate to MyFaces 1.1.5 and Tomahawk 1.1.6 due to compatibility
problem with seam 1.2.1. Also, MyFaces 1.1.5 doesn't work well with Seam 1.3.
So basically we can't change our
Hi,
In a processdef, one fork leads to several states, each state has a timer
attached. The idea is to do concurrent async executions through the
TimerServiceBean. However, get exceptions, when those states changing to join
node.
anonymous wrote : Caused by:
Yes. I render a page with a login form on it. Idea for workaround of this - to
show a page after session invalidation?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4057103#4057103
Reply to the post :
I guess i have to force a redirect but how?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4057105#4057105
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057105
___
jboss-user
The problem is that when the page is redisplayed after logout and i the submit
button simply rerenders the page without invoking the login action
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4057104#4057104
Reply to the post :
jbpm.cfg.xml
jbpm-context
| service name=persistence
factory=org.jbpm.persistence.jta.JtaDbPersistenceServiceFactory
| field name=sessionFactoryJndiName
| string value=java:/WorkflowSessionFactory /
| /field
| field name=isCurrentSessionEnabledtrue //field
OK, I had time to sit down and do this properly and actually test it this time.
Its now working fine. What this means is that Seam now no longer needs a JTA or
JNDI implementation to run (though you will still need the jta api jar in your
classpath). Instead, Seam can delegate to
Hi
When we communicate with session bean by remote interface, jboss uses
rmi-iiop, but which protocol is used in communication with local interface?
Regards
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4057110#4057110
Reply to the post :
just set the flushmode to MANUAL
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4057112#4057112
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057112
___
jboss-user mailing list
anonymous wrote : Seam configuration could have been made simple by writing to
the jboss deployment framework. All the gobbledegook in web.xml and tagging ejb
jar files with a seam.properties file would have been unneeded. Sure, you would
have to use that extra metadata if you wanted to run in
Add a navigation rule in pages.xml, of course:
navigation from-action=#{identity.logout}
|redirect view-id=/
| /navigation
Or maybe just:
navigation from-action=#{identity.logout}
|redirect/
| /navigation
If you want to stay on the current page.
View the original post :
I am using seam 1.2.1 EJB 3.0 in JBOSS 4.0.5
Application that I am making has a need that every change is historically
saved. It is a bit of a pickle, but I have managed to make a system, actually
every entity has its historical counter part through which every change on
original entity is
Thanks for prompt responese.
Can flushmode be set at run time ?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4057114#4057114
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057114
Works like a charm. Thank you!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4057113#4057113
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057113
___
jboss-user mailing list
I am a newbie also, but I would try renaming the file to mysql-ds.xml.
HTH
Frank
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4057115#4057115
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057115
Thanks once again for doing this.
Believe it or not I'm in the boat of just installing a full EE environment, but
some decisions (made by less than informed people ^^) you just can't go against.
Thanks
View the original post :
Hi all,
I have created an entity bean class as Stores.java and Stateless Session bean
as SearchSession.java.
And i am using Search.xhtml(facelet) file to retrieve data from table Stores in
my local database.
I am using Seam 1.2.1 GA version to configure them
and i am using a query as
List
Hi all,
I have created an entity bean class as Stores.java and Stateless Session bean
as SearchSession.java.
And i am using Search.xhtml(facelet) file to retrieve data from table Stores in
my local database.
I am using Seam 1.2.1 GA version to configure them
and i am using a query as
List
Thank you for your timely help andydale.
Sorry for my belated reply.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4057118#4057118
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057118
Hi,
Should the same technique be used to layer xhtml resources like
EJB's can be (using the @Install annotation)? If so, how would you have
multiple pages.xml files - and would it conflict?
Say I had a real view: /product/function.xhtml and I had customised
version of it deployed at a
Hi,
which jar files are required to be copied in server's lib directory for
deploying mylayout.war file for our own layout and theme.
please help.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4057125#4057125
Reply to the post :
alesj thank you for ur reply
I added ejb3 support to my jboss 4.0.5 ,sorry for this silly mistake as i am
new to jboss.
Now following error is coming
15:46:28,531 WARN [ServiceController] Problem starting service
jboss.j2ee:service=EJB3,
| module=business.ejb3
|
Hi lionel,
can you please share more information on portlet that you are using i.e.
agenda, office portlet etc.
and can you please give me some brief about collobration portlet.
thanks
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4057127#4057127
Reply to
Please post the source.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4057123#4057123
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057123
___
jboss-user mailing list
Hi,
Should the same technique be used to layer xhtml resources like EJB's can be
(using the @Install annotation)? If so, how would you have multiple pages.xml
files - and would it conflict?
Say I had a real view: /product/function.xhtml and I had customised version
of it deployed at a
Try using one transaction per page load (preferably with one EJB call in case
of CMT). You might have to use wrapper transfer objects (which are considered
not necessary nowadays) to wrap entities of different types.
This made big difference in my case. Do not forget to cache JNDI lookups.
See
Try using Class-Path within the EAR manifest like in this example:
| app3.ear:
| META-INF/application.xml
| ejb1_client.jar
| ejb3.jar Class-Path: ejb1_client.jar
| webapp.war Class-Path: ejb1_client.jar
| WEB-INF/web.xml
| WEB-INF/lib/servlet1.jar
|
View the
I forgot to say, I deploy war files.
I looked at jbossweb and jboss AS
Thanks
Frank
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4057141#4057141
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057141
There is number of config (context) parameters which can be specified for
JSF 1.2 (which is now included in JBoss app server).
List:
http://wiki.glassfish.java.net/Wiki.jsp?page=JavaServerFacesRI#section-JavaServerFacesRI-WhatContextParametersAreAvailableAndWhatDoTheyDo
Are there any
Or @Begin(flushMode=MANUAL)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4057138#4057138
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057138
___
jboss-user mailing list
Hi,
have you got this error cleared, i am also having the same problem. If you have
solution please help me.
Thanks,
Malert Jones
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4057122#4057122
Reply to the post :
And local EJB interfaces vs remote ones to reduce serialization.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4057131#4057131
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057131
Hello,
We currently use tomcat and am thinking of trying jboss.
Currently we use JSF Grails apps.
Database is MySQL
I would like to learn Seam, but am wondering if it is overkill for the apps we
currently write, mostly CRUD.
Thanks
Frank
View the original post :
Have you trieed Sun's JSF 1.2? Seam 1.3.0.A is pretty good and 1.3.0 should be
out soon... You also should use facelets instead of JSPs.
Tomahawk immediate=true helps a bit too on forms where you do not need
validation. Hibernate caching should be used. Reduce number of complicated
EL
Could you show me where is the ajax code for validation? I cant find on the
source.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4057132#4057132
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057132
I think it would be a nice addition to the page actions mechanism if it was
possible to specify that a certain component is to be instantiated when the
page is visited, unless the component already exists. This would allow me to
put some initialization code for a page into that component's
And more ideas: Native IO on app server, JRockit JVM. Give JVM higher memory
settings. Use factories for stateless objects such as DAOs (so they are created
once and not repeteadly created/destroyed).
View the original post :
I guess this would be the answer:
PersistenceContexts.instance().changeFlushMode(FlushModeType.MANUAL);
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4057128#4057128
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057128
Ok, found the problem.
TimerService.add() does not have interval, so only one execution suppose to
run. Made a small patch, works fine now.
Still, the concurrent execption is really ugly. Will try tree cache to see if
any difference.
View the original post :
Delphi's Ghost wrote : I did try to seam-gen up an application using my dummy
dev database (Projects, and Issues per project), and it simply created pages to
list, view and edit the projects or issues. I'm not sure whether it was
supposed to pick up on the foreign key and list the issues per
I have a class Listing with two collections reviews and discussions. Both
Review and Discussion are subclasses mapped to the same table, distinguished by
a discriminator column type. I am using Seam 1.2.1 but the problem is most
likely related to the persistence mapping. Here are the mappings:
You are probably missing Spring deployer.
See example for instructions on how to install it.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4057150#4057150
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057150
The ajax stuff comes from ajax4jsf (or icefaces, or whatever), the validation
from hibernate-validator/hibernate-annotations, Seam just ties it together.
Look at org.jboss.seam.faces.Validation (it's in core in a released version).
View the original post :
I've added tomahawk 1.1.6 and wrapped document using tomahawk
t:document. App is using JSF 1.2 and Seam 1.3.0.A on JBoss 4.2.
The rendering works noticably faster, not sure why though.
Might be Seam development team could look at that and if performance
is indeed better Seam could be improved so
Yes -solved. it was a network problem - ports were blocked by firewalls. We
have a huge network, so perhaps it took so long because the requests went up to
timbuktu (where the forgot to close those ports) and back sometimes. Take a
look in the wiki where it is explained which ports must be open
did you insert the records into the table manually or did you use the
EntityManager?
i've noticed that when i insert records manually queries made with
EntityManager don't see them for a while. Not sure yet why that is...
if that's not your problem, then i would try the query as
Hi people,
I have four entities and they have ralationship.Example:
product|-1---*-|property|-1--*-|productRuleProperty|-*---1| textRuleProperty|
--
and I have query
from Product as p join p.properties pp join pp.productRuleProperties prp
join prp.textRuleProperty trp where
I used the word should, I'll try to get something done by GA.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4057154#4057154
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057154
Guys,
Take a look at:
http://java.sun.com/developer/technicalArticles/J2EE/jsf_12/#customMessages
Joao Paulo
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4057155#4057155
Reply to the post :
I think you would want to run your app with a profiler and find out,
empirically, where your app is spending its time. I think most commercial
profilers have trial versions, and there are a variety of ways to do this.
Your app design based on Seam/JSF is no doubt quite different than it was
mgrouch wrote : Use factories for stateless objects such as DAOs (so they
are created once and not repeteadly created/destroyed).
|
| ...
| Do not forget to cache JNDI lookups.
|
Again, you can certainly spend time doing this kind of stuff on the off chance
that it will improve
I did try adding package.jar to the Class-Path in manifest.mf, but the module
still comes up missing.
John
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4057159#4057159
Reply to the post :
I confirm it is the UseJBossWebLoader set to true that make the email fails. I
have to set to true coz I'm using rich faces drag and drop and it needs to
import the DropEvent class (org.ajax4jsf.dnd.event.DropEvent).
You suggested to put anything in the WAR, but how can I do with my case?
Is
We aren't planning to spend time making this work with UseJBossWebLoader=true.
What is your case? Let us know what jars you have where, and post relevant
code.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4057160#4057160
Reply to the post :
Thank you for your reply Jaikiran.
Configuration files and lookup code are generated with Xdoclet 1.2.3.
Bean Xdoclet tags:
* @ejb.bean name=Calc description=An EJB named Calc display-name=Calc
* view-type=both jndi-name=CalcHome local-jndi-name =
* CalcLocalHome
Hi,
is it possible, you are getting some where an uncaught exception (i would say
null pointer) and seam interceptor rolls back the transaction? In the next step
your page will rerender and touch a really null (or corrupt) objects.
Gena
View the original post :
Hi all,
I just downloaded the new CVS and tested it, but I got entityManager null
exception in Authenticator. Thank you in advance.
In Authenticator: @In(create = true)
| private EntityManager entityManager;
In components.xml core:managed-persistence-context name=entityManager
I've spent too much time on this so far and am wondering if conceptually I am
doing something wrong. I would imagine this to be a fairly common use case for
folks, so here's the issue:
Here's a snippet of my xhtml page -
| s:decorate template=layout/edit.xhtml
|
Sorry, I just found the solution from Seam examples. I changed the persisent
code as followings in components.xml, and exceptions gone. Thank you.
persistence:managed-persistence-context name=entityManager
| auto-create=true
|
If anyone else needs a solution, this is what I ended up doing.
|
| public class Avatar implements Serializable{
|
| private String nickName;
| private String style;
| private int index;
| /** Creates a new instance of Avatar */
| public Avatar() {
|
jndi-nameCalcHome/jndi-name
| local-jndi-nameCalcLocalHome/local-jndi-name
|
anonymous wrote : 02:52:22,390 INFO [BaseLocalProxyFactory] Bound EJB LocalHome
'Calc' to jndi 'CalcLocalHome'
| 02:52:22,406 INFO [ProxyFactory] Bound EJB Home 'Calc' to jndi 'CalcHome'
|
Your EJB is
The issue with this solution is that the converter is coupled to the User class
and so will only work if the list being displayed by selectOneMenu is the one
in the user class. It isn't an issue in my particular application though.
View the original post :
When you put declare a bidirectional relationship in a OneToMany and ManyToOne
relationship and put a cascade=CascadeType.ALL on the OneToMany declaration is
the cascade in both directions or only on the OneToMany relationship? In other
words if I have a airplane with passangers and I remove a
Hello I am new to JBoss JCA.
I want a simple running example of a JCA resource adapter. With all the
configuration files needed by jboss.
I would be thankful if anybody help me.
Regards
Milan
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4057172#4057172
change the package name
org.jboss.resource.adapter.jdbc.xa.oracle.OracleXAExceptionFormatter
to
org.jboss.resource.adapter.jdbc.vendor.OracleXAExceptionFormatter in
oracle-xa-ds.xml
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4057173#4057173
Reply to the
73 matches
Mail list logo