[jboss-user] [JBossWS] - Re: Webservice invocation woes!

2007-11-05 Thread [EMAIL PROTECTED]
Hi,

   according to your post it seems to me there are fighting two versions of 
SAAJ in your code. Try to ensure only JBoss SAAJ version is used. You can 
enforce this e.g. by setting up 
the following JVM properties in your IDE:

-Djavax.xml.soap.MessageFactory=org.jboss.ws.core.soap.MessageFactoryImpl
  | -Djavax.xml.soap.MetaFactory=org.jboss.ws.core.soap.SAAJMetaFactoryImpl
  | -Djavax.xml.soap.SOAPFactory=org.jboss.ws.core.soap.SOAPFactoryImpl

Richard

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101675#4101675

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101675
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Web Service client side

2007-11-05 Thread [EMAIL PROTECTED]
Hi,

   you must set up SOAP action too

Richard

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101677#4101677

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101677
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Error when deploy bean !

2007-11-05 Thread catania
Hi all!
  I use jboss-4.0.5.GA and EJB3.0.
  Today, when I deploy my bean (entity bean), Jboss server give some error same 
as:
...
  | Caused by: java.sql.SQLException: General error message from server: "Can't 
create/write to file 'C:\WINDOWS\TEMP\#sql_758_0.MYI' (Errcode: 13)"
  | at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2001)
  | at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1168)
  | at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1279)
  | at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1225)
  | at com.mysql.jdbc.Connection.execSQL(Connection.java:2278)
  | at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
  | at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
  | at 
com.mysql.jdbc.DatabaseMetaData.getColumns(DatabaseMetaData.java:857)
  | .

  Three days ago, all things are ok!

  have some ideas about it!

  Thank, 
  catania.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101676#4101676

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101676
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: how to order pages in jboss portal

2007-11-05 Thread dreyk
You may do it in UI. Add "order" properties to all you pages.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101680#4101680

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101680
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Performance Tuning] - too many system gc calls?

2007-11-05 Thread dobellsa
Hi!

  I'm using a jboss 4.2.0 server in a machine with theese features:

- RAM: 4 GB
- CPU: 2 processors ( Intel Xeon E5320  @ 1.86GHz)
- Operating system: Centos 5.5
- Java: jdk_1.6.0_03
- Jboss: 4.2.0_GA

  The jvm parameters are:

 -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=360 
-Dsun.rmi.dgc.server.gcInterval=360 -Dcom.sun.management.jmxremote


   If i use jconsole I can see that the memory is free almos every minute 
althoug the heap is less than 80Mb used and nobody is using the only one 
application deployed in server. 

If I set the parameters:

 -Xms512m -Xmx512m -Xmn150m -Dsun.rmi.dgc.client.gcInterval=360 
-Dsun.rmi.dgc.server.gcInterval=360 -Dcom.sun.management.jmxremote

Memory is just free when the heap goes to 150Mb, so gc is called every 30 
minutes more or less.

The question is, what parameters are good? The first ones or the second ones?
What aditional parameters can I use to get better performance and heap, jvm 
tuning?

Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101682#4101682

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101682
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - how JBoss SEAM support Post, Delete etc. types of request in

2007-11-05 Thread vishal22_mehra
Hi All,
  JBoss SEAM support Get request in the Page Action. Can anybody tell me how 
JBoss SEAM support other kind of request like Post,Put, Delete etc.  As 
specified for CRUD operations for REST application.

  Any article, post or example on this problem would be helpful.

Thanks
Vishal Mehra

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101683#4101683

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101683
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: Forwarding from Jboss over Apache using mod_proxy withou

2007-11-05 Thread argonist
Hello,

now I solved my problem.

It's reallay strange. If I invoke url www.ponte-net.de, I get only plain text. 
If I invoke url with index.html www.ponte-net.de/index.html, I get html text. 
Can someone explain why, please?

Manu

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101684#4101684

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101684
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - Sharing classes

2007-11-05 Thread martinchox
Hello,

The situation is as follows, I have an app deployed in a jboss-4.2.0.GA server. 
From that app I dinamically invoke differents jars that includes a reference to 
an interface of an API that is in the .ear (in another jar).

At runtime I want to link the reference in the jar I dinamically invoke with 
the instance of my API, so that the api can be used in the jar dinamically 
loaded.

So far I have not been able to do this because an IllegalArgumentException 
throws when I do the invockation, and is because differents IDs are assigned to 
the type of the interface. 

Hope understands, I have tried a lot of things and nothing works, so I would 
apreciate a lot if somebody helps me.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101685#4101685

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101685
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: NoSuchMethodError exception on webservice invocation

2007-11-05 Thread rukus
I've tried to create ws with netbeans ide and there is same exception - then 
i've tried to create it with idea and it works fine... looks like this is 
netbeans bug (i've seen some bug connected with RPC style binding in it's bug 
tracking system)


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101686#4101686

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101686
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: ExtendedFormAuthenticator touch-up

2007-11-05 Thread aparolini88
Just a though:

I have written more or less the same FormAuthValve you have for our apps ( 
since we don't use your SecurityAssociation object, we have our own Principal 
class).

I use too a threadlocal var to hold my loginexception in order to overcome the 
JAAS limitation, but in my implementation, I just put the populateSession() 
method in the forwardToErrorPage(), and not in :authenticate() and 
forwardtoLoginPage(). Doing so the use of notes to avoid doing the work several 
times is not required any more.

- antonio





View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101687#4101687

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101687
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Management, JMX/JBoss] - ClientUserTransactionService on unified invokers?

2007-11-05 Thread petertje
Hi,

I noticed that in JBoss 4.2.1 most remote calls (e.g. all EJB container 
configurations) are directed over the new unified invokers. However, there is 
one service that is still explicitly using the "old style" jrmp invoker: 
UserTransactionService. 

Now my question is: Is it possible to let this one use the unified invoker too? 
As the jrmp invoker is further not used (as fas as i can tell), we want to 
remove it from the configuration in order to limit the number of ports used...

Thanks in advance for any help.
Regards,
Peter.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101689#4101689

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101689
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Process Status

2007-11-05 Thread ruds
Hello,
is it possible to query all the processes/tasks status for a specific users 
without passing by the persistence layer(no db needed)? 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101690#4101690

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101690
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - How to deploy a process archive file?hI,

2007-11-05 Thread kamleshkr
Hi,

I want to know what the eclipse plugin does while deploying a process archive. 
Instead of deploying using eclipse, i have just created a local process archive 
file. Now how and where to deploy this websale.par file? Can i put this *.par 
file somewhere in my web application and how can i use that in this case?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101694#4101694

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101694
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Another conversation question ...

2007-11-05 Thread greko
Hi Pete !

Thanks for your reply.

I've updated my code so that I always stay in the same conversation (no more 
nested).

I've also added this :

DeviceSearchAction.java 

  | @Observer("org.jboss.seam.afterTransactionSuccess.RTHDevice")
  | public void refreshDevices() {
  | logger.debug("refreshDevices() method called.");
  | queryDevices();
  | }
  | 

But I still have a problem : If I perform a submit on my edit screen, and the 
validation fails, my data is gone and not recreated. So if I click my cancel 
button, whithout finishing my transaction, I return to my previous list with 
empty data.
Is there another event to observe ? Or should I refresh my data each time I 
return to my list ?

Thanks a lot !

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101693#4101693

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101693
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: GWT-Ext or Ext JS with Seam apps?

2007-11-05 Thread damianharvey
I spent some time on the weekend looking at Ext integration with Seam using 
JSON. I'd love to see your Seam Remoting approach. Are you able to post any 
code?

Thanks,

Damian.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101697#4101697

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101697
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Process Status

2007-11-05 Thread kukeltje
no, you need a db if you want to have some kind of tasklist/processinstances 
functionality (other than one processinstance). But you can configure e.g. 
hsqldb to act as an in-memory db

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101699#4101699

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101699
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] Problem with ForceRender listener

2007-11-05 Thread Alexander Kovachev
 I used when I include a JSP with  and then inside the jsp I use ForceRender
listener in datatable to dynamically render a single row of the table I
get the following exception:



 
 
  
 Code:   
 
 
SEVERE: Servlet.service() for servlet Faces Servlet threw exception
java.lang.IllegalArgumentException: Illegal view Id for build AJAX Action URL: 
parentOfSome.jsp
at 
org.ajax4jsf.framework.ajax.AjaxContext.getAjaxActionURL(AjaxContext.java:795)
at 
org.ajax4jsf.framework.renderer.AjaxRendererUtils.buildEventOptions(AjaxRendererUtils.java:240)
at 
org.ajax4jsf.framework.renderer.AjaxRendererUtils.buildOnEvent(AjaxRendererUtils.java:171)
at 
org.ajax4jsf.framework.renderer.AjaxRendererUtils.buildOnClick(AjaxRendererUtils.java:131)
at 
org.ajax4jsf.renderkit.AjaxCommandRendererBase.getOnClick(AjaxCommandRendererBase.java:66)
at 
org.ajax4jsf.renderkit.html.CommandLinkRenderer.doEncodeBegin(CommandLinkRenderer.java:97)
at 
org.ajax4jsf.renderkit.html.CommandLinkRenderer.doEncodeBegin(CommandLinkRenderer.java:88)
at 
org.ajax4jsf.framework.renderer.RendererBase.encodeBegin(RendererBase.java:101)
at 
javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:515)
at 
org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:453)
   
  
 




I guess the problem has to do something with the aj4:include
component cause it works fine if I use facelet's  . 

-
Избери от 30 000 заглавия с най-големите отстъпки в WWW.MOBILIS.BG___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Namespace or alias of messages' key

2007-11-05 Thread atao
I like this idea.

Can you create a jira entry?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101709#4101709

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101709
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - conversation???

2007-11-05 Thread constantin.cash
Instance of User will be saved twice,

service:

@Stateful
  | @Name("inseract")
  | public class InserAct implements InserActI{
  | @Logger private Log log;
  | 
  | @In private FacesMessages facesMessages;
  | 
  | @In private EntityManager entityManager;
  | 
  |   //  @In private Context sessionContext;
  | 
  | @In(required=false) Artikel artikel;
  | 
  | @In private Identity identity;
  | 
  | 
  | private Kategorie kat;
  | 
  | private Kategorie ukat;
  |  
  | private List ukats;
  |  
  | private byte[] data;
  | private String contentType;
  | private String fileName;
  | private String title;
  | private int size;
  | 
  | 
  | public String weiter(){
  | return "/fupload";
  | }
  | 
  | @Remove @Destroy
  | public void remove(){
  | 
  | }
  | 
  | //@End
  | public String upload() {
  | Img img = new Img();
  | img.setEdata(data);
  | img.setEtype(contentType);
  | img.setEsize(size);
  | 
  | User usr = null;
  | try{
  | usr = (User) entityManager.createQuery("select u from User as u 
where u.email = :email")
  | .setParameter("email",identity.getUsername())
  | .getSingleResult();
  |
  | artikel.getImgs().add(img);
  | img.setArt(artikel);
  | artikel.setUsr(usr);
  | artikel.setKat(kat);
  |
  | //entityManager.merge(artikel);
  | 
  |
  | usr.getArts().add(artikel);
  |  artikel = null;
  |  entityManager.merge(usr);
  |  usr =null;
  | return "/upokay";
  | }catch(Exception ex){
  | log.error(ex);
  | return null;
  | }
  | 
  | 
  | }

view:

  |  
  | 
  | 
  | 
  | Titel:
  | 
  |  *
  | 
  | 
  | 
  | 
  | 
  |  Kategorie:
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |  *
  | 
  | 
  |   
  | 
  | 
  | 
  | 
  | 
  |  Hersteller:
  | 
  |  *
  | 
  | 
  | 
  | 
  | 
  | 
  | Model: 
  | 
  | 
  | 
  |   *
  | 
  | 
  | 
  | 
  | 
  | ...
  | 
  |
  | 
  |  
  | 
  | 


model:


  | @Entity
  | @Name("usr")
  | @Table(name="users")
  | public class User implements java.io.Serializable {
  | 
  | @Id @GeneratedValue(strategy = GenerationType.AUTO)
  | private Long id;
  |   
  | @NotNull private int anrede;
  | 
  | @NotNull private String firma;
  | private String str;
  | private String plz;
  | private String ort;
  | 
  | @Email @NotNull private String email;
  |
  | @NotNull @Length(min=6, max=30) private String passwort;
  | 
  | @OneToMany(mappedBy="usr",cascade = CascadeType.ALL)
  | private List arts;
  | 
  | 





  | @Entity
  | @Name("artikel")
  | @Table(name="artikel")
  | public class Artikel {
  | @Id @GeneratedValue(strategy = GenerationType.AUTO)
  | private Long id;
  | 
  | private String hersteller;
  | 
  | private String typ;
  | 
  | private String model;
  | 
  | private double preis;
  | 
  | private String titel;
  | 
  | private double gewicht;
  | 
  | @NotNull @ManyToOne
  | private User usr;
  | 
  | @NotNull @ManyToOne
  | private Kategorie kat;
  | 
  | @Length(max=1000)
  | private String beschreibung;

[jboss-user] [JBoss Seam] - Re: JSF performance tips in Seam applications

2007-11-05 Thread lisaanm
Hi,
 I came across a performance tip for JSF/JSP pages and would like to confirm it.

Here is what they say:
JSF/JSP tags should be in one line.

Example:

BEFORE

  | 
  |
  | 
  | 

AFTER

  |   
  | 

Eventhough tough to read JSF/JSP pages, but for production i think its OK.

Any comments about this.

Thanks

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101712#4101712

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101712
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: JDBCCacheLoader problem in java application

2007-11-05 Thread [EMAIL PROTECTED]
Hmm, yes and such problems won't crop up in Derby given that the number of 
connections is theoretically unlimited.

http://www.nabble.com/Maximum-connections-to-embedded-database-t4547454.html


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101716#4101716

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101716
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Can I dynamically configure workflow in a thin-client enviro

2007-11-05 Thread tomnicholls
I'm about to evaluate jBPM for our project, and would be grateful for a brief 
answer to a couple of questions:

Can business rules/workflow be configured at runtime?  And can this be done 
from a web browser?  This would allow our customers to assign their own 
workflow definitions.

If the answer is no,  I am thinking that we could configure a number of 
possible workflows and allow customers to purchase the ability to use them - 
perhaps by somehow assigning each piece of workflow to a particular "role" and 
allowing roles to be assigned at runtime (if this is allowed).  Would this make 
sense?

We are looking to create a "building block" application, where customers 
purchase from a choice of workflows and these are instantaneously assigned.

Thanks in advance to anyone who can help - it would be particularly good if 
someone could point out where to find relevant documentation on this.

Tom

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101717#4101717

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101717
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - getting ManagedBean out of Conversation

2007-11-05 Thread jamesjmp
hi,
In a edit form I have a button (s:button, I don´t want to submit). When I press 
it I invoke a java method. In that method I want to access to the bean related 
to the conversation to check some values. Is that possible?



  | 
  | if(getConversation()!= null)
  | {   //Aqui me cargo la conversacion si es que existe
  | System.out.println("conversation ID  " 
.concat(getConversation().getId()));
  | //access to managed bean in Conversation
  |  
  | }
  | 



is there a way to do this?
thanks in advance! 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101719#4101719

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101719

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


[jboss-user] [JBoss Seam] - Re: @DataModelSelection help

2007-11-05 Thread carloszaniolo
I totally agree, Datamodelselection should be initialized with null.

I've made a patch in my seamfonts to change this. 

But now it is a bad idea to change this for Seam future versions, because such 
change will probably affect existing Seam applications behaviors.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101721#4101721

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101721
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: JDBCCacheLoader problem in java application

2007-11-05 Thread [EMAIL PROTECTED]
Ok, so I tried this with a remote MySQL 5 database, ran through 2000 iterations 
and had no problems.  

It will be a while before I can test this on Oracle as well, what version of 
Oracle and which JDBC driver do you use?  

Do you know if a firewall between your app server and database is causing 
connection problems, this can be a pretty common issue. 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101723#4101723

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101723
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: JDBCCacheLoader problem in java application

2007-11-05 Thread gmeroz
1. Should i open a bug for that?

2. Is there is any workaround your can think of? i need to pre-cache some data, 
i was planning to use jboss cache for that.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101722#4101722

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101722
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: changing name of jdbc.table.name?

2007-11-05 Thread mircea.markus
At that point the cache loader tries to create a table with the given name, but 
fails due to ORA-02264. Most likely you changed the name of the table, but kept 
the same name for the primary key constraint (as gmeroz said, 
cache.jdbc.table.primarykey).   If so , can you please also change the name of 
this entry together with the name of the table and try again + let me know the 
results?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101727#4101727

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101727
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: JDBCCacheLoader problem in java application

2007-11-05 Thread [EMAIL PROTECTED]
Basically I can't see how or why connections aren't being released.  If there 
is an issue, I suspect it may involve the Oracle driver and/or the connection 
to the database.

Have you tried using a c3p0 connection pool instead?  This may help you as a 
workaround.



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101725#4101725

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101725
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Error when deploy bean !

2007-11-05 Thread jaikiran
Looks something specific to MySQL. See if this  helps: 
http://forum.java.sun.com/thread.jspa?threadID=5061757&messageID=9231008


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101728#4101728

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101728
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Jboss 5 Beta 2 won't even run with Java 5?

2007-11-05 Thread l33t_Phr3Ak
Hey ho,

i hope somebody can help me out here:

The symptoms:

-> Jboss 5 Beta 1 runs with both Java 5 and Java 6.

-> Jboss 5 Beta 2 doesn't run with both Java 5 and Java 6?


Now i know that the Beta does NOT run with Java 6, but everything i read said 
it should run with Java 5?


According to this Jboss-Bug entry:

http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassNotFoundJava.lang.StringInJDK6


anonymous wrote : 
  | Problem:
  | 
  | You get the below exception when running JBoss with JDK 6:
  | 
  | java.lang.IllegalStateException: Class not found: [Ljava.lang.String;
  | 
  | 
  | 
  | Cause:
  | 
  | This exception is caused because of the improper use of classloaders in 
JBoss code. Look at this forum thread for more details.
  | 
  | Solution:
  | 
  | Use JDK5
  | 
  | 


Yeah exactly, use Java 5


But regardless of the java version i use (meaning 5 or 6), i always get the 
exact same error message:



  | 07:56:33,596 INFO  [ProfileImpl] Using profile 
root:/opt/jboss-5.0.0.Beta2/server/default
  | 07:56:34,763 ERROR [AbstractKernelController] Error installing to 
Instantiated: name=DeploymentFilter state=Described
  | java.lang.IllegalStateException: Class not found: [Ljava.lang.String;
  | at 
org.jboss.metadata.spi.signature.Signature.stringsToClasses(Signature.java:174)
  | at 
org.jboss.metadata.spi.signature.Signature.stringsToClasses(Signature.java:125)
  | at 
org.jboss.metadata.spi.signature.Signature.getParametersTypes(Signature.java:292)
  | at 
org.jboss.metadata.plugins.loader.reflection.AnnotatedElementMetaDataLoader.getComponentMetaDataRetrieval(AnnotatedElementMetaDataLoader.java:138)
  | at 
org.jboss.metadata.plugins.context.AbstractMetaDataContext.getComponentMetaDataRetrieval(AbstractMetaDataContext.java:280)
  | at 
org.jboss.metadata.spi.retrieval.MetaDataRetrievalToMetaDataBridge.getComponentMetaData(MetaDataRetrievalToMetaDataBridge.java:159)
  | at 
org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.methodHasAnnotations(AOPConstructorJoinpoint.java:202)
  | at 
org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.hasMethodMetaData(AOPConstructorJoinpoint.java:172)
  | at 
org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.hasInstanceOrJoinpointMetaData(AOPConstructorJoinpoint.java:152)
  | 

This is exactly the error message which is described in the bug report.

So in a nutshell:

Why won't Jboss 5 Beta 2 run with Java 5 although this is the "official" bug 
solution?

Can somebody confirm that?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101729#4101729

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101729
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Feature request regarding nested conversations

2007-11-05 Thread wschwendt
Hi Pete, thanks for your post and please excuse my late response, too.   I 
hardly followed this forum in October and therefore didn't notice earlier that 
you posted a response in this thread. 



"[EMAIL PROTECTED]" wrote : 
  | "Wolfgang Schwendt" wrote : And the following approach is not  viable 
either: We cannot simply access a component from the parent conversation and  
call a property Setter of this component with the ending result of the nested 
conversation supplied as argument for this Setter.
  | 
  | This is what you are supposed to be able to do.
  | 
  | 
  | "Wolfgang Schwendt" wrote : The reason is that when a component from the 
parent conversation is called while the nested conversation is still in 
progress,  the ManagedEntityIdentityInterceptor saves  wrappers for the called 
component in the scope of the nested conversation (!) and not the scope of the 
parent conversation.
  | 
  | I'm 90% sure this is a bug.  Do you have a JIRA issue open for it? Can you 
point me at it if you do? I need to review it carefully with Norman.
  | 

ok, if one is really supposed to call a component of the parent conversation in 
order to transfer the result of the nested conversation, the behavior looks 
indeed like a bug.By the way, in the meantime another thread regarding the 
problem was opened by Denis Karpov in late October:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=121852

Therefore, as requested and in face of the second thread, I opened a JIRA issue 
at the weekend (you probably have noticed it already). 
http://jira.jboss.com/jira/browse/JBSEAM-2209


"[EMAIL PROTECTED]" wrote : 
  | anonymous wrote : I'm puzzled by the fact that Seam offers nothing yet in 
this regard.  A feature like that would be highly useful when modeling complex 
flows and composing them of one or more subflows.  I hope that an output-mapper 
gets added to Seam, in order to avoid having to resort to ugly hacks such as 
writing from the nested conversation to the parent conversation scope.
  |   | 
  | 
  | Even if you were able to write attributes back to the parent conversation 
do you still think this would be useful?

from a technical point of view, it would not be necessary.It would already 
be a big improvement if it was possible to transfer state to the parent 
conversation by way of an explicit method call (invocation of a component of 
the parent conversation).

Nevetheless, from a software engineering perspective, an output mapper feature 
could still be very useful.  But I'd need to write a more detailed explanation 
about that,  with this post I just want to mention the JIRA case.   And such an 
output mapper feature would have to be carefully designed.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101731#4101731

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101731
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: JDBCCacheLoader problem in java application

2007-11-05 Thread mircea.markus
You are using NonManagedConnectionFactory, which is does not pool the 
connection. The stack trace shows that the driver tries to create a new 
physical connection to the database(no driver pooling) , so it might be a 
problem with driver not being able to cope with such a high frequency of 
connections being released/acquired. Can you please try it again, this time 
with a C3p0ConnectionFactory? 


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101730#4101730

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101730
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: Jboss 5 Beta 2 won't even run with Java 5?

2007-11-05 Thread jaikiran
How are you switching the JDK? When JBoss starts it prints out the version of 
Java being used. Something like:

anonymous wrote : 19:16:33,193 INFO  [ServerInfo] Java version: 1.5.0_13,Sun 
Microsystems Inc.
  | 19:16:33,193 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 
1.5.0_13-b05,Sun Microsystems Inc.
  | 19:16:33,193 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
  | 

What does your logs show?

And by the way, the link that you posted is an Wiki entry and not a bug entry. 
JBoss tracks its bugs through JIRA.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101733#4101733

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101733
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: actionListener vs action and redirect

2007-11-05 Thread dkane
"[EMAIL PROTECTED]" wrote : Post code to show your problem. 
Actually I have no problem, application is working. Just want my solutions to 
be knowledge-based rather than experiment-based. 

"[EMAIL PROTECTED]" wrote :  Both actionListeners should do the same thing What 
is the reason of supporting two equal attributes with different names ? Well, 
maybe Richfaces question.. Thanks. 


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101736#4101736

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101736
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - NetBeans 5.5 + EJB3 + JBoss 4.2 == ejbLink: not used by any

2007-11-05 Thread LeandroSeverino
Well,
   I'm sorry by my terrible english, because I'm writing from Brazil.
   I'll try explain my problem.

 My Environment:
   -> NetBeans 5.5.1
   -> JBoss 4.2.1 GA
   -> EJB 3 / JPA.

   I have a Enterprise Application (EAR) with 2 EJB modules + WAR module.

The projects:
 1) Report.ear (NetBeans EnterpriseApplication project.)
1.1) Report-Business-ejb (NetBeans EJB Module project.)
1.1.1) ElementoGerenciadoFacade (@Stateless, SessionBean EJB class.)
 note : in this class I have a @EJB private DAOFactory 
daoFactory;
1.1.2) ElementoGerenciadoFacadeLocal (@Local )
1.2) Report-DAO-ejb (Netbeans EJB Module project)
1.2.1) persistence.xml
1.2.2) iDAO
1.2.3) IElementoGerenciadoDAO
1.2.4) ElementoGerenciadoDAOImpl
1.2.5) DAOFactory ( como EJB @Stateless ) 
   1.3) Report-war.war 
  1.3.1) ListElementsServlet.

 The DAOFactory code


  | @Stateless
  | public class DAOFactory implements DAOFactoryLocal{
  | 
  | /** Creates a new instance of DAOFactory */
  | public DAOFactory() {
  | }
  | 
  | @PersistenceContext(unitName = "PU")
  | private EntityManager entityManager;
  | 
  | public ElementoGerenciadoDAOImpl getElementoGerenciadoDAO(){
  | IDAO dao = new ElementoGerenciadoDAOImpl();
  | dao.setEntityManager(entityManager);
  | return (ElementoGerenciadoDAOImpl) dao;
  | }
  | 
  | }
  | 

The ElementoGerenciadoFacade code


  | @Stateless
  | public class ElementoGerenciadoFacade implements 
ElementoGerenciadoFacadeLocal {
  | @EJB
  | private DAOFactory daoFactory;
  | 
  | public ElementoGerenciadoFacade() {
  | }
  | public List findAll() {
  | ElementoGerenciadoDAOImpl dao = 
daoFactory.getElementoGerenciadoDAO();
  | return dao.findAll(); 
  | //em.createQuery("select object(o) from ElementoGerenciado as 
o").getResultList();
  | }
  | 
  | }
  | 

When I run, I receive this error message:
anonymous wrote : 
  | Reason: java.lang.RuntimeException: could not resolve global JNDI name 
for @EJB for container ElementoGerenciadoFacade: reference class: 
com.digitel.ejb.DAOFactory ejbLink: not used by any EJBs
  | 

Well,
  I have a question:
   - I need configure some XML file / descriptor file ?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101740#4101740

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101740
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam with WAS 6.1 EJB3 feature pack

2007-11-05 Thread [EMAIL PROTECTED]
I would guess that you have JSF 1.1 rather than 1.2 running somewhere on your 
classpath.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101741#4101741

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101741
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - How to get Pocess from server

2007-11-05 Thread SidKennedy
Hello to all,
Here http://www.jboss.com/products/jbpm/docs/tutorial  I found a description 
how to start a Process Instance on a server with that code snippet:


  | ExecutionService executionService = 
  | JbpmServiceFactory.getInstance().openExecutionService("AlbertEinstein");
  | executionService.startProcessInstance( "payraise" );
  | executionService.close();
  | 

My problem is that I can't find the ExecutionService. In which jar it can be 
found or is it replaced with another class in a newer verision?

greets
Sid

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101742#4101742

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101742
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Trouble deploying Seam application in JBoss 4.2.2

2007-11-05 Thread [EMAIL PROTECTED]
Ask on the ajax4sf forum.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101743#4101743

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101743
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - On the issue Import.sql

2007-11-05 Thread lmseeyou
Hello, I am a seam Chinese users, I use the time Seam in Import.sql document to 
insert data inside the database, some of the content of Chinese field, but 
inserted into the database into garbage characters on the inside, I would like 
to ask how to resolve this?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101747#4101747

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101747
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Multiple entities on same page

2007-11-05 Thread uke
There might be a really simple solution for this, but I haven't found anything 
on it in the seam reference.

What's the preferred way of rendering two or more entities on the same page, 
using the entity-home-dao?

Just having multiple factories in the same dao and using different variables in 
jsf just calls the same entity, right?

Regards,
Sebastian

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101744#4101744

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101744
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: How to get Pocess from server

2007-11-05 Thread SidKennedy
or in another way the question is: How can I connect to a JBoss-server(working 
with a mysql-DB) to get a process?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101749#4101749

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101749
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: getting ManagedBean out of Conversation

2007-11-05 Thread damianharvey
Are you trying to access a different Bean than what you have called the method 
on? ie. your s:button called BeanA and you want to access properties of BeanB.

If so, then assuming BeanB has been outjected into the Conversation scope, you 
just need to inject BeanB into your BeanA. eg in BeanA.java :@In
  | BeanB beanB;
or if you'd rather call it inline:if(getConversation()!= null)
  | {   //Aqui me cargo la conversacion si es que existe
  | System.out.println("conversation ID  " 
.concat(getConversation().getId()));
  | //access to managed bean in Conversation
  | BeanB beanB = (BeanB)Component.getInstance("beanB");
  | }
  |
Cheers,

Damian.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101750#4101750

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101750
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: Strange ClassCastException in OptimisticCreateIfNotExist

2007-11-05 Thread [EMAIL PROTECTED]
Hmm, I still don't get this.  The OptimisticCreateIfNotExistsInterceptor throws 
a CCE attempting to cast the 2nd argument to an Fqn, but the eviction 
interceptor before that does manage the cast with no problems.

I just tried to recreate this as well, in a unit test, with no luck.  Do you 
have a unit test that can recreate this?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101751#4101751

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101751
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Queries with optional arguments

2007-11-05 Thread [EMAIL PROTECTED]
Use 

org.hibernate.Session session = (Session) entityManager.getDelegate();

to get the Hibernate Session out and use the Criteria API.  Yes, this does make 
your application non-portable to other JPA implementations, but that is the 
price you pay.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101752#4101752

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101752
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Is it possible to set a new URI for a partnerLink during

2007-11-05 Thread ZazzaZ
Hi, 
I tried using BPEL 2 and it didn't work out.

The only one accepted was


  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | THE_URI_FROM_THE_SERVICE_IN_THE_WSDL
  | THE_SERVICENAME_FROM_THE_WSDL
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

Ideally, the partnerLink should be OK. I saw the implementation of 
EndpointReference in endpointref package and no additional info is required.

The assignment goes fine but the invoke fails and the reason is that no port 
implements the required port type. Moreover it look like the process tries to 
build a new partnerlink loking the wsdl files in the URI catalog.

Hope anyone has a solution. Bye

ZazzaZ

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101754#4101754

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101754
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Another conversation question ...

2007-11-05 Thread [EMAIL PROTECTED]
Given your app design, this would seem sensible.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101756#4101756

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101756
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Seam Logo

2007-11-05 Thread hubaghdadi
Hi.
Any plans to create a logo for Seam?
GWT, Grails, WebWork, Stripes, Spring all have a logo.
We need one for our beloved Seam.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101755#4101755

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101755
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam Logo

2007-11-05 Thread [EMAIL PROTECTED]
You can see the Seam logo in the latest betas of JBoss Tools

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101759#4101759

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101759
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: JSF performance tips in Seam applications

2007-11-05 Thread [EMAIL PROTECTED]
Have you got a source for that? It seems like FUD to me.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101757#4101757

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101757
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Is it possible to set a new URI for a partnerLink during

2007-11-05 Thread ZazzaZ
The correct namespace are specified in wsa:endpointReference tag as attributes 
(to make it recognizable by some factory)

They are

xmlns="http://schemas.xmlsoap.org/ws/2004/03/business-process/";
xmlns:wsa='http://schemas.xmlsoap.org/ws/2004/03/business-process/'


Nothing works. Bye

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101758#4101758

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101758
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: actionListener vs action and redirect

2007-11-05 Thread [EMAIL PROTECTED]
Oh sorry, I misread your post.  Read a JSF textbook to understand the 
difference between action and actionListener.

I always use action unless I have a specific reason to use actionListener.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101760#4101760

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101760
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Multiple entities on same page

2007-11-05 Thread [EMAIL PROTECTED]
You need an instance for each entity you are managing using an EntityHome.  If 
you just want to display, use an EntityQuery.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101762#4101762

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101762
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: Nodes not join Cluster - UDP discarded Message

2007-11-05 Thread jboss_cody
Ok, I have found the source of my problems. I have configured each instance 
correctly. It was an issue with VMware Server. VMware  auto-generates MAC 
addresses, for whatever reason, it was generating the same MAC addr. for two 
different machines.

I was able to change the settings so that a new MAC address was generated, and 
everything worked fine.

I would like to say thank you once more for all of your help. You have been 
very patient with my posts and I appreciate that. I take back all of the bad 
things that I was going to say... : ) 

Thanks again.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101764#4101764

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101764
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - TransactionRequiredException: EntityManager must be access w

2007-11-05 Thread paoletto
it's somehow strange,because i said in the code that for my method i 
REQUIRE_NEW transaction...


  | package bps.ejb;
  | 
  | import javax.ejb.*;
  | import javax.persistence.*;
  | 
  | import java.util.*;
  | import java.sql.*;
  | 
  | 
  | @Stateless
  | public class BpsProcessQueueBean  implements BpsProcessQueue {
  | public static final String RemoteJNDIName =  
BpsProcessQueueBean.class.getSimpleName() + "/remote";
  | 
  | public static final String LocalJNDIName =  
BpsProcessQueueBean.class.getSimpleName() + "/local";
  | 
  | @PersistenceContext
  | private EntityManager em;
  | 
  | @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)
  | private Process fetchProcess_real(int subsystem) {
  | 
  | String fetchQuery = 
  | "SELECT " +
  | "   p " +
  | "FROM " +
  | "   Process AS p " +
  | "WHERE " +
  | "   p.state = 0 AND " +
  | "   p.processQueue.id IN " +
  | "   (SELECT " +
  | "   pq.id " +
  | "FROM " +
  | "   ProcessQueue AS pq " +
  | "WHERE " +
  | "   (pq.subsystem.id = " +
  | "   (SELECT " +
  | "   s.id " +
  | "FROM " +
  | "   Subsystem AS s " + 
  | "WHERE " +
  | "   (s.id = " + subsystem + 
") AND " +
  | "   (s.connected = true) " +
  | "   ) " +
  | "   ) AND " +
  | "   (pq.connected = true) AND " +
  | "   (pq.curActiveProcesses < 
pq.maxActiveProcesses) " +
  | "   ) " +
  | "ORDER BY p.priority ASC, p.id ASC";
  | 
  | Query query = em.createQuery(fetchQuery);
  | //Query query = em.createNamedQuery("fetchQuery");
  | //query.setParameter("subsystem", subsystem);
  | query.setMaxResults(1);
  | Process p = (Process) query.getResultList().get(0);
  | 
  | ProcessQueue pq = p.getProcessQueue();
  | 
  | p.use();
  | pq.incrementActive();
  | 
  | em.persist(p);
  | em.persist(pq);
  | 
  | return p;
  | }
  | 
  | @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
  | public Process fetchProcess(int subsystem) {
  | boolean failed = true;
  | 
  | while (failed == true) {
  | failed = false;
  | try {
  | return fetchProcess_real(subsystem);
  | } catch (Exception e) {
  | e.printStackTrace();
  | //failed = true;
  | return null;
  | }
  | }
  | return null;
  | }
  | 
  | 
  | @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)
  | private void releaseProcess_real(int id) {
  | Process p = em.find(Process.class,id);
  | 
  | CompletedProcess cp = new CompletedProcess(p);
  | em.remove(p);
  | em.persist(cp);
  | }
  | 
  | @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
  | public void releaseProcess(int id) {
  | releaseProcess_real(id);
  | }
  | @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
  | public void releaseProcess(Process p) {
  | releaseProcess_real(p.getId());
  | }
  | 
  | 
  | @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)
  | private void decreaseQueue_real(int id) {
  | ProcessQueue pq = em.find(ProcessQueue.class, id);
  | pq.decrementActive();
  | em.persist(pq);
  | }
  | @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
  | public void decreaseQueue(int id) {
  | boolean failed = true;
  | 
  | while (failed == true) {
  | failed = false;
  | try {
  | decreaseQueue_real(id);
  | } catch (Exception e) {
  | //failed = true;
  | e.printStackTrace();
  | }
  | }
  | }
  | 
  | @TransactionAttribute(TransactionAttributeT

[jboss-user] [JBoss Seam] - Re: Multiple entities on same page

2007-11-05 Thread uke
In this situation, I'm managing two entities. Does that mean I need to create 
two separate entityhome, or is there an easy way to have two instances of the 
same entityhome-class simultaneously?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101765#4101765

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101765
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: JDBCCacheLoader problem in java application

2007-11-05 Thread gmeroz
It was Oracle9i! 

I checked on Oracle10g to be able to supply information about the version & the 
test run with an iteration of 5000.

In both cases i used the driver (10.1.0.4.0).

C3p0ConnectionFactory solve it for Oracle9i.

thanks

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101767#4101767

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101767
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Article on conversations and nested conversations with examp

2007-11-05 Thread jacob.orshalick
Nested conversations have spurred quite a bit of discussion on the forums.  The 
following article uses an example to discuss the purpose of nested 
conversations and why they are useful:

http://developer.redhatmagazine.com/2007/10/31/continuing-the-conversation-understanding-seam-nested-conversations/

The resources section includes the source for an extended version of the 
seam-booking example that demonstrates a nested conversation implementation.  I 
look forward to any feedback.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101768#4101768

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101768
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Multiple entities on same page

2007-11-05 Thread [EMAIL PROTECTED]
You can create two components from the same class e.g. using @Role or two 
component definitions in components.xml

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101770#4101770

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101770
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: Nodes not join Cluster - UDP discarded Message

2007-11-05 Thread [EMAIL PROTECTED]
Good you found it, it is very hard to solve problems like these in general...

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101769#4101769

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101769
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - framework objects do not work with entities mapped in *.hbm.

2007-11-05 Thread daniel.varga
Hi,

I develop a web app which has it model classes in a separate jar that also 
contains the hbm.xml files for mapping the entities. The entities are accessed 
through standard JPA EntityManager. There are both query and home components 
declared in components.xml:




Everything goes fine until I delete an entity with the home component. Then 
Seam.getEntityClass gets invoked and returns null, which in turn causes the 
following:
Caused by: java.lang.IllegalArgumentException: Not an entity class: 
com.comptel.cs.caas.pojo.CaasSubsystem
at org.jboss.seam.Entity.forClass(Entity.java:208)
at 
org.jboss.seam.persistence.PersistenceProvider.getName(PersistenceProvider.java:75)
at 
org.jboss.seam.persistence.HibernatePersistenceProvider.getName(HibernatePersistenceProvider.java:246)
at 
org.jboss.seam.framework.EntityHome.getEntityName(EntityHome.java:123)
at org.jboss.seam.framework.Home.getSimpleEntityName(Home.java:255)
at 
org.jboss.seam.framework.Home.raiseAfterTransactionSuccessEvent(Home.java:250)
at org.jboss.seam.framework.EntityHome.remove(EntityHome.java:64)

This is because the Seam.getEntityClass checks for @javax.persisence.Entity 
annotation or ejb3 xml mapping, but it does not take into account that entities 
can mapped by hbm.xml files too. 
I tried using hibernate-entity-home and hibernate-entity-query components , but 
it did not help, but the exception occurred more often, not only after invoking 
remove on the entity home component.

Annotating my classes with @Entity (which are mapped in *.hbm.xml!) helped, but 
it not a correct solution, because there might be some cases when the classes 
in the model package cannot be changed. 

Has anyone any idea how to work this around?

Thanks, 
Daniel


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101772#4101772

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101772
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: NoClassDefFoundError with SeamTest

2007-11-05 Thread [EMAIL PROTECTED]
The ordering of your classpath for tests is important. How are you building the 
project? What is the actual classpath in use? Your listing above is just the 
output of ls.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101773#4101773

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101773
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam Logo

2007-11-05 Thread hubaghdadi
Any on line version? I don't use JBoss Tools (yet).

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101774#4101774

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101774
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: XAConnectionFactory not found only in Clustering

2007-11-05 Thread seoeng
Still cannot get this to work.  I am running a DI-624 router with these 
machines, Windows XP Pro.  Tested JGroups based off of the Wiki instructions, 
and I am receiving multicast to both machines.

My problem is very similar to this post --> 
http://www.jboss.org/?module=bb&op=viewtopic&t=69990

But as you can see below, the 'java:/' is not appended, so this isn't it.

Here is the JMSProvider stuff:


  | 
  | 
  | 
  |  
  |   
  |   
  |   
  | 
  |   
  |   
  | DefaultJMSProvider
  | 
  |   org.jboss.jms.jndi.JNDIProviderAdapter
  | 
  | 
  | XAConnectionFactory
  | 
  | XAConnectionFactory
  | 
  | XAConnectionFactory
  | 
  | 
  |java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
  |java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
  |java.naming.provider.url=${jboss.bind.address:localhost}:1100
  |jnp.disableDiscovery=false
  |jnp.partitionName=${jboss.partition.name:DefaultPartition}
  |jnp.discoveryGroup=${jboss.partition.udpGroup:230.0.0.4}
  |jnp.discoveryPort=1102
  |jnp.discoveryTTL=16
  |jnp.discoveryTimeout=5000
  |jnp.maxRetries=1
  | 
  |   
  | 
  |   
  |   
  | jboss:service=XidFactory
  | StdJMSPool
  | 
  |   org.jboss.jms.asf.StdServerSessionPoolFactory
  | 
  |   
  | 
  |   
  |   
  | JmsXA
  | 
  | jms-ra.rar
  | 
org.jboss.resource.adapter.jms.JmsConnectionFactory
  | javax.jms.Topic
  | DefaultJMSProvider
  | 20
  | 
JmsXARealm
  |   
  | 
  | 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101778#4101778

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101778
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Another conversation question ...

2007-11-05 Thread greko
That is what I thought.

But what would be the best app design, given such a simple scenario ?
I could use a session context, but my data will remain in the session, whereas 
a conversation will be automatically timeout-ed ...

Am I right, or is my approch wrong ?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101780#4101780

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101780
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam Logo

2007-11-05 Thread [EMAIL PROTECTED]
http://labs.jboss.com/files/jbosslabs/design/seam/seamicon/images/seam_icon_64x.png

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101786#4101786

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101786
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Writing SeamTests with Seam 2.0.0. CR2 - What's Changed?

2007-11-05 Thread [EMAIL PROTECTED]
"bsmithjj" wrote : WEB-INF/components.xml?  no - I'm trying to boot the 
embedded jboss ONLY from an ejb module that's part of a larger ear project.

Well the error you posted is because your jndiPattern isn't getting set I 
think. Normally you set this in components.xml/components.properties

anonymous wrote : IN ADDITION TO whatever new form of the JBoss container you 
want people to be able to boot and test with.

I understand your frustration, and I'm not trying to shift the blame, but 
perhaps it helps to know the whole story. Originally the EJB3 team produced an 
Embedded EJB3 container which Seam then used for testing/tomcat. The EJB3 team 
then stopped work on this, and started up Embedded JBoss; we then decided to 
change over Seam's support to the Embedded JBoss project as the last Embedded 
EJB3 release was using very old (and often early beta) versions of hibernate, 
EJB3, microcontainer etc. This is all further compounded by the fact that 
Embedded JBoss needs a maintainer.  Please, take your frustrations over to the 
Embedded JBoss forum as well as that is the place to rant to get the right 
people's attention.

anonymous wrote : On the subject of maven and transitive dependencies, please 
do not deploy the Seam 2.0 releases to your public repository with poms that 
contain transitive dependencies - that's already tripped me up once because 
Seam 2.0.0.CR3 transitively stuck el-api.jar into my war and that already 
existed in the server.  Transitive dependencies buy you nothing when they cause 
unexpected problems that take longer to fix (due to the surprise nature) than 
simply adding the dependencies you know you need due to good documentation.

A large part of the point of moving to Maven was to gain transitive dependency 
management.  Some projects have very poor transitive dependencies (hopefully we 
can get Seam to the point where this isn't true for Seam!) but I think in 
general they are a good thing.  Please report issues in JIRA for problems you 
see with Seam's dependencies so we can fix them. For example, your el-api.jar 
problem is clearly a bug, but I see no bug report from you for it.

anonymous wrote : Knowing version dependencies (to me) is a good thing.  Hiding 
versions and/or dependencies is bad.

Of course, and we are a huge step forward from Seam 1 here (where about half 
our dependencies were hidden in -all.jar files, for which to reconstruct 
version information for the component parts you had to look at the tag in CVS 
and inspect buildmagic scripts).  Its a simple job to make Maven print out a 
nice dependency tree with version information in it to an XML file, someone 
just needs to do it (I will do it for 2.0.1). You can already print this 
information to the console if you use a snapshot version of the dependency 
plugin.

anonymous wrote : BTW, Pete, I appreciate your discussions / interactions and 
patience with me ;-).  In all my rants on the forum here, my frustrations tend 
to stem from no smooth transition being available for Seam 1.2.1 -> Seam 2.0.0 
(on the issues I've posted about).  I believe Seam could be a little kinder to 
its early adopters than it has been.  Instead, I have several areas now where I 
need to 'start from scratch' (e.g.  gone but actually worked fine 
... hence this particular thread).

I think we've addressed this in other places, and we understand your, and 
others, frustrations.  This is why we bumped the version number to 2.0 rather 
than 1.3.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101782#4101782

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101782
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - General clustering question

2007-11-05 Thread chip_schoch
This question was asked of my by a co-worker and I had no answer.

When parameters for a clustered service are modified manually [as through 
jmx-console] on one node, are the modifications supposed to propagate to all 
the nodes in the cluster?

Could anyone provide a definitive answer?

Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101787#4101787

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101787
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Please help me with answering this on unit/integrated tests

2007-11-05 Thread tiwaryamit
 Hi .
   I have started on Seam a few weeks and looks like it is going to be our 
framework for next set of web development. I was interested in hibernate2 
example which came with Seam download. There were no unit/integration tests 
provided. Does it mean that we can't have unit/integrated tests without 
embedded JBoss in Tomcat? Is there any way using which I will be able to write 
unit/integration tests in plain tomcat deployment scenario. Please help me with 
answers/suggestions to these queries as it is a big road block for me since 
last two days.
Please help me.

ps: I tried migrating the test cases from booking example here, but when I run 
ant test, it throws the below exception.
"
testng] ERROR 05-11 18:51:49,517  
[org.jboss.dependency.plugins.AbstractController.incrementState():456] Error 
installing to Start: name=jboss:database=localDB,service=Hypersonic 
state=Create mode=Manual requiredState=Installed
   [testng] java.sql.SQLException: Wrong database file version
".
Mine is an Oracle Datasource configured in context.xml.

Have a great day ahead.

Thanks
Amit

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101789#4101789

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101789
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: How to get Pocess from server

2007-11-05 Thread SidKennedy
meanwhile I found out that I can connect and get the ProcessDefinitions stored 
in the DB like this:


  | JbpmConfiguration config = JbpmConfiguration.getInstance();
  | JbpmContext context = config.createJbpmContext();
  | List processes = context.getGraphSession().findLatestProcessDefinitions();
  | 

but in the third line an exception is thrown. 
anonymous wrote : 
  | java.lang.NoClassDefFoundError: org/hibernate/Session
  | at 
org.jbpm.persistence.db.DbPersistenceServiceFactory.openService(DbPersistenceServiceFactory.java:56)
  | at org.jbpm.svc.Services.getService(Services.java:136)
  | at org.jbpm.svc.Services.getPersistenceService(Services.java:175)
  | at org.jbpm.JbpmContext.getPersistenceService(JbpmContext.java:596)
  | at org.jbpm.JbpmContext.getGraphSession(JbpmContext.java:537)
  |  
  | 

what does that mean? 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101791#4101791

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101791
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam Logo

2007-11-05 Thread hubaghdadi
I thought it is a spider.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101793#4101793

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101793
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Trouble Getting the Most Basic SeamTest to Work

2007-11-05 Thread [EMAIL PROTECTED]
I would use seam-gen to build an example application and base your classpath on 
the one it generates.  It works ootb.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101795#4101795

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101795
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: XAConnectionFactory not found only in Clustering

2007-11-05 Thread seoeng
Here is some additional startup info showing the recognition of 2 nodes and 
then the HAJNDI binding address:


  | 02 Nov 2007 08:53:43,822  INFO [main] (HAPartitionImpl.java:261) - Number 
of cluster members: 2
  | 02 Nov 2007 08:53:43,822  INFO [main] (HAPartitionImpl.java:272) - Other 
members: 1
  | 02 Nov 2007 08:53:43,822  INFO [main] (HAPartitionImpl.java:303) - Fetching 
state (will wait for 3 milliseconds):
  | 02 Nov 2007 08:53:44,807  INFO [main] (HAPartitionImpl.java:327) - state 
was retrieved successfully (in 985 milliseconds)
  | 02 Nov 2007 08:53:45,041  INFO [main] (DetachedHANamingService.java:465) - 
Started ha-jndi bootstrap jnpPort=1100, backlog=50, bindAddress=/127.0.0.1
  | 02 Nov 2007 08:53:45,057  INFO [main] (DetachedHANamingService.java:561) - 
Listening on /127.0.0.1:1102, group=230.0.0.4, HA-JNDI address=127.0.0.1:1100
  | 02 Nov 2007 08:53:45,291  INFO [main] (TreeCache.java:1403) - No 
transaction manager lookup class has been defined. Transactions cannot be used
  | 02 Nov 2007 08:53:45,338  INFO [main] (InterceptorChainFactory.java:277) - 
interceptor chain is:
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101797#4101797

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101797
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Messaging, JMS & JBossMQ] - Re: DLQHandler javax.naming.NameNotFoundException: XAConnect

2007-11-05 Thread seoeng
Same issue going on here --> 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4101797

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101803#4101803

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101803
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Getting the current URL in Seam

2007-11-05 Thread [EMAIL PROTECTED]
You can use a factory to expose this as a single context variable in Seam.  
You'll need to use the Servlet API to build up the correct parameters and 
current path.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101799#4101799

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101799
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss/Spring Integration] - Deploy existing spring app with different archive structure

2007-11-05 Thread springer
Hi there.

I have installed JBoss 4.0.3 & spring deployer 2.0. Now i want to deploy my 
existing spring application. These app. is actually running as standalone 
middletier and should be deployable as JBoss app. My spring context files are 
scattered among the package structure like ...

+ org.openwms.service.application
|   |--application-cfg.xml
|
+ org.openwms.service.dao
|   |--dao-cfg.xml
...

I didn't found a description how to deploy such way of structure. I don't want 
to refactor my app because it further should be running standalone.

Have somebody tested this before?



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101802#4101802

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101802
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam Logo

2007-11-05 Thread [EMAIL PROTECTED]
What is a spider? I don't think that looks anything like a spider.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101801#4101801

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101801
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Why cannot I run more than one concurrent conversation S

2007-11-05 Thread [EMAIL PROTECTED]
I think the conversation model is unlikely to be redesigned like this in Seam - 
it's a fundamental design change.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101805#4101805

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101805
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: error en property/getter

2007-11-05 Thread fphilip
@Name("login")
  | public class LoginForm implements Serializable {
  | public static final String ERROR = "error";
  | public static final String LOGGED = "logged";
  | private String username;
  | private String contextId;
  | private String password;
  | private User user;
  | private Context context;
  | 
  | @In
  | private Identity identity;
  | @org.jboss.seam.annotations.Logger
  | private Log log;
  | 
  | @Length(max=10, min=5)
  | public String getUsername() {
  | return username;
  | }
  | 
  | public void setUsername(String username) {
  | this.username = username;
  | }
  | 
  | public String getContextId() {
  | return contextId;
  | }
  | 
  | 
  | public Context getContext() {
  | return context;
  | }
  | 
  | public void setContext(Context context) {
  | this.context = context;
  | }
  | 
  | public void setContextId(String contextId) {
  | this.contextId = contextId;
  | }
  | 
  | public String getPassword() {
  | return password;
  | }
  | 
  | public void setPassword(String password) {
  | this.password = password;
  | }
  | 
  | public String login(){
  | identity.login();
  | return identity.isLoggedIn() ? LOGGED : ERROR;
  | }
  | 
  | 
  | public User getUser() {
  | return user;
  | }
  | 
  | public void setUser(User user) {
  | this.user = user;
  | }
  | 
  | 
  | public String cancel(){
  | return Action.CANCEL;
  | }
  | 
  | @Begin(pageflow="login")
  | public String beginPageFlow(){
  | return "";
  | }

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101809#4101809

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101809
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Batch Index using Hibernate Search and Seam

2007-11-05 Thread [EMAIL PROTECTED]
What does #{accessCompanyFilter} refer to?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101807#4101807

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101807
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: General clustering question

2007-11-05 Thread [EMAIL PROTECTED]
No, they are not.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101808#4101808

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101808
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam Logo

2007-11-05 Thread damianharvey
Looks like bacteria dividing. Could be the basis of a catchy slogan:
"Seam: spreads like salmonella!"

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101810#4101810

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101810
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Please help me with answering this on unit/integrated te

2007-11-05 Thread [EMAIL PROTECTED]
You would need a way of starting a tomcat container and deploying your 
application to it from SeamTest (i.e. java). All SeamTest does is start a copy 
of Embedded with the project to test on the classpath (and relevant libraries). 
This is the second request I've seen for this recently, so if you get it 
working, then you should post about it.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101821#4101821

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101821
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: Jboss 5 Beta 2 won't even run with Java 5?

2007-11-05 Thread j0llyr0g3r
Sorry, 

the information i provided was way to unspecific.

Let me clarify that:

Jboss 5 Beta 2 with Java 5:

 cd ../../jboss-5.0.0.Beta2/bin/

 java -version
  | java version "1.5.0_13"
  | Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05)
  | Java HotSpot(TM) Client VM (build 1.5.0_13-b05, mixed mode, sharing)

 ./run.sh 
  | =
  | 
  |   JBoss Bootstrap Environment
  | 
  |   JBOSS_HOME: /opt/jboss-5.0.0.Beta2
  | 
  |   JAVA: /usr/lib/jvm/java-6-sun-1.6.0.03/bin/java
  | 
  |   JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m 
-XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true 
-Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360
  | 
  |   CLASSPATH: 
/opt/jboss-5.0.0.Beta2/bin/run.jar:/usr/lib/jvm/java-6-sun-1.6.0.03/lib/tools.jar
  | 
  | =
  | 
  | 12:50:13,429 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
  | 12:50:13,430 INFO  [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.Beta2 
(build: SVNTag=JBoss_5_0_0_Beta2 date=200704060017)
  | 12:50:13,430 INFO  [ServerImpl] Home Dir: /opt/jboss-5.0.0.Beta2
  | 12:50:13,430 INFO  [ServerImpl] Home URL: file:/opt/jboss-5.0.0.Beta2/
  | 12:50:13,430 INFO  [ServerImpl] Library URL: 
file:/opt/jboss-5.0.0.Beta2/lib/
  | 12:50:13,431 INFO  [ServerImpl] Patch URL: null
  | 12:50:13,431 INFO  [ServerImpl] Server Name: default
  | 12:50:13,431 INFO  [ServerImpl] Server Home Dir: 
/opt/jboss-5.0.0.Beta2/server/default
  | 12:50:13,431 INFO  [ServerImpl] Server Home URL: 
file:/opt/jboss-5.0.0.Beta2/server/default/
  | 12:50:13,432 INFO  [ServerImpl] Server Data Dir: 
/opt/jboss-5.0.0.Beta2/server/default/data
  | 12:50:13,432 INFO  [ServerImpl] Server Temp Dir: 
/opt/jboss-5.0.0.Beta2/server/default/tmp
  | 12:50:13,432 INFO  [ServerImpl] Server Config URL: 
file:/opt/jboss-5.0.0.Beta2/server/default/conf/
  | 12:50:13,432 INFO  [ServerImpl] Server Library URL: 
file:/opt/jboss-5.0.0.Beta2/server/default/lib/
  | 12:50:13,432 INFO  [ServerImpl] Root Deployment Filename: jboss-service.xml
  | 12:50:13,456 INFO  [ServerImpl] Starting Microcontainer, 
bootstrapURL=file:/opt/jboss-5.0.0.Beta2/server/default/conf/bootstrap-beans.xml
  | 12:50:14,217 INFO  [ProfileImpl] Using profile 
root:/opt/jboss-5.0.0.Beta2/server/default
  | 12:50:15,288 ERROR [AbstractKernelController] Error installing to 
Instantiated: name=DeploymentFilter state=Described
  | java.lang.IllegalStateException: Class not found: [Ljava.lang.String;
  | at 
org.jboss.metadata.spi.signature.Signature.stringsToClasses(Signature.java:174)
  | at 
org.jboss.metadata.spi.signature.Signature.stringsToClasses(Signature.java:125)
  | at 
org.jboss.metadata.spi.signature.Signature.getParametersTypes(Signature.java:292)
  | at 
org.jboss.metadata.plugins.loader.reflection.AnnotatedElementMetaDataLoader.getComponentMetaDataRetrieval(AnnotatedElementMetaDataLoader.java:138)
  | at 
org.jboss.metadata.plugins.context.AbstractMetaDataContext.getComponentMetaDataRetrieval(AbstractMetaDataContext.java:280)
  | at 
org.jboss.metadata.spi.retrieval.MetaDataRetrievalToMetaDataBridge.getComponentMetaData(MetaDataRetrievalToMetaDataBridge.java:159)
  | at 
org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.methodHasAnnotations(AOPConstructorJoinpoint.java:202)
  | at 
org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.hasMethodMetaData(AOPConstructorJoinpoint.java:172)
  | at 
org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.hasInstanceOrJoinpointMetaData(AOPConstructorJoinpoint.java:152)
  | at 
org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.dispatch(AOPConstructorJoinpoint.java:99)
  | at 
org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:103)
  | at 
org.jboss.kernel.plugins.dependency.InstantiateAction.installActionInternal(InstantiateAction.java:52)
  | at 
org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:197)
  | at 
org.jboss.kernel.plugins.dependency.KernelControllerContextAction.install(KernelControllerContextAction.java:136)
  | at 
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
  | at 
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:233)
  | at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:724)
  | at 
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:445)
  | at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:555)
  | at 
org.j

[jboss-user] [JBoss Seam] - Re: framework objects do not work with entities mapped in *.

2007-11-05 Thread daniel.varga
Done:
http://jira.jboss.org/jira/browse/JBSEAM-2212

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101822#4101822

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101822
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam Logo

2007-11-05 Thread hubaghdadi
I'm still scared of it...

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101823#4101823

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101823
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: Jboss 5 Beta 2 won't even run with Java 5?

2007-11-05 Thread j0llyr0g3r
Arrggghhh, 

no "edit" button here: Don't get confused with the nicknames, when i wrote the 
first posting i was under windows and accidentially used some account i had 
already forgotten about. (damn those cookies..:-)



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101824#4101824

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101824
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Another conversation question ...

2007-11-05 Thread [EMAIL PROTECTED]
You should decide what scope makes sense for your application and make Seam do 
the right thing, not the other way around ;)

Session scope makes sense if you want the same result list to be displayed 
without the user hitting Search again whilst they are logged in. A nested 
conversation makes sense if you want to hold the list in a conversation and 
atomically edit entities.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101817#4101817

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101817
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam Logo

2007-11-05 Thread hubaghdadi
Is it final?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101814#4101814

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101814
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: framework objects do not work with entities mapped in *.

2007-11-05 Thread [EMAIL PROTECTED]
Please file an issue in JIRA, this is a bug.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101812#4101812

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101812
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Navigation History

2007-11-05 Thread DiegoCoronel
 Hi, i need in my apliccation to save the navigation history, ie.:
/Home/User/EditUser

 how should i do it ? is there any class on seam that i can use to save my 
navigation, or redirect to last page ?

ty

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101827#4101827

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101827
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: JBoss Portal : Best Practices

2007-11-05 Thread syllant
Nobody to answer to these relevant questions ?

Seems to me that best approch would consist in building another SAR for 
specific needs, but as far as I understand, you have to override some files 
inside core modules to get a portal really customized. Examples :

- META-INF/jboss-service.xml to customize header pages, error pages, ... 
(otherwise, override default files)
- portal-cms.sar/META-INF/jboss-service.xml to customize CMS
- portal-server.war/*.jsp for authentication
- etc.

I am setting up my first project with JBP. I've decided to override default 
files which needs changes (these files are externalized inside custom modules 
in SVN) and to create a SAR which stores all files specific to our portal : 
custom portlets, theme, layout, ...

But I'm not totally satisfied with this approch (and its implementation with 
Maven) : I wish I could customize a portal without changing default 
configuration.

How do you resolve this ?

Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101798#4101798

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101798
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: getting ManagedBean out of Conversation

2007-11-05 Thread jamesjmp
thank you, but I want to access to the same bean. I´ll explain myself a bit 
further:
I´ve a form to create a new POJO. I´m using flush-mode="manual" in the 
.page.xml, and while filling the info in the wire or whatever method of the 
pojoHome I´ve no way of accessing to the info filled up to that moment. If I 
save and invoke persist(), then the info is saved withouth problem. What, 
before submitting I want to access some values to make some process with them. 
So, I want to access to the info that I have entered for instance in field 2, 
but before pressing a h:commandButton.
Checking in that moment pojoHome´s instance values are null. That´s way I 
thought about using conversation in caes it helped.
any idea?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101813#4101813

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101813

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


[jboss-user] [JBoss Seam] - Re: Seam Logo

2007-11-05 Thread [EMAIL PROTECTED]
Damian, charming ;)

Yes, I think it is final afaik.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101818#4101818

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101818
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Seam 2.0.0.GA is out

2007-11-05 Thread [EMAIL PROTECTED]
We'll announce it formally later on http://in.relation.to/, but I thought I'd 
give everyone on the forums a headstart.  

Downloads: http://labs.jboss.com/jbossseam/download/
Docs: http://labs.jboss.com/jbossseam/docs/

Have fun with it!

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101829#4101829

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101829
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam 2.0.0.GA is out

2007-11-05 Thread PatrickMadden
Thanks all, very much. Great timing as I need to deploy in the next week or so. 

I got the first download... Any prize for that :)

Seriously,

Great Job!

PVM

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101830#4101830

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101830
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam 2.0.0.GA is out

2007-11-05 Thread amitev
Greeting for the Seam team and for all people that participate in this great 
framework

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101831#4101831

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101831
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Why cannot I run more than one concurrent conversation S

2007-11-05 Thread gus888
Hi Pete,

Thanks for your reply. Now I have not fully understood the Seam conversation 
strategy, but I think that if you remove the begin method invoked from a long 
running conversation, try using @Begin(join=true)  exception check from new 
conversation @Begin invoke, maybe this issue will be resolved. A new 
conversation started and the previous front would be put back.

I think that the propagate="none" is hard to use in production, since the 
non-cooperative user determine when he/she stop propagating in a conversation, 
then click other links. If put propagate="none" to the links which he/she may 
clicks, it seems that all links needs a propagate="none". It is very hard. 
Thanks for considering this issue.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101832#4101832

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101832
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - EJB 2.x CMP and EJB 3.0 JPA Coexistence

2007-11-05 Thread Christopher_P
Hi there,

I'm a current user of EJB 2.x running on JBoss 4.0.4. My organisation are 
starting to upgrade to JBoss 4.2.x and we're looking to move our application to 
EJB 3.0.

I've already done considerable research on EJB 3.0, and in particular migration 
strategies from 2.x. I'm satisfied that we will be able to migrate our session 
beans gradually by preserving our [Local]Home interfaces so that 2.x clients 
can continue to use the 3.0 beans.

However, one thing that I've not been able to find a definite answer to is how 
well EJB 2.x and EJB 3.0 entities coexist. In particular: if I have an EJB 2.x 
CMP "Customer" entity, and I perform operations on it to manipulate the 
underlying Customer table, what happens if I concurrently use the JPA 
EntityManager to also manipulate the Customer table? Do CMP and JPA use the 
same transaction service (JTA?) and operate as if I was simply using two CMPs, 
or two EntityManagers? Or do the two opposing persistence mechanisms conflict 
with each other in some way?

Your advice, or any resources you can point me to, would be much appreciated.

Cheers,
Chris Paton

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101834#4101834

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101834
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: NetBeans 5.5 + EJB3 + JBoss 4.2 == ejbLink: not used by

2007-11-05 Thread waynebaylor
i usually get that exception when i'm using @EJB, but i never invoke any of the 
injected bean's methods. 

Does the code you posted match the code you deployed?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101836#4101836

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101836
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: TestNG and EJB3 interceptors

2007-11-05 Thread fbenvegna
SeamInterceptor doesn't work


  | @Target(ElementType.TYPE)
  | @Retention(RetentionPolicy.RUNTIME)
  | @Interceptors(DomainValidator.class) 
  | public @interface Validated {
  | 
  | }
  | 


  | @Stateless
  | @Validated
  | @Interceptors(SeamInterceptor.class)
  | @Name("groupManager")
  | @TransactionAttribute(TransactionAttributeType.SUPPORTS)
  | public class GroupManager extends AbstractManager implements IGroupManager {
  | ...
  | ...
  | }
  | 


  | @Interceptor
  | public class DomainValidator {
  | 
  | @AroundInvoke
  | public Object validate(InvocationContext invocationContext) throws 
Exception {
  | Method method = invocationContext.getMethod();
  | Object[] parameters = invocationContext.getParameters();
  | 
  | Object instance = invocationContext.getTarget();
  | 
  | System.out.println(">");
  | 
  | return invocationContext.proceed();
  | }
  | }
  | 

Please, help me
Have you any idea ?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101837#4101837

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101837
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


  1   2   3   >