[jboss-user] [Messaging, JMS JBossMQ] - Re: UIL2 ReadTask / WriteTask thread leak on 4.0.5 GA

2008-02-15 Thread gogoasa
I was wrong, the ReadTask/WriteTask pairs still accumulate, my JConsole was not 
refreshing the thread list which lead me to think the problem was over.



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

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


[jboss-user] [JBoss Seam] - Re: Bypassing validations when using EntityQuery with exampl

2008-02-15 Thread boevink
Strange because I am using the display template

I'm using the templates and views as generated by seam-gen and can't get it 
working

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

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


[jboss-user] [JBoss Seam] - Re: PDF table doesn't show in RTF format

2008-02-15 Thread terryb
Alexander yes please attach it, would be useful to see how you do it.

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

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


[jboss-user] [JBoss Seam] - Browser refresh executes last action performed by form submi

2008-02-15 Thread terryb
I got JSF form with some buttons which submit form. buttons are attached to 
different action methods. when form is submitted via one of these buttons, same 
page is redisplaed with jsf message (eg action performed...).

if now I refresh browser window, it automatically executes same action method 
even though button is not clicked.

I think this problem only occurs if same page is redisplayed after action is 
completed; not if going to different page in response to action.

is there any easy way to stop it executing last action on browers refreshs?



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

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


[jboss-user] [JBoss Getting Started Documentation] - Re: JBoss Portal giving error on startup

2008-02-15 Thread george_portal
Thanks Peter.

I set the JAVA_HOME variable to my j2sdk folder.  Now dll issue seems to be 
resolved.  But I'm getting a new problem while trying to run the server:

java.lang.UnsupportedClassVersionError: javax/management/NotificationEmitter (Un
supported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)

Could anyone please help me to resolve this.

Thanks
George



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

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


[jboss-user] [Security JAAS/JBoss] - Re: passing password to LDAP server

2008-02-15 Thread rammy1984
even iam using LDAP for authentication from JBoss portal so do anyone know how 
to get the username and password from the LDAP .. i have a OPen DS running 
in my comp where i have added some user there. 

so plz anyone help me in this context 

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

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


[jboss-user] [Remoting] - Re: JBREM-877: New Socket Connection is being Created for Ev

2008-02-15 Thread DarrenGJones
Hi Ron,

I've patched our application by simply commenting out the client.disconnect(). 
It seems to be safe for our particular application because there is no 
connectionValidator and no leasePinger involved - so the tidy up in 
client.disconnect() are essentially no-ops. And not disconnect()'ing leaves the 
invoker in the registry for the next time client.connect() is called.

I'm not suggesting this is a solid fix but it seems to work in our case. It may 
be useful to others until an official patch is available.

Thanks,

Darren.

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

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


[jboss-user] [JBoss Seam] - Re: PDF table doesn't show in RTF format

2008-02-15 Thread brachie
done :)

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

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


[jboss-user] [JBoss Seam] - Re: how to leave a long running conversation and start a new

2008-02-15 Thread c_inconnu
Thanks for the input. It is what i was looking for.

However, it is strange that there is no direct support for this... I was 
wondering if using one big top level conversation then nested conversations 
couldn't do the job (i am a noob, remember :) ?

In fact, my problem is to manage workspace a la eclipse 
(http://jboss.com/index.html?module=bbop=viewtopict=130054).
If someone from the Seam team may answer to that question, it will be a real 
help!

Thanks anyway

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

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


[jboss-user] [JBoss jBPM] - An association from the table JBPM_NODE refers to an unmappe

2008-02-15 Thread seanmcelroy
I am trying to create my own admin console using Tomcat and SQLServer. I have 
create the SQLServer database ok and I have configured hibernate to point to 
it, however when I delpoy my application I get this error: 

An association from the table JBPM_NODE refers to an unmapped class: 
org.jbpm.graph.action.Script

Can anyone tell me why this happening?

Thanks.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Programatic creation of jboss server instances

2008-02-15 Thread vijaykrishnan
Hi ,
   Is it possible to create jboss server instances using MBean. Its 
possible in webspher or weblogic.why its not exposed here?
If so can u provide me some samples..I am struck here.


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

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


[jboss-user] [JCA/JBoss] - Programatic creation of jboss data sources

2008-02-15 Thread vijaykrishnan
Hi,
   Can u plz let me know if there are any Mbean or programatic creation of 
datasources.. 


plz guide me

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

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


[jboss-user] [JBoss jBPM] - Re: An association from the table JBPM_NODE refers to an unm

2008-02-15 Thread [EMAIL PROTECTED]
Hi,

please look into hibernate.cfg.xml. I is possible that Script class is 
commented, so just uncomment it and it should be working.

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

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


[jboss-user] [JBoss Messaging] - Re: JBoss Messaging RA configuration

2008-02-15 Thread kdeboer
Thanks for the link. I was aware of this wiki page.
But there is something unclear to me:
If you have a handle to a remote connectionFactory, how can you get a handle to 
a queue running in a remote server. Is this automatically done in the correct 
JNDI namespace (the remote server one) or are other tricks needed. That is why 
i thought about some admin object referencing a remote queue.

The inspiration (or confusement) comes from the way JBoss integrates with 
ActiveMQ.
Her is a sample of a connection factory and an admin object for the remote 
queue:




anonymous wrote : ?xml version=1.0 encoding=UTF-8?
  | connection-factories
  |tx-connection-factory
  |   jndi-nameactivemq/QueueConnectionFactory/jndi-name
  |   xa-transaction/
  |   track-connection-by-tx/
  |   rar-nameactivemq-rar-5.1.0.rar/rar-name
  |   
connection-definitionjavax.jms.QueueConnectionFactory/connection-definition
  |   tcp://messagebroker1:61616
  |   !--
  |   sa
  |   
  |   --
  |   min-pool-size1/min-pool-size
  |   max-pool-size200/max-pool-size
  |   blocking-timeout-millis3/blocking-timeout-millis
  |   idle-timeout-minutes3/idle-timeout-minutes
  |/tx-connection-factory
  |tx-connection-factory
  |   jndi-nameactivemq/TopicConnectionFactory/jndi-name
  |   xa-transaction/
  |   track-connection-by-tx/
  |   rar-nameactivemq-rar-5.1.0.rar/rar-name
  |   
connection-definitionjavax.jms.TopicConnectionFactory/connection-definition
  |   tcp://messagebroker1:61616
  |   !--
  |   sa
  |   
  |   --
  |   min-pool-size1/min-pool-size
  |   max-pool-size200/max-pool-size
  |   blocking-timeout-millis3/blocking-timeout-millis
  |   idle-timeout-minutes3/idle-timeout-minutes
  |/tx-connection-factory
  |
  |   queue/receiver
  |   depends 
optional-attribute-name=RARNamejboss.jca:service=RARDeployment,name='activemq-rar-5.1.0.rar'
  | 
  |   javax.jms.Queue
  |   PhysicalName=queue.receiver
  |
  | /connection-factories
  | 
  | 
  | 

BTW After doing several tests with ActiveMQ and JBoss Messaging (with 
clustering and persistency) i chose for Jboss Messaging. 

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

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


[jboss-user] [JBoss Portal] - Re: redeploying

2008-02-15 Thread haleboppp

im sorry, i forgot to describe the environment. 
i have got jboss-portal-2.6.3.GA binary bundle installed, in windows xp sp2 
(but i thing the problem above exposed appears in unix too) and the custom 
database is postgresql 8.1 (postgresql-8.1-411.jdbc3 jdbc driver)

zanx in advance



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

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


[jboss-user] [JBoss jBPM] - Re: different workflows avec la meme definition de processus

2008-02-15 Thread RomeuFigueira
Bonjou bud.

Vous aves une mieux probalité de response si vous ecris (ecrite?) en anglais 
par ici.

Je pense que je poux vous aide en cette question.

On a utilisé JBPM per faire ce que vou describé, une aplication seulement 
automatique avec la utilization de SOA.

I'll est possible de utilizer multipule sistems que travaille sur un determine 
workflow.

Moi aussi utilisé 4 systems distributé sur plus de 20 workflows. La meieur 
chose est que je peux faire la constrution de le code java come blocs 
independent, et reorganize cette blocs de code pendant le type de workflow.

Je pense que cette information es vous util. Pardon per mes errors de 
français, cest plus de 10 ans que je ne ecrit en vottre language.

Salut


FOR THE ENGLISH Folks.

I've tryied to reply to Bob's question, regarding if JBPM could be used to link 
several different applications using the same variation of workflow or event 
several different workflows based on basic blocks.

Somewhat similar to the aproch I had when I had to build my first jbpm systems.

Best regards,

Romeu

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

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Strange problem with SocketManager in my server

2008-02-15 Thread gogoasa
Have you found an answer ?

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

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


[jboss-user] [JBoss jBPM] - Re: An association from the table JBPM_NODE refers to an unm

2008-02-15 Thread kukeltje
this indeed has been the case in older jBPM versions... what version are you 
using?

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

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


[jboss-user] [JBoss jBPM] - Re: Deploying jBPM app as war

2008-02-15 Thread kukeltje
you don't 'put' them anywhere, you use anttasks or the console or the GPD to 
deploy the processes which have to be in the form of a processarchive. Please 
read the docs and search the forum

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

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


[jboss-user] [JBoss jBPM] - Re: An association from the table JBPM_NODE refers to an unm

2008-02-15 Thread seanmcelroy
I am using jbpm-jpdl-3.2.2 and Script.hbm.xml is not commented out. 

I get the error when I execute this code:


  | JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance();
  | JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
  | return jbpmContext.getGraphSession().findLatestProcessDefinitions();
  | 
  | 


As an aside, I am trying to develop my own web based admin console. Can you 
recommend a good approach?

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

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


[jboss-user] [JBoss Getting Started Documentation] - Re: Regarding Cluster configuration in jboss4.0.3sp1

2008-02-15 Thread ReKie
Hi Suresh,

start reading this:

http://docs.jboss.org/jbossas/jboss4guide/r4/html/cluster.chapt.html

We use JBoss AS 4.2.1.GA and there clustering works fine and allmost out of the 
box.

Have fun

Reinhard

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

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


[jboss-user] [Management, JMX/JBoss] - Jboss/JMX

2008-02-15 Thread Vinith
Hi, Is there any possibility to create multiple Jboss-server instances through 
MBean??

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

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


[jboss-user] [Management, JMX/JBoss] - Jboss/JMX

2008-02-15 Thread Vinith
Hi, Is there any possibility to create multiple Jboss-server instances through 
MBean??

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

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


[jboss-user] [Beginners Corner] - Could not enlist in transaction on entering meta-aware objec

2008-02-15 Thread bowlere
Hi

I am having a little trouble, and would appreciate any assistance.  I have a  
timer bean calling stateless session bean.  Both of them are annotated with 


  | @TransactionAttribute(TransactionAttributeType.REQUIRED)
  | 

When the timer calls the session bean, I get this in the logs (the stdout stuff 
is some sql from the session bean) - it's quite long, so I'll post the 
important bits first, and post the whole thing below - I'm clearly doing 
something wrong, but I'm a bit new to this EJB stuff, so please forgive my 
ignorance.  Any help is much appreciated.

Many thanks,
Ed


  | 2008-02-15 09:51:45,011 WARN  [JDBCExceptionReporter] SQL Error: 0, 
SQLState: null
  | 2008-02-15 09:51:45,011 ERROR [JDBCExceptionReporter] Could not enlist in 
transaction on entering meta-aware object!; - nested throwable: 
(javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist 
resource, see the previous warnings. tx=TransactionImple  ac, BasicAction: 
7f000101:d7b4:47b55ac3:781 status: ActionStatus.ABORT_ONLY ); - nested 
throwable: (org.jboss.resource.JBossResourceException: Could not enlist in 
transaction on entering meta-aware object!; - nested throwable: 
(javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist 
resource, see the previous warnings. tx=TransactionImple  ac, BasicAction: 
7f000101:d7b4:47b55ac3:781 status: ActionStatus.ABORT_ONLY ))
  | 2008-02-15 09:51:45,012 INFO  [STDOUT] SELECT f.* FROM Flight f  INNER JOIN 
Airport ap ON ap.id = f.destinationAirportId WHERE  f.icaoCarrierCode = 
:icaoCarrierCode OR f.icaoFlightCode = :flightIcaoCode OR ap.icaoId = 
:destinationAirportIcao ORDER BY f.icaoCarrierCode = :icaoCarrierCode,  
f.icaoFlightCode = :flightIcaoCode,  ap.icaoId = :destinationAirportIcao, 1
  | 2008-02-15 09:51:45,019 ERROR [STDERR] 
javax.persistence.PersistenceException: 
org.hibernate.exception.GenericJDBCException: Cannot open connection
  | 2008-02-15 09:51:45,020 ERROR [STDERR]  at 
org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:629)
  | 2008-02-15 09:51:45,020 ERROR [STDERR]  at 
org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:73)
  | 2008-02-15 09:51:45,020 ERROR [STDERR]  at 
net.rockshore.cdm.service.FlightServiceImpl.findFlight(FlightServiceImpl.java:251)
  | 
  | ... snip ...
  | 
  | 2008-02-15 09:51:45,027 ERROR [STDERR] Caused by: 
org.jboss.util.NestedSQLException: Could not enlist in transaction on entering 
meta-aware object!; - nested throwable: (javax.transaction.SystemException: 
java.lang.Throwable: Unabled to enlist resource, see the previous warnings. 
tx=TransactionImple  ac, BasicAction: 7f000101:d7b4:47b55ac3:781 status: 
ActionStatus.ABORT_ONLY ); - nested throwable: 
(org.jboss.resource.JBossResourceException: Could not enlist in transaction on 
entering meta-aware object!; - nested throwable: 
(javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist 
resource, see the previous warnings. tx=TransactionImple  ac, BasicAction: 
7f000101:d7b4:47b55ac3:781 status: ActionStatus.ABORT_ONLY ))
  | 
  | ... snip ...
  | 
  | 2008-02-15 09:51:45,027 ERROR [STDERR] Caused by: 
org.jboss.resource.JBossResourceException: Could not enlist in transaction on 
entering meta-aware object!; - nested throwable: 
(javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist 
resource, see the previous warnings. tx=TransactionImple  ac, BasicAction: 
7f000101:d7b4:47b55ac3:781 status: ActionStatus.ABORT_ONLY )
  | 
  | ... snip ...
  | 
  | 2008-02-15 09:51:45,032 WARN  [JDBCExceptionReporter] SQL Error: 0, 
SQLState: null
  | 2008-02-15 09:51:45,032 ERROR [JDBCExceptionReporter] Transaction is not 
active: tx=TransactionImple  ac, BasicAction: 7f000101:d7b4:47b55ac3:781 
status: ActionStatus.ABORT_ONLY ; - nested throwable: 
(javax.resource.ResourceException: Transaction is not active: 
tx=TransactionImple  ac, BasicAction: 7f000101:d7b4:47b55ac3:781 status: 
ActionStatus.ABORT_ONLY )
  | 2008-02-15 09:51:45,032 INFO  [DefaultLoadEventListener] Error performing 
load command
  | org.hibernate.exception.GenericJDBCException: Cannot open connection
  | at 
org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
  | 
  | ... snip ...
  | 
  | Caused by: org.jboss.util.NestedSQLException: Transaction is not active: 
tx=TransactionImple  ac, BasicAction: 7f000101:d7b4:47b55ac3:781 status: 
ActionStatus.ABORT_ONLY ; - nested throwable: 
(javax.resource.ResourceException: Transaction is not active: 
tx=TransactionImple  ac, BasicAction: 7f000101:d7b4:47b55ac3:781 status: 
ActionStatus.ABORT_ONLY )
  | 
  | ... snip ...
  | 
  | Caused by: javax.resource.ResourceException: Transaction is not active: 
tx=TransactionImple  ac, BasicAction: 7f000101:d7b4:47b55ac3:781 status: 
ActionStatus.ABORT_ONLY 
  | 
  | ... snip ...
  | 
  | 2008-02-15 09:51:45,063 ERROR [TimerImpl] Error invoking ejbTimeout: 

[jboss-user] [Messaging, JMS JBossMQ] - Re: UIL2 ReadTask / WriteTask thread leak on 4.0.5 GA

2008-02-15 Thread gogoasa
Ok, so here is how I solved the problem.

It is due effectively to the fact that a connection is not closed. I thought I 
knew all the points in the application that interacted with JMS, I checked and 
double checked them, still there was a place that did its own JMS sending 
without closing connections (and using the non XA /ConnectionFactory).

What allowed me to realize where the problem was is that by enabling TRACE on 
org.jboss.mq, every time a message is sent you have a stacktrace of where that 
call is coming from. So in my case here PublisherToJmsTopic was the class I had 
completely forgotten about.


  | 2008-02-15 11:20:51,498 TRACE [JMS SessionPool 
Worker-1-org.jboss.mq.il.uil2.SocketManager] start called
  | java.lang.Exception: Start stack trace
  | at org.jboss.mq.il.uil2.SocketManager.start(SocketManager.java:112)
  | at 
org.jboss.mq.il.uil2.UILServerIL.createConnection(UILServerIL.java:523)
  | at org.jboss.mq.il.uil2.UILServerIL.getSocketMgr(UILServerIL.java:390)
  | at org.jboss.mq.il.uil2.UILServerIL.authenticate(UILServerIL.java:277)
  | at org.jboss.mq.Connection.authenticate(Connection.java:1067)
  | at org.jboss.mq.Connection.init(Connection.java:252)
  | at org.jboss.mq.Connection.init(Connection.java:323)
  | at org.jboss.mq.SpyConnection.init(SpyConnection.java:116)
  | at 
org.jboss.mq.SpyConnectionFactory.internalCreateConnection(SpyConnectionFactory.java:137)
  | at 
org.jboss.mq.SpyConnectionFactory.createTopicConnection(SpyConnectionFactory.java:118)
  | at 
fr.bnf.entrychain.internalservice.impl.PublisherToJmsTopic.publishEvent(PublisherToJmsTopic.java:31)
  | at 
fr.bnf.entrychain.internalservice.impl.InternalOrchestrationServiceImpl.publishEvent(InternalOrchestrationServiceImpl.java:59)
  | at 
fr.bnf.entrychain.internalservice.impl.InternalOrchestrationServiceBean.publishEvent(InternalOrchestrationServiceBean.java:40)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 

The JDBC pool in JBoss has a nice feature that closes unclosed connections 
showing the stracktrace of the point that opened the connection. Not that 
developers should use that as connection closing mechanism but it is helpful 
for debugging.

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

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


[jboss-user] [JBoss Portal] - Re: Window property : window-state maximize

2008-02-15 Thread snon
Hi I tried to use the following tag:

supported-window-statesmaximized/supported-window-states

since it was used for IFramePortletInstance but it doesn't seems to work on 
portletbridgeportlet.

Does anyone has any clue about this ?

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

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


[jboss-user] [Security JAAS/JBoss] - How does the Authorization delegate access the sharedState?

2008-02-15 Thread barramundi
With JBoss 5.x authorization module is now available.
However, how does the authorization delegate access the sharedState which is 
located at the Authorization module?

For example, how can the authorization delegate get back the variables set by 
the authentication module like below :

sharedState.put(javax.security.auth.login.name, username);
sharedState.put(javax.security.auth.login.password, password);

(sharedState is a java.util.Map object in the login module and az module)

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Error during deployment in Jboss 4.2.1.GA

2008-02-15 Thread pushpendra_raval
Hi,
We are using linux OS with JBoss4.2.1GA, mysql4.0, jdk1.6.0_3 and we are 
getting following error:

13:54:13,145 INFO  [Server] Starting JBoss (MX MicroKernel)...
13:54:13,154 INFO  [Server] Release ID: JBoss [Trinity] 4.2.1.GA (build: 
SVNTag=JBoss_4_2_1_GA date=200707131605)
13:54:13,156 INFO  [Server] Home Dir: /usr/local/jboss/jboss-4.2.1.GA
13:54:13,156 INFO  [Server] Home URL: file:/usr/local/jboss/jboss-4.2.1.GA/
13:54:13,158 INFO  [Server] Patch URL: null
13:54:13,158 INFO  [Server] Server Name: default
13:54:13,159 INFO  [Server] Server Home Dir: 
/usr/local/jboss/jboss-4.2.1.GA/server/default
13:54:13,159 INFO  [Server] Server Home URL: 
file:/usr/local/jboss/jboss-4.2.1.GA/server/default/
13:54:13,159 INFO  [Server] Server Log Dir: 
/usr/local/jboss/jboss-4.2.1.GA/server/default/log
13:54:13,160 INFO  [Server] Server Temp Dir: 
/usr/local/jboss/jboss-4.2.1.GA/server/default/tmp
13:54:13,160 INFO  [Server] Root Deployment Filename: jboss-service.xml
13:54:14,596 INFO  [ServerInfo] Java version: 1.6.0_03,Sun Microsystems Inc.
13:54:14,597 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 
1.6.0_03-b05,Sun Microsystems Inc.
13:54:14,597 INFO  [ServerInfo] OS-System: Linux 2.4.18-3,i386
13:54:15,637 INFO  [Server] Core system initialized
13:54:21,243 INFO  [WebService] Using RMI server codebase: 
http://203.77.200.18:8083/
13:54:21,251 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: 
resource:jboss-log4j.xml
13:54:22,987 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA 
version) - JBoss Inc.
13:54:22,988 INFO  [TransactionManagerService] Setting up property manager 
MBean and JMX layer
13:54:23,530 INFO  [TransactionManagerService] Starting recovery manager
13:54:23,831 INFO  [TransactionManagerService] Recovery manager started
13:54:23,831 INFO  [TransactionManagerService] Binding TransactionManager JNDI 
Reference
13:54:31,671 INFO  [EJB3Deployer] Starting java:comp multiplexer
13:54:31,728 ERROR [STDERR] [Fatal Error] :-1:-1: Premature end of file.
13:54:31,729 ERROR [STDERR] org.xml.sax.SAXParseException: Premature end of 
file.13:54:31,730 ERROR [STDERR]at 
org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
13:54:31,731 ERROR [STDERR] at 
org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
13:54:31,731 ERROR [STDERR] at 
org.jboss.aop.AspectXmlLoader.loadURL(AspectXmlLoader.java:1291)
13:54:31,731 ERROR [STDERR] at 
org.jboss.aop.deployment.AspectDeployer.getLoaderRepositoryIfAttaching(AspectDeployer.java:330)
13:54:31,731 ERROR [STDERR] at 
org.jboss.aop.deployment.AspectDeployer.getScopedClassLoader(AspectDeployer.java:311)
13:54:31,733 ERROR [STDERR] at 
org.jboss.aop.deployment.AspectDeployer.create(AspectDeployer.java:160)
13:54:31,733 ERROR [STDERR] at 
org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
13:54:31,744 ERROR [STDERR] at 
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
13:54:31,745 ERROR [STDERR] at 
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
13:54:31,745 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
13:54:31,745 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
13:54:31,745 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
13:54:31,745 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Method.java:597)
13:54:31,745 ERROR [STDERR] at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
13:54:31,745 ERROR [STDERR] at 
org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
13:54:31,746 ERROR [STDERR] at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
13:54:31,746 ERROR [STDERR] at 
org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
13:54:31,746 ERROR [STDERR] at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
13:54:31,748 ERROR [STDERR] at 
org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
13:54:31,748 ERROR [STDERR] at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
13:54:31,748 ERROR [STDERR] at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
13:54:31,748 ERROR [STDERR] at 
org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
13:54:31,748 ERROR [STDERR] at $Proxy9.deploy(Unknown Source)
13:54:31,749 ERROR [STDERR] at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
13:54:31,749 ERROR [STDERR] at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
13:54:31,749 ERROR [STDERR] at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
13:54:31,749 ERROR [STDERR] at 

[jboss-user] [JBoss Seam] - Validation for uniqueness in the DB

2008-02-15 Thread adriju
Hi all again!

I have a form in which I edit or create users from a DB. To check the 
uniqueness of the username I have created a custom validator:

@Name(userNameValidator)
  | @BypassInterceptors
  | @Validator
  | public class UserNameValidator implements javax.faces.validator.Validator 
  | {
  | 
  | @Override
  | public void validate(FacesContext context, UIComponent component, 
Object value)
  | throws ValidatorException 
  | {
  | UsuariosList uList1 = new UsuariosList();
  | 
  | String s =  value.toString();
  | 
  | String select1 = select u from Usuarios u where 
u.nombreUsuario = ' + s + ';
  | uList1.setEjbql(select1);
  | 
  | List lu1 = uList1.getResultList();
  | 
  | uList1.restoreEjbql();
  | 
  | if( lu1.size()  0 )
  | {
  | FacesMessage message = new FacesMessage();
  | message.setDetail(Repeated user in the DB);
  | message.setSummary(The user  + s +  already exists in the 
DB);
  | message.setSeverity(FacesMessage.SEVERITY_ERROR);
  | FacesMessages.instance().add(message);
  | throw new ValidatorException(message);
  | }
  | }
  | }

And the input text is:

s:decorate id=nombreUsuarioDecoration template=layout/edit.xhtml
  | ui:define name=labelUser/ui:define
  | h:inputText id=nombreUsuario 
  |required=true
  |   value=#{usuariosHome.instance.nombreUsuario}
  |   validator=userNameValidator
  | /h:inputText
  | /s:decorate

This is th entity:

@Entity
  | @Table(name = USUARIOS)
  | public class Usuarios implements java.io.Serializable {
  | 
  | private long codUsuario;
  | private GruposUsuarios gruposUsuarios;
  | private String nombreUsuario;
  | private Short prioridadUsuario;
  | private String passwordUsuario;
  | private String filtroUsuario;
  | private String snmpUsuario;
  | private SetTemispConfiguracion temispConfiguracions = new 
HashSetTemispConfiguracion(
  | 0);
  | private SetFiltrosFichas filtrosFichases = new 
HashSetFiltrosFichas(0);
  | private SetOperacion operacions = new HashSetOperacion(0);
  | private SetMacro macros = new HashSetMacro(0);
  | private SetNuevaConfiguracion nuevaConfiguracions = new 
HashSetNuevaConfiguracion(
  | 0);
  | private SetGrupo grupos = new HashSetGrupo(0);
  | 
  | public Usuarios() {
  | }
  | 
  | public Usuarios(long codUsuario, GruposUsuarios gruposUsuarios) {
  | this.codUsuario = codUsuario;
  | this.gruposUsuarios = gruposUsuarios;
  | }
  | public Usuarios(long codUsuario, GruposUsuarios gruposUsuarios,
  | String nombreUsuario, Short prioridadUsuario,
  | String passwordUsuario, String filtroUsuario, String 
snmpUsuario,
  | SetTemispConfiguracion temispConfiguracions,
  | SetFiltrosFichas filtrosFichases, SetOperacion 
operacions,
  | SetMacro macros, SetNuevaConfiguracion 
nuevaConfiguracions,
  | SetGrupo grupos) {
  | this.codUsuario = codUsuario;
  | this.gruposUsuarios = gruposUsuarios;
  | this.nombreUsuario = nombreUsuario;
  | this.prioridadUsuario = prioridadUsuario;
  | this.passwordUsuario = passwordUsuario;
  | this.filtroUsuario = filtroUsuario;
  | this.snmpUsuario = snmpUsuario;
  | this.temispConfiguracions = temispConfiguracions;
  | this.filtrosFichases = filtrosFichases;
  | this.operacions = operacions;
  | this.macros = macros;
  | this.nuevaConfiguracions = nuevaConfiguracions;
  | this.grupos = grupos;
  | }
  | 
  | @Id
  | @Column(name = COD_USUARIO, unique = true, nullable = false, 
precision = 10, scale = 0)
  | @NotNull
  | public long getCodUsuario() {
  | return this.codUsuario;
  | }
  | 
  | public void setCodUsuario(long codUsuario) {
  | this.codUsuario = codUsuario;
  | }
  | @ManyToOne(fetch = FetchType.LAZY)
  | @JoinColumn(name = COD_GRUPOS_USUARIOS, nullable = false)
  | @NotNull
  | public GruposUsuarios getGruposUsuarios() {
  | return this.gruposUsuarios;
  | }
  | 
  | public void setGruposUsuarios(GruposUsuarios gruposUsuarios) {
  | this.gruposUsuarios = gruposUsuarios;
  | }
  | 
  | @Column(name = NOMBRE_USUARIO, length = 60)
  | @Length(max = 60)
  | public String getNombreUsuario() {
  | return 

[jboss-user] [JBoss Seam] - theme selection

2008-02-15 Thread vwiencek
Hi, 

i've a seam application which stores themes in the database. I'm facing the 
following problem :
When a user try to access a page for the first time, the theme is loaded from 
database, then I perform a 


  | ThemeSelector.instance().selectTheme(themeA);
  | 

But my theme specifications apply on the next reload of the page.

I've try to select the theme before the jsf page load, with

  | @Observer(org.jboss.seam.beforePhase)
  | 

but it doesn't work.

Thx
Vincent

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

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


[jboss-user] [JBoss Seam] - can i use s:enumConverter / in jsf 1.1 and websphere 6.1.

2008-02-15 Thread grave.coder
when i use s:enumConverter / to convert string back to enum type, the 
appserver throwed a null pointer exception said that the converter can not 
determine the enumType. i found the ValueBinding's getType() method return null 
value , so we can not get the correct enum type from the faces context in jsf 
1.1, is it right?

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

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


[jboss-user] [Remoting] - Need some advice

2008-02-15 Thread ovistanciu
Hello and please excuse my total newbieness.

I am building a web application that acts as a control panel to a collection of 
physical devices. I implemented the communication protocol as a RMI interface, 
whose methods are commands that need to be called from the web interface. The 
Remote object which acts as a RMI server resides on a host in the local 
network. The client should reside on the App Server.

For what I understand from reading the JBoss Remoting docs, the idea should be 
that I have to implement a Service on the server who acts as a client to the 
remote RMI server. The Service will be used by my EJB session beans to send 
commands to the remote server, i.e. to the devices.

Am I getting this right? If no, could you give me some tips?

I'll be happy to provide further information if needed.

Thank you for your time.

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

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


[jboss-user] [JBoss Tools (users)] - Re: Using Seam 2.0.1.CR1 with JBoss Tools 2.0.0.GA

2008-02-15 Thread leonardinius
[EMAIL PROTECTED] wrote : JBoss tools is *not* preconfigured to Seam 1.2; 
only JBoss Developer Studio has that preconfigured.
  | 
  | Both can use Seam 2, you just need to choose Seam 2 and not Seam 1.2 in the 
new project and/or runtime setup.
  | 
  | 

What is the correct answer? :) Could we just use Jboss Tools 2.0.0. with Seam 
2.0.1-GA? 

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

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


[jboss-user] [JBoss Messaging] - Re: JBoss Messaging RA configuration

2008-02-15 Thread timfox
kdeboer wrote : Thanks for the link. I was aware of this wiki page.
  | But there is something unclear to me:
  | If you have a handle to a remote connectionFactory, how can you get a 
handle to a queue running in a remote server. Is this automatically done in the 
correct JNDI namespace (the remote server one) or are other tricks needed. 
  | 

You can either use a resource-ref to reference the remote queue or create an 
initial context using the remote provider jndi properties, see:

http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMQHAOverview for some examples.

E.g.

anonymous wrote : 
  | resource-ref
  | res-ref-namejms/Queue/res-ref-name
  | jndi-namejnp://myremoteserver:1099/queue/A/jndi-name
  |   /resource-ref
  | 



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

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


[jboss-user] [JBoss jBPM] - Re: simple question

2008-02-15 Thread kukeltje
rtfm is not all info there is. There are also a lot of unittests in the source 
that can shed some light on these issues.

The question I have is: what do you mean by launch it in the server? 

Connecting to the server via webservices is not possible as you probably have 
(not) read in the fine manual (since it is not in there) and you probably have 
seen the jira issues on implementing those and read the forum posts about them.

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

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


[jboss-user] [JBoss Seam] - Re: How to not propagate conversations??

2008-02-15 Thread mars1412
MSchmidke wrote : Seam 2.0.0.GA, Facelets
  | A propagation of none, however, works like expected. New conversations 
are started every time, and the old ones hang around unused until timed out. 
But this is not what I want - in fact, I want to cancel the conversation when 
the menu is selected. This isn't unusual, I think, so I am sure I am doing 
something completely wrong, or?
  | 

is this what you mean:
case 1)* the user clicks on menu-link: 1st page is opened, 1 conversation 
started
  | * user clicks cancel on this page: everything ok - non conversation open
  | 
case 2)* the user clicks on menu-link: 1st page is opened, 1 conversation 
started
  | * user does not click cancel in the page: conversation is still open
  | * the user clicks on menu-link again: 1st page is re-opened, 1 new 
conversation started, old one is still around
  | * and what you want is: when the link is clicked and there is an open 
conversation, the link should end the old open conversation?
  | 
is that what you mean?

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Error during deployment in Jboss 4.2.1.GA

2008-02-15 Thread pushpendra_raval
Hi:

Solved the problem.  It was because my ejb3-interceptors-aop.xml file was 
corrupted.  I replaced it with good file and both these errors vanished.  Now I 
have only one error and that is about:  Apache Tomcat Native Library error.  

Also note that by changing jdk1.6 to jdk1.5 did not solve my problem.  So you 
can definitely use jdk1.6 and everything should work good.

Thanks,

Pushpendra Raval

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

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


[jboss-user] [EJB/JBoss] - Re: Cross-referencing EJBs doesn't work

2008-02-15 Thread jaikiran
Since this question relates to EJB3, i would recommend you post this in the 
EJB3 forum at http://jboss.com/index.html?module=bbop=viewforumf=221

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

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


[jboss-user] [JBoss Seam] - Re: selectOneMenu preselection

2008-02-15 Thread koenhandekyn
i ran into the same issue. feels like a SERIOUS bug to me. at worst it should 
get in the seam documentation, but a fix is preferred.

curious on your experiences or alternative solutions !

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

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


[jboss-user] [JBoss jBPM] - Migrate / Upgrade to JBPM 3.2

2008-02-15 Thread Pavitra Acharya
  Even we are planning to migrate from JBPM 3.0 to 3.2. 
Can anyone please provide the detailed steps to migrate from JBPM 3.0 to 
3.2?
 I also would want to know that if we migrate to JBPM3.2, will it have 
any affect on the existing customers data?How the existing data will be 
inserted in the newly created columns and tables?

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

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


[jboss-user] [JNDI/Naming/Network] - Re: EJB3: @Resource name only EJBContext, not in InitialCont

2008-02-15 Thread wingtung.leung
jaikiran wrote : Which version of JBoss do you use? I tested this on my local 
JBoss-4.2.2 setup with an sample application:
  | 

JBoss-4.0.5 with extra EJB3 support.

I have tested it on JBoss-4.2.2, and it works fine there. So we will need to 
update our EJB3 component, or upgrade JBoss completely.

The original exception:


  | Exception in thread Main Thread javax.naming.NameNotFoundException: env 
not bound
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
  | at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
  | at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:716)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
  | at javax.naming.InitialContext.lookup(InitialContext.java:351)
  | 


Thanks for the solution!




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

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


[jboss-user] [EJB/JBoss] - Re: Cross-referencing EJBs doesn't work

2008-02-15 Thread linoux
Thanks for your response, I will do that...

I was not sure if this was an EJB3 issue, or if the same problem occurs with 
older versions of EJB...

-- 
Céline

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

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

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


[jboss-user] [EJB 3.0] - Cross-referencing EJBs doesn't work

2008-02-15 Thread linoux
Hello !

It seems that cross referencing 2 sessions does not work in JBoss... Although I 
found no restricutions about cross-referencing stateless session beans in EJB 
specs

I'm using JBoss-4.0.5.GA.

Here is my sessions definitions : 

  | @Local
  | public interface ALocal {
  | 
  | }
  | 
  | @Stateless
  | public class A implements ALocal {
  |   @EJB BLocal b;
  | }
  | 
  | @Local
  | public interface BLocal {
  | 
  | }
  | 
  | @Stateless
  | public class B implements BLocal{
  |   @EJB ALocal a;
  | }

And here the deployment logs (everything before this seems OK) :

  | ObjectName: jboss.j2ee:ear=ogp-app.ear,jar=ogp-ejb.jar,name=A,service=EJB3
  |   State: NOTYETINSTALLED
  |   I Depend On:
  | jboss.j2ee:ear=ogp-app.ear,jar=ogp-ejb.jar,name=B,service=EJB3
  |   Depends On Me:
  | jboss.j2ee:ear=ogp-app.ear,jar=ogp-ejb.jar,name=B,service=EJB3
  | 
  | ObjectName: jboss.j2ee:ear=ogp-app.ear,jar=ogp-ejb.jar,name=B,service=EJB3
  |   State: NOTYETINSTALLED
  |   I Depend On:
  | jboss.j2ee:ear=ogp-app.ear,jar=ogp-ejb.jar,name=A,service=EJB3
  |   Depends On Me:
  | jboss.j2ee:ear=ogp-app.ear,jar=ogp-ejb.jar,name=A,service=EJB3
  | 

It seams that the two EJB are waiting for each other...

Does anyone know how to make this work ?

Thanks for your help !

-- 
Celine

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

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


[jboss-user] [JBoss Portal] - Re: Window property : window-state maximize

2008-02-15 Thread den74
is not possible to open a page maximized cia configuration file in portal 2.4.x 
(i don't know in 2.6.x, it was requested but i'm not sure)

You can do it setting the window state in processAction method using 
   arg1.setWindowState(WindowState.MAXIMIZED);

or defining a new layout strategy, or a new layout haveing the normal jsp 
equals to maximized jsp

i don't know which is the best way to do it

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

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


[jboss-user] [JBoss Seam] - Re: How to not propagate conversations??

2008-02-15 Thread MSchmidke
Exactly! Yes!

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

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


[jboss-user] [JCA/JBoss] - Re: Mysql replication and JBOSS

2008-02-15 Thread vickyk
tricky wrote : I have mysql replication stuff installed master slave (where 
insert,update uses master and select's are on slave) does anyone know how to 
setup *-ds.xml file to work with mysql replication driver ? or maybe 
peristence.xml ?
Have you searched the required property in mysql driver's documentation ?

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

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


[jboss-user] [JBoss jBPM] - Re: simple question

2008-02-15 Thread mryilauer
What I mean by launch in the server is:
1) I use the designer to create a process and unit tests that work as I intend
2) I deploy the process to the server, it works as I intend, I can interact 
with it from the console
3) Now, I want to write a class that starts a new instance of the process in 
the server. That's all. That class will be imported into a drool so that, under 
the right conditions, we will launch a new instance of the process.

In other words, now that I have successfully created, debugged, and deployed a 
good process, how do I launch a new instance of it programmitically? All I want 
to do is exactly what the jbpm console does: possibly get a list of deployed 
processes, and start up a new instance of one. 

This exact use has to be the raison d'etre of jbpm, and the web console does 
it, so I figure I must be missing something really basic and obvious to not 
grasp how I correctly do jbpmContext.getProcessInstance(processId). The only 
way this works when I try it is if I first parse the process, create the 
schema, store the process, and then get it back, which means the instance of 
the Jbpm server I am talking to is my own, not the one used by the console, not 
the one started up by start.bat

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

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


[jboss-user] [JBoss jBPM] - Re: Migrate / Upgrade to JBPM 3.2

2008-02-15 Thread kukeltje
upto 3.1 the migration has received (to) little attention. From  3.1 on 
supporting migration is very important. So unfortunately I (personally) have 
little info on migrating from 3.0 to 3.2. 

3.1 to 3.2 is supported very wel by using migrationscripts for the db.

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

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


[jboss-user] [JCA/JBoss] - Re: Programatic creation of jboss data sources

2008-02-15 Thread vickyk
vijaykrishnan wrote : Hi,
  |Can u plz let me know if there are any Mbean or programatic creation 
of datasources.. 
  | plz guide me

http://wiki.jboss.org/wiki/Wiki.jsp?page=DeploymentService
You need to write the velocity macro specific to datasource deployment 
descriptor , the data needs to be captured using MBean .

Or you can write a new MBean which will create a -ds.xml file in the deploy 
folder of the Jboss , this should be simpler ( not velocity macros here)

Also there is work going on this 
http://jira.jboss.org/jira/browse/JBAS-1425

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

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


[jboss-user] [JBoss Messaging] - Re: JBoss Messaging RA configuration

2008-02-15 Thread kdeboer
I am using an EJB3 MessageDrivenBean using the activation-config property
destination and destinationType

Can the destination be reconfigured as a resource reference in jboss.xml 
deployment descriptor? This is more an EJB3 question, but perhaps you know. Or 
should i use a different strategy to configure an MDB to a remote queue.
Anyway it would be best to do this in an JCA RA type of configuration.

Thanks (again :-))
Karl

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

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


[jboss-user] [JBossCache] - Re: What isolation mode do you use and why?

2008-02-15 Thread FredrikJ
We use repeatable read and read uncommitted (different caches). We use 
read_uncommitted only to ensure a reader is never blocked. If read_committed 
would always allow read then we would be happy using that instead.

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

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


[jboss-user] [JBoss Seam] - Re: How to not propagate conversations??

2008-02-15 Thread mars1412
I think it is possible to set the conversation id on your own (I never used it)
so if you click the link again and this conversation already exists, you could 
continue it (I think)
I know: that's not exactly what you want - but maybe this is also ok in your 
case?

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

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


[jboss-user] [JBoss jBPM] - Re: different workflows avec la meme definition de processus

2008-02-15 Thread jean85
thanks a lot romeu,

it is very useful informations and you're french is still right! ;)

best regards,

bud

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

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


[jboss-user] [EJB 3.0] - Re: Cross-referencing EJBs doesn't work

2008-02-15 Thread ALRubinger
You've got a circular dependency here.  In addition to @EJB, apply 
@IgnoreDependency to one of these instance members.

S,
ALR

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

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


[jboss-user] [JBoss jBPM] - Developing a web console

2008-02-15 Thread seanmcelroy
Hi,

I've been trying to develop a web console to run in tomcat. Is there a 
recommended deveopment approach or is there any documentation other than the 
getting started guide.

Thanks. 

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

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


[jboss-user] [JBoss Seam] - Re: Help - post login and EntityHome instance

2008-02-15 Thread mars1412
terryb wrote : 
  | If I view View or Edit form, both of wich utilise EntityHome, and then 
right after I click on Add form, the Add form shows record which was focused by 
View or Edit form.
  | 

Did you solve that?
I have the same problem and I am quite stuck.
I have no idea why this entity is not cleared...

I have a parent/child connection:
the parent's edit page shows a list of the childs
when I first access the parent's edit page, a conversation is started, 
including the parentHome
the list of childs has a select s:button with propagation=end and it passes the 
childs id to the child edit page
this should be ok - I want to end the parents edit conversation and the childs 
pages.xml starts a new conversation for the child

  |begin-conversation join=true /
  |
  |action execute=#{childHome.wire}/
  |   
  |param name=childId value=#{childHome.childId}/
  |param name=parentId value=#{parentHome.parentId}/
  |...
  | 
I don't  understand this:* I open the parentList - no conversation exists
  | * I open a parentEdit page - one conversation exists: cid=3
  | * I click on a child in the list and come to the childEdit page
  | * now one conversation exists, but it still has the cid=3
  | 
should not the cid 3 have ended (the s:button says so) and a new conversation 
begun (the childEdits page.xml file says so?

I suspected that join=true on the start-conversation might be the reason: but 
even without join=true, the cid is the same.

please help

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

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


[jboss-user] [JBoss Getting Started Documentation] - Re: JBoss Portal giving error on startup

2008-02-15 Thread PeterJ
Based on the error message, I assume you set JAVA_HOME to a 1.4 JDK. You need 
1.5.

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

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


[jboss-user] [JBoss jBPM] - Need recommandation about jbpmContext

2008-02-15 Thread vsevel
What is your recommandation about the JbpmContext object lifetime in a web 
application?
I was thinking to keep the same context during the web application life time 
and to close it only when the application is stopped.
I am working mostly with taskInstance objects. 
So I noticed that the context should be saved with task instance object each 
time that some operations are made on it (to keep the database up to date).
Will it be better to close regurlarly the context and get a new one?

Thanks,
Val


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

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


[jboss-user] [JBoss Seam] - Re: Anybody got Seam 2.0.0 working with WebSphere 6.1 and EJ

2008-02-15 Thread [EMAIL PROTECTED]
This is documented as a note in the reference documentation.  Websphere's 
statefull session bean timeout default is 10 minutes.  You can adjust this 
using Websphere specific deployment descriptors. 

As stated in the note - that was beyond the scope of the reference docs.  Take 
a look at the websphere docs site for details on how to do that.

-Jay

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Exception in thread

2008-02-15 Thread fengbin98
Somebody helped me solve the problem.  What was missing is 
jboss-transaction.jar.  Thank you all for help.

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

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


[jboss-user] [JBoss Seam] - Re: can i use s:enumConverter / in jsf 1.1 and websphere

2008-02-15 Thread [EMAIL PROTECTED]
I have not looked at that specific tag on websphere.  Can you verify that the 
same application works as expected on Jboss?  

Also you could post some more information on the application and error.

Thanks,
Jay

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

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


[jboss-user] [EJB 3.0] - Re: Cross-referencing EJBs doesn't work

2008-02-15 Thread linoux
It works fine now !!

Thanks a lot for your help !

-- 
Céline

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

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

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


[jboss-user] [Beginners Corner] - configuration of a war, .properties in /default/conf ?

2008-02-15 Thread tomerbd2
Hi,

I have a war and inside the war i read configuration from a properties file.
I would like to have the properties file outside of the war (so wont need to 
unzip and rezip it for configuration changes).  I do need these configuration 
changes at runtime.
What is the best way to do it? hold the .properties in a classpath? (I prefer 
not to do it).  I thought of doing it like having the .properties file in the 
default/conf/ directory just like there is over there log4j.xml.  How can I do 
that? How can I load configurations from the default/conf path? any environment 
variable that will point to that path? any standard way of doing it?

Thanks,

Tomer

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

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


[jboss-user] [JBoss Seam] - Re: Conversation @Begin(join=true) not working properly?

2008-02-15 Thread mars1412
[EMAIL PROTECTED] wrote : Hm. Interesting. The current implementation is 
kill the conversation at the *end* of the request. Perhaps what people really 
want is kill the conversation at the *beginning* of the request.
  | 
  | I have to think this through...
still thinking?

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Hibernate and joins

2008-02-15 Thread tricky
Hibernate is using joins in one to many mappings etc. 
But toplink uses multiple selects then binds the data. The question is whic is 
more efficient and if it's possible to setup hibernate to use multiple select's 
instead of joins ?

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

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


[jboss-user] [JBoss Portal] Iframe portlet and webmail

2008-02-15 Thread BOCQUIER, Olivier


Hello,

I am currently using JBossPortal 2.6.3, and we have some sort of problems with 
an iframe portlet.
The iframe portlet is embedded in the portal and points to a webmail that runs 
ok.
This webmail (squirrelmail) runs on an apache server and works fine, it logs 
users in automatically with a plugin i added.

When the webmail is requested directly on the apache server, or even through an 
iframe written in a simple html page, everything works fine.
However, when the iframe is inside a portlet within the portal, i noticed that 
the php files that enable the connection with the IMAP server are loaded 6 
times instead of just once, and the connection failed most of the time.

I think i might be able to solve the problem if i find out how the iframe 
portlet works exactly, and why it requests 6 times the url.

So if you have any ideas where the problem comes from, fell free to tell me ;)


Infrastructure:
JBossPortal 2.6.3
Apache 2.2.3
SquirrelMail 1.4.13
Cyrus-IMAP



-- 
Olivier BOCQUIER



This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Messaging, JMS JBossMQ] - Re: Automatic topic creation deletion through EJBSessionBe

2008-02-15 Thread [EMAIL PROTECTED]
JMX and the DestinationManager,
read the docs or just search this forum.

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: EJB not receive synchrounous message

2008-02-15 Thread [EMAIL PROTECTED]
FAQ: probably connection.start()

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

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


[jboss-user] [JBoss Portal] - Re: Errors while running WSRP behind firewall in 2.6.3

2008-02-15 Thread kahotep
Ah, looks like, upon further investigation, that this problem has already been 
encountered.

http://jira.jboss.org/jira/browse/JBPORTAL-1838

Perhaps I should build from source and retry...

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: DLQConfig isn't considered while Deployment

2008-02-15 Thread [EMAIL PROTECTED]
hlins wrote : 
  | I've used nearly the same config with EJB 2.1 and no errors. 

Like it says at the top of the forum. EJB3 questions are NOT answered here.
The config you show is for EJB2, EJB3 has a totally different mechanism
(activation config properties) which is why we direct to that forum.

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

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


[jboss-user] [JBoss Seam] - EJBQL + in filter + EL

2008-02-15 Thread german.otero
I don't know, and i can't find nothing in google.

How to filter a collection (one to many relation) with El.
In my query object (EntityQuery).
I need to do this

Select x from X x where x.area in (#{y.areas})


tnks

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

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


[jboss-user] [EJB 3.0] - Re: EntityManager is null

2008-02-15 Thread kgreene
Currently, I am using: 
VPInfoDAOImpl vpdao = VPInfoDAOImpl.getInstance();

I also tried:

InitialContext ctx = new InitialContext();
VPInfoDAOLocal dao = (VPInfoDAOLocal) 
ctx.lookup(VPInfoDB/VpInfoDAOBean/local);

I tried VPInfoDAORemote also.  That did not work either.



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

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


[jboss-user] [JBoss jBPM] - Re: Developing a web console

2008-02-15 Thread kukeltje
'a web console'  for what? jBPM? What functionality do you want in there? 

Suggestions:
- use seam
- use jsf
- use hibernate
- ...

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

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


Re: [jboss-user] HTTP Compression

2008-02-15 Thread Stephen Davidson
[EMAIL PROTECTED] wrote:
 See Thread at: http://www.techienuggets.com/Detail?tx=24941 Posted on behalf 
 of a User
 
 Hi,
 
 I have an Apache http server connecting to a JBoss 4.2.1GA server via mod_jk 
 connector. I'd like to turn on http compression. Can someone tell me where 
 the best place to do this in is? JBoss is being used to serve dynamic content 
 using JSP  Servlets. 
 
 Thanks.
 
Greetings.

Make sure to performance check your application after.  And you want to turn it
on at the Apache level.  Reason being, it would probably take longer to
compress/decompress between Apache  JBoss (or at JBoss) than you would save in
internal network traffic.

http://httpd.apache.org/docs/2.0/mod/mod_deflate.html

Regards,
Steve


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


[jboss-user] [Messaging, JMS JBossMQ] - Re: Automatic topic creation deletion through EJBSessionBe

2008-02-15 Thread sasimsit
Thanks for quick reply . 
I want to know Message based chat application we are going to develop. that 
time how it will help for me. assume that . I have DB in list of user. whenever 
the user login , the same name I want to create Topic JNDI for that user. and 
provide publish the message and recive the message.
When ever the user log out The Topic JNDI will delete automatically . This kind 
of scenario possible for JBOSS. 
please provide some more information about my question.


Thanks and Regards
P.Sasikumar 
Ellaar,chennai 

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

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


[jboss-user] [JBoss Portal] - Re: CMSAdminPortlet 2.6.4 Upload Archive Fails:

2008-02-15 Thread laurent.vernet
Hi All,

Same problem with File System Repository.
JBP 2.6.4 starts well, building of default content in filesystem OK.
But when uploading my archive file (80kb .zip), the process is a bit long.
Looking at the file system, all the workspace's directories are created,
but the CMSAdminPortlet returns with a stack trace:

  | Etat HTTP 500 -
  | 
  | type Rapport d'exception
  | 
  | message
  | 
  | description Le serveur a rencontré une erreur interne () qui l'a 
empêché de satisfaire la requête.
  | 
  | exception
  | 
  | javax.servlet.ServletException: java.lang.IllegalStateException: 
[com.arjuna.ats.internal.jta.transaction.arjunacore.inactive] 
[com.arjuna.ats.internal.jta.transaction.arjunacore.inactive] The transaction 
is not active!
  | 
org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:276)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  | 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | 
  | cause mère
  | 
  | java.lang.IllegalStateException: 
[com.arjuna.ats.internal.jta.transaction.arjunacore.inactive] 
[com.arjuna.ats.internal.jta.transaction.arjunacore.inactive] The transaction 
is not active!
  | 
com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1379)
  | 
com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:135)
  | 
com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:87)
  | org.jboss.aspects.tx.TxPolicy.endTransaction(TxPolicy.java:175)
  | org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:87)
  | 
org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:262)
  | 
org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N514360653004530.invokeNext(TransactionInterceptor$invoke_N514360653004530.java)
  | 
org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java)
  | 
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
  | 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
  | 
org.jboss.portal.server.aspects.LockInterceptor$InternalLock.invoke(LockInterceptor.java:69)
  | 
org.jboss.portal.server.aspects.LockInterceptor.invoke(LockInterceptor.java:130)
  | 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
  | 
org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
  | 
org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:250)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  | 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | 
  | note La trace complète de la cause mère de cette erreur est 
disponible dans les fichiers journaux de JBossWeb/2.0.1.GA.


Why is this process so long ? Any recursion ? Filtering ? or antivirus ?

Thanks for your attention.

Be back in some hours or days maybe. 

Laurent.

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

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

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


[jboss-user] [JBoss Messaging] - Message redistribution

2008-02-15 Thread martin.wickus
We are running JBoss EAP 4.3 which comes as standard with JBoss Messaging 
1.4.0.SP3.

Two nodes are running in clustered configuration.

Sending messages from nodes to distributed/clustered destination. 

External consumer (not in cluster or even in JBoss) consuming from distributed 
queue. Connection was obtained via ClusteredConnectionFactory.

Problem: Only consuming messages from partial queue of node connected to.

Elaboration:
Each of the nodes send messages to the distributed queue. The messages 
obviously go into their respective partial queues.

The external consumer will get a connection to one of the nodes (sticky once 
created) and hence can receive messages only from the partial queue on the node 
it is connected to. In the meantime, my messages are bundling up on the other 
partial queue. If I kill my receiver connection, the ClusteredConnectionFactory 
is smart enough to dish out a connection to the node with the backlog of 
messages. However, that means messages will now start backlogging on the other 
node.

After reading Tim Fox’s explanation of the design behind JBM 
clustering, I understood the Intelligent Balancer would redistribute messages 
from one partial queue to another based on real-time statistics. I am not 
seeing this behaviour however, thus perhaps there are additional configuration 
changes I need to carry out. 

PS. JBoss Messaging User Guide doesn’t discuss the Intelligent 
Balancer or Message Redistribution.





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

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

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


[jboss-user] [JBoss Tools (users)] - Tools Dialogs and SEAM

2008-02-15 Thread squ1rr3l
The Tools dialogs for SEAM do not appear to integrate well with the project 
dialogs.  I can use the Preferences - Jboss Tools - Seam dialog to manage 
Seam runtimes, but when I go into the project properties dialogs, it does not 
pick up the runtimes that are available.

The Runtime drop box does not list the runtimes.  I can open the Installed 
Runtimes from there, and see the runtimes there or add new ones, but they do 
not show up in the drop-down.  If I delete a runtime, the project retains a 
setting for it and I cannot get rid of it (where is this information stored?).

I get warnings about the runtimes not existing.

Is there any way to clean this up?  I have searched through the eclipse config 
files and cannot find references to the names??


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

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


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

2008-02-15 Thread vickyk
Vinith wrote : Hi, Is there any possibility to create multiple Jboss-server 
instances through MBean??
What are you trying to do exactly , your question does not make any sense to me 
?

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

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


[jboss-user] [Beginners Corner] - Re: Could not enlist in transaction on entering meta-aware o

2008-02-15 Thread bowlere
As a work-around, I have put 

  | @TransactionAttribute(TransactionAttributeType.NEVER)
  | 
on the timer.  This seems to stop the exception from being thrown.  In this 
case it's not a problem for me as I can ensure the data integrity by hand quite 
easily.  But I'm not really sure what I've done wrong, as I think you should be 
able to call a session bean from a timer.

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

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


[jboss-user] [JBossWS] - How to implement WS-Eventing

2008-02-15 Thread nibertj
I am a newbie to WS-Eventing and have been trying to follow Chapter 16 in the 
documentation of WS-Eventing.  I am missing the point on how to put it all 
together.  Do you have sample code and/or documentation that shows the steps to 
make a Event Source and then the Event sink and how they talk.  I have been 
searching the internet for weeks and cannot find concrete examples and steps to 
make this work.  Any information would be greatly appreciated.

Thanks,

Joe

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

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


[jboss-user] [JBoss Seam] - Re: Bypassing validations when using EntityQuery with exampl

2008-02-15 Thread stu2
Hmm, that is odd.  Can you post the relevant portions of your xhtml and also 
your template?

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

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


[jboss-user] [Javassist user questions] - problem initialize a local variable

2008-02-15 Thread gkorland
Hi,

I'm trying to add a local variable and then initialize it.
The code is pretty simple (define a local variable and use a static get() to 
assign a value):

method.addLocalVariable(LOCAL_VARIBALE_NAME, TEST_CLASS);
method.insertBefore(LOCAL_VARIBALE_NAME + = + TEST_CLASS.getName() + 
.get(););

But I get the following error:
Exception in thread main java.lang.VerifyError: (class: org/test/main/AA, 
method: foo3 signature: ()V) Incompatible argument to function
at org.test.main.Main.main(Main.java:24)

But if I switch it to:
method.insertBefore(LOCAL_VARIBALE_NAME + =new  + TEST_CLASS.getName() + 
(););

It works!

Any ideas?

Thanks,
Guy

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

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


[jboss-user] [JBoss Portal] - Resolved: Errors while running WSRP behind firewall in 2.6.3

2008-02-15 Thread kahotep
I think I've figured out what I was doing to create this problem.

Here's what I was attempting to do during the test:

On the machine that produces the remote portlet, I created another instance of 
the CurrentUsersPortlet and attempted to consume it from my test machine.  This 
produced the errors that I posted here earlier.

I realized today, that it is not necessary to create another instance; instead 
I should just consume the one that is already there.  Also, I installed the 
latest release 2.6.4, to ensure that today's testing will have all of the 
latest fixes.

Now everything appears to be working much better.  It was just a momentary 
lapse of reason on my part :-)

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

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


[jboss-user] [JBoss jBPM] - Re: Need recommandation about jbpmContext

2008-02-15 Thread kukeltje
Yes closing and opening is better... (even needed to prevent all kinds of 
issues) and is no performance killer.



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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Restart own application after error

2008-02-15 Thread ReKie
Hi all,

I hope this is the correct forum to post this question, as it might also fit 
into the cluster forum, but I won't crosspost it and the problem is not 
directly connected to clustering.

We run our app on JBoss AS 4.2.1.GA and as it is in a late beta state I would 
like to know if there is a way to tell JBoss AS to restart the application if 
it is stuck due to an error it can not recover from alone.

Right now the solution is to restart the whole server, which is not realy the 
way to choose in an productive environment and I would like to test a solution 
on our test cluster.

So it would be great if anybody can give me a hint or point me to a source 
where I can find a solution to this problem, as I did not find anything in the 
Guides, the Wiki or this forums.

THX a lot
Reinhard

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

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


[jboss-user] [EJB 3.0] - Re: EntityManager is null

2008-02-15 Thread ALRubinger
VPInfoDAOImpl vpdao = VPInfoDAOImpl.getInstance(); 
This won't work; here you are constructing a plain object, not accessing an EJB 
instance from the container.

InitialContext ctx = new InitialContext();
  | VPInfoDAOLocal dao = (VPInfoDAOLocal) 
ctx.lookup(VPInfoDB/VpInfoDAOBean/local);

What's not working here?  Are you able to perform the lookup, cast, and invoke?

S,
ALR

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

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


[jboss-user] [JBoss Messaging] - Re: Reliable delivery

2008-02-15 Thread vc123
timfox wrote : vc123 wrote : 
  |   | 
  |   | 1. I will, but we do not want DUPS ;)
  |   | 
  |   | 
  | 
  | Well you won't get reliable (once and only) delivery using AUTO_ACKNOWLEDGE 
either. 
  | 
  | AUTO_ACK = *at most once*
  | 
  | 

Right, I won't,  but just possibly losing some messages still better than 
risking losing a message *and* possibly getting duplicates (we can afford 
losing some messages and then requesting retransmission through a persistent 
channel/queue).




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

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


[jboss-user] [JBoss Portal] - Re: Errors while running WSRP behind firewall in 2.6.3

2008-02-15 Thread [EMAIL PROTECTED]
Great to hear that you solved your issue. I was going to look into it today 
(been busy with our new portlet container release).

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

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


[jboss-user] [JBoss jBPM] - Re: simple question

2008-02-15 Thread kukeltje
3) then just write a class that does that... the most basic examples do exactly 
this.

- open context
- search process instance
- do work
- close context

(do not have an explicit example at hand)

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

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


[jboss-user] [Messaging, JMS JBossMQ] - JMSXDeliveryCount with GenericDLQHandler

2008-02-15 Thread svadu
Hi all,

I use JBoss 4.2.2 configured for Tibco EMS  as per: 
http://wiki.jboss.org/wiki/Wiki.jsp?page=IntegrationWithTibcoEMS

While normal reception of messages works:

anonymous wrote : 
  | 2008-02-15 17:45:34,121 DEBUG 
[org.jboss.resource.adapter.jms.inflow.JmsActivation] Setting up [EMAIL 
PROTECTED]([EMAIL PROTECTED] destination=queue/MyQueue isTopic=false tx=true 
durable=false reconnect=10 provider=java:/TIBCOJMSProvider user=null 
maxMessages=1 minSession=1 maxSession=15 keepAlive=6 useDLQ=true 
DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler 
DLQJndiName=queue/DLQ DLQUser=null DLQMaxResent=5)
  | 

and I am able to receive and send messages to the queue.

However, I have problem that messages that are sent to DLQ are getting resent 
by the MDB to the DLQ in an infinite loop. 
After some debugging it appeared that JMSXDeliveryCount in the message is not 
incrementing... 
Since GenericDLQHandler is the one that treats messages in DLQ in this case 
I've check what it does and it appears that the only way I see for 
GenericDLQHandler to increment the resent counter is if msg.getIntProperty 
throws a JMSException which isn't happening.

Can someone give me a clue on the problem (I hope I described the problem more 
or less accurately)? 
Do I need to rely (woudl require even more vendor specific configuration) on 
the external JMS server (Tibco in this case) to handle redelivery counts?

Thanks in advance.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Deployment sequence *-object.xml Jboss portal 2.4.1

2008-02-15 Thread snon
Jboss portal 2.4.1

I have 14 *-object.xml files under WEB-INF directory :
1 for intranet portal : portal-intranet-object.xml
1 for extranet portal : portal-extranet-object.xml
12 for pages in intranet portal

All 12 pages have the tag parent-refintranet/parent-ref.

[org.jboss.portal.core.deployment.jboss.ObjectDeployment] (main) Cannot create 
portal object Page[] because the parent 'intranet' that the deployment 
descriptor references does not exist

I observed in logs that some of my intranet pages files where deployed AFTER 
the intranet portal (see time below) :

2008-02-15 17:29:03,687 DEBUG 
[org.jboss.portal.server.deployment.jboss.ServerDeployer] (main) Start step for 
deployment ObjectDeployment for url 
file:/D:/Axione/jboss-portal-2.4.1/server/axione/deploy/portletbridge-portlet.war/WEB-INF/Webcalendar-object.xml

2008-02-15 17:29:05,375 DEBUG 
[org.jboss.portal.server.deployment.jboss.ServerDeployer] (main) Start step for 
deployment ObjectDeployment for url 
file:/D:/Axione/jboss-portal-2.4.1/server/axione/deploy/portletbridge-portlet.war/WEB-INF/portal-intranet-object.xml

Is there a way to order the deployment sequence correctly ?

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

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


[jboss-user] [JBoss jBPM] - Re: Re-entering a StartState

2008-02-15 Thread pojomonkey
I was thinking the same if, for example, there was an 'error' in the process 
variables, and you might want to 're-start' the process.

I guess if you actually want to re-start the process, then it might equally 
make sense to 'end' the current one and then to simply start a new one? 
Otherwise you'd have to consider how you would handle having another instance 
of the start task created.

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

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


[jboss-user] [JBoss Seam] - Re: Conversation and workspace

2008-02-15 Thread c_inconnu
someone please ?

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

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


[jboss-user] [EJB 3.0] - Re: Toplink Essentials as EJB3 PersistenceProvider on JBoss

2008-02-15 Thread monk2009
Any luck on these peeps??? NPE all the way!

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

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


[jboss-user] [Microcontainer] - Re: ClassLoaderMetaData not propagating (yet?) to classloade

2008-02-15 Thread gcompienne
Ok, I think I found out why changing the domain on the ClassLoaderMetaData 
didn't propagate to the created classloader. It is due to the fact the code 
uses the Module.domain attribute rather than the Module.metadata.domain.

All the other information seems to propagate fine.

I will try to access and change the Module.domain from the deployer but I 
wonder if I didn't misunderstood what the domain was for...

Initially I was thinking of it as a nice way (via CLMetaData) to try and link 
related areas together (like all the classloaders of a specific app) but I am 
not sure anymore if that's really the case.

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

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


[jboss-user] [JBoss Messaging] - Re: Reliable delivery

2008-02-15 Thread ataylor
Right, I won't, but just possibly losing some messages still better than 
risking losing a message *and* possibly getting duplicates (we can afford 
losing some messages and then requesting retransmission through a persistent 
channel/queue).
  | 

Or you could make your app idempotent and handle the duplicates yourself.



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

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


[jboss-user] [JBoss Seam] - Stateful Seam Component injects POJO Seam Component

2008-02-15 Thread gersonk
I want to inject a POJO Seam Component (@Name, @Scope(PAGE)) into a SFSB Seam 
Component (@Name, @Stateful, default scope)... 

Is this possible? Are there any issues I should be aware of (transaction, 
entity manager, etc.)?

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

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


[jboss-user] [JBoss Portal] - problem with openLdap 2.3 integration in jboss portal 2.4

2008-02-15 Thread donde
Hi,

I have some difficulties to configure JBoss Portal 2.4 whith OpenLdap 2.3.
this is my login-config.xml :

  | !DOCTYPE policy PUBLIC
  |-//JBoss//DTD JBOSS Security Config 3.0//EN
  |http://www.jboss.org/j2ee/dtd/security_config.dtd;
  | policy
  |!-- For the JCR CMS --
  |application-policy name=cms
  |   authentication
  |  login-module 
code=org.apache.jackrabbit.core.security.SimpleLoginModule flag=required/
  |   /authentication
  |/application-policy
  |
  |application-policy name=portal
  |   authentication
  |
  |   login-module code=org.jboss.security.auth.spi.LdapExtLoginModule 
flag=required 
  | module-option name=java.naming.factory.initial 
  | com.sun.jndi.ldap.LdapCtxFactory
  | /module-option
  | module-option name=java.naming.provider.url
  | ldap://10.210.1.3:389/
  | /module-option
  | module-option 
name=java.naming.security.authentication
  | simple
  | /module-option
  | module-option 
name=bindDNcn=Manager,dc=axione,dc=fr/module-option
  |   module-option name=bindCredentialsecret/module-option
  | module-option 
name=baseCtxDNou=users,dc=axione,dc=fr/module-option
  | module-option 
name=baseFilter(uid={0})/module-option
  | module-option 
name=rolesCtxDNou=roles,dc=axione,dc=fr/module-option
  | module-option 
name=roleFilter(member={1})/module-option
  | module-option 
name=roleAttributeIDmember/module-option
  | module-option 
name=roleRecursion-1/module-option
  | module-option 
name=roleNameAttributeIDcn/module-option
  | module-option 
name=roleAttributeIsDNtrue/module-option
  | module-option 
name=searchTimeLimit5000/module-option
  | module-option 
name=searchScopeSUBTREE_SCOPE/module-option
  | /login-module
  | 
  | /authentication  
  |/application-policy
  | /policy
  | 

when i try to login into the portal I have the following error :
HTTP Status 403 - Access to the requested resource has been denied
I think there are some configurations to do in the web.xml, but i don't know 
how !!??

thanks !


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

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


[jboss-user] [JBoss Seam] - Re: Odd Transactional Exception on WebLogic 9.2

2008-02-15 Thread neilac333
From my application log:


  | 15 Feb 2008 13:19:02,245: DEBUG org.hibernate.hql.ast.ErrorCounter - 
throwQueryException() : no errors
  | 15 Feb 2008 13:19:02,245: DEBUG org.hibernate.hql.ast.QueryTranslatorImpl - 
HQL: from com.myApp.persistence.TechnicalCategory
  | 15 Feb 2008 13:19:02,245: DEBUG org.hibernate.hql.ast.QueryTranslatorImpl - 
SQL: select technicalc0_.ID as ID0_, technicalc0_.CREATED_BY_USER_ID as 
CREATED8_0_, technicalc0_.DATE_CREATED as DATE2_0_, technicalc0_.DATE_UPDATED 
as DATE3_0_, technicalc0_.UPDATED_BY_USER_ID as UPDATED7_0_, 
technicalc0_.VERSION as VERSION0_, technicalc0_.NAME as NAME0_, 
technicalc0_.CATEGORY_NUMBER as CATEGORY6_0_ from CATEGORY technicalc0_
  | 15 Feb 2008 13:19:02,245: DEBUG org.hibernate.hql.ast.ErrorCounter - 
throwQueryException() : no errors
  | 15 Feb 2008 13:19:02,245: DEBUG org.hibernate.engine.query.HQLQueryPlan - 
HQL param location recognition took 0 mills (from TechnicalCategory)
  | 15 Feb 2008 13:19:02,245: DEBUG org.hibernate.impl.SessionFactoryImpl - 
Checking 0 named SQL queries
  | 15 Feb 2008 13:19:29,294: DEBUG org.richfaces.skin.SkinFactory - Class name 
for SkinFactory set to org.richfaces.skin.SkinFactoryImpl by META-INF/services
  | 15 Feb 2008 13:19:29,304: DEBUG org.richfaces.skin.SkinFactoryImpl - Create 
new Skin instance for name classic 
  | 15 Feb 2008 13:20:19,297: DEBUG org.hibernate.impl.SessionImpl - opened 
session at timestamp: 4927896039903232
  | 15 Feb 2008 13:20:19,327: DEBUG org.hibernate.jdbc.JDBCContext - 
TransactionFactory reported no active transaction; Synchronization not 
registered
  | 15 Feb 2008 13:20:19,327: DEBUG org.hibernate.ejb.AbstractEntityManagerImpl 
- Looking for a JTA transaction to join
  | 15 Feb 2008 13:20:19,327: WARN  org.hibernate.ejb.AbstractEntityManagerImpl 
- Cannot join transaction: do not override hibernate.transaction.factory_class
  | 15 Feb 2008 13:20:19,638: DEBUG org.hibernate.jdbc.JDBCContext - 
TransactionFactory reported no active transaction; Synchronization not 
registered
  | 15 Feb 2008 13:20:19,638: DEBUG org.hibernate.impl.SessionImpl - setting 
flush mode to: MANUAL
  | 15 Feb 2008 13:20:19,648: DEBUG org.hibernate.jdbc.JDBCContext - 
TransactionFactory reported no active transaction; Synchronization not 
registered
  | 15 Feb 2008 13:20:19,648: DEBUG org.hibernate.jdbc.JDBCContext - 
TransactionFactory reported no active transaction; Synchronization not 
registered
  | 15 Feb 2008 13:20:19,658: DEBUG org.hibernate.engine.query.QueryPlanCache - 
located HQL query plan in cache (from TechnicalCategory)
  | 15 Feb 2008 13:20:19,708: DEBUG org.hibernate.jdbc.JDBCContext - 
TransactionFactory reported no active transaction; Synchronization not 
registered
  | 15 Feb 2008 13:20:19,708: DEBUG org.hibernate.jdbc.JDBCContext - 
TransactionFactory reported no active transaction; Synchronization not 
registered
  | 15 Feb 2008 13:20:19,708: DEBUG org.hibernate.engine.query.QueryPlanCache - 
located HQL query plan in cache (from TechnicalCategory)
  | 15 Feb 2008 13:20:19,708: DEBUG org.hibernate.jdbc.JDBCContext - 
TransactionFactory reported no active transaction; Synchronization not 
registered
  | 15 Feb 2008 13:20:19,718: DEBUG org.hibernate.engine.query.HQLQueryPlan - 
find: from TechnicalCategory
  | 15 Feb 2008 13:20:19,718: DEBUG org.hibernate.engine.QueryParameters - 
named parameters: {}
  | 15 Feb 2008 13:20:19,728: DEBUG org.hibernate.jdbc.JDBCContext - 
TransactionFactory reported no active transaction; Synchronization not 
registered
  | 15 Feb 2008 13:20:19,788: DEBUG org.hibernate.jdbc.JDBCContext - 
TransactionFactory reported no active transaction; Synchronization not 
registered
  | 15 Feb 2008 13:20:19,798: DEBUG org.hibernate.jdbc.JDBCContext - 
TransactionFactory reported no active transaction; Synchronization not 
registered
  | 15 Feb 2008 13:20:19,798: DEBUG org.hibernate.jdbc.AbstractBatcher - about 
to open PreparedStatement (open PreparedStatements: 0, globally: 0)
  | 15 Feb 2008 13:20:19,798: DEBUG org.hibernate.jdbc.ConnectionManager - 
opening JDBC connection
  | 15 Feb 2008 13:20:19,858: DEBUG org.hibernate.util.JDBCExceptionReporter - 
Cannot open connection [???]
  | java.sql.SQLException: Transaction BEA1-02FA63ADA554 not active anymore. tx 
status = Rolled back. [Reason=weblogic.transaction.internal.TimedOutException: 
Transaction timed out after 33 seconds 
  | BEA1-02FA63ADA554]
  | at weblogic.jdbc.jts.Driver.getTransaction(Driver.java:564)
  | at weblogic.jdbc.jts.Driver.connect(Driver.java:121)
  | at 
weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:359)
  | at 
org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:69)
  | at 
org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423)
  | at 
org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
  | at 

  1   2   >