Nevermind, that was really a stupid question...
Anyway I found out where the stackoverflow occurs!
Loading the hashmap as maximum as possible as I was trying to do was right, but
I wasn't initializing internal collections of my complex objects before
serialization.
Once all collections of my ob
Declaring the Logger as static should also solve the problem
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4168897#4168897
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4168897
__
Hi again,
so I'm back from vacation, digging on the problem again.
anonymous wrote :
| A recursive write is okay, but if you keep adding circular references you
won't have stack to process the recursive calls necessary here.
|
| Something like:
|
| Map.put(key, AnotherMap);
| An
anonymous wrote : This might be happening because of the excessive stack on the
TreeMap.
Well, it could be, but not sure that this TreeMap could get too big. I have to
check if somewhere else in the code I have similar maps.
Still, about my first question: if all SFSB are destroyed, when can
se
Thanks for your reply.
anonymous wrote : This looks like a recursive write. Are you trying to use
HashMaps as trees?
Actually I do not have Maps of Maps if that's what you mean. The "candidate"
for this Serialization problem seems the following map (which is the field of a
SFSB):
TreeMap> ma
I am sorry I can't be more precise about this bug, nobody has ANY clue?
Just some more precisions about environment. I am using
Jboss Serialization 1.0.3.GA (included in JBoss Messaging 1.2.0.sp1)
>From another log file on one of our servers I digged out the same exception
>and noticed that the
Hello,
I am developing an application in the following environment
* Framework: Seam 1.2.GA (problem not related to Seam)
* JBoss: 4.0.5.GA + EJB3
* VM: jdk 1.5.0_09-b03
* DB: postgres
* O/S: Linux Debian
I encountered an exception (see stacktrace) which loops infinitely and forces
me to kill
The '1' is not a mistake, it was just an example to tell you that I have
different webservices under different paths with the same root:
/interfaces/InterfaceBean1
| /interfaces/InterfaceBean2
| etc.
I am not sure whether this was clear, but that those are webservices listening
to SOAP call
hugo_th02 how did you manage to configure an ssl webservice?
I tried to edit the jboss-beans.xml file at the following lines
${jboss.bind.address}
| true
| 8443
| 8080
in any way, but my WSDL file always generates a sop:adress in http
|
| http://my_host_name:8080/MyWebServiceB
Thank you for your quick answer!
However I am not sure to understand what to put in the url-pattern parameter.
All my interfaces are accessible through:
https://myserver.com:8443/interfaces/InterfaceBean
I tried just to test with
/interfaces/*
and also specifically with
/interfaces/Interfac
Hi,
I am using seam 1.2.1.GA. The seam documentation sais that it is possible to
set an explicit conversation id by parametrizing the begin annotation as
following:
| @Begin(id="edit-#{item.id}")
| public void selectItem() { ... }
|
I tried it but it doesn't look like it works.. The i
I implemented a very simple script to call a logout action:
|
|
|
| [
pageHeader shouldn't be a page, but you have to define the content that
replaces it in each page that uses your template:
|
|
Why don't you put the charset declaration in the html head (which should be in
your template file)?
|
|
| ..
|
|
View the original post :
ht
Gavin, isn't there anyway to trigger global events? I mean something like
Events.instance().raiseEvent(EVENT_NAME)
in the Application scope and capture it in the same way @Observer methods do?
(I am using Seam 1.2.1.GA)
Thank you!
View the original post :
http://www.jboss.com/index.html?modul
Anyone has other suggestions?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065652#4065652
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065652
___
jboss-user mailing list
j
I already do both. item = em.merge(item) is what I do after updating item
properties and, since I do not end my conversation after saving an item, I
execute em.flush() at the end of my "save" method, before rendering the item
list.
View the original post :
http://www.jboss.com/index.html?modul
Hi,
I'm not sure whether this is the right place to post this question, but I'm not
sure either if the problem I have comes from Hibernate or from Seam
Conversations.
I am using seam 1.2.1.GA and hibernate 3.2. In my application, data is updated
quite frequently by many concurrent clients. Sc
Thank you I will consider this option :)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063944#4063944
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063944
___
jboss-user mai
The @Factory("DatamodelName") method is called when the associated DataModel is
null. Since I nullify my DataModel anytime I need to reload data the @Factory
method gets called when I want.
I read the Debug and conversation names are correctly set.
If you annotate with @Unwrap a method that retu
I've read that post, it is quite related but I am not working with seam 2.0,
but my question is a bit more basic, since I'm not quite sure about the fact
that conversations can be nested at more levels...
Did you understand my scenario and do you have any alternatives to nested
conversations?
V
Please, nobody has a solution?
Thanks :)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063826#4063826
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063826
___
jboss-user ma
Hi,
In my application (Seam 1.2.1GA) I use 2 level of nested conversations to
navigate across categories, subcategories and items of each subcategory. That's
my scenario:
Bean 1 (select a category) -> Root Conversation
Bean 2 (select a subcategory) -> Nested inside the root
Bean 3 (edit an ite
Ops, I didn't see your answer...
To refresh the list I load again the page from a menu where I can select the
type of item to show:
|
|
|
|
where selectItemClass() is just a method that returns the item list page fr
One more thing: I actually noticed that if I do an em.refresh(item) on each
item before showing the list it works, but I'd like to find another solution
since this one is very expensive in time...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062331#4062331
Ok, I cleaned up the code to show you what is needed for this problem:
Here is the bean that shows the item list:
| @Name("itemList")
| @Scope(ScopeType.CONVERSATION)
| @Stateful
| @LoggedIn
| public class MItemListActionBean implements MItemListAction {
|
| @In(create = true,
Hi,
I have a page that shows a table built over a datamodel of items. each item
contains a collection of property, each of which represents a column of my
table. i.e.
i.e. a line in my table looks like this:
id_x | firstname_x | familyname_x
items can be added/edited from another page. After s
I solved the problem, actually in my login page I was correctly calling
id.authenticate() and id.addRole() right after authentication, but inside the
delete() method I was checking the role with a misspelled String (stupid
me).
Thank you anyway :)
View the original post :
http://www.jboss
I already solved the problem!
Thank you anyway :)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060252#4060252
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060252
___
jbos
Hallo,
could anyone give me a starter about how to set up ssl security for a seam
(1.2.1.GA) application?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059858#4059858
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=405
Something else: if I call the method addRole() after id.authenticate() the role
is actually added, but when I load the pages where I actually want to check if
the user is ADMIN (see first post when i call delete()) the method still
returns false.
Some additional info: I declared the authenticat
Ok I moved my addRole() method to the autenticate method:
public boolean authenticate() {
|
| Identity id = Identity.instance();
| User userReference = getUserFromDB(id.getUsername(),
id.getPassword());
|
| if(userReference == null) {
|
Hi I am trying to add user management to my seam application (v. 1.2.1GA) and
I'm getting some problems when assigning specific method access to different
roles. Precisely, when I call Identity.instance().hasRole("admin") I get false
although I setted the correct user role at login. Here is my L
sorry but what you mean by seam-gen up an application? could you give me a
small example? ..I'm not yet an advanced user of seam, started a couple of
months ago.. thank you!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056965#4056965
Reply to the post :
h
Hello,
I am developing a webclient application using Seam 1.2.1, Hibernate and a
Postgres DB on a Jboss 4.0.5.GA server.
There is a tab menu that allows to select the category and list all items of
this category. Each item can be clicked to edit its properties.
So far, to handle the navigation
34 matches
Mail list logo