[jboss-user] [Installation, Configuration & Deployment] - Re: Difference btn jboss-4.0.4.GA-Patch1-installer.jar and j

2006-09-11 Thread visolvejboss
Hello,
 
  Think, it is not possible to install.


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

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


[jboss-user] [JBoss jBPM] - Re: What does on BPM build content impact?

2006-09-11 Thread [EMAIL PROTECTED]
anonymous wrote : It seems there are a lot of bugs in open software. Or may 
this is trick to force client to buy a support?

please think twice before make such stupid insults.  we try hard to produce the 
best possible software.  we know that our software isn't always polished as it 
should.  open source means that various people collaborate on the net to 
produce software in an open manner.

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

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


[jboss-user] [JBoss Portal] - Using UserModule in EJB

2006-09-11 Thread angelo.dangelo
Hi Everyone,
I need to use the UserModule in a EJB. Do I have to wrap the usage within a 
transaction, even if I am in a "container-managed transaction" context?

Thanks
Angelo

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

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


[jboss-user] [JBoss jBPM] - How logging me in as a user in JBPM (swimlane)

2006-09-11 Thread antitrust1982
Hello,

I have created a process with some swimlane. When I execute my process, the 
tasks are executed by anybody. 

I would like know how can I logging me in Jbpm in order to execute my tasks 
just by the poeple who are in the swimlane task.


If you have some questions or you want to know anything say me please.

thank you for your help in advance


antitrust1982

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Difference btn jboss-4.0.4.GA-Patch1-installer.jar and j

2006-09-11 Thread manglu
Hi,

I am trying to install jboss-4.0.4.GA-Patch1-installer.jar on a Fedora box.

Looks like Xwindows is required to apply the patch.

Can i apply this in a headless mode or a command line mode without relying on 
GUI?


Thanks,
Manglu




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

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


[jboss-user] [JBoss Seam] - Re: Inside Working Memory

2006-09-11 Thread sbryzak2
>From what I understand, fireAllRules() itself doesn't really do much.  Most of 
>the actual rule evaluation work occurs while you're asserting objects into the 
>working memory.  Here's a snippet from the JBoss Rules documentation:

anonymous wrote : 
  | "Assertion" is the act of telling the working memory about the facts. 
WorkingMemory.assertObject(yourObject) for example. When you assert a fact, it 
is examined for matches against the rules etc. This means ALL of the work is 
done during assertion; however, no rules are executedl you call 
"fireAllRules()" after you have finished asserting your facts. This is a common 
misunderstanding by people who think the work happens when you call 
"fireAllRules()".
  | 

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

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


[jboss-user] [JBoss Portal] - Re: Maximized Iframe Portlet

2006-09-11 Thread tekulapallinaresh
Yes, I downloaded the HellowWorldIPC and  uncommented the

newEvent.setWindowState(WindowState.MAXIMIZED); in  HelloWorldPortletB Listner

But the maximized state is notworking. I am still facing the same problem

Thanks for your reply. 

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Dead Letter Queue

2006-09-11 Thread markfrench
Hi,

Just a quick question what details of the original from the DLQ message can I 
extracted and how.  For instance can I get all original properties message, 
body etc.

Cheers

Mark

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

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


[jboss-user] [JBoss jBPM] - Re: What does on BPM build content impact?

2006-09-11 Thread Radmir
It seems there are a lot of bugs in open software. Or may this is  trick to 
force client to buy a support? Ant build uses hibernate3.jar from 
jboss-4.0.4.GA/server/default/lib during build, but have it's own 
hibernate3.jar in jbpm-3.1/lib. The first one is of version 3.2.0., the last - 
3.1. Why? In userguide (jbpm.pdf) mentioned jbpm must work with 3.1. So the 
question is again why build uses hibernate3.jar from jboss server distribution?
If you create build.properties file in userhome why ant read it but ignore it?
If you try to build an examples for bpel extension ant deploys them into 
default configuration not in jbpm, but these small fact not mentioned in manual.
Some guys recommend to use web-console for testing   result of deployment of 
samples, but it doesn't work in jbpm configuration. It seems it is not an easy 
task to place it into jbpm folder. 
And the problem with versioning in Java - it remains forever? The samples for 
JBOSS uses 1.4.2_x, for jbpel 1.5.x. JBPEL extension uses another type of 
license good this worse to mention in the readme or userguide, but how it 
prevents to build one starters-kit with all in one bundle including working 
samples. And the last there are a lot of configuration xml files in many 
folders. But from the guide is not clear which of them really works in what the 
case.

Want to move to open source but how?

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

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


[jboss-user] [JBoss Seam] - Fail to persist sub class

2006-09-11 Thread xtia004
I have the following code. CreditCardPayment is inherited from Payment and 
added some extra fields.

@Entity
  | @Table(name = "PAYMENT")
  | @Name("payment")
  | @Inheritance(strategy=InheritanceType.JOINED)
  | @DiscriminatorColumn(name="PAY_METHOD", 
discriminatorType=DiscriminatorType.STRING, length=2)
  | public class Payment implements java.io.Serializable {
  | 
  | private static final long serialVersionUID = 581797746676908701L;
  | 
  | @TableGenerator(name = "objectIdGen", table = "OP_SEQUENCE_GENERATOR", 
pkColumnName = "GEN_KEY", valueColumnName = "GEN_VALUE", pkColumnValue = 
"OBJECT_ID", initialValue = 1, allocationSize = 1)
  | @Id
  | @GeneratedValue(strategy = GenerationType.TABLE, generator = 
"objectIdGen")
  | @Column(name = "OBJECT_ID", nullable = false)
  | private Long objID;
  | 
  | @Column(name = "PAYMENT_CODE", length = 10, nullable = false)
  | private String paymentCode;
  | 
  | @Column(name = "PAID_AMOUNT", nullable = false)
  | private BigDecimal paidAmount;
  | 
  | @Column(name = "PAID_DATE", nullable = false)
  | @Basic @Temporal(TemporalType.DATE)
  | private Date paidDate;
  | 
  | @Column(name = "PAY_METHOD", length = 2, nullable = false)
  | private String payMethod;
  | 
  | ...
  | }
  | 
  | 
  | 
  | @Entity
  | @Table(name = "CREDITCARD_PAYMENT")
  | @Name("creditCardPayment")
  | @DiscriminatorValue("CC")
  | public class CreditCardPayment extends Payment {
  | 
  | private static final long serialVersionUID = -4171432845137278960L;
  | 
  | @JoinColumn(name = "CREDITCARD_ID")
  | @ManyToOne
  | private CreditCard creditCard;
  | 
  | @Column(name = "AUTH_CODE", length = 15, nullable = false)
  | private String authCode;
  | 
  | @Column(name = "DPS_TXN_REF", length = 31, nullable = false)
  | private String dpsTxnRef;
  | 
  | ...
  | }


When I create object of CreditCardPayment using following code and persist it. 
I got exception:anonymous wrote : Caused by: 
org.hibernate.PropertyValueException: not-null property references a null or 
transient value: com.oneplace.payment.CreditCardPayment._paymentsBackref
I have checked I didn't miss any fields. What's the property "paymentsBackref" 
from and how to set it. Please somebody help me.

CreditCardPayment payment = new CreditCardPayment();
  | payment.setAuthCode(authCode);
  | payment.setDpsTxnRef(dpsTxnRef);
  | payment.setCreditCard(card);
  | payment.setPaymentCode(paymentCode);
  | payment.setPaidAmount(getSelectedSum());
  | payment.setPaidDate(DateTimeUtil.getCurrentDate());
  | payment.setPayMethod(payMethod);
  | ...
  | em.persist(payment);

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

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


[jboss-user] [JBoss Portal] - Re: How do I forward to another web-app affter loged portal?

2006-09-11 Thread khangfpt
Hi, 
First I created a portlet that show a button or link when click will call 
processAction (in doView mode) and sendRedirect to myWebapp in processAction 
method of this portlet.
Then, I created a module to check user information in my webapp (use 
getRemoteUser). In case the return value is null, I make a forward to login 
page of portal.


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

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


[jboss-user] [JBoss Messaging] - Re: Messaging client hangs on exit

2006-09-11 Thread [EMAIL PROTECTED]
I ran your example with the Branch_1_0 head and it works fine. Please either 
try the head 
(http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMessagingBuildInstructions), or 
the next release 1.0.1.CR5, when it will be out.


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

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


[jboss-user] [JBoss Seam] - Inside Working Memory

2006-09-11 Thread elangomca
Hi 
I have sucessfully ran the sample examples given by drools but i dont 
undesratnd what happens(Internally) when fireRules method is being called.

Take for Instance the HonestPoliticain Example i assert some five Politicain 
Objects into the working memory.After that i just call fire rules.Can anyone 
explain how the code executes.


Thanks
Elango

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

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


[jboss-user] [Beginners Corner] - org.jboss.deployment.DeploymentException: url file:/C:/jboss

2006-09-11 Thread carlos.navarro
Hi all...

My name is Carlos Navarro and I'm totally new to JBoss (although I've been 
working several years on the J2EE specification over Weblogic).

I have the following problem:

I downloaded the last version of JBoss as a zip file and unpacked it in 
c:\jboss directory, as it said in the getting started document.

Then I went to the bin directory and ran the "run.bat" file, and it started to 
load but suddenly the execution stops with this exception:

Failed to boot JBoss:
org.jboss.deployment.DeploymentException: url 
file:/C:/jboss/server/default/conf/jboss-service.xml could not be opened, does 
it exist?
at org.jboss.deployment.DeploymentInfo.(DeploymentInfo.java:211)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:770)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:464)
at java.lang.Thread.run(Thread.java:595)
21:12:09,625 INFO  [Server] Runtime shutdown hook called, forceHalt: true
21:12:09,625 INFO  [Server] JBoss SHUTDOWN: Undeploying all packages
21:12:09,625 INFO  [Server] Shutdown complete
Shutdown complete
Halting VM

I know the jboss-service.xml file is missing, but as the getting started said 
"you could be running jboss out of the box" I kept browsing the forums and 
googling about it, but found no solution to it.  Some said it was some sort of 
bug, and that with the java web start installer, this would be fixed.  So I 
decided to download through java web start, and I got the same results.  
So...are users intended to create their own jboss-service.xml in order to start 
for the first time JBoss???...I assume jboss-service.xml is the equivalent to 
config.xml in weblogic.

Thanx for reading this post, and for your kind answers

Carlos Navarro.

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

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


[jboss-user] [JBoss Portal] - Re: How do I restrict the same user log-in on the same time

2006-09-11 Thread khangfpt
Hi Sohil,
Thanks for your replying, but I think method getPrincipal() has scope only in  
this request, so it can not get user information from other request or request 
from other PC.

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Re: Manually Acknowlegeing a message

2006-09-11 Thread tnine
Hi Genman,
  Thanks for the help, but that didn?t seem to work.  The contain does not seem 
to be running a transaction.  I have included by ejb-jar.xml and the exception 
stacktrace I receive.  If I change my pojo code to cause itself to sleep for 2 
minutes, I notice the message is already off of the queue on server B as soon 
as onMessage is invoked in my remote MDB.  Is there some other configuration 
that I am missing?


  | 
  | http://java.sun.com/dtd/ejb-jar_2_0.dtd";>
  | 
  | Message Driven Bean
  | CATS Message Driven Beans Configuration
  | 
  | 
  | 
  | 
  | 
  | Bean to access messages from cats queues
  | 
  | CATSMessageAccess
  | 
  | ejb/CATSMessageAccess
  | 
  | 
  | com.ata.utilities.mdd.MessageAccessBean
  | 
  | 
  | Container
  | Auto-acknowledge
  | 
  | 
  | 
javax.jms.Queue
  | 
  | 
  | 
  | 
  | 
  | 
  | 

My Stacktrace


  | 21:10:02,765 INFO  [STDOUT] 21:10:02,765 INFO  [SessionFactoryImpl] closing
  | 21:10:02,765 ERROR [LogInterceptor] RuntimeException in method: public 
abstract void javax.jms.MessageListener.onMessage(javax.jms.Message)
  | java.lang.IllegalStateException: getRollbackOnly must only be called in the 
context of a transaction (EJB 2.0 - 15.5.1)
  | at 
org.jboss.ejb.MessageDrivenEnterpriseContext$MessageDrivenContextImpl.getRollbackOnly(MessageDrivenEnterpriseContext.java:192)
  | at 
com.ata.utilities.mdd.MessageAccessBean.onMessage(MessageAccessBean.java:78)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:458)
  | at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
  | at 
org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:62)
  | at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
  | at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:282)
  | at 
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:148)
  | at 
org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:90)
  | at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
  | at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
  | at 
org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:372)
  | at org.jboss.ejb.Container.invoke(Container.java:709)
  | at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:914)
  | at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1208)
  | at 
org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:276)
  | at 
org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:877)
  | at 
org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:159)
  | at org.jboss.mq.SpySession.run(SpySession.java:351)
  | at org.jboss.jms.asf.StdServerSession.run0(StdServerSession.java:200)
  | at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:180)
  | at 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
  | at java.lang.Thread.run(Thread.java:534)
  | 


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

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


[jboss-user] [JBoss Messaging] - Re: import org.jboss.ejb3.mdb.ConnectionConfig??can't find t

2006-09-11 Thread [EMAIL PROTECTED]
How about posting your question on the EJB3 forum? 



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

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


[jboss-user] [JBossCache] - Re: Minimizing POJOCache impact on existing codebases

2006-09-11 Thread [EMAIL PROTECTED]
To answer your questions:

1. There are two ways to instrument your POJO: compile time (a la aopc) and 
load time (a la -javaagent option for special classloader). I believe 
Terracotta also uses the latter approach.

2. BTW, the proper PojoCache doc is under:
[url]http://labs.jboss.com/file-access/default/members/jbosscache/freezone/docs/1.4.0/PojoCache/en/html/index.html[\url].

3. If your POJO implements Serializable, then yes, it will fall back to the 
plain cache behavior. It is documented.


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

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


[jboss-user] [JBoss Messaging] - Re: Closing Consumer Causes Hang

2006-09-11 Thread [EMAIL PROTECTED]
I created a new bug report: http://jira.jboss.org/jira/browse/JBMESSAGING-542 
and added a test that currently fails 
(MiscellaneousTest.testClosingConnectionFromMessageListener())

The solution you propose has a drawback, though. If we allow the listener to 
close the connection within onMessage(), then postDeliver() won't be able to 
pass by session's ClosedInterceptor, which now is "closed", so we'll get an 
ERROR "Failed to deliver message" in the logs. It's harmless, but ugly. 


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

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


[jboss-user] [Installation, Configuration & Deployment] - Rolling over JBoss console log

2006-09-11 Thread ramdas
Hello

I am using JBoss AS 3.2.6. I have the JBOSS_CONSOLE set to redirect console 
output to a file. I have tried setting log4j configuration in the 
server/myapp/conf/log4j.xml file but it does not seem to work.
Where could i specify the rollover parameters for the console log file?

Thanks

Ramdas

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

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


[jboss-user] [JBoss jBPM] - Re: Help getting a condition to work

2006-09-11 Thread jbpmndc
try this:


  | 
  | 



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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Re: Clean up queues

2006-09-11 Thread genman
There is a JMX method, look for your destination on the console. Or consume all 
messages in a read loop.

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Re: Manually Acknowlegeing a message

2006-09-11 Thread genman
Use container MDB transactions and MessageDrivenContext.setRollbackOnly() if 
the POJO work fails. Don't manually ack messages in your MDB, that's the 
container's responsibility.

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Re: XStream XML JMS Message

2006-09-11 Thread genman
Probably. Easily tested by yourself.

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Re: MDB multiple queues

2006-09-11 Thread genman
You can reuse the same MDB class for multiple destinations. A single MDB object 
in memory, though, only listens to a queue at a time.

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

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


[jboss-user] [JBossWS] - Re: JSR -181 Start with WSDL and Java

2006-09-11 Thread stevenh
Hi Thomas, 
I can accept that wsdl generation only works for trivial use cases. The actual 
problem is how unpredictable the existing code generation is. 

My 3rd post in this thread show how changing a method name by one character can 
cause different wsdls.   I would not have expected any changes to the method 
names to have any effect on the wsdl given the operationNames attributes are 
specified. 

Steve. 



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

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


[jboss-user] [JBoss Portal] - Re: What happened to all my portlet windows?

2006-09-11 Thread AndrewBoyd
I went to using the default server and nothing changed.  I don't have portal 
windows any more.  At least it shows that it is not part of the server instance 
that is messed up.  Must be something with the app-server.

Any suggestions?

Andrew

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

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


[jboss-user] [Security & JAAS/JBoss] - Strange think!

2006-09-11 Thread kourkk
I correctly configured my web application to work with form authendication and 
also to manualy authendicate using loginContext.login(). I went for sleep, 
Iwake up and in my job I tested. It worked for one time and after that the 
loginContext.Login never worked again. I even reinstalled jboss nothing. I am 
sure I didn't changed nothing. Some how is using UserLoginModule instead the 
Database policy.I am stragling with this issue three days. I keep taking 

[UsersRolesLoginModule] Failed to load users/passwords/role files 
java.io.IOException: No properties file: users.properties or defaults: 
defaultUsers.properties found,

but i do not use this when I say LoginContext("myPolicy", handler)

In the forum I saw many postings with the exception:

[UsersRolesLoginModule] Failed to load users/passwords/role files 
java.io.IOException: No properties file: users.properties or defaults: 
defaultUsers.properties found,

but for different reasons. I think this is some kind a bug.

Does anyone nows something?

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

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


[jboss-user] [JBoss Seam] - Re: seam + ajax4jsf + facelets

2006-09-11 Thread adambrod
Actually, my stack trace is slightly different.  Here is the relevant part of 
the stack trace:


  | 2006-09-11 18:02:59,525 ERROR 
org.apache.myfaces.lifecycle.PhaseListenerManager - Exception in PhaseListener 
RESTORE_VIEW(1) afterPhase
  | java.lang.NullPointerException
  | at 
org.jboss.seam.contexts.PageContext.getCurrentReadableMap(PageContext.java:62)
  | at org.jboss.seam.contexts.PageContext.get(PageContext.java:52)
  | at 
org.jboss.seam.contexts.Contexts.lookupInStatefulContexts(Contexts.java:125)
  | at org.jboss.seam.Component.getInstance(Component.java:1245)
  | at 
org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44)
  | at 
org.apache.shale.tiger.faces.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:188)
  | at 
org.apache.shale.faces.ShaleVariableResolver.resolveVariable(ShaleVariableResolver.java:152)
  | at 
org.springframework.web.jsf.DelegatingVariableResolver.resolveVariable(DelegatingVariableResolver.java:108)
  | at 
org.apache.myfaces.config.LastVariableResolverInChain.resolveVariable(LastVariableResolverInChain.java:42)
  | at 
org.apache.shale.view.faces.ViewViewHandler.setupViewController(ViewViewHandler.java:285)
  | at 
org.apache.shale.view.faces.ViewViewHandler.createView(ViewViewHandler.java:130)
  | at 
org.apache.myfaces.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:143)
  | at 
org.jboss.seam.jsf.SeamNavigationHandler.handleNavigation(SeamNavigationHandler.java:35)
  | at 
org.apache.shale.dialog.faces.DialogNavigationHandler.handleNavigation(DialogNavigationHandler.java:196)
  | at 
org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersAfter(PhaseListenerManager.java:89)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.restoreView(LifecycleImpl.java:181)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:66)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
  | 

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Sun's BluePrints Sample (Progress Bar with JSF and AJAX) sam

2006-09-11 Thread lmikhailov
Hello everybody,

I am trying to make Sun's Progress Bar with JSF and AJAX Sample 
(https://bpcatalog.dev.java.net/nonav/ajax/progress-bar-jsf/frames.html) run on 
JBoss but it fails to draw the progress bar and skips to the last page without 
reporting any errors. 

The problem appears to be related to Myfaces implementation of JSF, because 
when this sample is deployed to Tomcat I observe the same behavior. It appears 
that Myfaces library does not behave correctly when used with AJAX.

I am using the default configuration of JBoss 4.0.4 and I have done all the 
steps required to run a JSF application on 4.0.4 version.

Thanks for the help.

Leonid


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

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


[jboss-user] [JBoss Seam] - Re: seam + ajax4jsf + facelets

2006-09-11 Thread adambrod
I am having this same problem.  I have configured Facelets correctly, but I get 
a NPE because PageContext's call to Lifecycle.getPhaseId() - that returns null.

Does anybody have any ideas for what could cause this?

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

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


[jboss-user] [JBoss Messaging] - Re: Configuring Destinations

2006-09-11 Thread [EMAIL PROTECTED]
Your whole ear needs to be scoped. 

Add a jboss-app.xml in your ear's META-INF. It should contain:


  | 
  | jboss.messaging:loader=ScopedLoaderRepository  
  |  
java2ParentDelegaton=false
  |
  | 
  | 
  | 

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

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


[jboss-user] [JBoss Seam] - Re: seam + ajax4jsf + facelets

2006-09-11 Thread adambrod
And this is from faces-config.xml

 
  | 
org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener
  |  

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

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


[jboss-user] [JBoss Seam] - Re: seam + ajax4jsf + facelets

2006-09-11 Thread adambrod
Here is the relevant part of web.xml


  | org.jboss.seam.servlet.SeamListener
  | 
  | 
  | 
  | 
  | Seam Redirect Filter
  | 
org.jboss.seam.servlet.SeamRedirectFilter
  | 
  | 
  | Seam Redirect Filter
  | Faces Servlet
  | 
  | 
  | 
  | 
  | Seam Exception Filter
  | 
org.jboss.seam.servlet.SeamExceptionFilter
  | 
  | 
  | Seam Exception Filter
  | Faces Servlet
  |  

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

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


[jboss-user] [JBoss Seam] - Questions on Seam's PAGE scope

2006-09-11 Thread CptnKirk
It isn't clear how page scoped resources are cleaned up.  They appear to 
survive multiple requests, however can be out of date and require a refresh() 
as indicated in the issues example ProjectFinderBean class.

Is it possible to set a page scope timout so that resources can be cleaned up 
in addition to providing a way to schedule data refreshes without user 
interaction?

The docs seem to imply that page scoped state is serialized back to the client, 
so maybe no data is being stored on the server.  This might aliviate memory 
related issues, but having a declarative way to time out this "page cache" 
would seem beneficial.  Am I missing a configuration option?

An example use case might be a stock quote.  A company may have an investors 
page that uses a third-party web service to lookup the company's stock price 
every 5 minutes.  This request should only be made once every 5 minutes, users 
shouldn't be able to refresh, and it should be easy to implement.  Seam + page 
scope + @Factory seems ideal here.  If you can time out the data that is.  
After the time out, the factory method would be called again, and round you go.

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

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


[jboss-user] [Beginners Corner] - Tutorial of EJB 3.0

2006-09-11 Thread aaronyeo22
have any EJB 3.0 related database (mysql or other) for add,update,delete 
function of JSP & servlet tutorial.

thanks

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

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


[jboss-user] [Installation, Configuration & Deployment] - Does run.bat & shutdown.bat files always exist on in JBoss i

2006-09-11 Thread hboss1
I wanted to confirm if run.bat & shutdown.bat files always exist in a JBoss 
4.0.4 installation on a windows OS. I would like to start & stop JBoss and was 
wondering if it is safe to assume that these batch files would always exist 
immaterial of whether JBoss was installed as a service or if it was installed 
as a winzip extract.

If the above files always exist, what would happen if JBoss was installed as a 
service and somebody uses shutdown.bat file to stop JBoss.

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

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


[jboss-user] [JBoss Seam] - Re: Scope/Context feedback

2006-09-11 Thread CptnKirk
Agreed, docs can always be better.  Although as far as OS projects go, these 
are pretty good.  I did a quick search for PAGE scope and found that the issues 
example uses it.  In particular the ProjectFinderBean.

The usage and design pattern seem to fit my guess from a previous post.  PAGE 
scope allows stateless controllers to outject and manipulate data relavant to a 
specific page (in this case a project search screen or something) across 
multiple requests.

If this use case or Seam doemo doesn't work for you, start a new problem 
specific thread.

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

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


[jboss-user] [Beginners Corner] - how to reset my jboss forum password.

2006-09-11 Thread hboss1
I would like to change my password used for login to the forum. How do I do 
this? I don't want to use Jboss.com generated password.

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

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


[jboss-user] [JBossCache] - Minimizing POJOCache impact on existing codebases

2006-09-11 Thread [EMAIL PROTECTED]
Okay so I've gone through the examples and they contain nothing useful for the 
use case that I'm trying to build. I don't want to use aopc - EVER. How do I 
configure JBossCache to take POJOs in a regular application where I have 
created a cache without having to tie my build process to JBossCache?

This documentation does not talk about adding objects at runtime to a cache:

http://labs.jboss.com/file-access/default/members/jbosscache/freezone/docs/1.4.0/TreeCache/en/html_single/index.html

I've seen references to PropertyConfigurator not needing to be defined as it 
will take defaults. What are the defaults? If I'm annotating a POJO, what else 
do I need to do to get it into the cache? The examples do not specify this 
without immediately falling into a variety of PropertyConfigurator information. 
If PropertyConfigurator setup required in order for us to get this stuff to use 
annotated POJOs?


  | package org.jboss.labs.jbosscache.model;
  | 
  | 
  | @org.jboss.cache.aop.annotation.PojoCacheable
  | public class Person
  | {
  | private String  firstName;
  | private String  lastName;
  | private Address address;
  | 
  | public String getFirstName()
  | {
  | return firstName;
  | }
  | 
  | public void setFirstName(String firstName)
  | {
  | this.firstName = firstName;
  | }
  | 
  | public String getLastName()
  | {
  | return lastName;
  | }
  | 
  | public void setLastName(String lastName)
  | {
  | this.lastName = lastName;
  | }
  | 
  | public Address getAddress()
  | {
  | return address;
  | }
  | 
  | public void setAddress(Address address)
  | {
  | this.address = address;
  | }
  | }
  | 

If its not as simple as putting this annotation there and running my 
application, why isn't it this simple or for that matter - why do I have to 
EVER annotate my POJOs at all?

>From what I can tell we either have to use a special classloader so that JBC 
>can bootstrap the classes properly, create an aop file to define a pointcut 
>and annotate an object.

Is there no approach where we can:

1) Not use a custom classloader

2) Have JBC annotate an entire object without having to go through the codebase 
and add annotations to everything (JBC can add/detect this annotation at 
runtime)

3) Not use aopc


At the very least we shouldn't have to annotate the pojo. If you get a pojo and 
you can't treat it in an AOP manner wouldn't it be better to fallback to 
treecache as opposed to exploding with the fury of a stracktrace?

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

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


[jboss-user] [JBoss Seam] - Re: Scope/Context feedback

2006-09-11 Thread texan
I agree about the training, and we'll probably get going on that before too 
long. Please don't mistake my post for a complaint about Seam itself - the more 
I learn the better I like it.  I was just thinking  that the reference manual 
could use a little clarification in certain areas based on my fumbling around 
with the technology.

Once I learned certain things (mentioned at the start of this thread), I found 
that if I re-read the manual a few times, I could sort of infer the conclusion 
that I reached the hard way.  However, the requests I made in this post are to 
help clarify areas that I think could use clarity.


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

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


[jboss-user] [JBoss Portal] - Re: Is the header a portlet?

2006-09-11 Thread PeterJ
No, you can turn off the decorations by using the emptyRenderer.  See my 
*-object.xml file in 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=89997 for an example.  
Just do for your portlet what I did for the navigation portlet.

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

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


[jboss-user] [JBoss Seam] - Re: Scope/Context feedback

2006-09-11 Thread CptnKirk
The given Seam examples and documentation isn't PhD work, or even that complex. 
 It does try and provide a complete example (non-trivial) and it does assume a 
certain foundation.

In the case of your team, can I suggest some training.  At least on JSF and 
Hibernate/JPA and then sprinkle in some EJB3 and Seam if available.  I believe 
that JBoss offers training on all of these technologes.  I have also had great 
experience with training from ArcMind.  You should be able to get up to speed 
in about a week.  The development team at my organization made a previous 
technology leap to the one you're making, and let me say that a week of on-site 
training (available for around $10-15k depending on size) was money very well 
spent.

>From there I'd start learning how Seam improves upon what's currently 
>available in the JSF/EJB3/JPA technology stack.

You'll see that @Factory and @Unwrap are not magic.  And you'll see how Seam 
can allow for a tremendious line of code reduction vs alternative best practice 
uses of JSF/EJB3/JPA.  In the end this should allow for much easier code 
readability and smaller modules.  Which all equals fewer calls on vacation.

I and others are always willing to help here on the forums, but to get the most 
of out what we're saying about Seam I think training in other areas would go a 
long way.  At the very least you'd no longer be trying to learn 5 things at 
once, and could focus on doing Seam well.



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

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


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

2006-09-11 Thread [EMAIL PROTECTED]
Chris is right, myfaces is v. 1.1.1, but for future reference you can check here
http://anonsvn.jboss.org/repos/portal/trunk/build/build-thirdparty.xml

rali

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

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


[jboss-user] [JBossWS] - Re: ejb3.0 implementation production ready?

2006-09-11 Thread sursha
Great to hear that you are using ejb3 in production. I'm interested in exposing 
ejb3 stateless session beans as web services using annotations. Did you use 
this annotated way of exposing ejbs as web services?  when you stateless 
session beans as web services, can they also be accessed from a remote java 
client using RMI/IIOP?




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

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


[jboss-user] [JBoss jBPM] - deploying actions --org.jbpm.graph.def.DelegationException

2006-09-11 Thread jmjava
i can deploy Actions with my process defintion but when i include the files in 
my .war i get an org.jbpm.graph.def.DelegationException - it can't find my 
class.

Where do you put your classes?  and for that matter the .jars they depend on?  

-jm

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

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


[jboss-user] [Beginners Corner] - Hypersonic to Derby for JBossMQ

2006-09-11 Thread jpersson
Hi,
I am trying to remove Hypersonic as the backbone for the JBossMQ and replace it 
with Derby. Using the "Changing the database used by JBossMQ" found at 
(http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigJBossMQDB), with no luck. 
Getting confused about the 'deploy' catalog and the 'deploy-hasingleton' 
catalog for jms configuration. Why is the jms configuration is the 
'deploy-hasingleton' and can I change that to the 'deploy' catalog?

When setting up Derby there is files missing for the MBean DerbyDatabase in the 
sample Derby-DS.xml found in the sample directory. I downloaded JBoss source 
and to built it, found a derby-plugin.jar this contains the missing 
DerbyDatabase and I think the Derby-DS.xml is all set now.

Is there a successful JBossMQ + Derby database configuration out there?

Thanks in advance



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

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


[jboss-user] [JBoss jBPM] - Workflow Execution

2006-09-11 Thread mduarte
Hi all, 

  is there any way to block my execution during the process instance execution?

  It is like: I have a method that creates a process instance, this method will 
wait until the process instance finish and return a value to get some value 
calculated by the process and continue the execution.

tks



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

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


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

2006-09-11 Thread [EMAIL PROTECTED]
1.1.1 if I am not mistaken.

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

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


[jboss-user] [JBoss jBPM] - Help getting a condition to work

2006-09-11 Thread earniedyke
Greetings all

I have been trying all day to get, what I think, is a simple process to work. I 
can never get it to think the account is NOT locked. No matter what value I set 
the locked variable to it always takes the default transition. I have tried 
every style of condition I could find referenced in this forum all to no avail.

Any and all help would be appreciated.

Earnie!

processdefinition.xml

  | 
  | 
  |
  |   
  |
  |
  |
  |   
  |   
  |
  |   
  |
  |
  |
  |   Is
  | 
  |   
  |
  |
  | 
  |Is NOT
  | 
  | 
  |
  | 

test case:
package com.sample;
  | 
  | import java.io.FileInputStream;
  | 
  | import junit.framework.TestCase;
  | 
  | import org.jbpm.*;
  | import org.jbpm.graph.def.ProcessDefinition;
  | import org.jbpm.graph.exe.ProcessInstance;
  | 
  | public class SimpleProcessTest extends TestCase {
  | public void testSimpleProcess() throws Exception {
  | JbpmConfiguration cfg = JbpmConfiguration.getInstance();
  | JbpmContext ctx = cfg.createJbpmContext();
  | try {
  | FileInputStream fis = new 
FileInputStream("processes/test2/processdefinition.xml");
  | ProcessDefinition processDefinition = 
ProcessDefinition.parseXmlInputStream(fis);
  |ctx.deployProcessDefinition(processDefinition);
  |
  | ProcessInstance instance = 
ctx.getGraphSession().findLatestProcessDefinition("test2").createProcessInstance();
  | 
  | instance.getContextInstance().setVariable("locked","N");
  |
  | instance.signal();
  | 
System.out.println(instance.getContextInstance().getVariable("message") + " 
Locked? " + instance.getContextInstance().getVariable("locked"));
  | } finally {
  | ctx.close();
  | cfg.close();
  | }
  | }
  | 
  | }
  | 

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

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


[jboss-user] [JBoss Seam] - Re: TROUBLE RUNNING BOOKING EXAMPLE ON TOMCAT

2006-09-11 Thread igorarbizu
OK,  something's WRONG in the 1.0.1 GA distribution, I tried with 
\jboss-seam-CVS.20060910 and worksa  waste of time

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - MDB multiple queues

2006-09-11 Thread jpersson
Hi,

Is it possible to have an MDB listening for multiple queues?



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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: [JDBCExceptionReporter] java.net.SocketException: Broken

2006-09-11 Thread sreepraveen_2000
taken from the jboss documentation 

check-valid-connection-sql: This is a SQL statement that should be run on a 
connection before it is returned from the pool to test its validity to test for 
stale pool connections. An example statement could be: select count(*) from x.

this attribute needs to be added in your ds file.


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

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


[jboss-user] [JBoss Seam] - Re: Scope/Context feedback

2006-09-11 Thread texan
While I have to agree with you that the blog example does use this, it's not 
exactly the best way to show it.That is, that example is showing an 
already-complicated flow of control and it hard to compare that with more 
straightforward code.

Although I do use the pull approach for one of my pages that doesn't need any 
inputs, I wouldn't dream of using the RESTful approach as shown in the tutorial 
(bookmarkable search results).  What I mean is, I want to be able to take 
vacations and count on the fact that my peers can decipher the flow of the 
application without calling me.

I think it's great that this kind of stuff exists, but it's hard enough to read 
other people's code without having to figure out the magic of @Factory and 
@Unwrap code.  Maybe as we use Seam a little more, we'll start taking advantage 
of more sophisticated features and will laugh at how closed-minded we were 
"back then", but for now, we have to keep it simple so we can keep our heads 
above the rising flood of new technology.

We're all from a Struts/JSP background and are struggling to absorb 
JSF/MyFaces, Facelets, Seam, and EJB3 all at once.  The chain of events went 
like this:

1. Struts is just plain old news: I hear that JSF 1.2 was released and is much 
improved.
2. Supposedly, 1.2 solves "all the hassles" that caused us to ignore JSF for 
years
3. Oops, 1.2 fixed some problems, but JSF is still really messy due to the XML 
configuration complexity and other hassles.
4. Hey, I hear that JBoss released this Seam thing that is supposed to make JSF 
development more intuitive.
5. Wow, it's amazing how much configuration and glue Seam eliminates, and it 
provides some new features as well that aren't really provided elsewhere.
6. What the [EMAIL PROTECTED] ???  Did you see what they said about EJB3 in the 
Seam manual?  We just ignored the EJB articles because it was always too 
clumsy, but now it's awesome!
7. Unbelievable, look what they did with Entity Beans!  About damn time.
8. Okay, we'll use JSF, Seam, and EJB3
9. Man, JSPs still kind of suck, but the Seam tutorial and some examples use 
this Facelets thing that eliminates JSP and adds some templating featues.  
Okay, we'll use that too.
10. Well, the JSF data table is okay, but I hear that MyFaces has a nicer 
version with sorting and paging.  Okay, we'll use that too, and we'll get some 
of the other MyFaces features we've heard about.
11. And here we are, learning it all at once.


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

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


[jboss-user] [Messaging, JMS & JBossMQ] - XStream XML JMS Message

2006-09-11 Thread jpersson
Hi,
Using XStream (http://xstream.codehaus.org) for creating an XML payload for a 
TextMessage from within an MDB. The XML payload carried within the TextMessage 
is actually an ObjectMessage XStream'ed (marshalled) to XML. The MDB is a 
router between two queues in JBoss. Incoming queue is for ObjectMessage's and 
outgoing queue is only supporting TextMessage's (Apache Servicemix ESB), 
therefor we are trying to deliver an ObjectMessage as XML within a TextMessage. 
When the TextMessage is delivered to the other product (Apache Servicemix ESB) 
we can apply transformers and recreate (unmarshall) the XML/ObjectMessage.

We are not shure about this approach since it is the JBoss implementing class 
for the interfaces javax.jms.TextMessage and javax.jms.ObjectMessage, that the 
XStream marshaller operates on. Will it be compatible?


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

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


[jboss-user] [JBoss jBPM] - Re: Node events not getting fired?

2006-09-11 Thread jmjava
i do have a class i just was not pointing to it :)



  |   
  | 
  |   
  | 
  | 
  | 
  |   
  | 
  |  
  |  
  | System.out.println("Event was fired to node-leave on create new 
web sale order");
  |  
  |  
  |   
  | 
  |   
  | 

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

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


[jboss-user] [JBoss Portal] - Portal 2.4

2006-09-11 Thread jewhit
All -

what version of myfaces comes with portal 2.4 GA ?

thanks
JW

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

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


[jboss-user] [JBoss jBPM] - Re: Node events not getting fired?

2006-09-11 Thread arjakki
Hi ,

Just want to know what is action1 in the action tag. I think  you need 
to have some Class that implements ActionHandler , which get's called when 
leaving the start-state node

jbpmproto.EmailNotificationAction
  |   

e.g.

jbpmproto.EmailNotificationAction
 

In this case MyActionHandler gets executed when leaving a node.




Thanks
arjakki

  

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

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


[jboss-user] [JBoss jBPM] - Node events not getting fired?

2006-09-11 Thread jmjava
I have altered the demo app to trigger an action on leave-node


  | 
  |   
  | 
  | 
  | 
  |   
  | 
  |  
  |  jbpmproto.EmailNotificationAction
  |   
  | 
  |   
  |   


but the Action is never getting called when i leave via the transition.  

Is there something wrong with my syntax? 


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

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


[jboss-user] [JBoss Portal] - Re: Is the header a portlet?

2006-09-11 Thread AndrewBoyd
If I write a portlet won't it have window directorations?

Thanks,

Andrew

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

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


[jboss-user] [JBossWS] - Re: JbossXB bindings

2006-09-11 Thread mauro.mellino
Or even better:

perhaps someone can explain how I can plug in my own serializers to the 
framework. e.g. like in Axis where you can get hold of the TypeMapping registry 
??

Many thanks

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

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


[jboss-user] [JNDI/Naming/Network] - Re: Lost datasource

2006-09-11 Thread kourkk
I have the same problem did you found the solution?

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

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


[jboss-user] [JBoss Seam] - Re: TROUBLE RUNNING BOOKING EXAMPLE ON TOMCAT

2006-09-11 Thread igorarbizu
So, nobady who has been able tu run the booking app on tomcat with the embedded 
microcontainer can help?

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

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


[jboss-user] [Installation, Configuration & Deployment] - [JDBCExceptionReporter] java.net.SocketException: Broken pip

2006-09-11 Thread redijedi
Not sure if this is the right forum, but I'm hoping for some configuration 
setting to alleviate this problem. So...

JBoss 4.0.3SP1
EJB3-RC4

We have a two JBoss installs that use EJB3s. Our db is clustered. At times our 
db fails over. When this happens JBoss' connections get all weird (technical 
term). We start seeing the following exceptions in the logs:

10:52:46,385 ERROR [JDBCExceptionReporter] java.net.SocketException: Broken pipe

This happens for a long time after the db recovers. So long that we usually 
just restart JBoss. This works, but is a royal pain. It seems as if JBoss is 
not clearing the pool of invalid/corrupt/etc connections. Is there any setting 
that will cause JBoss to purge the connection pool of these bad connections and 
acquire new ones when such a situation occurs?

Thanks,
T

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

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


[jboss-user] [Installation, Configuration & Deployment] - can jboss use same classloader for a sar and war

2006-09-11 Thread sreepraveen_2000
Lets say we have two archives X.sar and Y.war. The Y.war is inside X.sar. The 
folder structure is something like this.

  | X.sar
  |   --META-INF
  |--jboss-service.xml
  |   --Y.war
  |  --WEB-INF
  | --lib
  | 
One of the services specified in jboss-service.xml of X.sar needs to use 
classes present in the lib folder of the Y.war. I want to use the same 
classloader for X.sar and Y.war.
For example if there is a singleton class there should be only one object which 
is shared between the X.sar and Y.war.

Any help would be greatly appreciated.


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

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


[jboss-user] [JBoss jBPM] - Re: Beginner: invoce web services from process: Hello, ATM,

2006-09-11 Thread bertrand.njiipwo
Hi Alex,

sorry because ot  the wating time for my answer. So after consulting my tutors  
they is no and seems to be no problem because of copyright and so one  

If there is no restriction from activeBPEL  using a modificated version of the 
loanRequest from my one side you have green ! and it will be nice to see that 
this example helps other new users understanding this new technologie.

Best Regard 


Bertrand



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

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


[jboss-user] [Security & JAAS/JBoss] - getAuthenticationCachePrincipals always returns empty list

2006-09-11 Thread cdecarlo
Hi,

We have a Swing based GUI application that connects to a JBoss EJB server and 
we need to know if a user is already logged into the server.  I'm looking at 
the getAuthenticationCachePrincipals method in the JMX bean JaasSecurityManager 
to return me a list of authenticated users.  I've got the code working O.K. but 
the method always returns me an empty list.  

  | MBeanServerConnection server = 
MBeanServerConnection)ctx.lookup("jmx/rmi/RMIAdaptor");
  | 
  | ObjectName jaasMgr = new 
ObjectName("jboss.security:service=JaasSecurityManager");
  | 
  | Object[] params = {p_strSecurityDomainName};
  | 
  | String[] signature = {"java.lang.String"};
  | 
  | List users = (List) server.invoke(jaasMgr, 
"getAuthenticationCachePrincipals", params, signature);

I have double checked that the DefaultCacheTimeout is set to a non zero value.  
We are using a custom login module which extends the 
UsernamePasswordLoginModulewe are calling the super methods everywhere as 
well.   Here is the entry in the login-config.xml file for our domain.


  | 
  | 
  | UCMS-LC
  | lccmsUser
  | false
  | 
  | 
  | 
  | 
Anybody ever get this method call working successfully?

Thanks,

Cliff


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

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


[jboss-user] [JBoss Portal] - Re: User Input Req for 2.6 Usability and UI enhancements

2006-09-11 Thread [EMAIL PROTECTED]
Yes, I think Chris was speaking in the context of the code I checked in to 2.6. 
It currently uses the word "Edit" for editMode and "Cancel" to return to 
viewMode.

This is managed via the css, so you can use icons if you still want to. Just 
know that the default theme will have text for edit/view modes.

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

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


[jboss-user] [JBoss Seam] - Re: Scope/Context feedback

2006-09-11 Thread CptnKirk
Take a look at the RESTful section in the documentation and the blog example 
for tips on your "mostly stateless" apps.

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

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


[jboss-user] [JBoss Seam] - Re: Drop Down Menu Using Seam and Facelets

2006-09-11 Thread CptnKirk
Take a look at the Seam wiki.  There are a couple third-party selectItems 
DataBinders there.  These will let you take a list returned from your DB and 
use it within your JSF menu.

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

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


[jboss-user] [JBoss Seam] - Scope/Context feedback

2006-09-11 Thread texan
Just a followup from my adventures with 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=90169.  My root 
problem turned out to be the Seam practice of redirecting to the displayed page 
when you return the page itself from your action (see below).  My reading of 
the reference manual led me to believe that Seam passed ALL of the contextual 
information to the view, even when there was a redirect.  While it didn't 
really make sense to me that request (EVENT scope) data would survive a 
redirect, I had concluded that Seam was doing some sort of magic to accomplish 
this.  I have now concluded that I was wrong.

I was returning the actual view path from my action methods, like 
"/Document.xhtml".  As mentioned in the manual, this does a redirect to the 
page.  Because of that, the only data that gets preserved is the stuff stored 
in the session or application context (including long running conversations).

I imagine most of you are saying "well, duh" about now, but I really did 
believe that Seam was magically taking care of all this!  And the Seam examples 
reinforced my beliefs simply because they tend to promote the Conversation 
feature of Seam, which stores stuff in the Session, or provide stateless 
actions with SESSION scoped beans.

Anyway, the solution for me was to define "navigation-case" entries for my 
pages WITHOUT the "redirect" tag included, like this:


  | 
  | 
  | document
  | /Document.xhtml
  | 
  | 

I love the conversation idea for things like editing data, where there's a well 
defined entry and one or more exit points to a workflow.  However, most of the 
rest of my app is made up of "open ended" conversations.  Many requests are a 
typical example of an old CMP style request, where there is no need to store 
state between requests, and it's impractical to do so because of memory usage 
on the server.  Maybe this is a reflection of imposing the old architecture, 
but for the most part the workflow is driven by business requirements.

Now that I understand more of the details of how scope works (and have stumbled 
over the obvious fact that redirects wipe out a lot of state), I can easily mix 
SESSION, EVENT, and CONVERSATION scoped objects and actions into my app.

In terms of the reference manual, I would like to request the following:

1. Add a new example (or revamp an existing one) to highlight the "mostly 
stateless" situation, where an incoming request (maybe with a request variable) 
triggers a database query and the results are passed to the view, without any 
SESSION or CONVERSATION scoped objects.  There may already be an example of 
this in the existing code, but I couldn't find it.  There was always either a 
conversation involved or the bean that was returned had SESSION scope.

2. Add more description around the scope types.
a. Make it clear that EVENT scope doesn't survive a redirect (even though that 
should have been obvious to me).
b. Explain the difference between CONVERSATION scope while you're IN a 
conversation, vs. when you're not [when you're not, it also doesn't seem to 
survive the redirect, since the implicit conversation wasn't long running].
c. Explain what PAGE scope is and what it does, maybe with examples.  The 
description itself doesn't tell me how to USE this scope, or how it differs 
from other scopes.

3. Describe the relationship between an action's scope and the use an extended 
persistence context.
a. What are the requirements on action scope (I assume you need a long running 
conversation or possibly session scope)
b. What are the advantages of the extended persistence context?  Maybe it's 
just a performance optimization, but it seems like it's no different that 
executing "em.merge" with the entity bean.
c. What are the consequences of using an extended persistence context?  Does it 
keep a JDBC connection open?  (I assume not.)  What happens if the action's 
context expires?



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

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


[jboss-user] [JBoss jBPM] - Re: BPEL workflow - who to determine whats the next step?

2006-09-11 Thread javilaalonso
HI,
Thank you for your answer. I really understand the differences between BPEL and 
jbpm and Bpel is my choice since I want to get Web services orchestration. 

The problem is that it seems to me that jbpm is much more developped and many 
of the features ::: 
  - user task assignaments
  - web console in order to know in where we are in the process
 etc...
are only developped for jbpm..

I also wonder which functions of jbpm can I reuse ?

Any help on that ? Any documentation on that ?

Another student.


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

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


[jboss-user] [Clustering/JBoss] - JBAS-3639 -- Lookup fails duringfailover

2006-09-11 Thread [EMAIL PROTECTED]
Please confirm that your service makes more than one attempt to find the 
connection factory.  The factory gets bound to JNDI as part of the failover of 
the HA-JMS service.  HA-JMS is also running as an HA singleton.  If your mbean 
does the lookup before the deployment of HA-JMS is complete, you'll get an NNFE.

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

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


[jboss-user] [JBoss Seam] - Re: Getting Conversation Id in javascript. Is there a better

2006-09-11 Thread nicola9000
"sbryzak2" wrote : 
  |   | 
  |   |   Seam.Remoting.getContext().setConversationId(#{conversation.id});
  |   | 
  |   | 

:-)  tk




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

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


[jboss-user] [JBoss Seam] - Drop Down Menu Using Seam and Facelets

2006-09-11 Thread jcranwellward
Can anyone tell how to implement a drop down menu from a database query using 
seam and facelets?

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

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


[jboss-user] [JBoss Portal] - Re: User Input Req for 2.6 Usability and UI enhancements

2006-09-11 Thread dhartford
anonymous wrote : 
  | - edit mode should use icon, not text: using text is not consistent, takes 
too much space and can cause problems with respect to internalization
  | 
  | No. When we had icon, users were confused.
  | 

Icons would work well, once users understood what the icon meant (i.e. 
internationalized hover-tags).

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

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


[jboss-user] [EJB 3.0] - persistence.xml: tag

2006-09-11 Thread Juergen.Zimmermann
In persistence.xml there is a tag  to specify JAR files with 
additional "EJB3" classes. It looks like these JAR files are expected to be in 
$JBOSS_HOME/bin.

Is there a possibility to specify that a JAR file is encapsulated in a deployed 
EAR file?

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

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


[jboss-user] [JNDI/Naming/Network] - client libraries to connect to jboss 4.0.3

2006-09-11 Thread litalh
Hi all,
I'm trying to connect to jboss version 4.0.3. Since I'm using its client 
libraries I've replaced them with the ones sutiable for version 4.0.3.
The list is as follows:

jboss-client.jar
jboss-common-client.jar
jboss-j2ee.jar
jboss-remoting.jar
jbosssx-client.jar
jboss-transaction-client.jar
jmx-client.jar
jmx-invoker-adaptor-client.jar
jnp-client.jar

This list of jars work great for jboss 4.0.2 but with 4.0.3 I get the following 
exception:
javax.naming.CommunicationException [Root exception is 
java.io.InvalidClassException: org.jboss.invocation.InvokerInterceptor; unable 
to create instance]

do you know if I should add another jar ? and if so which one ?
do you think there is another problem?
(I also tried to use jbossall-client.jar but it didn't work...)

Thanks,
Lital

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Configuring custom naming service port in Eclipse IDE

2006-09-11 Thread heapifyman
Hello.

I've changed the naming server port in 
/server/all/conf/jboss-service.xml  of my JBoss 4.0.4, since I was 
getting these enerving error messages that port 1099 was already in use 
(although sometimes netstat told me that port 1099 was really NOT in use).
However, I couldn't find a way to change the port in my JBoss Eclipse IDE (2.0 
alpha under Eclipse 3.2) settings so now everytime I try to shutdown the server 
via Eclipse I get a NamingException, because there's no connection possible to 
port 1099.

I've tried Google and searched in the forum here, but couldn't find any hint.
Could someone please give me a link to some documentation or something?

Thanks in advance,
Philip

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

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


[jboss-user] [JBoss Portal] - Re: JSF Sun Creator2 and Jboss portal

2006-09-11 Thread oliveirad
Well, after the second round I found the solution.

on Marco Weblog

http://blogs.sun.com/marcoscorner/entry/creator_2_portlet_in_jboss

You have to remove the WEB-INF/lib/jsf-api.jar and the WEB-INF/lib/portlet.jar

Cheers,

David O

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

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


[jboss-user] [Security & JAAS/JBoss] - Mixing Axis (BASIC) and web browser (form-based) authenticat

2006-09-11 Thread mjhammel
I'm pretty new to Java/JBOSS (I'm a C developer by trade), so forgive me if 
some of what I say seems nonsensical.

Background:
I've got an application running under JBOSS 4.0 that requires both browser 
based and remote Java client based logins.  I've got the browser based 
interfaced working using forms-based authentication.  When I log out, the 
logout is complete and any attempts to access another page takes me back to the 
login page.  That's exactly what I want.  If I switch this to BASIC 
authentication then the browser can cache the session info and get back in 
after the logout invalidates it without forcing the user to login again.  
That's not acceptable, so the form-based authentication appears to be what I 
want for the browser based interface into the application.

I also have a standalone client built using Axis that needs to log into the 
same server.  It originally was written to work with BASIC authentication.  
Switching to form-based authentication broke it.  I've read what feels like a 
bazillion web pages (including the security FAQ here and the JBOSS 4.0 manual) 
and it appears AXIS only supports BASIC authentication and one other 
certificate-based type that (according to the JBOSS manual) nobody really uses. 
So if I want to build a standalong application using an RPC-over-SOAP interface 
I'll need to use BASIC authentication.

Questions:
As far I can tell I can't mix the two types of authentication for a single 
JBOSS application, can I?  If I put two login-config sections in the web.xml 
then the JBOSS server prints error messages that I can't yet decipher.

I inherited the project and the use of Axis (or at least some kind of RPC 
mechanism) is desirable by the project team.  Is there some other way to do RPC 
from the standalone Java client to the application running in JBOSS?

I considered dropping the RPC requirement and integrating our client with JDIC 
in order to do desktop related things and still access the server via a browser 
interface.  How feasible does this sound?  I need the client to be able to pass 
files back and forth to the JBOSS application, potentially very large files.  
Of course, I wasn't able to build JDIC on FC5, but that's a problem I can 
eventually resolve, if it's worth my time investigating further.



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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Obfuscate

2006-09-11 Thread PeterJ
I think what you want to do is precompile the JSPs.  Basically, you precompile 
the JSPs and obfuscate them.  Package the resulting class files in the same war 
file with the rest of the classes of the application (I think you omit the JSPs 
- don't place then in the war file).  Deploy the war to JBoss. Google 
"precompiled jsps jboss" and you will get a lot of hits and more detailed 
instructions.

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

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


[jboss-user] [JBoss Seam] - Re: MyFaces Tomahawk schedule component does not work.

2006-09-11 Thread gus888
You need to add something according to following codes, or refer to 
http://www.nabble.com/Schedule-component%2C-mouseListener-is-not-triggered-At-all-tf2213732.html

public class ScheduleComponentHandler extends HtmlComponentHandler {
  | //private static final Log logger = 
LogFactory.getLog(ScheduleComponentHandler.class);
  |
  | private static final String RENDER_ZERO_LENGTH_ENTRIES_ATTRIBUTE_NAME = 
"renderZeroLengthEntries";
  | private static final String MOUSE_LISTENER_METHOD_ATTRIBUTE_NAME = 
"mouseListener";
  | private static final String EXPAND_TO_FIT_ENTRIES_ATTRIBUTE_NAME = 
"expandToFitEntries";
  |
  | public ScheduleComponentHandler(ComponentConfig tagConfig) {
  | super(tagConfig);
  | }
  |
  | protected MetaRuleset createMetaRuleset(Class type){
  | MetaRuleset m = super.createMetaRuleset(type);
  | m.addRule(new MethodRule(MOUSE_LISTENER_METHOD_ATTRIBUTE_NAME, 
null, new Class[] {ScheduleMouseEvent.class }));
  | return m;
  | }
  |
  | @Override
  | protected void onComponentCreated(FaceletContext context, UIComponent 
component, UIComponent parent) {
  | if (getAttribute(RENDER_ZERO_LENGTH_ENTRIES_ATTRIBUTE_NAME) != 
null) {
  | 
component.getAttributes().put(RENDER_ZERO_LENGTH_ENTRIES_ATTRIBUTE_NAME, 
getAttribute(RENDER_ZERO_LENGTH_ENTRIES_ATTRIBUTE_NAME).getObject(context));
  | }
  |
  | if (getAttribute(EXPAND_TO_FIT_ENTRIES_ATTRIBUTE_NAME) != null) {
  | 
component.getAttributes().put(EXPAND_TO_FIT_ENTRIES_ATTRIBUTE_NAME, 
getAttribute(EXPAND_TO_FIT_ENTRIES_ATTRIBUTE_NAME).getObject(context));
  | }
  | }
  | }--tomahawk.taglib.xml
  | ...
  | 
  | schedule
  | 
  | org.apache.myfaces.Schedule
  |  org.apache.myfaces.Schedule
  | 
com.genchik.componenthandlers.ScheduleComponentHandler
  | 
  | 

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

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


[jboss-user] [EJB 3.0] - Re: jboss port

2006-09-11 Thread micho
thanks & sorry for the wrong forum

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

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


[jboss-user] [Installation, Configuration & Deployment] - freebsd 6.1+ jboss 4.0.3SP1

2006-09-11 Thread Tadas
Hello,

I am trying to run jboss on freebsd. Installation was successfull but then i 
try to run i get an exception:

17:43:13,016 INFO  [Server] Starting JBoss (MX MicroKernel)...
17:43:13,017 INFO  [Server] Release ID: JBoss [Zion] 4.0.3SP1 (build: 
CVSTag=JBoss_4_0_3_SP1 date=200609111656)
17:43:13,019 INFO  [Server] Home Dir: /usr/local/jboss4
17:43:13,019 INFO  [Server] Home URL: file:/usr/local/jboss4/
17:43:13,019 INFO  [Server] Patch URL: null
17:43:13,019 INFO  [Server] Server Name: default
17:43:13,020 INFO  [Server] Server Home Dir: /usr/local/jboss4/server/default
17:43:13,020 INFO  [Server] Server Home URL: 
file:/usr/local/jboss4/server/default/
17:43:13,020 INFO  [Server] Server Temp Dir: 
/usr/local/jboss4/server/default/tmp
17:43:13,020 INFO  [Server] Root Deployment Filename: jboss-service.xml
17:43:13,424 INFO  [ServerInfo] Java version: 1.5.0-p2,Sun Microsystems Inc.
17:43:13,424 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 
1.5.0-p2-root_11_sep_2006_13_01,Sun Microsystems Inc.
17:43:13,444 INFO  [ServerInfo] OS-System: FreeBSD 6.1-RELEASE,i386
17:43:14,138 INFO  [Server] Core system initialized
17:43:17,385 INFO  [WebService] Using RMI server codebase: 
http://wf.networksolutions.com:8083/
17:43:17,495 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: 
resource:log4j.xml
17:43:18,005 INFO  [NamingService] Started jndi bootstrap jnpPort=1099, 
rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, 
Server [EMAIL PROTECTED]
17:43:21,369 INFO  [EJB3Deployer] Default persistence.properties: 
{hibernate.transaction.flush_before_completion=false, 
hibernate.jndi.java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces,
 hibernate.transaction.auto_close_session=false, 
hibernate.jndi.java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory,
 hibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProvider, 
hibernate.transaction.manager_lookup_class=org.hibernate.transaction.JBossTransactionManagerLookup,
 hibernate.dialect=org.hibernate.dialect.HSQLDialect, 
hibernate.query.factory_class=org.hibernate.hql.ast.ASTQueryTranslatorFactory, 
hibernate.hbm2ddl.auto=create-drop, 
hibernate.connection.datasource=java:/DefaultDS, 
hibernate.connection.release_mode=after_statement}
17:43:21,380 ERROR [SocketServerInvoker] Error starting ServerSocket.  Bind 
port: 3873, bind address: /205.178.189.131
17:43:21,380 ERROR [Connector] Error starting connector.
java.net.BindException: Can't assign requested address
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
at java.net.ServerSocket.bind(ServerSocket.java:319)

. skipped.

and where this ip address cames from 205.178.189.131  :-/?

Any ideas?

Thanks.

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

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


[jboss-user] [JBoss Messaging] - Re: Messaging client hangs on exit

2006-09-11 Thread PeterJ
Ooops, I goofed.  I am using JBoss Messaging 1.0.1 CR4.

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Installer for 4.0.5.CR1

2006-09-11 Thread [EMAIL PROTECTED]
Paolo,

if you set jbossws.version=1.0.3.GA in version.properties, installer will pick 
up WS 1.0.3.GA. This has just been checked in, so you can just update, delete 
output\unzip-marker and re-build installer.

-Alex

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: XMLLoginConfig: JMX Updating

2006-09-11 Thread [EMAIL PROTECTED]
Maybe you can write an XMBean that interacts with the XMLLoginConfig and uses 
standard JMX persistence. You should expose the xmbean to your GUI application.

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

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


[jboss-user] [JBoss Seam] - Re: MyFaces Tomahawk schedule component does not work.

2006-09-11 Thread sidragon
Alright, this is completely misfiled.  It has nothing to do with Facelets and 
certainly nothing to do with Seam.  The problem was a classloader issue.  The 
schedule component checks that the input is an instance of ScheduleModel.  Of 
course, if that interface is being loaded by two different contexts, they will 
not match.  If that happens, well, the following code speaks for itself.

public ScheduleModel getModel()
  | {
  |   if (getValue() instanceof ScheduleModel)
  |   {
  | return (ScheduleModel) getValue();
  |   }
  |   else
  |   {
  | return new SimpleScheduleModel();
  |   }
  | }

On a side note, I positively hate this silent failure behavior.  My apologies 
for dumping this nonsense in the wrong place.

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

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


[jboss-user] [JBoss Seam] - Re: Seam in production (Tomcat, JSF RI, Hibernate, Tomahawk,

2006-09-11 Thread bfo81
Die you have this problem: 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=90343(Exception "Local 
server is not initialized)?
If yes, how did you solve it?

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

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


[jboss-user] [EJB 3.0] - Are EntityListener's part of the transaction...

2006-09-11 Thread mfishman
Hi,

I have some code where I have a EJB3 entity bean with an EntityListener on it.  
In my post methods in the EntityListener (e.g. postPersist, postRemove, 
postUpdate) a handler attempts to serialize the entity bean and transfer it to 
a remote location.  During the deserialization at the remote location, I get a 
ClassCastException related to the org.hibernate.collection.PersistentBag class. 
   My assumption was that hibernate would not be involved at this point.  That 
the EntityListener methods would be executed after the transaction had 
completed and thus the entity would be detached and hence a standard POJO 
again.  Is this not true?  I tried to find anything about transactions and 
EntityListeners in the spec and I did not see anything one way or the other on 
the subject.  I am sorry if I am just missing it.

Thanks.

-- Mark

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

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


[jboss-user] [EJB 3.0] - ObjectDeletedException: deleted entity passed to persist:

2006-09-11 Thread barnaby33
I am getting this error when trying to remove an entity, that I just previously 
loaded(as in the line before).

Find find = new Find(inUserGrpFacility);
getExecMgr().executeEntityManaged(find);
System.out.println("usergroup exists="+ (find.getResult() 
!= null));
getExecMgr().executeEntityManagedTx(new 
Remove(inUserGrpFacility));

The output of the print statement is: usergroup exists=true
Basically my find and remove calls are just custom command pattern wrappers on 
the entity manager find and remove methods.  The UserGroupFacility class and 
its embedded key class are included below. Assuming that the find works, I am 
thinking that there is a bug because the remove is throwing the exception in 
the title of my message. Are there any known issues with removing entities with 
composite keys?

/**
 * UserGrpFacility generated by hbm2java
 */
@Entity
@Table(name="USER_GRP_FACILITY"
,schema="SUPPORT"
,catalog="C_TOWER"
, uniqueConstraints = {  }
)
public class UserGrpFacility  implements java.io.Serializable {

// Fields

 private UserGrpFacilityId id;
 private Facility facility;

 // Constructors

/** default constructor */
public UserGrpFacility() {
}

/** full constructor */
public UserGrpFacility(UserGrpFacilityId id, Facility facility) {
   this.id = id;
   this.facility = facility;
}


// Property accessors
 @EmbeddedId
@AttributeOverrides( {
@AttributeOverride(name="userGrpGuid", [EMAIL 
PROTECTED](name="USER_GRP_GUID", unique=false, nullable=false, insertable=true, 
updatable=true) ),
@AttributeOverride(name="facilityId", [EMAIL 
PROTECTED](name="FACILITY_ID", unique=false, nullable=false, insertable=true, 
updatable=true, precision=18, scale=0) ) } )
public UserGrpFacilityId getId() {
return this.id;
}

public void setId(UserGrpFacilityId id) {
this.id = id;
}

@ManyToOne(
fetch=FetchType.EAGER)
@JoinColumn(name="FACILITY_ID", unique=false, nullable=false, 
insertable=false, updatable=false)
public Facility getFacility() {
return this.facility;
}

public void setFacility(Facility facility) {
this.facility = facility;
}


/**
 * UserGrpFacilityId generated by hbm2java
 */
@Embeddable
public class UserGrpFacilityId  implements java.io.Serializable {

// Fields

 private byte[] userGrpGuid;
 private long facilityId;

 // Constructors

/** default constructor */
public UserGrpFacilityId() {
}

/** full constructor */
public UserGrpFacilityId(byte[] userGrpGuid, long facilityId) {
   this.userGrpGuid = userGrpGuid;
   this.facilityId = facilityId;
}


// Property accessors

@Column(name="USER_GRP_GUID", unique=false, nullable=false, 
insertable=true, updatable=true)
public byte[] getUserGrpGuid() {
return this.userGrpGuid;
}

public void setUserGrpGuid(byte[] userGrpGuid) {
this.userGrpGuid = userGrpGuid;
}

@Column(name="FACILITY_ID", unique=false, nullable=false, insertable=true, 
updatable=true, precision=18, scale=0)
public long getFacilityId() {
return this.facilityId;
}

public void setFacilityId(long facilityId) {
this.facilityId = facilityId;
}


   public boolean equals(Object other) {
 if ( (this == other ) ) return true;
 if ( (other == null ) ) return false;
 if ( !(other instanceof UserGrpFacilityId) ) return false;
 UserGrpFacilityId castOther = ( UserGrpFacilityId ) other;

 return ( (this.getUserGrpGuid()==castOther.getUserGrpGuid()) 
|| ( this.getUserGrpGuid()!=null && castOther.getUserGrpGuid()!=null && 
Arrays.equals(this.getUserGrpGuid(), castOther.getUserGrpGuid()) ) )
 && (this.getFacilityId()==castOther.getFacilityId());
   }

   public int hashCode() {
 int result = 17;

 result = 37 * result + ( getUserGrpGuid() == null ? 0 : 
Arrays.hashCode(this.getUserGrpGuid()) );
 result = 37 * result + (int) this.getFacilityId();
 return result;
   }



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

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


[jboss-user] [JBoss Messaging] - Re: Cannot connect to JMS from Service MBean

2006-09-11 Thread oleznew
Hi,

did this work? I have the same error messages when deploying a sar in 
deploy.last. I used the loader-repository tag as described by ovidiu. Does not 
work. What else could I try?

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

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


[jboss-user] [EJB 3.0] - Re: jboss port

2006-09-11 Thread PeterJ
Regarding the port number, see 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=89270

By the way, since this question is not EJB3 -related you should have placed it 
in another forum, most likely Installation, Configuration and Deployment.

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

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


[jboss-user] [JBoss Seam] - Re: MyFaces Tomahawk schedule component does not work.

2006-09-11 Thread sidragon
It just occurred to me why this is broken.  Two copies of the Tomahawk library 
in both the WAR and the EAR because they both have a dependency.  When the 
schedule component in the web application checks the class type for the 
parameter, the classes fail to match because they come from two different 
libraries.  (Or at least something close to this.)

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

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


[jboss-user] [JBoss Seam] - Task assignment via pooled actor

2006-09-11 Thread appendix
Hi,

I do have an issue while trying to assign a task to an actor via the 
pooledTaskInstanceList.
I'm facing a short process definition holding only a single task node and the 
usual start/end nodes. The definition is correctly deployed to the database. 
The task-node definition is straight forward:

  | 
  | 
  | 
  | 
  | 
  | 
  | 
Just for testing, I've implemented a form with a button for generating a 
processInstance from the definition and a  showing all pooledTasks  for the 
logged in user (set as actor).

The user "admin" never sees the pooled task in the list, despite the database 
holds the correct entries:
1) the task in the table jbpm_taskinstance
2) jbpm_pooledactor is correctly set to "admin"
3) jbpm_taskactorpool table links the two entries

If the assignment is done without the pool with:

the task shows up in the  
output.

Am I missing something here or why is the task never in the list of pooledTasks?

Thank you for the help in advance.

Kurt



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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Manually Acknowlegeing a message

2006-09-11 Thread tnine
Manually acknowledging a message Jboss 3.2.6

Hi all,
  I?m trying to find some documentation on Jboss MQ message acknowledgement, 
but I can?t seem to find it anywhere.  We have the following setup.

Tomcat Web Servers (Server A)
JBoss MQ Queue (Server B)
JBoss MQ Remote Queue MDB (Server C)

Our tomcat servers push the message on the queue on Server B.  Server C has a 
remote proxy defined, and then receives the message and processes it.  I want 
the MDB on JBoss server C to manually acknowledge the message.  I?ve set 
acknowledge-mode to Dups-ok-acknowledge, but that really doesn?t solve my 
issue.  I have the following flow in the on Receive code,



  | ? delegate to POJO code?
  | 
  |  //if we get here id didn't blow up
  |  try {
  | message.acknowledge();
  | } catch (JMSException e) {
  | throw new UndeclaredThrowableException(e);
  | }
  | 
As you can see I want to manually acknowledge the message only if the POJO 
delegation is successful, how can I accomplish this?  Currently if the POJO 
code fails, the message is lost off of the queue on server B.

Thanks,
Todd


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

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


[jboss-user] [JBoss Seam] - Remoting with Apache ? a problem

2006-09-11 Thread shasho

I have deployed successfully an application that uses the remoting component on 
my local jboss server. However when I try to deploy it on a server that contain 
apache + mod_jk connector + jboss it's not working. When I to run a page that 
contain the remoting script I get an error that 'Seam'is undefined. Obviously 
the path /seam/remoting/resource/ is not reachable because the web server 
(apache) is not transferring it to jboss. Any solution ?



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

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


[jboss-user] [EJB 3.0] - jboss port

2006-09-11 Thread micho
where can I tell jboss the port it shall listen to.

Is there a short reference on configuring jboss?

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Log4j problems breaking deployment

2006-09-11 Thread PeterJ
All kinds of wierdness happens when you package log4j in your war or ear file.  
Usually these  problems go away if you omit the log4j.jar file, thus replying 
on the copy that comes with JBoss.

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

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


  1   2   3   >