[jboss-user] [JBoss jBPM] - About Spring-integeration of JBPM4 with Spring 2.5
Hi all i try to integerate spring2.5 with jbpm4 accroding to userguide ,but some error occured when i invoke RepositoryService to deploy a new processDefine flowwing is my congruation file spring context | | http://www.springframework.org/schema/beans"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xmlns:p="http://www.springframework.org/schema/p"; | xmlns:context="http://www.springframework.org/schema/context"; | xsi:schemaLocation=" | http://www.springframework.org/schema/beans | http://www.springframework.org/schema/beans/spring-beans-2.5.xsd | http://www.springframework.org/schema/context | http://www.springframework.org/schema/context/spring-context-2.5.xsd";> | | | | | | | | | | | | | | http://www.springframework.org/schema/beans"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xmlns:tx="http://www.springframework.org/schema/tx"; | xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd | http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd";> | | | | | | | | | | | | jbpm.execution.hbm.xml | jbpm.history.hbm.xml | jbpm.identity.hbm.xml | jbpm.repository.hbm.xml | jbpm.task.hbm.xml | | | | | hibernate.dialect=org.hibernate.dialect.MySQLDialect | hibernate.format_sql=true | hibernate.show_sql=true | hibernate.hbm2ddl.auto=update | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when to use to deploy server throws stacks anonymous wrote : | [Line:3768]: Exception sending context initialized event to listener instance of class org.jackysoft.listener.JbpmInitializeListener -[org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3768)]-2009-07-25 12:37:39,453 | org.springframework.transaction.IllegalTransactionStateException: No existing transaction found for transaction marked with propagation 'mandatory' | at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:363) | at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:125) | at org.jbpm.pvm.internal.tx.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:79) | at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:54) | at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55) | at org.jbpm.pvm.internal.repository.DeploymentImpl.deploy(DeploymentImpl.java:89) | at org.jackysoft.listener.JbpmInitializeListener.contextInitialized(JbpmInitializeListener.java:50) | at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216) | at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760) | at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740) | at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544) | at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:927) | at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:890) | at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492) | at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1150) | at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) | at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120) | at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022) | at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) | at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) | at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) | at org.apache.catalina.core.StandardService.start(StandardService.java:448) | at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) | at org.apache.catalina.startup.Catalina.start(Catalina.java:552) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMetho
[jboss-user] [EJB/JBoss] - Re: How to list interceptors in JBOSS 5 console
Which interceptors and which console? And why do you want to list those in the console? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245981#4245981 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245981 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: configuring remote access
How are you trying to access the application? What are the errors you see on accessing? And what kind of application are you trying to access? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245979#4245979 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245979 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - configuring remote access
I am using Jboss 5.0.1 and I want to configure remote access of applications. I started the server with -b 0.0.0.0 but remotely, I cannot access my application deployed there (successfully). I can see the Jboss web console remotely, though. Anything else I have to do ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245978#4245978 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245978 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WSDL is not genreated
anonymous wrote : Yes, I did create the jar Is 'jar' a typo? Did you really mean "Yes, I did create the war"? anonymous wrote : Should i exclude the jar files in lib? That will not fix the WAR file. But I have a few questions: 1) Are you familiar with the correct layout for a WAR file? 2) Have you tried creating a simple WAR file that has a "hello" service? If not, then you should try that first. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245968#4245968 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245968 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Creating a theme
IT WORKS! :) Changed around a few things, restarted and now the theme is showing up :) Thank you! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245964#4245964 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245964 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WSDL is not genreated
Sorry, I did create a war file... ( It will be better if I can edit) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245963#4245963 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245963 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WSDL is not genreated
Yes, I did create the jar using a command in Eclipse Dynamic Web Project directory. Should i exclude the jar files in lib? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245961#4245961 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245961 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WSDL is not genreated
What you posted in not a valid WAR file. This looks like an entire Eclipse Dynamic Web Project directory packaged into a file with a .war extension. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245958#4245958 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245958 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WSDL is not genreated
Sorry, Can not copy whole log since we other jars..it is too bigto copy... Apprieciate your help. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245957#4245957 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245957 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Creating a theme
Looks like you were typing the same time I was. I'm really surprised that editing the global portal-themes.xml did not do anything, especially since that is where the themes that ship with the portal are declared. (Oh, you are restarting the app server after each of these changes, right?) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245956#4245956 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245956 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WSDL is not genreated
16:53:50,666 INFO [TomcatDeployer] deploy, ctxPath=/DeIdentifyService, warUrl=. | ../tmp/deploy/tmp1319754815190816118DeIdentifyService-exp.war/ | 16:54:04,534 WARN [config] Unable to process deployment descriptor for context | 'null' View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245955#4245955 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245955 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Creating a theme
I'll assume you already tried restarting the app server. So try this: stop the app server, move your theme war file to the server/xxx/deploy/jboss-portal.sar directory. Then start the app server. If that doesn't work, go into the server/xxx/deploy/jboss-portal.sar/conf/data/default-object.xml file and change the theme.id property value to your theme and restart the app server. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245954#4245954 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245954 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Creating a theme
Also, I had previously tried creating a directory inside "jboss-portal.sar/portal-core.war/themes/" that contained images folder and a stylesheet and adding defining the theme inside "jboss-portal.sar/portal-core.war/WEB-INF/portal-themes.xml" but this appeared to create no results either View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245953#4245953 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245953 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WSDL is not genreated
"yonghongb" wrote : | http://www.w3.org/2001/XMLSchema-instance"; xmlns="http://java.sun.com/xml/ns/javaee"; xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"; xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"; id="WebApp_ID" version="2.5"> | DeIdentifyService | | ConsentWS | consentWebService.ConsentWS | | | | ConsentWS | /ConsentWS | | | index.html | index.htm | index.jsp | default.html | default.htm | default.jsp | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245951#4245951 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245951 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WSDL is not genreated
META-INF/ META-INF/MANIFEST.MF .classpath .project .settings/ .settings/.jsdtscope .settings/org.eclipse.jdt.core.prefs .settings/org.eclipse.jst.common.project.facet.core.prefs .settings/org.eclipse.wst.common.component .settings/org.eclipse.wst.common.project.facet.core.xml .settings/org.eclipse.wst.jsdt.ui.superType.container .settings/org.eclipse.wst.jsdt.ui.superType.name build/ build/classes/ build/classes/client_log4j.properties build/classes/consentWebService/ build/classes/consentWebService/Consent.class build/classes/consentWebService/ConsentTier.class build/classes/consentWebService/ConsentWS.class build/classes/consentWebService/FindObjectHelper.class build/classes/consentWebService/Services.class build/classes/deploy.wsdd build/classes/echo/ build/classes/echo/Echo.class build/classes/echo/FindObjectHelper.class build/classes/echo/Services.class build/classes/remoteService.xml build/classes-old/ build/classes-old/client_log4j.properties build/classes-old/consentWebService/ build/classes-old/consentWebService/Consent.class build/classes-old/consentWebService/ConsentTier.class build/classes-old/consentWebService/ConsentWS.class build/classes-old/consentWebService/FindObjectHelper.class build/classes-old/consentWebService/Services.class build/classes-old/deploy.wsdd build/classes-old/echo/ build/classes-old/echo/Echo.class build/classes-old/echo/FindObjectHelper.class build/classes-old/echo/Services.class build/classes-old/remoteService.xml build.xml conf/ conf/client_log4j.properties conf/deploy.wsdd conf/remoteService.xml log4j.PROPERTIES src/ src/consentWebService/ src/consentWebService/Consent.java src/consentWebService/ConsentTier.java src/consentWebService/ConsentWS.java src/consentWebService/FindObjectHelper.java src/consentWebService/Services.java src/echo/ src/echo/Echo.java src/echo/FindObjectHelper.java src/echo/Services.java WebContent/ WebContent/META-INF/ WebContent/META-INF/MANIFEST.MF WebContent/WEB-INF/ WebContent/WEB-INF/lib/ WebContent/WEB-INF/lib/activation.jar WebContent/WEB-INF/lib/aspectjrt.jar WebContent/WEB-INF/lib/axis.jar WebContent/WEB-INF/lib/castor-0.9.9.jar WebContent/WEB-INF/lib/catissuecore-client.jar WebContent/WEB-INF/lib/catissuecore.jar WebContent/WEB-INF/lib/cglib-full-2.0.1.jar WebContent/WEB-INF/lib/commonpackage.jar WebContent/WEB-INF/lib/commons-codec-1.3.jar WebContent/WEB-INF/lib/commons-discovery-0.2.jar WebContent/WEB-INF/lib/commons-httpclient-3.0.1.jar WebContent/WEB-INF/lib/commons-logging.jar WebContent/WEB-INF/lib/edu.wustl.catissuecore.domain.pathology.xsd WebContent/WEB-INF/lib/edu.wustl.catissuecore.domain.shippingtracking.xsd WebContent/WEB-INF/lib/edu.wustl.catissuecore.domain.xsd WebContent/WEB-INF/lib/hibernate3.jar WebContent/WEB-INF/lib/jaxrpc.jar WebContent/WEB-INF/lib/junit-3.8.1.jar WebContent/WEB-INF/lib/junit-4.1.jar WebContent/WEB-INF/lib/log4j-1.2.8.jar WebContent/WEB-INF/lib/log4j-1.2.9.jar WebContent/WEB-INF/lib/mail.jar WebContent/WEB-INF/lib/mapping.dtd WebContent/WEB-INF/lib/minimalDataSharing-client.jar WebContent/WEB-INF/lib/odmg.jar WebContent/WEB-INF/lib/saaj.jar WebContent/WEB-INF/lib/shippingtracking.jar WebContent/WEB-INF/lib/spring-richclient.jar WebContent/WEB-INF/lib/spring.jar WebContent/WEB-INF/lib/struts.jar WebContent/WEB-INF/lib/washu-commons.jar WebContent/WEB-INF/lib/wsdl4j-1.5.1.jar WebContent/WEB-INF/lib/xalan-2.4.0.jar WebContent/WEB-INF/lib/xalan.jar WebContent/WEB-INF/lib/xercesImpl.jar WebContent/WEB-INF/lib/xml.properties WebContent/WEB-INF/log4j.PROPERTIES WebContent/WEB-INF/web.xml View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245950#4245950 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245950 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Creating a theme
Hello, thanks for the response! Inside my custom portal-themes.xml (inside the war), I only have this: | | | kelly_theme | | | | | So I'm not sure where the double entries are coming from =/ Also, only "maple" "industrial" "renewal" and "renaissance" are appearing twice on the list.. "default" is still the same. The name of my custom theme isn't appearing at all.. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245949#4245949 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245949 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WSDL is not genreated
OK, so the WAR did not deploy so let's find out why. Post the contents of the WAR file. To do this, post the output from running "jar -tf xxx.war" where xxx.war is the name of your WAR file. (If JAVA_HOME/bin is not in your PATH you will have to use the full path name for the jar utility.) Post the contents of your WEB-INF/web.xml file. When posing xml content, enclose it within 'code' tags. To do this, select the XML text and click the Code button above the editor window. Restart the app server with your WAR in the deploy directory. Post the full console log. Make sure you do all of this from a command prompt - do not use an IDE (no Eclipse or NetBeans). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245948#4245948 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245948 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WSDL is not genreated
No. I saw : WARN [config] Unable to process deployment descriptor for context 'null' View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245944#4245944 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245944 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Creating a theme
The obvious reason that i can see here is: JBoss portal ThemeService will show all the themes as available themes that you have mentioned in your portal-themes.xml. So, I guess you are having same entries in 2 different portal-themes.xml, placed in 2 different application in your deploy directroy(One could be the JBOSS-portal.sar/portal-core.war and the other is your custom one). Give different names in your portal-themes.xml, for your custom themes. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245943#4245943 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245943 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Unresolved references exist in JBossWebMetaData
anonymous wrote : What is NewtDaoRemote? I don't see it being mapped as a remote interface for the bean and neither do i see the JNDI binding for that. | | If it was the local interface, here's what you would do to inject it: | | @EJB(mappedName = "NewtDao/local") | | public NewtDaoLocal facade; Doh! I've been trying this every which way and posted mismatched code. Unfortunately I get the same error when I use the correct interface: 2009-07-24 14:12:45,403 WARN [org.jboss.deployment.MappedReferenceMetaDataResolverDeployer] (HDScanner) Unresolved references exist in JBossWebMetaData:[#web-app:AnnotatedEJBReferenceMetaData{name=com.corenap.newt.Application/facade,ejb-ref-type=null,link=null,ignore-dependecy=false,mapped/jndi-name=NewtDao/local,resolved-jndi-name=null,beanInterface=interface com.corenap.newtDAO.NewtDaoLocal}] If I specify nothing at all in @EJB it spits out this: 2009-07-24 13:43:07,609 WARN [org.jboss.deployment.MappedReferenceMetaDataResolverDeployer] (HDScanner) Unresolved references exist in JBossWebMetaData:[#web-app:AnnotatedEJBReferenceMetaData{name=com.coren ap.newt.Application/facade,ejb-ref-type=null,link=null,ignore-dependecy=false,mapped/jndi-name=null,resolved-jndi-name=null,beanInterface=interface com.corenap.newtDAO.NewtDaoLocal}] 2009-07-24 13:43:07,651 INFO [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (HDScanner) deploy, ctxPath=/NewtJboss 2009-07-24 13:43:07,663 WARN [org.jboss.web.tomcat.service.injection.WebEJBRemoteHandler] (HDScanner) EJBTHREE-1289: Using legacy EjbEncInjector, because mappedName for enc "env/com.corenap.newt.Application /facade", field "null" is null (container.environmentRefGroup.annotatedEjbReferences = [AnnotatedEJBReferenceMetaData{name=com.corenap.newt.Application/facade,ejb-ref-type=null,link=null,ignore-dependecy=fal se,mapped/jndi-name=null,resolved-jndi-name=null,beanInterface=interface com.corenap.newtDAO.NewtDaoLocal}]) 2009-07-24 13:43:07,670 ERROR [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (HDScanner) ENC setup failed java.lang.IllegalStateException: Resolution should not happen via injection container I am using Wicket, and their javaee library is a bit of a bastard child, but it works without a hitch in Glassfish (though gf certainly has other faults). I did need to copy their ioc jars to server/default/lib/ before JBoss would successfully deploy a wicket war with ejb3 annotations. But because of the unresolved reference it still throws exceptions as soon as it trys to invoke an EJB. I'm about ready to give up on JBoss all together, any help would be greatly appreciated. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245938#4245938 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245938 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Problem deploy WS in JBOSS 4.3
Did you try having MiClass implement Serializable? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245937#4245937 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245937 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm 4.0 creating and running processes without persiste
I managed to run a process without persistence. Here is the code: | import junit.framework.TestCase; | import org.jbpm.jpdl.internal.model.JpdlProcessDefinition; | import org.jbpm.jpdl.internal.xml.JpdlParser; | import org.jbpm.jpdl.internal.activity.StartActivity; | import org.jbpm.jpdl.internal.activity.StateActivity; | import org.jbpm.jpdl.internal.activity.EndActivity; | import org.jbpm.pvm.internal.model.ActivityImpl; | import org.jbpm.pvm.internal.model.TransitionImpl; | import org.jbpm.pvm.internal.model.ProcessDefinitionImpl; | import org.jbpm.pvm.internal.client.ClientExecution; | import org.jbpm.pvm.internal.xml.Parse; | import org.jbpm.api.activity.ActivityExecution; | import org.jbpm.api.activity.ExternalActivityBehaviour; | | import java.io.FileInputStream; | import java.io.IOException; | import java.util.Map; | | public class HelloWorldTest extends TestCase { | public void test_helloWorldProcess() throws IOException { | ProcessDefinitionImpl processDefinition = createProcessDefinition(); | ClientExecution execution = processDefinition.startProcessInstance(); | System.out.println("State After start : " + execution.findActiveActivityNames()); | execution.signal(); | System.out.println("State after signal: " + execution.findActiveActivityNames()); | | } | | private ProcessDefinitionImpl createProcessDefinition() { | ProcessDefinitionImpl processDefinition = new ProcessDefinitionImpl(); | processDefinition.setName("hello"); | //define states | ActivityImpl start = processDefinition.createActivity("start"); | start.setBehaviour(new StartActivity()); | //it turns out is very important to call this since it says where the process starts | processDefinition.setInitial(start); | ActivityImpl state1 = processDefinition.createActivity("state1"); | state1.setBehaviour(new HelloActivity()); | ActivityImpl state2 = processDefinition.createActivity("state2"); | state2.setBehaviour(new StateActivity()); | ActivityImpl end = processDefinition.createActivity("end"); | end.setBehaviour(new EndActivity()); | //define transitions | TransitionImpl transition = start.createOutgoingTransition(); | transition.setDestination(state1); | TransitionImpl transition2 = state1.createOutgoingTransition(); | transition2.setDestination(state2); | TransitionImpl endTransition = state2.createOutgoingTransition(); | endTransition.setDestination(end); | return processDefinition; | } | | | private JpdlProcessDefinition loadProcessDefinition() throws IOException { | JpdlParser jpdlParser = new JpdlParser(); | Parse parse = jpdlParser.createParse(); | FileInputStream inputStream = new FileInputStream("process.jpdl.xml"); | parse.setInputStream(inputStream); | parse.execute(); | return (JpdlProcessDefinition) parse.getDocumentObject(); | } | | class HelloActivity implements ExternalActivityBehaviour { | public void signal(ActivityExecution activityExecution, String signalName, Map stringMap) throws Exception { | activityExecution.take(signalName); | } | | public void execute(ActivityExecution activityExecution) throws Exception { | System.out.println("=Hello there==="); | activityExecution.waitForSignal(); | } | } | } | | As you can see it uses the internal API quite a bit. Mihail View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245936#4245936 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245936 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WSDL is not genreated
That should do it. Are you sure this class was packaged in the WAR? Did the deployment show up in the console log? There should be some log entries about the endpoint before and after the deployment of the web apps. Here is what I see for one of my apps: 12:05:21,210 INFO [DefaultEndpointRegistry] register: jboss.ws:context=salestax ,endpoint=SalesTax 12:05:21,491 INFO [TomcatDeployer] deploy, ctxPath=/salestax, warUrl=.../tmp/de ploy/tmp5164324044718083712salestax-exp.war/ 12:05:22,847 INFO [WSDLFilePublisher] WSDL published to: file:/C:/opt/jbia/jbia .423/jboss-4.2.3.GA/server/ws/data/wsdl/salestax.war/SalesTaxService672465130727 8161333.wsdl View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245935#4245935 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245935 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WSDL is not genreated
"yonghongb" wrote : JBossWS/Services | Registered Service Endpoints | There are currently no endpoints deployed | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245934#4245934 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245934 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WSDL is not genreated
package myWebService; @javax.jws.WebService @SOAPBinding(style = SOAPBinding.Style.RPC) public class TestWS { @WebMethod public void insertTier(String firstName, String lastName,String cp, String createDate, Tier[] myTier){ org.apache.log4j.Logger log = Logger.getLogger(Logger.class); Services.insertStudent(firstName,lastName, createDate, myTier); } } View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245933#4245933 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245933 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - JBoss 5.0.1.GA Native Maven2 Eclipse POM dependencies: deplo
I'm trying to build a quick and simple JBossws annotated web service that deploys in a war. Everything works great in eclipse (3.4) with JBoss Tools. However, as soon as I enabled Maven2 on the project and remove the JBoss Runtime java build path dependency the project will no longer deploy within eclipse. I've tried every pom dependency configuration I can think of with no luck. Does anyone have this working who is willing to share the dependency tags from their pom.xml with me? Here's what I have that is not working: | | junit | junit | 4.6 | test | | | org.jboss.jbossas | jboss-as-main | 5.0.1.GA | | | jboss.jbossws | jboss-jaxws | 3.0.1-native-2.0.4.GA | | If there's a tutorial somewhere that describes this I'd appreciate that as a response too. Any help is greatly appreciated. -Jeff View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245930#4245930 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245930 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBM2 cluster fails under heavy load
I tried with the trunk and still have the problem - thought I saw some improvement with the trunk build. I created a Jira: JBMESSAGING-1691 Thanks, Abdel View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245929#4245929 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245929 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Creating a theme
Hey all, I've attempted to create a theme based on information found here: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=155860 http://www.jboss.org/community/wiki/CustomPortal But I can't see any effects.. Instead, for some reason, all the themes in the dropdown list are now appearing twice?? I'm using 2.7.2 This is what I've done: 1) Created a war file with these contents: - portal_style.css - images (directory) --- images.jpg etcetc etc - WEB-INF (directory) ---portal-themes.xml ---web.xml My web.xml file is completely blank. Inside "portal-themes.xml", I have it just like it shows in the customportal.pdf (from http://www.jboss.org/community/wiki/CustomPortal ) I uploaded this war file into the /deploy directory. Is this theme supposed to appear in the dropdown list? Would someone be able to tell me what I'm doing wrong? Thanks so much! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245926#4245926 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245926 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WSDL is not genreated
Did you declare any endpoints in your app? If so, could you post one of your endpoints? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245925#4245925 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245925 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WSDL is not genreated
Thanks for your replay. I went to http:hostname:port/jbossws/services. I got : There are currently no endpoints deployed. I checked jboss/.../data/wsdl , there is no myApp.war folder there. Any idea? Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245924#4245924 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245924 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Making Cluster jBoss Messaging Scalable
Hi, I have just implemented jBoss messaging in a cluster bearing High availability in mind and its working. I am using MySQL as my shared database. Now I want to scale my setup say If my browser put any message to my Queue (Clustered Queue) it should be get processed by both of my app servers running on different machines and when they get response back they put message back to response queue and my browser knows where to look for response message I have an idea about HAJNDI but i am not if this is the correct approach. I am using Apache as my Web Server load balancing. What is a method from which I can load balance my JMS. I was searching and found out about Clustered Post Office. Does this has anything to do with scalability. Can anyone please guide to proper setup or example to implement it??? Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245919#4245919 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245919 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WSDL is not genreated
The WSDL is generated dynamically(?) when asked for. Go to http://localhost:8080/jbossws and click on the "View a list of deployed services" and then click on the WSDL link for your service. Also note the URL - you can use it at any time to see the WSDL. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245917#4245917 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245917 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: where can I find this class
"rams.rapo" wrote : this class should be in jbpm-jpdl jar. see floor two!! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245909#4245909 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245909 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: where can I find this class
this class should be in jbpm-jpdl jar. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245906#4245906 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245906 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Which version of Berkeley DB is used by the BdbjeCacheLo
I believe we use the transactional one. Here's the pom of the je dependency: http://download.oracle.com/maven/com/sleepycat/je/3.3.75/je-3.3.75.pom View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245905#4245905 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245905 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: where can I find this class
thank you but ,why not remove it from ga version ,that puzzle most of newer a lot!!! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245904#4245904 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245904 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Problem with sticky sessions in JBoss 5.1.0.GA
As usual, this was a human error. We forgot to re-read Apache config file with new worker names. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245903#4245903 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245903 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: where can I find this class
There you go, http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4243744#4243744 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245901#4245901 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245901 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm4-hibernate2-spring1.2 integration
You would have to upgrade to Hibernate3. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245902#4245902 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245902 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - where can I find this class
hi all! i use jbpm4.0 ga in my project , in jbpm.jar i add the hibernate mapping file jbpm.jpd.hbm.xml to my hibernate configuration file at mappinglocation ,when app loading , my server throws proxy classs ont find exception :org.jbpm.jpdl.internal.model.JpdlExecution the flowwing code is jbpm.jpdl.hbm.xml content | | http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd";> | | | | | | | | | | | | | | | | i have ever checkout src of pvm and api ,i alse cound't find this classs ,is this a obvisiably bug ?? hope to answer! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245896#4245896 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245896 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: @EJB injection in JSP and JSP change
How do you change the jsp? I mean do you redeploy the WAR or just change the jsp without redeploying the war? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245895#4245895 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245895 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Unresolved references exist in JBossWebMetaData
anonymous wrote : @EJB(mappedName = "NewtDao") | public static NewtDaoRemote facade; What is NewtDaoRemote? I don't see it being mapped as a remote interface for the bean and neither do i see the JNDI binding for that. If it was the local interface, here's what you would do to inject it: @EJB(mappedName = "NewtDao/local") | public NewtDaoLocal facade; View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245894#4245894 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245894 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - WSDL is not genreated
Hi, I'm using jboss 4.2.2GA, JBOSSWS native 3.0.4, jdk 1.5 I created a web service and a client application in my local using eclipse. Everything was fine. I created a war file and deploy it to our test server jboss/../../deploy. WSDL is not genreated. Any idea? Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245892#4245892 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245892 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Migration application from jboss 4.0.4 to jboss 5.1 does
See these http://www.jboss.org/community/wiki/ClassLoadingConfiguration http://www.jboss.org/community/wiki/JBossClassLoadingUseCases View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245890#4245890 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245890 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Re: ant failed.
Are you sure that this test case was compiled? Compare the timestamps on the .java and .class files. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245888#4245888 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245888 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: [jBPM 4] Mai templates context variables
You did not get what I said. In the example you gave the name of your custom template as "task-notification". If you change that name to "task-assign" your taskinstance.name variable will work. You are using custom template by changing the name of the template to "task-notification". The only system templates are "task-assign" and "task-reminder" which are by default present in jbpm.mail.templates. Whatever variables you want will work only under these two "SYSTEM DEFINED TEMPLATES" View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245886#4245886 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245886 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Qustions for running Jboss
No, it runs only one at a time. By default it runs (drum roll...) 'default'. To run one of the others, specify it using the -c option: run -c all View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245885#4245885 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245885 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Qustions for running Jboss
I have questions. (1) When I run Jboss from bin, Is it running all three servers (default, all and mini)? (2) how to control to run only one server? Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245884#4245884 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245884 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: [jBPM 4] Mai templates context variables
I'm aware that I'm using the "task-assign" template and indeed i have set notify to 'yes'. Everything works fine except for the taskInstance variable. For the moment I'm not trying to make a custom template. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245883#4245883 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245883 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Application Scoped datasources
As far as I know, once the datasource is deployed and its name show up in the JNDI tree, any app can connect to the database. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245882#4245882 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245882 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Jbpm-Spring app deployment to jboss Console Server!
Yes was a very fine answer and it filled with me with hope. I really want to leverage the restful apiprovided by the console server. But things aren't so simple. Now it seems obvious that the console server needs access to the spring context. Trying to enumerate a list of deployed processes via the restful api in the deault jboss integration causes all kinds of errors related to not finding the spring refrences in the process definition files. So it seems that there are two paths forward: I can try to integrate a springified instance of jbpm application server with jboss. Fooling around with the jbpm-service.sar Or assuming my jpbm application is deployed as a war, I can try to expose the context to gwt-console-server.war, perhaps by changing gwt-console-server-integration.jar. I know there are also class loading issues, but I think those are all surmountable. I think getting a springified version of jpbm integrated with the console server would eb tremendously useful integration. I'm sure I could pull it off with a little guidance. I would be happy to write up the solution and share it with others. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245881#4245881 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245881 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: deployement error while start the jboss 4.0.3 server
Well you could simply not deploy the EAR getting a deployment error - that should prevent the deployment error from showing up on the console. (I assume that your question was about how to get the deployment error not to show up because if your question was how to fix the EAR so that it deploys you would have posted deployment error that you are getting - the first exception stack that shows up in the console.) Please don't bold your entire question! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245878#4245878 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245878 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Doubt with configuration of oracle-ds.xml in $JBOSS_HOME
A Google search yielded this page which shows how to set up the connection URL to use the tnsnames.ora file: http://media.datadirect.com/download/docs/jdbc/alljdbc/reference/jdbcoracle8.html View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245877#4245877 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245877 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Doubt with configuration of oracle-ds.xml in $JBOSS_HOME
I do not think that the Oracle JDBC driver uses the tnsnames.ora file. Whatever IP address or hostname you provide in the connection URL is what the JDBC driver will use to connect to the database. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245876#4245876 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245876 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Access to execution through gwt-console
Is there any way to access execution (former token) through gwt-console? Thanks, Osvaldo Pina View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245875#4245875 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245875 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Application Scoped datasources
I am looking for a way to setup application scoped datasources within JBoss (4.2.3 or 5). I have a situation where we have multiple home grown applications on a single JBoss install. Each application uses a datasource that may point do a separate server or the same server with different database permissions. How can I prevent application X from using application Y's datasource? I have found this concept in other java app servers. Weblogic uses something called the JDBC Module, where you have an *-jdbc.xml file that you place inside the ear make a small change to the weblogic-application.xml file and the datasource is now only limited to that one application. Is this possible on JBoss? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245874#4245874 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245874 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: [jBPM 4] Mai templates context variables
There are few problems: 1. Firstly the template named "task-assign" will be called you set notify="yes" in your task node. Only this template has access to #{taskInstance.name} not your custom template. 2. If you want to use a custom template then you got to set the event as "task-assign" inside your For example: | | Hello, there | Task instance name #{taskInstance.name} | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245868#4245868 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245868 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: [jBPM 4] Mail templates context variables
Template: | | | | | | | | Assignment notification | Task #{taskInstance.name} is assigned | | | | | | Stacktrace: INFO: exception while executing command org.jbpm.pvm.internal.cmd.startprocessinstanceinlatest...@5b52f1 | org.jbpm.api.JbpmException: script evaluation error: javax.el.PropertyNotFoundException: Cannot find property taskInstance | at org.jbpm.pvm.internal.script.ScriptManager.evaluate(ScriptManager.java:118) | at org.jbpm.pvm.internal.script.ScriptManager.evaluate(ScriptManager.java:106) | at org.jbpm.pvm.internal.script.ScriptManager.evaluateExpression(ScriptManager.java:78) | at org.jbpm.pvm.internal.email.impl.MailProducerImpl.evaluateExpression(MailProducerImpl.java:137) | at org.jbpm.pvm.internal.email.impl.MailProducerImpl.fillContent(MailProducerImpl.java:301) | at org.jbpm.pvm.internal.email.impl.MailProducerImpl.produce(MailProducerImpl.java:81) | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245863#4245863 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245863 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: jBoss-5.0.0.GA - War file deployment fails
You definitely need to remove the jsf-*.jars, as they are provided by JBoss. If you use Maven, just mark the scope for them as "provided" View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245861#4245861 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245861 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Bound to localhost instead of VIP
The boot.properties file is used to set several system properties. One system property being set is jboss.server.name, the name of the server configuration. This property corresponds to the value of the minus c option to the run script. The contents of the boot.properties file is shown in the code block below. My guess is that the port number is assigned dynamically because when I cycle the appServer a different port is assigned each time it initializes. And other JBoss510 appServer instances on the same host have different port numbers bound to localhost.localdomain. | jboss.home.dir=/usr2/jboss/jboss-5.1.0.GA | jboss.java.home.dir=/usr2/jboss/jdk1.6.0_06 | jboss.lib.url=file:/usr2/jboss/jboss-5.1.0.GA/lib | jboss.home.url=file:/usr2/jboss/jboss-5.1.0.GA | jboss.server.name=default | jboss.server.base.dir=/jboss/deploy/JBOSS510/JB510.1.0/server/ | jboss.server.base.url=file:/jboss/deploy/JBOSS510/JB510.1.0/server/ | jboss.server.home.dir=/jboss/deploy/JBOSS510/JB510.1.0/server/default | jboss.server.home.url=file:/jboss/deploy/JBOSS510/JB510.1.0/server/default | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245859#4245859 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245859 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: UI Framework for jBPM 4.0 Task Form
anonymous wrote : Can I use other UI framework for jBPM 4.0 Task form other than GWT ? Sorry, I mean other than Tapestry. Regards, Setya View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245858#4245858 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245858 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - UI Framework for jBPM 4.0 Task Form
Hi all, Can I use other UI framework for jBPM 4.0 Task form other than GWT ? Thanks & Regards, Setya View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245855#4245855 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245855 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - How to list interceptors in JBOSS 5 console
How to list registered interceptors in JBOSS 5 console ? Best regards View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245854#4245854 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245854 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Restrict permission to start a process
That seems to be the only possible solution. Thanks & Regards, Setya View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245852#4245852 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245852 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: [jBPM 4] Mai templates context variables
I dont see why it should not..how r u accessing the variables? Could you explain with some example? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245848#4245848 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245848 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Restrict permission to start a process
can't you restrict this on your application (web? )rather than changing the permission in the process? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245847#4245847 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245847 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Email issue in windows and macbook
yeah fixed this one..JBPM was not sending the email with subject after downloading latest mail.jar and activation.jar from the maven jboss repository.. http://repository.jboss.com/maven2/ But when i reverted to the previous version of mail and activation.jar it works fine.. Guess the problem is with the maven repository in jboss View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245846#4245846 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245846 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: jBoss Cluster jvmRoute Value and HTTP Server Request Pro
Now I found that even If I shutdown my Server1 and only Server2 is up and running. I applied http://localhost/BrowserWeb/servlet/BrowserServlet in my address bar and it loads the main page. but when I submit my user name and password servlet got stuck and i have this exception on jboss console. | 14:25:59,059 ERROR [CoyoteAdapter] An exception or error occurred in the container during the request processing | java.lang.RuntimeException: JvmRouteValve.checkJvmRoute(): Tomcat JvmRoute is null. Need to assign a value in Tomcat serv | at org.jboss.web.tomcat.service.session.JvmRouteValve.checkJvmRoute(JvmRouteValve.java:106) | at org.jboss.web.tomcat.service.session.JvmRouteValve.invoke(JvmRouteValve.java:81) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262) | at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437) | at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:366) | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) | at java.lang.Thread.run(Unknown Source) | please help this is happening even when its try to replicate the session in absence of other server :-( View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245845#4245845 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245845 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Custom mail class
oh yeah..that was the issue..i had not deployed the process again.though I bounced the server.. Thanks everybody...:) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245841#4245841 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245841 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - deployement error while start the jboss 4.0.3 server
hi Arun here, Can anyone Fix me a problem which iam facing while starting the server of jboss 4.0.3.which i have two EAR file in my deploy folder in a single jboss server.While starting the server one EAR is deployed fine but another one is getting deployement error in the console.If anyone knows the solution then please reply me ASAP..bye Rgds, Arun.M View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245838#4245838 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245838 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Message not re-delivered to Specified OR Default DLQ
Hi Andy, Thanks for you help. It solved the problem. I have to change following xml in my MDB to get this thing work. jboss.xml to use 'java:/jmsXA' connection factory instead of 'java:/ConnectionFactory'. ejb-jar.xml Add the following lines in the end of file. | | | | OFSMessageMDB | * | | | Required | | | | | OFSMessageMDB_DLQ | * | | | Required | | | Thanks again :-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245837#4245837 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245837 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Doubt with configuration of oracle-ds.xml in $JBOSS_HOME/ser
I have the following doubt with the configuration of oracle-ds.xml in $JBOSS_HOME/server/default/deploy. My doubt is that if I have a entry as follows in oracle-ds.xml:- -- DirectDBOracleDS jdbc:oracle:thin:@10.10.10.26::orapdpc oracle.jdbc.driver.OracleDriver jispbilcorbillingprd501 jispbilcorbillingprd501 jispbilcorbillingprd501 org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter -- Now, the database being pointed to will be the one with SID, 'orapdpc' on server with IP, 10.10.10.26. The tnsnames.ora entry in machine, 10.10.10.26 has entry like: -- ORAPDPC = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.10.26)(PORT = 1521)) ) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orapdpc) ) ) -- so, this should point to the dababase in the same machine. If the tnsnames.ora entry in machine, 10.10.10.26 was like: -- ORAPDPC = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.10.2)(PORT = 1521)) ) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orapdpc) ) ) -- then, this would have pointed to the database in the machine with IP, 10.10.10.2. Is, the observation correct or when we say in oracle-ds.xml, -- jdbc:oracle:thin:@10.10.10.26::orapdpc -- it would mean that it would always point to the database on machine with IP, 10.10.10.26. I hope, my question is clear. Please help in solving the doubt. Regards View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245836#4245836 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245836 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: jtools(from trunk jul/24/09) and Mavenized Seam booking
Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245835#4245835 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245835 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Queue client failover solution while jboss5.1 crashed
If you could provide a standalone test showing this that would be great. Attach it to a JIRA and someone will take a look. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245825#4245825 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245825 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Queue client failover solution while jboss5.1 crashed
I have set 5000 for 5 secs ,and wait for at least 15 secs to start node but still throw up same WARN message,I also got below exceptions 02:49:59,627 SEVERE [ServerSessionImpl] Failed to send message java.lang.NullPointerException at java.nio.ByteBuffer.wrap(ByteBuffer.java:373) at org.jboss.messaging.core.postoffice.impl.BindingsImpl.routeFromCluster(BindingsImpl.java:139) at org.jboss.messaging.core.postoffice.impl.BindingsImpl.route(BindingsImpl.java:284) at org.jboss.messaging.core.postoffice.impl.PostOfficeImpl.route(PostOfficeImpl.java:656) at org.jboss.messaging.core.postoffice.impl.PostOfficeImpl.route(PostOfficeImpl.java:667) at org.jboss.messaging.core.server.impl.ServerSessionImpl.send(ServerSessionImpl.java:2526) at org.jboss.messaging.core.server.impl.ServerSessionImpl.doSend(ServerSessionImpl.java:2334) at org.jboss.messaging.core.server.impl.ServerSessionImpl.handleSend(ServerSessionImpl.java:1038) at org.jboss.messaging.core.server.impl.ServerSessionPacketHandler.handlePacket(ServerSessionPacketHandler.java:269) at org.jboss.messaging.core.remoting.impl.ChannelImpl.handlePacket(ChannelImpl.java:621) at org.jboss.messaging.core.remoting.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:399) at org.jboss.messaging.core.remoting.server.impl.RemotingServiceImpl$DelegatingBufferHandler.bufferReceived(RemotingServiceImpl.java:483) at org.jboss.messaging.integration.transports.netty.MessagingChannelHandler.messageReceived(MessagingChannelHandler.java:75) at org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:105) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:567) at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:803) at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:387) at org.jboss.netty.handler.codec.frame.FrameDecoder.fireMessageReceived(FrameDecoder.java:284) at org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:261) at org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:182) at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:87) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:567) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:562) at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:344) at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:331) at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:303) at org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:255) at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:176) at org.jboss.netty.util.internal.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:72) at org.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:49) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Sometimes once I restarted the server been killed,I got following exceptions, 03:06:51,359 WARNING [ClientSessionImpl] 1670189749 Session not found on server when attempting to re-attach 03:06:51,370 SEVERE [BridgeImpl] Failed to stop java.lang.IllegalStateException: Cannot find add info 121 at org.jboss.messaging.core.journal.impl.JournalImpl.appendUpdateRecord(JournalImpl.java:320) at org.jboss.messaging.core.persistence.impl.journal.JournalStorageManager.updateDeliveryCount(JournalStorageManager.java:462) at org.jboss.messaging.core.server.impl.QueueImpl.checkDLQ(QueueImpl.java:1077) at org.jboss.messaging.core.server.impl.QueueImpl.cancel(QueueImpl.java:688) at org.jboss.messaging.core.server.cluster.impl.BridgeImpl.cancelRefs(BridgeImpl.java:299) at org.jboss.messaging.core.server.cluster.impl.BridgeImpl.access$800(BridgeImpl.java:79) at org.jboss.messaging.core.server.cluster.impl.BridgeImpl$FailRunnable.run(BridgeImpl.java:756) at org.jboss.messaging.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:105) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) 03:06:51,671 SEVERE [ServerSessionImpl] Failed to send message java.lang.NullPointerException
[jboss-user] [JBoss Cache: Core Edition] - Re: Error on stage transfer during SessionCache start up
It appears you're trying to cluster different AS versions since CacheMarshaller200 appears to be in use. AS 5.1 uses JBoss Cache 3.1 and hence should be using CacheMarshaller300 marshaller. Try to create a cluster of AS 5.1 instances in your localhost and see if u see the same issue. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245816#4245816 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245816 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - upgrade jbpm to 3.2.6: how to
jbossportal 2.7.2 hi all, i am upgrading from jbpm3.2.2 to jbpm3.2.6 in jboss portal 2.7.2. i made the following changes 1. changed the jbpm-identity.jar, jbpm-jpdl.jar 2. changed the conf/hibernate/workflow/hibernate.cfg.xml 3. modifed the jboss-portal.sar\portal-workflow.sar/jboss-service.xml But the workflow doesnt deploy due to errors below. | 21:10:42,843 ERROR [JobExecutorThread] exception in job executor thread. waiting | 2 milliseconds | org.jbpm.JbpmException: transaction begin failed | at org.jbpm.persistence.jta.JtaDbPersistenceService.beginTransaction(Jta | DbPersistenceService.java:74) | at org.jbpm.persistence.jta.JtaDbPersistenceService.(JtaDbPersiste | nceService.java:48) | at org.jbpm.persistence.jta.JtaDbPersistenceServiceFactory.openService(J | taDbPersistenceServiceFactory.java:66) | at org.jbpm.svc.Services.getService(Services.java:156) | at org.jbpm.svc.Services.getPersistenceService(Services.java:196) | at org.jbpm.JbpmContext.getPersistenceService(JbpmContext.java:699) | at org.jbpm.JbpmContext.getJobSession(JbpmContext.java:626) | at org.jbpm.job.executor.JobExecutorThread.acquireJobs(JobExecutorThread | .java:114) | at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:58 | ) | Caused by: org.jbpm.JbpmException: could not retrieve user transaction with name | java:comp/UserTransaction | at org.jbpm.persistence.jta.JtaDbPersistenceServiceFactory.getUserTransa | ction(JtaDbPersistenceServiceFactory.java:90) | any ideas are most appreciated. -lp View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245809#4245809 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245809 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: How to let jboss cache work with application server cont
Thanks Galder, to further clarify the behavior of "participaing" with javax.transaction.Synchronization, please let me know if my following assumptions are right: 1. When global transaction fails, jboss cache is able to rollback its own transaction. 2. When global transaction succeeds, jboss cache is able to commit its own transaction but if jboss commit fails, the global transaction cannot be rolled back. Xuetao View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245808#4245808 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245808 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Message not re-delivered to Specified OR Default DLQ
fyi MDB's are not part of the messaging project, they are part of the Application Server. However, You are using bean managed transactions which means the delivery of the messages to the MDB are outside the scope of the bean managed transaction. This makes sense if you think about it because you will be beginning the tx inside you MDB onMEssage. You need your MDB to be Container manages with a transaction type of 'REQUIRED'. Also when you lookup the connection factory inside your MDb for sending you need to look up the correct one. Usally this is mapped to 'java:/JmsXA'. Doing this means that the delivery of the message and anything you do in your MDB are involved in the same tx, i.e. 1 fails both fail. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245805#4245805 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245805 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: How to let jboss cache work with application server cont
JBossCache does not act as an XA resource but participates in transactions via javax.transaction.Synchronization See http://www.jboss.org/file-access/default/members/jbosscache/freezone/docs/3.1.0.CR1/userguide_en/html_single/index.html#transactions.jta View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245803#4245803 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245803 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Message not re-delivered to Specified OR Default DLQ
hmmm thats something new.Where do I have to change my config Following are my ejb-jar.xml and jboss.xml used in MDB. ejb-jar.xml | | http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd";> | OFSMessage | | | OFSMessage Bean | OFSMessageMDB | com.temenos.ofsmessage.mdb.OFSMessageMDB | javax.jms.MessageListener | Bean | javax.jms.Queue | | | acknowledgeMode | Auto-acknowledge | | | | T24 Queue Connection Factory | jms/jmsConnectionFactory | javax.jms.QueueConnectionFactory | Container | | | T24 JCA Connection Factory | jca/t24ConnectionFactory | com.jbase.jremote.JConnectionFactory | Container | | | OFS reply queue | queue/t24OFSReplyQueue | javax.jms.Queue | Container | | | | | OFSMessage Bean DLQ | OFSMessageMDB_DLQ | com.temenos.ofsmessage.mdb.OFSMessageMDB | javax.jms.MessageListener | Bean | javax.jms.Queue | | | acknowledgeMode | Auto-acknowledge | | | | T24 Queue Connection Factory | jms/jmsConnectionFactory | javax.jms.QueueConnectionFactory | Container | | | T24 JCA Connection Factory | jca/t24ConnectionFactory | com.jbase.jremote.JConnectionFactory | Container | | | OFS reply queue | queue/t24OFSReplyQueue | javax.jms.Queue | Container | | | | | jboss.xml | | | http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd";> | | | | | OFSMessageMDB | queue/t24OFSQueue | | jms/jmsConnectionFactory | java:/ConnectionFactory | | | queue/t24OFSReplyQueue | | queue/t24OFSReplyQueue | | | jca/t24ConnectionFactory | java:jca/t24ConnectionFactory | | | | | | OFSMessageMDB_DLQ | queue/t24OFSDLQ | | jms/jmsConnectionFactory | java:/ConnectionFactory | | | queue/t24OFSReplyQueue | | queue/t24OFSReplyQueue | | | jca/t24ConnectionFactory | java:jca/t24ConnectionFactory_DLQ | | | | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245802#4245802 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245802 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Message not re-delivered to Specified OR Default DLQ
Your config looks correct. Make sure your MDB's are using XA and you are looking up the correct connection factory, i.e. 'java:/JmsXA' View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245800#4245800 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245800 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Message not re-delivered to Specified OR Default DLQ
Network Problem!!! No...I failed my MDB INTENTIONALY... I mean i stoped my Database server listner on port 20005 so my MDB will fail to post message and mesage should get redirected to custom or even default DLQ where one more of my MDB is waiting to fetch message from DLQ and post it port 20003 on the same or anyother instance of database server on any port or address using my DLQ resource adaptor. Above is one of my FailOver requirements when one of the database server goes down. Exception for connection to 127.0.0.1 on port 20005 is from my resource adaptor which is been used by my default MDB(Normal flow when everything is UP and running and HAPPY) Hope this helps:-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245799#4245799 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245799 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Message not re-delivered to Specified OR Default DLQ
Hi, the warning doesn't matter. It tells you that calling setDisableMessageID() on JBossMessageProducer doesn't take effect. It looks like it' s your network problem. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245795#4245795 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245795 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: javax.xml.ws.WebServiceException: WSDL metadata is missi
"ashutoshdeora" wrote : | i want to know about the class path which u have mentioned in your 1st reply | You have to reference jbossws jars in your client classpath only. You also need to set -Djava.endorsed.dirs=$JBOSS_HOME/lib/endorsed in your client classpath (IDE or shell script) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245792#4245792 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245792 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Message not re-delivered to Specified OR Default DLQ
Hi, I have some strange problem here. I am using jboss 4.2.3GA with jboss messaging 1.4. I have defined deployed following destination using '/farm' method in my cluster consist of two nodes as follows *-destination-service.xml | | | | | jboss.messaging:service=ServerPeer | jboss.messaging:service=PostOffice | true | 1 | 0 | jboss.messaging.destination:service=Queue,name=t24OFSDLQ | | | | jboss.messaging:service=ServerPeer | jboss.messaging:service=PostOffice | false | | | | jboss.messaging:service=ServerPeer | jboss.messaging:service=PostOffice | true | | | | Above will successfuly deploy following three queues and my MDB's are successfuly binding to it. Request Queue : t24OFSQueue Response Queue: t24OFSReplyQueue Custom DLQ : t24OFSDLQ Now problem is when my MDB fails to post message to destination the message should get redirected to my custom DLQ but its NOT and jboss console shows me following exception only in which there is not even name of redirection or anything. * Strange thing is the message is not even redirected to default DLQ (queue/DLQ) created by jboss messaging destination-service.xml** | 10:57:33,543 WARN [JBossMessageProducer] JBoss Messaging does not support disabling message ID generation | 10:57:33,651 ERROR [STDERR] 24-Jul-2009 10:57:33 com.jbase.jremote.io.JRemoteSocketConnection send | WARNING: Failed to write message | 10:57:33,655 WARN [TxConnectionManager] Connection error occured: org.jboss.resource.connectionmanager.txconnectionmanager$txconnectioneventliste...@6755f302[state=normal mc=com.jbase.jremote.jc | a.jremotemanagedconnect...@66b378c2 handles=0 lastUse=1248428656709 permit=false trackByTx=false mcp=org.jboss.resource.connectionmanager.jbossmanagedconnectionpool$onep...@10bd3d3b context=org.j | boss.resource.connectionmanager.internalmanagedconnectionp...@77fef512 xaresource=org.jboss.resource.connectionmanager.txconnectionmanager$localxaresou...@38bae4a txSync=null] | com.jbase.jremote.JRemoteException: Failed to write message - Connection reset by peer: socket write error | at com.jbase.jremote.io.JRemoteSocketConnection.send(JRemoteSocketConnection.java:103) | at com.jbase.jremote.io.InterceptorConnection.send(InterceptorConnection.java:89) | at com.jbase.jremote.io.AbstractJRemoteConnection.sendWaitForResponse(AbstractJRemoteConnection.java:47) | at com.jbase.jremote.io.JConnectionImpl.time(JConnectionImpl.java:281) | at com.jbase.jremote.jca.JRemoteManagedConnection.isAlive(JRemoteManagedConnection.java:341) | at com.jbase.jremote.jca.JRemoteManagedConnectionFactory.matchManagedConnections(JRemoteManagedConnectionFactory.java:177) | at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:213) | at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:575) | at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:347) | at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:330) | at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:402) | at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:849) | at com.jbase.jremote.jca.JRemoteConnectionFactoryImpl.getConnection(JRemoteConnectionFactoryImpl.java:121) | at com.jbase.jremote.jca.JRemoteConnectionFactoryImpl.getConnection(JRemoteConnectionFactoryImpl.java:104) | at com.temenos.ofsmessage.mdb.OFSMessageMDB.sendMessage(OFSMessageMDB.java:118) | at com.temenos.ofsmessage.mdb.OFSMessageMDB.onMessage(OFSMessageMDB.java:74) | at sun.reflect.GeneratedMethodAccessor114.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.invocation.Invocation.performCall(Invocation.java:359) | at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:495) | at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158) | at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63) | at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121) | at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:173) |
[jboss-user] [JBoss Tools (users)] - Re: bean autocompletion not working on xhtml
Thanks for the info! I will track the status of test ;-) http://download.jboss.org/jbosstools/builds/nightly/latestBuild.html View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245790#4245790 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245790 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Problem with getting port
The problem solved. Just removed javaee.jar from a project. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245789#4245789 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245789 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: javax.xml.ws.WebServiceException: WSDL metadata is missi
sorry there is no Metro any where in this project if you have told it by name then its my mistake i am very sorry for that i am using JBoss Native WS i will follow your suggestion i want to know about the class path which u have mentioned in your 1st reply please tel about that | http://java.sun.com/xml/ns/j2ee"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"; | version="2.4"> | TestStateFulWS | | | | com.sun.xml.ws.transport.http.servlet.WSServletContextListener | | | | | | | jaxWsServlet | com.sun.xml.ws.transport.http.servlet.WSServlet | | | | jaxWsServlet | /book | | | jaxWsServlet | /bookstore | | | | | | 60 | | | index.html | index.htm | index.jsp | default.html | default.htm | default.jsp | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245787#4245787 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245787 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Inspecting Web application
"sasanplus" wrote : | is there a way through JBossWS API? | This sounds really hacky, don't it? OK, you can use JBossWS SPI (see our code base), but as it's not J2EE standard it is possible it will change in the future. In other words if you're going to use proprietary API, remember that your solution might not be portable in the future ;) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245786#4245786 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245786 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: javax.xml.ws.WebServiceException: WSDL metadata is missi
"ashutoshdeora" wrote : i am posting the web.xml here | please tell what to change in this | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245783#4245783 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245783 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: javax.xml.ws.WebServiceException: WSDL metadata is missi
"ashutoshdeora" wrote : | i have to use AS 4.2.3 | so what JBossWS-Native version i should use for this | See this matrix. "ashutoshdeora" wrote : | my web service should be STATEFUL | i cannot use stateless WEBSERVICE | The JBossWS webservices have been always stateful. But there was a bug with instance reuse, see JBWS-2486. Luckily this issue have been fixed in JBossWS Native 3.1.1, so you're ready to go with JBossWS-Native-3.1.1.GA on JBossAS-4.2.3 ;) "ashutoshdeora" wrote : | i need to use the EndpointReference | the jar having this is rt.jar (this is in the java jre ) | | the another is in JBOSSRUNTIME LIB named as jaxws-rt.jar | which one i have to remove or modify please tell | I'm getting really confused :( So you're using JBossWS Native or JBossWS Metro? This JBossWS-Native forum, for JBossWS-Metro specific user questions please use this forum. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245782#4245782 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245782 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Restrict permission to start a process
Hi all, With JBpm 4.0 is it possible to restrict permission to start a process ? Since AFAIK user/group/swimlane can only be assigned to Task. Any advice would be greatly appreciated. Regards, Setya View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245779#4245779 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245779 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: bean autocompletion not working on xhtml
All jboss tools with version 3.1* should be working with gallileo. CA under refactoring, so it's brokern in this build :-(. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245777#4245777 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245777 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Queue client failover solution while jboss5.1 crashed
The timeout is configured in the discovery group, i.e. anonymous wrote : 1 default is 10 second s I think. make sure you wait until 2 * this setting before restarting the node. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245776#4245776 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245776 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Queue client failover solution while jboss5.1 crashed
Taylor,thanks very much for your prompt response! I understood your point,but could you pls tell me how I can get rid of that WARN messging, WARNING [DiscoveryGroupImpl] There seem to be more than one broadcasters on the network broadcasting the same node id It looks like once I started Jboss and JBM got redeployed in the cluster,but it used the same broadcaster name as it should be while I hard configured in the jbm-configuration file,but old broadcaster group didn't get removed from system somehow when I killed the node. BTW I have setup 1 ,so once one node down,server will clean up resources like connection for that node after 10 sec,but how can JBM remove broadcaster group on that node? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245774#4245774 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245774 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: bean autocompletion not working on xhtml
I'm using JBoss Tools RichFaces 3.1.0.M2-N200907092133-H355 org.jboss.tools.richfaces.feature.feature.group so its a dev build, not nightly, but maybe this is the case? but previous version weren't working with galileo I'm afraid View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245773#4245773 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245773 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - [jBPM 4] Mai templates context variables
In jBPM 3 it was possible to use some context variables in EL (for ex. taskInstance & processInstance). It seems to be that this doesn't work in jBPM4? Gert View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245772#4245772 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245772 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: bean autocompletion not working on xhtml
Which versions of jboss tools are you using? If you use latest nightly builds, CA can be not working. Looks like it's under refactoring, junit tests for it FAILED and it's not working on my local env too. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245770#4245770 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245770 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user