[jboss-user] [JBoss jBPM] - Re: how list all tasks?

2007-09-02 Thread kukeltje
what happens if you try an actor of '%' or '*' or likewise

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

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


[jboss-user] [JBoss jBPM] - Re: attach javascript to jpdl generated task form save butto

2007-09-02 Thread kukeltje
if it is jsp, you probably do not use the jsf tags. In that case it is like any 
other jsp page which includes javascript

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

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


[jboss-user] [JBossWS] - How to configure APache CXF with JBossws stack.

2007-09-02 Thread vashistvishal
Are their any notes or instructions somewhere, where i can find how to 
configurs Apache CXF with Jbowss 2.0.1 stack.

Anyone who has done this.

Vishal




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

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


[jboss-user] [JBoss jBPM] - Sender address rejected: need fully-qualified address

2007-09-02 Thread wadisnake
Hello, 

I am trying to run a simple app with email sending made like (node enter event) 
:

  |mail to=[EMAIL PROTECTED]
  | subjectHello/subject
  | text Test/text
  |/mail
  | 

but the problem is :

  | javax.mail.SendFailedException: Sending failed;
  |   nested exception is:
  | class javax.mail.MessagingException: 504 [EMAIL PROTECTED]: Sender 
address rejected: need fully-qualified address
  | 
  | 

Looks like i have to specify a sender address ? how can i do that ? 

Ps : I am using an external smtp server (my ISP's one) like :

  string name=jbpm.mail.smtp.host value=smtp.isp.com /

Thanks in advance, any help is much appreciated 

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

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


[jboss-user] [JBossWS] - Re: SSL Authorization

2007-09-02 Thread nathandennis
I have the same error. i was trying to connect a mailSession to a server 
running TLS on a self signed cert. not sure if i'm missing something. ive read 
the wiki associated with installing the keys a couple times. i tried specifying 
the truststore  and passing it a password in the run.conf. any other thoughts? 
did you ever get this resolved?

seam 121 jboss 405

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

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


[jboss-user] [JBossWS] - Re: SSL Authorization

2007-09-02 Thread nathandennis
nevermind that... i blame confusion on being up for three days straight trying 
to overcome the laws of chaos that have been attacking my brainchild. (because 
i can't blame myself :) i had mistakenly put keyStore in the java param 
instead of trustStore... 
bravo for a good tip even though i was not tedious enough to follow it.

20 hours ago coffee stopped having an affect on my alertness... it only makes 
me shake more.


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

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


[jboss-user] [Beginners Corner] - Thread issue in Application server.

2007-09-02 Thread shankha
I have one application talking with different hardware devices like reader to 
read RFID Tag Data or continuously update status of the RFID printers and print 
Tags.

This application runs on lots of THREAD.
And it is running as a seperate unit as a standalone Java program.

Now I want to deploy this unit in the application server.

Is it creating any thread related problem If I deploy the same application in 
side the application server ?



Please help me.







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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: How to use application owns log4.properties in JBoss 3.2

2007-09-02 Thread sirji
Have you tried http://wiki.jboss.org/wiki/Wiki.jsp?page=Log4jRepositorySelector 
?

It worked for us..

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

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


[jboss-user] [Beginners Corner] - Custom MBean

2007-09-02 Thread shankha
Can I write my own MBean and register it in the MBean server?

Basicallty I want to manage moniter control my application through MBean 

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

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


[jboss-user] [Beginners Corner] - jboss 4.0.5 to jboss 4.2.1 simple question

2007-09-02 Thread mjhn
Why has commons-httpclient.jar had org.apache.commons.httpclient.util.Base64 
removed.

There is jboss-common.jar org.jboss.util.Base64 seemingly offering the sameish 
api
 
The license.txt states the same version is used though its been modified.

It makes portability difficult. What should I be reading to find thiese sort of 
gotchas from version to version.

Regards

Martin

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

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


[jboss-user] [JBoss Seam] - @Create vs. @Factory

2007-09-02 Thread jiangliu
Hi gurus,

I have a question about @Create and @Factory, could anyone explain what exactly 
the difference between these two?

and also, when i want to initialize some stuff, there are actually 3 ways to do 
it:

* use @Create
* use @Factory
* edit pages.xml 

So could anyone tell me what the difference and which one is better based on 
the same scenario?

cheers

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

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


[jboss-user] [Beginners Corner] - Re: jboss 4.0.5 to jboss 4.2.1 simple question

2007-09-02 Thread mjhn

Ok I see its been deprecated. My mistake.

Regards

Martin

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

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


[jboss-user] [JBossWS] - Re: Strange - Entry Point not receive WS Message data

2007-09-02 Thread ronari2

  | env:Envelope xmlns:env=http://schemas.xmlsoap.org/soap/envelope/;
  | env:Header
  | env:ZHeader UID=3cbb22bd:1147cceacb0:-8000 UserName=[EMAIL 
PROTECTED]/
  | /env:Header
  | env:Body
  | ns1:message 
xmlns:ns1=http://model.login.ep.ws.asbl.zoomix.com/;
  | request operation=LOGIN2
  | data
  | password123456
  | /password
  | /data
  | /request
  | /ns1:message
  | /env:Body
  | /env:Envelope
  | 

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

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


[jboss-user] [JBoss Portal] - CacheManager

2007-09-02 Thread karthiks
Hello,
User Environment:
Application Server: jboss-4.2.1.GA
Database: PostgerSQL 8.2
Portal: jboss-portal-2.6.1.GA

This is regarding a warning message during startup:

anonymous wrote : 12:01:02,037 WARN  [CacheManager] Creating a new instance of 
CacheManager using the diskStorePath C:\DOCUME~1\test\LOCALS~1\Temp\/cms 
which is already used by an existing CacheManager.
  | The source of the configuration was URL of file:/C:/Program 
Files/Java/jboss-4.2.1.GA/server/default/deploy/jboss-portal.sar/portal-cms.sar/conf/hibernate/cms/ehcache.xml.
  | The diskStore path for this CacheManager will be set to 
C:\DOCUME~1\test\LOCALS~1\Temp\/cms\ehcache_auto_created_1188714662037.
  | To avoid this warning consider using the CacheManager factory methods to 
create a singleton CacheManager or specifying a separate ehcache configuration 
(ehcache.xml) for each CacheManager instance.

Everytime i restart my server, the past changes aren't reflected. This i 
believe may be because of the above mentioned warning message. (Kindly correct 
me if i'm wrong)

Is there a cache configuration that i must update so that the portal state is 
maintained across my server sessions. Your responses will be valuable. Much 
thanks in advance!

KS

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

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


[jboss-user] [JBoss Seam] - Re: please help me out of this problem

2007-09-02 Thread mnrz
I had this problem in another page and after binding that component it worked 
but here I have 6 text fields I don't want to bind all of them. 

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

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


[jboss-user] [JBoss jBPM] - Help me ! Help me!

2007-09-02 Thread dyw8021
org.jbpm.JbpmException: closed JbpmContext in different order then they were 
created... check your try-finally's around JbpmContexts blocks
at org.jbpm.JbpmConfiguration.popJbpmContext(JbpmConfiguration.java:525)
at 
org.jbpm.JbpmConfiguration.jbpmContextClosed(JbpmConfiguration.java:537)
at org.jbpm.JbpmContext.close(JbpmContext.java:144)
at org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:85)
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.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:595)

what's wrong?

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

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


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

2007-09-02 Thread martin.krajci
I dont't think the problem is in mail-service.xml. I have changed the values 
there many times. The problem is that seam somehow doesn't load the 
configuration from components.xml and set the host, port to default values that 
are in MailSession.java (localhost, null). 

Does enybody have idea why is this happening?

?xml version=1.0 encoding=UTF-8?
  | components xmlns=http://jboss.com/products/seam/components;
  | xmlns:core=http://jboss.com/products/seam/core;
  | xmlns:framework=http://jboss.com/products/seam/framework;
  | xmlns:mail=http://jboss.com/products/seam/mail;
  | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  | xsi:schemaLocation=
  | http://jboss.com/products/seam/core 
http://jboss.com/products/seam/core-1.2.xsd 
  |  http://jboss.com/products/seam/components 
http://jboss.com/products/seam/components-1.2.xsd
  |  http://jboss.com/products/seam/framework 
http://jboss.com/products/seam/framework-1.2.xsd
  |  http://jboss.com/products/seam/mail 
http://jboss.com/products/seam/mail-1.2.xsd;
  | 
  | core:init jndi-pattern=@jndiPattern@/
  | core:ejb installed=@embeddedEjb@/
  | core:dispatcher /
  | 
  | 
  | !--
  | mail:mail-session host=localhost port=2525 username=test 
password=test /
  | --
  | 
  | mail:mail-session session-jndi-name=java:/CechieMailService/
  |   
  | /components


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

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


[jboss-user] [JBoss Seam] - How to refresh datamodel in EntityQuery

2007-09-02 Thread karolkarol
A need to refresh datatable/datamodel from database. I want to do this from 
component that removes one of entity from the list.

I tried several ways:

1) reset to null datamodel  on injected EntityQuery (userList) component

  | 
  | public class EntityHE extends EntityHomeE {
  | 
  | @In(required = false)
  | @Out(required = false)
  | UserList userList;
  | ()
  | @Override
  | public String remove() {
  | 
  | super.remove();
  | 
  | if (userList!=null)
  | {
  | userList.entityDM = null;
  | }   
  | userList.refresh();
  | ()
  | 

2) remove userList component from all context to force recreation
- this method was suggested on that forum


  | Contexts.removeFromAllContexts(userList);
  | 

No one works - when redirecting to list page, deleted entity is still present.
All components are in one conversation scope becouse I really need to propagate 
faces messages.

Please help.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: IllegalStateException after idle

2007-09-02 Thread sirji
We are also seeing the same error message. We are using JBoss 4.0.5 (clustered 
with 3 nodes) and ours is Struts based web application with log4j-1.2.14.

This problem is not reproducible at will. So far, restart of JBoss instances 
helping us out.

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

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


[jboss-user] [JBoss Seam] - Re: What is the scope of JSF's UI component tree in Seam

2007-09-02 Thread amitev
Seam does not manage the ui component tree. The actual component tree scope is 
request. In the end of the request the tree state is serialized and kept in the 
session and the state is restored on postback.

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

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


[jboss-user] [JBoss Seam] - Re: End the existing and create new conversation

2007-09-02 Thread amitev
Thank you guys.

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - IllegalStateException: Current state = FLUSHED, new state =

2007-09-02 Thread sirji
Hi all,

We are seeing the following error message intermittently in our Jboss env. We 
are using JBoss 4.0.5 (clustered with 3 nodes) with JDK 1.5 and ours is Struts 
based web application with log4j-1.2.14.


  | 2007-09-02 05:22:21,924 ERROR [STDERR] java.lang.IllegalStateException: 
Current state = FLUSHED, new state = CODING_END
  | 2007-09-02 05:22:21,925 ERROR [STDERR]  at 
java.nio.charset.CharsetEncoder.throwIllegalStateException(CharsetEncoder.java:941)
  | 2007-09-02 05:22:21,925 ERROR [STDERR]  at 
java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:537)
  | 2007-09-02 05:22:21,925 ERROR [STDERR]  at 
sun.nio.cs.StreamEncoder$CharsetSE.flushLeftoverChar(StreamEncoder.java:358)
  | 2007-09-02 05:22:21,926 ERROR [STDERR]  at 
sun.nio.cs.StreamEncoder$CharsetSE.implClose(StreamEncoder.java:414)
  | 2007-09-02 05:22:21,926 ERROR [STDERR]  at 
sun.nio.cs.StreamEncoder.close(StreamEncoder.java:160)
  | 2007-09-02 05:22:21,926 ERROR [STDERR]  at 
java.io.OutputStreamWriter.close(OutputStreamWriter.java:222)
  | 2007-09-02 05:22:21,926 ERROR [STDERR]  at 
java.io.FilterWriter.close(FilterWriter.java:92)
  | 2007-09-02 05:22:21,926 ERROR [STDERR]  at 
org.apache.log4j.FileAppender.closeFile(FileAppender.java:171)
  | 2007-09-02 05:22:21,926 ERROR [STDERR]  at 
org.apache.log4j.FileAppender.reset(FileAppender.java:302)
  | 2007-09-02 05:22:21,926 ERROR [STDERR]  at 
org.apache.log4j.FileAppender.setFile(FileAppender.java:271)
  | 2007-09-02 05:22:21,926 ERROR [STDERR]  at 
org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:156)
  | 2007-09-02 05:22:21,926 ERROR [STDERR]  at 
org.apache.log4j.RollingFileAppender.rollOver(RollingFileAppender.java:145)
  | 2007-09-02 05:22:21,926 ERROR [STDERR]  at 
org.apache.log4j.RollingFileAppender.subAppend(RollingFileAppender.java:228)
  | 2007-09-02 05:22:21,926 ERROR [STDERR]  at 
org.apache.log4j.WriterAppender.append(WriterAppender.java:150)
  | 2007-09-02 05:22:21,926 ERROR [STDERR]  at 
org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:221)
  | 2007-09-02 05:22:21,926 ERROR [STDERR]  at 
org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:57)
  | 2007-09-02 05:22:21,926 ERROR [STDERR]  at 
org.apache.log4j.Category.callAppenders(Category.java:187)
  | 2007-09-02 05:22:21,927 ERROR [STDERR]  at 
org.apache.log4j.Category.forcedLog(Category.java:372)
  | 2007-09-02 05:22:21,927 ERROR [STDERR]  at 
org.apache.log4j.Category.log(Category.java:864)
  | 2007-09-02 05:22:21,927 ERROR [STDERR]  at 
com.abcd.xyz.common.Logger.info(Logger.java:225)


This problem is not reproducible at will. So far, restart of JBoss instances 
helping us out. It is very critical problem for us, as JBoss stops showing any 
successful request execution after this problem. And forcefully, we have to 
restart the Jboss environment. We did some googling but didn't find any 
antidote for it.

Any pointers on this will be very helpful.

Regards,

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: ERROR: relation

2007-09-02 Thread robhadfield
Hi, most probably your have an hsqldb-jdbc2-state-service.xml file lying around 
in or beneath your deploy/ directory (probably deploy/jms).  The SQL code it is 
failing on is the CREATE CACHED TABLE - so far as I know postgres does not 
support the CACHED keyword in this context.
In my server.log (you should have the same indicator to the smoking gun here) :

2007-09-02 10:51:11,622 DEBUG [org.jboss.mq.pm.jdbc2.PersistenceManager] Could 
not create table with SQL: CREATE CACHED TABLE JMS_MESSAGES ( MESSAGEID INTEGER 
NOT NULL, DESTINATION VARCHAR(255) NOT NULL, TXID INTEGER, TXOP CHAR(1), 
MESSAGEBLOB OBJECT, PRIMARY KEY (MESSAGEID, DESTINATION) )
  | org.postgresql.util.PSQLException: ERROR: syntax error at or near CACHED  
  at 
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1548)
  | ...snip
  | 

Don't ask me why this is different to the INFO log output which reports

10:51:11,634 WARN  [ServiceController] Problem starting service 
jboss.mq:service=PersistenceManager
org.jboss.mq.SpyJMSException: Could not resolve uncommited transactions.  
Message recovery may not be accurate; - nested throwable: 
(org.postgresql.util.PSQLException: ERROR: syntax error at or near TXID)

Kind regards,
ROb

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

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


[jboss-user] [JBoss Seam] - Re: faces messages

2007-09-02 Thread damianharvey
look at opening the modal using the oncomplete event on the a:commandButton (or 
link).

Cheers,

Damian.

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

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


[jboss-user] [JBoss Seam] - exception while instantiate Seam component

2007-09-02 Thread Timofey
Hello. When i deploy my easy seam application on jboss AS i got the next 
exception.


  | org.jboss.seam.InstantiationException: Could not instantiate Seam 
component: authenticator
  | at org.jboss.seam.Component.newInstance(Component.java:1708)
  | at org.jboss.seam.Component.getInstance(Component.java:1611)
  | at org.jboss.seam.Component.getInstance(Component.java:1578)
  | at org.jboss.seam.Component.getInstance(Component.java:1572)
  | at org.jboss.seam.jsf.SeamELResolver.getValue(SeamELResolver.java:49)
  | at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
  | at 
com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
  | at org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:45)
  | at org.apache.el.parser.AstValue.getTarget(AstValue.java:42)
  | at org.apache.el.parser.AstValue.invoke(AstValue.java:127)
  | at 
org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
  | at 
com.sun.faces.application.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)
  | at 
org.jboss.seam.actionparam.ActionParamBindingHelper.invokeTheExpression(ActionParamBindingHelper.java:58)
  | at 
org.jboss.seam.actionparam.ActionParamMethodBinding.invoke(ActionParamMethodBinding.java:75)
  | at org.jboss.seam.core.Expressions$2.invoke(Expressions.java:106)
  | at 
org.jboss.seam.security.jaas.SeamLoginModule.login(SeamLoginModule.java:104)
  | 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 javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
  | at 
javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
  | at javax.security.auth.login.LoginContext$5.run(LoginContext.java:706)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at 
javax.security.auth.login.LoginContext.invokeCreatorPriv(LoginContext.java:703)
  | at javax.security.auth.login.LoginContext.login(LoginContext.java:575)
  | at org.jboss.seam.security.Identity.authenticate(Identity.java:249)
  | at org.jboss.seam.security.Identity.authenticate(Identity.java:242)
  | at org.jboss.seam.security.Identity.login(Identity.java:172)
  | 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.apache.el.parser.AstValue.invoke(AstValue.java:131)
  | at 
org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
  | at 
com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
  | at 
javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)
  | at 
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
  | at javax.faces.component.UICommand.broadcast(UICommand.java:383)
  | at 
org.ajax4jsf.framework.ajax.AjaxViewRoot.processEvents(AjaxViewRoot.java:274)
  | at 
org.ajax4jsf.framework.ajax.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:250)
  | at 
org.ajax4jsf.framework.ajax.AjaxViewRoot.processApplication(AjaxViewRoot.java:405)
  | at 
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
  | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
  | at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
  | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  |   

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Problem forcing database failover

2007-09-02 Thread NKK
Hi,

I need to force database failover under some circumstances even if currently 
active database is available.

So I have implemented ValidConnectionChecker interface which checks for those 
circumstances and throws specific SQLException.

I have also implemented ExceptionSorter so that it considers that specific 
SQLException to be fatal.

However ExceptionSorter's isExceptionFatal is not called if exception was 
returned by ValidConnectionChecker's isValidConnection method (hence the 
connection is destroyed and new one is created against the same database).

Is that correct behaviour? If yes, is there any way to force failover even if  
pinging connection succeeds?

TYA
Nicholoz Kiknadze 

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

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


[jboss-user] [JBoss Seam] - JSF or Seam Question?

2007-09-02 Thread [EMAIL PROTECTED]
I want to say which button is automatically pressed when the Joe hits enter.
Is this possible?

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

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


[jboss-user] [JBoss Seam] - @DataModelSelectionIndex always returns 0

2007-09-02 Thread gothmog
Hi,

I have the following class:

  | @Scope(ScopeType.APPLICATION)
  | public class EXAccessPoint {
  | ...
  | @DataModel
  | private ListEntryExit currentAlerts;
  | @DataModelSelectionIndex
  | private int alertIndex;
  | ...
  | public void actionAlert() {
  | log.info(actionAlert():alertIndex= + alertIndex);
  | alerts.remove(alertIndex);
  | calculateAlerts();
  | }
  | 
  | 

and  no matter what element I click in the rendered grid, the alertIndex is 
always 0 so it always removes the first item? What am I doing wrong?

Here is is rendered (portion) of the page

 
  | h:dataTable value=#{entryGate.currentAlerts} var=alert
  | h:column
  | f:facet name=headerAlert/f:facet
  | h:commandLink 
action=#{entryGate.actionAlert}#{alert.message}/h:commandLink
  | /h:column
  | /h:dataTable
  | 

Thanks

Troy

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

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


[jboss-user] [JBossWS] - Re: Strange - Entry Point not receive WS Message data

2007-09-02 Thread tokrishnakumar
Try to pass the request params as arg0,arg1.I was having the same problem 
of getting null in my request params,until i passed it as arg0,arg1..

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: ERROR: relation

2007-09-02 Thread Tarch82
Hi,
thanks for the reply! Due to the time that have been passed I haven't anymore 
the necessity of this but maybe it can be helpful for someone else!

Bye! ^^

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

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


[jboss-user] [JBoss Seam] - Re: Authenticator problem in Seam 2 beta

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

I downloaded jboss-seam-CVS.2007-08-31_14-04-54, generated template project and 
then changed new libraries with my old libraries (among others: 
drools-core-4.0.0.MR2.jar, drools-compiler-4.0.0.MR2.jar on 
drools-core-4.0.0.jar, drools-compiler-4.0.0.jar). I've also found that in new 
generated application.xml there is no more drools dependencies :) Finally all 
these changes made my Authenticator work. Thank You all for help. 

jquery

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

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


[jboss-user] [EJB/JBoss] - How to share a blob object in session beans

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

I'm wondering how to make a blob object (3-10M) shared in some session beans. 

The requirement is that, that object should be created only once, at the first 
request (retrieve from somewhere, expensive in terms of connectivity).

Thus one thing come in mind is to declare it as static, but this doesn't sound 
right.

So, question will be:

1. what is the way to hold this object?
2. how to prevent multi access but not slow down respond?

Thanks

John

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

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


[jboss-user] [JBoss Seam] - Re: What is the scope of JSF's UI component tree in Seam

2007-09-02 Thread [EMAIL PROTECTED]
The UIViewRoot (root of the tree) is saved to the session (with a marker on the 
page) or serialized to the page depending on whether the state saving is server 
or client.  Seam has no effect on this.

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

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


[jboss-user] [JBoss Seam] - Re: @DataModelSelectionIndex always returns 0

2007-09-02 Thread [EMAIL PROTECTED]
Try h:dataTable value=#{currentAlerts} var=alert

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

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


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

2007-09-02 Thread [EMAIL PROTECTED]
Post the whole stacktrace and output of JavaMail debug.  Does this work if you 
specify the STMP details in components.xml rather than using the MailService?

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

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


[jboss-user] [JBoss jBPM] - Re: First Thought about BAM

2007-09-02 Thread camunda
Hi guys. Is there any new progress in this field?

Because we start with a master thesis now which also needs some BAM/Reporting 
capabilities 
(http://www.camunda.com/business_process_simulation/introduction.html), so 
maybe it would be a good idea to go in the same direction...

Bernd.

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

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


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

2007-09-02 Thread martin.krajci
Hi Pete,

Thanx for helping me out. The whole stack trace is below. I'm getting the same 
exception in both cases:

mail:mail-session session-jndi-name=java:/CechieMailService 
debug=true/
  | 
  | mail:mail-session host=localhost port=2525 username=test 
password=test /


18:03:50,425 INFO  [MailSession] Creating JavaMail Session (localhost:null)
18:03:50,445 INFO  [MailSession] connected to mail server
18:03:53,049 ERROR [ReservationComponent] Error sending mail
javax.faces.FacesException: Exception reading response
at org.jboss.seam.mail.ui.UIMessage.encodeEnd(UIMessage.java:142)
at org.jboss.seam.ui.JSF.renderChild(JSF.java:180)
at org.jboss.seam.ui.JSF.renderChildren(JSF.java:162)
at org.jboss.seam.ui.facelet.FaceletsRenderer.renderFacelet(FaceletsRend
erer.java:150)
at org.jboss.seam.ui.facelet.FaceletsRenderer.render(FaceletsRenderer.ja
va:112)
at cz.krajci.cechie.business.logic.ReservationComponent.finishBooking(Re
servationComponent.java:164)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
java:112)
at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationCo
ntextImpl.java:166)
at org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationCo
ntext.java:37)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocation
Context.java:57)
at org.jboss.seam.interceptors.BijectionInterceptor.aroundInvoke(Bijecti
onInterceptor.java:47)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocation
Context.java:69)
at org.jboss.seam.interceptors.ManagedEntityIdentityInterceptor.aroundIn
voke(ManagedEntityIdentityInterceptor.java:37)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocation
Context.java:69)
at org.jboss.seam.interceptors.ConversationInterceptor.aroundInvoke(Conv
ersationInterceptor.java:54)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocation
Context.java:69)
at org.jboss.seam.interceptors.MethodContextInterceptor.aroundInvoke(Met
hodContextInterceptor.java:27)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocation
Context.java:69)
at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:
103)
at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionB
eanInterceptor.java:53)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationCo
ntextImpl.java:118)
at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3Int
erceptorsInterceptor.java:63)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
java:101)
at org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationIntercepto
r.invoke(ExtendedPersistenceContextPropagationInterceptor.java:71)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
java:101)
at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invok
e(TransactionScopedEntityManagerInterceptor.java:54)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
java:101)
at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsI
nterceptor.java:47)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
java:101)
at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java
:195)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
java:101)
at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInt
erceptor.java:76)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
java:101)
at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulIn
stanceInterceptor.java:83)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
java:101)
at org.jboss.aspects.security.AuthenticationInterceptor.invoke(Authentic
ationInterceptor.java:77)
at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3Auth
enticationInterceptor.java:106)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.

[jboss-user] [JBoss Seam] - Re: Problem with selectItems

2007-09-02 Thread martin.krajci
I had the same problem and the solution was very simple. On the bean where 
@Factory annotation is used the @Name must be specified. This way seam 
initializes the factory and doesn't return null.

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

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


[jboss-user] [JBoss Seam] - Conversation Ended - timeout

2007-09-02 Thread mrohad
I've a datatable
onmouseover(using a4j:support) I'm rendering a panel with a lot of details

when I'm moving fast on the table I get an exception screen The conversation 
ended, timed out or was processing another request 

how can I prevent this case from happening?

I tried to use eventQueue=test and ignoreDupResponses=true with no sucess...


thank u thank u thank u! 

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

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


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

2007-09-02 Thread [EMAIL PROTECTED]
Use the settings you have for CechieMailService in components.xml

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

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


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

2007-09-02 Thread martin.krajci
I have of cource done that with many different values. Notning helped. I think 
I will give up on Seam email support and integrate Seam with Spring and send 
the mail with Spring bean. 

If you have any more ideas please let me know I will try all of them.

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

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


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

2007-09-02 Thread [EMAIL PROTECTED]
This in components.xml

 mail:mail-session host=smtp.gmail.com port=465 username= 
password= ssl=true /

works for me with Seam 1.2.1.GA and gmail.  Try this, and post the exact, full 
exception that you get.

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

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


[jboss-user] [JBoss Seam] - Re: JSF or Seam Question?

2007-09-02 Thread matt.drees
I haven't used this, but it claims to do what you're asking:

http://www.jsftutorials.net/defaultActionTag.html


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

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


[jboss-user] [JBoss Seam] - Scheduled tasks

2007-09-02 Thread pdhaigh
Hi,

Is there an accepted best practice for created scheduled/recurring tasks in a 
Seam application?

I want to schedule a daily recurring task when the application is deployed. 
This task will perform a basic query and email the results out.

There is the @Asynchronous annotation I know, but I can't see how to get this 
kicked off without actually going and visiting a webpage and clicking a button 
- i'd like it to be fully automated...

cheers

phil

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

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


[jboss-user] [JBoss Seam] - Re: JSF or Seam Question?

2007-09-02 Thread [EMAIL PROTECTED]
That looks good.

Could be a candidate for seam JSF enhancement?

It appears like JSF goes hunting for the closest submit button it could find 
when you hit enter in a text field (including captcha .. which is the problem 
in my case).

I have users moaning the captcha doesn't work as they keep hitting enter after 
entering the text and it finds a cancel (it's hard enough to guess the letters 
anyhow without this!)

The workaround I found is to make the submit button for the page the closest 
button but this feels like a bit of a hack!


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

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


[jboss-user] [JBoss Seam] - Re: JSF or Seam Question?

2007-09-02 Thread [EMAIL PROTECTED]
If someone creates a feature request in JIRA we can add this type of control to 
Seam UI.

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

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


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

2007-09-02 Thread [EMAIL PROTECTED]
Have you checked you have no firewall blocking connections?

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

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


[jboss-user] [JBoss Seam] - Re: Scheduled tasks

2007-09-02 Thread [EMAIL PROTECTED]
Use @Observer(org.jboss.seam.postInitialization) to start the task.

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

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


[jboss-user] [JBoss jBPM] - Re: Dynamic due date in timer

2007-09-02 Thread JesperB
So there is no way to alter the timer through the existing interfaces in 3.2.x?

When executing the 'node' action, is it OK if the ExecutionContext contains the 
timer that exist in the node?

is this a JIRA Bugg/RFE?

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

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


[jboss-user] [JBoss Seam] - Re: please help me out of this problem

2007-09-02 Thread fernando_jmt
I would use a @Factory.


Java:

  | 
  | @Stateful
  | @Name(userRegister)
  | @Scope(ScopeType.SESSION)
  | public class UserRegisterAction implements UserRegister  {
  | 
  |  private Log logger = LogFactory.getLog(UserRegisterAction.class);
  | 
  | private User user;
  | private String selectedUsername = 0;
  | 
  | 
  | 
  | @Factory(value = user, scope = ScopeType.STATELESS)
  | public User initUser() {
  | if(selectedUsername.equals(0)){
  | logger.debug(new user);
  | user = new User();
  | }else{
  | logger.debug(edit:+ selectedUsername);
  | user = userDao.load(selectedUsername);
  | logger.debug(test:+ user.getUsername());
  | }
  | return user;
  | }
  | 
  | public void userListValueChanged(ValueChangeEvent event) {
  | 
  | try {
  | selectedUsername = (String) event.getNewValue();
  | 
  | } catch (Exception e) {
  | e.printStackTrace();
  | }
  | }
  | 
  | }
  | 
  | 


Facelet:


  | h:panelGroup id=exportUser
  | h:outputLabel id=Username
  | h:inputText value=#{user.username}/
  | 
  | h:outputLabel id=Whatever
  | h:inputText value=#{user.whateverProperty}/
  | 
  | h:outputLabel id=userL value=#{bundle['userDefination.group']} 
for=groupMenu /
  | t:selectOneMenu id=userMenu required=false 
value=#{userRegister.selectedUsername}
  | valueChangeListener=#{userRegister.userListValueChanged} 
onchange=submit(this) 
  | f:selectItem itemLabel=New User ... itemValue=0 /
  | f:selectItems id=userList value=#{userRegister.allUsers} /
  | /t:selectOneMenu
  | /h:panelGroup
  | 

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

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


[jboss-user] [JBoss Seam] - Re: JSF or Seam Question?

2007-09-02 Thread fernando_jmt
I will be great to have this in Seam UI. Thanks.

JIRA issue added: http://jira.jboss.com/jira/browse/JBSEAM-1893

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

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


[jboss-user] [JBoss jBPM] - Re: Dynamic due date in timer

2007-09-02 Thread kukeltje
anonymous wrote : So there is no way to alter the timer through the existing 
interfaces in 3.2.x?  No, may just not at the time you want to modify it.

anonymous wrote : When executing the 'node' action, is it OK if the 
ExecutionContext contains the timer that exist in the node? 

I have no ide, just give it a try and see if it works


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

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