[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: error installing jboss4.2.2 on ubuntu

2007-11-22 Thread jjgalvez
could someone please help me with this error, I can't get jboss to work on my 
new ubuntu box


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

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


[jboss-user] [JBoss jBPM] - Re: Web based process designer

2007-11-22 Thread ravalv
Thanks for the reply, if not from jBPM then any other company or group ?

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

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


[jboss-user] [JBoss Portal] - Re: It's Time for .... another UTF-8 Problem

2007-11-22 Thread Soon5
Hy,

My environment is a JBoss AS 4.2.1 GA, and I am using JBoss Portal 2.6.2.

What I am doing:
1. Login with my Number and Password (eg. 123456)
2. Click on "Edit your Profile" in User Portlet
3. The Form with all my Profile fields is displayed. My name is correctly 
displayed with umlauten.
4. Changing something, or nothing, just klicking on "Save". After that the 
umlaut in my name is "destroyed".
5. Click on "Edit your Profile" again for confirmation.
6. As I expected, my Name is no longer correct.

Thanks so far for your help.

Greetings
Arne Lüdtke

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

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

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


[jboss-user] [JBoss jBPM] - Problem related to integration of JBPM and Jboss...

2007-11-22 Thread dipenambalia
hi all,

i tried deploying jbpm and jboss portal on the same application server...i 
tried following some 2 -3 solutions related to replacing Myfacesjar...etc... 
but couldnt succeed... is there any specific document which i can follow to 
integrate jbpm and jboss portal...?..




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

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


[jboss-user] [JBoss jBPM] - BPM, Seam pageflow question?

2007-11-22 Thread pietermartin
Hi,

I asked this on the seam forum but got no reply. Maybe someone here can help.

What is the relationship between bpm:process-definitions and 
bpm:pageflow-definitions? 

The seam doc says anonymous wrote : a single task in a business process 
corresponds to a whole pageflow 

I am however not using tasks.

Is it possible to start a business process and a page flow at the same time and 
then during certain points in the page flow to advance the token in the 
business process?

I have tried this but am getting connection errors when I access the db via a 
seam component from a jsf page. 


  | javax.faces.el.EvaluationException: /signyouup/choosePhone.xhtml @22,35 
actionListener="#{phoneManager.findWebPhoneModelsForMake}": 
javax.ejb.EJBTransactionRolledbackException: 
org.hibernate.exception.GenericJDBCException: Cannot 
  | open connection
  | at 
com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:73)
  | at javax.faces.component.UICommand.broadcast(UICommand.java:376)
  | at 
org.ajax4jsf.component.AjaxActionComponent.broadcast(AjaxActionComponent.java:61)
  | at 
org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:184)
  | at 
org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:162)
  | at 
org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:350)
  | at 
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
  | at 
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
  | at 
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
  | ava:290)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | 
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
  | at 
org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at 
org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at 
org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at 
org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at 
org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
  | at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
  | at 
org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
  | ava:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | 
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
  | ava:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | 
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.ja
  | va:179)
  | at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  | at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:
  | 157)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
  | at 
org.apache.coyote.http

[jboss-user] [JBoss Seam] - Re: Seam and plain old JDBC code

2007-11-22 Thread paradigmza

  | @Resource(mappedName = "java:/someDatasource")
  | DataSource someDataSource;
  | 


Then you can get the Connection from that an do "normal" jdbc

Connection conn;
  | try {
  | conn = someDataSource.getConnection();
  | } catch (SQLException e) {
  | throw new SomeExceptions_Exception(
  | "Could not get connection", null, e);
  | }

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: JBossAS 4.2.2: Problem with JSTL Core

2007-11-22 Thread dobbo
Good call.  It was an old version of web.xml.  I was using 2.2:


  | 
  | 
Switched to v2.4:

  | http://java.sun.com/xml/ns/j2ee";
  | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  | xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
  | http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>
  | 
and it works as expected.

Many Thanks.
Steve

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

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


[jboss-user] [Beginners Corner] - Re: The static method getLogger(class) from the class Logger

2007-11-22 Thread jaikiran
anonymous wrote :  private static Logger logger;
  | 
  | 
  | public MasterSessionBean() {
  | 
  | logger = logger.getLogger("org.apache");
  | 
  | log("SessionMaster()");
  | } 

Even if you ignored that warning and deployed this bean, i would expect a 
NullpointerException at logger.getLogger, since the logger object is never 
instantiated. The right way to do this (and also get rid of the warning) is:

 
  | private static Logger logger = 
Logger.getLogger(MasterSessionBean.class.getName());
  | 
  | 
  | public MasterSessionBean() {
  | 
  | log("SessionMaster()");
  | } 



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

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


[jboss-user] [EJB 3.0] - Re: Persistent unit problem

2007-11-22 Thread ravisoni1986
now I solved this error, previsoulsy I was using javaee.jar for compiling but 
when i used jboss specific jar then it's working fine.

thanks,
Ravi

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

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


[jboss-user] [JBoss Seam] - Seam Runtime error for Seam2.0

2007-11-22 Thread hanram
hi friends,
  i am developing Seam Project with RHDS 1.0 Beta. I am getting 
problem at "Seam Facet"> here it is asking for Seam Runtime i am showing 
the jboss-seam.jar file but it is showing error... Can any body direct me to 
the right place...
how i gone is 

 
  | File
  |  -->Project Name 
  | >Project Facets
  |   >Web Module 
  |   -> JPA Facet
  |   >JSF Capabilities 
   
  |  
->Seam Facet( here it is asking for Seam Runtime)  
  |  
 
  | error:
  | Home folder points to location that does not look like seam home folder 
('jboss-seam.jar' is missing)
  | 


Do i need to set SeamHome? any clue's


I am very pleased and great ful to ur Help
thx
Han

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

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


[jboss-user] [JBoss Seam] - Re: Myseam, the jboss seam2.0GA's expander framework, offers

2007-11-22 Thread chlol
complementarity for 2:
the name of the code generated as the following:
model:User,Role,Resource
home:UserHome,RoleHome,ResourceHome
list:UserList,RoleList,ResourceList
view:UserEdit.xml,RoleEdit.xml,ResourceEdit.xml,eg.

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

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


[jboss-user] [JBoss Seam] - Re: Myseam, the jboss seam2.0GA's expander framework, offers

2007-11-22 Thread chlol
to explain 1 and 2:
1). for example, i have three tables:sys_role,sys_user,rs_resource,in 
myseam,configurate the generate as the following:

  | 
  | 
  | 
  | 
  | 
  | sys_user,sys_role
  | 
  | 
  | rs_resource
  | 
  | 
  | 
  | sys,rs
  | 
  | IDENTITY
  | 

and the base package is "com.googlecode.myproject",then the model class of  
sys_user and sys_role will be generated into 
com.googlecode.myproject.model.common,and rs_resource's model will be generated 
into com.googlecode.myproject.model.resource,and the Home bean and list bean 
will be generated into com.googlecode.myproject.service.common and 
com.googlecode.myproject.service.resource,and the view will be generated into 
common and resource.

2).the all code generated don't constain the table prefix,sys and rs,including 
their name.



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

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


[jboss-user] [JBoss Seam] - Re: Custom JSF Validator/Converter with EntityManager

2007-11-22 Thread trouby
Uh damn, missed the validator/converter annotations, it's documented,

Thanks,

Asaf.

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

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


[jboss-user] [JBoss Portal] - Page Ordering

2007-11-22 Thread ptindall
I am evaluating JBoss 2.6.2-GA and trying to determine if the pages on a portal 
can be sorted.  They seem to be displayed in alphabetical order and I can see 
nothing in the admin console to re-sort them.

I have also looked at the db scheme for JBoss portal and see nothing in there 
that would store a "sort" value.

This is a very standard feature on commercial portals, and would assume JBoss 
portal would have a way to support it...what am I overlooking? 

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

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


[jboss-user] [JBoss Seam] - Re: CLUSTER wide EJBException: Invalid (i.e. remote) invocat

2007-11-22 Thread fguerzoni
Just forgot to set the @Clustered annotation on stateful bean.
Everything works fine.

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

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


[jboss-user] [JBoss Seam] - Re: Seam, problem with EntityManager

2007-11-22 Thread ivan.indrawan
Hi there,

Try checking the library (the rich faces jars) whether they are all the same 
version? If not necessary, dont put the rich-faces jars in the server 
deployment library (/server/default/lib).

I had the same problem and managed to fix it that way. 

Cheers,

Ivan

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: JBossAS 4.2.2: Problem with JSTL Core

2007-11-22 Thread Raist_Majere
Can you copy your web.xml file? I think it's due to not use version 2.4 or 
greater in it, so EL is not enabled.

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

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


[jboss-user] [JBoss jBPM] - how send msg in jbpm 3.2.2

2007-11-22 Thread rainhust
at jbpm 3.1.4 , can send msg use following code

  |Message msg=new TextMessage(sb.toString());
  | msg.setDestination(issueUser);
  | msg.setToken(arg0.getProcessInstance().getRootToken());
  | DbMessageService msgService=new DbMessageService();
  | msgService.send(msg);
  | msgService.close();
  | 

in 3.2, the Message class is gone. how i can do this job. please tell me. any 
help , thanks.

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

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


[jboss-user] [JBoss Seam] - Re: Custom JSF Validator/Converter with EntityManager

2007-11-22 Thread trouby
Hey,

Careful of what?

Component.getInstance? what component? where? could you give a little bit more 
details?


Thanks.

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

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


[jboss-user] [JBoss Seam] - html element id appearing on validation message

2007-11-22 Thread gsegura
Perhaps this is simple but I can not find how to stop the html element id from 
appearing in the validation message each time the validation ocurrs, that is, I 
have a template like this (taken from some seam example):

  |   
  | 
  | 
  | *
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
which I use as:

  | 
  |  Address:
  |  
  |   
  |  
  | 
  | 

when the validation message appears next to the control it always includes the 
html element id, something like this:


  | registerForm:decorateAddress:address: Validation error: required value
  | 
 
But I would like NOT to show the "registerForm:decorateAddress:address" part in 
the validation message, how to do so? 
thanks in advance for any help

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

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


[jboss-user] [JBoss Seam] - Re: application does not react as expected on production ser

2007-11-22 Thread vlaugier
oops ! sorry there is something wrong in the above description of my problem

I descibe again the two ways it works in development environment :

There are severall way to make this works in my developement environment 
(either when launched in the default configuration or production) 
 
remove the element from the bulk 
 
Code:
  
bulk.remove(element);

   
 
or 
 
reload the list of elements that can be added to the edited bulk
 
Code:
  
reloadBulk();


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

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


[jboss-user] [JBoss Seam] - application does not react as expected on production server

2007-11-22 Thread vlaugier
Hello,

this is a very, very byzarre thing

the user is asked to select items in a selectManyMenu and then to validate its 
choice on another page. This validation associates these items to an attribute 
of type List, say : bulk

Since the selected items are now associated to this attribute there are 
expected to be removed from the list.

My problem is that the validated items are not removed from the list when I run 
the application on the production server.

There are severall way to make this works in my developement environment 
(either when launched in the default configuration or production)

remove the element from the bulk

  | bulk.remove(element);
  | 

or 

reload the whole bulk

  | reloadBulk();
  | 


But in the production server, the only thing that works is to refresh the 
element before testing its right to be in a bulk (is it already associated to a 
bulk or not) which turns out to be dramatic for performance when there is a lot 
of elements to refresh.

If anyone has an idea ...

regards

vincent

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - JBossAS 4.2.2: Problem with JSTL Core

2007-11-22 Thread dobbo
Install of JBoss from jboss-4.2.2.GA.zip on Linux.  Implemented a simple 
Stateful EJB3 so install is fine.

Started using JSTL in a JSP file and couldn't get  to work.  So I wrote 
the following index2.jsp simple test:


  | <%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %>
  | 
  |   
  | Test page
  |   
  |   
  | 
  | The variable hello was set to
  | ""
  |   
  | 
  | 

It generates the following output:

  | The variable hello was set to "${hello}"
  | 

I was expecting:

  | The variable hello was set to "Hello World!"
  | 

So what am I doing wrong?

Thanks for any help.

Steve

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

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


[jboss-user] [JBoss Seam] - Re: question about programmatically accessing seam component

2007-11-22 Thread gsegura
Indeed, it works
thanks!

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

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


[jboss-user] [JBossWS] - Re: About jaxrpc-mapping.xml...

2007-11-22 Thread [EMAIL PROTECTED]
"paoletto" wrote : If i generate the client with wsconsume, then can i 
dinamically change the address and connect to the same service on a different 
machine?
  | 
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=123180

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

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


[jboss-user] [JBoss jBPM] - Re: or join

2007-11-22 Thread binyorku
Hi, I also want to know the answer. Who can kindly tell me how to implement "or 
join" in jbpm version 3.1 or above? Thanks in advance.

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

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


[jboss-user] [JNDI/Naming/Network] - Re: Problem with resource-mapping

2007-11-22 Thread hdmonty
I mean that the Resource-name('myDB') is mapped on a datasource ear-wide. First 
I thought you can make this in a jboss-app.xml or applikation.xml like you can 
do that in a jboss-web.xml but that doesnt work. 

My problem is, I would like to avoid to build a deployment descriptor for 
twenty or more beans in an applikation. With my beans I want to make up 
reusable code. So I decided, that every datasource gets the name 'myDB' and is 
mapped to the global jndi-name 'java:/MyDefaultDS'. Now I have the problem that 
more than one applikation is deployed on a server with different databases. I 
can manage this with a deployment descriptor in each bean but that is to 
complicated.

I hope the problem is more perspicuous even if my english is a disaster.

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

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


[jboss-user] [JBoss jBPM] - Re: GPD process designer - gpd.xml coordinates relative to w

2007-11-22 Thread [EMAIL PROTECTED]
Eclipse GEF is handling this. The coordinates are normally relative to the 
upper-left corner, but a GEF canvas may extend towards the left and towards 
above. This would result in negative coordinates.

Regards,
Koen

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

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


[jboss-user] [JBoss jBPM] - What difference between isTerminatedImplicitly and isTermina

2007-11-22 Thread binyorku
Hi, in the token class, there are two methods:
 isTerminatedImplicitly() and isTerminationImplicit().

Could anybody tell me what difference between them? Thanks in advance.

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

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


[jboss-user] [JBossWS] - Re: ClassNotFoundException JBossWSProviderFactoryImpl with J

2007-11-22 Thread gquintana
I looked at source code generated by WSImport and there is something weird that 
doesn't compile:
@XmlRootElement(...)
  | @XmlType(...)
  | @XmlAccessorType(XmlAccessType.FIELD)
  | public class MyOperationResponse {
  | @XmlElement(namespace = "", name = "return")
  | private MyValueObject return;
  | public MyValueObject getReturn() {
  | return this.return;
  | }
  | public void setReturn(MyValueObject return) {
  | this.return = return;
  | }
  | }
The "return" keyword is reserved and can not be used as attribute, argument...

The input interface was pretty simple:
@WebService(...)
  | public interface MyWebService {
  | @WebMethod
  | MyValueObject myOperation(String myArgument) throws MyException;
  | }

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

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


[jboss-user] [JBossWS] - Re: ClassNotFoundException JBossWSProviderFactoryImpl with J

2007-11-22 Thread gquintana
You are right, at line, I replaced
if [ -a $LIBDIR/jbossws-client.jar ]; then
by
if [ -f $LIBDIR/jbossws-client.jar ]; then
and now it works.

Should I fill a bug report or is it a known bug?

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

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


[jboss-user] [JBoss jBPM] - Re: How to use Mail.send() ?

2007-11-22 Thread kukeltje
dump the retrieved properties and see if they realy contain values.

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

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


[jboss-user] [JBoss jBPM] - Re: jbpm 3.2 Session Is Closed exception in JobSession

2007-11-22 Thread buldoser
Hi. 
I have the same problem. 
This is code :

public void cancelProcess(Long prId) throws RemoteException{
  JbpmContext ctx = createBpmContext(); 
  try{  
ProcessInstance prInst = ctx.getProcessInstanceForUpdate(prId);
prInst.end();
  }catch (Exception ex) {   
//...
  } finally{
ctx.close();
  }
}

 Transaction is managed outside method (for example by using Spring 
annotations). 
So problem is following: Session is closed in ctx.close(), transaction commited 
later, which causes DeleteJobsSynchronization to execute. It reasonably fails, 
because of closed session. 


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

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


[jboss-user] [JBoss Seam] - JSF and updating hidden field

2007-11-22 Thread whafrog
Hi, this is probably more of a JSF question, but maybe Seam has a workaround:

I have a simple table where each row is a component.  If the user has this 
component in the database, the hidden field has a value and the box is checked. 
 If they do not, they can always check the box and that component will be added 
to the database.  The problem is that the value of "lenderBenefitId" is handled 
on the server side.  If they check the box and click Save, the row is persisted 
to the database and the lenderBenefitId is populated.  If they uncheck the box 
that has a lenderBenefitId that is not null, that record will be deleted from 
the database and lenderBenefitId set to null.  But these changes are not 
propagated back to the view.  How can I get this propagation to happen?


  |   
  |   
  | 
  | Origination Fee:  
  | %
  |   
  |   
  |   
  | 
  | Federal Default 
Fee:  
  | %
  |   
  | 
  | 
  | 
  | 
  | 

Many thanks in advance!

Jon

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

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


[jboss-user] [Beginners Corner] - The static method getLogger(class) from the class Logger sho

2007-11-22 Thread TheNeo
I wrote this part of code  but i get a warning:
The static method getLogger(class) from the class Logger should be accessed in 
a static way.
I use java 1.5 and jboss SA 4.0

What should i do??
Thanks

import java.rmi.RemoteException;
import javax.ejb.EJBException;
import javax.ejb.SessionBean;
import javax.ejb.SessionContext;

import org.apache.log4j.Level;
import org.apache.log4j.Logger;

public abstract class MasterSessionBean implements SessionBean {
//Utilities for Logging
private static Logger logger;


public  MasterSessionBean() {
 
 logger = logger.getLogger("org.apache");

log("SessionMaster()");
}


protected void log(String message) {
logger.log(Level.DEBUG, message);
}

protected void warn(String message) {
logger.log(Level.ERROR, message);
}
}

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

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


[jboss-user] [JBoss Seam] - seam test of navigation

2007-11-22 Thread arussel
Hi,
We manage to integration test our application with a succession of new 
FacesRequest().run();

We would like to add some navigation test to it.
If we have:

  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
We would expect this to pass:

  | new NonFacesRequest("/foo.xhtml") {
  | @Override
  | protected void renderResponse() throws Exception {
  | assert "login.xhtml".equals(getRenderedViewId());
  | }
  | 
  | }.run();
  | 

We try few different way around it but couldn't manage to get it to work.
Is there a way using seam 1.2.1?
alex

Note: when we test inside container entering foo.xhtml inside the browser it 
sends us to the login page, our configuration is ok. We just want to know if we 
can test redirection using the SeamTest.* framework.

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

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


[jboss-user] [EJB/JBoss] - Re: Trouble building simple EJB

2007-11-22 Thread tamscot
Have managed to figure out for myself what the problem was. Compiler 
compliance. I was using ejb 2.3, JBoss 4.0.5 and Java5. ejb could not handle 
Java5 generics and so reported correctly an error. Fix was to change compiler 
compliance in the Eclipse Workspace from 5 to 1.4 and the same goes for each of 
the Projects in the workspace. This also meant editing each class declaration 
using generics to the old way of casting.

SORTED.

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

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


[jboss-user] [JNDI/Naming/Network] - Re: Problem with resource-mapping

2007-11-22 Thread waynebaylor
do you mean you want to use the same deployment descriptor for each bean, or 
that you want the beans to have the same code and just change the descriptor?

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: SELECT FOR UPDATE, PostgreSQL vs DB2

2007-11-22 Thread paoletto
"paoletto" wrote : actually, when i try to do a concurrent select for update 
calling again my same method, i get this:
  | 
  | [JDBCExceptionReporter] [SQL7973] Il pacchetto di creazione SQL per 
JBPKGCAA in JBOSS non è riuscito. Causa. . . . . :  La richiesta di 
creazione del pacchetto ha rilevato un errore. Il nome del pacchetto potrebbe 
essere JBPKGCAA in JBOSS.
  | 
  | not very helpful tough

it means "SQL creation packet for JBPKGCAA in JBOSS didnt succeed. Cause: 
creation request for the packet found an error. Packet name could be JBPKGCAA." 

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

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: SELECT FOR UPDATE, PostgreSQL vs DB2

2007-11-22 Thread paoletto
actually, when i try to do a concurrent select for update calling again my same 
method, i get this:

[JDBCExceptionReporter] [SQL7973] Il pacchetto di creazione SQL per JBPKGCAA in 
JBOSS non è riuscito. Causa. . . . . :  La richiesta di creazione del 
pacchetto ha rilevato un errore. Il nome del pacchetto potrebbe essere JBPKGCAA 
in JBOSS.

not very helpful tough

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

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - SELECT FOR UPDATE, PostgreSQL vs DB2

2007-11-22 Thread paoletto
Hi

I have  a method which REQUIRES_NEW transaction, which perform

a SELECT ... FOR UPDATE on one row.

On PostgreSQL everything is fine and the query locks correctly, while if i use 
DB2 as datasource, it seems
that my select for update doesnt actually lock anything, and if i perform 
another invocation to this method, or some other selects for update from other 
consoles, they can succeed...

What's wrong?

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

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


[jboss-user] [EJB 3.0] - Re: Persistent unit problem

2007-11-22 Thread waynebaylor
when you get the NameNotFoundException what name does it give? are you doing a 
JNDI lookup?

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

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


[jboss-user] [JBoss Seam] - Re: Server Technical Specifications

2007-11-22 Thread pettersonfp
Is this the proper forum?

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

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


[jboss-user] [JBoss Seam] - Seam 1.2.1 GA batch processing timeout issue

2007-11-22 Thread soza

Seam : 1.2.1 GA
App server: Websphere 6.1
Components: POJO

Here's the problem we have...

- A web service gives us a list of items
- We iterate through the list (usually about 20,000)
- Execute a method to persist the data from the web service

Problem: 
Transaction time out (default app server time out is 2 mins, which we cannot 
change)

Alternative problems
- We have to use the web service which produces 20,000 odd items
- We also want to reuse the code that uses the ORM solution for persistence 
(JPA/hibernate) 
- Reluctance to use an asyn approach
 
Any suggestions?

Thanks.

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: Trust association and subject building for SSO

2007-11-22 Thread RoshanDawrani
Hi Ganesh,
Can you please share how you resolved the authentication issues at web layer as 
well as the ejb layer in your scenario? I also have to something similar. I 
have to use a custom SSO solution that sends the authenticated user's name and 
role as cookies and with that I have to satisfy my web layer and ejb layer 
security requirements by creating the required principal and subject objects so 
that the containers are satisfied.

If you can share finally which approach you took it'll help me a lot. Did you 
end up extending some catalina Authenticator and some JBoss login module to 
skip the authentication step (as it has already been done by the custom SSO 
solution) or did you take any other approach?

Thanks,
Roshan


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

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


[jboss-user] [JBoss Tools (users)] - Re: jpa facet not show

2007-11-22 Thread [EMAIL PROTECTED]
did you remember to select the JPA facet on the previous page ?

note: I recommend you enable this *after* you have run the seam web project 
wizard instead of during since Dali seem to not be good at handling it.

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

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


[jboss-user] [JBoss jBPM] - How to use Mail.send() ?

2007-11-22 Thread HeinerNiehues
When i use the email-node the Email transmission in JBPM works fine.

Now, I created an own ActionHandler for sending  emails. But it doesnt works. I 
tried to use the method
org.jbpm.mail.Mail.Mail.send(Properties, String, List, String, String) 
but I guess i made something wrong:
 try {
  | JbpmConfiguration.Configs.getObject("jbpm.mail.smtp.host");
  | Properties p = new Properties();
  | p.put("mail.smtp.host", 
JbpmConfiguration.Configs.getObject("jbpm.mail.smtp.host"));
  | p.put("mail.smtp.port", 
JbpmConfiguration.Configs.getObject("jbpm.mail.smtp.port"));
  | p.put("mail.smtp.auth", 
JbpmConfiguration.Configs.getObject("jbpm.mail.smtp.auth"));
  | p.put("mail.smtp.ssl", 
JbpmConfiguration.Configs.getObject("jbpm.mail.smtp.ssl"));
  | p.put("mail.smtp.user", 
JbpmConfiguration.Configs.getObject("jbpm.mail.smtp.user"));
  | p.put("mail.smtp.password", 
JbpmConfiguration.Configs.getObject("jbpm.mail.smtp.password"));
  | List l = new ArrayList();
  | l.add("[EMAIL PROTECTED]");
  | Mail.send(p, "username",l, "The subject", "The text");
  | } catch (Exception e ) {
  | e.printStackTrace();
  | }

A JbpmException: couldnt send email with the cause:
javax.mail.AuthenticationFailedException

Actually i am using the same data like for the MailNode..

best regards


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

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


[jboss-user] [JBoss Tools (users)] - Re: jpa facet not show

2007-11-22 Thread koatto
i've tried to follow the "Getting Started with Red Hat Developer Studio" 
tutorial, expecting to get all the wizard screens described, but the jpa facet
selection form was missing. I refer to figure 3.4 : 

[img]http://www.redhat.com/developers/rhds/Getting_Started_Single/images/SeamNewProj04.png[/img]

Anyway everything seems to work greatly, by the seam side.

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

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


[jboss-user] [JBoss Seam] - Re: Change messages (created, updated, deleted)

2007-11-22 Thread damianharvey
I assume that you're using a class that extends EntityHome. In your 
persist/update/remove methods you can specify the message 
eg:super.setCreatedMessage("hello")
or look at injecting the message bundle and using that:eg
  | @In private Map messages;
  | ...
  | @Override
  | public String persist() {
  |super.setCreatedMessage(messages.get("my.created.key"));
  | ...Cheers,

Damian

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

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


[jboss-user] [JBoss Seam] - Re: Pageflow: Illegal Navigation Error

2007-11-22 Thread skanky78
first of all, thank you for your reply! :)

i have several entry-points (link to the same wizard from different pages) from 
where the wizard is called. how could i map this in jpdl?


  | 
  | 
  | http://jboss.com/products/seam/pageflow";
  | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  | xsi:schemaLocation=
  | "http://jboss.com/products/seam/pageflow 
http://jboss.com/products/seam/pageflow-2.0.xsd";
  | name="createShop">
  | 
  | 
  | 
  | 
  | 
  | 
  |
  | 
  | 
  |  
  | 
  | 
  | 
  | 
  | 
  |  
  | 
  | 
  | 
  | 
  | 
  |  
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

how can i start the wizard from other pages like otherpage1.xhml and 
otherpage2.xhml? maybe define multiple start-pages?

cheers,
sven

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

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


[jboss-user] [JBoss Seam] - ThemeSelector and ConversationContext

2007-11-22 Thread Ben90
Hi

I have 2 themes configured in the components.xml


  | 
  | 
  | classic
  | modern
  | 
  | 

and start from the main-page a conversation:


  | 
  | 

In the action-method i read out the themeSelector-Object and set either the 
classic oder modern theme. This all works fine, but if open the first link in a 
tab and then the second link in another tab, switch back to the first tab, 
navigate around from there, i get the second - theme (the latest). The 
ConversationContext is still ok (every tab has its own context).

So my question would be if it is possible to use conversation-based themes. If 
yes, an example would be great. I tried around with either setting the scope in 
the theme-selector-tag in components.xml but had no luck. also 
enabling/disabling the cookie-tag in there didn't work.

any help appreciated

tnx & greetings
ben





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

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


[jboss-user] [JBoss jBPM] - Re: Web based process designer

2007-11-22 Thread kukeltje
afaik no, not in the near future.

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

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


[jboss-user] [JBoss jBPM] - Re: jBPM and WfMC's interfaces

2007-11-22 Thread rodosa
I have been flicking through some documents of jBPM and I think that the 
correspondence of some interfaces with packages of the jBPM's API is:

Interface 1 --> org.jbpm.workflow.definition (contains the interface for 
definition of processes)
Interface 2 --> org.jbpm.workflow.execution (contains the interface for 
execution of processes)
Interface 5 --> org.jbpm.workflow.log.impl (contains is the interface for 
retrieving audit logger information about process executions)

Could someone tell me if it's correct? 

Thanks

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

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


[jboss-user] [JBoss Tools (users)] - Re: jpa facet not show

2007-11-22 Thread [EMAIL PROTECTED]
what do you mean ?

there have been no change in this area.

We never installed JPA facet by default because Dali had too many issues out of 
the box to allow for that.

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

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


[jboss-user] [JBoss Seam] - Trying to understand transactions

2007-11-22 Thread joaobmonteiro
Hi guys,

I am using Seam 1.2 GA + JSF + Apache 6 and I got some problems in handling 
transactions. I tried hard to find when Seam opens, commit and flushes an 
transaction during a request without success. 


Why Seam commits/flushes a transcation when I do em.find(clazz,id) ?

I have a transient object (an user instance) inside a managed object (Issue 
instance, for example), so I need to get a managed user instance, for that, I 
use em.find and I got a really nice Transient Object Exception because someone 
tryies to flush the transction during em.find.

You could think that I only need to do merge() instead of trying to find() but 
in my case, the user instance will be always transient because it cames from a 
legacy system and if it exists in my system I have to merge otherwise I have to 
insert it.

I solved this problem setting manual flush mode but it is too boring to work 
with. 

Other problem I have is undesirable commits after Ajax requests causing 
transient object exception. 

Anyone knows how to solve these questions in a better way ?

Thanks



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

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


[jboss-user] [JBoss Seam] - Re: JBoss Seam 2.0.0 beta1 and jetty

2007-11-22 Thread pete76
I am getting this error using 

Jetty 6.1.6
Seam 2.0 GA

What is the issue with the El libraries conflicting on different container 
runtimes ?  

Can this be solved by some careful dependency management of the el libraries?



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

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


[jboss-user] [JBoss Seam] - Re: Custom JSF Validator/Converter with EntityManager

2007-11-22 Thread [EMAIL PROTECTED]
You just need to be careful of transaction handling. Component.getInstance to 
get hold of the SMPC.

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

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


[jboss-user] [JBoss Portal] - Re: Localizing Tab that has spaces in its name

2007-11-22 Thread syllant
This seems to be clean :-)

But I wish you could redesign -object.xml usage since it's quite confusing. 

I'm new to JBP (2 weeks) but I've used other portals. What I miss most in JPB 
is a import/export module (or backup/restore). There should be a way to 
redeploy a portal with its content easily. This is why probably many of us use 
-object.xml files, to keep a externalized definition of portal content.

But my impression is that these descriptors where designed as bootstrappers, 
i.e. to quickly build a portal core, and not as whole portal definition. This 
is why there are design issues like this (tab localization), which don't fit 
this goal.

What I'd like is to keep these descriptors as simple bootstrappers (i.e. 
without handling localization) and be able to export and import portal : 
structure, content, configuration, users, ... I've seen this was planned for 
2.8, great :-)

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

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


[jboss-user] [EJB 3.0] - Re: Problem instantiating an EntityManagerFactory

2007-11-22 Thread waynebaylor
two things:

1)not sure if it matters, but use java:/DefaultDS instead of java:DefaultDS in 
persistence.xml.

2)Persistence.create* is for use outside the container. try doing a JNDI lookup 
of the factory instead.

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

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


[jboss-user] [JBoss Seam] - Re: @Factory is not working

2007-11-22 Thread maykellff
anonymous wrote : 
  | You are however not referencing the context variable, but a getter method 
on another context variable. 
  | 
Please clarify me, what is exactly a "context variable" ? 

1- You mean a variable annotated with an Out?
2- A Session bean annotated with a @Name it is not a context variable?
3- In my example i have "expedienteFacadeStateless" that is a stateless session 
bean annotated with a @Name seam annotation, now i thougth that the property 
tipoAcusadoRs implicitly become a context variable. i'm wrong?

anonymous wrote : 
  | (if you had an @Out at the list, the factory would have been called).
  | 
I did that an i get the following exepction:

java.lang.IllegalArgumentException: Expected a child component type of 
UISelectItem/UISelectItems for component type 
javax.faces.SelectOne(j_id_jsp_912580932_7pc2).  Found null.

Any suggestion will be very appreciated.Thank you ,
Maykell
 



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

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


[jboss-user] [JBoss jBPM] - getting started example, how to send mail

2007-11-22 Thread agonirena
I am following the Getting Started Totorial. In order to configure the SMTP 
server, I have read in the user's guide that i have to use the jbpm.cfg.xml 
file. Where should I put this file? I have read elsewhere that the correct 
place is the classpath's root. Could you give me an example based on websale 
tutorial?
Thanks in advance.

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

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


[jboss-user] [JBoss Seam] - Server Technical Specifications

2007-11-22 Thread pettersonfp
Hi,

Is there any method to calculate the necessary hardware to run my seam-app?

Thanks in advance,

Petterson

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

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


[jboss-user] [JBoss Portal] - Re: IPC - unable to get example to work

2007-11-22 Thread JohnnyTheHun
Thank you, now it works perfectly

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

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


[jboss-user] [JBoss Portal] - Data access / persistence - could you help?

2007-11-22 Thread JohnnyTheHun
I am setting up a JBoss Portal for evaluation purposes at my company.

I am new to JBoss, Portal, Hibernate and more or less to the J2EE scene too.

I am reading documentation whenever I can, if I run into something and I know 
where to find the docs.

I have set up the new bundle, wrote a few simple portlets, tested IPC.

I want to do the following - please tell me if I'm on the wrong track:

I am creating two portlets: 

SelectDocument portlet show a list of documents the user can select. It gets 
the list from an underlying database.

ShowDocument portlet listens for selection at SelectDocument and displays the 
selected document content from the underlying database.

I have got stuck on how to access the underlying database, what API to use, 
what docs to read. JDBC, Hibernate, EJB3 persistence etc. I need the simplest 
and minimal resource consuming (there might be a lot of users accessing the 
page at a time - Connection pooling, caching would be handy) solution.

I will have no problem if someone just gives me a hint at where to start 
(concerning data access, not j2ee principles) - I tried 
HibernateUtil.getSession(jndiname), but didn't find the jar that contains 
HibernateUtil.

Thank you

John

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

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


[jboss-user] [JBoss Portal] - Please Help: FacesContext.getExternalContext().redirect does

2007-11-22 Thread rododendro
Hi,
I'm developing a JSF portlet application on JBP 2.6.1, AS 4.2.1. I need to 
redirect navigation from a JSF portlet to another one, before this a portlet 
session attribute must be set, so I can't user a direct link to the portlet URL.

Based on JSF 1.2 documentation i tried:

FacesContext fc = FacesContext.getCurrentInstance();
  | 
fc.getExternalContext().redirect("http://localhost/portal/auth/portal/Portale+Benvenuto/Informazioni+Personali";);
  | 
but I got the following error:

6:08:05,746 ERROR [STDERR] 20-nov-2007 16.08.05 
com.sun.faces.portlet.FacesPortlet processAction
  | INFO: PS_CSFP0017:sendRedirect called Portlet mode cannot be set after 
redirect
  | 

what is wrong?

Thanks

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

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


[jboss-user] [Datasource Configuration] - Re: creating datasource

2007-11-22 Thread ABDGOD
HY, i have exactly the same problem (error).
Did you find a solution, please answer me thx.

[EMAIL PROTECTED]

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

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


[jboss-user] [EJB 3.0] - Re: Deployment problems - persistence unit could not be crea

2007-11-22 Thread ABDGOD
HY, i have exactly the same problem (error).
Did you find a solution, please answer me thx.

[EMAIL PROTECTED]

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

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


[jboss-user] [JBoss Seam] - Persistence provider suggestions needed.

2007-11-22 Thread tzman

We have implemented a Custom JPA EntityManager, yes we are either "masochists 
and/or not very bright". The real reason behind this endeavor is that 
operations on entities (CRUD) actually occurs via xml messaging with a number 
of services. So, the EntityManager manages creation of the correct message for 
the operation called on the given entity. For the most part, implementing the 
JPA spec made sense. Developers can work with either our EntityManager or the 
one provided by Hibernate with little transition time. However, there were some 
things that did not correlate properly to what we needed and we did not want to 
force something that may end up confusing to developers. Queries were the first 
thing, and are simply just not supported. Transactions are a little stranger, 
the concept is somewhat the same but different enough that using the 
Transaction API would be confusing. So what we have instead is a Bundle, a 
bundle conceptually works the same as a transaction but differs in!
  that what we are actually doing is sending a number of XML messages "bundled" 
into a wrapper message. The receiving service will then perform the operations 
within a single transaction. This all works pretty well, so far. 

Now we are to the point of integrating this with Seam. So, we have an 
EntityManagerFactory, an EntityManager and a Session ( yes, we modeled this 
after Hibernate; does that make us genius' ). What we do not have is a 
persistence unit, which does not really map to a host and port number. What we 
would like to do is have Seam manage the EntityManager/Session and possibly the 
Bundles. 

Our thoughts are that we may have to wrap our Bundle in a transaction 
implementation for either JPA or Hibernate. But, we are not sure if we can get 
around not having a persistence unit defined. We are slo unsure if we can try 
to mirror the Hibernate managed context in Seam or if we need to implement all 
of the JPA requirements and have Seam manage the JPA persistence provider. What 
is the easiest and/or best way to do this?

Any suggestions, pointers or comments are appreciated.



Thanks in advance.


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

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

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


[jboss-user] [Security & JAAS/JBoss] - Radius AAA server + JAAS

2007-11-22 Thread engela
 
I need to integrate jboss + RADIUS server for AAA. Is there a radius login 
module for JBoss Authentication? 

Thanks,

Anette

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

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


[jboss-user] [JBoss Seam] - Custom JSF Validator/Converter with EntityManager

2007-11-22 Thread trouby
Hey,

I would like to create a jsf validator/converter that should involve some db 
queries/modifications,


Is it possible elegantly to use Seam's entityManager somehow?


There's entityConverter out of the box coming with Seam which probably make a 
usage of it, not sure how exactly it works,


Thanks,

Asaf.

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

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


[jboss-user] [JBoss Portal] - Re: It's Time for .... another UTF-8 Problem

2007-11-22 Thread [EMAIL PROTECTED]
We are not able to reproduce this behavior in 2.6.2 either with the new and the 
former portlets. (We changed the profile of a user after including umlauts in 
the first name and lastname)

So we would need more information on your environment and what you are doing 
exactly 

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

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


[jboss-user] [JBoss Seam] - Re: Seam and plain old JDBC code

2007-11-22 Thread Fangzx
How to use plain old JDBC code with Seam? Could anyone show some code pls? 
Thanks in advance.

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

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


[jboss-user] [JBoss Seam] - Re: accessing @length's 'max' value

2007-11-22 Thread skanky78
ok, is there any other solution so that i have to define the max-value only 
once? can i set the max-value in the component through EL, so that i could use 
the same expression for my input attribute?

thanks in advance,
sven

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

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


[jboss-user] [JBossWS] - IWAB0398E Error in generating WSDL from Java

2007-11-22 Thread kikk
Hi,
I use Jboss 4.0, jdk 1.5 and eclipse 3.3.1.
when I click on "create web service", appears to me a windows with an error.
Can someone tell me what's the problem?

IWAB0398E Error in generating WSDL from Java: java.lang.ClassNotFoundException: 
owlJena.ExportConverter
java.lang.ClassNotFoundException: owlJena.ExportConverter
at java.lang.ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at 
org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
at 
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
at 
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
at 
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.apache.tools.ant.AntClassLoader.findBaseClass(AntClassLoader.java:1414)
at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1085)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:187)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160)
at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100)
at org.apache.axis.wsdl.fromJava.Emitter.setCls(Emitter.java:2079)
at 
org.apache.axis.tools.ant.wsdl.Java2WsdlAntTask.execute(Java2WsdlAntTask.java:188)
at 
org.eclipse.jst.ws.internal.axis.consumption.core.command.Java2WSDLCommand.executeAntTask(Java2WSDLCommand.java:181)
at 
org.eclipse.jst.ws.internal.axis.consumption.core.command.Java2WSDLCommand.execute(Java2WSDLCommand.java:96)
at 
org.eclipse.jst.ws.internal.axis.creation.ui.command.BUCodeGenOperation$BottomUpWSModifyOperation.execute(BUCodeGenOperation.java:116)
at 
org.eclipse.jst.ws.internal.axis.creation.ui.command.BUCodeGenOperation.execute(BUCodeGenOperation.java:80)
at 
org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.runCommand(CommandFragmentEngine.java:419)
at 
org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.visitTop(CommandFragmentEngine.java:359)
at 
org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.moveForwardToNextStop(CommandFragmentEngine.java:254)
at 
org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager$6.run(SimpleCommandEngineManager.java:294)
at 
org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
at 
org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager.runForwardToNextStop(SimpleCommandEngineManager.java:264)
at 
org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.runForwardToNextStop(WizardPageManager.java:91)
at 
org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.getNextPage(WizardPageManager.java:154)
at 
org.eclipse.wst.command.internal.env.ui.widgets.SimpleWizardPage.getNextPage(SimpleWizardPage.java:136)
at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:813)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:369)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:616)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
at org.eclipse.jface.window.Window.open(Window.java:796)
at 
org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard.run(DynamicPopupWizard.java:130)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:256)
at 
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
at 
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
at 
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.

[jboss-user] [JBoss jBPM] - Re: question about how to retrieve all tasks

2007-11-22 Thread binyorku
Thanks a lot. 

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

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


[jboss-user] [JBoss Portal] - javax.transaction.NotSupportedException

2007-11-22 Thread remi_dong
Hello, 
I have a exception when i use the transaction in my portlet.

I get the log:

15:45:01,640 ERROR [GiftCardActivate] Exception in actevate card. => Quit the 
transaction
15:45:01,640 ERROR [STDERR] javax.transaction.NotSupportedException
15:45:01,656 ERROR [STDERR] at 
com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.begin(BaseTransaction.java:79)
15:45:01,656 ERROR [STDERR] at 
com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.begin(BaseTransactionManagerDelegate.java:77)
15:45:01,656 ERROR [STDERR] at 
org.jboss.tm.usertx.client.ServerVMClientUserTransaction.begin(ServerVMClientUserTransaction.java:124)
15:45:01,656 ERROR [STDERR] at 
com.sesamea.portlet.identity.utl.GiftCardActivate.activateCheque(Unknown Source)
15:45:01,656 ERROR [STDERR] at 
com.sesamea.portlet.identity.UserGestionPortlet.activateCheque(Unknown Source)
15:45:01,671 ERROR [STDERR] at 
com.sesamea.portlet.identity.UserGestionPortlet.doView(Unknown Source)
15:45:01,671 ERROR [STDERR] at 
javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:133)
15:45:01,671 ERROR [STDERR] at 
javax.portlet.GenericPortlet.render(GenericPortlet.java:306)
15:45:01,671 ERROR [STDERR] at 
org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.invokeRender(PortletContainerImpl.java:483)
15:45:01,671 ERROR [STDERR] at 
org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:405)
15:45:01,671 ERROR [STDERR] at 
org.jboss.portal.portlet.container.PortletContainerInvoker$1.invoke(PortletContainerInvoker.java:86)
15:45:01,671 ERROR [STDERR] at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
15:45:01,671 ERROR [STDERR] at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeRequired$aop(TransactionInterc
15:45:01,671 ERROR [STDERR] at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeRequired_9103964459766407072.invokeNext(TransactionInterceptor$invokeRequired_9103964459766
15:45:01,687 ERROR [STDERR] at 
org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
15:45:01,687 ERROR [STDERR] at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
15:45:01,687 ERROR [STDERR] at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeRequired_9103964459766407072.invokeNext(TransactionInterceptor$invokeRequired_9103964459766
15:45:01,687 ERROR [STDERR] at 
org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
15:45:01,687 ERROR [STDERR] at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
15:45:01,687 ERROR [STDERR] at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeRequired_9103964459766407072.invokeNext(TransactionInterceptor$invokeRequired_9103964459766
15:45:01,687 ERROR [STDERR] at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeRequired(TransactionInterceptor.java)
15:45:01,687 ERROR [STDERR] at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:72)
15:45:01,703 ERROR [STDERR] at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
15:45:01,703 ERROR [STDERR] at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
15:45:01,703 ERROR [STDERR] at 
org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:50)
15:45:01,703 ERROR [STDERR] at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
15:45:01,703 ERROR [STDERR] at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
15:45:01,703 ERROR [STDERR] at 
org.jboss.portal.portlet.aspects.portlet.ProducerCacheInterceptor.invoke(ProducerCacheInterceptor.java:58)
15:45:01,703 ERROR [STDERR] at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
15:45:01,703 ERROR [STDERR] at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
15:45:01,718 ERROR [STDERR] at 
org.jboss.portal.core.aspects.portlet.AjaxInterceptor.invoke(AjaxInterceptor.java:51)
15:45:01,718 ERROR [STDERR] at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
15:45:01,718 ERROR [STDERR] at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
15:45:01,718 ERROR [STDERR] at 
org.jboss.portal.portlet.aspects.portlet.ModesInterceptor.invoke(ModesInterceptor.java:62)
15:45:01,718 ERROR [STDERR] at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
15:45:01,718 ERROR [STDERR] at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
15:45:01,718 ERROR [STD

[jboss-user] [JBoss Seam] - Re: seam theme doesnot work in hotdeploy mode

2007-11-22 Thread xinhua
ok,done

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

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


[jboss-user] [JBoss Portal] - Re: It's Time for .... another UTF-8 Problem

2007-11-22 Thread Soon5
Hy,

My Username is a company-wide unique number. But, when I edit my Profile, I see 
my First and my Lastname.

First an Lastname are displayed correctly, but when I send the Form, for 
example for changing my password, the ü gets destroyed

Greetings
Arne Lüdtke

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

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

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


[jboss-user] [JBossWS] - Re: Dynamic no. of attachments using MTOM

2007-11-22 Thread oskar.carlstedt
Ok!

What I mean is when I have a DataHandler I can get an input stream to the reach 
the attachment data. But what if I have the following xml. How do I get my xml 
document:


  | 
  |
  |   
  |  
  |  SOME TEXTUAL INFO 1 
  |  SOME TEXTUAL INFO 2 
  |  
  |  this part will go as MTOM attachment
  |   
  |   
  |  
  |  SOME TEXTUAL INFO 1 
  |  SOME TEXTUAL INFO 2 
  |  
  |  this part will go as MTOM attachment
  |   
  |
  | 
  | 

Are there two methods that are invoked in the implementing code. As I 
understand the DataHandler will give me the InputStream to the attachment 
(binary in above xml). But there is no way to get the rest of the xml, or is it?

Regards
/Oskar


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

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


[jboss-user] [JBoss Seam] - Re: accessing @length's 'max' value

2007-11-22 Thread [EMAIL PROTECTED]
not afaik

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

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


[jboss-user] [JBoss jBPM] - org.hibernate.exception.SQLGrammarException: could not get t

2007-11-22 Thread leks
Dear All,

I'm geting this hibernate exception on loading the application in tomcat.The 
application works fine.But it always throw this error on start up.I'm using 
jbpm 3.2. Any pointers as to why this happens and how to solve this

19:34:22 [main] ERROR could not complete schema update at 
org.hibernate.tool.hbm2ddl.SchemaUpdate.
org.hibernate.exception.SQLGrammarException: could not get table metadata: 
JBPM_ACTION
at 
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:65)
at 
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at 
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
at 
org.hibernate.tool.hbm2ddl.DatabaseMetadata.getTableMetadata(DatabaseMetadata.java:100)
at 
org.hibernate.cfg.Configuration.generateSchemaUpdateScript(Configuration.java:837)
at 
org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:144)
at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:295)
at 
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1154)
at 
org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:805)
at 
org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:745)
at 
org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:134)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory
.java:1143)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.ja
va:1110)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:4
31)
at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:254)
at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:144)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:251)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:163)
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:271)
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:12
8)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFacto
ry.java:1047)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java
:843)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:4
27)
at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:254)
at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:144)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:251)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:163)
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:271)
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:12
8)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFacto
ry.java:1047)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java
:843)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:4
27)
at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:254)
at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:144)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:251)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:163)
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:271)

[jboss-user] [JBoss Seam] - Re: seam theme doesnot work in hotdeploy mode

2007-11-22 Thread [EMAIL PROTECTED]
Please file a feature request in jira for this.

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

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


[jboss-user] [JBoss Portal] - Re: Localizing Tab that has spaces in its name

2007-11-22 Thread [EMAIL PROTECTED]
So i'm implementing it this way.
On top of the different display-name i will add a:
resource-bundle tag to specify a resource bundle.

Values from this resource bundle will populate the database and can be 
overidden at runtime for people using the admin portlet.

If if-exists is set to keep, values from DB are kept, if it's overwrite it will 
take the values from the resource bundles.

That way we have something consistent that solves main use cases.

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

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


[jboss-user] [EJB/JBoss] - Re: Problem deploying Session Bean

2007-11-22 Thread jaikiran
Since you are using EJB3.0, you no longer need to "narrow" the returned object. 
The lookup will return you an proxy which implements AddressDAO interface. 
Change your code to


   AddressDAO dao = (AddressDAO) ctx.lookup("ta3g/AddressDAOImplBMT/remote");




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

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


[jboss-user] [JBoss Tools (users)] - jpa facet not show

2007-11-22 Thread koatto
when i create a new seam project i don't find the "JPA Facet" among
the project's facets list.
I use jboss 4.2.2.GA and the last version of jboss tools got by eclipse update.

Any idea?

Thanks, Ale.

[/img]

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

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


[jboss-user] [JBossCache] - far cache pattern

2007-11-22 Thread mbroons
Can i use this pattern to provide some kind of highly available cluster ?

I would have cluster A caches delegating to far cache A (inside the cluster A)
I would have cluster B caches delegating to far cache B (inside the cluster B)

Can i set up something like:

cluster A caches delegating to far cache A delegating to far cache B
cluster B caches delegating to far cache B delegating to far cache A

there is cyclic dependency there. What will happen exactly ?

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

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


[jboss-user] [JBoss Seam] - FacesMessages are enqueued and not shown

2007-11-22 Thread georges.goebel
Hi,

When I have a inputText filed with the attribute required="true" an the user 
does not enter any data the validation is done but the facesmessage is not show 
on the page. I have tried with , , , 
... but I only see the correct message in the log of JBoss

I have also tries s:decorate, s:validate, ... but I had no luck

The cart bean is a stateful bean 


  | @Stateful(name = "Cart")
  | @Remote(Cart.class)
  | @Local(Cart.class)
  | @Scope(ScopeType.CONVERSATION)
  | @Name("cart")
  | //@Interceptors(SeamInterceptor.class)
  | public class CartImpl implements Cart{
  | ...
  | }
  | 
I also tried with session scope but no luck either

Is that a bug in Seam or how do I have to configure Seam to show these messages 
?


  | [lifecycle] WARNING: FacesMessage(s) have been enqueued, but may not have 
been displayed.
  | 

My code is :


  | 
  | 
  | 
  |  
  | 
  | 


My pages.xml is :



  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

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

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


[jboss-user] [JBoss Seam] - Change messages (created, updated, deleted)

2007-11-22 Thread jagr
Hi.

I'm using jboss-seam-2.0.0.BETA1 and jboss-4.2.1.GA.

At top of form i  have http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107111#4107111

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


[jboss-user] [Security & JAAS/JBoss] - Problem with SSL configuration

2007-11-22 Thread xsedlacp
Hi,

I tried configuration explained in JBoss documentation 
(http://docs.jboss.org/jbossas/admindevel326/html/ch8.chapter.html#d0e18946).

I defined securityDomain
   
  |
  |jboss.keystore
  |rmi+ssl
  |

and I defined invoker
   
  |  14445
  |  org.jboss.security.ssl.RMISSLClientSocketFactory
  |  org.jboss.security.ssl.RMISSLServerSocketFactory
  |  java:/jaas/RMI+SSL
  |  
jboss.security:service=JaasSecurityDomain,domain=RMI+SSL
  |

But this invoker never starts

13:07:17,453 WARN  [ServiceController] Problem starting service 
jboss:service=invoker,socketType=SSL,type=jrmp
javax.naming.NameNotFoundException: TransactionPropagationContextExporter not 
bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:527)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:535)
at org.jnp.server.NamingServer.getObject(NamingServer.java:541)
at org.jnp.server.NamingServer.lookup(NamingServer.java:294)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:621)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:583)
at javax.naming.InitialContext.lookup(Unknown Source)
at 
org.jboss.invocation.jrmp.server.JRMPInvoker.startService(JRMPInvoker.java:303)
at ...

Can somenone help me, how to configure using SSL with JBoss.  I am using JBoss 
version 3.2.8SP1.

any help would be appriciate ...

Thanks

Peter

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

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


[jboss-user] [JBoss Seam] - Re: Ma generic do even more version of EntityQuery : MyEntit

2007-11-22 Thread koenhandekyn
this new version below adds methods that generate the default search 
constraints given a list of fields.

just override getFields and get the constraints for free using 
getSearchFieldRestrictions

kind regards

koen

package up.seam;
  | 
  | import java.lang.annotation.Annotation;
  | import java.lang.reflect.ParameterizedType;
  | import java.lang.reflect.Type;
  | import java.util.Arrays;
  | import java.util.LinkedList;
  | import java.util.List;
  | 
  | import org.jboss.seam.annotations.Name;
  | import org.jboss.seam.framework.EntityQuery;
  | 
  | import up.util.LangUtil;
  | 
  | public class MyEntityQuery extends EntityQuery {
  | 
  |   // you cannot initialize (results in bug for seam 2.0.0.GA)
  |   protected T example = null;
  | 
  |   public T getExample() {
  | if (example == null) {
  |   example = createInstance();
  | }
  | return example;
  |   }
  | 
  |   public void setExample(final T example) {
  | this.example = example;
  |   }
  | 
  |   protected Boolean reverse = false;
  | 
  |   public Boolean getReverse() {
  | return reverse;
  |   }
  | 
  |   public void setReverse(Boolean reverse) {
  | this.reverse = reverse;
  |   }
  | 
  |   @Override
  |   public Integer getMaxResults() {
  | return 25;
  |   }
  | 
  |   @Override
  |   public void setOrder(final String order) {
  | 
  | System.out.println("REQUEST TO SORT: " + order + ", was " + 
super.getOrder());
  | if (LangUtil.isNotEmpty(order)) {
  |   if (order.equals(this.getOrder())) {
  | this.reverse = !this.reverse;
  |   } else {
  | this.reverse = false;
  |   }
  |   super.setOrder(order);
  | }
  |   }
  | 
  |   @Override
  |   public String getOrder() {
  | if (reverse)
  |   return super.getOrder() + " desc";
  | else
  |   return super.getOrder();
  |   }
  | 
  |   private static final long serialVersionUID = 1L;
  | 
  |   @Override
  |   public String getEjbql() {
  | 
  | final String entityClassName = getEntityClass().getSimpleName();
  | // System.out.println(entityClassName);
  | 
  | final String ejbql = "from " + entityClassName + " " + 
entityClassName.toLowerCase();
  | // System.out.println(ejbql);
  | return ejbql;
  |   }
  | 
  |   public T createInstance() {
  | 
  | if (getEntityClass() != null) {
  |   try {
  | return getEntityClass().newInstance();
  |   } catch (Exception e) {
  | throw new RuntimeException(e);
  |   }
  | } else {
  |   return null;
  | }
  |   }
  | 
  |   protected Class entityClass;
  | 
  |   public Class getEntityClass() {
  | if (entityClass == null) {
  |   Type type = getClass().getGenericSuperclass();
  |   System.out.println("found class " + getClass());
  |   System.out.println("found type " + type);
  |   if (type instanceof ParameterizedType) {
  | ParameterizedType paramType = (ParameterizedType) type;
  | entityClass = (Class) paramType.getActualTypeArguments()[0];
  |   } else {
  | throw new IllegalArgumentException("Could not guess entity class by 
reflection");
  |   }
  | }
  | return entityClass;
  |   }
  | 
  |   public List getSearchFields() {
  | return null;
  |   }
  | 
  |   @Override
  |   public List getRestrictions() {
  | 
  | if (getSearchFields() == null)
  |   return null;
  | 
  | final List searchFieldRestrictions;
  | searchFieldRestrictions = new LinkedList();
  | 
  | final String componentName;
  | componentName = getComponentName();
  | 
  | for (final String field : getSearchFields()) {
  |   searchFieldRestrictions.add("account." + field + " LIKE concat(#{" + 
componentName + ".example." + field + "},'%')");
  | }
  | 
  | return searchFieldRestrictions;
  |   }
  | 
  |   public String getComponentName() {
  | 
  | final Annotation nameAnnotation = 
this.getClass().getAnnotation(Name.class);
  | Name name = (Name) nameAnnotation;
  | return name.value();
  | 
  |   }
  | }
  | 

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

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


[jboss-user] [JBoss Seam] - Re: Seam 2 + JBoss Portal 2.6 portlets

2007-11-22 Thread wesleyhales
See here:
http://blog.jboss-portal.org/2007/11/seam-20-portlet-example.html

We are still working on some things but hope to have a release with 
RichFaces+Seam soon.

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - why does flushing occur though transaction is rollbacked?

2007-11-22 Thread kannattaa
is it normal or bug, that flush() always occurs, even if the transaction 
rollbacks?

i have seam-managed hibernate session configured according to seam 
documentation 
http://docs.jboss.com/seam/2.0.0.GA/reference/en/html/persistence.html#d0e5849

true
  | after_statement
  | org.hibernate.transaction.JBossTransactionManagerLookup
  | org.hibernate.transaction.JTATransactionFactory
  | 



and a method

@Begin
  | @End
  | public void save(Person person){
  | currentSession.save(person);
  | currentSession.createSQLQuery("{call initializePerson(:person_id)}")
  | .setLong("person_id", person.getId())
  | .executeUpdate();
  | currentSession.refresh(person);
  | if (!person.isInitialized()) throw new RuntimeException("Failed to 
initialize person");
  | }
  | 



as a result of the method's execution:

if person is uninitialized , it will be a rollbacked transaction due to the 
RuntimeException. (Because it is a "System Exception" and they always cause a 
transaction rollback 
http://docs.jboss.com/seam/2.0.0.GA/reference/en/html/events.html#d0e4391 )

As expected the stored procedure "initializePerson" will be rollbacked.
But an insert of the method "currentSession.save(person)" will be executed. 
Because the property transaction.flush_before_completion's value is true.


anonymous wrote : if hibernate.transaction.flush_before_completion is enabled, 
the session will be automatically flushed during the before completion phase of 
the 
transaction.(http://www.hibernate.org/hib_docs/reference/en/html/session-configuration.html
 )
  | 

Thus we have 'partial' committed transaction. Imho, it isn't normal behaviour, 
when an exception occurs.

Any suggestions to cause full rollbacking ?

(without disabling "flush_before_completion" property or enabling 
FlushModeType.MANUAL, that seems the same))
Quote:

anonymous wrote : Note that Seam does not flush the session, so you should 
always enable hibernate.transaction.flush_before_completion to ensure that the 
session is automatically flushed before the JTA transaction 
commits.http://docs.jboss.com/seam/2.0.0.GA/reference/en/html_single/#d0e5849

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

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


[jboss-user] [JBoss jBPM] - Re: jBPM BPEL & Eclipse Process Designer interworking

2007-11-22 Thread federicok
Muchas Gracias! / Thank you very much!

I made a merge between these tutorial and the hello example and I could deploy 
my little process.

A made an asnyncronous process with the bonjour example, and the changes I did 
in the sources to deploy was:

Delete the TYPE DEFINITION in the wsdl
Change the PARTNER LINK TYPE from

  | 
  | 
  | 
  | 
  | 
to

  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | anonymous wrote : 
  |   | Delete the wsdl import in the bpel file
  |   | 
  |   | And after that the ant deploy-definition responds me with a 200 (OK)! :)
  |   | 
  |   | Thank s again, agus

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

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


[jboss-user] [JBoss Seam] - Re: Pageflow: Illegal Navigation Error

2007-11-22 Thread [EMAIL PROTECTED]
http://docs.jboss.com/seam/2.0.0.GA/reference/en/html/jbpm.html#d0e5301

 If we are beginning the pageflow during the RENDER_RESPONSE  phase—during a 
@Factory or @Create  method, for example—we consider ourselves to be already 
at the page being rendered, and use a  node as the first node in 
the pageflow, as in the example above.

But if the pageflow is begun as the result of an action listener invocation, 
the outcome of the action listener determines which is the first page to be 
rendered. In this case, we use a  as the first node in the 
pageflow, and declare a transition for each possible outcome: 

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

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

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


[jboss-user] [JBoss Seam] - Re: Pageflow: Illegal Navigation Error

2007-11-22 Thread [EMAIL PROTECTED]
you need to be on step1.xhtml before you start the pageflow

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

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


[jboss-user] [JBossWS] - Re: Dynamic no. of attachments using MTOM

2007-11-22 Thread [EMAIL PROTECTED]
"oskar.carlstedt" wrote : 
  | When using a DataHandler list , where do I get the rest of my xml document. 
If using document/literal I will post/receive an xml document that may contain 
other textual information.

I don't understand this question :-(

"oskar.carlstedt" wrote : 
  | In other words, my xml may contain some "normal" xml information and some 
binary information.

This shouldn't be the problem. MTOM should work in such scenarios as well.

Richard

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

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


[jboss-user] [JBoss Seam] - Re: Pageflow: Illegal Navigation Error

2007-11-22 Thread skanky78
i'm using plain tomcat 6.x with the following settings in the components.xml


  | 
  | 
  | 
  |  
  |  
  | 
  | 
  |  shop_wizard.jpdl.xml
  |  
  |  
  | 
  | 

could the disabled transaction be a reason for my described problem?

cheers,
sven

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

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


[jboss-user] [JBoss Seam] - Re: accessing @length's 'max' value

2007-11-22 Thread skanky78
is this possible at all?

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

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


[jboss-user] [JBoss Seam] - seam theme doesnot work in hotdeploy mode

2007-11-22 Thread xinhua
Hello everybody,

i copied theme file "default.properties" into WEB-INF/dev/, and add 



  | 
  | 
  | 
  | default
  | 
  | 
  | 

in components.xml,but it does not work. Can anyone help?

thanks



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

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


[jboss-user] [JBoss Portal] - Re: IdentityUserPortlet not picking up localized resource fi

2007-11-22 Thread emuckenhuber
I tried that again, but unfortunately could not reproduce your problem.

All i did was creating the new bundle file, re-deployed the core-identity.sar, 
changed the users Locale, Logout, Log in again and it was working as expected.

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

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


  1   2   >