Hi
I have a Stateful session scoped component namely "userSettings". I want when
user logged in its build method (annotated with @Create) being invoked.
first I marked it with @Startup but when the pages are loading this component
will load as well but at that time, there is no user logged in,
Hi Thomas,
Links you have mentioned are not working, may be the site is down please check.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078100#4078100
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078100
__
Outject it into the session scope when you perform the login.
| @Out(scope=ScopeType.SESSION) UserSettings userSettings;
|
Cheers,
Damian.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078102#4078102
Reply to the post :
http://www.jboss.com/index.ht
"damianharvey" wrote : Outject it into the session scope when you perform the
login.
|
but outject it from where? there is another component that performs
authentication named "Authenticator" when login performed and the user logged
in, at the same time, the userSettings doesn't exist to be
Version: jboss-4.2.0 (default config), EJB
I have a requirement of sending in an extra-arg from the client to the server
for every remote call, and the Interceptor on the server would validate this
extra arg.
I was able to successfully add the Interceptor on the server by adding to the
ejb-ja
Is jBPM Persistence supposed to be EJB componenet somewhen?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078105#4078105
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078105
___
I mean EJB3. Currently it's not easy to even make it work with Hibernate
EntityManagerFactory.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078106#4078106
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078106
__
Pete,
I fixed it by implementing my own version of
org.jbpm.persistence.db.DbPersistenceServiceFactory and properly configuring
jbpm.xfg.xml. In my case jBPM persistence is configured to use
EntityManagerFactory, I use sessionFactoryJndiName property to point to it.
Original DbPersistenceServic
Since your in a jsp, you cannot access the portlet session - in the meaning of
the portlets individual session.
We do it the other way around:
The object is written to the session with visibility
PortletSession.APPLICATION_SCOPE, which means that not only other porlets can
access that attribut
Matt is right, your list page has a wrong page descriptor that is definitely
not from seam-gen.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078109#4078109
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078109
_
If you mean an e-mail that will be send to the user after registration, with a
link in it to activate the account, you can find the code for this in the
examples/wiki/ directory in Seam CVS (I guess an older version in the Seam2
beta).
View the original post :
http://www.jboss.com/index.html?
sorry that I expressed wrong in my previous post. It worked when I said things
like this:
|
| public void someUserAction(){
| Conversations.instance().beginNested();
| if (someCondition)
| Conversations.instance().beginNested();
|
| }
|
It should be multi-level-ne
Hi all,
I'm seeing a sporadic transactional problem in my seam apps.
2007-08-26 10:40:25,474 ERROR [org.jboss.aspects.tx.TxPolicy]
IllegalStateException while setting transaction for rollback only
| java.lang.IllegalStateException:
[com.arjuna.ats.internal.jta.transaction.arjunacore.inactive]
Hi,
I've noticed an oddity since moving to Seam 2.0 from CVS.. Applications using
this version, when deploying their EAR file, do not remove the old exploded
ear-contents files from {serverhome}/tmp/deploy/
| tmp16401sundial.ear-contents
| tmp16402sundial.ear-contents
| tmp16403sundial.e
This is typically just another exception that occurs because of an earlier
exception. So look further up in your log.
Seam/JSF does not always immediately exit the request processing when an
exception occurs in a phase but continues processing other phases. One of the
reasons why this happens i
Hi Christian,
Thanks for the reply.
I've got instances where there is nothing erroneous in the log for up to 40
minutes prior to seeing this.. is that sort of timescale possible?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078118#4078118
Reply to the p
I'm getting the following error (Seam CVS (082507), Jboss 4.2.1GA):
anonymous wrote :
| javax.ejb.EJBTransactionRolledbackException:
org.hibernate.search.impl.FullTextSessionImpl
| at org.jboss.ejb3.tx.Ejb3TxPolicy.handleInCallerTx(Ejb3TxPolicy.java:87)
|
| ...
|
| Caused by: j
Hi,
today I had a problem in Seam using the togglePanel component, in simple words
I have a toggle panel with 2 states, the first has just 1 link, if I click it
will switch to an edit input control and a button to save the control.
When I click the first button I set the bean to edit (that is nul
Sorry I posted the wrong beans code (it was the one after some tests :P)..
this is the right one:
| @Name("homepageHelper")
| @Scope(ScopeType.CONVERSATION)
| public class HomepageHelper implements Serializable {
|
| private Gruppo gruppoEdit; // gruppo usato per l'aggiunta o la
OK so i have a problem regarded to properity binding.
i Understand that JSF widgets values can only be bound to a entity fields.
Suppose i have entity bean called user - with lastname firstname and screen
name.
Form lets you select screen name in 2 ways :
- Combo Box of combinations of the last a
Hi,
I have in my webapp a functionality that allows clients to upload image files.
As my webapp is deployed in an ear file I cant upload the image to the webapp...
I currently upload the image to some other folder on the server. The thing is I
want to show my clients a list of links to the upload
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=40
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBoss42FAQ
And just yesterday,
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=117051
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078127#40
I personally dont know whether the Servlet spec and Drools are related. Drools
(also known as JBoss Rules) has its user mailing list at [EMAIL PROTECTED]
Subscribe to that list and ask your question there. That mailing list is very
active and you have a higher chance of getting your question ans
Well, Seam is doing a rollback:
at
org.jboss.seam.transaction.UTTransaction.rollback(UTTransaction.java:70)
at
org.jboss.seam.jsf.SeamPhaseListener.commitOrRollback(SeamPhaseListener.java:586)
So there must be a cause.
View the original post :
http://www.jboss.com/index.html?m
Hi everyone,
I hope you can help me with the following problem:
I'm using 2 war files, let's call them war1 and war2.
All the files that are included in war2 are included also in war1, only with
different content (same class name, same package, different content). war1 has
some files that are no
anonymous wrote : Can i bind jsf widget to a session bean properity ? that
would solve the problem... but seems quite nasty :/
Of course and it's absolutely normal.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078131#4078131
Reply to the post :
http://www
If I attempt to set the jbossws-config-name to ".NET friendly Endpoint", it is
correctly picking up the config but the WSDL is not generated as it should.
It appears it does not rewrite the WSDL based on this setting. If I set the
config as an annotation in my class it works. Is there a wa
Is there a way to use sem with stored procedures?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078133#4078133
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078133
___
jboss
We host our web services behind a reverse proxy which serves as our security
and HTTPS termination. Everything works OK with the exception of the dynamic
WSDL generation. Since the URL used to access the WS service is not the same
as the actual URL of the JBoss service, the WSDL soap:address
OK so that leaves me with another question.
Suppose i havea form - i bind its values to a session bean then i filter the
ones im really intrested in and distribute the data between the Entity beans
... is this a good practice ?
Since i bind values to session bean there's no automatic creation o
Thanks Matt and Christian! As you had no doubt already concluded, this was
self-inflicted.
My page.xml's were correct (begin-converstation join=true in the Edit pages,
not begin-conversation in the List pages), but I had edited menu.xhtml and
removed the propagation="none" from the s:links t
You need to look at a few Seam tutorials and example applications...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078137#4078137
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078137
__
Yes, read the Hibernate documentation.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078138#4078138
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078138
___
jboss-user mail
Hi,
I have a test case in which I get wrong WSDLs:
(Both classes are in the same package)
File1:
| package com.;
|
| import javax.ejb.Stateless;
| import javax.jws.WebMethod;
| import javax.jws.WebParam;
| import javax.jws.WebService;
|
| @WebService
| @Stateless
| publi
I to all.
I'm developing a EJB3 + Struts app on jboss 4.2. It's very important to me, my
final project at the university. I have a problem binding the stateless
GestionBitacora. Simply I can't!
My code:
GestionBitacora.java
package stateless.bitacora;
|
| import java.sql.Timestamp;
| im
Hi,
When i try to create a web service via jbossws plugin i am getting an error
like this,
Running JBossWS wstools for [jbossws-test1]
directory: /home/kadir/workspace/jbossws-test1
command: sh -c .//home/kadir/Desktop/jboss-4.2.1.GA/bin/wstools.sh -cp bin
-config /tmp/wstools-config45367.xml -
"adityasri" wrote : Hi
| Can you please tell me what is the fix for this issue. What did you do to
put user in the correct group?
|
All you need is creating a role called "user", any user having this role can
login successfully.
View the original post :
http://www.jboss.com/index.html
wich ones in particular ? because in those mentioned in tutorial form values
are bound to entity beans directly. I dont really know, when binding directly
is a better idea than using session bean to hold data.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=407
First, sorry for the misspellings I was up late:-). Also, I have been trying
to find good examples for doing CRUD with JSF but for some reason I keep coming
up short. IT almost seems like this is not possible. In all of the scenarios
I have seen thus far an action has to occur first. If I wa
You Can start a new conversation to gold data model selection.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078153#4078153
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078153
Hi,
I'm using EJB 3 for a msg, the code likes:
@MessageDriven(activationConfig = {
@ActivationConfigProperty(
propertyName="destinationType",
propertyValue="javax.jms.Topic"),
@ActivationConfigProperty(
proper
If you want to reduce communication between app server and database server for
batch data processing, you may want to consider using a rule engine instead of
calling stored procedure from your conversation beans. The syntax of DRL
declarations is far, far more developer-friendly than any stored
not that i know of :(
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078156#4078156
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078156
___
jboss-user mailing list
jboss-use
Hi Christophe,
"dd_la_frime" wrote :
| I launched jboss and baamm !
| I got a ClassNotFoundException for org.jboss.varia.scheduler.Scheduler. I
started to search and found the package 20 minutes later
(scheduler-plugin.jar). It's not written in the documentation !
|
It is not indicated
Seam: 2.0.0BETA1
JBoss: 4.2.0
Facelets
I am having problems with a very simple datatable.
Here is my code
Bean
|
| @Name("usermanager")
| @Stateful
| @Scope(SESSION)
| @Restrict("#{identity.loggedIn}")
| public class UserManager implements UserManagerInterface {
|
| @
Hi, suppose I want to cache a map of objects, that will be updated by many
threads, but needs to have a fine tx control. It's acceptable to have rollbacks
with concurrent access on a map key, but not on concurrent access of different
keys. What is the best usage of jboss cache for this, it's own
"dashti" wrote :
| Exception during request processing:
| | Caused by javax.el.PropertyNotFoundException with message: "Target
Unreachable, identifier 'humansHome' resolved to null"
| | ...
| |
|
That's strange. Is there a class called HumansHome that is correctly annotate
Probably what I would do is put an @Observer("org.jboss.seam.postAuthenticate")
method in your userSettings component.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078161#4078161
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode
Instead of
| @Factory("users")
| public List getUsers() {
|
| List retUsers = null;
| ...
| return retUsers;
| }
|
you probably want something like
| @Factory("users")
| public void getUsers() {
|
| List retUsers = n
I've done a bit of research and had mulled over this for several days before
changing my schema to not require a many-to-many join. The issue is very simple:
I am using Seam-2.0.0-Beta with Hibernate.
The user registration form on the website that I'm building has a checkbox for
"receive email
Test case uploaded: http://jira.jboss.com/jira/browse/JBSEAM-1865
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078168#4078168
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078168
_
I could get it to work by making these changes.
Is this the right way??
//ClientInterceptor
package com.acme.ejb;
import java.io.Serializable;
import org.jboss.aop.advice.Interceptor;
import org.jboss.aop.joinpoint.Invocation;
import org.jboss.aop.util.PayloadKey;
public class AcmeOPClientIn
Unfortunately, JBoss shut itself down again today -- the -Xrs option is not
helping my problem of JBoss shutting itself down.
Is this problem still happening for anyone?
Better yet, has anyone found a resolution?
A little more background:
- running 4.0.4GA
- running jdk 1.5_09-b03
- running Cent
Please, take a look at screenshot here
http://jira.jboss.com/jira/browse/RF-726
http://jira.jboss.com/jira/secure/attachment/12315717/12315717_JBossProfile.GIF
There are 2 JBoss function which take significant time
These 2 functions took a lots of calls and a lot of time
24% for org.jboss.seam
Hi,
I was browsing Seam 2 examples and the third one had minor problem
it is in JSP so it took longer time :)
To finish task is in documentation
but server cried.
this works
--
If I expand profile beyond org.jboss.seam
it shows that (AnotherRun.jpg)
javax.faces.component.UIData.getValue()
takes 49% of time (with 1% own time) and is called 4,201 times
It seems it is being called to excessively. Is there a way to avoid so many
calls to it during rendering?
Thanks
V
Have you tried stepping through the calls in a debugger when your cache starts
up? I'd put breakpoints in loadState and loadEntireState.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078180#4078180
Reply to the post :
http://www.jboss.com/index.html?modul
I find the rendering of my Seam app very slow too, not sure who's fault
(RichFaces? Facelets? Seam? My code? ). Especially slow is the evaluation of
the "rendered= " conditions. RHS of each "rendered=..." expression is
evaluated separately at every page load. There should be stuff like batch
I am attempting to migrate an EJB 2 application from JBoss 4.0.3SP1 to 4.2.1.GA.
XDoclet is used to generate the ejb files.
During server start-up, after rebuilding the ear file, I get the error
"Finder findByLevelType defined on ProductDetail should return only instances
of ProductDetail but th
One more surprising finding with rendering table.
I tried to compare rendering time (RENDER phase and overall response time)
by rendering same table with regular h:dataTable tag
and using facelets ui:repeat
like this
|
| #{record.id}
| ...
|
|
facelets render it 3 times!!! faster o
anonymous wrote :
| I find the rendering of my Seam app very slow too, not sure who's fault
(RichFaces? Facelets? Seam? My code? ).
|
I think it is JSF implementation itself. Even if I use basic JSF tags it is
still slow. Third-party component libraries ad their own performance problems,
bu
I am getting the following error intermittently after a hot deploy. If I
redeploy enough it will always occur and then I have to restart the App server.
I get the error with both jrocket and hotspot JVM, however it appears to be
much more common running on hotspot.
Does anyone know what could b
Would it be possible to add a scanner for custom annotations into seam?
I am thinking something along the lines of:
1) Define the annotations that we are interested in in a configuration file, as
well as the application scope context variables that they are to be loaded into.
2) When the compon
There's actually a jira feature request for that:
http://jira.jboss.com/jira/browse/JBSEAM-1342
I'd like it, too, but it might not come for a little while.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078190#4078190
Reply to the post :
http://www.jboss.co
No one faced this problem before? I just wanted to deploy this portlet in a
newly installed portal bundle, but it failed, I don't think this is an
configuration problem
can anyone help me?
Eddie
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078191#4078
I might be prepared to work on it, as I have a use for it, but I would need
confirmation on how people would want it to work.
The JIRA issue seems to just be about making the Scanner class public, so it is
possible to write custom scanners.
I was thinking of re-using the seam scanner to reduce s
One more observation
During rendering table with h:dataTable it accesses number of other beans
| 2007-08-26 22:18:08,093 DEBUG [org.jboss.seam.contexts.Contexts] found in
event context: record^M
| 2007-08-26 22:18:08,093 DEBUG [org.jboss.seam.contexts.Contexts] found in
event context: reco
I've been playing with performance related settings more and found one
(a bit forgotten parameter) which made a big difference in my case.
I've set this in my web.xml
| facelets.BUFFER_SIZE
| 50
|
|
Increasing facelets.BUFFER_SIZE to 50 cut JSF response time almost in
h
For Sun RI
http://wiki.glassfish.java.net/Wiki.jsp?page=JavaServerFacesRI#section-JavaServerFacesRI-WhatContextParametersAreAvailableAndWhatDoTheyDo
There is
com.sun.faces.responseBufferSize
context parameter.
I wonder what will happen if I increase it too...
View the original post :
http:
More interesting results
with the following settings in web.xml
| facelets.BUFFER_SIZE
| 50
|
|
| com.sun.faces.responseBufferSize
| 50
|
|
performance of data table rendering improves.
Rendering using h:dataTable
now works a bit faster than
rendering sa
I wonder if Sun RI (server side state) will work faster on JBoss
if we could install fast JBoss serialization via
com.sun.faces.serializationProvider context parameter?
I know that myfaces has an option to disable serialization of
server side state completely and that has huge performance boost
Hi there,
I can access http://www.hibernate.org but not any other pages, like
http://www.hibernate.org/6.html etc...
Anyone faces this problem?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078200#4078200
Reply to the post :
http://www.jboss.com/index.htm
I don't think this is the right forum for you to ask about JSF RI :)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078201#4078201
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078201
__
"kueltje" wrote : lots. Try reading the docs
http://docs.jboss.com/jbpm/v3.2/userguide/html_single/#d0e622
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078202#4078202
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=407
Where can I found the JBoss Portal API? Looked everywhere on the site for it.
Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078205#4078205
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078205
_
Looks like it has been closed in
http://jira.jboss.com/jira/browse/JBAS-3529.
but not back ported to JBoss 4.2
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078207#4078207
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=repl
Hi,
Is downgrade setup of WS4EE will work for jboss application server 4.2.0.GA?
Regards,
Ambika
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078208#4078208
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=407820
hi ,iam new to this forum.
iam trying to develop a simple hello webservice in JBOSSIDE 2.0
when iam deploying iam getting lot of problems.i request the memebers to send
proper procedure for the development of webservice and deploying it to Jboss
thank you
View the original post :
http://www.j
I would like such a book, too.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078210#4078210
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078210
___
jboss-user mailing list
Hi,
The senario: The UserManagerBean is deployed in a JBOSS and this bean
is used to login to the application. As a stand alone java class (Client)
using the following code I could call the login() on the remote of that Bean.
System.setProperty("java.security.auth.login.config",Constants.AUTH_CO
sorry for not being more clear, but my scenario is like this.. A user performs
some action to finish a task on one webpage. In the java side, I capture what
action the user performed, modify the task accordingly (set variables, etc),
end it and close the context.
now, to decide which page to sh
i forgot to add that jbpmtemplate.findProcessInstance() gives updated values
when a new request is sent (ie, when i navigate back to my current page from
some other page), it only fails to update when i want to refresh data on the
same page, and the new page values for task are computed in the s
Maybe we should wait for Christian Bauer and Gavin King to write "the book"
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078214#4078214
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078214
___
very good!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078218#4078218
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078218
___
jboss-user mailing list
jboss-user@lists.jbo
I don't want to write another large and complicated book at the moment. But I'm
happy to review anything.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078220#4078220
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=407
Hi,
I have successfully deployed jBPM process and could able to test it
successfully. And i could even find the records related to deployed process in
db(JBPM_PROCESSDEFINITION,JBPM_PROCESSINSTANCE.).But there are no records
inserted in the table JBPM_BYTEBLOCK,JBPM_BYTEARRAY.so, when iam
anonymous wrote :
| Actually I've been developping myself an MDA generator for Seam using
Acceleo, for my company, but unfortunately they don't plan to put it on
opensource.
|
Any chance your company rethinks about this?
View the original post :
http://www.jboss.com/index.html?module=bb&
Hi,
I did, indeed, install Jboss AS with JEMS-installer. But you may add this in
your documentation. Well...
I have absolutely nothing in the logs. I only have this "null" right above the
form after submitted it.
I even try to modify the password directly in MySQL. Nothing works.
cheers.
Chri
88 matches
Mail list logo