[jboss-user] [EJB/JBoss] - Re: Are these warnings on startup anything to be concerned w

2009-05-26 Thread agori
jaikiran wrote : From what i know, these messages can be ignored. Carlo (from 
EJB3 dev team) had once mentioned in the EJB3 forum and in the JIRA that :
  | 
  | anonymous wrote : For a bean developer this warning can be safely ignored.

I really hope that  you (JBoss team) are going to improve logging in next 
release of JBossAS5, because it's full of mess. 

Printing useless wanrning messages is like telling us to ignore EVERY warning 
message (also the useful ones).

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4233225#4233225

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4233225
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Sharing HttpSession between multiple webservices

2008-10-24 Thread agori
I found that this solution works:


  | MyService client1 = (MyService) service.getPort(...);
  | BindingProvider prov1 = (BindingProvider) client1;
  | MapString, Object request = prov1.getRequestContext();
  | request.put(BindingProvider.SESSION_MAINTAIN_PROPERTY, true);
  | client1.login(agori, sfsfaf);
  | 
  | Object cookieJar = 
request.get(com.sun.xml.internal.ws.client.http.CookieJar);
  | 
  | MyService2 client2 = service.getPort('...');
  | BindingProvider prov2 = (BindingProvider) client2;
  | request = prov2.getRequestContext();
  | request.put(BindingProvider.SESSION_MAINTAIN_PROPERTY, true);
  | request.put(com.sun.xml.internal.ws.client.http.CookieJar, cookieJar);
  | 
  | client2.myMethod();
  | 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184435#4184435

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184435
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Sharing HttpSession between multiple webservices

2008-10-20 Thread agori
Actually we have two or three webservices in the same EAR. 
They are also stateful webservices, because thought they are marked as 
@Statless, they should mantain some data between client calls using HttpSession.

First question: if we use HttpSession as data container, is possible to share 
this session among multiple webservices? We know about the SESSION_MANTAIN 
property, but it works only in case of a single WS. 
What should I do at client side?

Second question: we are using EJB Session bean. Is possible to share the 
HttpSession between two or more EAR or JVM? I mean, if we deploy our WS in 
different machines, how is possible to make them see the same HTTP session?



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4183157#4183157

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4183157
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - EntityManager is singleton?

2008-07-23 Thread agori
I know that an injected EntityManager (@PersistenceContext EntityManager em) in 
not a singleton. But this is what I am experiencing in my application!

I have a @Stateless bean with @PersistenceContext entity manager. It seems that 
during the whole application the entitymanager is *always the same object*. 

Why?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166084#4166084

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166084
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: does seam-gen support tomcat?

2007-03-28 Thread agori
Any news about this topic?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4032331#4032331

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4032331
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: JBoss Seam + SunRI

2007-02-28 Thread agori
mariuszs wrote : I think JSF1.2 requires JEE 5 (JBoss 5)

That's asbolutely not true, if you use Facelets as presentation technology 
(insteaf of JSP).

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4023678#4023678

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4023678
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Partial Validation

2007-02-15 Thread agori
eiswind wrote : Has anyone an idea how I can do a partial Validation ? I have 
a button that submits my page and I want some fiels to be validated at this 
time but other field need to be validatet later on. I think this is a problem 
with the update model phase but maybe someone has a similar problem ?
  | 
  | Thanks for any ideas.

MyFaces Sandbox has something about partial data submission.
Another choice could be the use of ajax (I suggest ajax4jsf).

Maybe, but not sure about it, could be usefull also the immediate property 
(it is in every UICommand and EditableValueHolder component).

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4016985#4016985

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4016985
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - does seam-gen support tomcat?

2007-02-15 Thread agori
I would like to create a project for tomcat using seam-gen.
But I see that it ask only for the jboss AS...is possible to chose tomcat 
instead?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4017065#4017065

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017065
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: does seam-gen support tomcat?

2007-02-15 Thread agori
saeediqbal1 wrote : Just wondering aloud.. Hey agori you may have a solution 
here. Make it in Jboss AS and port it over to tomcat ? run both servers on 
different ports. 

Could you explain me what are the steps needed?
How to pack the micro container etc..for tomcat?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4017182#4017182

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017182
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Does Seam work with JSP2.1? and what to use Facelets or

2007-02-01 Thread agori
terryb wrote : thanks agori. I guess you use facelets. may I ask which 
development environment you use?
  | 
  | also what do you think about using jPDL vs JFS Navigation?

I am not a Seam user at the moment, sorry ;)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4009474#4009474

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4009474
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Customize validation messages

2007-01-25 Thread agori
hamtho2 wrote : 
  | By the way: I think that would be a great benefit for seam to have this 
component, so why don´t you make it a core-feature? I think it´s a very common 
and important thing to display user-friendly validation-messages. You should 
definately think about it
  | Thomas

If you need, JSF  RI (1.2) has already the requiredMessage attribute...

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4006356#4006356

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4006356

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: s:link

2007-01-24 Thread agori
agori wrote : 
  | 
  | and in some action-association.xml
  | 
  | #{item.selectItem}
  | 
  | 

Sorry, I meant


  | associations
  | 
  | alias name=item
  | #{itemBean.selectItem}
  | /alias
  | 
  | /associations

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4005716#4005716

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4005716
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: s:link

2007-01-24 Thread agori
[EMAIL PROTECTED] wrote : No, you can't put this stuff in form fields, 
because there is no form! s:link if for GET requests. These parameters only 
appear when they are needed. In simple cases, they aren't there at all.

What do you think about using alias names instead of action method encoded in 
the URL? 

s:link alias=itemSelect Item/s:link

and in some action-association.xml

  #{item.selectItem}


or much better a new annotation.

This is also an improvement abuot security (you are not exposing the action 
method name to the client, but I am not sure what seam actualliy is exposing so 
I could be wrong).

I did a link component + JSF phase-listener to make work this idea some time 
ago. The result is that you get prettier URL and maybe good security, but you 
still have to config the association between alias and action in some XML (but 
Seam could use an annotation).

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4005714#4005714

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4005714
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - PDF

2007-01-23 Thread agori
Is possible to use the new PDF library without the whole Seam?
I mean, is it enoght seam-ui.jar and seam-pdf.jar, or should I add the other 
jar and config the JSF phase-listener in my faces-config.xm and other stuff in 
web.xml?


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4005369#4005369

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4005369
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user