[jboss-user] [JBoss Tools Users] - Re: Sending vm args
Double click the server to open the server editor and then click the 'Open launch configuration' link. In the Edit Configuration dialog you'll be able to set the VM arguments. See the docs: http://download.jboss.org/jbosstools/nightly-docs/en/as/html_single/index.html#server_editor View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263612#4263612 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263612 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - JBOSS 5 - WEB CONSOLE - BEAN STATISTICS
How can I get the Bean Statistics and Invocation Statistics on the WEB-CONSOLE at JBOSS 5? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263614#4263614 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263614 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache Users] - Re: CacheLoader saves but rollbacks
At last here is the complete replSync-service.xml. Sorry for the inconvenience. | http://www.w3.org/2001/XMLSchema-instance"; xmlns="urn:jboss:jbosscache-core:config:3.2"> | | | | | | | | | cache.jdbc.table.name=jbosscache | cache.jdbc.table.create=true | cache.jdbc.table.drop=true | cache.jdbc.table.primarykey=jbosscache_pk | cache.jdbc.fqn.column=fqn | cache.jdbc.fqn.type=VARCHAR(255) | cache.jdbc.node.column=node | cache.jdbc.node.type=BINARY | cache.jdbc.parent.column=parent | cache.jdbc.driver=org.hsqldb.jdbcDriver | cache.jdbc.url=jdbc:hsqldb:hsql://localhost/jbc | cache.jdbc.user=sa | cache.jdbc.password= | | | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263617#4263617 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263617 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Timer throwing exception intermittently
If the functionality is as you describe, then it is a bug. Can you debug the code and find out why exactly the id is still in the DispatcherThread (coincidence?) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263618#4263618 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263618 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Using Process variables as parameters for method calls
@Sebastian: Tom ran into a similar issue this morning: https://jira.jboss.org/jira/browse/JBPM-2622. Does the issue fit with your original problem? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263619#4263619 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263619 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: ERROR [AjpMessage] Invalid message recieved with signatu
Thanks for the reply. My application.xml seems to be in my working folder and looks like: | | | http://java.sun.com/dtd/application_1_3.dtd";> | | myproj | | | myproj.war | /myproj | | | | myproj-ejb.jar | | | myproj-ejb.jar | | | | | | | | | | | | | For the console log, are you looking for the output from my running the following command?: sudo $JBOSS_HOME/bin/run.sh -c myproj View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263620#4263620 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263620 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache Users] - Re: CacheLoader saves but rollbacks
If i comment the following: TransactionManager tm = Spring.getBean ( TransactionManager.class , "atomikosTransactionManager" ); | cache.getCache().getConfiguration().getRuntimeConfig().setTransactionManager(transactionManager); the behaviour is completely different: -instead of a single transaction spanning all operations between a SET AUTOCOMMIT FALSE and ROLLBACK, the log file structure is more complicated, including many SET AUTOCOMMIT FALSE and SET AUTOCOMMIT TRUE. More importantly there is no ROLLBACK at the end. -consequently the data is really persisted So, it works with the default, local transaction manager, but not with a JTA TM (Atomikos) .. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263621#4263621 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263621 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: ManyToMany problem
Hi again :D i found a solution - at least i'm close to a solution. I added this function to the Role. | @OneToMany(mappedBy="role") | private List listRoleFunctions; | ... | public List getFunctions(){ | List functions = new ArrayList(); | if(this.listRoleFunctions != null){ | for(RoleFunction rf:this.listRoleFunctions){ | Function f = new Function(); | f = rf.getFunction(); | functions.add(f); | } | } | return functions; | } | | public void setFunctions(List functions){ | if(functions.size() > this.listRoleFunctions.size()){ | //New function to add | for(Function f:functions){ | boolean add = true; | for(RoleFunction roleFunction:this.listRoleFunctions){ | if(roleFunction.getId().equals(f.getId())){ | add = false; | break; | } | | } | if(add){ | RoleFunction rf = new RoleFunction(); | rf.setFunction(f); | rf.setRole(this); | System.out.println("Adding (rf from lRF)"+rf.getRole().getName() +"."+rf.getFunction().getName()); | this.listRoleFunctions.add(rf); | } | } | }else{ | //Function to remove | System.out.println("remove function"); | for(RoleFunction roleFunction:this.listRoleFunctions){ | boolean remove = true; | for(Function f:functions){ | if(roleFunction.getId().equals(f.getId())){ | remove = false; | break; | } | } | if(remove){ | this.listRoleFunctions.remove(roleFunction); | } | } | } | } | The only thing which doesn't work is if a user deselect a already saved function assignment. I always get this error: 10:49:58,960 INFO [STDOUT] remove function | 10:49:58,960 SEVERE [component] /roleList.xhtml @72,106 value="#{roleHome.instance.functions}": Error writing 'functions' on type ch.emtm.entity.Role | java.util.ConcurrentModificationException | at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372) | at java.util.AbstractList$Itr.next(AbstractList.java:343) | at org.hibernate.collection.AbstractPersistentCollection$IteratorProxy.next(AbstractPersistentCollection.java:577) | ... Hope someone got input to solve this issue! Thanks in advance for any hint Greets View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263631#4263631 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263631 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Re: IllegalStateException Cannot find property
I am facing the similar issue. Please let me know if you have the solution.Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263637#4263637 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263637 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: ERROR [AjpMessage] Invalid message recieved with signatu
"john_es" wrote : | For the console log, are you looking for the output from my running the following command?: | | sudo $JBOSS_HOME/bin/run.sh -c myproj Yes. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263636#4263636 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263636 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss OSGi Users] - Re: Deployment of EJBs as OSGi Bundles
anonymous wrote : Yes, we are planning to deploy EJBs as OSGi bundles. Are there any news on that topic of deploying EJBs as an OSGi bundle? Is it already scheduled (I couldn't find it in JIRA)? Thanks in advance! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263643#4263643 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263643 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss OSGi Users] - Re: Deployment of EJBs as OSGi Bundles
You can vote here https://jira.jboss.org/jira/browse/JBOSGI-198 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263654#4263654 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263654 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: EJB3.0 MDB example
Hi, the only "dynamic" way of creating the queues I know is to tell JBoss to autocreate them: https://jira.jboss.org/jira/browse/JBAS-6013 Hope this helps Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263661#4263661 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263661 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering] - The requested URL /XXX-war/index.html was not found on this
Hi I am able to create cluster and deploy a web application on jboss5.1GA. I am also able to deploy EAR successful, but when i want access that application i am getting the following error in cluster mode "The requested URL /XXX-war/index.html was not found on this server." but i'm able to access the application in non-clustered mode! Can anybody help me to access the application's index file View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263663#4263663 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263663 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - MBean service either has no business interface or does not i
I found the following thread, but no response as yet: http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4180208 We are busy with a jbas4.2.2 -> 5.1.0.GA migration, and have an mbean: MyMBeanService.java: | @Service(objectName = "mycompany:service=MyMBeanService") | @Management(MyMBeanServiceMBean.class) | public class MyMBeanService extends ServiceMBeanSupport implements MyMBeanServiceMBean {} | MyMBeanServiceMBean.java: | public interface MyMBeanServiceMBean {} | It is being mapped as an mbean, via jboss-service.xml: | | | When I deploy this to JBAS 5, I get the following error: | ERROR [org.jboss.management.j2ee.MBean] (main) Could not destroy JSR-77 MBean: mycompany:service=MyMBeanService | javax.management.MBeanRegistrationException: preDeregister | at org.jboss.mx.server.registry.BasicMBeanRegistry.unregisterMBean | | Caused by: javax.management.RunimeOperationsException | at org.jboss.mx.server.MBeanServerImpl.removeNotficationLister | ... | Caused by: java.lang.IllegalArgumentException: The MBean mycompany:service=MyMBeanService exists but does not implement the NotifcationBroadcaster interface. | So I added the implementation: | public class MyMBeanService extends ServiceMBeanSupport implements MyMBeanServiceMBean, NotificationBroadcaster {} | which results in the following error | ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (HDScanner) Error installing to Real: name=vfszip:/usr/share/jbo | ss/jboss-5.1.0.GA/server/all/farm/7-Project-ear.ear/ state=PreReal mode=Manual requiredState=Real | org.jboss.deployers.spi.DeploymentException: Error deploying Project.sar: Error creating ejb container MyMBeanService: Bean Class com.mycompany.project | .management.MyMBeanService has no local, webservice, or remote interfaces defined and does not implement at least one business interface: MyMBeanService | at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:196) | at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:99) | I found a reference to the EJB 3 spec on JBoss Jira: "if a bean class implements a single interface, that interface will be assumed to be the business interface of the bean." And if a bean class implements more than 1 interface, then the business interface is specified through @Local or @Remote. So I added the annotation to MyMBeanServiceMBean: | @Local | public interface MyMBeanServiceMBean {} | After deploying this, I get the same error about the mbean existing, but not implementing NotificationBroadcaster interface (even though the bean does implement NotificationBroadcaster). I have also tried extending NotificationBroadcaster in the ServiceMBean: | public interface MyMBeanServiceMBean extends NotificationBroadcaster {} | which also still results in the not implementing notificationbroadcaster error. Not sure how to resolve this for this implementation (or perhaps a bug?) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263664#4263664 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263664 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: MBean service either has no business interface or does n
Its resolved - removed the jboss-service.xml mbean mapping, and let ejb3 handle the service deployment from the annotations. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263673#4263673 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263673 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - jBPM 4.x : roadmap BAR/PAR format
I'm evaluating jBPM 4.1. Currently if you take for example a simple PDF file and rename the extension to BAR/PAR to indicate it's a process archive, it will get deployed without any warnings or errors! The solution we envisage to avoid this problem is by imposing the presence of a file JBPM_LISTING in the BAR/PAR: MyProcesses.bar/ META-INF/ JBPM_LISTING myprocesses/ Process.jpdl.xml Subprocess.jpdl.xml InformationVO.class Translations.properties with JBPM_LISTING: myprocesses/Process.jpdl.xml myprocesses/Subprocess.jpdl.xml myprocesses/InformationVO.class myprocesses/Translations.properties During pre-deployment, if JBPM_LISTING contains an entry for a file that doesn't exist in the PAR/BAR then it would throw a validation error. Similar behaviour if files are discovered in the PAR/BAR which aren't defined in JBM_LISTING. Q : would it be interesting to include this kind of feature in the JBPM roadmap? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263674#4263674 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263674 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Processs defintion deployment failed on SQLServer2000
I've changed blob_ datatype form varbinary to image, which supports upto 2GB data. It's more than i required ;) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263676#4263676 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263676 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Processs defintion deployment failed on SQLServer2000
Thanks for getting back to us. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263677#4263677 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263677 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Customization of jBPM GPD
do you want to customize the 4.x or the 3.x GPD? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263678#4263678 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263678 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: Simple hibernate web app
Hi Jose, better ask this in the hibernate forums: https://forum.hibernate.org/index.php I don't know how hibernate searches its config files, but hopefully in the forums someone can help. According to Hibernate docs, "The XML configuration file is by default expected to be in the root of your CLASSPATH". So, I think that it should be placed in "WEB-INF\classes", not in some dependent lib. Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263679#4263679 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263679 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: ERROR [AjpMessage] Invalid message recieved with signatu
Ah, OK... just didn't want to post a huge thing if it wasn't necessary... or if I miss an obvious this in this output. Here it is. Let me know if there's anything else I can post. | = | | JBoss Bootstrap Environment | | JBOSS_HOME: /opt/jboss | | JAVA: java | | JAVA_OPTS: -Dprogram.name=run.sh -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 -Djava.net.preferIPv4Stack=true | | CLASSPATH: /opt/jboss/bin/run.jar | | = | | 10:58:13,130 INFO [Server] Starting JBoss (MX MicroKernel)... | 10:58:13,134 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439) | 10:58:13,137 INFO [Server] Home Dir: /opt/jboss | 10:58:13,137 INFO [Server] Home URL: file:/opt/jboss/ | 10:58:13,138 INFO [Server] Patch URL: null | 10:58:13,138 INFO [Server] Server Name: myproj | 10:58:13,138 INFO [Server] Server Home Dir: /opt/jboss/server/myproj | 10:58:13,138 INFO [Server] Server Home URL: file:/opt/jboss/server/myproj/ | 10:58:13,139 INFO [Server] Server Log Dir: /opt/jboss/server/myproj/log | 10:58:13,139 INFO [Server] Server Temp Dir: /opt/jboss/server/myproj/tmp | 10:58:13,139 INFO [Server] Root Deployment Filename: jboss-service.xml | 10:58:14,014 INFO [ServerInfo] Java version: 1.6.0_0,Sun Microsystems Inc. | 10:58:14,014 INFO [ServerInfo] Java VM: OpenJDK Client VM 14.0-b16,Sun Microsystems Inc. | 10:58:14,014 INFO [ServerInfo] OS-System: Linux 2.6.31-14-generic,i386 | 10:58:14,744 INFO [Server] Core system initialized | 10:58:18,402 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/ | 10:58:18,404 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml | 10:58:19,148 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc. | 10:58:19,148 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer | 10:58:19,321 INFO [TransactionManagerService] Starting recovery manager | 10:58:19,420 INFO [TransactionManagerService] Recovery manager started | 10:58:19,420 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference | 10:58:22,313 INFO [EJB3Deployer] Starting java:comp multiplexer | 10:58:25,557 INFO [NativeServerConfig] JBoss Web Services - Native | 10:58:25,557 INFO [NativeServerConfig] jbossws-3.0.1-native-2.0.4.GA (build=200803312044) | 10:58:28,104 INFO [Embedded] Catalina naming disabled | 10:58:28,301 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-6-openjdk/jre/lib/i386/client:/usr/lib/jvm/java-6-openjdk/jre/lib/i386:/usr/lib/jvm/java-6-openjdk/jre/../lib/i386:/usr/java/packages/lib/i386:/usr/lib/jni:/lib:/usr/lib | 10:58:28,348 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080 | 10:58:28,348 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009 | 10:58:28,348 INFO [Catalina] Initialization processed in 244 ms | 10:58:28,349 INFO [StandardService] Starting service jboss.web | 10:58:28,350 INFO [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA | 10:58:28,387 INFO [Catalina] Server startup in 38 ms | 10:58:28,595 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/ | 10:58:30,359 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/ | 10:58:31,053 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws-context.war/ | 10:58:31,437 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/ | 10:58:32,320 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/ | 10:58:33,463 INFO [MailService] Mail Service bound to java:/Mail | 10:58:33,600 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar | 10:58:33,623 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar | 10:58:33,638 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar | 10:58:33,657 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar | 10:58:33,728 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar | 10:58:33,745 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar | 10:58:33,767 INFO [RARDeployment] Required lice
[jboss-user] [jBPM Users] - Re: Conditional Task Assignment with Fork
hi, I've tried a different look around for this. viz., Assign all tasks with fork and delete unnecessary tasks with taskService.deleteTask(); But I'm getting error like this: org.jbpm.api.JbpmException: tasks related to an execution must be completed. they cannot just be deleted Conversely javadoc suggests like this: anonymous wrote : /** Deletes the task without completing indicating the reason. Example reasons |* could be: "failed", "error", "exited", "obsolete" or "deleted". |* The history information is kept in the DB. |* The reason ends up as the state in the {...@link HistoryActivityInstance}. |* If this task was created in the context of a process execution, |* the execution remains active and the {...@link ExecutionService#signalExecutionById(String)} |* is to be given explicitly. */ http://docs.jboss.com/jbpm/v4/javadocs/org/jbpm/api/TaskService.html#deleteTask(java.lang.String) Am I'm missing anything ?? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263683#4263683 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263683 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: ERROR [AjpMessage] Invalid message recieved with signatu
I don't see your application being deployed. Have you placed it in /opt/jboss/server/myproj/deploy folder? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263689#4263689 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263689 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security] - Re: (frustrated) cannot authenticate client against JAAS ena
Hi Zsolt, one thing to check: did you activate logging of the security layer (see sticky post "FAQ" in this forum, question 4)? Provide more details on your app, as I assume that you don't have the same config. Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263693#4263693 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263693 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Conditional Task Assignment with Fork
There is a discussion going on about this "issue" at the moment. Right now you can only complete tasks which belong to an execution and you can only delete tasks which were created independently. However if modelling an escalation from one task to a second one the first tasks remainds open and incompleted in the user's task list but it can't neither be deleted (because it belongs to an execution) nor completed because it is not active anymore. Join the discussion in the dev's forum and have a look at the matching JIRA issues. One idea is to introduce an additional state for tasks: cancelled View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263697#4263697 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263697 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: JBoss 5.1.0.GA performance tuning
anonymous wrote : But I did not see tuning Connection pools and exact file and what parameters need to change Section 14.6.1, configuring datasources anonymous wrote : Thread pools Section 14.6.2, Configuring the HTTP request thread pool anonymous wrote : Object/Component pools If all access is via a web app, the HTTP thread pools are all you need - all objects and component are access via on the HTTP threads. anonymous wrote : is there any way we can decide number of connection pools(min, max etc.) number of threads, min and max cache size etc.. Yes, by running performance tests. See section 14.2. Once you know the performance aspects of your application, then you will be able to "decide number of connection pools(min, max etc.) number of threads, min and max cache size etc.. based on the number of incoming requests/out going responses" View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263699#4263699 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263699 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: EventListener questions
This works for me. Note that I am using the process engine built by the default configuration which is stored in a static field in Configuration. | public class ApprovalListener implements EventListener { | | private static final long serialVersionUID = 1L; | | @Override | public void notify(EventListenerExecution execution) throws Exception { | ProcessEngine processEngine = Configuration.getProcessEngine(); | HistoryService historyService = processEngine.getHistoryService(); | HistoryTask task = HistoryService.createHistoryTaskQuery().executionId(execution.getId()).uniqueResult(); | | // now I can retrieve the information I wanted .. | task.getAssignee() | task.getCreateTime() | .. | } | | } | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263700#4263700 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263700 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Once again: Could not find new XAResource to use for recover
Hi, I've been searching the forums quite extensively on the following warning message. | WARN [com.arjuna.ats.jta.logging.loggerI18N] [com.arjuna.ats.internal.jta.resources.arjunacore.norecoveryxa] [com.arjuna.ats.internal.jta.resources.arjunacore.norecoveryxa] Could not find new XAResource to use for recovering non-serializable XAResource < 131075, 30, 28, 1-7f000101:da3f:4af020b2:6a6ec7f000101:da3f:4af020b2:6a6f0 > | I have two Jboss 4.2.3.GA application servers running JBoss messaging 1.4.4.GA and I have set up a message bridge between them. Whenever I break the bridge by killing the target server instance, and restart the target server instance to restore the bridge, these warnings start to appear. As advised in other posts I added the following lines to conf/jbossjta-properties.xml | | I do have a default JMS provider configured. What should I do with these messages ? They are worrying me since I don't want to lose any transactions in production. Is there anyone who can truly shed some light on to this subject. Thanks, Xander View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263703#4263703 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263703 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Setting Multiple Instances for JBoss-4.2.3 GA
I try to run two instances of JBoss 4.2.3 on one machine. I use the sample-bindings.xml (via the ServiceBindingManager) to override the various ports. All other ports are being overridden except the webservice which continue to run on port 8080. I googelized this, but I only found: anonymous wrote : | Start up your server and it is now listening on the set of ports from the ports-01 | section of the binding-manager.xml file. If you are running JBoss on Windows, | depending upon the service wrapper you are using, you might have to delete | the service and re-create it. I've seen some service wrappers (like the one | that ships with some versions of Covalent Enterprise Ready Server for tomcat) | that does not re-read configuration updates unless the service is removed and | re-installed. | Bit it doesn't seem to help. Can anyone help me? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263704#4263704 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263704 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - jBPM 4.x and BPEL
Is there a BPEL engine implementation for jBPM 4? It looks like the latest BPEL version is for jBPM 3. If there is no implementation for version 4, does the version 3 carry forward to work with Jboss 5? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263709#4263709 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263709 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: EJB3.0 MDB example
You can use Message Driven POJOs. | import org.jboss.annotation.ejb.DeliveryMode; | import org.jboss.annotation.ejb.MessageProperties; | import org.jboss.annotation.ejb.Producer; | | @Producer(connectionFactory="java:/JmsXA") | @MessageProperties(delivery=DeliveryMode.NON_PERSISTENT, timeToLive=0, priority=1) | public interface MyProcessor { | public void processSomething(Serializable anyParameter); | } | and the implementing class: | import java.io.BufferedInputStream; | import java.io.File; | import java.io.FileOutputStream; | import java.io.InputStream; | import java.net.URL; | import java.net.URLConnection; | import java.util.Collection; | import java.util.Date; | | import javax.ejb.ActivationConfigProperty; | import javax.ejb.EJB; | import javax.ejb.TransactionAttribute; | import javax.ejb.TransactionAttributeType; | | import org.jboss.annotation.ejb.Consumer; | import org.jboss.annotation.ejb.PoolClass; | import org.jboss.logging.Logger; | | import com.bulloons.server.dataCollector.omgili.entities.Document; | | @Consumer(activationConfig = { @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"), | @ActivationConfigProperty(propertyName = "destination", propertyValue = "queue/MyTasksProcess"), | @ActivationConfigProperty(propertyName = "maxSession", propertyValue = "8"), | @ActivationConfigProperty(propertyName = "minSession", propertyValue = "1"), | @ActivationConfigProperty(propertyName = "maxMessages", propertyValue = "1") }) | @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED) | @PoolClass(value = org.jboss.ejb3.StrictMaxPool.class, maxSize = 8 , timeout = (1000 * 60 * 60)) | // 10 minutes waiting for a pooled MDB. * 8 Concurrent Threads allowed, | public class MyProcessorMDBean implements Downloader { | | public void processSomething(Serializable anyParameter){ | //Do the actual processing | } | | } | And a client: | import java.io.BufferedReader; | import java.io.InputStreamReader; | import java.net.URL; | import java.util.ArrayList; | import java.util.Collection; | import java.util.Date; | import java.util.List; | import java.util.regex.Matcher; | import java.util.regex.Pattern; | | import javax.annotation.PostConstruct; | import javax.annotation.Resource; | import javax.ejb.EJBException; | import javax.ejb.SessionContext; | import javax.ejb.Stateless; | import javax.jms.JMSException; | import javax.naming.InitialContext; | | import org.jboss.ejb3.mdb.ProducerManager; | import org.jboss.ejb3.mdb.ProducerObject; | import org.jboss.logging.Logger; | | @Stateless | public class SomeBean implements SomeLocal, SomeRemote { | | //Inject A session contet resource from which the JMS Producer will be created. | @Resource | private SessionContext sessionCtx; | | public void callTheAThreadedProcess() { | ProducerManager manager = null; | MyProcessor myProcessor = null; | try { | myProcessor = (MyProcessor) sessionCtx.lookup(MyProcessor.class.getName()); | // Make the connection to the JMS Queue as producer | ProducerObject po = (ProducerObject) myProcessor; | manager = po.getProducerManager(); | manager.connect(); | String mySeriazableParam= "hello"; | myProcessor. processSomething(mySeriazableParam); | } catch (Exception e) { | log.error("Some Error Occured", e); | } finally { | try { | manager.close(); | } catch (JMSException e) { | log.error(e); | } | } | } | Note that in Jboss 5 queues are not created automatically and need to be defined in: /deply/messaging/destinations-service.xml | | | jboss.messaging:service=ServerPeer | | jboss.messaging:service=PostOffice | queue/MyTasksProcess | 1 | 3 | | Find complete example at: [url] http://www.commonj.com/blogs/?p=263 [/url] View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263711#4263711 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263711 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: jBPM 4.x and BPEL
Sorry for the post, I just stumbled across Riftsaw, which looks like where BPEL migrated to. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263712#4263712 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263712 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: ERROR [AjpMessage] Invalid message recieved with signatu
I run ant ear and that gives me: | je...@myproj-dev:~/myprojDev/workingfolder/trunk$ ant ear | Buildfile: build.xml | | generate: | [ejbdoclet] (XDocletMain.start 47 ) Running | [ejbdoclet] (XDocletMain.start 47 ) Running | [ejbdoclet] (XDocletMain.start 47 ) Running | [ejbdoclet] (XDocletMain.start 47 ) Running | [ejbdoclet] (XDocletMain.start 47 ) Running | [ejbdoclet] (XDocletMain.start 47 ) Running | [ejbdoclet] (XDocletMain.start 47 ) Running | [ejbdoclet] (XDocletMain.start 47 ) Running | | compile: | | jar: | | war: | | ear: | [ear] Building ear: /home/jespi/myprojDev/workingfolder/trunk/dist/myproj.ear | | BUILD SUCCESSFUL | Total time: 32 seconds | then in /opt/jboss/server/myproj I see: | je...@myproj-dev:/opt/jboss/server/myproj | $ ls -la | total 36 | drwxr-xr-x 9 jespi jespi 4096 2009-10-31 22:53 . | drwxr-xr-x 6 jespi jespi 4096 2009-10-31 22:42 .. | drwxr-xr-x 4 jespi jespi 4096 2009-10-31 22:42 conf | drwxr-xr-x 5 jespi jespi 4096 2009-10-31 22:53 data | drwxr-xr-x 12 jespi jespi 4096 2009-10-31 22:43 deploy | drwxr-xr-x 2 jespi jespi 4096 2009-10-31 22:57 lib | drwxr-xr-x 2 jespi jespi 4096 2009-11-03 09:54 log | drwxr-xr-x 3 jespi jespi 4096 2009-11-03 15:04 tmp | drwxr-xr-x 3 jespi jespi 4096 2009-10-31 22:53 work | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263713#4263713 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263713 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: ERROR [AjpMessage] Invalid message recieved with signatu
Interesting... so if I copy the myproj.ear file into /opt/jboss/server/myproj/dist and then go to htttp://localhost:8080/myprog, I then get: | HTTP Status 503 - Servlet action is currently unavailable | | type Status report | | message Servlet action is currently unavailable | | description The requested service (Servlet action is currently unavailable) is not currently available. | JBossWeb/2.0.1.GA | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263715#4263715 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263715 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: ERROR [AjpMessage] Invalid message recieved with signatu
I thought that ant ear would have deployed the thing... am I wrong is assuming that? I see errors now being output along the lines of: | Missing configuration resource for path /WEB-INF/struts-config.xml | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263716#4263716 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263716 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: ManyToMany problem
Hi, that's a standard iterator problem, no EJB3 issue ;-): for(RoleFunction roleFunction:this.listRoleFunctions){ | ... | this.listRoleFunctions.remove(roleFunction); You remove an item from the list over which you iterate. Use this "for (int index = this.listRoleFunctions.size() - 1; index >= 0; index--)" to avoid this. Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263717#4263717 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263717 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: ManyToMany problem
Booah thanks for the fast answer :D New to all the things here - i'm so sorry! Next question i got! After i remover the roleFunction from the listRoleFunctions (i've checked, it's okay) and save the removed item is still available in the database! Bad news: there's no stack trace neither in console nor server.log! Hope this issue is as simple to solve as the last one =) Thanks for your assistance! Best regards, Sven View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263718#4263718 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263718 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - History of Tasks assossciated with a Specified Process Insta
=== Environment == - jBPM Version : 4.1 - Database : Oracle 10g - JDK : 1.6 - Configuration : jbpm.cfg.xml only importing files from the jbpm.jar lib - Libraries : exact versions of the libs from inside the jbpm distribution I would like to query the persisted data to obtain a history/audit of a process instance, e.g. I would like to be able to query the exact path taken by the process instance, and obtain task details for each task along the way. I only have access to the process instance id, and would like to be able to use this to obtain the full list. In the database this is stored in the JBPM4_HIST_TASK table. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263719#4263719 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263719 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: ERROR [AjpMessage] Invalid message recieved with signatu
OK - so forget the browser error, the client is giving me more output... | = | | JBoss Bootstrap Environment | | JBOSS_HOME: /opt/jboss | | JAVA: java | | JAVA_OPTS: -Dprogram.name=run.sh -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.s$ | | CLASSPATH: /opt/jboss/bin/run.jar | | = | | 16:19:26,129 INFO [Server] Starting JBoss (MX MicroKernel)... | 16:19:26,134 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=20080718$ | 16:19:26,135 INFO [Server] Home Dir: /opt/jboss | 16:19:26,136 INFO [Server] Home URL: file:/opt/jboss/ | 16:19:26,137 INFO [Server] Patch URL: null | 16:19:26,137 INFO [Server] Server Name: myproj | 16:19:26,137 INFO [Server] Server Home Dir: /opt/jboss/server/myproj | 16:19:26,137 INFO [Server] Server Home URL: file:/opt/jboss/server/myproj/ | 16:19:26,137 INFO [Server] Server Log Dir: /opt/jboss/server/myproj/log | 16:19:26,137 INFO [Server] Server Temp Dir: /opt/jboss/server/myproj/tmp | 16:19:26,137 INFO [Server] Root Deployment Filename: jboss-service.xml | 16:19:26,355 INFO [ServerInfo] Java version: 1.6.0_0,Sun Microsystems Inc. | 16:19:26,355 INFO [ServerInfo] Java VM: OpenJDK Client VM 14.0-b16,Sun Microsystems Inc. | 16:19:26,355 INFO [ServerInfo] OS-System: Linux 2.6.31-14-generic,i386 | 16:19:26,623 INFO [Server] Core system initialized | 16:19:28,111 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/ | 16:19:28,112 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml | 16:19:28,473 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc. | 16:19:28,473 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer | 16:19:28,608 INFO [TransactionManagerService] Starting recovery manager | 16:19:28,667 INFO [TransactionManagerService] Recovery manager started | 16:19:28,667 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference | 16:19:30,367 INFO [EJB3Deployer] Starting java:comp multiplexer | 16:19:32,038 INFO [NativeServerConfig] JBoss Web Services - Native | 16:19:32,038 INFO [NativeServerConfig] jbossws-3.0.1-native-2.0.4.GA (build=200803312044) | 16:19:32,644 INFO [Embedded] Catalina naming disabled | 16:19:32,762 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance $ | 16:19:32,801 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080 | 16:19:32,801 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009 | 16:19:32,801 INFO [Catalina] Initialization processed in 157 ms | 16:19:32,802 INFO [StandardService] Starting service jboss.web | 16:19:32,803 INFO [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA | 16:19:32,840 INFO [Catalina] Server startup in 38 ms | 16:19:32,919 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/ | 16:19:33,562 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/ | 16:19:33,831 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws-context.$ | 16:19:33,901 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sa$ | 16:19:34,530 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.s$ | 16:19:34,836 INFO [MailService] Mail Service bound to java:/Mail | 16:19:34,926 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha$ | 16:19:34,946 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha$ | 16:19:34,960 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-lo$ | 16:19:34,976 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa$ | 16:19:35,021 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-$ | 16:19:35,036 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.$ | 16:19:35,059 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-r$ | 16:19:35,064 INFO [QuartzResourceAdapter] start quartz!!! | 16:19:35,114 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main | 16:19:35,134 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created. | 16:19:35,137 INFO [RAMJobStore] RAMJobStore initialized. | 16:19:35,137 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default $ | 16:19:35,137 INFO [StdScheduler
[jboss-user] [Installation, Configuration & Deployment] - Re: Setting Multiple Instances for JBoss-4.2.3 GA
Most likely the XSL transform is failing, which can happen if you modify the server/xxx/deploy/jboss-web.deploy.service.xml file. The transform can be found in sample-bindings.xml, lines 364-387 (or look for the "*** tomcat ***" section). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263726#4263726 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263726 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - sybase-persistence-service.xml
I'm trying to switch from hypersonic to sybase. I've replaced the hsqldb-ds.xml with a copy of the sybase-ds.xml configured as my DefaultDS (it's working fine). I've also replaced the hsqldb-persistence-service.xml with a copy of sybase-persistence-service.xml. For some reason, when the server is booting, it doesn't create the JBM_ID_CACHE table for me and I get this error message (it's the first exception in my server.log). | 10:22:14,629 ERROR [ExceptionUtil] ServerPeer[0] startService | com.sybase.jdbc3.jdbc.SybSQLException: JBM_ID_CACHE not found. Specify owner.objectname or use sp_help to check whether the object exists (sp_help may produce lots of output). | It does manage to create these tables: HILOSEQUENCES JBM_DUAL JBM_USER TIMERS I'm using Sybase ASE 15, JBoss 5.1.0.GA on solaris using JDK1.6.0_14 64-bit. Here are my two files: | | | | | | | | | | | | | | | | | | DefaultDS | | jdbc:sybase:Tds:X:4100/?JCONNECT_VERSION=6 | com.sybase.jdbc3.jdbc.SybDataSource | XXX | X | | | 5 | | 50 | | 5 | | org.jboss.resource.adapter.jdbc.vendor.SybaseExceptionSorter | | select 1 | | | select 1 | | | |Sybase | | | | | | | | | | | | | | | | jboss.jca:service=DataSourceBinding,name=DefaultDS | | jboss:service=TransactionManager | | | | java:/DefaultDS | | | | true | | | | true | | | | 500 | | | | true | | | | | | 500 | | | | | | | | jboss.messaging:service=ServerPeer | | jboss.jca:service=DataSourceBinding,name=DefaultDS | | jboss:service=TransactionManager | | | | JMS post office | | | | java:/DefaultDS | | | | true | | | | | | false | | | | | | ${jboss.messaging.groupname:MessagingPostOffice} | | | | 3 | | | | 3 | | | | false | | jboss.jgroups:service=ChannelFactory | jbm-control | jbm-data | ${jboss.partition.name:DefaultPartition}-JMS | | | | | | jboss.jca:service=DataSourceBinding,name=DefaultDS | jboss:service=TransactionManager | java:/DefaultDS | true | | | | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263728#4263728 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263728 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: ManyToMany problem
Hi Sven (from Germany?), another fast answer, but it will give you a bit to read and think about: http://www.jboss.org/community/wiki/EJB3relationships I hope the section "Managing the (bidirectional) relationship" will provide you with explanations on how to fix this. Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263732#4263732 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263732 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Problem with custered Queue + Message Selector
Hi all. We currently face a problem with a clustered queue and a message consumer using a message selector. The use case is, that an EJB3 SessionBean waits for a response on a queue with a certain correlation id. The consumer just gets messages from one cluster node, so basically it gets some of them, some not. This sounds like the problem described here: http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4126510 So we tried the same with a Topic and a message selector, but faced exactly the same problem. Anybody an idea to this? If more information is needed, please feel free to ask, than I can post more. And I guess, Message Selector on clustered queues is still not working with JBoss Messaging out of the box? By the way, we use 1.4.2.SP1, did anything change with 4.5? I haven't found any JIRA issue regarding that, but maybe I was too blind to see... Thanks Bernd View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263734#4263734 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263734 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: ManyToMany problem
I see that I posted this link already earlier in this thread. Sorry for this duplicate ;-)! Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263736#4263736 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263736 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Advanced Documentation] - can I deploy all my shared libs in one single file ?
I have a war file that uses some shared libs (20, more or less) I copy them in the lib folder, and the application works perfectly But, in order to make deployment easyer, I would like to create ONE single jar file will all the shared libs, so that deploying the application will require to copy 2 files (the main application and the shared jar) instead of 21 files. But I have some problems doing so, it seems that JBoss is not able to find shared jars inside another shared jar. Am I correct ? It is impossible ? Alberto View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263737#4263737 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263737 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: sybase-persistence-service.xml
I don't know Sybase, but it sounds as if the DDL statements to create some of the tables are incorrect. The sybase-persistence-service.xml file contains the DDL statements, try entering them in by hand into Sybase (using a sybase query tool). That should tell you what it wrong with them, so that you can fix them in sybase-persistence-service.xml. Oh, and once you have done that, open a JIRA and attach the patch. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263739#4263739 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263739 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Advanced Documentation] - Re: can I deploy all my shared libs in one single file ?
You could do this: unjar all 20-some JARs into a common directory and then JAR the contents of that directory. Then you will have one JAR file which contains all the classes in the 20-some JAR files. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263740#4263740 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263740 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: sybase-persistence-service.xml
They work when I enter them directly into Sybase. It just appears that they are never being executed. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263743#4263743 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263743 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: jBPM 4.x : roadmap BAR/PAR format
I would go for testing if there is a processdefinition file. I do not like adding a dirtectory structure in a directory structure (which a zip actually is, albeit compressed) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263746#4263746 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263746 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: sybase-persistence-service.xml
I would tell you to look in the server.log file because in that file you should see some DEBUG entries (with exception stack traces) that indicate that JMS discovered that the tables did not exist, after which it then creates them. But for some reason AS 5.1.0.GA was released with the logging level set to INFO. So try this - drop the tables from the database and then run the AS using: run -Djboss.server.log.threshold=DEBUG Then look at the JMS-related entries in the server.log. It might also help to turn query logging on in Sybase, that might give more hints as to what it going on. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263747#4263747 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263747 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Advanced Documentation] - Re: can I deploy all my shared libs in one single file ?
"PeterJ" wrote : You could do this: unjar all 20-some JARs into a common directory and then JAR the contents of that directory. Then you will have one JAR file which contains all the classes in the 20-some JAR files. that is a very good suggestion. I will make some tests right now. thank you very much. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263752#4263752 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263752 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: JpdlProcessDefinition cannot be cast to java.util.List
Hello Joram, I will try to provide the stacktrace tomorrow. The situation is the following. I've got a process definition with a couple of automated activities, a bunch of java classes mainly used to invoke Axis2 webservices and 2 tasks for users. The process definition is deployed with no problem. I have a webservice using the jBPM api to start a process instance. When the Tomcat server is freshly started and there is no process engine instance yet I call the webservice which tries to retrieve the process engine which is then created and stored. But the starting of the process fails and the exception telling that JpdlProcessDefinition cannot be cast to java.util.List is thrown. If I use the jBPM console afterwards to start a process instance this error does not show up but a different one since I cannot supply the process instance variables needed in the first and automated activity via the jbpm-console. Strangely afterwards I can start as many process instances as I want with using my webservice without problems and they all run without problem from start to end. I had trouble seeing more than the cast exception but as bwestrich stated there is normally an inner cause for this one but I could not locate one. I'll try to get the stacktrace. Is there something you shouldn't do within java classes invoked by activities in the process? For example regarding calls in the constructor or whatever? Thanks for any hints Sebastian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263755#4263755 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263755 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal Users] - Re: Writing a log4j email service
I have always used a valid "from" field, even the log4j book I have is silent as to if the "from" address needs to be valid. You don't have to add the extra category - what you did earlier for root should be fine. The one thing I don't see for the SMTPAppender is authentication handling. I know that my ISP requires an account and a password to send email. But I cannot recall how I handled this when I set up the SMTPAppender before (and of course I no longer have that configuration). OK, I looked up the javadoc for SMTPAppender (http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/net/SMTPAppender.html), there is a SMTPUsername and SMTPPassword parameter, which you can set using: | ... | | | The stupid book I have doesn't event mention these parameters, nor a few others that are available on SMTPAppender. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263757#4263757 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263757 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: Clustered Session Beans with additional HTTP Remote Prox
Done. https://jira.jboss.org/jira/browse/EJBTHREE-1946 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263759#4263759 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263759 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security] - NPE JBossWebRealm.hasRole Line 537
I am using JBoss 5.1.0 GA with JDK 1.6_16. I have a menu bar at the top of each of my JSPs. It performs a check to determine the roles a user is a member. Based on this information, the user will see certain links on the menu bar. However, when navigating through the pages, the following is displayed in the log: 2009-11-03 11:26:11,363 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/].[jsp]] Servlet.service() for servlet jsp threw exception | java.lang.NullPointerException | at org.jboss.web.tomcat.security.JBossWebRealm.hasRole(JBossWebRealm.java:537) | at org.apache.catalina.connector.Request.isUserInRole(Request.java:2198) | at org.apache.catalina.connector.RequestFacade.isUserInRole(RequestFacade.java:763) | at javax.servlet.http.HttpServletRequestWrapper.isUserInRole(HttpServletRequestWrapper.java:164) | at javax.servlet.http.HttpServletRequestWrapper.isUserInRole(HttpServletRequestWrapper.java:164) | at javax.servlet.http.HttpServletRequestWrapper.isUserInRole(HttpServletRequestWrapper.java:164) | at org.apache.struts.taglib.logic.PresentTag.condition(PresentTag.java:160) | at org.apache.struts.taglib.logic.PresentTag.condition(PresentTag.java:102) | at org.apache.struts.taglib.logic.ConditionalTagBase.doStartTag(ConditionalTagBase.java:218) | at org.apache.jsp.jsp.common.mainMenuBar_jsp._jspService(mainMenuBar_jsp.java:214) | at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369) | at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322) | at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638) | at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:543) | at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:480) | at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968) | at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:611) | at org.apache.struts.taglib.template.GetTag.doStartTag(GetTag.java:191) | at org.apache.jsp.jsp.common.topNavTemplate_jsp._jspx_meth_template_005fget_005f0(topNavTemplate_jsp.java:257) | at org.apache.jsp.jsp.common.topNavTemplate_jsp._jspService(topNavTemplate_jsp.java:108) | at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369) | at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322) | at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638) | at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:543) | at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:480) | at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968) | at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:611) | at org.apache.struts.taglib.template.InsertTag.doEndTag(InsertTag.java:155) | at org.apache.jsp.jsp.error._404_jsp._jspx_meth_template_005finsert_005f0(_404_jsp.java:194) | at org.apache.jsp.jsp.error._404_jsp._jspService(_404_jsp.java:108) | at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369) | at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322) | at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | at org.apache.catalina.core.ApplicationFilterChain.d
[jboss-user] [Beginner's Corner] - cannot be cast to javax.portlet.Portlet
I am getting the following error when deploying a portlet in jboss portal server. Caused by: java.lang.ClassCastException: com.xxx.JbossBirtPortlet cannot be cast to javax.portlet.Portlet at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.start(PortletContainerImpl.java:254) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263758#4263758 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263758 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: cannot be cast to javax.portlet.Portlet
Figured out that including the portal core jar files in the web archive(war) creates this issue. Once I removed those jar files from the archive it started working. Because of classloader conflict the exception thrown at deploy time as jboss itself has its own portal jars and loaded when started. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263769#4263769 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263769 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Customization of jBPM GPD
I don't mind doing some eclipse plugin development, but the less work the better. So Koen, I have not followed the development of 4.x, what is the difference between these two version in terms of customization? Thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263770#4263770 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263770 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: NotBoundException when @Service POJO invoke EJB
Still not work, whatever how long I sleep in start() void start(){ ... sleep(5); moService.xxx(); //NotBound } I'm crazy now View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263840#4263840 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263840 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB] - EJB Transaction lifecycle
I have a situation where I want to delete a set of entries (68) from a database tables via its primary keys. I have a EJB method that loops through the set of primary keys and calls a Storage EJB that in turn calls the database layer to perform the individual delete. What I find is that after 7 records are deleted, the records suddenly reappear in the database. No exceptions are thrown, no apparent rollbacks. I'm using EJB 2 and the transactions are required. Any ideas on how to pursue this problem are greatly appreciated. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263785#4263785 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263785 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache Users] - Re: Buddy location issue
Hi! I'm running two servers. Same config each, and same log output from both. The servers are Xen-provisioned VSP in the same data center. I'm thinking this may be an issue with Xen multicast configuration. Can JGroups can be configured to use TCP and a list of IP addresses instead of multicast? Is replication possible in a VPS environment?? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263798#4263798 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263798 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Using Process variables as parameters for method calls
Strange, I would have thought it to be a similar issue, but in Toms case it might be that Integer.parseInt(Object) does not exist as a method signature. Oh, and the argument and the return value are the same variable, But the types are different... Is that the usecase? Then he should add more info to the issue. Just like Sebastian stated, what is he trying to achieve? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263799#4263799 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263799 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Using Process variables as parameters for method calls
Hello Joram, no, everything works fine for me. I had an error in reasoning. I was trying to access process variables which were not set yet. But I noticed one thing of which I was not aware before because I wasn't that proficient with reflection: Supposing you want to use an integer process variable as an argument for a method call you'll have to use the wrapper class in the method signature. Maybe one should mention this in the userguide to have this remembered when writing java classes to be invoked. I used "int" and at first could not understand why my methods could not be found on the class. However, I am not sure if I understand the issue you pointed me to. What is Tom trying to do? He's trying to have an existing process variable be parsed as an Integer and then he is saving the result in a process variable of the same name? Cheers Sebastian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263784#4263784 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263784 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Can I use EJB as ActionHandler?
Hi, Is there a way to configure jBPM process definition to automatically lookup and use deployed EJB as one of the transition action handler? Thanks, -Z View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263829#4263829 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263829 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache Users] - NAKACK, not found in retransmission table
I am running a jboss cache clustered. It appears to be working but i have a number of these warnings in the logs |03112009|21:58:02|OOB-1,JBossCache-cluster,192.168.2.245:7800|WARN|||org.jgroups.protocols.pbcast.NAKACK|(requester=192.168.2.246:7800, local_addr=192.168.2.245:7800) message 192.168.2.245:7800::4213 not found in retransmission table of 192.168.2.245:7800: I find this message on the node 192.168.2.245 This is the upd config from that box What is tis message for, is there an issue in my config? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263826#4263826 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263826 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: ManyToMany problem
Hi Wolfgang close to Germany from [ + ] ;) thanks i will have a look at it again - hope to get it work now. Will return if i get questions or if it's done. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263792#4263792 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263792 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: sybase-persistence-service.xml
There might be a way to add that option to the URL in the *-ds.xml file. You'll have to check with the Sybase JDBC driver documentation for how to add options to the URL. Or you could use the connection-property element in *-ds.xml to set such properties. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263808#4263808 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263808 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB] - Re: EJB2 Entity bean: Max length of a string stored in DB?
Sorry. Let me elaborate a bit more: I'm using EJB2 CMP. When a database table is created, if nothing is specified, what is the default VARCHAR length of string/character data? Is it 255? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263838#4263838 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263838 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache Users] - Re: Buddy location issue
127.0.0.1 won't work unless both of your processes run on the same box. Use -Djgroups.bind_addr=192.168.x.x to pick a correct NIC. Yes, JGroups can use TCP and TCPPING for a static list instead of multicasting, read the details in the manual at jgroups.org. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263816#4263816 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263816 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - Re: JBoss Tools 3.1.0.M4 is available
Should I uninstall 3.1.0.M3 before I install 3.1.0.M4? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263801#4263801 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263801 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: ManyToMany problem
Sorry back again *grml* I don't get it - cause i'm doing the assignment in the entity not in the bean. Imho there's a difference to the text you've wrote. I tried to remove the refernces within the remove loop from both sides. No effect =( View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263803#4263803 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263803 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - Re: JBoss Tools 3.1.0.M4 is available
nickboldt> need to tell user "no uninstallation required, just update using the update site!" ;) posting for Nick Boldt View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263814#4263814 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263814 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Using Process variables as parameters for method calls
Sorry, forgive me, I forgot to read the subject of the post. It's about static methods. Nevertheless, the usage of the same variable and 'Object' type could be an issue as well. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263800#4263800 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263800 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: sybase-persistence-service.xml
| 2009-11-03 14:21:44,515 DEBUG [org.jboss.messaging.core.impl.JDBCSupport] (main) Failed to execute: CREATE TABLE JBM_MSG_REF (MESSAGE_ID DECIMAL(19, 0) NOT NULL, CHANNEL_ID DECIMAL(19, 0) NOT NULL, TRANSACTION_ID DECIMAL(19, 0) NULL, STATE CHAR(1), ORD DECIMAL(19, 0), PAGE_ORD DECIMAL(19, 0) NULL, DELIVERY_COUNT INTEGER, SCHED_DELIVERY DECIMAL(19, 0), PRIMARY KEY(MESSAGE_ID, CHANNEL_ID)) | com.sybase.jdbc3.jdbc.SybSQLException: The 'CREATE TABLE' command is not allowed within a multi-statement transaction in the 'JBOSS' database. | I found how to configure it in Sybase to allow this (sp_dboption JBOSS, "allow ddl in tran", true), but I'm wondering if there's a way to configure the connection in the connection pool so it doesn't behave like that. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263802#4263802 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263802 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Customization of jBPM GPD
The difference is that for 4.x a number of issues still have to be solved to make pluggability possible (see GPD-292 and http://www.jboss.org/index.html?module=bb&op=viewtopic&t=160930) For 3.x pluggability is already possible. The best place to start to see how it is done is to look at the ESB node. Regards, Koen View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263773#4263773 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263773 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB] - EJB2 Entity bean: Max length of a string stored in DB?
Hi, What is the maximum character length of a string that can be stored in a database when the table is created by an EJB2 Entity Bean? Is it configurable? Thanks in advance. Mark View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263837#4263837 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263837 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: JpdlProcessDefinition cannot be cast to java.util.List
Forgot to mention that if I use a different process definition to be started like this it works fine. So it must be something with the definition or the implementation classes?? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263849#4263849 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263849 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal Users] - Re: How to diplay a portlet in a popup?
How about using AJAX call and display the content in a div popup. Depending on which portal container version you are using, in version 2.0+ there are ways to request resources from portlet container. Or you can call a servlet request and display the content in the div. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263851#4263851 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263851 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: Simple hibernate web app
Hi Wolfgang, You are absolutely right. That is what I did and the web app works ok. Thanks a lot for your help. Besta Regards, Jose View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263854#4263854 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263854 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Setting Multiple Instances for JBoss-4.2.3 GA
Ok, now it's working. I copied the original server.xml in the directory jboss-web.deployer - and that's was. But I can't see any differences between my old file and the original file. The only change I hade made was setting the port from 8080 to 8480. Hmm, very strange. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263860#4263860 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263860 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: EventListener questions
I haven't found a way to achieve this using the HistoyTaskQuery. I would like to retrieve the task where the transition originates from. | HistoryTask task = HistoryService.createHistoryTaskQuery().executionId(execution.getId()).unique | worked fine for me as long as I just had one task in the process definition. Am I missing anything or is this really as tricky as it seems to be to retrieve the previous task? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263863#4263863 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263863 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user