[jboss-user] [jBPM Users] - Re: org.hibernate.MappingException: Named query not known: f

2009-10-14 Thread homes
I have another question: What are the difference between ReprositorySession and DBSession? When I implement a new FindProcessInstanceById command and use the ReprositorySession class instead of DBSession, the whole command works fine. View the original post :

[jboss-user] [JBoss Web Services Users] - Re: Web service call or javax.xml.bind.JAXBException

2009-10-14 Thread shekharpyne
I have kind of problem..Will you plz help... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4260219#4260219 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4260219 ___ jboss-user

[jboss-user] [JBoss Web Services Users] - Re: [METRO] com.sun.xml.ws.api.pipe.TubelineAssemblerFactory

2009-10-14 Thread jkoops
Thank you, Richard, this pointed me in the right direction: My TubelineAssemblerFactory was not used because my jar was after jbossws-metro-wsit-rt.jar in the classpath order. This jar also defines a custom TubelineAssemblerFactory and Metro silently uses the first one. I did not patch the

[jboss-user] [jBPM Users] - Re: Question and remark about mail-templates

2009-10-14 Thread sebastian.s
So http://docs.jboss.org/jbpm/v4/devguide/html_single/#mailtemplates is not up to date? In the jbpm.mail.templates.xml I directly start with the tag mail-template or do I need to embedd the template into jbpm-configuration and process-engine-context? View the original post :

[jboss-user] [JBoss Messaging Users] - Re: IllegalStateException: Cannot find counter with name

2009-10-14 Thread roelof
i did a bit more investigation into the problem: 1. the jbm_postoffice table contain the correct information 2. the ServerPeer on each node return the correct counters for the subscriber connected to that node. it does not return the counters for the subscribers on the other node. after a node

[jboss-user] [jBPM Users] - Re: Question and remark about mail-templates

2009-10-14 Thread sebastian.s
The main problem stays the same. Where to put the configuration file? I always assumed install/generated/cfg/jbpm.cfg.xml would be used in the tomcat demo setup. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4260229#4260229 Reply to the post :

[jboss-user] [JBoss Messaging Users] - Slow consumer is blocking producer

2009-10-14 Thread PoonamAgarwal
Hi, I am using Jboss 4.2.0 and JBoss Messaging 1.4.4. I am facing a performance issue. I am using 1 publisher and 1 subscriber to a Topic. I am trying to post 36000 messages to the topic from the producer. The subscriber(consumer) takes each message and does some processing. But, what I have

[jboss-user] [jBPM Users] - Re: Question and remark about mail-templates

2009-10-14 Thread sebastian.s
Okay, the configuration file seems to reside in jbpm.cfg.jar in the lib-Folder of the Tomcat-installation? This is not documented somewhere, is it? :) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4260234#4260234 Reply to the post :

[jboss-user] [jBPM Users] - Re: Question and remark about mail-templates

2009-10-14 Thread sebastian.s
How to define mail templates in the configuration for the Tomcat demo setup: 1. Grab jbpm.cfg.jar which was created during the run of ant demo.setup.tomcat. [list=test] * TEST * TEST2 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4260237#4260237 Reply to

[jboss-user] [EJB 3.0 Users] - Problems with different permissions for Local- and Remote-In

2009-10-14 Thread ralle
It seems, that's JBoss (Version 4.2.3) cannot handle different permissions for the local and the remote interface of an Ejb-Method. Here is my example. method-permission ejb-nameSbExampleBean/ejb-name method-intfLocal/method-intf

[jboss-user] [JBoss Tools Users] - JBossTools JMX Poller - Server failed to start

2009-10-14 Thread derget
Hi! I'm using the following combination: Win32 Java 1.6 U16 Eclipse Galileo 3.5 SR1 JBoss Tools 3.1.0.M3 JBoss 3.2.7 When starting the 'default' configuration everything is fine, but any other config fails. I've got the following error: Server JBoss 3.2 Runtime Server failed to start. An

[jboss-user] [jBPM Users] - Re: Question and remark about mail-templates

2009-10-14 Thread sebastian.s
Sorry for the mess. By accident I pushed Submit and not preview. Editing posts is really a feature I would highly appreciate. Okay, how to define mail templates in the configuration for the Tomcat demo setup: 1. Grab the jbpm.cfg.jar which was created during the run of ant demo.setup.tomcat.

[jboss-user] [jBPM Users] - Jbpm/MySQL not working on linux, but fine on Windows

2009-10-14 Thread dleerob
Hi, I have Jbpm 3.2.6 running on a Windows 2008 server, with Tomcat 5.0.28 and MySQL 5.0.27 as the DB running on local windows machine. It works perfectly. As soon as I use MySQL 5.0.67 on a separate linux server (SLES11), and use that as my db/datasource with the exact same data/permissions,

[jboss-user] [jBPM Users] - Sending e-mails with mail tasks

2009-10-14 Thread sebastian.s
I can't send e-mails with mail tasks. In the unit tests it worked but on my Tomcat server I am getting this: | Caused by: javax.mail.NoSuchProviderException: smtp | at javax.mail.Session.getService(Session.java:794) | at javax.mail.Session.getTransport(Session.java:718) |

[jboss-user] [JCA] - Re: Oracle Failover connection url

2009-10-14 Thread vickyk
born_free_77 wrote : | Any idea what I am missing, Does any one has sample ds files? | Check this http://anonsvn.jboss.org/repos/jbossas/branches/JBPAPP_4_2/testsuite/src/resources/jca/ha/test-ha-ds.xml

[jboss-user] [Beginner's Corner] - Create Stateful Session Bean programmatically?

2009-10-14 Thread mwx.dennis
I need to conditionally create a Stateful Session Bean instance. Therefore I cannot use an @EJB annotation - I'm looking for a way to do it programmatically. Ideally, I'd like to say MySfsbRemote newInstance = ???.create(MySfsbRemote.class); How can I do this? I guess I cannot use new

[jboss-user] [EJB 3.0 Users] - Re: java.lang.NoClassDefFoundError when accessing my EJBs

2009-10-14 Thread mikhailov_kg
Try setting -Dsun.lang.ClassLoader.allowArraySyntax=true see http://bugs.sun.com/view_bug.do?bug_id=6434149 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4260261#4260261 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4260261

[jboss-user] [EJB] - Re: Exception when running with JDK 1.6 Mustang

2009-10-14 Thread mikhailov_kg
This is classloader issue in jdk6 Try setting -Dsun.lang.ClassLoader.allowArraySyntax=true see http://bugs.sun.com/view_bug.do?bug_id=6434149 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4260264#4260264 Reply to the post :

[jboss-user] [EJB 3.0 Users] - Re: Problems with different permissions for Local- and Remot

2009-10-14 Thread Wolfgang Knauf
Hi, please post the full snippet of your method-permission section. Wrap the xml snippet in [ code ]-Tags (see advanced editor for forum posts. Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4260266#4260266 Reply to the post :

[jboss-user] [JBoss Messaging Users] - Re: Performance problem - UIL2 vs. JBoss Remoting?

2009-10-14 Thread luuzz
Any Answer please ?? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4260276#4260276 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4260276 ___ jboss-user mailing list

[jboss-user] [Beginner's Corner] - Re: Create Stateful Session Bean programmatically?

2009-10-14 Thread Wolfgang Knauf
Hi, why not performing a JNDI lookup? InitialContext initialContext = new InitialContext(); | Object objLookup = initialContext.lookup (earName/BeanName/remote); | MySfsbRemote newInstanc= (MySfsbRemote)objLookup; If you use an application client, you will have to configure JNDI through

[jboss-user] [JBoss Portal Users] - Jboss Portal 2.7.2 and EJB3

2009-10-14 Thread Fuchs
Hello, I like to know, how to run EJB3 on the JBoss-Portal-2.7.2-bundle. I tried to do it with the instructions of EJB3-Download. |1. Download EJB 3.0 RC4 - PFD. |2. Unzip this file. |3. Copy ejb3.deployer from the lib/ directory of the distribution to |

[jboss-user] [JCA] - Re: Oracle Failover connection url

2009-10-14 Thread born_free_77
Hey Vickyk, Thanks for the response. I am using the same xml files and I did see the test-ha-ds.xml files. Initially I was using connection-url like this | connection-urljdbc:oracle:t...@x:1...@sid|jdbc:oracle:t...@x:1...@sid/connection-url | if I use |

[jboss-user] [Security] - Re: Caller unauthorized on using a ejb3 statetlesssessionbea

2009-10-14 Thread praenti
ok. WebAuthentication is working. I had to create the jboss-web.xml and added there the security-domain. Now my Login module is running. But the original error is still present. Using a Servlet which does WebAuthentication. The error: | 13:59:50,370 INFO [SpiiderLoginModule]

[jboss-user] [EJB 3.0 Users] - Re: Problems with different permissions for Local- and Remot

2009-10-14 Thread ralle
That's an extract from the XML-Descriptor: ejb-jar xmlns=http://java.sun.com/xml/ns/javaee; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation=http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd; | version=3.0 |

[jboss-user] [EJB] - CMR Collections and transaction demarcation

2009-10-14 Thread smith.ge...@gmail.com
I am using JBoss 4.2.1, EJB 2.1. I have a session bean which uses a finder to get a collection of entities and creates a list of data transfer objects. The entities have CMR Collections that need to be accessed. I am trying to make this work without a transaction, and I'm using XDoclet, so I've

[jboss-user] [Beginner's Corner] - Re: Create Stateful Session Bean programmatically?

2009-10-14 Thread mwx.dennis
Yeah, cool. I had actually hoped to get it by type (in order to have a typesafe, refactoring-friendly lookup like with @EJB injection) but it's definitely a good solution. Thanks very much! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4260287#4260287 Reply

[jboss-user] [jBPM Users] - Re: jbpm-bpel-1.1.1 test hello error

2009-10-14 Thread Rashem
Hi, Can you please share the changes you did to run the hello example correctly? Thanks in advance. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4260293#4260293 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4260293

[jboss-user] [JBoss Web Services Users] - Re: Web service call or javax.xml.bind.JAXBException

2009-10-14 Thread Christy
I have the same problem. Help please View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4260298#4260298 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4260298 ___ jboss-user mailing

[jboss-user] [JCA] - Re: Oracle Failover connection url

2009-10-14 Thread vickyk
born_free_77 wrote : | if I use | | | connection-urljdbc:oracle:thin:@(description=(address_list=(load_balance=on)(failover=on)(address=(protocol=tcp)(h | | ost=host1)(port=1521))(address=(protocol=tcp)(host=host2)(port=1521)))(connect_data=(service | |

[jboss-user] [JCA] - Re: Oracle Failover connection url

2009-10-14 Thread born_free_77
Let me try this again | connection-urljdbc:oracle:thin:@(description=(address_list=(load_balance=on)(failover=on)(address=(protocol=tcp)(h | | ost=host1)(port=1521))(address=(protocol=tcp)(host=host2)(port=1521)))(connect_data=(service | |

[jboss-user] [JBoss Web Services Users] - Re: JBOSS-5.1.0.GA web service client doesn't work ( runtime

2009-10-14 Thread CarlosEduardoDantas
i have the same problem.. any idea? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4260314#4260314 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4260314 ___ jboss-user mailing

[jboss-user] [jBPM Users] - Is creating a new process project with eclipse an option und

2009-10-14 Thread jdlut
I'm new to jBPM. I've downloaded and installed jBPM4.1 and following the excellent user documentation. Many of the tutorials for jBPM such as http://www.mastertheboss.com/en/jboss-jbpm/51-jbpm-tutorial-part-1.html mention creating a new Process Project. However, that option isn't available

[jboss-user] [jBPM Users] - Re: Is creating a new process project with eclipse an option

2009-10-14 Thread sebastian.s
You are right. There isn't a process project anymore. However an ant-task to deploy the process definition is supplied. There should also be an ant script around which also creates the jar with the java classes used in the process definition. Deploying is not really comfortable right now. AFAIK

[jboss-user] [JBoss Web Services Users] - Re: JBOSS-5.1.0.GA web service client doesn't work ( runtime

2009-10-14 Thread CarlosEduardoDantas
this link https://jira.jboss.org/jira/browse/JBWS-2649 says The problem is simply that you can't mix the jbossws saaj implementation and the Sun's one. Please follow the installation instructions for using JDK6 (putting jbossws libraries in endorsed lib dir) and this exception should not

[jboss-user] [EJB 3.0 Users] - Re: Problems with different permissions for Local- and Remot

2009-10-14 Thread Wolfgang Knauf
Hi, to my understanding, the user has to be authenticated even when accessing unsecured methods, because you specifiy a security domain in jboss.xml. I found a rather old thread, where someone tried to achieve the same as you do: http://www.jboss.org/index.html?module=bbop=viewtopicp=3960447,

[jboss-user] [JBoss Microcontainer Users] - Getting to a ClassInfo's ClassLoader

2009-10-14 Thread flavia.rain...@jboss.com
Ales, Currently, whenever I need to get to the ClassLoader of a ClassInfo object, I use geType().getClassLoader(). The point is that getType is deprecated. Is there any other way of getting the ClassInfo's classloader without going through getType()? View the original post :

[jboss-user] [jBPM Users] - Re: Is creating a new process project with eclipse an option

2009-10-14 Thread jdlut
Thank you Sebastian for letting me know that process project really doesn't exist for jBPM 4. I agree that it would be convenient to have a standard process project. I'll use the ant tasks instead. Jade View the original post :

[jboss-user] [Security] - Re: Caller unauthorized on using a ejb3 statetlesssessionbea

2009-10-14 Thread Wolfgang Knauf
Hi Michael, I am sorry, but I don't have further ideas. Might be a problem of the config, or might be a JBoss problem. Your console log contained only output of your Spiider login module and the servlet, but no output of the JBoss security layer. If you did not do so already: activate this

[jboss-user] [JBoss Microcontainer Users] - Re: Getting to a ClassInfo's ClassLoader

2009-10-14 Thread alesj
How do we use it elsewhere/before? Looking at the Javassist usage, it seems we need to change it a bit. |public Class? extends Object getType() |{ | if(clazz == null) | clazz = JavassistUtil.ctClassToClass(ctClass); | | return clazz; |} |

[jboss-user] [JBoss Cache Users] - bulkUpdate - could not release cache lock

2009-10-14 Thread jbosscacheuser1
Hi, We are using Hibernate-3.3.2 and JBossCache-3.1.0. We are running into issues on bulk update, the operation runs longer time trying, to acquire locks on the nodes. The issue happens only in Websphere 6.1 and now issues with the bulk update in JBoss. 1. The hibernate session is flushed

[jboss-user] [JBoss Cache Users] - Re: bulkUpdate - could not release cache lock

2009-10-14 Thread jbosscacheuser1
The issue happens only in Websphere 6.1 and now issues with the bulk update in JBoss. The above should read as... The issue happens only in Websphere 6.1 and no issues with the bulk update in JBoss. View the original post :

[jboss-user] [jBPM Users] - Process Definition - Versioning (jBPM4)

2009-10-14 Thread narayana_y
Hi I am new to jBPM and learning it. Can anyone please explain me how to maintain different versions of process defnitions in jBPM4. Also please let me know where can i get the documentation on jBPM4. Please suggest.. Thanks in advance for your valuable reply.. View the original post :

[jboss-user] [Installation, Configuration Deployment] - Can't undeploy without restarting jboss.

2009-10-14 Thread ironosity
First a little background. I'm running 5.0.1. I have multiple EARs deployed on a single instance. Because this is a test environment it is important that each engineer be able to deploy/undeploy without restarting the server so as not to interfere with other's work. I need to be able to

[jboss-user] [jBPM Users] - Re: Problems with indexes in jbpm.history.hbm.xml

2009-10-14 Thread RonanKER
Hi all, I hadn't seen the bug when i installed my app on SQL Server but I'm now installing it with Oracle and I discover it... so In my SQL Server Database the 4 double-index exist so it takes lots of more space... so in next update script for my clients i'll delete useless indexes... And for

[jboss-user] [JBoss Cache Users] - Cache locking problem

2009-10-14 Thread mlohbihler
Hi, I can't seem to find any post about this, so i'm sure i'm doing something wrong. If anyone can tell me what, it would be greatly appreciated. Even with REPEATABLE_READ and writeSkewCheck=true i can easily determine that data versioning isn't working. I'm using 3.2.1GA with the following

[jboss-user] [JBoss Tools Users] - Re: JBossTools JMX Poller - Server failed to start

2009-10-14 Thread dgolovin
Make a double click on server in server view to open Server Configuration and change Startup Poller from JMX to Timeout. I've opened JIRA issue for your post https://jira.jboss.org/jira/browse/JBIDE-5024 View the original post :

[jboss-user] [JBoss Web Services Users] - multiple EJB WS deployments with shared context root

2009-10-14 Thread kcbabo
Is $subject possible with JBoss WS? Trying to help a client port their application off of GlassFish/Metro. They have ~50 EJB WS archives that are deployed as EJB jars. Each jar contains a web service definition with a shared context root, e.g. ejb1.jar : endpoint-uri = /foobar/service1

[jboss-user] [jBPM Users] - Re: Process Definition - Versioning (jBPM4)

2009-10-14 Thread sebastian.s
the documentation: http://www.jboss.org/jbossjbpm/jbpm_documentation/ how to ask questions: http://www.jboss.org/index.html?module=bbop=viewtopict=158610 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4260369#4260369 Reply to the post :

[jboss-user] [JBoss Cache Users] - Running JBoss Cache independent of Java application?

2009-10-14 Thread darmour
Hi We are working on an old Java application (non-container based) that is now loading 100s of MB of data into hashtables and running out of memory. One thing we need to do is move this data out of the JVM but have it accessible to it. When running JBoss Cache – can it be used in a way

[jboss-user] [JBoss OSGi Users] - JBossOSGi 1.0.0.Beta4 Released (14-Oct-2009)

2009-10-14 Thread thomas.dies...@jboss.com
I am happy to announce the release of JBossOSGi-1.0.0.Beta4. http://jbossosgi.blogspot.com/2009/10/jbossosgi-100beta4-released_14.html The release comes with improvements in the following areas * Initial release of our native JBossMC based OSGi Framework. * Added support for OSGi

[jboss-user] [JCA] - Re: Bug in connection validation code

2009-10-14 Thread jorgemoralespou_2
As reported by bortx we have seen this issue with our RA. We havent tried this kind of functionality with any of the JBoss` shipped RAs. We have modified the sources for Jboss AS connector, from the sources in 4.2.3 tag, and now the problem is fixed for our RA. One might think that the problem

[jboss-user] [JBoss Microcontainer Users] - Re: Getting to a ClassInfo's ClassLoader

2009-10-14 Thread flavia.rain...@jboss.com
alesj wrote : How do we use it elsewhere/before? Before I added those getType.getClassLoader() calls, the null classloader was being used for loading and creating ctClasses instead. I don't think that classloader is retrieved elsewhere,apart from BasicClassAdapter.getClassLoader(), that also

[jboss-user] [JBoss Cache Users] - Re: Buddy replication - initial state transfer after node re

2009-10-14 Thread RichardTaylor
Thanks, we'll just hold off on moving to buddy replication until the 3.3 release. Total replication works well for us at this point. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4260376#4260376 Reply to the post :

[jboss-user] [EJB 3.0 Users] - Asynchronous POJO service

2009-10-14 Thread bhimawan
So EJB3 clients can create an async proxy. Can we do the same thing with the clients of a POJO service? Is POJO service clustered? Thanks Budyanto View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4260396#4260396 Reply to the post :

[jboss-user] [JBoss Microcontainer Users] - Re: Getting to a ClassInfo's ClassLoader

2009-10-14 Thread alesj
flavia.rain...@jboss.com wrote : | Don't you mean that, if the ModifiableClassInfo is modified, it delegates the loading to CtClass::toClass first, and only then to the JavassistUtil.class.getClassLoader()? | IMO, this is correct, given that CtClass.toClass() uses the ClassPool and the

[jboss-user] [JBoss Portal Users] - Re: Source code for ShoppingCart and ShoppingCatalog portlet

2009-10-14 Thread SDF1
I have problem with deploying portlet into JBoss Portal. When I put portlet.war into folder: jboss/server/default/deploy, I get this message on console: 00:23:30,642 ERROR [LifeCycle] Cannot start object org.jboss.portal.portlet.container.PortletInitializationException: The portlet

[jboss-user] [jBPM Users] - Getting variables from child executions after joining

2009-10-14 Thread Josh86
Hi, is it possible to get variables, which are created in a child execution context, after joining these child executions, e.g. for merging the values of these variables? After joining the child executions, the getExecutions() method of the root execution object returns an empty list, so that i

[jboss-user] [Installation, Configuration Deployment] - Re: Can't undeploy without restarting jboss.

2009-10-14 Thread jaikiran
Yes, file locking has been a problem on Windows even in earlier versions of JBoss. My understanding was that it was fixed in AS-5 with the introduction of VFS, but it's still present. So coming back to your issue - i guess instead of deploying as an exploded folder, you can probably deploy it

[jboss-user] [EJB 3.0 Users] - Re: Asynchronous POJO service

2009-10-14 Thread jaikiran
Which POJO service are you referring to? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4260426#4260426 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4260426 ___ jboss-user mailing

[jboss-user] [Installation, Configuration Deployment] - Re: jbossweb-tomcat.sar upgrade to Tomcat 5.5.28

2009-10-14 Thread jaikiran
You might want to ask this question in the Tomcat Integration forum http://www.jboss.org/index.html?module=bbop=viewforumf=50 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4260427#4260427 Reply to the post :

[jboss-user] [jBPM Users] - History information is not retried in sequence in JBPM 3.2.

2009-10-14 Thread crazyworld
Hi, I am using JBPM 3.2.x Here when i fetch the log information using public Map findLogsByProcessInstance(long processInstanceId) {...} method i am able to retrieve the ProcessLogs but the List of Proces Logs doesnt maintains proper sequnce as the logs are created in Database. In

[jboss-user] [jBPM Users] - Re: History information is not retried in sequence in JBPM

2009-10-14 Thread crazyworld
Moderator can u please change a typo retried to retrieved in the subject line View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4260432#4260432 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4260432