[jboss-user] [JBoss jBPM] - Re: how can I get previous actorid in jBPM 3.1.2?
Hi, ppxiaofei! AFAIN the id of the previous actor is not persisted in the datbase. You can use it just after reassigning the task instance. Look at the code for confirmation. Regards, Saviola View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977423#3977423 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977423 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: sessions and forks
Look at the class Token. It has four methods for retrieving its child tokens. The code is your best friend. :) Regards, Saviola View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977424#3977424 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977424 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Node instead of Fork
Hi, pedrosacosta! EnhancerByCGLIB is something related to Hibernate. It is like a wrapper for the Node object. I hope this hint helps, you can read more from Hibernate docs. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977425#3977425 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977425 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Windows 2003 - Ports In Use
Does any one here found the solution yet? Im having same problems too Thankz :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977426#3977426 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977426 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Cluster Membership after Network Failure
I tried using -Djgroups.marshalling.compatible=true on jgroups 2.4rc2 but it did not work is it on the latest build only? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977427#3977427 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977427 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Newbie Need Help :)
You might have to reserve the ports as mentioned here: http://www.jboss.com/index.html?module=bbop=viewtopict=64248 There are tools like, Fport, which help in identfying which process is using a particular port: http://www.ibiblio.org/security/articles/fport.html And there are tools which can then be used to kill that particular process http://www.sysinternals.com/Utilities/PsKill.html View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977428#3977428 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977428 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Newbie Need Help :)
Having said all this, i am still not sure why your jboss-service.xml does not have mention of the ports. You mention that you are using JBoss-4.0.4GA. I have downloaded the same version and i can find the port numbers mentioned in that file. Are you sure that you are looking at the correct file and also that you have a proper installation? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977429#3977429 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977429 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Getting JNDI context fails
thanks, it solved my problem too! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977430#3977430 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977430 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: jboss does not recognize part accessor with null namespa
sorry, the correct request and response message are: The request message jboss is sending is: env:Body | ns1:getPersonInfo xmlns:ns1='http://typespackage' | in0 xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' | ID123/ID | age12/age | nameadeel/name | /in0 | /ns1:getPersonInfo | /env:Body Response message from axis is: soapenv:Body | getPersonInfoResponse xmlns='http://typespackage' | getPersonInfoReturn |ID123/ID |age12/age |nameadeel/name | /getPersonInfoReturn | /getPersonInfoResponse | /soapenv:Body View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977432#3977432 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977432 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - give back value of a previous task
Hello, Do you know how get back the variable of an ended task? for example: | task-node name=CreationDevis | task swimlane=Assurimo | controller | variable name=Article / | variable name=Nombre/ | variable name=Prix/ | variable name=Commentaire/ | /controller | /task | transition name=Envoi to=ValidationClient/transition |/task-node | |task-node name=ValidationClient | task swimlane=FONCIA | controller | variable name=Article / | variable name=Nombre/ | variable name=Prix/ | variable name=Commentaire/ | variable name=CauseDuRefus/ | /controller | /task | transition name=Refus to=CreationDevis/transition | transition name=Acceptation to=TransfertDonnees/transition |/task-node | I fill the variable of my first task, then I pass to the next one by end() methode. How can give back the values of the previous task variable in my next task for pre-filling of the field. thank you for you help antitrust1982 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977433#3977433 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977433 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Code generation problem - Seam
1. By default you have commons-logging.jar in your {jboss.home}/server/default/lib directory. Leave it there and the exception will be gone. Same for javax.servlet.jar. 2. When you create your Java project in Eclipse, create your source directory in /src and your output directory in /build. In that case the code will generate correctly. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977435#3977435 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977435 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - How can I get the Transition which is the process enter a No
When One node can arrived from serival transitions,Can I get the Transition from that transition enter in the node? Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977437#3977437 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977437 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Is the 4.0.4.GA org.jboss.varia.scheduler.Scheduler sing
My understanding is the Scheduler uses JMX Timer and the JBoss implementation of is based on an internal thread pool, so it should be multithreaded. I'm not sure if you run using jdk5, in which case the sun JMX timer is used, what their implementation is doing. Maybe switch to jdk1.4 and see what happens. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977439#3977439 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977439 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Assignment when I execute and fill a field
hello, Is it possible that according to the filling of a variable to assign when I execute my porcess to a specific person. For example, I'm filling my fields and I fill for my school TOTO, so only the school TOTO must read my information, but If I type TITI only TITI can read. So the assignment is when I execute my process and depend on the filling of a field. if it is possible can you help me to do? thank you. FOr now I create at the beginning the swimlane to assign my task so it not possible to assing when I execute I think? have I right? thank you for your help antitrust1982 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977442#3977442 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977442 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - PortletSession Question
i am using SEAM to implement a Portlet application, i have a question that how can i get/inject PortletSession in the SessionBean? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977444#3977444 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977444 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - Re: Topic/QueueRequestor does not respond
I guess everybody knows the answer It is why nobody replied... but for noobs like me I'd reveal the answer: connection.start(); Bye, Janos View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977447#3977447 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977447 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Reloading class in ear struture.
Hello all , I'm trying to find out how to reload class in ear struture when remote debugging it. I find out plain class struture in ear directory works (previously I tried META-INF/classes, WEB-INF/classes, APP-INF/classes, none works). when classes file directly in ear directory works, but when I change class file and recompile it to the place, it just can't be reloaded like previously I've done in WAR (WEB-INF/classes , under Tomcat or Jetty environment). Do anyone has any hint about this? Or I can't reload class and must redeploy my app after every single change? I'm using jboss 4.0.1sp1. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977448#3977448 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977448 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - JSF and Tiles: Issues with Jboss Portal
Hi, I am trying to execute a JSF portlet which uses tiles. The page is rendering correctly when it is viewed directly. when I try to have the same page in the JSF portlet then I am getting a NPE. The full stack trace is attached. java.lang.NullPointerException | at org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl.getServletMapping(JspTilesViewHandlerImpl.java:268) | at org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl.renderView(JspTilesViewHandlerImpl.java:120) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352) | at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:323) | at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:298) | at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:380) | at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:266) | at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:167) | at javax.portlet.GenericPortlet.render(GenericPortlet.java:407) | at org.jboss.portal.portlet.container.PortletContainer.invokeRender(PortletContainer.java:519) | at org.jboss.portal.portlet.container.PortletContainer.dispatch(PortletContainer.java:440) | at org.jboss.portal.portlet.container.PortletContainerInvoker$1.dispatch(PortletContainerInvoker.java:143) | at org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(PortletInvocation.java:242) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeNotSupported$aop(TransactionInterceptor.java: | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_4827075286966232824.invokeNext(TransactionInterceptor$invokeNotSupported_4827075286966232824. | at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66) | at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:101) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_4827075286966232824.invokeNext(TransactionInterceptor$invokeNotSupported_4827075286966232824. | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeNotSupported(TransactionInterceptor.java) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:55) | at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:49) | at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.portlet.aspects.portlet.ProducerCacheInterceptor.invoke(ProducerCacheInterceptor.java:50) | at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.portlet.aspects.portlet.ModesInterceptor.invoke(ModesInterceptor.java:59) | at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:45) | at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.portlet.aspects.portlet.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:55) | at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.portlet.aspects.portlet.PortletSessionSynchronizationInterceptor.invoke(PortletSessionSynchronizationInterceptor.java:76) | at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor$InvokeNextCommand.execute(ContextDispatcherInterceptor.java:124) | at
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Double HttpRequest Problem
Hi Peter, now the problem is more restricted. Only the requests sent from a client that is on the same machine of the JBOSS AppServer are duplicated (so calls to localhost). If the client and the server are on different machines (or the client invokes the server by its http://ipaddress:port/url instead of http://localhost:8080/url) the problem does not exists. So I think that, as you suppose, the problem could be related to some network issues. Tnx! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977450#3977450 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977450 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: Creating a blank project via seam-gen
Hello, here the solution that work for me (Projectname sample) (from http://www.jboss.org/index.html?module=bbop=viewtopict=88326start=10) 1. Goto Properties-- J2EE Module Dependencies of project sample |2. uncheck JAR/Module jboss-seam.jar and jbpm-3.1.1.jar / Project sample |3. Press OK and Redeploy | | | | Bye | Andreas View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977451#3977451 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977451 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Error in GraphSession.findProcessDefinition()
Try to add asm.jar in the classpath View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977452#3977452 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977452 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Eclipse Getting Started Guide
hi http://www.jboss.org/index.html?module=bbop=viewtopict=91903 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977453#3977453 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977453 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Task Nodes - conditionally create tasks?
anonymous wrote : There's no way to tie a task instance to a task node. It's only through the task def that there's a link between task/tasknode. AFAIK you don't need the link task/tasknode. You can just have a task def tied to the process definition and create task instances in the task node (using event handlers f.e.). You can actually create task instances in any node. anonymous wrote : but it's important we have the task/tasknode relationship Why? anonymous wrote : We could just have NO tasks created at node entry, and manually create a task instance ourselves, but allowing the tasks to be created conditionally seems more elegant You can also create the tasks defined in the task node (mandatory ones), and create the ones defined at process definition level optionally. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977455#3977455 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977455 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: [TreeCacheMarshaller140] Unknown Magic Number 49
This is fixed, and will be released in 2.0.0 and 1.4.0.SP2. If you want the fix for 1.4.0.SP1 as well, simply upgrade the jboss-serialization.jar library to the one that is in CVS HEAD (jboss-serialization version 1.0.3.GA) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977457#3977457 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977457 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Window title
Hello! Could u tell me how can I change portlet title (on the window) dynamically? Is it possible? regards MB. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977458#3977458 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977458 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - create a simple EJB 3.0 application
I just wonder how to create an EJB3 application on eclipse. I have installed JBoss 4.0.4, Eclipse 3.2, JBoss Eclipse IDE 1.6 GA with patch. I tried to use eclipse embeded EJB 3.0 framework, so I clicked File-New-Project. In the Wizard, I chose EJB 3.0 -EJB 3.0 Project, and clicked Next. I input Calculator as project name, then clicked create a JBoss configration in Select a JBoss configuration section. Because I installed JBoss 4.0.4 in D:\JBOSS_HOME, I createed a new configration under JBoss 4.0.x, and choose D:\JBOSS_HOME\4.0.4 as Home Directory. As I created a folder myapp based on default in JBoss deploy folder, I chose myapp as Server Configuration (actually, it doesn't matter if I chose default or myapp). Notice, I set jdk1.5.0._07 as Runtime JRE in JDK tag, becase tools.jar in its lib folder . Everything seems going well so far. However, when I click Finish in Select a JBoss configuration window, an EJB3 Tools-Error popped up: The selected configuration (New_configration) does not contain the expected EJB3 libraries. Please install JBoss with EJB3 enabled or try another configuration. Can anyone tell me how to fix this error please? Regards Weiming Chen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977460#3977460 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977460 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - is there a complete reference to configure Tomcat for a Seam
Hi is there any one did it before. I want to configure my seam project to work with Tomcat. connecting to database and all config files needed for Seam. if anyone has some sample config file would you please display it for me. any help will be appreciated. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977461#3977461 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977461 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Postback/form resubmission detection
Sigh. Nothing is ever easy, eh! I get: === javax.servlet.ServletException: could not instantiate ClassValidator at javax.faces.webapp.FacesServlet.service(FacesServlet.java:121) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) ... at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Unknown Source) 18:22:05,562 INFO [SeamExceptionFilter] killing transaction 18:22:05,562 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception java.lang.IllegalArgumentException: could not instantiate ClassValidator at org.hibernate.validator.ClassValidator.createValidator(ClassValidator.java:265) at org.hibernate.validator.ClassValidator.createMemberValidator(ClassValidator.java:233) at org.hibernate.validator.ClassValidator.initValidator(ClassValidator.java:176) ... at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Unknown Source) Caused by: java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key validator.length at java.util.ResourceBundle.getObject(Unknown Source) at java.util.ResourceBundle.getString(Unknown Source) at org.hibernate.validator.ClassValidator.replace(ClassValidator.java:518) at org.hibernate.validator.ClassValidator.createValidator(ClassValidator.java:260) ... 46 more === I saw this: http://www.jboss.com/index.html?module=bbop=viewtopicp=3928305 Is this still an issue...should I go to the shiny new version in CVS (planning to give it a try anyhow...) Cheers, Alph View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977459#3977459 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977459 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - WF definition (beginner)
I saw the demo of jBPM. You can create the process definition in Eclipse and then maintain the WF instances in a web application. Can jBPM be o any use when you need to intergrate it into your app, having both WF definition and WF use integrated (i.e. also the part which is done in Eclipse in the demo)? Thanks Tomas View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977462#3977462 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977462 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Postback/form resubmission detection
current workaround is to copy default messageset from org.hibernate.validator.resources.DefaultValidatorMessages.properties Then...its like a bought one! Still...I'll have to give CVS version a try. Alph View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977463#3977463 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977463 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem execute actions on jboss
Makes it a differenz, wether the workflow runs i a web application or in a backend? If i put my workflow in the war archiv of my web application, i can execute it without any problem. If i try it in the backend ( jar archiv ), the workflow runs without execute the actions. Is there any reason, why jbpm should run in the backend? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977464#3977464 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977464 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - no application context with latest seam version
Hello, i have compiled the latest seam version out of cvs. I am aware that it is at heavy development. We are using tomcat with hibernate in the microcontainer Besides the copying of the new seam jars to the apps lib folder i have to adapt components.xml. No other files are changed. With the new seam version my tomcat starts up without complains. When the application is called, the HibernateSession starts up and the login page is displayed. So far so good. After logging in, the next page is displayed and this excepttion appears: 10:11:50,281 ERROR org.apache.myfaces.lifecycle.PhaseListenerManager: Exception in PhaseListener RENDER_RESPONSE(6) afterPhase | java.lang.IllegalStateException: No active application context | at org.jboss.seam.core.Pages.instance(Pages.java:282) | at org.jboss.seam.jsf.SeamStateManager.saveSerializedView(SeamStateManager.java:47) | at org.apache.myfaces.renderkit.html.util.DummyFormUtils.writeDummyForm(DummyFormUtils.java:153) | at org.apache.myfaces.renderkit.html.util.ExtensionsPhaseListener.writeCodeBeforeBodyEnd(ExtensionsPhaseListener.java:112) | at org.apache.myfaces.renderkit.html.util.ExtensionsPhaseListener.getCodeBeforeBodyEnd(ExtensionsPhaseListener.java:96) | at org.apache.myfaces.renderkit.html.util.ExtensionsPhaseListener.renderCodeBeforeBodyEnd(ExtensionsPhaseListener.java:86) | at org.apache.myfaces.renderkit.html.util.ExtensionsPhaseListener.afterPhase(ExtensionsPhaseListener.java:66) | at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersAfter(PhaseListenerManager.java:89) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:391) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:33) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) | at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) | at java.lang.Thread.run(Thread.java:595) | 10:11:50,281 DEBUG org.jboss.seam.servlet.SeamExceptionFilter: ended request | 10:11:50,281 DEBUG org.apache.myfaces.renderkit.html.util.ReducedHTMLParser: DOCTYPE found at line 1 | 10:11:50,296 WARN org.apache.myfaces.renderkit.html.util.DefaultAddResource: MyFaces special javascript could not be retrieved from request-map. | 10:11:50,343 ERROR org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader: Unparsable lastModified : @lastModified@ | In my running app (with the latest seam development version which includes org.jboss.seam.core.ManagedHibernateEntity) all functions as expected. In this app i get the error 'Unparsable lastModified' too. But the WARN 'MyFaces special javascript could not be retrieved from request-map.' is not shown. Does this mean i cannot use myfaces anymore? I am bound to use the jscook menu:-( (I have read the thread about thomahawk and seam). Or is something other going wrong here? My
[jboss-user] [JBoss Seam] - Re: Assigning an Actor for SEAM-jBPM integration
Exactly. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977466#3977466 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977466 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - jboss doesn't find org.jboss.system.Service
i have create a service deployed in a .sar-file when i start jboss from the command-line, everything works fine. when i start jboss in eclipse, i get the following exception: java.lang.ClassNotFoundException: Unexpected error during load of: my.service.MyService, msg=org/jboss/system/Service my environment: * windows xp * jboss 4.0.3 * eclipse 3.2 * JBossIDE 1.6.0 GA View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977467#3977467 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977467 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Linux Jboss File Layout
What would be the possibilities of, within a production environment, having multiple configurations running at anyone time? All other linux servers I have seen (so apache, mysql, various ftp servers, tomcat standalone) only have support for one instance at a time. Do Jboss (and J2EE in general) servers break this mold? As an example is it likely that a production server would run a jboss webservices capable/configured server as well as a jsp/servlet jboss server simultaniously (and separately). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977468#3977468 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977468 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: @SecurityDomain with custom login module fails with EJB3
Oops, I should have read the JavaDoc: DO NOT USE THE JNDI NAME: - java:/jaas/MyDomain ILLEGAL - MyDomain GOOD. Would it make sense to error-check the annotation value and raise an error if someone uses a value starting with java:/jaas/ ? Thanks for your reply Wolfgang View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977469#3977469 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977469 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: Creating a blank project via seam-gen
Hi, Andreas! Thanks for pointing me to this thread No, it doesn't work for me, since jboss-seam.jar is nowhere in the classpath if it is not included in the sample.ear - now I get the NoClassDefFound Errors for SeamListener and so on. May the reason be that Seam itself (and seam-gen inside) on my system is not located inside the workspace and you published it automatically through eclipse? Would it be a good idea to put jboss-seam.jar somewhere in /server/default/lib? sonja View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977470#3977470 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977470 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problem with decrementing dates
[EMAIL PROTECTED] wrote : Um do you mind if I just steal that code and put it in org.jboss.seam.core? | Not at all. [EMAIL PROTECTED] wrote : | Actually, if I did that, I should probably do a whole Timezone/TimezoneSelector thingy like what we have for locales... | I agree that the standard JSF behavior here is nuts. Or an alternative solution would be to introduce an s:convertDateTime/ which is smart enough to default to the default server timezone ... I vote for it ! With all that cookies stuff like in localeSelector and mybe rename defaultTimeZone to serverTimeZone and add posibility to set default timezone in timezoneselector to serverTimezone View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977471#3977471 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977471 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - [CICS / JCA] nw user to JBoss with JCA needs
Hello, For development platform purposes, we need to use a JBoss application server. No problems about installation and running projects. But we now need to use a CICS Transaction Manager to interact with some legacies. We tried to put the cicseci.rar (the RAR used for it) and created a cicseci-ds.xml as following : ?xml version=1.0 encoding=UTF-8? | connection-factories | |tx-connection-factory | | jndi-nameeis/AppliConnectionFactory_SIAA/jndi-name | | rar-namecicseci.rar/rar-name | !--connection-definitionjavax.resource.cci.ConnectionFactory/connection-definition-- | connection-definitioncom.ibm.connector2.cics.ECIManagedConnectionFactory/connection-definition | | config-property name=ConnectionURL type=java.lang.Stringlocal:/config-property | config-property name=PortNumber type=java.lang.String2006/config-property | config-property name=ServerName type=java.lang.StringRAPPLI/config-property | config-property name=UserName type=java.lang.StringCICSUSER/config-property | config-property name=TranName type=java.lang.StringSIAA/config-property | config-property name=TraceLevel type=java.lang.Integer1/config-property | | max-pool-size10/max-pool-size | |/tx-connection-factory | | /connection-factories The RAR appears in the webconsole -- J2EE Domains -- jboss.management.locale -- cicseci.rar. Before trying to deplo our existing application, how can we test if the RAR we deployed work correctly ? Best Regards. P.S. : I'm a french people, so my english writing is poor... but I understand everything. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977481#3977481 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977481 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How can I create seam context etc in httpservlet
Now, I am using SeamServletFilter. I have to use following line of code in my httpservlet AuthenticationBean authBean = new AuthenticationBean(); authBean.setLoginId(userId); authBean.setPassword(pwd); LoginAction la = (LoginAction) Component.getInstance(LoginAction.class); org.jboss.seam.contexts.Contexts.getSessionContext().set(authBean,authBean); la.login(); It is working. What I want to know is whether it is a recommended way to initiate beans and components or there is a better way to do it. Thanks for the hint. Umar View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977477#3977477 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977477 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Eclipse Getting Started Guide
Hi, Andreas! No, it doesn't work for me, since jboss-seam.jar is nowhere in the classpath if it is not included in the sample.ear - now I get the NoClassDefFound Errors for SeamListener and so on. May the reason be that Seam itself (and seam-gen inside) on my system is not located inside the workspace and you published it automatically through eclipse? Would it be a good idea to put jboss-seam.jar somewhere in /server/default/lib? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977475#3977475 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977475 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: is there a complete reference to configure Tomcat for a
Hello, We are using seam with tomcat. Seams comes with great documentation for its configuration. Please read this: http://docs.jboss.com/seam/latest/reference/en/html/configuration.html. You can use the embeddable EJB3 container http://docs.jboss.com/seam/latest/reference/en/html/configuration.html#d0e4780 or try to run hibernate in the jboss microcontainer http://docs.jboss.com/seam/latest/reference/en/html/configuration.html#d0e5061. All of the examples for seam can be run with embeddable ejb. Therfore they provide a great resource for example config files. There is one example that shows how to run with hibernate in the microcontainer. It is called hibernate:-) We have used this example as a starting point. Hope this helps for the moment. When you have more specific questions about setting up seam with tomcat please ask them here. Ciao, Carsten View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977474#3977474 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977474 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - virtually hosting a webservice
Dears, I had a check to the docs and this forum looking for a way to define the virtual-host on which to publish a given set of webservices made in the jsr-181's EJB3 style. I see I can control the context-root thanks to a @PortComponent(contextRoot=...) annotation. That's fine (apart the fact you have to define it for every and each WS). But what about the virtual-host? Thanks, giampaolo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977487#3977487 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977487 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - LDAP to provide user information
Hi All, I have same question: In my portal users are stored in a database of the portal and identified by means of a database. I need to connect a LDAP server, but the identification of users in a portal must not be made through these LDAP. Since my portal includes services from other portals I should make SSO mechanism. To each user of portal is compared the ID of user from LDAP servers. When the user login on my portal there is its identification on means of a database of my portal. Further we find the given user in LDAP Servers a foreign portal, we receive its login and the password. With these data the user automatically passes identification and authorization on service of a foreign portal which includes my portal. Are there any ideas how it to make? Is it possible to connect a LDAP server to JBoss portal in this case? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977489#3977489 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977489 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Next Release
http://jira.jboss.org/jira/secure/ReleaseNote.jspa?projectId=10071styleName=Htmlversion=12310849 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977493#3977493 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977493 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Upgrading log4j version in JBoss 4.0.3SP1
Hi did anyone solve this problem ? Please I need to solve it too. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977495#3977495 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977495 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Does JndiLoginInitialContextFactory in JBoss 3.2.7 exist
Hello, I found solution. The JndiLoginInitialContextFactory in JBoss 3.2.7 exists but it is located in jbosssx.jar in JBOSS_HOME\server\default\lib\. In JBoss 4.0.4 is everything packed into jboss-allclient.jar. This library also exists in JBoss 3.2.7 but classes of jbosss.jar are missing. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977496#3977496 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977496 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: is there a complete reference to configure Tomcat for a
Thank you very much indeed for your useful links and comments. but I still have problem and I think easily will resolve my application war file structure is the same has been told in that document. but I have problem connection database, here is my persistence.xml and jboss-beans.xml files: persistence.xml | persistence | persistence-unit name=testDatabase | providerorg.hibernate.ejb.HibernatePersistence/provider | jta-data-sourcetestDatasource/jta-data-source | properties | property name=hibernate.hbm2ddl.auto value=create-drop / | property name=hibernate.show_sql value=true / | !-- These are the default for JBoss EJB3, but not for HEM: -- | property name=hibernate.cache.provider_class | value=org.hibernate.cache.HashtableCacheProvider / | property name=hibernate.transaction.manager_lookup_class | value=org.hibernate.transaction.JBossTransactionManagerLookup / | property name=hibernate.dialect | value=org.hibernate.dialect.MySQLDialect / | /properties | /persistence-unit | /persistence | | and jboss-beans.xml: | ?xml version=1.0 encoding=UTF-8? | | deployment xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation=urn:jboss:bean-deployer bean-deployer_1_0.xsd | xmlns=urn:jboss:bean-deployer | | bean name=testDatasourceBootstrap | class=org.jboss.resource.adapter.jdbc.local.LocalTxDataSource | property name=driverClasscom.mysql.jdbc.Driver/property | property name=connectionURL | jdbc:mysql://localhost:3306/seamtest?autoReconnect=trueamp; | useUnicode=trueamp;characterEncoding=UTF8 | /property | property name=userNameroot/property | property name=passwordroot/property | property name=jndiNamejava:/testDatasource/property | property name=minSize0/property | property name=maxSize10/property | property name=blockingTimeout1000/property | property name=idleTimeout10/property | property name=transactionManager | inject bean=TransactionManager / | /property | property name=cachedConnectionManager | inject bean=CachedConnectionManager / | /property | property name=initialContextProperties | inject bean=InitialContextProperties / | /property | /bean | | bean name=testDatasource class=java.lang.Object | constructor factoryMethod=getDatasource | factory bean=testDatasourceBootstrap / | /constructor | /bean | | /deployment | while Tomcat stating up when it's going to stating embedded Ejb an exception throws with following message, I have doubt in in jboss-beans.xml file. I dont know what it is. | (core.Ejb94 ) starting the embedded EJB container | (xml.BeanSchemaBinding 227 ) You should use the 2.0 version of the Microcontainer xml. xmlns='ur | n:jboss:bean-deployer:2.0' | (local.LocalTxDataSource 117 ) Bound datasource to JNDI name 'java:/DefaultDS' | (local.LocalTxDataSource 117 ) Bound datasource to JNDI name 'java:/testDatasource' | (ejb3.Ejb3Deployment 467 ) EJB3 deployment time took: 1047 | (ejb3.MCKernelAbstraction84 ) installing bean: persistence.units:jar=registration-web.jar,unitNam | e=testDatabase with dependencies: | (ejb3.MCKernelAbstraction87 ) [EMAIL PROTECTED] | (dependency.AbstractKernelController 350 ) Error installing to Start: name=persistence.units:jar=registration- | web.jar,unitName=testDatabase state=Create | javax.naming.NameNotFoundException: testDatasource not bound | at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) | at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) | at org.jnp.server.NamingServer.getObject(NamingServer.java:543) | at org.jnp.server.NamingServer.lookup(NamingServer.java:296) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:626) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:588) | at javax.naming.InitialContext.lookup(InitialContext.java:351) | at org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:240) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) |
[jboss-user] [Installation, Configuration Deployment] - WS works in 4.0.3SP1 , fails in 4.0.4
The default configuration does not allow to use a web-service application invoking session-bean based services. The same application works flawlessly when deployed in 4.0.3SP1 but gets and error when deployed to 4.0.4. Only the web service invocation fails. The error message among other things contains *Can not connect http client invoker. The application was developed by and large following the guidelines in Chapter 12 in the adminguide. Either the webservice development documentation is omitting something for 4.0.4 or the default conf for 4.0.4 is missing something. Either way , I'm not going to have the time to look for the error - but if and when there's a fix, please let me know! KL View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977498#3977498 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977498 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Remoting und JMS Topic subscription questions.
The code for dealing with stale subscriptions is a little messy at the moment. However to deal with your immediate issue, if you can somehow pass your subscription token to the next page (with a hidden field or something) then you can manually insert your subscription into the registry like this: | Seam.Remoting.subscriptionRegistry.push({topic:topicName, callback:callback, token:token}); | Then simply call Seam.Remoting.poll() to kick off the polling process. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977499#3977499 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977499 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Change Db location problem!
Hi I have jBPM working in a db named 'jbpm'. But this week i need to change the db location to 'xMind' that already have another tables. Here's my action sequence: 1. Changed in config-files folder the file hibernate.cfg.xml 2. Changed in config-files folder the hibernate.properties 3. Changed in jbpm.sar.cfg.jar the file hibernate.cfg.xml In this three changes i alter the connection url from jdbc:mysql://localhost:3306/jbpm to jdbc:mysql://localhost:3306/xMind When i execute this code: jbpmConfiguration.dropSchema(); jbpmConfiguration.createSchema(); deployProcessDefinition(processDefinition); i have the new tables in the xMind DB with my new Process Definition. Great! but when i do this code in other part of my app: ... JbpmContext jc = jbpmConfiguration.getInstance().createJbpmContext(); try { GraphSession gs = jc.getGraphSession(); ProcessDefinition pd = gs.findLatestProcessDefinition(name); ... returns this error in method findLatestProcessDefinition(): Unknown database 'jbpm' - Cannot open connection Why? If i change the name in the config files? is it another place to do some changes? Thanks in advance! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977500#3977500 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977500 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam clustering
Hello, There are some questions about clusterization of Seam contexts and entitiy beans. Let's say I have an entity bean, which is scoped to be in Session Context. 1) If i configure cluster cache on entity level (EJB3EntityTreeCache + @Cache annotations in entities), will it be working if I access the same entity from other cluster node? As I understand, when referencing seam component by component's name, Seam looks for the component instance in the context first of all. So, does seam replicates instance of the component between contexts in different cluster nodes? 2) Is there a way to make the whole context to be replicated across all cluster nodes? Let's say I want to replicate session context (assuming that this context contains minimal set of information in order to avoid locks in TreeCache), is it possible? 3) If it is possible to use both approaches, which of them is more efficient and correct? 4) Is there any documentation on clustering approaches in Seam? Thank you in advance! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977502#3977502 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977502 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam security example failure.
Hi Shane, Thnx for replying.The example is working only with Seam from CVS, right ? I am working on a project with Seam 1.0.1.GA and wud have loved to get this working with it. Can you confirm plz ?? Best Regards, Yogesh, M-ITC LTD www.m-itc.net View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977503#3977503 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977503 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: is there a complete reference to configure Tomcat for a
Hello, i think your problem has nothing to do with seam running on tomcat. If i am not completly misleaded your problem is with the jndi name of the datasource. Instead of anonymous wrote : jta-data-sourcetestDatasource/jta-data-source try jta-data-sourcejava:/testDatasource/jta-data-source If this doesn't help i am out of clues. Perhaps someone other can help, then. Ciao, Carsten View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977504#3977504 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977504 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Next Release
Hello peter, Thnx for replying.I found the features in the next releasesounds interesting !! Can you tell me when is it scheduled for ?? Best Regards, Yogesh, M-ITC LTD, www.m-itc.net View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977505#3977505 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977505 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - wscompile client fails to invoke JBossWS webservice
Hello, I?ve been developing a web service in JBoss 4.0.4 over JDK 1.5. My service is document/literal and runs on JBossWS. I?ve successfully deployed the service. I?ve generate the client stubs using wscompile (1.1.3, build R1) which comes in JWSDP 2.0 | target name=java-wscompile depends=set-wscompile description=Runs wscompile to generate the WSDL file and mapping file | antcall target=run-wscompile | param name=param1 value= | -gen:client | -keep | -d genSTUBS | -verbose | ${basedir}\support_files\wsdl\configWSDL.xml / | /antcall | /target | When I invoke the web service using this client I get the following exception on the server: | ERROR [SOAPFaultExceptionHelper] SOAP request exception | javax.xml.rpc.soap.SOAPFaultException: Endpoint {http://pt.ptinovacao.pinos.pm/MRC}MRC_IF_WSPort does not contain operation meta data for: {http://schemas.xmlsoap.org/soap/envelope/}Envelope | at org.jboss.ws.server.ServiceEndpointInvoker.getDispatchDestination(ServiceEndpointInvoker.java:175) | at org.jboss.ws.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:110) | at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:234) | at org.jboss.ws.server.ServiceEndpointServlet.doPost(ServiceEndpointServlet.java:120) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | I?ve used TCPmon to catch the outgoing SOAP message: | env:Envelope xmlns:env=http://schemas.xmlsoap.org/soap/envelope/; | env:Header/ | env:Body | env:Envelope xmlns:enc=http://schemas.xmlsoap.org/soap/encoding/; xmlns:env=http://schemas.xmlsoap.org/soap/envelope/; xmlns:ns0=http://pt.ptinovacao.pinos.mrc/MRC_Types; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | env:Body | ns0:getLogsNaoActualizados xmlns:ns0=http://pt.ptinovacao.pinos.mrc/MRC_Types/ | /env:Body | /env:Envelope | /env:Body | /env:Envelope | If I use XMLSPY to invoke the web service it works fine. Also, if I use a JBoss-IDE generated client (uses axis) it also works fine. SOAP request of XMLSPY: | SOAP-ENV:Envelope xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/; xmlns:SOAP-ENC=http://schemas.xmlsoap.org/soap/encoding/; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd=http://www.w3.org/2001/XMLSchema; | SOAP-ENV:Body | m:getLogsNaoActualizados xmlns:m=http://pt.ptinovacao.pinos.mrc/MRC_Types/ | /SOAP-ENV:Body | /SOAP-ENV:Envelope | SOAP request of JBoss-IDE client: | ?xml version=1.0 encoding=UTF-8? | soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | soapenv:Body | getLogsNaoActualizados xmlns=http://pt.ptinovacao.pinos.mrc/MRC_Types/ |
[jboss-user] [JBoss Portal] - Re: start portlet maximised
I'm interested in this too. If it's not possible, what should I modify in jboss portal code to make it possible? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977509#3977509 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977509 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [J2EE Compliance] - Correction: Title should be Java Server Faces
does not work with jboss-4.0.4. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977510#3977510 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977510 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - URL problems using Apache, JBoss, mod_jk
Hello, I hope someone can help. I'm very new at this and I am still trying to figure out what I am doing. I have configured Apache on Machine 1 and JBoss on Machine 2 using mod_jk. After much trial and error, I finally got things working. I have a war file that exists on Machine 2 that I need to use for my site named Corporate.war. However, when I attempt to access my url www.example.com from the internet I get an error. When I use the url www.example.com/Corporate the site opens just fine. How do I tell Apache to open the site using www.example.com? I have made numerous changes to the VirtualHost in httpd.conf to no avail. Another problem I am having is that my site is not displaying static images located on Machine 2. Those images are not located in the same directory as the DocumentRoot, they are back one directory. Basic VirtualHost I am using: VirtualHost *:80 ServerName www.example.com ServerAdmin [EMAIL PROTECTED] DocumentRoot 'C:\jboss-4.0.1RC2\server\default\deploy' JkMount /*.war loadbalancer JkMount /Corporate loadbalancer JkMount /Corporate/* loadbalancer JkMount /*.jsp loadbalancer JkMount /servlet/* loadbalancer ErrorLog logs/example.com-error.log CustomLog logs/example.com-access.log common Thank you in advance for any and all suggestions. Monica View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977511#3977511 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977511 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - JBOSS integration with CICS/SNA (mainframe applications)
I would like to know how JBoss AS supports application integration with a SNA (IBM protocol) architecture, so we can build J2EE app that exchange data with a mainframe app over a SNA protocol. With SUN AS (iPlanet) this is acomplished by the iPlanet Connector for CICS, but we are considering using JBoss. Thanks, João Ferreira View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977512#3977512 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977512 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Large data insert generates no line at database
Hello! Im facing a problem and Im completely lost at it. I get the file through JSF component. What I have to do is read the file, line by line instantianting a new Entity that will have this String as an attribute. So, I create a List of the entities created. List list = new ArrayList(); while((line=reader.readLine)!=null) { EntityB b = new EntityB(); b.value = line; list.add(b); } Also, I have another Entity that will receive this List. EntityA a = em.getEntityA(id); a.setBEntities(list); Finally, I try to merge EntityA, as I use cascade, EntityB will also be persisted. em.merge(a); First problem: What is the best way of passing the file or its content to my SessionBean(Stateless) so I can iterate the content and persist it? What Im doing is read the UploadedFile (Adf Component) and write the content to a java.io.File, so I can pass it to the SessionBean but I dont think this is a good thing because these uploaded files are about 50 - 150 thounsand lines. Second problem: How do I persist those thousands of entities objects I created? I call em.persist and none is persisted. I tried to insert through native query and also no line is inserted. However when I try a smaller File with 15 thousand lines, the task is successfully done. Appreciate some help! Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977514#3977514 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977514 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: create a simple EJB 3.0 application
JBoss does not come with ejb3 by default. There is a separate JBoss download to ensure it comes with ejb3 and my guess is you don't have that. Also, as a word of warning, JBoss IDE 1.6.* is not compatible with eclipse 3.2. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977513#3977513 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977513 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem execute actions on jboss
In the meantime, i could isolate the problem a little bit. If i create a processinstance direct on the parsed processdefinition, jbpm executes the action. step 1: try{ | | JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance(jbpm.cfg.xml); | | | JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext(); | GraphSession graphSession = jbpmContext.getGraphSession(); | | ProcessDefinition processDefinition =ProcessDefinition.parseXmlResource(activityWorkflow.par/processdefinition.xml); | | ProcessInstance processInstance = processDefinition.createProcessInstance(); | | processInstance.signal(startWorkflow); | processInstance.signal(created); | | jbpmContext.save(processInstance); | | }catch(Exception e){ |e.printStackTrace(); | }finally{ |jbpmContext.close(); | } | } If i first save the processInstance and later load it back from the database, the action won't execute. JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance(jbpm.cfg.xml); | | JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext(); | | try{ | GraphSession graphSession = jbpmContext.getGraphSession(); | | ProcessDefinition processDefinition =ProcessDefinition.parseXmlResource(activityWorkflow.par/processdefinition.xml); | |ProcessInstance processInstance = processDefinition. |Long id = Long.valueOf(processInstance.getId()); | |jbpmContext.deployProcessDefinition(processDefinition); |jbpmContext.save(processInstance); |}catch(Exception e){ | e.printStackTrace; |}finally{ | jbpmContext.close(); |} | return id; step 2: JbpmConfiguration jbmpConfiguration = JbpmConfiguration.getInstance(jbpm.cfg.xml); | JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext(); | try{ | GraphSession graphSession = jbpmContext.getGraphSession(); | | ProcessInstance processInstance = graphSession.loadProcessInstance(processId.longValue()); | | processInstance.signal(); | jbpmContext.save(processInstance); | }catch(Exception e){ | e.printStackTrace; | }finally{ | jbpmContext.close(); | } Is there something wrong in the way i save and load the processInstance? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977515#3977515 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977515 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Please fix this bug!
You are bundling the JSF implementation with your WAR. This is causing a conflict with the implementation that ships with JBoss. Starting with JBoss AS 4.0.3, we bundle a JSF implementation with the app server. For the 4.x series the implementation is MyFaces. For 5.x, the implementation is the Glassfish/CDDL JSF 1.2 implementation. See http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossFaces You can either remove the JSF implementation from your WAR or you can disable the one that ships with JBoss. See the section on Using the JSF Reference Implementation on this page: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossWithIntegratedMyFaces View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977516#3977516 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977516 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Please fix this bug!
Thanks for those two links. They are very informative and helpful. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977517#3977517 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977517 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Please fix this bug!
Yes stan I am bundling the jsf libraries with my app. I understand now that I should rely on the jsf that comes with the jboss server. Thansk for your reply I do appreciate it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977518#3977518 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977518 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Hibernate/Cache conceptual mismatch
Regarding #3, what lock acquistions? Regarding #5, which exception conditions are you anticipating here that should get suppressed? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977519#3977519 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977519 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: create a simple EJB 3.0 application
anonymous wrote : Also, as a word of warning, JBoss IDE 1.6.* is not compatible with eclipse 3.2. ok, now I understand some of my problems... I am a newbie of JBoss Eclipse too, and I need a suggestion, if possible: it is better to start with elicpse 3.1 + IDE 1.6, or eclipse 3.2 + IDE 2.0? Regards, Giordano View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977520#3977520 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977520 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Sending to a remote JMS queue - [ConnectionAspect] Caugh
Hi, Just a question: Do you have example code using this config? I have a similar issue, but in my case some beans need to send to a remote queue and others to a local queue. I guess I have to configure two JMS Providers for this. Have you tried this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977521#3977521 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977521 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - stan...
I read the two links you provided. I understand that I dont have to include jsf llibraries when deploying to a jboss server. But how would I have known this... add the following to web.xml: listener-classorg.apache.myfaces.webapp.StartupServletContextListener/listener-class Thats getting a little to obscure in my opinion. How does one stay on top of all these esoteric things? I would never have known about the additions to the web.xml file if you hadnt told me. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977522#3977522 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977522 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Task Nodes - conditionally create tasks?
Olivier_Debels wrote : AFAIK you don't need the link task/tasknode. You can just have a task def tied to the process definition and create task instances in the task node (using event handlers f.e.). You can actually create task instances in any node. We're already doing this. We have optional process tasks being created along the flow with various task nodes. We are creating them, tied to the process, not the task node, and they just need to be completed anytime during the process. However Olivier_Debels wrote : anonymous wrote : but it's important we have the task/tasknode relationship | | Why? It is very important that we have some optional node tasks created with a task node relationship, because we want some optional node tasks to block the task node. If 1 mandatory and 3 optional node task instances are associated with a given node, we want the node to be blocking until all 4 tasks are completed. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977523#3977523 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977523 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Handling databases through jBPM
Hello! Does anyone know where I can find information on how to manage (i.e. create, update, modify) a PostgreSQL database using jBPM? Apologies if the subject has been posted before. Thank you in advance Kostas View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977526#3977526 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977526 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam Remoting and java.math.BigDecimal
Hello, my model needs the type DECIMAL(18,5) which is correctly managed by Hibernate. The problem is on Seam Remoting where this type is not correctly managed: in fact ajax response is not a well formed xml (it's clear that on server the processing has been interrupted: so ther's no member ending) I can't use double becasue of the rounding: in fact this property refers to money that should not be changed. Is this implementation scheduled? Any suggestion or workaround? thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977527#3977527 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977527 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: is there a complete reference to configure Tomcat for a
Hi again thank you so much, your comments help me so much. yes, you were right the problem was because of not matching the jndiName and jta-data-source. and another mistake was that because I am using Mysql and Jdbc I should use jdbc:/testDatasource instead of java:/testDatasource. any way, thank you for spending your time to reply me. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977524#3977524 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977524 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Firts time, installing JBoss Portal, full of errors
I think you're in the wrong forum... and maybe even the wrong planet. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977528#3977528 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977528 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - SEAM and JBoss ESB
So if I were using SEAM and building an SOA type system would I need to use something like JBoss ESB or is the ESB type of functionality part of SEAM. It appears that there is some overlap there. Maybe there is the matter of scaling where ESB would facilitate building a larger scale system and distributing things over multiple servers. I am trying to better understand how the different technologies fit together. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977532#3977532 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977532 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Remoting and java.math.BigDecimal
oops: xml not rendered the broken xml is: ref id=17bean type=java.math.BigDecimalmember name=scale/bean/ref View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977529#3977529 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977529 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - ClassCastException after redeploy
Hi there, I am quiet frustrated with having a strange behavior I do not understand. I have an EAR Application containing an EJB and a WAR. In the EJB I have a small HelloWorld Class being remote and local. I Call this class from the Servlet in the War. Which works perfectly fine. Now when I change the Code in the HelloWorld Class (simply changing the returned text) and redeploy this EAR, I get a ClassCastException when calling this Object. When I hav the WAR deployed itself in a different ctxPath, that servlet keeps working fine. My Bean: | @Stateless | @Local(MyDAO.class) | @LocalBinding(jndiBinding=EpgData/LocalDao) | @Remote(MyDAO.class) | @RemoteBinding(jndiBinding=EpgData/RemoteDao) | public class MyDAOImpl implements MyDAO { | | public String getObject() { | // TODO Auto-generated method stub | return Hi There?! Someone; | } | | } | my servlet: | public void doGet(HttpServletRequest arg0, HttpServletResponse arg1) throws ServletException, IOException { | arg1.setContentType(text/html); | PrintWriter out = arg1.getWriter(); | Context ctx; | try { | ctx = new InitialContext(); | out.println(2br); | Object o; | try { | o = ctx.lookup(EpgData/LocalDao); | MyDAO hello = (MyDAO)o; | out.println(hello.getObject()); | } catch (NamingException e) { | // TODO Auto-generated catch block | out.println(Second: +e); | }catch (ClassCastException e){ | e.printStackTrace(out); | out.println(reflect(ctx.lookup(LOVE))); | } | | } catch (NamingException e) { | // TODO Auto-generated catch block | out.println(Outer: +e); | } | } | | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977537#3977537 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977537 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Breadcrumbs within the same conversation / pageflow
Hi ngeadah, I?m using your code with current cvs version and jbpm-3.1.2.jar. The getDescription works fine. Regards, Joao Paulo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977538#3977538 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977538 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: ClassCastException after redeploy
I would be very happy if anyone could help me. Any Ideas? Thx, Alexander View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977539#3977539 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977539 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: [CICS / JCA] nw user to JBoss with JCA needs
Typically you would write a StatelessSesssionBean or Servlet to test connectivity. JCA adapters, with some exceptions, are typically not used outside of the container. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977535#3977535 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977535 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Hibernate/Cache conceptual mismatch
#3: Read locks, at very least, so this does not conflict with an update(). Otherwise, the put() may overwrite an update(). #5: To do with acquiring locks in 3, or replication exceptions to do with network issues. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977534#3977534 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977534 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Sending to a remote JMS queue - [ConnectionAspect] Caugh
This may be of help: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMessagingUser_Enabling_access_to_remote_JBoss_Messaging_instance View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977530#3977530 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977530 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Task Nodes - conditionally create tasks?
Olivier_Debels wrote : | Well I guess you can create your own custom task instance which can deal with this. It just requires overriding of the end() function and keeping a TaskNode reference. Haven't tried it but I guess this would work. I don't think that would change my issue of creating optional task instances only when we want. Making the change to support the AUTOCREATE column is far simpler than creating an optional task node. All that is needed is the if..statement in TaskNode's execute method and then support for the new column in the mapping/etc. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977540#3977540 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977540 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Problem with a fork
hello, In my processes I need to use a fork when I arrived in my token fork how can execute all my transitions? thank you for you help antitrust1982 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977541#3977541 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977541 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - How to set the security parameters
I have deployed my portlet developed in pega in JBoss portal server. I am using JBoss Portal 2.4 + AS bundled version. I am able to see the first page in my portlet, but further if i try to proceed i am getting the authenitication error. it asks for security profile. Could any one let me know how to set the security parameters like the user id, sender time and the query string that are needed for the authentication. Most important is how to get the login time for the specific portlet. Appreciate if any one could come up with a key for the same. -- Raj View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977543#3977543 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977543 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - rmi traffic
Hello! I've a rich client that calls session bean methods over rmi. How does the parameter/result objects are transported? Is it done by serialization - transport - deserialization? If it is so, is there a way to use compression to reduce the network traffic? regards Sven View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977547#3977547 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977547 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - How to plug in Struts for JBoss Eclipse IDE?
Any hint/document link is appreciated. Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977549#3977549 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977549 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Urgent- Socket error when adding object to DB using JDBC
We are not using transactions. Keeping the connections open and reusable was the intent; our information obtained earlier was that this scenario could not run at all and we needed to use a connection pool - however that does not suit our purpose as it would require significant alteration of the existing code OR use of a JNDI interface plus app server which is 100% against the scope of what we are trying to achieve. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977548#3977548 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977548 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Hibernate/Cache conceptual mismatch
Yes, but this is deemed acceptable since the cached versions are not deemed true representations of data (in this use case) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977551#3977551 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977551 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Task Nodes - conditionally create tasks?
cpob wrote : | Making the change to support the AUTOCREATE column is far simpler than creating an optional task node. All that is needed is the if..statement in TaskNode's execute method and then support for the new column in the mapping/etc. Yep, I agree. I this also useable if you want to create 2 mandatory and 3 optional instances of the same task def? And what if the task def is not defined in a task node? I don't think a ref to task defs is possible. Just wandering if the task/task node link as it exists now can' t be extended. Anyway, I think your solution indeed gives an added value. Thx, Olivier. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977552#3977552 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977552 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - How to create Cutom SoapException
Hello, I am creating a Web Service using JBossWS. I want to customize the contents of SOAP Exception, which I want to throw from my Web Service. For this, I am using SOAPFaultException to create my own exception classes. But I am not able to fill the detail in the Detail attribute of the SOAPFaultException. I am filling the specifics of JBossWS using the org.jboss.ws.soap.SOAPFactoryImpl. But on the client side when I run my RMI Client, I found that one of the element is not Serializable. (Please find the stack below.) Can you suggest me how to fill these so that I can throw a customized SoapFault exception at the client end ? Any help will be appreciated. Kapil 19:05:14,091 ERROR [ServerThread] failed java.io.NotSerializableException: org.jboss.ws.soap.DetailImpl at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081) at java.io.ObjectOutputStream.access$100(ObjectOutputStream.java:139) at java.io.ObjectOutputStream$PutFieldImpl.writeFields(ObjectOutputStream.java:1518) at java.io.ObjectOutputStream.writeFields(ObjectOutputStream.java:429) at javax.xml.rpc.soap.SOAPFaultException.writeObject(SOAPFaultException.java:145) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375) at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:391) at java.lang.Throwable.writeObject(Throwable.java:649) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302) at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.sendObject(JavaSerializationManager.java:81) at org.jboss.remoting.marshal.serializable.SerializableMarshaller.write(SerializableMarshaller.java:84) at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:381) at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:412) at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:239) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977553#3977553 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977553 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Urgent- Socket error when adding object to DB using JDBC
Fair enough. The problem here though is that when using transactions that span multiple calls, this breaks things. A proper solution would be to use a rudimentary internal pool (HashMap of open conns) for the non-managed factory. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977554#3977554 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977554 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Hibernate/Cache conceptual mismatch
Manik: I think using a separate method is likely a cleaner approach. I do want to note here that a separate method by itself can't solve the correctness issues I noted in my comment of Sep. 18th, at least for the pessimistic case, since basically the cache has no way of knowing whether the put() or the update() is providing newer information. In the optimstic case with explicit versioning, the situation is better. Scott: Are you wondering if we can get a dirty read if we call putFromExternalRead() the transaction suspended? The assumption here is that the caller of putFromExternalRead() only calls the method with data that was committed to the database before the start of the outer transaction, and not with data that was updated in the outer transaction. Hibernate, for example, makes that guarantee except in the most exotic situations. (You might be able to fool it if you tried hard.) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977555#3977555 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977555 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - noice in SOAP reply
I tried JBoss WS 1.0.3 (patched on a 4.0.4-GA JBoss with a EJB3 profile) with a @WebService annotation on a @Stateless bean. The Stateless bean had a method String sayHello(). When I send a SOAP messages (using WTK 2.2), the reply contained noise (the numbers): ... 35 ...sayHello/ 7 ... 0 Any idea what could be causing this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977557#3977557 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977557 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: ClassCastException after redeploy
Where are placing the remote and home interfaces of your beans. Is it in two separate locations(once in war and once in a jar)? If yes, then maintain it at only one place and remove those interfaces from the war. Have a look at: http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingOverview Here's an extract from the same: anonymous wrote : I get ClassCastException | | Assuming it is the same class name, this problem relates to classes getting loaded from different classloaders. At compile time your class has only one identity, its name. If you deploy a class many times in different jars, it has multiple identities. They are not the same. See below for more information on the solutions to this problem. | | This can also be caused by you only redeploying part of your application. e.g. a webapp uses an EJB and you only redeploy the EJB. The webapp will still have the old versions of the classes. Also, look at: http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassCastExceptions Specifically, the jmx-console method mentioned over there View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977558#3977558 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977558 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: Problems using JAAS with EJB 3.0 on JBoss 4.0.4-GA
I removed the annotation from the bean, reintroduced the xml configuration using the short anme, rather than the full name and it works for me. Thanks a lot for your help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977559#3977559 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977559 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Hibernate/Cache conceptual mismatch
Following up to my last comment: it may work pretty well to have putFromExternalRead simply never overwrite existing data. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977560#3977560 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977560 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Hibernate/Cache conceptual mismatch
putFromExternalRead() should *always* over-write anything already there *unless the current data is write locked*. Although that write locked situation (afaict) actually indicates an exception condition. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977562#3977562 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977562 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Hibernate/Cache conceptual mismatch
Just to clarify my last comment. Keep in mind that putFromExternalRead() always results from the following usage pattern: Object state = readFromCache(); if ( state == null ) { state = readFromExternal(); putIntoCache( state ); } ... In Hibernate terms, readFromExternal is causing the data to get read from the database because it was not found in the cache. That db-read data is always the truth in a db-driven app... The only way that data should not overwrite the current node data (putIntoCache) is if suddenly there has been a write lock applied to the node between readFromCache() and putIntoCache() being executed (which is the meaning of my intention lock comment). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977563#3977563 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977563 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user