[jboss-user] [JBoss Seam] - Re: outject problem

2007-02-20 Thread laxu
ok guys,
i finally got the culprit, though it took almost two weeks.
i found a  in the navigation rule. i can't even remember where the hell i 
copy-pasted it from.
thank you everybody.

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

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


[jboss-user] [JBoss Seam] - Re: EL enhancements

2007-02-20 Thread lightbulb432
Below is the log of the exception. Also, I have the following in my 
faces-config.xml:

application
  | ...
  | 
view-handlerorg.jboss.seam.ui.facelet.SeamFaceletViewHandler/view-handler
  | /application

javax.el.ELException: Error Parsing: #{compHome.done(x.id)}
  | at 
com.sun.el.lang.ExpressionBuilder.createNodeInternal(ExpressionBuilder.java:140)
  | at com.sun.el.lang.ExpressionBuilder.build(ExpressionBuilder.java:157)
  | at 
com.sun.el.lang.ExpressionBuilder.createValueExpression(ExpressionBuilder.java:201)
  | at 
com.sun.el.ExpressionFactoryImpl.createValueExpression(ExpressionFactoryImpl.java:74)
  | at 
org.jboss.seam.ui.facelet.SeamExpressionFactory.createValueExpression(SeamExpressionFactory.java:105)
  | at com.sun.facelets.el.ELText$ELTextVariable.apply(ELText.java:161)
  | at com.sun.facelets.el.ELText$ELTextComposite.apply(ELText.java:142)
  | at 
com.sun.facelets.compiler.TextInstruction.apply(TextInstruction.java:56)
  | at 
com.sun.facelets.compiler.UIInstructionHandler.apply(UIInstructionHandler.java:85)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
  | at 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
  | at com.sun.facelets.tag.ui.DefineHandler.apply(DefineHandler.java:58)
  | at 
com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:128)
  | at 
com.sun.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:306)
  | at 
com.sun.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:279)
  | at com.sun.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:68)
  | at 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | at 
com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
  | at 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | at 
com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
  | at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
  | at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
  | at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
  | at 
com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:143)
  | at 
com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:113)
  | at 
com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
  | at 
com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
  | Caused by: com.sun.el.parser.ParseException: Encountered ( at line 1, 
column 20.
  | Was expecting one of:
  | } ...
  | . ...
  | [ ...
  |  ...
  | gt ...
  |  ...
  | lt ...
  | = ...
  | ge ...
  | = ...
  | le ...
  | == ...
  | eq ...
  | != ...
  | ne ...
  |  ...
  | and ...
  | || ...
  | or ...
  | * ...
  | + ...
  | - ...
  | ? ...
  | / ...
  | div ...
  | % ...
  | mod ...
  | 
  | at com.sun.el.parser.ELParser.generateParseException(ELParser.java:1651)
  | at com.sun.el.parser.ELParser.jj_consume_token(ELParser.java:1531)
  | at com.sun.el.parser.ELParser.DeferredExpression(ELParser.java:134)
  | at com.sun.el.parser.ELParser.CompositeExpression(ELParser.java:61)
  | at 
com.sun.el.lang.ExpressionBuilder.createNodeInternal(ExpressionBuilder.java:103)
  | at com.sun.el.lang.ExpressionBuilder.build(ExpressionBuilder.java:157)
  | at 
com.sun.el.lang.ExpressionBuilder.createValueExpression(ExpressionBuilder.java:201)
  | at 
com.sun.el.ExpressionFactoryImpl.createValueExpression(ExpressionFactoryImpl.java:74)
  | at 
org.jboss.seam.ui.facelet.SeamExpressionFactory.createValueExpression(SeamExpressionFactory.java:105)
  | at com.sun.facelets.el.ELText$ELTextVariable.apply(ELText.java:161)
  | at com.sun.facelets.el.ELText$ELTextComposite.apply(ELText.java:142)
  | at 
com.sun.facelets.compiler.TextInstruction.apply(TextInstruction.java:56)
  | at 
com.sun.facelets.compiler.UIInstructionHandler.apply(UIInstructionHandler.java:85)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
  

[jboss-user] [Security JAAS/JBoss] - Re: Is there a tutorial on form-based login using JAAS on JB

2007-02-20 Thread smeaggie
yes there is, I just posted this one somewhere else around here too, it uses a 
database as username/password storage:

1) setup the connection to the database. put a database-ds.xml file in the 
deploy directory wich contains something like:

  | datasources
  | local-tx-datasource
  | jndi-nameexampleDS/jndi-name
  | 
connection-urljdbc:postgresql://127.0.0.1:5432/example/connection-url
  | driver-classorg.postgresql.Driver/driver-class
  | user-nameex/user-name
  | password___/password
  | min-pool-size5/min-pool-size
  | max-pool-size20/max-pool-size
  | metadata
  | type-mappingPostgreSQL 7.2/type-mapping
  | /metadata  
  | /local-tx-datasource
  | /datasources
  | 
make sure you enter the correct driver, connection string etc. Now open 
login-config.xml in the server's conf/ directory. you need to define a security 
domain here. add this to the file:

  | application-policy name = exampleDomain
  | authentication
  | login-module code = 
org.jboss.security.auth.spi.DatabaseServerLoginModule flag = required
  | module-option name = 
unauthenticatedIdentityguest/module-option
  | module-option name = 
dsJndiNamejava:/exampleDS/module-option
  | module-option name = principalsQuerySELECT PASSWD 
FROM USERS WHERE USERID=?/module-option
  | module-option name = rolesQuerySELECT ROLEID, 
'Roles' FROM ROLES WHERE USERID=?/module-option
  | /login-module
  | /authentication
  | /application-policy
  | 
note the definition exampleDomain and how the dsJndiName is set to 
java:/exampleDS. exampleDS comes from the database connection definition above! 
the two queries in this file mean the following: the principalsQuery should 
return the password of the user where userid is the name the user entered in 
the login form. The rolesQuery must return all roles associated with the 
username. So it's time to create two tables in your database, with at least 
this info:

  | table USERS
  | +-+
  | | userid   |  passwd |
  | +-+
  | | test|  secret   |
  | +-+
  | 
  | table ROLES
  | +-+
  | |  userid| roleid   |
  | +-+
  | |  test |  admin|
  | |  test |  manager|
  | +-+
  | 
(don't mind the ascii art)

we've created a user test with the password secret and the roles admin 
and manager.

time to secure the web application, open up jboss-web.xml (from the WEB-INF 
directory) and put this in it:

  | ?xml version=1.0 encoding=UTF-8?
  | jboss-web
  |   security-domainjava:/jaas/exampleDomain/security-domain
  |   context-root/example/context-root
  | /jboss-web
  | 
this sets the security domain for the web application to exampleDomain wich 
is declared in the login-config.xml above! jboss now knows wich login module 
configuration applies to this application.
now edit web.xml (also in the WEB-INF directory) and add this:

  | security-constraint
  | display-namemanager/display-name
  | web-resource-collection
  | web-resource-namemanager_pages/web-resource-name
  | description/
  | url-pattern/manager/*/url-pattern
  | http-methodGET/http-method
  | http-methodPOST/http-method
  | http-methodHEAD/http-method
  | http-methodPUT/http-method
  | http-methodOPTIONS/http-method
  | http-methodTRACE/http-method
  | http-methodDELETE/http-method
  | /web-resource-collection
  | auth-constraint
  | description/
  | role-namemanager/role-name
  | /auth-constraint
  | user-data-constraint
  | description/
  | transport-guaranteeNONE/transport-guarantee
  | /user-data-constraint
  | /security-constraint
  | 
  | security-constraint
  | display-nameadmin/display-name
  | web-resource-collection
  | web-resource-nameadmin_pages/web-resource-name
  | description/
  | url-pattern/admin/*/url-pattern
  | http-methodGET/http-method
  | http-methodPOST/http-method
  | http-methodHEAD/http-method
  | http-methodPUT/http-method
  | http-methodOPTIONS/http-method
  | http-methodTRACE/http-method
  | http-methodDELETE/http-method
  | 

[jboss-user] [EJB 3.0] - Resource injection into EJB gives null values in embeddabl

2007-02-20 Thread blazetrail
Has anyone tried resource injection of EntityManager in 
EJB-3.0_Embeddable_ALPHA_9 ?

Injected value is null in embedded container, but same bean with 
persistence.xml in real JBoss 4.0.5GA injects correctly.

Trying to resource inject SessionContext also returns null.

I am using other injected resources like @EJB, deployment seems to understand, 
lookup and log these but I have not checked the values yet.

e.g
@Stateful
public class MyBean implements IMyBean {
  @PersistenceContext
  private EntityManager em;
  @Resource 
  protected SessionContext ctx;

public void someMethod() {  // em and ctx are null here
}

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

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


[jboss-user] [JBoss Seam] - FacesMessages.instance().addToControl(String id, FacesMessag

2007-02-20 Thread supernovasoftware.com
I just upgraded to the current CVS from 1.1.6.GA to get s:selectItems working.

I had to switch form 

FacesMessages.instance().add(String id, FacesMessage facesMessage)
  | 

to

FacesMessages.instance().addToControl(String id, FacesMessage facesMessage)

Are there any other API changes that I should look out for?

Note: The method still works because

FacesMessages.instance().add(String messageTemplate, Object... params)

is called with that method signature.  This results in adding the component id 
as the message text in the global messages.

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

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


[jboss-user] [JBoss jBPM] - Re: Runa

2007-02-20 Thread petitit
kukeltje wrote : runa, afaik, uses an older version of the jbpm core and 
backported the 3.0 gpd to the older core. Their ui is more advanced, compared 
to the current (3.1) release of the jbpm ui/console/webapp, but have a look at 
the 3.2 webconsole. David has worked some magic. 
  | 
  | Ronaod

Thanks. Where can I have a look at the 3.2? Is it on CVS or does it exist an 
official version?


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

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


[jboss-user] [JBoss Seam] - Re: Seam Authenticator and GlassFish

2007-02-20 Thread klaro78
As in the glassfish example, you have to add a ejb-local-ref in your web-xml, 
and of course, I also used CVS version:

ejb-local-ref   
  |   ejb-ref-nameyourProject/AuthenticatorBean/local/ejb-ref-name   
  |   ejb-ref-typeSession/ejb-ref-type   
  |   localyour.package.Authenticator/local   
  |   ejb-linkAuthenticatorBean/ejb-link
  | /ejb-local-ref

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

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


[jboss-user] [JBoss jBPM] - Invoke an external web service

2007-02-20 Thread agusgr
Hello,
I have deployed the helloWorld example ant it works, but now I'm trying to 
develop a bpel process with an invocation to a external web service. 
I deploy de procces and when I test it, an exception occurs.
anonymous wrote : 
  | 2007-02-20 09:00:58,656 DEBUG [org.jbpm.bpel.integration.jms.StartListener] 
caught exception while passing control to process, searching for handler
  | org.jbpm.graph.def.DelegationException
  | at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:352)
  | at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:346)
  | at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:346)
  | at org.jbpm.graph.def.GraphElement$$FastClassByCGLIB$$7a7d6aa6.invoke()
  | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  | at 
org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:163)
  | at 
org.jbpm.bpel.def.CompositeActivity$$EnhancerByCGLIB$$e8ed498a.raiseException()
  | at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:346)
  | at org.jbpm.bpel.def.Activity.enter(Activity.java:106)
  | at org.jbpm.graph.def.Transition.take(Transition.java:119)
  | at org.jbpm.graph.def.Node.leave(Node.java:383)
  | at org.jbpm.bpel.def.Activity.leave(Activity.java:171)
  | at 
org.jbpm.bpel.def.ProcessInstanceStarter.visit(ProcessInstanceStarter.java:57)
  | at org.jbpm.bpel.def.Receive.accept(Receive.java:82)
  | at org.jbpm.bpel.def.Receive$$FastClassByCGLIB$$516412f0.invoke()
  | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  | at 
org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:163)
  | at org.jbpm.bpel.def.Receive$$EnhancerByCGLIB$$6140a381.accept()
  | at 
org.jbpm.bpel.def.ProcessInstanceStarter.visit(ProcessInstanceStarter.java:97)
  | at org.jbpm.bpel.def.Sequence.accept(Sequence.java:105)
  | at org.jbpm.bpel.def.Activity$$FastClassByCGLIB$$a89e54a2.invoke()
  | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  | at 
org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:163)
  | at org.jbpm.bpel.def.Activity$$EnhancerByCGLIB$$4c05c877.accept()
  | at 
org.jbpm.bpel.def.ProcessInstanceStarter.visit(ProcessInstanceStarter.java:43)
  | at 
org.jbpm.bpel.def.BpelDefinition.messageReceived(BpelDefinition.java:109)
  | at 
org.jbpm.bpel.integration.jms.StartListener.onMessage(StartListener.java:115)
  | at org.jboss.mq.SpyMessageConsumer.run(SpyMessageConsumer.java:694)
  | at java.lang.Thread.run(Thread.java:595)
  | Caused by: org.jbpm.graph.def.DelegationException
  | at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:352)
  | at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:346)
  | at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:346)
  | at org.jbpm.graph.def.GraphElement$$FastClassByCGLIB$$7a7d6aa6.invoke()
  | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  | at 
org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:163)
  | at 
org.jbpm.bpel.def.CompositeActivity$$EnhancerByCGLIB$$e8ed498a.raiseException()
  | at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:346)
  | at org.jbpm.bpel.def.Activity.enter(Activity.java:106)
  | at org.jbpm.graph.def.Transition.take(Transition.java:119)
  | at org.jbpm.graph.def.Node.leave(Node.java:383)
  | at org.jbpm.bpel.def.Activity.leave(Activity.java:171)
  | at org.jbpm.bpel.def.Assign.execute(Assign.java:55)
  | at org.jbpm.bpel.def.Activity.enter(Activity.java:101)
  | ... 20 more
  | Caused by: java.lang.NullPointerException
  | at 
org.jbpm.bpel.integration.exe.SoapEndpointReference.selectPort(SoapEndpointReference.java:94)
  | at 
org.jbpm.bpel.integration.jms.IntegrationControl.getPartnerClient(IntegrationControl.java:234)
  | at 
org.jbpm.bpel.integration.jms.JmsIntegrationService.invoke(JmsIntegrationService.java:171)
  | at org.jbpm.bpel.def.Invoke.execute(Invoke.java:44)
  | at org.jbpm.bpel.def.Activity.enter(Activity.java:101)
  | ... 25 more
  | 2007-02-20 09:00:58,671 ERROR [org.jbpm.bpel.integration.jms.StartListener] 
could not start process instance
  | org.jbpm.graph.def.DelegationException
  | at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:352)
  | at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:346)
  | at 
org.jbpm.bpel.integration.jms.StartListener.onMessage(StartListener.java:120)
  | at org.jboss.mq.SpyMessageConsumer.run(SpyMessageConsumer.java:694)
  | at java.lang.Thread.run(Thread.java:595)
  | Caused by: org.jbpm.graph.def.DelegationException
  | at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:352)
  | 

[jboss-user] [JBoss Seam] - Re: When is @Out necessary?

2007-02-20 Thread petemuir
You might want to outject something from a conversation scoped component (where 
you can use your SMPC to prevent LIEs) to the businessprocess scope.  As for 
variable name - perhaps in a large app where you want shorter names in the 
class?

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

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


[jboss-user] [JBoss Seam] - Re: EL enhancements

2007-02-20 Thread petemuir
As mentioned in the docs you can only use the EL enhancement on method 
bindings, not value bindings (i.e. a get/is/set)

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

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


[jboss-user] [Security JAAS/JBoss] - Re: Latest JAAS Tutorial for Database communication

2007-02-20 Thread aleksab
Yeah, i've annotated the EJB with my security domain and allowed roles. This 
works, since the exception (with no matching username) is thrown.

If somebody know what I'm doing wrong with the client, please inform me. Just 
can not get the client to propagate the Jaas information to the EJB layer it 
seems.

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

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


[jboss-user] [EJB 3.0] - Re: Singleton MDB

2007-02-20 Thread aleksab
Use the @Service annotation for a singelton bean.

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

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


[jboss-user] [Management, JMX/JBoss] - Re: StatisticsCollector

2007-02-20 Thread somefoo
Hiho!
Obviously there is no one out there - so I keep talking to myself. Sorry for my 
rude englisch in advance!

I analyzed the sources of statscollector and it seems thas EJB3 can not be 
handled by TxStatisticsInterceptor.java. But it's quite easy to enable 
EJB3-support: I just intruduced a new EJB3-typical EJB3Interceptor instead of 
TxStatisticsInterceptor - the rest of the code is working further on. 

The DataSource interceptor service still does not work for me because of the 
'java:/DSInterceptor' seems just to be  a JNDI-ressource which probably could 
be invoked by EJB2-descriptors but I need a 'tx-datasource' for the 
EJB2-persistence-unit - anyone any idea how to manage that? 
 
Further on I tried to adopt the sources for my needs - which was/is really 
wicked: There are no source-code-comments at all and I can't see any 
possibility to extend the current object-structure to bring them to do just a 
penny more than it does now.

Bye!
somefoo




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

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


[jboss-user] [JBoss jBPM] - Problem with process composition

2007-02-20 Thread nicolemans72
I have a problem with my process composition.

I have a sub-process like that: 


  | process-state name=process1
  |sub-process name=implementation /
  |variable name=crStatut access=read,write mapped-name=crStatut /
  |   variable name=crId access=read,write mapped-name=crId /
  |transition name=Validation to=statut 90/transition   
  | /process-state
  | 

and when the process arrive to the Process State I hava an error


  | java.lang.NullPointerException: can't create a process instance when 
processDefinition is null
  | at org.jbpm.graph.exe.ProcessInstance.init(ProcessInstance.java:87)
  | at org.jbpm.graph.exe.Token.createSubProcessInstance(Token.java:571)
  | at org.jbpm.graph.node.ProcessState.execute(ProcessState.java:109)
  | at org.jbpm.graph.def.Node.enter(Node.java:316)
  | 

However, i have deployed the processimplementation and there is a process 
definition in the database

Any suggestions?

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

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


[jboss-user] [JBoss Seam] - How to disable action in s:link ?

2007-02-20 Thread sherkan777
Hi,

how can i disable action in s:link like this a href=# .../

i got s link with img

  | s:link action=# 
onclick=javascript:changeFavourite(#{questions.idQuestion}) 
id=questionValueImgLink
  | ice:graphicImage url=images/no.bmp border=0 style=border:none; 
id=questionImage/
  | /s:link
  | 

but seam randomly generates me href like that:
a href=/expert/home.seam?conversationId=2...
ice:outputLink do same 

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - jboss 3.2.8 (SP1) with tomcat 5.5

2007-02-20 Thread mkehrer
I've tried to deploy jbossweb-tomcat55.sar (taken from jboss-4.0.3SP1) into 
jboss-3.2.8.SP1 instead of the original jbossweb-tomcat50.sar but it seems, 
that further configuration steps are required.

Message while staring up jboss is:

10:35:14,359 ERROR (main) [MainDeployer] could not create deployment: 
file:/J:/jboss-3.2.8.SP1_sandbox/server/default/deploy/jbossweb-tomcat55.sar/
  | org.jboss.deployment.DeploymentException: create operation failed for 
package 
file:/J:/jboss-3.2.8.SP1_sandbox/server/default/deploy/jbossweb-tomcat55.sar/; 
- nested throwable: (org.jboss.deployment.DeploymentException: - nested 
throwable: (java.lang.reflect.UndeclaredThrowableException))

Just to deploy the different sar seems not to be enough. What else do I have to 
change?

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

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


[jboss-user] [JBoss jBPM] - Re: Missing (config) files starters kit?

2007-02-20 Thread Johan.Parent
Twice 'yes' and once 'no'. 

Yes, I can see that too that it is default behaviour of the xerces lib (not 
really the JVM as you said).

Yes, it is not jBPM code that causes this. Not directly at least.

But also no, because in the end it is jBPM code that (albeit indirectly) causes 
these stat() calls. So the causal link is very much there, I'm sorry. 

I think jBPM is great stuff. But as you can see from my original post the sys. 
admin. is very picky about the behaviour of the code that goes online on a 
production machine. I was just hoping one of the jBPM gurus would, with a 
sleight of hand, point me toward a solution for this problem. Maybe at the same 
time pointing at this minor problem at the same so everyone can benefit from 
the solution. Well, I'm still hoping a guru may lay eyes on this post.

Best regards,

Johan

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

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


[jboss-user] [JBossWS] - jbossws-1.2.0.CR3 generates lowercase classnames?

2007-02-20 Thread fheldt
Is it intended behaviour, that jbossws-1.2.0.CR3 generates lowercase classnames?

Here's a little excerpt from the log file:

  | [complexType={http://dhc.com/}colorVariant,javaType=com.dhc.ColorVariant]
  |   [complexType={http://dhc.com/}colorGroup,javaType=com.dhc.ColorGroup]
  | 

As you can see, from e.g. ColorVariant it generates colorVariant in the 
resulting wsdl. That wasn't so in jbossws 1.0.4.GA and earlier.

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: Is JBOSS AS 4.03SP1 compatible with jdk 1.6?

2007-02-20 Thread KrisVH
I've tried to install jboss 4.0.5ga as a javaservice under win2003 with java1.6 
and it doesn't work

I also discoverd an aop-problem with java 6 that doesn't show up in java 5 but 
this isn't for jboss-folks ;)

I think it is better you wait a couple of weeks, apparently there aren't a lot 
of people using java6 yet

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

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


[jboss-user] [JBoss Seam] - Re: How to disable action in s:link ?

2007-02-20 Thread petemuir
Just 

a href=# onclick=javascript:changeFavourite(#{questions.idQuestion}) 
id=questionValueImgLink
  | ice:graphicImage url=images/no.bmp border=0 style=border:none; 
id=questionImage/
  | /a

surely?

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

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


[jboss-user] [Security JAAS/JBoss] - Using container authentication (j_security_check) and having

2007-02-20 Thread 7rond
Hi!

I've run into a bit of a problem here which I've tried to solve by myself but I 
can't seem to find the appropriate solution.

What I've set up so far is a web app configured with form authentication - that 
in turn uses my application policy in login-config.xml to provide JAAS 
authentication into the webapp. I need this to have some security in the 
ejb-beans the webapp will consume, and as of now this is working properly as 
long as I have some restricted content configured in web.xml that I can use to 
force Tomcat to show the configured login form.

Now, my problem is that this webapp is not supposed to demand the user to log 
in. Rather, logging in is optional and will only provide you with some extra 
features. I also need to have a login form present on each page, and this 
becomes troublesome as it isn't possible to make a custom form on a 
unrestricted page post to j_security_check it seems (that gives the error HTTP 
Status 400 - Invalid direct reference to form login page).

So - basicly - I have the authentication stuff up and running, but I don't want 
any restricted resources in my webapp. I just want to be able to provide the 
user with the option to log in (without having to go to a new page to log in, 
but rather use a login form present on each page), and still be able to use the 
same authentication methods as I would have using j_security_check.

Is there any way to accomplish this? Any input would be appreciated!

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

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


[jboss-user] [Management, JMX/JBoss] - Re: how can i check if some ear file is deployed?

2007-02-20 Thread gmeroz
can you give a code exmample? i was not able to find it.

i'm using jboss-4.0.3SP1...

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

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


[jboss-user] [JBoss Portal] - JSF components in a portlet environment

2007-02-20 Thread [EMAIL PROTECTED]
If by chance you are using JSF components in a portlet environment, could you 
please update this page:

http://wiki.jboss.org/wiki/Wiki.jsp?page=JSFInPortletEnvironment

I added the tomahawk components as written on their menu, but feel free to add 
other libraries.

Yes i know, so far it's a lot of Unknown i just know that tree2 is/was 
working.
There are some that are known not to work, i think the tabbed pane doesn't 
work, but i would need to check on a more recent version.

Feel free to add info like Works on version x.y.z

Thanks !

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

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


[jboss-user] [JBoss jBPM] - Error: BPEL and processdefinition.xml

2007-02-20 Thread fiorepaolo
Hi everyone,

I'm BPEL engineer certified, but it is the first time I'm using JBPM and 
JBPM-BPEL extension.
I'm installed successfull
- jboss-4.0.5.GA with hypersonic
- jwsdp-2.0
- jbpm-bpel-1.1.Beta3

using JDK 5.0. 

I'm reading WS-Bpel Run-time User Guide, and following step-by-step the Hello 
world example. I've run with success the task ant deploy-definition but when 
I run ant generate-service the following error appear:


ant generate-service
Buildfile: build.xml

pack-definition:

generate-service:
[servicegen] 20-feb-2007 11.58.53 org.jbpm.JbpmConfiguration getInstance
[servicegen] INFO: using jbpm configuration resource 'jbpm.cfg.xml'

BUILD FAILED
C:\downloads\jbpm\bpel\jbpm-bpel-1.1.Beta3\examples\common\bpel-build.xml:78: 
org.jbpm.jpdl.JpdlException: [[ERROR] no processdefinition.xml inside process 
archive]

Why JPDL search in the archive processdefinition.xml. It doesn't exist. Exist 
the file bpel-definition.xml. Is it a mistake?

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

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


[jboss-user] [JBoss Seam] - Re: SFSB vs SLSBs for implementing actions in a conversation

2007-02-20 Thread lawrieg
I've been mulling over all the posts overnight and I have to say that I'm still 
a little bit confused...

If I understand correctly, what is being said is that there are three quite 
different approaches to take when writing Seam apps (but you might use 1  2 
together):

1. Implement all your conversational code in Stateful Session Beans. Each SFSB 
will implement a number of related use-cases (conversations). You would use an 
EJB3 Extended Persistence Context which has the scope of the SFSBs lifetime.

2. Implement all your conversational code in SLSBs and hold your conversation 
state in some other components and inject/outject them on your SLSB on every 
method call. You would use the Seam-Managed Persistence Context as this has the 
scope of a conversation. (Although, like  Christian says, this seems like 
making work for yourself unless you are passing very small amounts of state and 
want bookmark-ability) 

3. Implement all your conversational code using Seam-managed Javabeans. You 
would use the Seam-Managed Persistence Context as this has the scope of a 
conversation.

Now where I'm getting bit lost (and I might be being a bit thick because I'm 
full of flu and didn't get much sleep last night) is how you would actually 
implement the Seam-managed Javabeans approach. How does Seam know to make a 
regular Javabean into a Seam-managed Javabean (and does this bean now basically 
mimic a SFSB but with Seam storing its state in the Session)? Have you got to 
extend EntityHome to get this functionality?

Also, if you were going the SFSB or the Seam-managed Javabean route, would you 
tend to implement all the related use-cases (/conversations) for a particular 
business area in the same one bean? Say you also had a requirement to display a 
list of Customers (and provide each row with view, edit, delete links), would 
you implement this functionality in the same bean as well?

Cheers,

Lawrie

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

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


[jboss-user] [JBoss Seam] - Localselector in repeater

2007-02-20 Thread face4web
Hi,

In most samples on the internet people uses the selectonemenu to select a 
local. But we want to select a locale using an arraylist of strings.

Action:
public ArrayListString getLanguages(){
  | ArrayListString items = new ArrayListString();
  | for(SelectItem s : LocaleSelector.instance().getSupportedLocales())
  | items.add((String) s.getValue());
  | 
  | return items;
  | }
  | 
  | public void setLanguage(ActionEvent ae){
  | UIComponent tmpComponent = ae.getComponent();
  | LocaleSelector.instance().selectLanguage(tmpComponent.getId());
  | }
  | 
  | 

xHtml:
ui:repeat value=#{languagesAction.languages} 
var=language
  | s:link value=#{language} 
actionListener=#{languagesAction.setLanguage} /
  | /ui:repeat

We can't set an ID dynamically (valuebinding 'problem'), using the f:param 
didn't work. 

Who can help us?

Kind Regards

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

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


[jboss-user] [JBoss jBPM] - Re: jpdl-3.2.Beta2: how to access variable from task form in

2007-02-20 Thread avbentem
kukeltje wrote : For 3.2 you should use the docs from cvs. Especially the 
part for conditions in decisions has been clarified.
Ok, it took me some time to figger out that the repository at SourceForge.net 
is no longer used. Using 
:pserver:anonymous:@anoncvs.forge.jboss.com:/cvsroot/jbpm instead of 
:pserver:[EMAIL PROTECTED]:/cvsroot/jbpm did give me some new insight:

http://fisheye.jboss.com/browse/JBPM/jbpm.3/jpdl/userguide/en/modules/jpdl.xml
anonymous wrote : Each leaving transitions of a node can have a condition.  The 
decision will use these conditions to look for the first transition for which 
the condition evaluates to true.  
  | 
  | The first transition represents the otherwise branch.  So first, all 
transitions with a condition are evaluated.  If one of those evaluate to true, 
that transition is taken. If no transition with a condition resolves to true, 
the default transition (=the first one) is taken.

...and...
!-- OOPS i wich this were true, but i think i never implemented it that way :-(
  |   A transition without a condition is considered to evaluate to true (to
  |   model the 'otherwise' branch). 
  | --

Given the comment above I guess this does not apply to the 3.1 branch either.

Anyway: the above has been in CVS quite some time, so is also present in the 
documentation in the downloadable distributions. Don't know why I was reading 
them at jboss.org instead of from my local harddisk...

Thanks, one mistery less (still my problems with variables needs to be solved).

Arjan.



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

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


[jboss-user] [JBossWS] - please solve that

2007-02-20 Thread mramitkrde
when i am starting jboss i am getting one message likr: 
17:13:11,437 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

--- MBeans waiting for other MBeans ---
ObjectName: jboss.ws:service=DeployerInterceptorEJB3
  State: CONFIGURED
  I Depend On:
jboss.ejb3:service=EJB3Deployer

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.ejb3:service=EJB3Deployer
  State: NOTYETINSTALLED
  Depends On Me:
jboss.ws:service=DeployerInterceptorEJB3
 is it harmfull? how to solve that?

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

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


[jboss-user] [JBoss Seam] - Re: SFSB vs SLSBs for implementing actions in a conversation

2007-02-20 Thread petemuir
lawrieg wrote : Now where I'm getting bit lost (and I might be being a bit 
thick because I'm full of flu and didn't get much sleep last night) is how you 
would actually implement the Seam-managed Javabeans approach. How does Seam 
know to make a regular Javabean into a Seam-managed Javabean (and does this 
bean now basically mimic a SFSB but with Seam storing its state in the 
Session)? Have you got to extend EntityHome to get this functionality?


@Name(foo)
  | public class Foo {
  | 
  |@In(create=true)
  |private EntityManager entityManager;
  | 
  |@Transactional
  |public void bar() {
  |   // Do some SMPC related operation
  |}
  | 
  |...
  | 
  | }

Also, to make life easier, you could just extend EntityController.

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

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


[jboss-user] [JBoss jBPM] - Re: jpdl-3.2.Beta2: how to access variable from task form in

2007-02-20 Thread kukeltje
did you try with taskcontrollers? I've not had access to a jbpm installation, 
so have not tried yet.

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

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


[jboss-user] [JBoss Seam] - selectOneMenu and commandButton conflict

2007-02-20 Thread grdzeli_kaci
seam version : 1.1.6 GA
i have login page and i want use identity class for jaas. also into login page 
i have selectOneMenu component for languages which is filled from database,
when i cklick on login button nothing happend(did not call 
autenticator.autenticate method),
if i remove filling of the  selectOneMenu component all works fine :(
can anybody help me ?

1. components.xml

  | ?xml version=1.0 encoding=UTF-8?
  | components 
  | xmlns=http://jboss.com/products/seam/components;
  | xmlns:core=http://jboss.com/products/seam/core;
  | xmlns:drools=http://jboss.com/products/seam/drools;
  | xmlns:security=http://jboss.com/products/seam/security;
  | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  | xmlns:framework=http://jboss.com/products/seam/framework;
  | xsi:schemaLocation=
  | http://jboss.com/products/seam/core 
http://jboss.com/products/seam/core-1.1.xsd 
  | http://jboss.com/products/seam/drools 
http://jboss.com/products/seam/drools-1.1.xsd
  | http://jboss.com/products/seam/security 
http://jboss.com/products/seam/security-1.1.xsd
  | http://jboss.com/products/seam/components 
http://jboss.com/products/seam/components-1.1.xsd;
  |
  | framework:entity-query name=languages ejbql=select l from Language 
l /
  | framework:entity-query name=applications ejbql=select a from 
Application a /
  | 
  | core:init debug=true jndi-pattern=@jndiPattern@/
  | 
  | core:manager concurrent-request-timeout=500 
  |   conversation-timeout=12 
  |   conversation-id-parameter=cid 
  |   conversation-is-long-running-parameter=clr/
  | 
  | core:pages no-conversation-view-id=/home.xhtml/
  | 
  | core:managed-persistence-context name=entityManager
  |   
persistence-unit-jndi-name=java:/MagtiBillingEntityManagerFactory/
  | 
  | core:ejb installed=@embeddedEjb@/
  | 
  | drools:rule-base name=securityRules
  | drools:rule-files
  | value/security.drl/value
  | /drools:rule-files
  | /drools:rule-base
  | 
  | security:identity authenticate-method=#{authenticator.authenticate}/
  | 
  | event type=org.jboss.seam.notLoggedIn
  | action expression=#{redirect.captureCurrentView}/
  | /event
  | event type=org.jboss.seam.postAuthenticate
  | action expression=#{redirect.returnToCapturedView}/
  | /event
  | !-- For use with jBPM pageflow or process management --
  | !--  
  |core:jbpm
  |   core:process-definitions/core:process-definitions
  |   core:pageflow-definitions/core:pageflow-definitions
  |/core:jbpm
  |--
  | 
  | /components
  | 

2.login page 

  | h:form
  | table width=400 cellpadding=5 cellspacing=0 
style=border: 1px solid #9e2629
  | tr
  | td class=LogonText colspan=2 align=centerLogin 
to System/td
  | /tr
  | tr
  | td class=td_new
  | table width=100% cellpadding=5 cellspacing=0 
border=0
  | tr
  | td class=td_new 
rowspan=5h:graphicImage value=/images/login_pic.gif//td
  | td class=td_newUserName/td
  | td class=td_new
  | h:inputText styleClass=font_style 
value=#{identity.username}/
  | /td
  | 
  | /tr
  | 
  | tr
  | td class=td_newPassword/td
  | td class=td_new
  | h:inputSecret styleClass=font_style 
value=#{identity.password}/
  | /td
  | 
  | /tr
  | 
  | tr
  | td class=td_newApplication/td
  | td class=td_new
  | !--
  | h:selectOneMenu 
styleClass=font_style value=/
  | --
  | h:selectOneMenu 
styleClass=font_style value=#{application.name} 
converter=#{converters.applicationConverter}
  | s:selectItems 
value=#{applications.resultList} var=application 
label=#{application.name}/
  | /h:selectOneMenu
  | 
  | /td
  | 
  |

[jboss-user] [JBoss Seam] - @IntervalDuration example should be Long

2007-02-20 Thread codelion
Reference documentation (jms.xml) shows in 17.1.1. Asynchronous methods an 
apparently incorrect

@IntervalDuration Date interval

when it should be

@IntervalDuration Long interval

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

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


[jboss-user] [JBoss Seam] - Re: selectOneMenu and commandButton conflict

2007-02-20 Thread grdzeli_kaci
petemuir wrote : You've probably got errors occuring on the coversion, 
validation or update model phase.  Put an h:messages component on the page to 
see.

hi petemuir,
u're right i put h:messages into login page and i got an error like this :

  |  . value could not be converted to the expected type
  | 
i wrote my own converter as you told me 

  | @Transactional
  | public Converter getApplicationConverter() {
  | return new Converter() {
  | 
  | @Transactional
  | public Object getAsObject(FacesContext arg0, UIComponent arg1, 
String arg2) throws ConverterException {
  | if (arg2 == null) {
  | return null;
  | }
  | try {
  | return  ((EntityManager) 
Component.getInstance(entityManager)).find(Application.class, 
Integer.valueOf(arg2));
  | } catch (NumberFormatException e) {
  | throw new ConverterException(Cannot Find Selected 
Language, e);
  | }
  | }
  | 
  | @Transactional
  | public String getAsString(FacesContext arg0, UIComponent arg1, 
Object arg2) throws ConverterException {
  | if (arg2 instanceof Language) {
  | Application application = (Application) arg2;
  | return application.getName().toString();
  | } else {
  | return null;
  | }
  | }
  | 
  | };
  | }
  | 

here is my entity bean :

  | @Entity
  | @Table(name = APPLICATION,schema=BillAdmin)
  | @Name(application)
  | @Scope(ScopeType.SESSION)
  | public class Application implements Serializable {
  | 
  | @Id
  | @Column(name = APPLICATION_ID, nullable = false)
  | private BigDecimal applicationId;
  | 
  | @Column(name = NAME)
  | private String name;
  | 
  | @Column(name = CODE)
  | private BigInteger code;
  | 
  | @Column(name = DESCRIPTION)
  | private String description;
  | 
  | @Column(name = REMARK)
  | private String remark;
  | 
  | @Column(name = REC_STATUS)
  | private BigInteger recStatus;
  | 
  | @Column(name = USER_ID)
  | private BigInteger userId;
  | 
  | @Column(name = REG_DATE)
  | @Temporal(TemporalType.DATE)
  | private Date regDate;
  | 
  | @Column(name = UPD_DATE)
  | @Temporal(TemporalType.DATE)
  | private Date updDate;
  | 
  | @OneToMany(cascade = CascadeType.ALL, mappedBy = applicationId)
  | private CollectionApplicationsConfig applicationsConfigCollection;
  | 
  | public Application() {
  | }
  | 
  | public Application(BigDecimal applicationId) {
  | this.applicationId = applicationId;
  | }
  | 
  | public BigDecimal getApplicationId() {
  | return this.applicationId;
  | }
  | public void setApplicationId(BigDecimal applicationId) {
  | this.applicationId = applicationId;
  | }
  | 
  | public String getName() {
  | return this.name;
  | }
  | 
  | public void setName(String name) {
  | this.name = name;
  | }
  | 
  | public BigInteger getCode() {
  | return this.code;
  | }
  | public void setCode(BigInteger code) {
  | this.code = code;
  | }
  | 
  | public String getDescription() {
  | return this.description;
  | }
  | 
  | public void setDescription(String description) {
  | this.description = description;
  | }
  | 
  | public String getRemark() {
  | return this.remark;
  | }
  | 
  | public void setRemark(String remark) {
  | this.remark = remark;
  | }
  | 
  | public BigInteger getRecStatus() {
  | return this.recStatus;
  | }
  | 
  | public void setRecStatus(BigInteger recStatus) {
  | this.recStatus = recStatus;
  | }
  | 
  | public BigInteger getUserId() {
  | return this.userId;
  | }
  | public void setUserId(BigInteger userId) {
  | this.userId = userId;
  | }
  | public Date getRegDate() {
  | return this.regDate;
  | }
  | public void setRegDate(Date regDate) {
  | this.regDate = regDate;
  | }
  | public Date getUpdDate() {
  | return this.updDate;
  | }
  | public void setUpdDate(Date updDate) {
  | this.updDate = updDate;
  | }
  | public CollectionApplicationsConfig getApplicationsConfigCollection() 
{
  | return this.applicationsConfigCollection;
  | }
  | public void 
setApplicationsConfigCollection(CollectionApplicationsConfig 
applicationsConfigCollection) {
  | this.applicationsConfigCollection = applicationsConfigCollection;
  | }
  | @Override
  | public int hashCode() {
  | int hash = 0;
  | hash += (this.applicationId != null 

[jboss-user] [JBoss Seam] - Re: SFSB vs SLSBs for implementing actions in a conversation

2007-02-20 Thread lawrieg
Thanks again for your help Pete - I feel I'm getting close to that A-ha! 
moment...

Are you saying that all you have to do to make a Seam-managed Javabean 
component is inject EntityManager and mark all methods as @Transactional and it 
will then give you the same behaviour as a SFSB (i.e. the only difference is 
that Seam handles storing and fetching the component's state from the Http 
Session instead of SFSBs EJB container-managed state management)?

I suppose what I am really trying to grasp is whether you can use a 
Seam-managed Javabean component exactly like you would a SFSB? Or do you have 
to code your apps differently?

Cheers,

Lawrie


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

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


[jboss-user] [JBoss Portal] - JTA Transaction rollback exception

2007-02-20 Thread abhijito
When one of the sql query get failed to execute i need to rollback transaction, 
so i get an exception  JTA Transaction rollback Failed exception .but i 
remove  following property from cfg files

org.hibernate.transaction.JTATransactionFactory

It works fine. I am using JBOSS server for developement

see some logs below.Please anybody help me .

JTA rollback failed
java.lang.IllegalStateException: No transaction.
at org.jboss.tm.TxManager.setRollbackOnly(TxManager.java:356)
at 
org.jboss.tm.usertx.client.ServerVMClientUserTransaction.setRollbackOnly(ServerVMClientUserTransaction.java:141)
at 
org.hibernate.transaction.JTATransaction.rollback(JTATransaction.java:179)

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

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


[jboss-user] [JBoss jBPM] - Re: How to tell how far the process has moved along in the w

2007-02-20 Thread estaub
Kplania,

See http://wiki.jboss.org/wiki/Wiki.jsp?page=Jbpm31DataModel.

Scroll down to the Execution Model.

The useful documentation for this project is scattered around - in this case, 
in the Wiki.  Once you find something useful, be sure the survey the 
surrounding area to see if there's anything else useful.

-Ed Staub


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

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


[jboss-user] [JBoss Seam] - Re: SFSB vs SLSBs for implementing actions in a conversation

2007-02-20 Thread petemuir
lawrieg wrote : Are you saying that all you have to do to make a Seam-managed 
Javabean component is inject EntityManager and mark all methods as 
@Transactional and it will then give you the same behaviour as a SFSB (i.e. the 
only difference is that Seam handles storing and fetching the component's state 
from the Http Session instead of SFSBs EJB container-managed state management)?

From a user perspective, yes.

anonymous wrote : I suppose what I am really trying to grasp is whether you can 
use a Seam-managed Javabean component exactly like you would a SFSB? Or do you 
have to code your apps differently?
  | 
  | Basically yes, it works the same.

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

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


[jboss-user] [JBoss Seam] - Re: Seam Authenticator and GlassFish

2007-02-20 Thread umrzyk
yup! cvs version works like a charm! I had only to add a snipped that klaro78 
pointed out and now I can use JAAS authentication. 

btw. there is still previous definition of LoginAction in the web.xml although 
its sources do not exists :)

thanks for your help.



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

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


[jboss-user] [Performance Tuning] - Re: Best JVM memory size?

2007-02-20 Thread jerrynolan
Thanks Peter,

Very interesting... I'll experiment with the premise that if a certain 
percentage of the heap is swapped, it's OK, because it will not be used anyway. 
  

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

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


[jboss-user] [JBoss Seam] - section 17.2.2 must be paymentQueueSender.send, not publish

2007-02-20 Thread codelion
17.2.2. Sending messages in an example reads

paymentQueueSender.publish

which isn't possible, it has to be

paymentQueueSender.send

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

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


[jboss-user] [JBoss Seam] - Re: Is it possible to send mail from asynchronous method

2007-02-20 Thread piotr.walczyszyn
Sorry I was out yestarday and I didn't have access to my dev environment where 
I have this problem. Unfortunetly the stack trace is super short and maybe it 
will tell you more then me:
anonymous wrote : 
  | 15:02:31,623 ERROR [TimerImpl] Error invoking ejbTimeout: 
javax.ejb.EJBTransacti
  | onRolledbackException: java.lang.NullPointerException

Running the same mail template but within SFSB works fine.

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

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


[jboss-user] [JBoss jBPM] - Re: How to tell how far the process has moved along in the w

2007-02-20 Thread estaub
doesn't seem to work doesn't give much to go on...  

-Ed Staub

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

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


[jboss-user] [JBoss jBPM] - 21CFR11 compliance - digital signatures

2007-02-20 Thread adam.stortz
I need to have digital signatures in the workflow that are 21CFR11 compliant.  
The audit trail is easy... jBPM handles that for me.  What I want to be able to 
avoid is persisting the user's password.  Is there a way to intercept the 
completion of a task before persistance?

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

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


[jboss-user] [JBoss Seam] - JBoss Seam and Web Services using OC4J stack

2007-02-20 Thread [EMAIL PROTECTED]
Hi,

as a requirement of our project, we have to expose some services (POJO classes 
or EJB's) as web services, using OC4J as application server. We are using JBoss 
Seam as dependency injection engine.

My first approach was to use OC4J stack and JSR181 annotations. I got a EJB 
exposed, but when invoking the web service I found that the resources were not 
injected.

Then I tried to use the Seam Servlet Filter, but I am affraid the invocation is 
not done through a servlet.

Are there any plans to provide a mechanism for injecting resources to an object 
invoked using SOAP?

Any experiences in this field that could help?

Thanks in advance.
Manuel Guerrero
Hewlett-Packard

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

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


[jboss-user] [JBoss Seam] - Re: registration example not working

2007-02-20 Thread hilz
anybody?

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

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


[jboss-user] [JBoss Seam] - Strange timeout problem with SFSB and Tomahawk Tree2

2007-02-20 Thread holtak
Hi,

after clicking (not idling) in my application a while I get the following 
Exception. By pressing back-button and continuing work, all is fine again for a 
while, until I get the same Exception. I`m confused, bcause I have no Idea, how 
it can come to this, except that my session-scoped SFSB times out, but that 
should not be the case, because I configured the timeout with @CacheConfig to 
be more than the session timeout and as I said, i`m clicking around and not 
idling.


  | 16:08:47,158 ERROR [STDERR] 20.02.2007 16:08:47 
com.sun.facelets.FaceletViewHandler handleRenderException
  | SCHWERWIEGEND: Error Rendering View[/settings/settings.xhtml]
  | javax.faces.el.EvaluationException: /WEB-INF/include/tree.xhtml @12,153 
value=#{treeAction.treeModel}: Exception getting value of property treeModel 
of base of type : 
org.proaut.scrating.ejb3.local.TreeAction$$EnhancerByCGLIB$$6e1e2e
  | at 
com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:60)
  | at 
org.apache.myfaces.custom.tree2.UITreeData.getValue(UITreeData.java:267)
  | at 
org.apache.myfaces.custom.tree2.HtmlTreeRenderer.encodeChildren(HtmlTreeRenderer.java:169)
  | at 
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:524)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:244)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
  | at 
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:573)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:32)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
  | at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
  | at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  | at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  | at java.lang.Thread.run(Thread.java:619)
  | Caused by: javax.faces.el.EvaluationException: Bean: 
org.proaut.scrating.ejb3.local.TreeAction$$EnhancerByCGLIB$$6e1e2e, property: 
treeModel
  | at 

[jboss-user] [JBoss Seam] - Re: Seam Authenticator and GlassFish

2007-02-20 Thread [EMAIL PROTECTED]
Oops, I didn't know glassfish hid stuff in web.xml.. it's removed now, thanks :)

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

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


[jboss-user] [JBoss Portal] - Re: JBoss Portal 2.6 Alpha 2 Release

2007-02-20 Thread swestbom
RU going to put the build out on cruise control today?  Also, is the trunk 
working this AM?

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

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


[jboss-user] [JBoss Seam] - Re: @IntervalDuration example should be Long

2007-02-20 Thread [EMAIL PROTECTED]
Fixed in cvs, thanks.

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

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


[jboss-user] [JBoss Seam] - ajax4jsf and outjecting to conversations

2007-02-20 Thread baz
Hello,
i do have a rather complex application which does not make use of ajax4jsf yet.
My environment
seam 1.1.6
myfaces and facelets that comes with seam
running on tomcat 5.5

In this app there is this method:

  | @Out(scope=CONVERSATION, required=false) private MethodType methodType;
  | []
  | @Begin(join=true)
  | public String addPCRAnalysis() {
  | log.debug(addPCRAnalysis bazExperiment 
+((bazExperiment==null)?ist null:bazExperiment.getExperimentCode()));
  | log.debug(addPCRAnalysis Type +((bazExperiment==null)?ist 
null:bazExperiment.getType()));
  | methodType = bazExperiment.getType();
  | return ADD_ANALYSIS;
  | }
  | 
After this method a page is rendered where  the bean 'PrimerListBacking' is 
called which injects methodType.
@In
  | private MethodType methodType;
  | 
This seems to work perfectly.

Now i tried to make my app ajax4jsf aware. I downloaded version 1.0.6 and 
configurted my app. The two libs ajax4jsf.jar and oscache-2.3.2.jar where 
copied to WEB-INF/lib.
After that i deleted the view-handler from faces-config.xml
And added this part to web.xml
filter
  |   display-nameAjax4jsf Filter/display-name
  |   filter-nameajax4jsf/filter-name
  |   filter-classorg.ajax4jsf.Filter/filter-class
  |   init-param
  |param-nameforceparser/param-name
  |param-valuefalse/param-value
  |   /init-param 
  | /filter
  | filter-mapping
  |   filter-nameajax4jsf/filter-name
  |   servlet-nameFaces Servlet/servlet-name
  |   dispatcherREQUEST/dispatcher
  |   dispatcherFORWARD/dispatcher
  |   dispatcherINCLUDE/dispatcher
  | /filter-mapping
  | context-param 
  |   param-nameorg.ajax4jsf.VIEW_HANDLERS/param-name 
  |   
param-valueorg.jboss.seam.ui.facelet.SeamFaceletViewHandler/param-value   
  | /context-param
  | 
  |  filter

After doing so, i receive an required exception for methodType.
What is going on? Can i provide additional info.
For the purpose of testing i removed all myfaces filters from faces-config and 
tried again. With this exception:
15:27:25,703 DEBUG org.ajax4jsf.framework.renderer.AjaxPhaseListener: Process 
after phase RENDER_RESPONSE(6)
  | 15:27:25,703 ERROR org.jboss.seam.servlet.SeamExceptionFilter: uncaught 
exception
  | javax.servlet.ServletException: In attribute requires value for component: 
primerlist.methodType
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:75)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:213)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:43)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:29)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
  | at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
  | at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  | at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
  | at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
  | at java.lang.Thread.run(Unknown Source)
  | 15:27:25,703 ERROR org.jboss.seam.servlet.SeamExceptionFilter: exception 
root cause
  | org.jboss.seam.RequiredException: In attribute requires value for 
component: 

[jboss-user] [JBoss Seam] - Re: Strange timeout problem with SFSB and Tomahawk Tree2

2007-02-20 Thread holtak
is this a possible source of error? I`m starting Jboss with this parameters to 
avoid Out.of.PermGen errors.


  | JAVA_OPTS=-Xms512m -Xmx1024m -Dsun.rmi.dgc.client.gcInterval=360 
-Dsun.r
  | mi.dgc.server.gcInterval=360 -XX:PermSize=256m -XX:MaxPermSize=512m 
-XX:+CMS
  | PermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled
  | 

thanks.

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

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


[jboss-user] [JBoss jBPM] - Accessing JBPM from outside

2007-02-20 Thread frepe984
Im doing some work around Workflow systems and especially jBPM. I want to 
connect to jBPM from outside in some way. Is this possible, dose jBPM provide a 
mechanism for doing this? Say I got jBPM deployed on JBoss and i want to 
connect remotely from my application and scan jBPM for processes. Would that be 
possible?

/ Leviatan

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

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


[jboss-user] [Remoting] - Re: Failed to accept socket connection

2007-02-20 Thread amdonov
After some poking around, I found that someone duplicated this problem with a 
testcase at http://jira.jboss.com/jira/browse/EJBTHREE-819[/url].  No one is 
working it.  Based upon the steps outlined in 
[url]http://jira.jboss.com/jira/browse/JBWS-1134.  I upgraded jboss-remoting to 
2.0.  It only requires a minor change to 
JBOSS_HOME/server/INSTANCE/deploy/ejb3.deployer/META-INF/jboss-service.xml and 
one line of new code to org.jboss.aspects.remoting.InvokeRemoteInterceptor.  
After those changes, I can successfully make ejb calls over SSL.  The one 
caveat is that I did not run any of the JBoss testsuite.  It could break 
something, but I haven't had any problems yet.

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

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


[jboss-user] [JBoss Seam] - Re: Null Value in s:link w/IceFaces

2007-02-20 Thread pnorman4
I have the same problem. I've been trying several different repeater and 
datatable components from both Tomahawk, Trinidad and Facelets with the same 
result. The standard h:commandLink works fine, but an identical s:link always 
send null as parameter value.

Whats wrong?

I m using Seam 1.1.6,
Myfaces 1.1.4,
Facelets 1.1.12,
Ajax4JSF 1.0.6,
Trinidad incubator-m1-SNAPSHOT 

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

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


[jboss-user] [Clustering/JBoss] - Load Balancing using client Proxy

2007-02-20 Thread nirajal
I have EJB's deployed on 3 machines in a cluster. I am accessing the same from 
a remote client using JNDI. I want to access the EJB's in such a way that in 
case one of the machine is down then the EJB's is fetched from other machines 
in the cluster. I don't want to hardcode the IP Address and port of a single 
machine in the cluster. In case any one can provide me some example solution 
for my problem the it would be great.

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

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


[jboss-user] [JBossWS] - Re: jbossws-1.2.0.CR3 generates lowercase classnames?

2007-02-20 Thread dwin
You can use JAXB to specify the name of class

For example, 


  | @XmlType(name=ColorVariant)
  | public class ColorVariant {
  | ...
  | }
  | 


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

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


[jboss-user] [JBossWS] - new to JbossWS

2007-02-20 Thread sanket21
Hi,
 I am new to JBossWS. in fact i m new to web services . recently made a web 
service in tomcat n it worked fine unsing the steps mentioned in the web page 
(http://www.ncsa.uiuc.edu/people/ramonw/ws_demo/axisdemo.html) .. 

can some one tell me how wat all things i need to change to make a web service 
in jboss. i hav gone through the net n cldnt find material that will give me 
result fast ( the way i got thru the previous link).. 

though i m trying the usual jboss startup example (trivialservice example) but 
m nt a ble to make it thru.. 

ne kind of direction will be appriciated. 

thks ,
Sanket

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

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


[jboss-user] [JBoss Seam] - Re: EL enhancements

2007-02-20 Thread lightbulb432
What is the recommended method of executing a query for each line in a 
DataModel or list of entities on a page upon each load?

I was thinking I could pass in the loop variable to a method that would go and 
execute a query. Since that's not possible, what should I do - I know how to 
use DataModel for doing things once you've selected an entity, but not how to 
do something for every entity, with regards to a list.

Is there a good example of this I could check in the Seam examples?

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

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


[jboss-user] [JBoss Messaging] - Getting javax.jms.InvalidClientIDException when using 1.0.1.

2007-02-20 Thread sathish_06
Hi,
 Iam trying to use the Jboss Messaging System-1.0.1.SP4, which got released 
recently, but its  throwing exception message 
javax.jms.InvalidClientIDException: Client ID 'defaultclient' already used by 
ConnectionEndpoint[-2147483632]

Here is the configuration settings related to client ID in the persistence 
DB(oracle):

SELECT * FROM jms_user;
  | 
  | USERID  PASSWD  CLIENTID
  | mqm mqm defaultclient
  | guest   guest   testclient 

Note: We don't user user id - guest(client id - 'testclient'). We only uses 
userid  - mqm.

And, we configured multiple destination(Topics) with single role/userid(mqm) in 
the destinations-service.xml file as shown below,

c:\jboss-4.0.4.GA\server\messaging\deploy\jboss-messaging.sar\destinations-service.xml
  | 
  | ?xml version=1.0 encoding=UTF-8?
  | server
  | 
  |mbean code=org.jboss.jms.server.destination.Topic
  |  name=jboss.messaging.destination:service=Topic,name=HelloWorldTopic 
xmbean-dd=xmdesc/Topic-xmbean.xml
  |   depends 
optional-attribute-name=ServerPeerjboss.messaging:service=ServerPeer/depends
  |   attribute name=JNDINameHelloWorldTopic/attribute
  |   attribute name=SecurityConfig
  |  security
  | role name=mqm read=true write=true create=true/
  |  /security
  |   /attribute
  |/mbean
  | 
  | 
  | mbean code=org.jboss.jms.server.destination.Topic
  |   
name=jboss.messaging.destination:service=Topic,name=UserDrivenCategorizationTopic
 xmbean-dd=xmdesc/Topic-xmbean.xml
  |   depends 
optional-attribute-name=ServerPeerjboss.messaging:service=ServerPeer/depends
  |   attribute name=JNDINameUserDrivenCategorizationTopic/attribute
  |   attribute name=SecurityConfig
  |  security
  | role name=mqm read=true write=true create=true/
  |  /security
  |   /attribute
  |/mbean
  | 
  |mbean code=org.jboss.jms.server.destination.Topic
  |   
name=jboss.messaging.destination:service=Topic,name=TransactionCategorisationTopic
 xmbean-dd=xmdesc/Topic-xmbean.xml
  |   depends 
optional-attribute-name=ServerPeerjboss.messaging:service=ServerPeer/depends
  |   attribute name=JNDINameTransactionCategorisationTopic/attribute
  |   attribute name=SecurityConfig
  |  security
  | role name=mqm read=true write=true create=true/
  |  /security
  |   /attribute
  |/mbean
  | 
  | 
  | 
  | /server


When we start JBoss Messaging system with the above configuration, it throwing 
below exception message:- 

02:08:31,248 INFO  [JMSContainerInvoker] Waiting for reconnect internal 1ms 
for TransactionCategorisationMDB
  | 02:08:31,279 ERROR [ExceptionUtil] [EMAIL PROTECTED] createConnectionDelega
  | te [5c4o5s4p-gy8nr8-eyddak01-1-eyddfey7-1n]
  | javax.jms.InvalidClientIDException: Client ID 'defaultclient' already used 
by ConnectionEndpoint[-2147483632]
  | at 
org.jboss.jms.server.ServerPeer.checkClientID(ServerPeer.java:651)
  | at 
org.jboss.jms.server.endpoint.ServerConnectionFactoryEndpoint.createConnectionDelegate(ServerConnectionFactoryEndpo
  | int.java:129)
  | at 
org.jboss.jms.server.endpoint.advised.ConnectionFactoryAdvised.org$jboss$jms$server$endpoint$advised$ConnectionFact
  | oryAdvised$createConnectionDelegate$aop(ConnectionFactoryAdvised.java:64)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
  | at 
org.jboss.jms.server.container.InjectionAspect.handleCreateConnectionDelegate(InjectionAspect.java:69)
  | at 
org.jboss.aop.advice.org.jboss.jms.server.container.InjectionAspect0.invoke(InjectionAspect0.java)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at org.jboss.aop.Advisor.dynamicInvoke(Advisor.java:723)
  | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:101)
  | at 
org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:127)
  | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:715)
  | at 
org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:552)
  | at 
org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:377)
  | at 
org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:159)
  | 02:08:31,279 ERROR [ServerThread] 
SocketServerInvoker[0.0.0.0:4457].invoke() call failed: Client ID 'perusworld' 
already used
  | by ConnectionEndpoint[-2147483632]
  | 02:08:31,295 WARN  

[jboss-user] [JBoss jBPM] - Re: Finding tasks efficiently using ContextInstance?

2007-02-20 Thread paolodt
Q: anonymous wrote : 
  | The TaskMgmtSession class has several methods for finding tasks belonging 
to actors - either individual actors or many at a time.
  | 
  | BUT... is there a way to efficiently find tasks using the values in context 
variables? 
  | 


A: anonymous wrote : 
  | you can do this with a hibernate query. you'll have to learn a bit about 
how jbpm stores the variable instances for that. 
  | 

Is this still valid or exists a better way to do that? 

Thank you. Paolo DI Tommaso

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

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


[jboss-user] [JBoss jBPM] - deployment problem

2007-02-20 Thread abdenourh
If some one can help me, I have a problem when I try to deploy my process using 
this code

 public static void main(String[] args){

jbpmConfiguration = 
JbpmConfiguration.parseResource(hibernate.cfg);  
ProcessDefinition P = 
ProcessDefinition.parseXmlResource(simple/processdefinition.xml);
JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
try { 
  jbpmContext.deployProcessDefinition(P);

} finally {
  jbpmContext.close();
  }



I have this error 



xception in thread main org.jbpm.jpdl.JpdlException: [[ERROR] couldn't parse 
process definition]
at 
org.jbpm.jpdl.xml.JpdlXmlReader.readProcessDefinition(JpdlXmlReader.java:163)
at 
org.jbpm.graph.def.ProcessDefinition.parseXmlInputStream(ProcessDefinition.java:172)
at 
org.jbpm.graph.def.ProcessDefinition.parseXmlResource(ProcessDefinition.java:153)
at deploypackage.deploy.main(deploy.java:38)
15:39:50,171 [main] DEBUG ObjectFactoryImpl : adding object info 
'jbpm.msg.wait.timout'
15:39:50,171 [main] DEBUG ObjectFactoryImpl : adding object info 
'jbpm.byte.block.size'
15:39:50,171 [main] DEBUG ObjectFactoryImpl : adding object info 
'mail.smtp.host'
15:39:50,171 [main] DEBUG ObjectFactoryImpl : adding object info 
'jbpm.task.instance.factory'
15:39:50,171 [main] DEBUG ObjectFactoryImpl : adding object info 
'jbpm.variable.resolver'
15:39:50,171 [main] DEBUG ObjectFactoryImpl : adding object info 
'jbpm.mail.address.resolver'
15:39:50,171 [main] DEBUG JbpmConfiguration : loading specific configuration...
15:39:50,249 [main] ERROR JpdlXmlReader : couldn't parse process definition
org.dom4j.DocumentException: null Nested exception: null
at org.dom4j.io.SAXReader.read(SAXReader.java:484)
at org.jbpm.jpdl.xml.JpdlParser.parse(JpdlParser.java:57)
at 
org.jbpm.jpdl.xml.JpdlXmlReader.readProcessDefinition(JpdlXmlReader.java:138)
at 
org.jbpm.graph.def.ProcessDefinition.parseXmlInputStream(ProcessDefinition.java:172)
at 
org.jbpm.graph.def.ProcessDefinition.parseXmlResource(ProcessDefinition.java:153)
at deploypackage.deploy.main(deploy.java:38)
Nested exception: 


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

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


[jboss-user] [JBoss Portal] - Re: JBoss Portal 2.6 Alpha 2 Release

2007-02-20 Thread [EMAIL PROTECTED]
Ideally, daily build should have been there already but I wrote the script so 
that it happens only after compile and testsuite runs happen successfully. 
Since there has been problem with testsuite, it does not go to that point. I am 
going to change this to do it after successful build and not depend on 
testsuite run.

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

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


[jboss-user] [Clustering/JBoss] - Re: Load Balancing using client Proxy

2007-02-20 Thread [EMAIL PROTECTED]
In jboss.xml, add

clusteredtrue/clustered

for each bean where you want this behavior.  If you're using EJB3 you can use 
an @Clustered annotation on the bean class instead of XML.

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

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


[jboss-user] [JBoss Seam] - Seamspace example does not deploy on tomcat 5.5

2007-02-20 Thread fernando_jmt
Hi.

I want to deploy the seamspace sample (deploy.tomcat ant target), but when I 
try to access http://localhost:8080/seam-space/ I get exceptions:


  | 20-feb-2007 11:17:24 com.sun.facelets.FaceletViewHandler 
handleRenderException
  | GRAVE: Error Rendering View[/home.xhtml]
  | org.jboss.seam.InstantiationException: Could not instantiate Seam 
component: profile
  | at org.jboss.seam.Component.newInstance(Component.java:1766)
  | at org.jboss.seam.Component.getInstance(Component.java:1669)
  | at org.jboss.seam.Component.getInstance(Component.java:1636)
  | at org.jboss.seam.Component.getInstanceFromFactory(Component.java:1715)
  | at org.jboss.seam.Component.getInstance(Component.java:1659)
  | at org.jboss.seam.Component.getInstance(Component.java:1636)
  | at 
org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:53)
  | at 
org.apache.myfaces.config.LastVariableResolverInChain.resolveVariable(LastVariableResolverInChain.java:42)
  | at 
com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134)
  | at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65)
  | at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
  | at 
com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
  | at 
com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56)
  | at com.sun.facelets.component.UIRepeat.getValue(UIRepeat.java:143)
  | at com.sun.facelets.component.UIRepeat.getDataModel(UIRepeat.java:121)
  | at com.sun.facelets.component.UIRepeat.setIndex(UIRepeat.java:305)
  | at com.sun.facelets.component.UIRepeat.process(UIRepeat.java:333)
  | at com.sun.facelets.component.UIRepeat.encodeChildren(UIRepeat.java:617)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:244)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
  | at 
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:573)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamMultipartFilter.doFilter(SeamMultipartFilter.java:49)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:43)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:29)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
  | at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
  | at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  | at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
  | at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
  | at java.lang.Thread.run(Unknown Source)
  | Caused by: javax.naming.NamingException: Local server is not initialized
  | at 
org.jnp.interfaces.LocalOnlyContextFactory.getInitialContext(LocalOnlyContextFactory.java:45)
  | at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
  | at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
  | at javax.naming.InitialContext.init(Unknown Source)
  | at javax.naming.InitialContext.init(Unknown Source)
  | at 

[jboss-user] [Management, JMX/JBoss] - Re: how can i check if some ear file is deployed?

2007-02-20 Thread PeterJ
Use jmx-console to look it up. Or you could use twiddle 
(http://docs.jboss.com/jbossas/guides/j2eeguide/r2/en/html_single/#d0e2252).

For code, first read about JMX coding at 
http://java.sun.com/j2se/1.5.0/docs/guide/jmx/tutorial/tutorialTOC.html

You can find many JMX coding examples in the forums, search for the term 
'queryMBeans' or 'queryNames'. Here's one: 
http://www.jboss.com/index.html?module=bbop=viewtopict=102021

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

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


[jboss-user] [JBoss Seam] - Re: Is it possible to send mail from asynchronous method

2007-02-20 Thread petemuir
It looks to me like ejb3 is swallowing the stack trace (it has an annoying 
habit of doing this in async stuff).  We need the stack of the original 
exception (wrap your code in a try-catch and use e.printStackTrace()).

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

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


[jboss-user] [JBoss Seam] - Re: EL enhancements

2007-02-20 Thread lightbulb432
Right, but that would only be evaluated when I click the link, whereas I would 
like the value to be shown when the list page is shown.

For example, in a list of entities I'd like to show next to it the result of a 
query (i.e. that value isn't stored as a property of the entity, but is 
evaluated as a result of a query).

I can't see how to get them all to display on the list page.

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

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


[jboss-user] [JBoss Portal] - Re: Installed JbossAS+Portal 2.4.1 Bundle what to convert to

2007-02-20 Thread PeterJ
You do not need both oracle-ds.xml and portal-oracle-ds.xml, one or the other 
will suffice. I always also download the portal binary because in the 'setup' 
directory there are a series of *-ds.xml files ready for use with the portal, 
simply replace the user-name and password entries, and the database name in the 
connection-url. (I don't use Oracle, but I have used both MySQL and PostgreSQL 
with the Portal.)

Oh, almost forgot, make sure you copy the JDBC driver jar file for your 
database to jboss_home/server/xxx/lib, where xxx is the configuration name.

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

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


[jboss-user] [Beginners Corner] - Inability to Run a JSF Application on JBoss

2007-02-20 Thread jhimmel
Has anyone created a JSF application on JBuilder 2007 and tried to run it on 
JBoss?  I am having trouble running a JSF application on JBoss from JBuilder.  
I followed a tutorial for JBuilder 2007 for creating a JSF application.  Since 
my company uses the JBoss server, I tried to run the application on the JBoss 
server.  However, I keep getting the following error message:

HTTP Status 500 - 

type Exception report
message 
description The server encountered an internal error () that prevented it from 
fulfilling this request.
exception 
org.apache.jasper.JasperException: No faces context?!

org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:512)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)

com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)

com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
root cause 
javax.servlet.ServletException: No faces context?!

org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:843)

org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:776)
org.apache.jsp.login_jsp._jspService(login_jsp.java:109)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)

com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)

com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
root cause 
javax.servlet.jsp.JspException: No faces context?!

org.apache.myfaces.taglib.core.LoadBundleTag.doStartTag(LoadBundleTag.java:74)
org.apache.jsp.login_jsp._jspx_meth_f_loadBundle_0(login_jsp.java:126)
org.apache.jsp.login_jsp._jspService(login_jsp.java:92)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)

com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)

com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
note The full stack trace of the root cause is available in the Apache 
Tomcat/5.5.20 logs.


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

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


[jboss-user] [JBoss Seam] - Re: selectOneMenu and commandButton conflict

2007-02-20 Thread petemuir
#{application.name} references a String, you are trying to set it with a 
Application object.  Likewise for language.Read up on JSF converters and 
what they do.  And take a look at the EntityConverter on the wiki as it does 
what you are trying to do for you...

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

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


[jboss-user] [JBoss Seam] - Re: EL enhancements

2007-02-20 Thread petemuir
lightbulb432 wrote : What is the recommended method of executing a query for 
each line in a DataModel or list of entities on a page upon each load?

You can't do it like this.  You would have to preprocess the list in your 
factory method.  Normally you can avoid doing this by getting the datamodel 
right.

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

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


[jboss-user] [EJB 3.0] - Datasource config files?... how to? docs?

2007-02-20 Thread fbadt
Anyone have link for writting config xml files for datasources?
1: the JBoss way for all applications
2: the J2EE5 way in the EAR file

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

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


[jboss-user] [JBoss Portal] - Re: JBoss Portal 2.6 Alpha 2 Release

2007-02-20 Thread [EMAIL PROTECTED]
It's all unit tests that are available portal codebase.

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

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


[jboss-user] [JBoss Messaging] - Re: Getting javax.jms.InvalidClientIDException when using 1.

2007-02-20 Thread sathish_06
And the jms_role table contains following data:-


  | SELECT * FROM jms_role
  | ROLEID USERID 
  | guest guest 
  | mqm mqm 

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

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


[jboss-user] [JBoss Seam] - Re: ajax4jsf and outjecting to conversations

2007-02-20 Thread whuang
can you post the UI code for BEFORE (working) and AFTER (not working)

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

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


[jboss-user] [JBoss Portal] - Re: JBoss Portal 2.6 Alpha 2 Release

2007-02-20 Thread swestbom
Nothing to do with bugs bug since portlets just produce page fragments have you 
thought about supporting Ajax requests for action and view for a portlet?   

Maybe a parameter to tell the Portal container to skip page assembly and just 
pass back the fragment?

Would seem to be a natural extension of the Portal idea and it would lighten 
the portal and speed up the response time a lot.

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: Issue with JBoss IDE 2.0 Beta with Eclipse 3.2.1

2007-02-20 Thread graciejboss
Jboss IDE(2.0) labels wrong  for Twiddles and Stop, which means Label Twiddles 
is for Stop and label Stop is for Twiddles.

Here is my Jboss launch configuration file for the Jboss server 4.0.5.GA using 
Jboss IDE 2.0(eclipse 3.2), which works well.

Start args:
--configuration=default --host=localhost

Twiddles args:(it is for Stop command. it is labeled wrong)
-S -u admin -p admin

Stop args:(it is for Twiddles args. It is labeled wrong)
-s localhost:1099 -a jmx/rmi/RMIAdaptor

BTW, you should change Stop arguments, userName(admin in my case) and 
password(admin in my case) to fit your configurature, should like this

-S -u yourUserName -p yourPassword

Good luck!


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

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


[jboss-user] [JBoss Portal] - Splitting a big portlet

2007-02-20 Thread sudarshanacharya
I have to write a big Portlet. The page consists of different hyperlinks to 
add, edit and delete functionalities (at least 15 functionalities). Each of 
these functionalities are completed in different steps. I have the business 
layer ready for everything, but my problem is only to call  organize the code 
in the portlet.

Can I have a portlet class and from its doView and processAction, call 
appropriate Handler classes like EditItemOneHandler,DeleteItemOneHandler, 
AddItemOneHandler? But I am not really clear about it? Are these Handler 
classes just simple classes, or is these any support for supervising the 
workflow? Or do I have to individually call each method within the handler 
classes?

I would appreciate any suggestions in organizing big portlets.
Thanks.

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

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


[jboss-user] [JBoss Seam] - Re: ajax4jsf and outjecting to conversations

2007-02-20 Thread baz
there is no change. all changes i made are described in my previous post.
After execution of addPCRAnalysis a page is rendered which is the same in both 
cases. This facelet is included in the page(only reference to primerlist)
html xmlns=http://www.w3.org/1999/xhtml;
  | xmlns:ui=http://java.sun.com/jsf/facelets;
  | xmlns:h=http://java.sun.com/jsf/html;
  | xmlns:f=http://java.sun.com/jsf/core;
  | 
  | f:loadBundle basename=lims var=bundle /
  | body
  | ui:component
  | h:panelGrid columns=1 styleClass=main columnClasses=columnPage
  | jdt:listPager for=allPrimers currentStyle=color: #22; 
/
  | h:dataTable border=1 cellspacing=2 id=allPrimers
  | value=#{primerlist.primers} var=zeile rows=5
  | h:column
  | f:facet name=header
  | h:outputText 
value=#{bundle.markername} /
  | /f:facet
  | h:outputText value=#{zeile.name} /
  | /h:column
  | h:column
  | f:facet name=header
  | h:outputText 
value=#{bundle.markerproduct_size} /
  | /f:facet
  | h:outputText value=#{zeile.productSize} /
  | /h:column
  | /h:dataTable
  | /h:panelGrid
  | /ui:component
  | /body
  | /html
  | 
The value of the datatable is bound to #{primerlist.primers} and there the 
exception occurs.

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

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


[jboss-user] [JBoss Messaging] - Xa - Memory Leak ?

2007-02-20 Thread jeanbobby
We are using 1.0.1SP4 on JBoss405.
The queues are persisted on oracle 10g.
JBM has its own non-xa oracle datasource

The multithreaded consumers rely on the XA Connection Factory and are wrapped 
in XA transactions.
One set of connection/session/consumer is created for each sequence of polling, 
no caching whatsoever, and we proceed with the usual pattern : 

xaTx.begin

con = jmxXACf.createCon
ses = con.createSession
con.start
consumer = ses.createConsumer
consumer.receive()
consumer.close
session.close
con.close

xaTx.commit

they're all cleaned up after the receive call, and the XA transaction is always 
commited/rollbacked.

The jboss instance hosting both JBM and the consumers (bootstraped from a War 
using JBM loader) runs slowly but steadily to memory and cpu exhaustion, even 
when it's activity is limited to the constant jms 'polling' (8 consumer 
threads).

As the heap graphs were showing textbook linear memory consumption I ran 
jmap/jhat after a 2 hours run (with only the 30th first minutes of dense 
activity). It showed that the number of ServerConsumerEndpoint instances had 
made the top 5 with approx 20 :

num   #instances#bytes  class name
--
  1:21764042500368  [Ljava.util.HashMap$Entry;
  2:22395625354776  [Ljava.lang.Object;
  3:30625723970568  [C
  4:46893222508736  java.util.HashMap$Entry
  5:19965820764432  org.jboss.jms.server.endpoint.ServerConsumerEndpoint


Then I get all kind of stacks bound to the memory shortage like :

java.lang.OutOfMemoryError: Java heap space
  | 2007-02-09 10:50:39,420  ERROR 
[org.jboss.resource.adapter.jms.JmsSessionFactoryImpl] - could not create 
session
  | org.jboss.resource.JBossResourceException: Unchecked throwable in 
ManagedConnection.getConnection() [EMAIL PROTECTED] [EMAIL PROTECTED] handles=0 
lastUse=1171014618826 permit=false trackByTx=false [EMAIL PROTECTED] [EMAIL 
PROTECTED] xaResource=MessagingXAResource[-2147483607] txSync=null]; - nested 
throwable: (java.lang.reflect.UndeclaredThrowableException)
  | at 
org.jboss.resource.JBossResourceException.rethrowAsResourceException(JBossResourceException.java:61)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:410)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
  | at 
org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.allocateConnection(JmsSessionFactoryImpl.java:389)
  | at 
org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.createSession(JmsSessionFactoryImpl.java:369)
  | at 
org.springframework.jms.listener.AbstractMessageListenerContainer.createSession(AbstractMessageListenerContainer.java:1002)
  | at 
com.digiplug.repository.transcoding.util.spring.DestinationBalancingMessageListenerContainer.doReceiveAndExecute(DestinationBalancingMessageListenerContainer.java:360)
  | at 
com.digiplug.repository.transcoding.util.spring.DestinationBalancingMessageListenerContainer.receiveAndExecute(DestinationBalancingMessageListenerContainer.java:326)
  | at 
com.digiplug.repository.transcoding.util.spring.DestinationBalancingMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DestinationBalancingMessageListenerContainer.java:716)
  | at 
com.digiplug.repository.transcoding.util.spring.DestinationBalancingMessageListenerContainer$AsyncMessageListenerInvoker.run(DestinationBalancingMessageListenerContainer.java:680)
  | at 
org.springframework.core.task.SimpleAsyncTaskExecutor$ConcurrencyThrottlingRunnable.run(SimpleAsyncTaskExecutor.java:203)
  | at java.lang.Thread.run(Thread.java:595)
  | Caused by: java.lang.reflect.UndeclaredThrowableException
  | at 
org.jboss.resource.JBossResourceException.process(JBossResourceException.java:204)
  | at 
org.jboss.resource.JBossResourceException.init(JBossResourceException.java:111)
  | ... 12 more
  | Caused by: java.lang.OutOfMemoryError: Java heap space
  | 2007-02-09 10:51:13,748  ERROR [STDERR] - Exception in thread Timer-1 
  | 2007-02-09 10:51:13,748  ERROR [STDERR] - Exception in thread 
TimeoutFactory-0 
  | 2007-02-09 10:51:13,748  ERROR [STDERR] - java.lang.OutOfMemoryError: Java 
heap space
  | 2007-02-09 10:51:13,748  ERROR [STDERR] - java.lang.OutOfMemoryError: Java 
heap space
  | 2007-02-09 10:51:24,326  ERROR [org.jboss.jms.util.ExceptionUtil] - 
ConnectionEndpoint[-2147483643] start [a1885-6t7h9a-exxk6yht-1-exyfwp7q-3s]
  | java.lang.OutOfMemoryError: Java heap space
  | 2007-02-09 10:51:38,514  ERROR [org.jboss.jms.util.ExceptionUtil] - 
SessionEndpoint[-2147483608] close [a1885-6t7h9a-exxk6yht-1-exyfx05u-3t]
  | java.lang.OutOfMemoryError: Java heap space
  | 2007-02-09 10:51:41,951  ERROR 
[org.jboss.jms.client.container.ExceptionInterceptor] - Caught Error: 
  | java.lang.OutOfMemoryError: Java heap space
  | 

[jboss-user] [JBoss Messaging] - Re: Xa - Memory Leak ?

2007-02-20 Thread timfox
Well.. we haven't tested with Spring so we've no idea whether it works or not 
with Spring.

At the end of the day we don't know what calls Spring is making or whether it 
is obeying the XA usage contract.

At first glance it looks like something (Spring?) is not closing sessions.

If you can replicate without using Spring that would be great.

Thx.

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

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


[jboss-user] [JBoss Seam] - catching exceptions + stack trace

2007-02-20 Thread damianharvey
Should I still see the stack trace in the logs when 
org.jboss.seam.security.NotLoggedInException is intercepted by Seam? Or should 
it just redirect to the page as per the pages.xml rule (which it does) but 
without generating a stack trace in the logs?

Thanks,

Damian.

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

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


[jboss-user] [JBoss jBPM] - What should happen if exception occurs in Action?

2007-02-20 Thread clandestino_bgd
If my synchronously invoked action class (on node-enter event) throws 
exception, I cannot delete particular process instance after that:

[executive] WARN [http-8180-Processor25] 
JDBCExceptionReporter.logExceptions(71) | SQL Error: 1451, SQLState: 23000
  | [executive] ERROR [http-8180-Processor25] 
JDBCExceptionReporter.logExceptions(72) | Cannot delete or update a parent row: 
a foreign key cons
  | traint fails (`executive_db/jbpm_variableinstance`, CONSTRAINT 
`FK_VARINST_PRCINST` FOREIGN KEY (`PROCESSINSTANCE_`) REFERENCES `jbpm_proces
  | sinstance` (`ID_`))
  | [executive] ERROR [http-8180-Processor25] 
AbstractFlushingEventListener.performExecutions(301) | Could not synchronize 
database state with s
  | ession
  | org.hibernate.exception.ConstraintViolationException: could not delete: 
[org.jbpm.graph.exe.ProcessInstance#1]
  | at 
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:71)
  | at 
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2476)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2632)
  | at 
org.hibernate.action.EntityDeleteAction.execute(EntityDeleteAction.java:73)
  | at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:248)
  | at 
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:232)
  | at 
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:144)
  | at 
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
  | at 
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
  | at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
  | 

I have JBPM tables in the same DB as my app tables. They use the same Hibernate 
session factory.

Any hint?
recommended way to handle runtime exception?
Thanks 
Milan



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

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


[jboss-user] [JBoss Seam] - Re: catching exceptions + stack trace

2007-02-20 Thread damianharvey
Just tried the SeamSpace example as suggested in another thread and it also 
dumps the stack trace to the logs when a NotLoggedInException is encountered.

Any way to stop this? Aiming for tidy logs.

Thanks,

Damian.

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

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


[jboss-user] [JBoss Seam] - Re: Is it possible to send mail from asynchronous method

2007-02-20 Thread piotr.walczyszyn
I got it:
anonymous wrote : 
  | 18:04:44,723 ERROR [STDERR] java.lang.NullPointerException
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.seam.ui.facelet.FaceletsRenderer.wr
  | apResponseWriter(FaceletsRenderer.java:95)
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.seam.ui.facelet.FaceletsRenderer.re
  | nder(FaceletsRenderer.java:52)
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.seam.ui.facelet.FaceletsRenderer.re
  | nder(FaceletsRenderer.java:38)
  | 18:04:44,723 ERROR [STDERR] at 
org.alterapps.community.mail.RegistrationMail
  | HandlerBean.processRegistrationMail(RegistrationMailHandlerBean.java:83)
  | 18:04:44,723 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke0(
  | Native Method)
  | 18:04:44,723 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke(N
  | ativeMethodAccessorImpl.java:39)
  | 18:04:44,723 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invo
  | ke(DelegatingMethodAccessorImpl.java:25)
  | 18:04:44,723 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Method.java:5
  | 97)
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.aop.joinpoint.MethodInvocation.invo
  | keNext(MethodInvocation.java:112)
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.ejb3.interceptor.InvocationContextI
  | mpl.proceed(InvocationContextImpl.java:166)
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.seam.intercept.EJBInvocationContext
  | .proceed(EJBInvocationContext.java:37)
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.seam.intercept.SeamInvocationContex
  | t.proceed(SeamInvocationContext.java:55)
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.seam.interceptors.BijectionIntercep
  | tor.bijectNonreentrantComponent(BijectionInterceptor.java:79)
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.seam.interceptors.BijectionIntercep
  | tor.bijectComponent(BijectionInterceptor.java:58)
  | 18:04:44,723 ERROR [STDERR] at 
sun.reflect.GeneratedMethodAccessor143.invoke
  | (Unknown Source)
  | 18:04:44,723 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invo
  | ke(DelegatingMethodAccessorImpl.java:25)
  | 18:04:44,723 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Method.java:5
  | 97)
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.seam.util.Reflections.invoke(Reflec
  | tions.java:18)
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.seam.intercept.Interceptor.aroundIn
  | voke(Interceptor.java:169)
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.seam.intercept.SeamInvocationContex
  | t.proceed(SeamInvocationContext.java:64)
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.seam.interceptors.OutcomeIntercepto
  | r.interceptOutcome(OutcomeInterceptor.java:21)
  | 18:04:44,723 ERROR [STDERR] at 
sun.reflect.GeneratedMethodAccessor142.invoke
  | (Unknown Source)
  | 18:04:44,723 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invo
  | ke(DelegatingMethodAccessorImpl.java:25)
  | 18:04:44,723 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Method.java:5
  | 97)
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.seam.util.Reflections.invoke(Reflec
  | tions.java:18)
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.seam.intercept.Interceptor.aroundIn
  | voke(Interceptor.java:169)
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.seam.intercept.SeamInvocationContex
  | t.proceed(SeamInvocationContext.java:64)
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.seam.interceptors.ConversationInter
  | ceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:52)
  | 18:04:44,723 ERROR [STDERR] at 
sun.reflect.GeneratedMethodAccessor141.invoke
  | (Unknown Source)
  | 18:04:44,723 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invo
  | ke(DelegatingMethodAccessorImpl.java:25)
  | 18:04:44,723 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Method.java:5
  | 97)
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.seam.util.Reflections.invoke(Reflec
  | tions.java:18)
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.seam.intercept.Interceptor.aroundIn
  | voke(Interceptor.java:169)
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.seam.intercept.SeamInvocationContex
  | t.proceed(SeamInvocationContext.java:64)
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.seam.interceptors.MethodContextInte
  | rceptor.aroundInvoke(MethodContextInterceptor.java:27)
  | 18:04:44,723 ERROR [STDERR] at 
sun.reflect.GeneratedMethodAccessor140.invoke
  | (Unknown Source)
  | 18:04:44,723 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invo
  | ke(DelegatingMethodAccessorImpl.java:25)
  | 18:04:44,723 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Method.java:5
  | 97)
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.seam.util.Reflections.invoke(Reflec
  | tions.java:18)
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.seam.intercept.Interceptor.aroundIn
  | voke(Interceptor.java:169)
  | 18:04:44,723 ERROR [STDERR] at 

[jboss-user] [Messaging, JMS JBossMQ] - Re: Durable Subscription in JBossMQ

2007-02-20 Thread genman
Not that I'm aware of. You're limited by available memory of course.


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

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


[jboss-user] [JBossWS] - Problems ejb call and jaxrpc / principal

2007-02-20 Thread penguine
Hallo Thomas,


The HelloBean in my/your example:

  String urlstr   = http://localhost:8080/ws/RoleSecured?wsdl;;
String argument = testmich;

System.out.println(Contacting webservice at  + urlstr);

URL url =  new URL(urlstr);

QName qname = new QName(http://hello.ws.jboss.org/;, HelloService);

ServiceFactory factory = ServiceFactory.newInstance();  
 
Serviceservice = factory.createService(url, qname);

Hello  hello   = (Hello) service.getPort(Hello.class);

Stub stub = (Stub) hello;

stub._setProperty(Stub.USERNAME_PROPERTY, kermit);
stub._setProperty(Stub.PASSWORD_PROPERTY, thefrog);

System.out.println(hello.hello( + argument + ));
System.out.println(output: + hello.hello(argument)); -- here the 
exception occurs

I become the following error:

Contacting webservice at http://localhost:8080/ws/RoleSecured?wsdl
hello.hello(testmich)
java.rmi.RemoteException: Call invocation failed with code [Client] because of: 
java.rmi.AccessException: SecurityException; nested exception is: 
java.lang.SecurityException: Insufficient method permissions, 
principal=null, ejbName=HelloBean, method=hello, interface=SERVICE_ENDPOINT, 
requiredRoles=[friend], principalRoles=[]; nested exception is: 
javax.xml.rpc.soap.SOAPFaultException: java.rmi.AccessException: 
SecurityException; nested exception is: 
java.lang.SecurityException: Insufficient method permissions, 
principal=null, ejbName=HelloBean, method=hello, interface=SERVICE_ENDPOINT, 
requiredRoles=[friend], principalRoles=[]
at org.jboss.ws.common.CommonClient.invoke(CommonClient.java:331)
at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:560)
at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:338)
at org.jboss.ws.jaxrpc.CallProxy.invoke(CallProxy.java:148)
at $Proxy0.hello(Unknown Source)
at 
de.mycompany.it.webservice.test.TestHelloClientII.main(TestHelloClientII.java:67)
Caused by: javax.xml.rpc.soap.SOAPFaultException: java.rmi.AccessException: 
SecurityException; nested exception is: 
java.lang.SecurityException: Insufficient method permissions, 
principal=null, ejbName=HelloBean, method=hello, interface=SERVICE_ENDPOINT, 
requiredRoles=[friend], principalRoles=[]
at 
org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper.getSOAPFaultException(SOAPFaultExceptionHelper.java:100)
at 
org.jboss.ws.common.CommonSOAPBinding.unbindResponseMessage(CommonSOAPBinding.java:574)
at org.jboss.ws.common.CommonClient.invoke(CommonClient.java:319)
... 5 more
Exception in thread main 

If I do a normal lookup to my bean as you do it in your examples it works.
But if I try to use the webserver to access the wsdl like my example above I 
donĀ“t have a valid principal setting.



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

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

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


[jboss-user] [JBoss Messaging] - Re: Getting javax.jms.InvalidClientIDException when using 1.

2007-02-20 Thread [EMAIL PROTECTED]
What EJB container version do you use (JBoss AS version)?

What is perusworld? Where does this ID come from?



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

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


[jboss-user] [JBossWS] - Re: Problems ejb call and jaxrpc / principal

2007-02-20 Thread penguine
The problem occurs in jboss-4.0.5GA.
I try it with jbossws-1.0.4.GA, too.
my example herer is with the newer jbossws version, jbossws-1.0.4.GA.

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

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


[jboss-user] [EJB 3.0] - Re: Resource injection into EJB gives

2007-02-20 Thread blazetrail
Please ignor, user problem.   

Was not injected because instance of bean was picked up as POJO rather than 
from JNDI/EJB create.

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

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


[jboss-user] [JBoss Messaging] - Re: Xa - Memory Leak ?

2007-02-20 Thread jeanbobby
I just use the a spring JtaTransactionManager which acts as a TM wrapper that 
looks up JBoss UserTx and TM in jndi, and allow consistent syntax when 
switching to a spring-specific TM.

I dont know the spring code base by heart but it has to properly call commit on 
the jboss resources as I do have consitent distributed tx behaviour for my 
commits and rollbacks between JBM and Hibernate.

Anyway, I did setup a one class test bootstraped as a sar and using a thread 
pool executor for the multithreading and I can see the same ever groging 
ServerConsumerEndpoint count with JHat (with both TransactionManager and 
UserTransaction).

Would you have a few minutes to look into it ? 
I can send it to you if you're interested.

Thanks,
Best regards
Olivier

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

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


[jboss-user] [JBoss jBPM] - Re: jpdl-3.2.Beta2: how to access variable from task form in

2007-02-20 Thread avbentem
...solved!

This may be caused by using a more recent version of the Hibernate libraries 
(though I doubt the older version would not create an empty List), or maybe is 
simply a bug that everyone would suffer. I did not yet investigate; I will 
submit a bug report later, if I did not cause this myself...

http://fisheye.jboss.com/browse/JBPM/jbpm.3/jpdl/jar/src/main/java/org/jbpm/graph/node/Decision.java?r=1.3
 48 List decisionConditions = null;
  |   :
  | 105  } else if (decisionConditions!=null) {
  | 106// backwards compatible mode based on separate DecisionCondition
In my setup, database table JBPM_DECISIONCONDITION is empty, but for this 
Hibernate still creates an empty List. Changing into:
105  } else if (decisionConditions!=null  !decisionConditions.isEmpty()) {
solved my problems. Now both
decision name=Large quantity?
  |   !-- First transition is also the default (otherwise) branch --
  |   transition name=No to=ship item/
  |   transition name=Yes to=Make appointment
  | condition![CDATA[#{quantity  2}]]/condition
  |   /transition
  | /decision
and
condition![CDATA[#{contextInstance.variables['quantity']  
2}]]/condition
work as expected (as noted earlier in this thread, using the 'expression' 
attribute somehow does not get the condition into the database to start with).

Arjan.

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

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


[jboss-user] [JBoss Messaging] - Re: Getting javax.jms.InvalidClientIDException when using 1.

2007-02-20 Thread sathish_06
Hi,

   The jboss application server that we use is  Jboss-4.0.4.GA AS.

We use 'perusworld' as a client ID. But, while posting to this forum, I had 
replaced with 'defaultclient' for ease of understanding for everyone. 

Here is the correct one:

02:08:31,248 INFO  [JMSContainerInvoker] Waiting for reconnect internal 1ms 
for TransactionCategorisationMDB
  | 02:08:31,279 ERROR [ExceptionUtil] [EMAIL PROTECTED] createConnectionDelega
  | te [5c4o5s4p-gy8nr8-eyddak01-1-eyddfey7-1n]
  | javax.jms.InvalidClientIDException: Client ID 'defaultclient' already used 
by ConnectionEndpoint[-2147483632]
  | at 
org.jboss.jms.server.ServerPeer.checkClientID(ServerPeer.java:651)
  | at 
org.jboss.jms.server.endpoint.ServerConnectionFactoryEndpoint.createConnectionDelegate(ServerConnectionFactoryEndpo
  | int.java:129)
  | at 
org.jboss.jms.server.endpoint.advised.ConnectionFactoryAdvised.org$jboss$jms$server$endpoint$advised$ConnectionFact
  | oryAdvised$createConnectionDelegate$aop(ConnectionFactoryAdvised.java:64)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
  | at 
org.jboss.jms.server.container.InjectionAspect.handleCreateConnectionDelegate(InjectionAspect.java:69)
  | at 
org.jboss.aop.advice.org.jboss.jms.server.container.InjectionAspect0.invoke(InjectionAspect0.java)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at org.jboss.aop.Advisor.dynamicInvoke(Advisor.java:723)
  | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:101)
  | at 
org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:127)
  | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:715)
  | at 
org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:552)
  | at 
org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:377)
  | at 
org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:159)
  | 02:08:31,279 ERROR [ServerThread] 
SocketServerInvoker[0.0.0.0:4457].invoke() call failed: Client ID 
'defaultclient' already used
  | by ConnectionEndpoint[-2147483632]
  | 02:08:31,295 WARN  [JMSContainerInvoker] JMS provider failure detected for 
DataPointManagementMDB
  | javax.jms.InvalidClientIDException: Client ID 'defaultclient' already used 
by ConnectionEndpoint[-2147483632]
  | at 
org.jboss.jms.server.ServerPeer.checkClientID(ServerPeer.java:651)
  | at 
org.jboss.jms.server.endpoint.ServerConnectionFactoryEndpoint.createConnectionDelegate(ServerConnectionFactoryEndpo
  | int.java:129)
  | at 
org.jboss.jms.server.endpoint.advised.ConnectionFactoryAdvised.org$jboss$jms$server$endpoint$advised$ConnectionFact
  | oryAdvised$createConnectionDelegate$aop(ConnectionFactoryAdvised.java:64)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
  | at 
org.jboss.jms.server.container.InjectionAspect.handleCreateConnectionDelegate(InjectionAspect.java:69)
  | at 
org.jboss.aop.advice.org.jboss.jms.server.container.InjectionAspect0.invoke(InjectionAspect0.java)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at org.jboss.aop.Advisor.dynamicInvoke(Advisor.java:723)
  | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:101



Thx, Sathish

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

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


[jboss-user] [JBoss Messaging] - Re: Getting javax.jms.InvalidClientIDException when using 1.

2007-02-20 Thread sathish_06
Just want to give one update:

 We tried to setup with different roles(user id  client id) for each 
destinations(Topic), but still facing the same problem.
  We suspect that anyother settings other than this needs to be configured   
roperly. 
   Has anyone faced this kind of problem ? Can you pls guide us what needs to 
configure to fix this problem.

Thx, Sathish
 

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

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


[jboss-user] [JBoss Messaging] - Re: Getting javax.jms.InvalidClientIDException when using 1.

2007-02-20 Thread [EMAIL PROTECTED]
Just get rid of defaultclient from JMS_USER and try again.

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

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


[jboss-user] [JBoss Messaging] - Re: Getting javax.jms.InvalidClientIDException when using 1.

2007-02-20 Thread sathish_06
Do you mean,  set  CLIENTID to null in JMS_USER table ?

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

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


[jboss-user] [JBoss Messaging] - Re: Getting javax.jms.InvalidClientIDException when using 1.

2007-02-20 Thread [EMAIL PROTECTED]
yes

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

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


[jboss-user] [JBoss Seam] - Is managing conversations in *.page.xml files good practice?

2007-02-20 Thread lawrieg
Hi,

Seam-gen generates apps which have their conversational behaviour managed (i.e. 
have their conversations begun and ended) by settings in their *.page.xml 
files. However, the reference documentation doesn't mention this practice, and 
none of the Seam example apps appear to be coded this way.

What are the advantages and disadvantages of this approach? 

And, is this actually best practice that I should follow in my apps or not?

I'm also wondering whether this practice will hold up if my pages get more 
complicated (for example, a page with a list of Customers on the LHS and on the 
RHS allowing you to edit a selected that you have selected from the list)?

Thanks,

Lawrie

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

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


[jboss-user] [JBoss jBPM] - Task timer and TaskInstance.dueDate field

2007-02-20 Thread p4elka
Hello

JBPM allow to use timers with task instance, where timer has it's own due date 
not related to task due date. Timer's due date cannot be changed after timer is 
created (at least using API provided i.e SchedulerService or JobSession). 
Sometimes it is required to change due date for timer associated with task 
instance after task instance is created, and I haven't found standard way of 
doing this in JBPM. 

Here is how I think this could be implemented and I would be glad to get your 
opinion on this.
I believe that link between task instance due date and task timer due date is 
missing in current JBPM implementation. 
Task due date should be ignored when timer is associated with task, and task 
instance should be initialized with timer due date.
Upon change of task due date, we should look whether task has timer associated 
and if yes, timer instance should be found and updated with new due date value.
Another approach could be not to change dates in existing timers but cancel 
timer and create new one using existing timer declaration.

What do you think ?

Thanks a lot !


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

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


[jboss-user] [JBoss Seam] - Re: Is managing conversations in *.page.xml files good pract

2007-02-20 Thread petemuir
It's pretty new (since 1.1.5 or 1.1.6) (hence no examples) but I have to say I 
find it wonderful (I use a mix of .page.xml and pages.xml - and there should be 
/path/to//view/pages.xml soon for a medium-granularity approach).

I find it fits *really* well with putting navigation in pages.xml - its all in 
one place.  It certainly beats the propagation attribute on s:link (except for 
propagation=none) and means my backing beans are much cleaner and means that 
all the wiring is there.

Give it a go - the ref manual contains all you need to know IIRC.

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

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


  1   2   >