[jboss-user] [Beginner's Corner] - Installation Jboss AS 5 for jdk6 failed....
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: http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Installation_And_Getting_Started_Guide/5/html/index.html help? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261636#4261636 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261636 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: Installation Jboss AS 5 for jdk6 failed....
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 : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261638 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: [JBPM 4] Process variable
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 have to : * modify jbpm.variable.types.xml to make JBPM know this Class * Possibly to write a new class implementing org.jbpm.pvm.internal.type.variable (then refer to it in jbpm.variable.types.xml ) * Possibly to write a Converter also. My choice would be to handle all the persistance in the Variable Class. Hope this helps. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261644#4261644 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261644 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Logging in JBoss
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 better jar for using them. Please give me some details regarding the advantages/disadvantages of using the following Logger's: java.util.logging.Logger org.jboss.logging.Logger org.apache.log4j.Logger I am assuming : Using JBoss logging might make my code tightly coupled with the application server (I am not sure we'll change the application server) but it may offer greater performance as it is JBoss specific logging. However, it would be great if someone provides insights into this. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261645#4261645 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261645 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: [JBPM 4] Process variable
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 post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261646 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] how to access ManagedConnectionFactory properties
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.jca:service=ManagedConnectionFactory,name= + jndiName; ObjectName oJdbc = new ObjectName(objectNameParam); return (Element) server.getAttribute(oJdbc, ManagedConnectionFactoryProperties); } The element looks like: * properties *config-property name='ConnectionURL' type='java.lang.String'jdbc:db2://10.9.33.186:50001/cams181u/config-property *config-property name='DriverClass' type='java.lang.String'com.ibm.db2.jcc.DB2Driver/config-property *config-property name='UserName' type='java.lang.String'camsuser/config-property *config-property name='Password' type='java.lang.String'camsuser/config-property *config-property name='CheckValidConnectionSQL' type='java.lang.String'select 1 from SYSIBM.SYSDUMMY1/config-property *config-property name='TrackStatements' type='java.lang.String'false/config-property *config-property name='ValidateOnMatch' type='boolean'true/config-property *config-property name='ConnectionProperties' type='java.lang.String' * progressiveStreaming=2 * currentSchema=CAMSSCHEMA * currentFunctionPath=quot;SYSIBMquot;,quot;SYSFUNquot;,quot;SYSPROCquot;,quot;SYSIBMADMquot;,quot;CAMSSCHEMAquot; * progressiveStreaming=2 */config-property * /properties Is there a common class availabe I could pass this Element, and access the config-property values with get...() methods? Or do I need to write my own DOM parsing, using XPath for example? Thanx, Torsten___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: Installation Jboss AS 5 for jdk6 failed....
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 : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261647#4261647 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261647 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: how to programatically list actitities from one activity
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. c) Extend jbpm springconfiguration class, override the buildProcessEngine, getTaskService methods. getTaskService should return the class which you extend from TaskService. d) Extend AbstractCommand and pass in custom taskservice class created in above step. Here you override the behaviour... p.s: search the forum, i remember few threads explaining more in detail on this implementation. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261648#4261648 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261648 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: Slow consumer is blocking producer
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 mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: Installation Jboss AS 5 for jdk6 failed....
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 the JDK installation. In your case, it should point to C:\Program Files\Java\jdk1.6.0_16 So set it appropriately. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261652#4261652 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261652 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Deployment related Issue
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 | I Depend On: | jboss.j2ee:jndiName=local/MessageMDB,service=EJB,plugin=invoker,binding=test-message-driven-bean | Before this message In the log it is shown that [EjbModule] Deploying MessageMDB I am not able to identify the issue. Regards, Rasa. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261669#4261669 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261669 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Store long strings as variables
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 : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261688#4261688 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261688 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: identities from LDAP example pls!
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) { | Timer lTimer = Timer.getInstance(getClass(), findGroupById); | InitialDirContext lContext = null; | GroupImpl lGroup = null; | | try | { | lContext = getLDAPContext(); | | // Set up Search Controls | SearchControls lSearchControls = new SearchControls(); | lSearchControls.setSearchScope( SearchControls.SUBTREE_SCOPE ); | | // set time limit for query. Useful for preventing the application from being blocked | lSearchControls.setTimeLimit( 3000 ); | lSearchControls.setReturningObjFlag( true ); | | // set filter | String lSearchString = ((cn= + iGroupId + )(objectclass=group)); | | // perform search on directory | NamingEnumerationSearchResult lResults = lContext.search( getProps().getLdapBase(), lSearchString, lSearchControls ); | | if ( lResults.hasMore() ) | lGroup = getGroup(lResults.next()); | } | catch (Throwable e) | { | throw new RuntimeException(e); | } | finally | { | lTimer.log(); | try { if (lContext != null ) lContext.close(); } catch (NamingException e) { } | } | | return lGroup; | } | | public ListGroup findGroupsByUser(String iUserId) { | Timer lTimer = Timer.getInstance(getClass(), findGroupsByUser); | InitialDirContext lContext = null; | ListGroup lGroups = null; | | try | { | lContext = getLDAPContext(); | | // Set up Search Controls | SearchControls lSearchControls = new SearchControls(); | lSearchControls.setSearchScope( SearchControls.SUBTREE_SCOPE ); | | // set time limit for query. Useful for preventing the application from being blocked | lSearchControls.setTimeLimit( 3000 ); | lSearchControls.setReturningObjFlag( true ); | | // set filter | String lSearchString = ((|(cn= + iUserId + )(samAccountName= + iUserId + ))(objectclass=user)); | | // perform search on directory | NamingEnumerationSearchResult lResults = lContext.search( getProps().getLdapBase(), lSearchString, lSearchControls ); | | if ( lResults.hasMore() ) | lGroups = getGroups(lResults.next()); | } | catch (Throwable e) | { | throw new RuntimeException(e); | } | finally | { | lTimer.log(); | try { if (lContext != null ) lContext.close(); } catch (NamingException e) { } | } | | return lGroups; | } | | public ListGroup findGroupsByUserAndGroupType(String iUserId, String iGroupType) { | return findGroupsByUser(iUserId); | } | | public User findUserById(String iUserId) { | Timer lTimer = Timer.getInstance(getClass(), findUserById); | InitialDirContext lContext = null; | UserImpl lUser = null; | | try | { | lContext = getLDAPContext(); | | // Set up Search Controls | SearchControls lSearchControls = new SearchControls(); | lSearchControls.setSearchScope( SearchControls.SUBTREE_SCOPE ); | | // set time limit for query. Useful for preventing the application from being blocked | lSearchControls.setTimeLimit( 3000 ); | lSearchControls.setReturningObjFlag( true ); | | // set filter | String lSearchString = ((|(cn= + iUserId + )(samAccountName= + iUserId + ))(objectclass=user)); | | // perform search on directory | NamingEnumerationSearchResult lResults = lContext.search( getProps().getLdapBase(), lSearchString, lSearchControls ); | | if ( lResults.hasMore() ) | lUser = getUser(lResults.next()); | } | catch (Throwable e) | { | throw new RuntimeException(e); | } | finally | { | lTimer.log();
[jboss-user] [jBPM Users] - Re: Querying Against Process Variables
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 : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261693 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Remoting Users] - Re: JBoss RMI + Serialization performance issue
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 them(considering jvm warmups etc). We did this for Java RMI with raw_socket (or javaRMI with java serialization) Then we did the same with Jboss RMI over socket (socket transport with jboss serialization). We did this as the same process and as a different processes. In all the cases socket transport with java serialization took abt 35% more time than java RMI with java serialization. Now considering jboss RMI with jboss serialization it takes more than 10 times w.r.t. java RMI with java serialization. I am not sure where i am doing wrong. below is the code public class Person implements Serializable { | int id; | private VectorPerson personVector= null; | | //HERE WE POPULATE A TREE WITH A GIVEN DEPTH AND BREADTH. | public Person populateDepth(Person person, int currentDepth, int breadth, int finalDepth) { | if (currentDepth = finalDepth) { | return person; | } else { | person.personVector = new VectorPerson(breadth); | this.id = this.personID++; | for (int i = 0; i breadth; i++) { | Person p = new Person(); | person.personVector.add(p); | populateDepth(p, currentDepth + 1, breadth, finalDepth); | } | } | return person; | } | |//DOES THE JAVA SERIALIZATION | public byte[] getJavaBytes() throws Exception { | ByteArrayOutputStream st = new ByteArrayOutputStream(64 * 1024); | ObjectOutputStream os = new ObjectOutputStream(st); | os.writeObject(this); | byte[] s = st.toByteArray(); | return s; | } | | //DOES JBOSS SERIALIZATION. | public byte[] getJbossBytes() throws Exception { | ByteArrayOutputStream st = new ByteArrayOutputStream(64 * 1024); | ObjectOutputStream os = new JBossObjectOutputStream(st); | os.writeObject(this); | byte[] s = st.toByteArray(); | return s; | } | | //STRESS CODE | public static long stress(IRemote playerInterface, Person player, int hits) throws Exception { | long startingTime; | long endTime; | startingTime = System.currentTimeMillis(); | for (int i = 0; i hits; i++) { | Person result = playerInterface.execute(player); | } | endTime = System.currentTimeMillis(); | return endTime - startingTime; | } | | } | | Also we see Jboss serialization to produce 40% more bytes than java serialization for the above prog. Cleint prog is as follows | uri= socket://10.1.131.96:8092?serializationtype=jboss; | int depth=15; | int breadth =2; | remote = (IRemote) TransporterClient.createTransporterClient(uri, IRemote.class); | Person p = new Person(); | p = p.populateDepth(p, 0, breadth, depth); | return Person.stress(remote, p, hits); | | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261694#4261694 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261694 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: [JBPM4] Migration from one process definition version to
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 this c..p in all posts? i searched google like crazy without an definite answer waht kind of deployment is officialy supported in jBPM 4.1 and how can we migrate Processes from one version to another. this is a Problem that all serios jBPM users have it!!! why don't you just write something about it in User docu or developer docu if you are so frikin' smart View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261697#4261697 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261697 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security] - Re: ejb not validating user role at session bean methods + J
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 define something at the ear level to avoid having a similar jboss.xml in all my ejb jars? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261698#4261698 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261698 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: [JBPM4] Migration from one process definition version to
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 certain level of stability which means they are not supposed to still change a lot (there exceptions of course). For you both: Looking trough the issue list to be fixed in jBPM 4.3 easily brings up this issue which was reopened: https://jira.jboss.org/jira/browse/JBPM-165 Note the link Tom posted in the comments: http://calebpowell.blogspot.com/2009/06/jbpm-migrations-our-approach.html View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261699#4261699 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261699 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: identities from LDAP example pls!
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 who do not want to use IDM. Let me know what you think. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261704#4261704 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261704 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Remoting Users] - Re: JMS receiving connection dropped (ConnectionValidator),
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 mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: [JBPM4] Migration from one process definition version to
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 the world can not compare with the official docu. Why isn't anywhere documented if deploying with overwrite is possible and if not how could one migrate the old definition process instances to the new process definition? sebastian.s wrote : | 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 certain level of stability which means they are not supposed to still change a lot (there exceptions of course). | | For you both: | | Looking trough the issue list to be fixed in jBPM 4.3 easily brings up this issue which was reopened: | | https://jira.jboss.org/jira/browse/JBPM-165 | | Note the link Tom posted in the comments: | | http://calebpowell.blogspot.com/2009/06/jbpm-migrations-our-approach.html | i found that feature request too,but id doesn't mean anything as log as jBPM 4.3 is not available.. or does it? ;) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261708#4261708 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261708 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - problem using JmsXA resouce adapter
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 ClusteredXAConnectionFactory insted of JmsXA then the same message is processed successfully. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261709#4261709 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261709 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - JBoss 4.2.2 Deployment/class loader problem
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 name of the Java class that implements the enterprise bean's business methods in the ejb-class element. Info : Class not found on 'com.rolfeandnolan.merlin.ejb.timedfeereport.TimedFeeReportEJB': No ClassLoaders found for: com.rolfeandnolan.merlin.ejb.timedfeereport.TimedFeeReportEJB 2009-10-22 12:10:52,180 ERROR [org.jboss.deployment.MainDeployer] Could not create deployment: file:/spd1/home/jboss/jboss-4.2.2.GA/server/UnitTest422/tmp/deploy/tmp18734FeesDirect_2.9_9.ear-contents/timedfeereportEJB.jar EJB-jar.xml :- ?xml version=1.0? !DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd' ejb-jar id=EJBJar_1144674068856 enterprise-beans ejb-nameTimedFeeReport/ejb-name local-homecom.rolfeandnolan.merlin.ejb.timedfeereport.TimedFeeReportLocalHome/local-home com.rolfeandnolan.merlin.ejb.timedfeereport.TimedFeeReportLocal ejb-classcom.rolfeandnolan.merlin.ejb.timedfeereport.TimedFeeReportEJB/ejb-class persistence-typeContainer/persistence-type prim-key-classjava.lang.Long/prim-key-class False cmp-version2.x/cmp-version abstract-schema-nameTimedFeeReport/abstract-schema-name cmp-field field-nametimedFeeReportID/field-name /cmp-field cmp-field field-nameexchangeCode/field-name /cmp-field cmp-field field-nametransactionType/field-name /cmp-field cmp-field field-namemembershipBasis/field-name /cmp-field cmp-field field-namepitBrokerFeeSet/field-name /cmp-field cmp-field field-nameclearingBrokerFeeSet/field-name /cmp-field cmp-field field-namedescription/field-name /cmp-field cmp-field field-nameowner/field-name /cmp-field cmp-field field-nameavailableTo/field-name /cmp-field cmp-field field-nameexecutionTime/field-name /cmp-field cmp-field field-namenextExecution/field-name /cmp-field cmp-field field-namecreatedBy/field-name /cmp-field cmp-field field-namecreatedDate/field-name /cmp-field cmp-field field-nameupdatedBy/field-name /cmp-field cmp-field field-nameupdatedDate/field-name /cmp-field primkey-fieldtimedFeeReportID/primkey-field ejb-local-ref ejb-ref-nameejb/KeyGenerator/ejb-ref-name ejb-ref-typeSession/ejb-ref-type local-homecom.rolfeandnolan.merlin.ejb.keygenerator.KeyGeneratorLocalHome/local-home com.rolfeandnolan.merlin.ejb.keygenerator.KeyGeneratorLocal ejb-linkkeygeneratorEJB.jar#KeyGenerator/ejb-link /ejb-local-ref query-method method-namefindPendingTimedFeeReports/method-name method-params method-paramjava.util.Date/method-param /method-params /query-method ejb-ql![CDATA[select OBJECT (o) from TimedFeeReport o WHERE o.nextExecution = ?1]]/ejb-ql
[jboss-user] [jBPM Users] - Re: [JBPM4] Migration from one process definition version to
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 definition by its key always the newest one is used. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261712#4261712 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261712 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: [JBPM4] Migration from one process definition version to
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 his solution or a different one would make it into jBPM 4.3. Till now I was not aware that process instance versioning would be a topic for me, too. But infact there are use cases for which I would need this functionality. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261714#4261714 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261714 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: [jBPM4.1] Update hibernate-type process variables via fo
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 mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: [JBPM4] Migration from one process definition version to
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 : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261724#4261724 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261724 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: how to programatically list actitities from one activity
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@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security] - Re: ejb not validating user role at session bean methods + J
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 | security-domainmysecuritydomain/security-domain | | /jboss-app Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261736#4261736 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261736 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security] - Re: Error using DatabaseServerLoginModule
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 : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261737 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache Users] - ClassCastExeption
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: org.hibernate.cache.jbc2.MultiplexedJBossCacheRegionFactory cannot be cast to org.hibernate.cache.RegionFactory | at org.hibernate.cfg.SettingsFactory.createRegionFactory(SettingsFactory.java:384) The relevant part of my configuration looks like this: property name=hibernateProperties | props | prop key=hibernate.dialectorg.hibernate.dialect.MySQLDialect/prop | prop key=hibernate.query.substitutionstrue 1, false 0/prop | prop key=hibernate.show_sql${db.showSql}/prop | prop key=hibernate.connection.autoReconnecttrue/prop | prop key=hibernate.connection.autoReconnectForPoolstrue/prop | prop key=hibernate.connection.release_modeauto/prop | prop key=hibernate.connection.is-connection-validation-requiredtrue/prop | | prop key=hibernate.transaction.manager_lookup_classorg.hibernate.transaction.JOTMTransactionManagerLookup/prop | prop key=hibernate.transaction.factory_classorg.hibernate.transaction.JTATransactionFactory/prop | prop key=hibernate.cache.region.factory_classorg.hibernate.cache.jbc2.MultiplexedJBossCacheRegionFactory/prop | | prop key=hibernate.cache.use_second_level_cachetrue/prop | prop key=hibernate.cache.use_query_cachefalse/prop | | !-- hibernate search -- | prop key=hibernate.search.analyzerorg.apache.lucene.analysis.SimpleAnalyzer/prop | prop key=hibernate.search.default.directory_providerorg.hibernate.search.store.FSDirectoryProvider/prop | prop key=hibernate.search.default.optimizer.operation_limit.max${db.searchIndexOptimizeAfterOperations}/prop | prop key=hibernate.search.default.indexBase${db.searchIndexBase}/prop | prop key=hibernate.search.indexing_strategymanual/prop | !--- prop key=hibernate.search.default.indexwriter.transaction.ram_buffer_size256/prop | prop key=hibernate.search.default.indexwriter.transaction.merge_factor100/prop | prop key=hibernate.search.default.indexwriter.transaction.max_merge_docs1000/prop -- | | !-- Enable Hibernate stats when running test -- | prop key=hibernate.generate_statistics${hibernateStats}/prop | /props | /property View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261753#4261753 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261753 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Deployment related Issue
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 : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261755 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: Logging in JBoss
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 not. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261754#4261754 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261754 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache Users] - Re: ClassCastExeption
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 |939 Wed Jun 24 01:55:42 CEST 2009 org/hibernate/cache/RegionFactory.class /usr/local/lib64/java/jdk/bin/jar tvf hibernate-jbosscache2-3.3.2.GA.jar | grep org.hibernate.cache.jbc2.MultiplexedJBossCacheRegionFactory |695 Wed Jun 24 01:57:18 CEST 2009 org/hibernate/cache/jbc2/MultiplexedJBossCacheRegionFactory.class View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261761#4261761 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261761 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: Client calls Timer only once
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@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Spring bean injection to Service implementation
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): ServletContext servletContext = (ServletContext) context.getMessageContext().get( MessageContext.SERVLET_CONTEXT); webApplicationContext = WebApplicationContextUtils.getWebApplicationContext(servletContext); Is there any example to inject Spring beans to JBossWS (native) services? Regards, Sagol View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261766#4261766 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261766 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache Users] - Re: ClassCastExeption
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 mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Custom JAXBContext search path for JAXWS EJB endpoint
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 type xs:any. I have the JAXB generated Java classes for the actual element being added as a child in the xml, but the object is still being unmarshalled as a DOM Element instead of my JAXB class. It seems like this should be possible, but I can't find any way to do this looking through the user docs. I thought by adding an @XmlSeeAlso annotation to my JAXWS EJB SEI implementation should've added that JAXB class to the JAXBContext used for unmarshalling, but that didn't work. Anybody have a solution? Or is this a JBoss bug? The JAXWS 2.1 spec (see section 2.2) seems to imply the @XmlSeeAlso should work, but their examples show the annotation on the SEI and not on the SEI implementation. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261770#4261770 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261770 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Microcontainer Users] - EAR being deployed over and over again?!
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 trying to deploy it over and over, but of course it's already deployed, so the attempt runs into this error: org.jboss.deployers.spi.DeploymentException: Error deploying jboss-poc-ejb.jar: Error creating ejb container FubarBean1: Container jboss.j2ee:ear=ejb-app.ear,jar=jboss-poc-ejb.jar,name=FubarBean1,service=EJB3,VMID=026595140065ca82:1b62e705:1247d602e95:-7fc2 + is already registered What am I doing wrong? New to JBoss, but have done Weblogic development for years and have done this on WL a number of times before, if that makes much difference. Thanks, Karoy View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261773#4261773 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261773 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Microcontainer Users] - Re: EAR being deployed over and over again?!
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 the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261774 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Microcontainer Users] - Re: Autoexplosion of archives
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 -- http://anonsvn.jboss.org/repos/common/common-core/trunk/src/main/java/org/jboss/util/file/JarUtils.java View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261779#4261779 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261779 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Problem Joining 3 Tables
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 joined with AB using another table ABC. So this last table has a composite primary key ABCpk that consists of the parts idC and ABPk which itself consists of idA and idB. All composite primary keys use the @Embeddable Annotation and are imbedded using @EmbeddedId similar to what is recommended in https://www.jboss.org/community/wiki/EJB3relationships My problem is that on ABC I can't activate the @ManyToOne Annotation that references AB. On deployment this gives me a NullPointerException. I am using JBoss 4.2.3.GA with Sun Java 1.6.0.16. Thanks Martin View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261780#4261780 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261780 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Datasource Configuration] - Updating datasource automatically
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 solution? Thanks to all, Alessio View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261782#4261782 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261782 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: how to programatically list actitities from one activity
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 mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Querying Against Process Variables
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 : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261787 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: [JBPM4] Migration from one process definition version to
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. - Peace... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261788#4261788 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261788 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security] - Multi Domain Login
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 against the LDAP application policy file/user - authenticated against the file application policy I created a DomainLoginModuleDelegate to instantiate the corresponding LoginModules based on the prefix and delegate the method calls to them My login-config.xml will have DomainLoginModule defined against the application jaas security domain. I am wondering if there is any other better way to handle this situation Thanks Sebastian View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261799#4261799 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261799 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Deployment related Issue
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 EJB LocalHome 'AccountCache' to jndi 'local/accountca...@9059727' | 18:45:04,880 INFO [ProxyFactory] Bound EJB Home 'AccountCache' to jndi 'AccountCache' | 18:45:04,892 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'SecurityFacade' to jndi 'local/securityfac...@30506753' | 18:45:04,902 INFO [ProxyFactory] Bound EJB Home 'SecurityFacade' to jndi 'SecurityFacade' | 18:45:05,214 INFO [EJBDeployer] Deployed: file:/usr1/jboss-4.2.3.GA/server/default/deploy/application.ear/application.jar/ | 18:45:05,862 INFO [TomcatDeployer] deploy, ctxPath=/jrap, warUrl=.../deploy/application.ear/application.war/ | 18:45:06,765 ERROR [STDERR] * | 18:45:06,766 ERROR [STDERR] Initializing Salmon Framework Property files | 18:45:06,766 ERROR [STDERR] Salmon Server Properties File Directory:/usr1/jboss-4.2.3.GA/server/default/deploy/jboss-web.deployer/salmonprops | 18:45:06,766 ERROR [STDERR] Absolute path is:/usr1/jboss-4.2.3.GA/server/default/deploy/jboss-web.deployer/salmonprops | 18:45:06,766 ERROR [STDERR] To change the property file location, set the VM System property salmon.props.path via the -D runtime switch. | 18:45:06,766 ERROR [STDERR] * | 18:45:07,293 INFO [EARDeployer] Started J2EE application: file:/usr1/jboss-4.2.3.GA/server/default/deploy/jrap.ear/ | 18:45:07,297 ERROR [URLDeploymentScanner] Incomplete Deployment listing: | | --- MBeans waiting for other MBeans --- And one more error i found in server.log. | 2009-10-22 16:55:22,032 DEBUG [org.jboss.ejb.MessageDrivenContainer] End java:comp/env for EJB: MessageMDB | 2009-10-22 16:55:22,032 DEBUG [org.jboss.ejb.plugins.local.BaseLocalProxyFactory] MessageMDB cannot be Bound, doesn't have local and local home interfaces | In our dd for MDB there is no local attribute. Actually it is not necessary. But BaseLocalProxyFactory is handling all the ejb classes in that way. May i know is there any different configuration available to disable such checking ? Regards Rasa. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261805#4261805 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261805 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user