[jboss-user] [JBoss jBPM] - Re: deploying actions --org.jbpm.graph.def.DelegationExcepti

2006-10-06 Thread [EMAIL PROTECTED]
If you put them on the same classpath as the jbpm jars, the classloader should 
be able to find them.

Regards,
Koen

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

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


[jboss-user] [EJB 3.0] - Problem in lookup EJB3.0 using JBOSS4.0.4

2006-10-06 Thread [EMAIL PROTECTED]
Hi
I am finding the problem in lookup EJB
I am unable to solve this problem
so,Help me guys.

package com.hqs.ppsadvantage.ejb;

import java.util.Properties;

import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NameNotFoundException;
import javax.naming.NamingException;

import com.sample.CounterBean;


public class HQSClient {

public static void main(String [] args) {

try {
Context context = getInitialContext();

FileDetailsRemote fileDetailsRemote =

(FileDetailsRemote)context.lookup("FileDetailsSessionBean/remote");

fileDetailsRemote.addFileDetails(10);
System.out.println("class name is : " + 
fileDetailsRemote.getClass().getName());

}catch(NameNotFoundException ex){
ex.printStackTrace();
}catch (NamingException ex) {
ex.printStackTrace();
}
}

private static Context getInitialContext() throws NamingException {
// Get InitialContext for Embedded OC4J
// The embedded server must be running for lookups to succeed.

Properties env = new Properties();
env.put(Context.INITIAL_CONTEXT_FACTORY, 
"org.jnp.interfaces.NamingContextFactory");
env.put(Context.PROVIDER_URL, "jnp://127.0.0.1:1099");
env.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces" 
);
Context ctx = new InitialContext(env);

return ctx;
}
}



I am finding the following exception:
javax.naming.NameNotFoundException: FileDetailsSessionBean not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at 
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
at java.lang.Thread.run(Thread.java:595)
at 
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
at 
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at com.hqs.ppsadvantage.ejb.HQSClient.main(HQSClient.java:21)





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

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


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

2006-10-06 Thread [EMAIL PROTECTED]
Yes you can with the help of a ProcessState/SubProcess combination.

Regards,
Koen

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

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


[jboss-user] [JBoss jBPM] - Re: using objects instead of parameters

2006-10-06 Thread [EMAIL PROTECTED]
Can you explain what you mean with parameters to a process? 

Regards,
Koen

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

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


[jboss-user] [JBoss jBPM] - Re: how i can integrate JBoss JBPM in ERP system

2006-10-06 Thread [EMAIL PROTECTED]
Hi William,

jBPM's license is LGPL. This means roughly that you can freely use it in your 
own products and distrubute the result without any problem. However, if you 
intend to modify jBPM or extend it by modifying the sources, then your 
modifications should be given back to the jBPM community, i.e. the modified 
jBPM (or even the resulting product if this would be the modification) should 
carry the same license as jBPM (LGPL).

Regards,
Koen

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Multiple EntityManagers

2006-10-06 Thread lightbulb432
If you inject multiple EntityManagers into the same class with different 
persistence units, I assume that would allow for persisting objects to 
different databases within the same class.

What I'm wondering about is the ability to inject multiple EntityManagers or 
EntityManagerFactory with the SAME persistence unit in the same class. What 
purpose might something like this hypothetically serve?

I saw an example where one class had one injected EntityManager of a given 
persistence unit, and a created EntityManager (from 
EntityManagerFactory.createEntityManager() where the EntityManagerFactory has 
the same persistence unit).

What purpose would either of these scenarios have...multiple EntityManagers 
(either injected directly or through the EntityManagerFactory) with the SAME 
persistence unit in one class?

I'm confused on this issue because I can't see what the purpose of the same 
persistence unit would be...couldn't even guess...

Thanks.

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

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


[jboss-user] [Management, JMX/JBoss] - Re: jboss.ejb:service=EJBDeployer

2006-10-06 Thread lightbulb432
For my second question I mean:

How can you find the XML file from the MBean description? (Because I know the 
XML file has the MBean name)

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

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


[jboss-user] [Management, JMX/JBoss] - jboss.ejb:service=EJBDeployer

2006-10-06 Thread lightbulb432
In the top of the HTML Adaptor view of the webpage for the 
jboss.ejb:service=EJBDeployer MBean, I see the following title:

MBean Java Class: org.jboss.mx.modelmbean.XMBean

Where is reference to this file made in the corresponding ejb-deployer.xml file 
in the deploy directory? (Where is JBoss getting org.jboss.mx.modelmbean.XMBean 
from?)

My second question is what is how can I tell which -deployer.xml files are 
related to which deployed MBeans, apart from guessing? In this case, I figured 
that ejb-deployer.xml is the XML file for jboss.ejb:service=EJBDeployer, but 
how could I know this apart from making the guess? (Is there another mapping 
file, or a mapping element I'm not seeing in the XML file?)

Please clear up my confusion. Thank you in advance.

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

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


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

2006-10-06 Thread lightbulb432
Looking at the JNDIView, I figure that if something has the following in 
brackets after the entry, then it is a context:

- javax.naming.Context
- org.jnp.interfaces.NamingContext

Then I saw that NamingContext extends Context. So my question is whether only 
things that are Context or subclasses are contexts (EVERYTHING ELSE is 
therefore a name)?

The next question I have is javax.naming.Context is an interface, but it's 
listed in the JNDIView as:

(class: javax.naming.Context)

Why for some entries is the class listed (org.jnp.interfaces.NamingContext) and 
for others the interface is listed (javax.naming.Context)? This inconsistency 
leads me to some confusion...

Thanks.

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

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


[jboss-user] [JBoss Seam] - Re: Chatroom example fails to build

2006-10-06 Thread zzzz8
Sorry about that.  I just didn't try hard enough and figure it out.  I tried 
ant deploypresentation in the actual example project directory.  Sorry for 
wasting your time!

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - trouble with bidirectional OneToMany and JoinColumn

2006-10-06 Thread bernieb
I am trying to create a birectional OneToMany relationship.

When I attempt to populate a set of this relationship, the item gets inserted 
into the expected table, but its foreign key, which is supposed to get mapped 
to the owner of the item, is getting set as null instead.

Here's the code to the owner of the OneToMany relationship:

  | @Entity
  | public class Owner implements Serializable {
  | private long id;
  | private Set items;
  | 
  | public Owner(){
  | items = new HashSet();
  | }
  | 
  | @Id
  | @GeneratedValue(strategy=GenerationType.AUTO)
  | public long getId(){
  | return id;
  | }
  | public void setId(long id){
  | this.id = id;
  | }
  | 
  | @OneToMany(targetEntity=Item.class, cascade={CascadeType.ALL}, 
fetch=FetchType.EAGER)
  | @JoinColumn(name="id")
  | public Set getItems(){
  | return items;
  | }
  | public void setItems(Set items){
  | this.items = items;
  | }
  | }
  | 

Here's the code to the Item class, the other end of the OneToMany relationship:

  | @Entity
  | @Inheritance(strategy=InheritanceType.SINGLE_TABLE)
  | @DiscriminatorColumn(name="DISCRIMINATOR")
  | public class Item implements Serializable {
  | private Owner owner;
  | private String description;
  | 
  | @Id
  | public String getDescription(){
  | return description;
  | }
  | public void setDescription(String description){
  | this.description = description;
  | }
  | 
  | @ManyToOne(targetEntity=Owner.class)
  | @JoinColumn(name="id", updatable = false, insertable = false)
  | public Owner getOwner(){
  | return owner;
  | }
  | public void setOwner(Owner owner){
  | this.owner = owner;
  | }
  | }
  | 

Item also happens to contain inherited classes (stored with the single column 
and descriminator method), of which can be included in the set in owner.  Also, 
description is a manually assigned primary key for items.

When an item is added to the set of an owner, a row is inserted into the Item 
table, but does not get associated to its owner-- the joined column 'id' remain 
null on the item's end.

Am I making an error with regard to the JoinColumn statements?  Or am I doing 
something else wrong?  Any help will be greatly appreciated.  Thanks in advance 
for all your help.

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

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


[jboss-user] [JBoss Seam] - Netbeans workspace for Seam booking example

2006-10-06 Thread scosenz
Does anyone have access to an already configured Netbeans "Enterprise 
Application" workspace for the Seam booking example?

I've already found a Netbeans workspace for the Registration example here:
http://weblogs.java.net/blog/bleonard/archive/2006/05/seam/RegistrationSeam.zip
and explained here:
http://weblogs.java.net/blog/bleonard/archive/2006/05/trying_out_jbos.html

So does anyone have one for the booking example?

Thanks,
Steve

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

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


[jboss-user] [JBoss Seam] - Re: Chatroom example fails to build

2006-10-06 Thread [EMAIL PROTECTED]
I just built and deployed the example with no problem. Its working fine.

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

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


[jboss-user] [Beginners Corner] - Re: Newbie Need Help :)

2006-10-06 Thread scout1lacno

My JBOSS just started working... but it shows an erorr

org.jboss.deployment.DeploymentException: Trying to install an already 
registered mbean: jboss.mq:service=DestinationManager

Any idea with this erorr?

Thanks :)

anonymous wrote : org.jboss.deployment.DeploymentException: Trying to install 
an already registered mbean: jboss.mq:service=DestinationManager
  | at org.jboss.system.ServiceCreator.install(ServiceCreator.java:103)
  | at 
org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:449)
  | at 
org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
  | at 
org.jboss.system.ServiceController.install(ServiceController.java:226)


anonymous wrote : org.jboss.deployment.DeploymentException: Trying to install 
an already registered mbean: jboss.mq:service=DestinationManager
  | at org.jboss.system.ServiceCreator.install(ServiceCreator.java:103)
  | at 
org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:449)

anonymous wrote : 2006-10-07 09:57:53,210 DEBUG 
[org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy: [EMAIL 
PROTECTED] 
url=file:/D:/jboss-4.0.4.GA/server/default/deploy/jms/mysql-jdbc2-service.xml, 
deployedLastModified=0 }
  | org.jboss.deployment.DeploymentException: Trying to install an already 
registered mbean: jboss.mq:service=DestinationManager
  | at org.jboss.system.ServiceCreator.install(ServiceCreator.java:103)

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

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


[jboss-user] [EJB 3.0] - tutorial problem please help

2006-10-06 Thread aaronyeo22
http://www.j3ltd.com/articles/shoestring/TestInstall2.htm
I have try above tutorial a face problem. anyone have try before. please help.

thanks

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

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


[jboss-user] [JBoss jBPM] - Re: Best way to structure a business process with a delay.

2006-10-06 Thread brado
Hello gygerl, 

I dont know how to work out your declarative approach -- I used a programmatic 
approach to creating my timer inside my node's ActionHandler, as follows:


  | Date dueDate = ;
  | timer.setDueDate(dueDate);
  | timer.setTransitionName("mytransitionname");
  | timer.setGraphElement(executionContext.getEventSource());   
timer.setTaskInstance(executionContext.getTaskInstance());
  | timer.setToken(executionContext.getToken());
  | SchedulerService schedulerService = (SchedulerService) 
Services.getCurrentService(Services.SERVICENAME_SCHEDULER);
  | schedulerService.createTimer(timer);
  | 

That seemed to work fine for me. Hope that helps.

Cheers,

Brad

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Invalid Schema Name in JBOSS EJB2.0

2006-10-06 Thread smodou
Hi All,
I am trying to deploy some EJB2.0 beans that are currently running in Weblogic. 
I transformed the Weblogic specific DDs to their JBOSS equivalents.
After several debugging rounds, I have now successfully deployed all the beans 
(bundled along with a WAR in an EAR) in JBOSS4.0.4GA. However, when I access 
the application, I get an "Inavlid Schema Name" SQL exception on the following 
load relationship query:


 SELECT USERNAME FROM foo.GROUP_OWNER WHERE (GROUPNAME=?)


The foo schema does exist and is owned and accessible by the user that connects 
the Datasource. In jbosscmp-jdbc.xml, the relationship is define as below:



group-owner

foo.GROUP_OWNER



users-own-groups


userName
USERNAME





groups-belongTo-users


name
GROUPNAME







Any ideas what may be causing this problem? I would appreciate any pointers.

regards,
Modou

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

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


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

2006-10-06 Thread PeterJ
There are a couple of ways.

First, if there is a multi-part name, only the last part could be an object 
name that references and object (it might be a context), the rest are all 
contexts.

Second, you could query JNDI and examine the object type returned.

Third, you could use jndiView to see the entire JNDI tree, and it tells you 
what everything is. 
(http://wiki.jboss.org/wiki/Wiki.jsp?page=DisplayTheJDNITreeWithTheJMXConsole)

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

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


[jboss-user] [Beginners Corner] - Re: Newbie Need Help :)

2006-10-06 Thread scout1lacno

Sorry for the delayed reply. :)
I haven't changed anything on that file.. I tried manually encoding the XML 
tags on the ports  but still the error persist.. Do you have a link on where I 
could find the the file? like yours?

Thanks :)

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

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


[jboss-user] [EJB 3.0] - Jboss TrailBlazer

2006-10-06 Thread aaronyeo22
why TrailBlazer tutorial dont use any servlet.
 
thanks

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

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


[jboss-user] [JBoss Seam] - Chatroom example fails to build

2006-10-06 Thread zzzz8
I'm really interested in the pojocache configuration and usage (rather than the 
remoting stuff)... so I'd be interested in a working Seam example with 
pojocache.  Just wondering when this example will be fixed.  Thanks!

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

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


[jboss-user] [JBoss jBPM] - Re: jBPM BPEL Designer - Bonjour Example

2006-10-06 Thread leonel_vr
im following the document jbossBPEL_Designer_GettingStarted.pdf but i can't 
complete correctly the step 2 "Start Eclipse 3.2 and use the Import Existing 
Projects into Workspace feature from the 
File menu. "

because when i press "finish" eclipse is trying to build the project, and i can 
se the structure imported but with two errors

The project cannot be built until build class path errors are resolved

and

Unbound classpath container: 'JBoss 4.0.4' in project jbpm.bpel

i download the jbpm-bpel-1.1.Beta2 




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

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


[jboss-user] [JBoss Seam] - Re: Paginator EJB and DataModel

2006-10-06 Thread [EMAIL PROTECTED]
Looks like you have a Seam component called "paginator" floating around 
somewhere in your project. Remove it.

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

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


[jboss-user] [JBoss Seam] - Re: Cannot deploy the war-java.lang.ClassCastException: org.

2006-10-06 Thread [EMAIL PROTECTED]
Remove the JSF jar from your EAR. It already exists in JBoss.

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

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


[jboss-user] [JBoss Seam] - Re: Problems using Ajax4jsf to Seam Hibernate3 sample app

2006-10-06 Thread [EMAIL PROTECTED]
Great, I need to check it out.

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

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


[jboss-user] [JBoss Seam] - Re: Any experiences with the Tomahawk components?

2006-10-06 Thread [EMAIL PROTECTED]
Personally i think the Avatar/Ajax4JSF/Dynafaces/etc approach of supporting 
partial-page update is a *much* more elegant path forward. Can't do 
*everything* you might want to use Ajax for, but it can do a lot.

Or, if you want to use Seam remoting, you don't need a JSF tag library, why not 
just use scriptaculous or dojo with Seam remoting?

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

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


[jboss-user] [JBoss Seam] - Re: Access SFSB from another SFSB using Injection...

2006-10-06 Thread petemuir
Sorry, what doesn't work? What exception do you get?

I don't really understand the code (e.g. it seems that Person example is an 
entity but nowhere do you load/inject it, just do a pojo instantiation; I would 
expect associations rather than ids to link objects), but the checkin method 
itself seems fine in concept:

1) Ask attendanceEditor for a new attendance record
2) Populate it
3) Tell attendanceEditor to persist it

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

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


[jboss-user] [JBoss Seam] - Re: In attribute requires value for component: selectItems.s

2006-10-06 Thread [EMAIL PROTECTED]
Are you running in JBoss or Tomcat?

If Tomcat, it should be:

org.jboss.seam.core.init.jndiPattern #{ejbName}/local 


Just like in the documentation.

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Re: I am getting Exception in thread

2006-10-06 Thread genman
Check your classpath and .jar files, look for this class.

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

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


[jboss-user] [JBoss Seam] - Re: Default namming strategy for components

2006-10-06 Thread petemuir
That would be a start. You could submit a patch.

The code for auto-naming a component should be straightforward.  Tying it into 
Seam in a plugable fashion might be harder:

1) Seam sometimes looks directly at the Name annotation, sometimes it delegates 
to Seam.getComponentName()

2) It should probably be configured via components.xml, but by then component 
configuration/instantiation has started


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

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


[jboss-user] [JBoss Seam] - Re: Cryptic id's in error log

2006-10-06 Thread petemuir
https://facelets.dev.java.net/nonav/docs/dev/docbook.html#template-debug

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

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


[jboss-user] [Management, JMX/JBoss] - JBossSNMPAdapter notifications.xml documentation

2006-10-06 Thread jyoonyang
Hi

Where can I find more documentation and examples setting up notification map 
for JBossSNMPAdaptor?

Thank you,
Jennifer

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

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


[jboss-user] [Beginners Corner] - Reload Webapp After Touching web.xml

2006-10-06 Thread lenzenc
I just upgraded to jboss 4.0.4.

I'm developing a webapp using eclipse and the exploded war procedure described 
in a few jboss forums / documentations.

It is my understanding that when I touch the web.xml under my exploded war that 
jboss will reload, basically allowing for the reloading of class files.

However, this doesn't seem to work, I'm not sure what I'm missing, I've tried 
this on both a windows and linux machine and still no luck, and I SURE that the 
timestamp on the file is getting updated.

I know I had this working in an older version of jboss but just can't seem to 
find what I'm missing this time around, I do remember the last time I had it 
working it took some time and wasn't just about simply updating the web.xml.

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

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


[jboss-user] [EJB 3.0] - totally weird error: org.hibernate.hql.ast.tree.FromClause.f

2006-10-06 Thread [EMAIL PROTECTED]
Okay, I'm totally lost here: 

Whenever the following code is executed I get this error:

org.hibernate.hql.ast.tree.FromClause.findIntendedAliasedFromElementBasedOnCrazyJPARequirements(FromClause.java:120)

What the heck does this mean? My HQL is perfectly valid!

  public void endSession()
  |   {
  | /*
  |  * first get all writing sessions with a null end date. 
  |  */
  |  String userid = context.getCallerPrincipal().getName();
  |  
  |  List result = em.createQuery( "select w from WritingSession w where 
w.whatProject.projectOwner=:whatName and w.whatProject.defaultProject=true and 
w.sessionEnd=null order by id desc")
  |  .setParameter("whatName", userid).getResultList();
  |  
  |  if(result!=null || result.size()!=0) 
  |  {
  |WritingSession theOpenSession = 
(WritingSession)result.get(result.size()-1);
  |theOpenSession.setSessionEnd(new Date());
  |em.merge(theOpenSession);
  |  }
  |  
  |  //otherwise there are no sessions to close.
  |   }
  | 
JLS


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

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


[jboss-user] [EJB 3.0] - Embedded EJB3.0 and Tomcat JDNI error

2006-10-06 Thread thillerson
I'm deploying a fairly simple web app with embedded ejb3 (RC9) to Tomcat 
5.5.20. I get These errors:

ERROR 06-10 15:53:41,437 (AbstractController.java:incrementState:440)  -Error 
installing to Start: name=UserTransaction state=Create
...
Caused by: javax.naming.NameNotFoundException: Name TransactionManager is not 
bound in this Context

The relevent lines from web.xml:

   
  jboss-kernel-deployments
  embedded-jboss-beans.xml, jboss-jms-beans.xml
   

   
  
org.jboss.ejb3.embedded.ServletBootstrapListener
   

Just like the examples say. Any ideas what I'm doing wrong?

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

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


[jboss-user] [Installation, Configuration & Deployment] - Using NTEventLogAppender with JBoss

2006-10-06 Thread lduperval
Hi,

I have a requirement to use the Windows Event log to log certain events when 
JBoss deploys.

In my log4j.xml, I have:


  | 
  |  
  |  
  |   
  |  
  |   
  |
  | 
  | 
  |  
  |  
  |
  |   
  |
  |  
  |  
  |
  |   
  |
  |  
  |  
  |
  |   
  |
  |  
  |  
  |
  | 
  |
  |  
  |  
  |
  |
  |
  |  
  |  
  |
  |
  |
  |  
  |  
  |
  |
  | 
  | 

However, when I start JBoss, I get nothing in the event logger, but I will get 
this in server.log:


  | 2006-10-06 17:20:32,562 ERROR [org.jboss.naming.NamingService] Starting 
failed jboss:service=Naming
  | 
  | java.rmi.server.ExportException: Port already in use: 1098; nested 
exception is: 
  | java.net.BindException: Address already in use: JVM_Bind
  | 
  | at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:243)
  | 
  | at 
sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:178)
  | 
  | at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:382)
  | 
  | at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:116)
  | 
  | at 
sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:145)
  | 
  | at 
sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:129)
  | 
  | at 
java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:275)
  | 
  | at 
java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:206)
  | 
  | at org.jnp.server.Main.initJnpInvoker(Main.java:364)
  | 
  | at org.jnp.server.Main.start(Main.java:238)
  | 
  | at org.jboss.naming.NamingService.startService(NamingService.java:163)
  | 
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
  | 
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
  | 
  | at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
  | 
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | 
  | at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
  | 
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
  | 
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
  | 
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | 
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
  | 
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
  | 
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:837)
  | 
  | at $Proxy0.start(Unknown Source)
  | 
  | at org.jboss.system.ServiceController.start(ServiceController.java:367)
  | 
  | 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.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
  | 
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
  | 
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
  | 
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | 
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
  | 
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
  | 
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
  | 
  | at $Proxy4.start(Unknown Source)
  | 
  | at org.jboss.deployment.SARDeployer.start(SARDeployer.java:251)
  | 
  | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:836)
  | 
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:645)
  | 
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)
  | 
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:592)
  | 
  | 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.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
  | 
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
  | 
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
  | 
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | 
  |

[jboss-user] [JBoss Seam] - Cannot deploy the war-java.lang.ClassCastException: org.jbos

2006-10-06 Thread anusanj
I am trying to deploy the ear and I am running into the error below

My web xml has the following 
<
  
javax.faces.STATE_SAVING_METHOD
client



javax.faces.DEFAULT_SUFFIX
.xhtml



facelets.DEVELOPMENT
true



Faces Servlet
javax.faces.webapp.FacesServlet
1




Faces Servlet
*.xhtml

   
   
   
   org.apache.myfaces.webapp.StartupServletContextListener
   
  
   
  Seam Remoting

org.jboss.seam.remoting.SeamRemotingServlet
  

  
Seam Remoting
   /seam/remoting/*
 
  
 
   
   org.jboss.seam.servlet.SeamListener
 

faces-config.xml has the following

   
   
  org.jboss.seam.jsf.SeamPhaseListener
   
  

Thanks
Anu

2006-10-06 16:10:17,032 ERROR [STDERR] Oct 6, 2006 4:10:17 PM 
com.sun.faces.config.ConfigureListener contextInitialized
INFO: Initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for 
context 'BRNNCIWeb'
2006-10-06 16:10:17,563 ERROR [STDERR] Oct 6, 2006 4:10:17 PM 
com.sun.faces.spi.InjectionProviderFactory createInstance
WARNING: JSF1033: Resource injection is DISABLED.
2006-10-06 16:10:17,593 ERROR [STDERR] Oct 6, 2006 4:10:17 PM 
com.sun.faces.config.ConfigureListener configure
SEVERE: Cant instantiate class: phase-listener: 
org.jboss.seam.jsf.SeamPhaseListener.
2006-10-06 16:10:17,593 ERROR [STDERR] java.lang.ClassCastException: 
org.jboss.seam.jsf.SeamPhaseListener
2006-10-06 16:10:17,593 ERROR [STDERR]  at 
com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:960)
2006-10-06 16:10:17,593 ERROR [STDERR]  at 
com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:594)
2006-10-06 16:10:17,593 ERROR [STDERR]  at 
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:496)
2006-10-06 16:10:17,593 ERROR [STDERR]  at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)
2006-10-06 16:10:17,593 ERROR [STDERR]  at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4187)
2006-10-06 16:10:17,593 ERROR [STDERR]  at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
2006-10-06 16:10:17,593 ERROR [STDERR]  at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
2006-10-06 16:10:17,593 ERROR [STDERR]  at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
2006-10-06 16:10:17,593 ERROR [STDERR]  at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2006-10-06 16:10:17,593 ERROR [STDERR]  at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2006-10-06 16:10:17,593 ERROR [STDERR]  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2006-10-06 16:10:17,593 ERROR [STDERR]  at 
java.lang.reflect.Method.invoke(Method.java:585)
2006-10-06 16:10:17,593 ERROR [STDERR]  at 
org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
2006-10-06 16:10:17,593 ERROR [STDERR]  at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
2006-10-06 16:10:17,593 ERROR [STDERR]  at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
2006-10-06 16:10:17,593 ERROR [STDERR]  at 
org.apache.catalina.core.StandardContext.init(StandardContext.java:5116)
2006-10-06 16:10:17,593 ERROR [STDERR]  at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2006-10-06 16:10:17,593 ERROR [STDERR]  at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2006-10-06 16:10:17,593 ERROR [STDERR]  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2006-10-06 16:10:17,593 ERROR [STDERR]  at 
java.lang.reflect.Method.invoke(Method.java:585)
2006-10-06 16:10:17,593 ERROR [STDERR]  at 
org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
2006-10-06 16:10:17,593 ERROR [STDERR]  at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
2006-10-06 16:10:17,593 ERROR [STDERR]  at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
2006-10-06 16:10:17,593 ERROR [STDERR]  at 
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
2006-10-06 16:10:17,593 ERROR [STDERR]  at 
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
2006-10-06 16:10:17,593 ERROR [STDERR]  at 
org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
2006-10-06 16:10:17,593 ERROR [STDERR]  at 
org.jboss.web.WebModule.startModule(WebModule.java:83)
2006-10-06 16:10:17,593 ERROR [STDERR]  at 
org.jboss.web.WebModule.startService(WebModule.java:61)
2006-10-06 16:10:17,593 ERROR [STDERR]  at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
2006-10-06 16:10:17,593 ERROR [STDERR]  at 
org.jboss.sys

[jboss-user] [EJB 3.0] - Re: Migrating user data in an annotated model, your solution

2006-10-06 Thread nilram
session.replicate() might address a small piece of the issue and be useful in a 
particular framework, tool, or methodology.

The issue has been around in other forums,

http://forum.hibernate.org/viewtopic.php?t=933020&highlight=migrate
http://forum.hibernate.org/viewtopic.php?t=934153&highlight=migrate
http://forum.hibernate.org/viewtopic.php?t=965046&highlight=refactor

but no one has described a general solution.  I'll figure something out, but of 
course it would be optimal to build on previous work.



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

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


[jboss-user] [Clustering/JBoss] - Re: load-balance-policy tag in jboss.xml not working

2006-10-06 Thread [EMAIL PROTECTED]
Likely in JBoss; there have been a couple of other similar posts in the past 
two weeks that I'm trying to track down.

Was this with 4.0.4.GA and EJB3 RC7 (the one bundled with 4.0.4)?

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

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


[jboss-user] [EJB 3.0] - Re: servlet:// InvokerLocator with @RemoteBinding(jndiBindin

2006-10-06 Thread andyredhead
I'm using whatever version of the EJB3 container shipped with jboss 4.0.4.GA.  
Looking at the date on the cr9 download I guess the version I have is somewhat 
earlier...

I'll have another go with the @RemoteBinding and let you know how I get on.

Thanks,

Andy

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

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


[jboss-user] [Installation, Configuration & Deployment] - Error during shutdown

2006-10-06 Thread aeid
Hi,

I have installed JBoss 3.2.6 on RHEL.
I copied jboss_init_redhat.sh and I am using it start/stop jboss.

'jboss_init_redhat.sh start' works fine, but 'jboss_init_redhat.sh stop" gives 
the following error:

java.lang.ClassNotFoundException: org.jboss.security.SimplePrincipal not found

The error message:
=
CMD_STOP = java -classpath 
/usr/local/jboss-3.2.6/bin/shutdown.jar:/usr/local/jboss-3.2.6/client/jnet.jar 
org.jboss.Shutdown --shutdown
Exception in thread "main" java.lang.NoClassDefFoundError: while resolving 
class: org.jboss.Shutdown
   at java.lang.VMClassLoader.resolveClass(java.lang.Class) 
(/usr/lib/libgcj.so.5.0.0)
   at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0)
   at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) 
(/usr/lib/libgcj.so.5.0.0)
   at java.lang.Class.forName(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
   at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0)
   at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)
   at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) 
(/usr/lib/libgcj.so.5.0.0)
   at __gcj_personality_v0 (/home/jboss/java.version=1.4.2)
   at __libc_start_main (/lib/tls/libc-2.3.4.so)
   at _Jv_RegisterClasses (/home/jboss/java.version=1.4.2)
Caused by: java.lang.ClassNotFoundException: org.jboss.security.SimplePrincipal 
not found in [file:/usr/local/jboss-3.2.6/bin/shutdown.jar, 
file:/usr/local/jboss-3.2.6/client/jnet.jar, 
file:/usr/share/java/libgcj-3.4.3.jar, file:./, core:/]
   at java.net.URLClassLoader.findClass(java.lang.String) 
(/usr/lib/libgcj.so.5.0.0)
   at gnu.gcj.runtime.VMClassLoader.findClass(java.lang.String) 
(/usr/lib/libgcj.so.5.0.0)
   at java.lang.ClassLoader.loadClass(java.lang.String, boolean) 
(/usr/lib/libgcj.so.5.0.0)
   at _Jv_FindClass(_Jv_Utf8Const, java.lang.ClassLoader) 
(/usr/lib/libgcj.so.5.0.0)
   at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) 
(/usr/lib/libgcj.so.5.0.0)
   at _Jv_BytecodeVerifier.verify_instructions_0() (/usr/lib/libgcj.so.5.0.0)
   at _Jv_VerifyMethod(_Jv_InterpMethod) (/usr/lib/libgcj.so.5.0.0)
   at _Jv_PrepareClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
   at _Jv_WaitForState(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)
   at java.lang.VMClassLoader.linkClass0(java.lang.Class) 
(/usr/lib/libgcj.so.5.0.0)
   at java.lang.VMClassLoader.resolveClass(java.lang.Class) 
(/usr/lib/libgcj.so.5.0.0)
   ...9 more
=

Please help.

Regards,

Ashraf Eid

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

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


[jboss-user] [Beginners Corner] - Re: JBoss AS support for Java EE 5

2006-10-06 Thread jeffleboss

I have the same issue here.

It seems that all this work on EJB3 is looking very good but for when is the 
compliance planned?

Tks
--
Jeff

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

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


[jboss-user] [JBoss Seam] - Re: Cryptic id's in error log

2006-10-06 Thread SpecialAgent
Could you give me a hint, where I can find the debug page?

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

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


[jboss-user] [JBoss Seam] - Re: Cryptic id's in error log

2006-10-06 Thread petemuir
Just look at the JSF component tree (facelets you have it on the debug page) 
and match it to the component

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

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


[jboss-user] [JBossWS] - Problem securing endpoint

2006-10-06 Thread trifonov
Hi,
Itried to secure an web service servlet endpoint. I put that in web.xml:



SecureContent
/*


AuthorizedUser


NONE



BASIC
TheRestrictedZone


I didn't change anything else. Now, when I try to access the ws I get an 
authentification form (as expected) but when I type kermit/thefrog I cannot 
acces the ws again, I'm not authorized. It seems I missed something.

Regards,
Trifonov

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

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


[jboss-user] [JBoss jBPM] - Re: various instances from the same task

2006-10-06 Thread jainer
I resolved that problem, it was not something important, i follow with my 
karma!!!.

I'm sorry to occuppy your time and thank you for your help

Regards!!!
jainer e.

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

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


[jboss-user] [Installation, Configuration & Deployment] - How to prevent EAR deployment until datasource is ready?

2006-10-06 Thread lduperval
Hi,

I read this:

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

but I don't understand how to use it.

Where do I put this example for my EAR files? Is it in the EAR's deployment 
descriptor? Is it elsewhere? I am unclear. If anyone can shed some light, I'd 
be very grateful.

Thanks,

L

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

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


[jboss-user] [JBoss Seam] - Cryptic id's in error log

2006-10-06 Thread SpecialAgent
Hey,

I just get sometimes the following error:


  | 22:02:10,453 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces 
Servlet threw exception
  | javax.faces.FacesException: Error calling action method of component with 
id _id4_0:_id7
  | at 
org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74)
  | at javax.faces.component.UICommand.broadcast(UICommand.java:106)
  | at javax.faces.component.UIData.broadcast(UIData.java:338)
  | at 
javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90)
  | ...
  | 

Hmm... I really would like to know how can I match the _id4_0:_id7 name to my 
program? Has anyone a suggestion?

Thanks guys.

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

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


[jboss-user] [JBoss Seam] - Re: Paginator EJB and DataModel

2006-10-06 Thread monkeyden
Gavin,
I extended your ListDataModel for this and used @Out instead of @DataModel.  My 
extension provides the methods used for pagination and sorting and, in doing 
so, attempts to manipulate the super classes attributes (rowCount, rowIndex and 
wrappedData).  The exception I'm getting is: 

attempted to bind an Out attribute of the wrong type to: 
userSearchAction.paginator

Everything works fine up until Seam attempts to outject it.  Maybe I'm 
misunderstanding how your code works.  Is it not simply outjected as a 
ListDataModel?

Here is the relevant code:

My Seam action
public class UserSearchAction implements UserSearch
  | @Out(required=false)
  | private ListDataModelPaginator paginator;
  | ...
  | Query query = em.createQuery(query);
  | paginator = new ListDataModelPaginator(query.getResultList());
  | paginator.sort(ASC_NAME_COMPARATOR);
  | ...
  | }

Paginator

  | public class ListDataModelPaginator extends ListDataModel {
  | 
  | private int rowsPerPage = 20;
  | 
  | public ListDataModelPaginator() { 
  | super(new ArrayList());
  | }
  | 
  | public ListDataModelPaginator(List list) { super(list); }
  | 
  | public ListDataModelPaginator(List list, Comparator comp) { 
  | super(list);
  | }
  | 
  | public void scrollFirst() {
  | setRowIndex(0);
  | }
  | 
  | public void scrollPrevious() {
  | setRowIndex(getRowIndex()-rowsPerPage);
  | if (getRowIndex() < 0) {
  | setRowIndex(0);
  | }
  | }
  | 
  | public void scrollNext() {
  | setRowIndex(getRowIndex()+rowsPerPage);
  | if (getRowIndex() >= getRowCount()) {
  | setRowIndex(getRowCount() - rowsPerPage);
  | if (getRowIndex() < 0) {
  | setRowIndex(0);
  | }
  | }
  | }
  | 
  | public void scrollLast() {
  | setRowIndex(getRowCount() - rowsPerPage);
  | if (getRowIndex() < 0) {
  | setRowIndex(0);
  | }
  | }
  | 
  | public boolean getIsScrollFirstDisabled() {
  | return getRowIndex() == 0;
  | }
  | 
  | public boolean getIsScrollLastDisabled() {
  | return getRowIndex() >= getRowCount() - rowsPerPage;
  | }
  | 
  | public boolean getIsScrollNextDisabled() {
  | return getRowIndex() >= getRowCount() - rowsPerPage;
  | }
  | 
  | public boolean getIsScrollPreviousDisabled() {
  | return getRowIndex() == 0;
  | }
  | 
  | public int getRowsPerPage() {
  | return rowsPerPage;
  | }
  | 
  | public void setRowsPerPage(int rowsPerPage) {
  | this.rowsPerPage = rowsPerPage;
  | }
  | 
  | public void setSortedList(List items){
  | super.setWrappedData(items);
  | super.setRowIndex(0);
  | }
  |  
  | public void sort(Comparator comp){
  | List unsorted = (List)getWrappedData();
  | Collections.sort(unsorted, comp);
  | super.setWrappedData(unsorted);
  | super.setRowIndex(0);
  | }
  | }

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

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


[jboss-user] [JBoss Seam] - Deployment-Error

2006-10-06 Thread basti
I installed seam like it is written in step by step doc. I tried to install the 
samples and failed with jboss-message : 
org.jboss.deployment.DeploymentException: Failed to find module file: 
jboss-seam.jar

I tried to install blanc app and failed again (same problem).

application.xml:

...
< module >
< ejb >jboss-seam.jar< /ejb >
< /module >
< module >
< ejb >jbpm-3.1.1.jar< /ejb >
< /module >
...



But theses files absent in ear-package. In folder "EarContent" the files exist.
If I remove the deklaration for the 2 modules from application.xml, then the 2 
files will insert in ear-package ?!?!

Whats wrong ?

Thanks

Basti

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

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


[jboss-user] [JBoss jBPM] - Re: Using my own identity database

2006-10-06 Thread bagrehc
Hi Larry, 

after search a lot, I found something to solve our problem, but I think it's 
missing something else.

well I discover that you have to create an ExpressionAssignmentHandler 
subclass, and override the "getExpressionSession()" method as following:


  | public class MyEAHandler extends ExpressionAssignmentHandler{
  | 
  | protected ExpressionSession getExpressionSession() {
  | JbpmContext jbpmContext = JbpmContext.getCurrentJbpmContext();
  | if (jbpmContext==null) {
  |   throw new RuntimeException("no active JbpmContext for resolving 
assignment expression'"+expression+"'");
  | }
  | //HERE IS WHAT YOU HAVE TO CHANGE
  | return new IdentitySession(jbpmContext.getSession());
  | }
  | 
  | }
  | 

So in the place where i commented in the code, above, you have to return your 
own object that implements ExpressionSession. ( up to here ok, :))

But these are the methods that you have to implement:

  | public Group getGroupByName(String groupName);
  | 
  | public User getUserByName(String userName);
  | 

Thus, here is the point, the "Group" and "User" are entities of the default 
Identity component and I don't know what to do.

Maybe I have to make my own "User" and "Group" entities extend the classes 
above, but I think it isn't a good way and may have another way to do that.

I you (Larry) or someone else find something new that could help us, please 
post here.

thanx 


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

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


[jboss-user] [JBoss Portal] - Re: LDAP and Active Directory

2006-10-06 Thread creative77
I still have not resolved this, I am currently pouring over the code for the 
LDAPModule. I hope to see something there that may keep this from working.

Basically, with this config. I get the principle authencationed and the user is 
authenticated but for some reason the module is not finding the default role 
"Authenticated" for the users. I have created the group in Active Directory and 
added myself to it. Still no luck, so when I get time I plan to look into how 
the "memberOf" attribute is handled.

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

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


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

2006-10-06 Thread lightbulb432
In general, how am I able to tell whether an entry is a context or an actual 
name? There must be a way...

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Cannot open connection

2006-10-06 Thread tballerstein
I am getting an error when trying to update several records in MSSQL Server 
2000.  It wil upate some records and then I receive the following error:

javax.ejb.EJBTransactionRolledbackException: 
javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCEx
ception: Cannot open connection


My max connection pool is set to 50 and the ConnectionCreatedCount is only 26.

Has anyone ran into an issue like this and what did you do to resolve this 
issue?

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

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


[jboss-user] [JBoss jBPM] - Task Nodes - conditionally create tasks?

2006-10-06 Thread cpob
(I'm using jBPM 3.1.2)

We have task nodes, and are creating a number of tasks on each task node.

There will always be one mandatory task per task node, and then a number of 
optional tasks per task node.

We would only like to create the optional task instances when the user wants, 
not automatically by jBPM.

However, we want the mandatory task instance to be automatically created by 
jBPM, so we can't use the create-tasks="false" ability of the task node.

I suggest an enhancement, and if people think its worthy, I'll add it to JIRA.  
I think task definitions should have another Y/N column "AUTOCREATE" (or 
something along those lines).  The default would be yes, and then the task node 
would create only those which are set to be automatically created.

I searched the forum and JIRA, didn't find any reference to this matter, but 
sorry if its been talked about.



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

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


[jboss-user] [JBoss jBPM] - Re: Regarding sending signal

2006-10-06 Thread cpob
You could always design the flow to have transitions to go backwards.

Or 'digest' the flow when they give you the .par file to process and 
programmatically create 'reverse' transitions between nodes

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

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


[jboss-user] [JBoss Portal] - Re: Both binary and source downloads fails to get deployed

2006-10-06 Thread kkganesan
Using jboss-4.0.4.GA on Mac OS X 10.4.8

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

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


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

2006-10-06 Thread watch
I looked over the Wiki, and the starter kit instructions do not contain and 
screen shot of the "Configure JBoss jBPM Runtime" within the wizard steps. Is 
this new? Just trying figure this out, it seems that to create a process 
project you must deploy to JBoss. 

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

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


[jboss-user] [JBoss Portal] - Both binary and source downloads fails to get deployed

2006-10-06 Thread kkganesan
i have tried both the source and the binary portal downloads (2.4 from 
downloads section) with the default hsqldb. But both fails because of the 
following reason.

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---

ObjectName: portal:service=ServerConfig
  State: FAILED
  Reason: java.lang.IllegalArgumentException: Mixed content now allowed
  Depends On Me:
portal:service=Server
portal:deploymentFactory=PortletApp

ObjectName: jboss:service=CorbaORB
  State: FAILED
  Reason: java.lang.NoSuchMethodError: 
org.apache.avalon.framework.configuration.DefaultConfiguration.(Ljava/lang/String;)V
  I Depend On:
jboss:service=Naming
  Depends On Me:
jboss:service=invoker,type=iiop
jboss:service=CorbaNaming
jboss:service=CorbaTransaction



visiting localhost:8080/portal gives http://localhost:8080/portal

javax.servlet.ServletException: Default context does not exist

Appreciate your help.

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

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


[jboss-user] [JBoss Portal] - Re: Cannot install new Portlet (failes to create instance)

2006-10-06 Thread PeterJ
Try removing the < if-exists > node from the portlet-instance.xml file. 

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

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


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

2006-10-06 Thread PeterJ
I don't think that is the cause of the problem. In your example, 
TravelAgentBean is a context, which is analogous to a directory on a file 
system. For example, when you delete /somedir/somefile.txt, the file goes away 
but the directory, somedir, remains. Not sure if the JNDI spec has anything to 
say about removing the context when the last name in that context is removed. 
Though you might think that the name of the EJB is TraveAgentBean/remote, it 
really isn't.  It's name is "remote", within the context "TravelAgentBean".

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

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


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

2006-10-06 Thread PeterJ
First, undeploy your ear file and start JBoss. It should take about 20-30 
seconds to start up after which processor utilization should go down to close 
to 0%. If that is the case, then there is something in the ear that is causing 
the problem.

To help locate the problem with the ear, deploy it and when the processor is at 
100% utilization take several thread dumps, at about 5 or 10 second intervals 
(see http://wiki.jboss.org/wiki/Wiki.jsp?page=StackTrace).  You should probably 
redirect the console output to a file so that the dumps do not all scroll off 
the top of the shell window buffer. The thread dump will show you what threads 
are active and lead you to the section(s) of the code cuasing the problems.

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

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


[jboss-user] [JBoss jBPM] - Re: various instances from the same task

2006-10-06 Thread arjakki


Can you be more specific cannot  take variable with the coontextInstance.

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

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


[jboss-user] [JBoss jBPM] - Deploying process by file upload

2006-10-06 Thread estebanb
Hi all, I'm using jBPM 3.1.2 and springmodules 0.5 in an appfuse project.
I was able to deploy a process included in the project at initialization 
without problems. Now, I'm trying to deploy a process by uploading a zip file 
from a web application.

I use the following line to deploy the process:
context.deployProcessDefinition(processDefinition) 

(below it's the complete code) and I'm getting an exception as if the 
configuration were lost at some point.

I debugged the code of JBPMContext.deployProcessDefinition() and found out that 
the persistenceService has all fields null. So, it seems the persistence 
service is not created properly.

I will apreciate if anyone understands what is happening and can help me.

Below are the configuration and source files. Please let me know if I wasn't 
clear at any point.

Thanks,
Esteban.

Here is the initialization log where the process included in the project is 
deployed (I also checked database and is deployed):
[darwin] DEBUG [main] StartupListener.contextInitialized(45) | initializing 
context...
  | [darwin] INFO [main] [/darwin].log(638) | Loading Spring root 
WebApplicationContext
  | [darwin] INFO [main] 
DefaultValidatorFactory.setValidationConfigLocations(62) | Loading validation 
configurations from [ServletContext resource 
[/WEB-INF/validation.xml],ServletContext resource 
[/WEB-INF/validator-rules.xml],ServletContext resource 
[/WEB-INF/validator-rules-custom.xml]]
  | [darwin] WARN [main] EhCacheProvider.buildCache(103) | Could not find 
configuration [org.jbpm.graph.def.Node]; using defaults.
  | [darwin] WARN [main] EhCacheProvider.buildCache(103) | Could not find 
configuration [org.jbpm.instantiation.Delegation]; using defaults.
  | [darwin] WARN [main] EhCacheProvider.buildCache(103) | Could not find 
configuration [org.jbpm.taskmgmt.def.Task]; using defaults.
  | [darwin] WARN [main] EhCacheProvider.buildCache(103) | Could not find 
configuration [org.jbpm.graph.def.ProcessDefinition]; using defaults.
  | [darwin] WARN [main] EhCacheProvider.buildCache(103) | Could not find 
configuration [org.jbpm.graph.def.ExceptionHandler]; using defaults.
  | [darwin] WARN [main] EhCacheProvider.buildCache(103) | Could not find 
configuration [org.jbpm.module.def.ModuleDefinition]; using defaults.
  | [darwin] WARN [main] EhCacheProvider.buildCache(103) | Could not find 
configuration [org.jbpm.graph.def.Action]; using defaults.
  | [darwin] WARN [main] EhCacheProvider.buildCache(103) | Could not find 
configuration [org.jbpm.graph.def.Event]; using defaults.
  | [darwin] WARN [main] EhCacheProvider.buildCache(103) | Could not find 
configuration [org.jbpm.context.def.VariableAccess]; using defaults.
  | [darwin] INFO [main] JbpmConfiguration.getInstance(277) | using jbpm 
configuration resource 'jbpm.cfg.xml'
  | [darwin] WARN [main] EhCacheProvider.buildCache(103) | Could not find 
configuration [org.jbpm.graph.def.Transition]; using defaults.
  | [darwin] WARN [main] EhCacheProvider.buildCache(103) | Could not find 
configuration [org.jbpm.taskmgmt.def.TaskController]; using defaults.
  | [darwin] WARN [main] EhCacheProvider.buildCache(103) | Could not find 
configuration [org.jbpm.taskmgmt.def.TaskMgmtDefinition.tasks]; using defaults.
  | [darwin] WARN [main] EhCacheProvider.buildCache(103) | Could not find 
configuration [org.jbpm.graph.node.ProcessState.variableAccesses]; using 
defaults.
  | [darwin] WARN [main] EhCacheProvider.buildCache(103) | Could not find 
configuration [org.jbpm.graph.def.ProcessDefinition.events]; using defaults.
  | [darwin] WARN [main] EhCacheProvider.buildCache(103) | Could not find 
configuration [org.jbpm.taskmgmt.def.Swimlane.tasks]; using defaults.
  | [darwin] WARN [main] EhCacheProvider.buildCache(103) | Could not find 
configuration [org.jbpm.graph.def.Node.leavingTransitions]; using defaults.
  | [darwin] WARN [main] EhCacheProvider.buildCache(103) | Could not find 
configuration [org.jbpm.taskmgmt.def.TaskController.variableAccesses]; using 
defaults.
  | [darwin] WARN [main] EhCacheProvider.buildCache(103) | Could not find 
configuration [org.jbpm.graph.def.ProcessDefinition.exceptionHandlers]; using 
defaults.
  | [darwin] WARN [main] EhCacheProvider.buildCache(103) | Could not find 
configuration [org.jbpm.graph.node.Decision.decisionConditions]; using defaults.
  | [darwin] WARN [main] EhCacheProvider.buildCache(103) | Could not find 
configuration [org.jbpm.file.def.FileDefinition.processFiles]; using defaults.
  | [darwin] WARN [main] EhCacheProvider.buildCache(103) | Could not find 
configuration [org.jbpm.graph.def.ProcessDefinition.actions]; using defaults.
  | [darwin] WARN [main] EhCacheProvider.buildCache(103) | Could not find 
configuration [org.jbpm.graph.def.Transition.exceptionHandlers]; using defaults.
  | [darwin] WARN [main] EhCacheProvider.buildCache(103) | Could not find 
configuration [org.jbpm.graph.def.ProcessDefinition.nodes]; using defaults.
  | [darwin] WARN [main] EhCacheProvider.bu

[jboss-user] [JBoss jBPM] - Re: New jBPM Getting Started Documentation

2006-10-06 Thread dhartford
Although slightly off topic, great article to read to make sure you have a good 
understanding of the problem JBPM is trying to solve.

http://labs.jboss.com/portal/index.html?ctrl:cmd=render&ctrl:window=default.blog.PrjBlogPortletWindowDefaultBlog&project=all&from=1&link=JBoss_jBPM_Meets_WfMC%3A_They_got_my_respect_%21#JBoss_jBPM_Meets_WfMC%3A_They_got_my_respect_%21



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

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


[jboss-user] [JBoss Seam] - Paginator EJB and DataModel

2006-10-06 Thread monkeyden
I have implemented a Paginator SFSB and use it within my Seam action (also 
SFSB).  I expose the paginator itself to the web layer using @Out.  

Currently, the paginator's collection is annotated with @DataModel, and that 
works fine for rendering and paginating.  The Seam action has the 
@DataModelSelection which obviously does not work correctly.  The question I 
have is, can you annotate using @DataModel and @DataModelSelection in two 
different classes?

A SFSB Paginator didn't seem right to me so I also thought about extending 
DataModel for the paginator, and annotating that with @DataModel in the Seam 
action, which is probably the right way to go.

Thanks for the suggestions.

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

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


[jboss-user] [JBoss Seam] - Re: Seam with Jbpm - Operation not allowed.

2006-10-06 Thread trouby

Eh, guess the reason is that seam development is checked only against apache's 
jsf implementation,


Hopefully someone will truck this post and fix it for RI too (Gavin?) :)


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

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


[jboss-user] [JBoss Seam] - Re: schemaLocation

2006-10-06 Thread efabiano
sorry, 
I want a xsd for this namespaces:

  xmlns:ui="http://java.sun.com/jsf/facelets"; 
  xmlns:h="http://java.sun.com/jsf/html"; 
  xmlns:s="http://jboss.com/products/seam/taglib";>

tank you

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

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


[jboss-user] [JBoss Seam] - Re: Seam with Jbpm - Operation not allowed.

2006-10-06 Thread cja987
I am also having the same problem when using the RI with Seam CVS.  This 
occurred with my own app and with the booking example.


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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Deploying web services in a sar file

2006-10-06 Thread master_yoda
.sar file is used when you deploy an MBean service. Can you plaese explain why 
you have to use .sar file. 

see some .sar in the jboss server deploy dir. you can then figure out yourself 
the purpose of sar.

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

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


[jboss-user] [JBoss Seam] - Re: Default namming strategy for components

2006-10-06 Thread sebasfiorent
Yes it would be helpfull.

In fact, the behavior that I'm trying to achieve is the same that you have when 
you configure a bean in Spring framework. If you don't set name, the name 
becomes the same as the package+class name.

I think that the best way to do this is to have the same notion that exists 
with Hibernate for naming stategies.

What can we do? Raise a JIRA issue?

Regards
Sebastian

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

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


[jboss-user] [JBoss Seam] - Re: Default namming strategy for components

2006-10-06 Thread petemuir
"sebasfiorent" wrote : Exists a default naming strategy for components?

No.

But it has been suggested before, as you suggest, perhaps with configuration 
for how many packaging levels you want to take account of (e.g.  0 levels: 
foo.bar.Class -> @Name("class"), 1 level: foo.bar.Class -> @Name("bar.class")).

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

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


[jboss-user] [JBoss Portal] - Re: JBoss Portal SVN Repository

2006-10-06 Thread mholzner
thanks Thomas! 

I guess that's what I get for blindly following the instructions under 

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

it works now ;)  ... almost. 

Now I get 

  | configure:
  | Overriding previous definition of reference to apache.ant.classpath
  | 
  | _default:compile-classes:
  | [mkdir] Created dir: C:\work\jboss\jboss-portal-2.6\test\output\classes
  | [mkdir] Created dir: 
C:\work\jboss\jboss-portal-2.6\test\output\gen\classes
  | [javac] Compiling 44 source files to 
C:\work\jboss\jboss-portal-2.6\test\output\classes
  | 
  | BUILD FAILED
  | C:\work\jboss\jboss-portal-2.6\tools\etc\buildfragments\buildmagic.ent:249: 
The following error occu
  | rred while executing this line:
  | C:\work\jboss\jboss-portal-2.6\tools\etc\buildfragments\buildmagic.ent:357: 
Reference apache.directo
  | ry.classpath not found.
  | 
[/url]

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

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


[jboss-user] [JBoss Messaging] - Blog on JBoss Messaging 1.2 and clustering

2006-10-06 Thread timfox
Hello all-

I have just posted a blog on the features in JBoss Messaging 1.2, hopefully 
this will be of interest.

http://jboss.org/jbossBlog/blog/tfox/

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976648
___
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-10-06 Thread bfo81
I'll give it a try. Thank you ;)

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

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


[jboss-user] [JBoss jBPM] - Re: jBPM BPEL Designer - Bonjour Example

2006-10-06 Thread [EMAIL PROTECTED]
Hi Rainer,

Note that Burr wrote those instructions for jPBM BPEL 1.1-beta1. I suggest you 
try that version first, then switch to Beta2 when you become more familiar with 
the software.

When switching versions, be sure to clean everything up (your app server, your 
database, etc.). Otherwise you might encounter some weird exceptions.

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

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


[jboss-user] [JBoss jBPM] - Re: various instances from the same task

2006-10-06 Thread jainer
I resolved my problem using various process instances (my problem of various 
task instances), and with a decision the last process starts a subprocess, 
where take data from the last process instances.

Now my problem is other, 'cause i cannot to take variables with 
contexInstance.getVariable("variableName") (i don't now why) in my ActionHandler

But thank u very much  Abhiram!!!

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

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


[jboss-user] [JBossCache] - Re: Is it possible to run TreeCache in standalone applicatio

2006-10-06 Thread [EMAIL PROTECTED]
Sure.  Just look through the testsuite in the JBoss Cache source.  Most of the 
unit tests involve programatically creating standalone JBoss Cache instances 
and having them form clusters.  The different instances are started in the same 
JVM, but that's not important.  They still communicate with each other via the 
machine's network layer.

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

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


[jboss-user] [JBoss Seam] - Re: @Redirect issues - not redirecting to a page

2006-10-06 Thread zzzz8
Hi Gavin,

I retried with the proper viewID - /error.jspx - and I hate to say it, it's 
still failing...

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

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


[jboss-user] [JBoss Seam] - Bug in Seam Skeleton App (Hibernate Code Generation tool)

2006-10-06 Thread ric1607
Hello,

I'm using 3.2beta7 tool.

During Hibernate Code Generation from a JDBC Connection, with JDK5 and EJB3 
checked, all the exporters work except the Seam Skeleton App:
it dies with the following error:


Exception while generating code. 
Reason:
org.hibernate.tool.hbm2x.ExporterException: error while processing template 
seam/find.jsp.ftl

[Details]
org.hibernate.tool.hbm2x.ExporterException: Error while processing template 
seam/find.jsp.ftl
  freemarker.core.InvalidReferenceException: Expression field.value.typeName is 
undefined on line 45, column 6 in seam/find.jsp.ftl.
freemarker.core.InvalidReferenceException: Expression field.value.typeName 
is undefined on line 45, column 6 in seam/find.jsp.ftl.


Thanks for any help!

--Eric

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

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


[jboss-user] [JBoss jBPM] - Re: various instances from the same task

2006-10-06 Thread arjakki


Look for the task node prpoerties

http://docs.jboss.com/jbpm/v3/userguide/jpdl.html#tasknode.element

signal attribute {unsynchronized|never|first|first-wait|last|last-wait}, 
default is last. signal specifies the effect of task completion on the process 
execution continuation. 

Let me know if that is what u r looking for

Abhiram

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

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


[jboss-user] [JBoss jBPM] - Re: various instances from the same task

2006-10-06 Thread arjakki
Hi,

Look for the task node properties.

signal attribute {unsynchronized|never|first|first-wait|last|last-wait}, 
default is last. signal specifies the effect of task completion on the process 
execution continuation 
http://docs.jboss.com/jbpm/v3/userguide/jpdl.html#tasknode.element.

Let me know if that helps.

Abhiram

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

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


[jboss-user] [JBoss Seam] - Default namming strategy for components

2006-10-06 Thread sebasfiorent
Exists a default naming strategy for components? 
I have the following situation:

I'm starting to build a large-scale app which will contain about 800+ 
components. I really need the "name" attribute of @Name annotation to be 
optional. If no "name" is specified, the name will be the className.

Example

package a.b;

@Name
@Stateful
public class C{
..
}

then, component C will be named a.b.C (equals to assign name="a.b.C" in the 
@Name annotation).

My intention is to use @In in a seamless way, because with a huge number of 
components, that would become a knighmare to detect errors (at runtime)

Regards,
Sebastian

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

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


[jboss-user] [Installation, Configuration & Deployment] - Deploying web services in a sar file

2006-10-06 Thread bossy
Hi,
I'm currently working on some web services. Everything works fine if deployed 
in a war file. If I deploy it in a sar file the web services become 
unavailable. I'm not very familiar with the idea of the sar file( I just had to 
do it). Could somebody explain to me ( or at least point to some documentation) 
what's the diference between these two formats and also do I need to 
re-configure the deployments descriptors for a sar file?
Thanks.

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

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


[jboss-user] [JBoss Seam] - Re: Problems using Ajax4jsf to Seam Hibernate3 sample app

2006-10-06 Thread smartbinary
FYI:

I've updated the system such that it will now build/deploy/run under JBoss 
v4.0.4.GA.  The updates are posted here:

  http://jira.jboss.org/jira/browse/JBSEAM-388


Regards,

Todd

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

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


[jboss-user] [JBoss Seam] - Re: Multiple POJO Custom JSF DataTable

2006-10-06 Thread petemuir
Sorry, the second class should be called House!

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

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


[jboss-user] [JBoss Seam] - Re: Multiple POJO Custom JSF DataTable

2006-10-06 Thread petemuir
Very simple.

public class Person {
  | 
  | 
  | House house;
  | 
  | // more fields, getters and setters for house
  | }
  | 
  | public class CD {
  | 
  | String number;
  | String road;
  | 
  | // etc.
  | }
  | 
  | #{person.house.road}

If Person had been outjected.  More generally you can traverse associations on 
an object graph.

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

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


[jboss-user] [JBoss Seam] - Re: Multiple POJO Custom JSF DataTable

2006-10-06 Thread johnurban
You are really answering my question in the latter post, but I am curious about 
what you mean by:

anonymous wrote : 
  | Remember you can traverse entity relationships in EL
  | 

Pardon my ignorance. I am EJB30/Seam acronym challenged at the moment. I'm 
digesting alot in a short period of time here.

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

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


[jboss-user] [JBoss jBPM] - Re: how to know the state running of the process?

2006-10-06 Thread michaelholtzman
Off the top of my head 


  | public Vector processState(ProcessInstance pin) {
  |Vector v = new Vector();
  |Token root = pin.getRootToken();
  |v.add(root.getNode().getName();
  |childStates(root, v);
  |return v;
  | }
  | 
  | public void childStates(Token token, Vector v) {
  |if (token.hasActiveChildren()) {
  | Map children = token.getActiveChildren();
  | if (children != null) {
  | Collection kids = children.values();
  | if (kids.size() > 0) {
  | for (Iterator it = kids.iterator(); it.hasNext();) {
  | Token tok = (Token)it.next();
  | v.add(tok.getNode().getName());
  | }
  | }
  | }
  | }
  | 

You can, of course, collect any token information of interest and stick it in 
whatever object is appropriate.

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

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


[jboss-user] [JBoss Seam] - Re: Access SFSB from another SFSB using Injection...

2006-10-06 Thread johnurban
This, obviously does not work (look at the checkIn() method:

PersonFinderBean.java

  | package testSeam;
  | 
  | // Generated Sep 23, 2006 1:30:01 PM by Hibernate Tools 3.2.0.beta7
  | 
  | import java.util.HashMap;
  | import java.util.List;
  | import java.util.Map;
  | import java.util.Map.Entry;
  | import java.util.Random;
  | import java.util.Date;
  | import javax.ejb.Remove;
  | import javax.ejb.Stateful;
  | import javax.interceptor.Interceptors;
  | import javax.persistence.EntityManager;
  | import javax.persistence.Query;
  | import org.jboss.seam.ScopeType;
  | import org.jboss.seam.annotations.Destroy;
  | import org.jboss.seam.annotations.In;
  | import org.jboss.seam.annotations.Name;
  | import org.jboss.seam.annotations.RequestParameter;
  | import org.jboss.seam.annotations.Scope;
  | import org.jboss.seam.annotations.datamodel.DataModel;
  | import org.jboss.seam.annotations.datamodel.DataModelSelection;
  | import org.jboss.seam.ejb.SeamInterceptor;
  | 
  | @Name("personFinder")
  | @Stateful
  | @Scope(ScopeType.SESSION)
  | @Interceptors(SeamInterceptor.class)
  | public class PersonFinderBean implements PersonFinder {
  | 
  | private Person example = new Person();
  | 
  | public Person getExample() {
  | return example;
  | }
  | 
  | Users instance = new Users();
  | 
  | @In(required=false)
  | private Login login;
  | 
  | private AttendanceEditor attendanceRecord = ;
  | 
  | private int pageNumber = 0;
  | private int pageSize = 20;
  | private boolean registered = false;
  | 
  | public String getSecurityCode() {
  | return "83738392";
  | }
  | 
  | public void setRegistered(boolean value) {
  | registered = value;
  | }
  | 
  | public boolean getRegistered() {
  | return registered;
  | }
  | 
  | public void setPageSize(int size) {
  | pageSize = size;
  | }
  | 
  | public int getPageSize() {
  | return pageSize;
  | }
  | 
  | public boolean isPreviousPage() {
  | return personList != null && pageNumber > 0;
  | }
  | 
  | public boolean isNextPage() {
  | return personList != null && personList.size() == pageSize;
  | }
  | 
  | @DataModel
  | private List personList;
  | 
  | @DataModelSelection
  | private Person selectedPerson;
  | 
  | @In(create = true)
  | private EntityManager entityManager;
  | 
  | private void executeQuery() {
  | Map parameters = new HashMap();
  | StringBuffer queryString = new StringBuffer();
  | if (example.getId() != 0) {
  | queryString.append(" and person.id = :id");
  | parameters.put("id", example.getId());
  | }
  | if (example.getRoomId() != 0) {
  | queryString.append(" and person.roomId = :roomId");
  | parameters.put("roomId", example.getRoomId());
  | }
  | if (example.getOrganizationId() != 0) {
  | queryString.append(" and person.organizationId = 
:organizationId");
  | parameters.put("organizationId", 
example.getOrganizationId());
  | }
  | if (example.getFirstName() != null && 
example.getFirstName().length() > 0) {
  | queryString.append(" and person.firstName like 
:firstName");
  | parameters.put("firstName", '%' + 
example.getFirstName() + '%');
  | }
  | if (example.getMiddleName() != null
  | && example.getMiddleName().length() > 0) {
  | queryString.append(" and person.middleName like 
:middleName");
  | parameters.put("middleName", '%' + 
example.getMiddleName() + '%');
  | }
  | if (example.getLastName() != null && 
example.getLastName().length() > 0) {
  | queryString.append(" and person.lastName like 
:lastName");
  | parameters.put("lastName", '%' + example.getLastName() 
+ '%');
  | }
  | if (example.getAddress1() != null && 
example.getAddress1().length() > 0) {
  | queryString.append(" and person.address1 like 
:address1");
  | parameters.put("address1", '%' + example.getAddress1() 
+ '%');
  | }
  | if (example.getCity() != null && example.getCity().length() > 
0) {
  | queryString.append(" and person.city like :city");
  | parameters.put("city", '%' + example.getCity() + '%');
  | }
  | if (example.getState() != null && example.getState().length() > 
0) {
  | queryString.append(" and person.state like :state");
  | parameters.put("state", '%' + example.getState(

[jboss-user] [EJB 3.0] - Re: servlet:// InvokerLocator with @RemoteBinding(jndiBindin

2006-10-06 Thread ALRubinger
By changing the transport layer to go over HTTP, are you also changing the port 
from the default of 3873?  And what version of EJB3 are you using?

I'd come across this behaviour a couple weeks ago, before RC9.  The relevant 
bug was: http://jira.jboss.com/jira/browse/EJBTHREE-678

...where previous to RC9, if you specified @RemoteBinding, it defaulted 
"clientBindUrl", causing the InvokerLocator to use "socket://0.0.0.0:3873" for 
carrying out the invocation.  

Just a guess; stab in the dark.  Maybe try specifying 
@RemoteBinding(clientBindUrl="http://0.0.0.0:8080";) (or your HTTP port) if 
you're not on RC9?

S,
ALR

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

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


[jboss-user] [EJB 3.0] - Re: interceptor metadata issue

2006-10-06 Thread tterm
Hello,

no answers until now. :-) Would be more information helpful? I can provide 
testcases and all that if necessary!

Regards,
Thomas Termin


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

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


[jboss-user] [JBoss jBPM] - Re: BPEL beta2 - switch condition boolean true/false

2006-10-06 Thread KVAK_TNT
Problem solved...
first point:


second point: It is essentiel that code inside the  has to be placed inside a  
or a 

Greetings

Claus 

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

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


[jboss-user] [EJB 3.0] - Re: JBoss EJB3 Embedded dependencies for Maven 2

2006-10-06 Thread [EMAIL PROTECTED]
Please read forum, specifically post:

http://www.jboss.com/index.html?module=bb&op=viewtopic&t=91160

Haven't quite decided yet what goes in the repo.

http://repository.jboss.com/maven2

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

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


[jboss-user] [JBoss jBPM] - how to know the state running of the process?

2006-10-06 Thread psurian
Hello,

My process definition is well done and the process runs perfectly.

But the run take a long time and I would like to know in which state (node) my 
process is, at one time of the execution ?

Thank for your help.

Pascal

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

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


[jboss-user] [JBoss Seam] - Re: Problems using Ajax4jsf to Seam Hibernate3 sample app

2006-10-06 Thread smartbinary
Plz disregard...figured it out.

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

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


[jboss-user] [EJB 3.0] - java.lang.NoClassDefFoundError: javax/portlet/PortletContext

2006-10-06 Thread lowecg2004
I'm using EJB3 RC9 with Seam and the following exception occurs frequently when 
my session times out:

15:20:10,243 ERROR [STDERR] Exception in thread "SFSB Passivation Thread - 
jboss.j2ee:ear=ocss.ear,jar=ocssEJB.jar,name=MyAccountBean,service=EJB3" 
  | 15:20:10,243 ERROR [STDERR] java.lang.NoClassDefFoundError: 
javax/portlet/PortletContext
  | 15:20:10,243 ERROR [STDERR] at 
java.lang.Class.getDeclaredConstructors0(Native Method)
  | 15:20:10,243 ERROR [STDERR] at 
java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
  | 15:20:10,243 ERROR [STDERR] at 
java.lang.Class.getConstructor0(Class.java:2671)
  | 15:20:10,243 ERROR [STDERR] at 
java.lang.Class.getDeclaredConstructor(Class.java:1953)
  | 15:20:10,243 ERROR [STDERR] at 
org.jboss.serial.classmetamodel.SunConstructorManager.getConstructor(SunConstructorManager.java:70)
  | 15:20:10,243 ERROR [STDERR] at 
org.jboss.serial.classmetamodel.ClassMetaData.findConstructor(ClassMetaData.java:381)
  | 15:20:10,243 ERROR [STDERR] at 
org.jboss.serial.classmetamodel.ClassMetaData.(ClassMetaData.java:127)
  | 15:20:10,243 ERROR [STDERR] at 
org.jboss.serial.classmetamodel.ClassMetamodelFactory.getClassMetaData(ClassMetamodelFactory.java:335)
  | 15:20:10,243 ERROR [STDERR] at 
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:171)
  | 15:20:10,243 ERROR [STDERR] at 
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:202)
  | 15:20:10,243 ERROR [STDERR] at 
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
  | 15:20:10,243 ERROR [STDERR] at 
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
  | 15:20:10,243 ERROR [STDERR] at 
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
  | 15:20:10,243 ERROR [STDERR] at 
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:275)
  | 15:20:10,243 ERROR [STDERR] at 
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:202)
  | 15:20:10,243 ERROR [STDERR] at 
org.jboss.serial.persister.ArrayPersister.saveObjectArray(ArrayPersister.java:110)
  | 15:20:10,243 ERROR [STDERR] at 
org.jboss.serial.persister.ArrayPersister.writeData(ArrayPersister.java:101)
  | 15:20:10,243 ERROR [STDERR] at 
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:275)
  | 15:20:10,243 ERROR [STDERR] at 
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:202)
  | 15:20:10,243 ERROR [STDERR] at 
org.jboss.serial.io.JBossObjectOutputStream.writeObjectOverride(JBossObjectOutputStream.java:181)
  | 15:20:10,243 ERROR [STDERR] at 
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:298)
  | 15:20:10,243 ERROR [STDERR] at 
org.jboss.serial.io.MarshalledObject.(MarshalledObject.java:51)
  | 15:20:10,243 ERROR [STDERR] at 
org.jboss.ejb3.stateful.StatefulBeanContext.writeExternal(StatefulBeanContext.java:401)
  | 15:20:10,243 ERROR [STDERR] at 
org.jboss.serial.persister.ExternalizePersister.writeData(ExternalizePersister.java:58)
  | 15:20:10,243 ERROR [STDERR] at 
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:275)
  | 15:20:10,243 ERROR [STDERR] at 
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:202)
  | 15:20:10,243 ERROR [STDERR] at 
org.jboss.serial.io.JBossObjectOutputStream.writeObjectOverride(JBossObjectOutputStream.java:181)
  | 15:20:10,243 ERROR [STDERR] at 
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:298)
  | 15:20:10,243 ERROR [STDERR] at 
org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:347)
  | 15:20:10,243 ERROR [STDERR] at 
org.jboss.ejb3.cache.simple.SimpleStatefulCache.passivate(SimpleStatefulCache.java:194)
  | 15:20:10,243 ERROR [STDERR] at 
org.jboss.ejb3.cache.simple.SimpleStatefulCache$SessionTimeoutTask.run(SimpleStatefulCache.java:129)
  | 

Alright, I could add portal-api.jar to my deployment - but my application isn't 
using a portal.

Any ideas on what might be wrong?

Chris.

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

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


[jboss-user] [JBoss Seam] - schemaLocation

2006-10-06 Thread efabiano
Hi,

We need a schemaLocation (xsd) for this namespaces:
 xmlns:ui
 xmlns:h
 xmlns:s

Does anybody know where I can find them?

thank you

emerson fabiano



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

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


[jboss-user] [JBoss Seam] - Re: Access SFSB from another SFSB using Injection...

2006-10-06 Thread petemuir
Sorry, that was a mangled mess :(



anonymous wrote : What if SFSB_2 has not yet been created?

This is why I did

@In(create=true)
  | private SFSB_2 sfsb2;

I suggest you post some code - makes it much easier to understand where you are 
having problems! In general I would suggest grouping related functions on the 
same sesion bean - perhaps you should use a different session bean for creating 
that attendance record?

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

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


[jboss-user] [JBoss Seam] - Re: Access SFSB from another SFSB using Injection...

2006-10-06 Thread petemuir
anonymous wrote : What if SFSB_2 has not yet been created?

This is why I did

[EMAIL PROTECTED](create=true)
  | private SFSB_2 sfsb2;

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

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


  1   2   >