[jboss-user] [Beginner's Corner] - Installation Jboss AS 5 for jdk6 failed....

2009-10-22 Thread rkidd
All attempts to run run.bat fail and result in this statement printing out to the screen: Calling C:\jboss\bin\run.con.bat I'm brand new at this so I followed this tutorial:

[jboss-user] [Beginner's Corner] - Re: Installation Jboss AS 5 for jdk6 failed....

2009-10-22 Thread jaikiran
You probably haven't set the JAVA_HOME variable to point correctly to the JDK? What does echo %JAVA_HOME% print when run from the same command prompt? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261638#4261638 Reply to the post :

[jboss-user] [jBPM Users] - Re: [JBPM 4] Process variable

2009-10-22 Thread Krohm
The problem is that JBPM does not recognize your Object as a persistable object. JBPM is capable of persisting Beans by itself, as long as the primary key is a Long or a String, as well as Standard Java Objects. If the Object you are trying to persist does not enter in that category, you will

[jboss-user] [Beginner's Corner] - Logging in JBoss

2009-10-22 Thread rohit.macherla
Hi, I am developing WebServices on JBoss 4.2.3.GA application server. I am planning to use Logger facility for logging the information, instead of the System.out.println's. I have found that the Logger class comes in various packages(jar's). For the list given below, I am unable to select a

[jboss-user] [jBPM Users] - Re: [JBPM 4] Process variable

2009-10-22 Thread czujnik
Thanks for Your info. I found that there is a problem with persistence of variables in JBPM 4.0 which has been solved in 4.1. I've changed jBPM version and my code works correctly. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261646#4261646 Reply to the

[jboss-user] how to access ManagedConnectionFactory properties

2009-10-22 Thread torsten . reinhard
Hi, with JMX i can retrieve the properties of a managed (database) connection: private Element getManagedConnectionFactoryProperties(final MBeanServerConnection server, final String jndiName) throws Exception { String objectNameParam =

[jboss-user] [Beginner's Corner] - Re: Installation Jboss AS 5 for jdk6 failed....

2009-10-22 Thread rkidd
jaikiran wrote : You probably haven't set the JAVA_HOME variable to point correctly to the JDK? What does | | echo %JAVA_HOME% | | print when run from the same command prompt? it says C:\Program Files\Java\jdk1.6.0_16\bin\java View the original post :

[jboss-user] [jBPM Users] - Re: how to programatically list actitities from one activity

2009-10-22 Thread rams.rapo
You would need to extend few jbpm classes and override the GetOutcomes behaviour. At a very high level: a) Extend WireDescriptorBinding, implement corresponding descriptor by extending ObjectDescriptor, etc b) Add entry for extended WireDescriptorBinding class in jbpm.wire.bindings.xml.

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

2009-10-22 Thread bershath27
What's your client application? Is it a plain JMS client ? Can I take a look at your client code please? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261651#4261651 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261651

[jboss-user] [Beginner's Corner] - Re: Installation Jboss AS 5 for jdk6 failed....

2009-10-22 Thread jaikiran
rkidd wrote : | | it says C:\Program Files\Java\jdk1.6.0_16\bin\java 1) It's always recommended *not* to install Java or JBoss in any folder containing a space in its path name. It's better to move the Java installation to maybe C:\Java 2) The JAVA_HOME should point to the root folder of

[jboss-user] [Installation, Configuration Deployment] - Deployment related Issue

2009-10-22 Thread rasa
Hi, When i deploy my application in jboss 4.2.3 GA i am getting following error | ERROR [URLDeploymentScanner] Incomplete Deployment listing: | | --- MBeans waiting for other MBeans --- | ObjectName: jboss.j2ee:jndiName=local/testb...@24099325,service=EJB | State: NOTYETINSTALLED

[jboss-user] [jBPM Users] - Re: Store long strings as variables

2009-10-22 Thread shiva0
I had the same problem persisting persisting objects in xml converted with XMLEncoder My quick fix for this was to convert it as byte[] before saving the variables. That way it is automatically stored in the LOB table. View the original post :

[jboss-user] [jBPM Users] - Re: identities from LDAP example pls!

2009-10-22 Thread shiva0
Here is the module I've coded to access a LDAP on ADS. Should get you started on what you need. public class IdentitySessionImpl implements IdentitySession { | | private static IdentitySessionProperties props = null; | | public Group findGroupById(String iGroupId) { |

[jboss-user] [jBPM Users] - Re: Querying Against Process Variables

2009-10-22 Thread vchira
I also need a solution for this..and yes I searched the forums. It would be greate if you could post some code. thx. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261693#4261693 Reply to the post :

[jboss-user] [JBoss Remoting Users] - Re: JBoss RMI + Serialization performance issue

2009-10-22 Thread ravi_eze
hi, Here's a new test. Even here the jboss socket comm (with/ without jboss serialization) does badly.The machines are the same linux boxes and no other process is runnin on it. First we ran the test for 1000 times(say this as a batch) and 15 such batches. Took the average of last 12 of

[jboss-user] [jBPM Users] - Re: [JBPM4] Migration from one process definition version to

2009-10-22 Thread vchira
kukeltje wrote : please can you search the forum first (either with google or directly) and then get back with more detailed questions. In general my answers would be: | | 1: Yes, but not that easy / Depends | 2: No I don't know who you think you are but can you frikin' stop posting

[jboss-user] [Security] - Re: ejb not validating user role at session bean methods + J

2009-10-22 Thread akhilachuthan
Got it.. my mistake There was no jboss.xml within the ejb's META-INF. Instead i had places it in the META-INF of the containing ear file... Now.. my application uses only a single security domain for all the ejb's and i have a multi jar setup within the ear. Is there any way by which i

[jboss-user] [jBPM Users] - Re: [JBPM4] Migration from one process definition version to

2009-10-22 Thread sebastian.s
To answer your question, vchira: He's the guy answering the biggest amount of questions in a competent and friendly way in this forum in his free time (!!). Features only make it into the user guide if they are considered to be stable, in the dev guide if they are considered to have at least a

[jboss-user] [jBPM Users] - Re: identities from LDAP example pls!

2009-10-22 Thread sebastian.s
Hello shiva, hello everybody thanks for posting this code. What do you and the developers think about taking this as a base to develop an out-of-the-box LDAP-integration? Of course there will be an integration of JBoss in the future and thus LDAP-support via IDM. But would be nice for people

[jboss-user] [JBoss Remoting Users] - Re: JMS receiving connection dropped (ConnectionValidator),

2009-10-22 Thread tomeicher
see: https://jira.jboss.org/jira/browse/JBESB-2902 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261705#4261705 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261705 ___

[jboss-user] [jBPM Users] - Re: [JBPM4] Migration from one process definition version to

2009-10-22 Thread vchira
sebastian.s wrote : To answer your question, vchira: He's the guy answering the biggest amount of questions in a competent and friendly way in this forum in his free time (!!). | maybe i saw only a small selection of his posts..if so than i bag your pardon. Even the most friendly advice in

[jboss-user] [JBoss Messaging Users] - problem using JmsXA resouce adapter

2009-10-22 Thread navaneethforu
I am using JmsXA connection factory for transacted JMS. It is working fine for small messages, but is giving following exception when message size is large while putting the message in queue javax.jms.JMSException: Failed to route Reference[-1363948824515837952]:RELIABLE to xyzQueue if i use

[jboss-user] [Installation, Configuration Deployment] - JBoss 4.2.2 Deployment/class loader problem

2009-10-22 Thread chrismm
Im getting this error from one of my EJBs (several hundred others deploy fine) when I startup jboss 4.2.2 ? 2009-10-22 12:10:52,177 WARN [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation: Bean : TimedFeeReport Section: 22.2 Warning: The Bean Provider must specify the fully-qualified

[jboss-user] [jBPM Users] - Re: [JBPM4] Migration from one process definition version to

2009-10-22 Thread sebastian.s
AFAIK it is documented that when you deploy new version of a process while the old ones remain useable in the system and existing process instances continue to use the old definition while newly started ones use the newone. And it should also be documented that when you reference a process

[jboss-user] [jBPM Users] - Re: [JBPM4] Migration from one process definition version to

2009-10-22 Thread sebastian.s
anonymous wrote : | i found that feature request too,but id doesn't mean anything as log as jBPM 4.3 is not available.. or does it? ;) | I don't know. I saw you've replied on Caleb's post. I would be happy if he was finally in the position to contribute his solution and even happier if

[jboss-user] [jBPM Users] - Re: [jBPM4.1] Update hibernate-type process variables via fo

2009-10-22 Thread markroy
Can anyone help here? Is there something I've left out that would elicit a response? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261717#4261717 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261717

[jboss-user] [jBPM Users] - Re: [JBPM4] Migration from one process definition version to

2009-10-22 Thread koen.a...@jboss.com
As I said in the post on the developer's forum, there will be support for instance migration in the upcoming release. The solution is somewhat different from Caleb's solution for jBPM 3.x. Regards, Koen View the original post :

[jboss-user] [jBPM Users] - Re: how to programatically list actitities from one activity

2009-10-22 Thread kadrim
thanks!!! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261734#4261734 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261734 ___ jboss-user mailing list

[jboss-user] [Security] - Re: ejb not validating user role at session bean methods + J

2009-10-22 Thread Wolfgang Knauf
Hi, JBoss 5 allows this by adding a jboss-app.xml to META-INF of your EAR: ?xml version=1.0 encoding=UTF-8? | !DOCTYPE jboss-app | PUBLIC -//JBoss//DTD J2EE Application 5.0//EN | http://www.jboss.org/j2ee/dtd/jboss-app_5_0.dtd; | | jboss-app |

[jboss-user] [Security] - Re: Error using DatabaseServerLoginModule

2009-10-22 Thread Wolfgang Knauf
Hi, take a look at this document: http://www.tek-tips.com/viewthread.cfm?qid=573337 Hope this helps Wolfgang View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261737#4261737 Reply to the post :

[jboss-user] [JBoss Cache Users] - ClassCastExeption

2009-10-22 Thread pschmiel
Hi, I have configured JBossCache as 2nd lvl cache for Hibernate. I use Tomcat 5.5 as servlet container, JOTM, Hibernate 3.3.2GA and JBoss Cache 3.2.0. When starting my app it dies with the following error: Caused by: java.lang.ClassCastException:

[jboss-user] [Installation, Configuration Deployment] - Re: Deployment related Issue

2009-10-22 Thread PeterJ
Earlier in the console log there should be an exception and stack trace, please post that. (What you posted is the deployment report which rarely says what went wrong.) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261755#4261755 Reply to the post :

[jboss-user] [Beginner's Corner] - Re: Logging in JBoss

2009-10-22 Thread PeterJ
Use commons logging http://commons.apache.org/logging/ Your logger would then be declared as: private static final org.apache.commons.logging.Log logger = org.apache.commons.logging.LogFactory.getLog(ErrorBase.class); Commons logging will use Log4J is the JAR file is present, and java.util is

[jboss-user] [JBoss Cache Users] - Re: ClassCastExeption

2009-10-22 Thread pschmiel
Here are my library versions: -rw-r--r-- 1 root root 2309955 22. Okt 16:44 hibernate-core-3.3.2.GA.jar | -rw-r--r-- 1 root root 60062 21. Aug 20:03 hibernate-jbosscache2-3.3.2.GA.jar /usr/local/lib64/java/jdk/bin/jar tvf hibernate-core-3.3.2.GA.jar | grep org.hibernate.cache.RegionFactory

[jboss-user] [EJB 3.0 Users] - Re: Client calls Timer only once

2009-10-22 Thread Fuchs
Thank you jaikiran! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261765#4261765 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261765 ___ jboss-user mailing list

[jboss-user] [JBoss Web Services Users] - Spring bean injection to Service implementation

2009-10-22 Thread sagolsb
Hi, I have been trying to inject Spring beans to JBossWS native service implementation but still not successful. I tried getting the WebApplicationContext as follows, via @Resource WebServiceContext context, but it returns null (java.lang.UnsupportedOperationException: Not yet supported):

[jboss-user] [JBoss Cache Users] - Re: ClassCastExeption

2009-10-22 Thread bstansbe...@jboss.com
My first suggestion is to look for multiple copies of hibernate-core.jar on the classpath. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261767#4261767 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261767

[jboss-user] [JBoss Web Services Users] - Custom JAXBContext search path for JAXWS EJB endpoint

2009-10-22 Thread mckibben
Hi All, I have a JAXWS EJB endpoint implementation using JBossWS 3.2 Native, and I need to customize the JAXBContext package search path used to unmarshall the SOAP payload. My wsdl is using document literal to send the payload, and one of the message elements has a child element that is of

[jboss-user] [JBoss Microcontainer Users] - EAR being deployed over and over again?!

2009-10-22 Thread JBossBorot
Made a very simple EAR {in Eclipse}, using Maven, all seems to be in order for its contents and everything. Plucked into the JBoss 5.1 default server config's deploy folder and started the server: - the app seems to deploy the 1st time, during a start-up, just fine - the then the server keeps

[jboss-user] [JBoss Microcontainer Users] - Re: EAR being deployed over and over again?!

2009-10-22 Thread JBossBorot
Update: using the Admin Console to deploy the EAR from its original location, in the Eclipse project's build-target output folder, works just fine. Deploys without incident and only once. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261774#4261774 Reply to

[jboss-user] [JBoss Microcontainer Users] - Re: Autoexplosion of archives

2009-10-22 Thread alesj
There is unjar now, if that helps: - ModificationType.UNJAR -- http://anonsvn.jboss.org/repos/jbossas/projects/jboss-deployers/trunk/deployers-core-spi/src/main/java/org/jboss/deployers/spi/structure/ModificationType.java - JarUtils::unjar --

[jboss-user] [EJB 3.0 Users] - Problem Joining 3 Tables

2009-10-22 Thread mwilmes
Hi, I have two Entities A and B each with a simple primary key idA and idB. I join them using a third table AB that has a composite primary key using an embedded primary key class ABPk. So far it works fine. Now I got another table C with a simple primary key idC involved that has to be

[jboss-user] [Datasource Configuration] - Updating datasource automatically

2009-10-22 Thread galup
Hi, In these days I'm tryng to make a web application that allows to create different databases and works on it. My problem is that I don't know how to update datasource automatically when user create a new database. For now I'm using JDBC but I prefer use datasource. Is there a simple

[jboss-user] [jBPM Users] - Re: how to programatically list actitities from one activity

2009-10-22 Thread kukeltje
Would be a nice subject for a blog entry if you achieve this ;-) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261786#4261786 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261786

[jboss-user] [jBPM Users] - Re: Querying Against Process Variables

2009-10-22 Thread kukeltje
The first question you always have to ask yourself: Is the businesskey sufficient. In many cases it is IF you separate your domain model from jBPM and just use a simple reference. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261787#4261787 Reply to the post

[jboss-user] [jBPM Users] - Re: [JBPM4] Migration from one process definition version to

2009-10-22 Thread kukeltje
For the record: - I never said I was smart... - I'd be more than happy to contribute documentation and more detailed answers. Just make sure €3000 is added to my account each month (taxes paid) and I'll even code for you. - If there is no definite answer there probably was little. -

[jboss-user] [Security] - Multi Domain Login

2009-10-22 Thread sebastianmohan
Hi I have created multiple application policy (LDAP, DB and file based). I would like to associate all of them to the same security domain in my application so that the user can login with a prefix. db/user--- authenticated against the DB application policy ldap/user authenticated

[jboss-user] [Installation, Configuration Deployment] - Re: Deployment related Issue

2009-10-22 Thread rasa
PeterJ wrote : Earlier in the console log there should be an exception and stack trace, please post that. (What you posted is the deployment report which rarely says what went wrong.) No Such exception. | [EjbModule] Deploying MessageMDB | 18:45:04,841 INFO [BaseLocalProxyFactory] Bound