[jboss-user] [JBoss Portal] - JBoss Portal basic question
Hi. We have HEE application deployed on BEA WebLogic 10 application server and we are going to employ JBoss Portal. Can we deploy JBoss Portal on WebLogic? Is it possible to call an EJB deployed on WebLogic from portlets? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138640#4138640 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138640 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Demo site down?
Something went wrong, it's back up now, thanks for the report ! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138647#4138647 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138647 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBoss Portal basic question
You can't deploy JBoss Portal on WebLogic View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138648#4138648 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138648 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Multiple entity level join fetch
should be smth. like this (I didn't try it): select o from Owner o | join fetch o.cats c | join fetch c.kittens View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138653#4138653 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138653 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Token.signal() for bpel process definitions
Hi all, I am trying to do something similar to the HelloWorld example (that ships with jbpm-jpdl), but through a bpel process definition. This is the code for the jpdl helloWorld example: | | ProcessDefinition processDefinition = ProcessDefinition.parseXmlString( | process-definition + | start-state + | | | /process-definition | ); | | ProcessInstance processInstance = | new ProcessInstance(processDefinition); | | Token token = processInstance.getRootToken(); | | token.signal(); | | ... | ... | This code works fine ... however when i try to do the same thing using a bpel process definition using the following code: | | | ZipInputStream zis = zis = new ZipInputStream(new | BufferedInputStream(Thread.currentThread().getContextClassLoader().getResourceAsStream(helloWorldBpel.zip);)); | | ProcessArchive processArchive = null ; | | | try { | processArchive = new ProcessArchive(zis); | } catch (IOException e) { | . | } | ProcessDefinition processDefinition = processArchive.parseProcessDefinition(); | | ProcessInstance processInstance = | new ProcessInstance(processDefinition); | | Token token = processInstance.getRootToken(); | | token.signal(); | | i get the following exception: | | | org.jbpm.JbpmException: token 'Token(/)' can't be signalled cause it is currently not positioned in a node | at org.jbpm.graph.exe.Token.signal(Token.java:135) | at com.concurrentllt.impl.ejb.session.TestSession.testCaseParseBpel(TestSession.java:860) | at com.concurrentllt.impl.ejb.uibean.TestBean.execute(TestBean.java:92) | at org.apache.jsp.results_jsp._jspService(results_jsp.java:80) | at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334) | at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) | at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) | 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.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) | 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) | | | | Is this possible to do with a bpel process definition? (there is infact a package org.jbpm.bpel.graph.exe which i guess contains execution related artifacts for bpel graph definitions). Am i missing something? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138660#4138660 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138660 ___ jboss-user mailing list
[jboss-user] [JBoss jBPM] - Re: BpelParseException
Hi, went through the wsdl documents and found some minor errors. Managed to get it to work now. Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138654#4138654 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138654 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Dynamic task creation
UP! please help View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138666#4138666 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138666 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Dynamic task creation
if people do not respond, that could be because the info provided is to limited, or not really usable to try and reproduce just bumping often does not help View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138669#4138669 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138669 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Problem in deplyoing Struts - Hibernate project
Hello... I am working on struts hibernate 3 using websphere as IDE. The project is working fine in Websphere tomcat, but when I deploy it to JBoss 4.0.3 SP1, there are lot of problems. When I run sql query through anonymous wrote : session.createSqlQuery() it says that anonymous wrote : addScalar() or addEntity() methods must be executed before executing query. other problem is that when I run HQL through anonymous wrote : session.cerateQuery() . It says that anonymous wrote : no persistent classes found for query class: select us.strEmpId, us.strUserName and throws following exception - anonymous wrote : | [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/DHBVN].[action]] Servlet.service() for servlet action threw exception | java.lang.NullPointerException | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138665#4138665 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138665 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Different ways of populating Context for sending message
[Moved from JBoss Messaging user forum] View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138668#4138668 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138668 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Dynamic task creation
Thanks kukeltje, but I really don't know what information i omitted! Now I try to explain what I want to achieve, maybe someone can inspire me a new way. I want that, after a certain process task, each user in a set must execute a task. I don't know in advance how many users can be involved (i have a query to determine the set of users) this is why my process can't be fully designed in advance. any ideas? thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138672#4138672 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138672 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Datasource Configuration] - Re: org.jboss.resource.JBossResourceException - Please help
Hi Sujith, Have you found any solution for this problem, I am facing the same rgds, Nitin View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138670#4138670 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138670 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Servlet regarded as ServiceEndPoint
http://jira.jboss.com/jira/browse/JBWS-1093 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138671#4138671 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138671 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: java.lang.NoClassDefFoundError: org/jaxen/VariableContex
Do you have found any solution? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138675#4138675 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138675 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Different ways of populating Context for sending message
Answered in your other thread at http://jboss.org/index.html?module=bbop=viewtopict=132250 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138676#4138676 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138676 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - Re: QueueBrowser not returning anything in Enumerator
I presume you mean http://wiki.jboss.org/wiki/Wiki.jsp?page=JBMCantSeeMessages? Your suggestion for search returned nothing, so thanks for that. The issue is that, when using messaging to distribute processing across the cluster, we would like to know when all the messages have been processed - implementing a fork/join in process-management terms. I can understand that the queue is prefetched to the cluster members, and so the elements are unavailable to the QueueManager, and I can see that implementing the functionality required would involve querying each of the cluster members for it's state (in buffer, being handled etc), and that this may not be possible (or, rather, easy). However, I would suggest that this is not an unusual scenario (fork/join is a pretty basic mechanism) and think that others would have a strategy to deal with this ... and was wondering if there were any suggestions? All we are trying to do is solve a real world problem - a little less tersity would have been appreciated. I will post a separate thread to try to get useful comments on this ... and maybe set up a wiki page for it? tim View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138673#4138673 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138673 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - jbpm on oracle
hi, sorry, i know i am not the first one having this problem. but i got no solution yet. I want to use jbpm on oracle so i changed the jbpm-ds.xml as described on http://wiki.jboss.org/wiki/Wiki.jsp?page=JbpmOnOracle and executed the sql script. but when i start jbpm i got the following oracle error ora-00923 keyword from is missing thrown from org.jbpm.db.JobSession.getFirstAcquirableJob(JobSession.java:40) what might i am doing wrong? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138677#4138677 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138677 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - Re: Bug: Injected EJB objects instantiated on every MDB call
I haven't played with MDBs on JBoss for sometime now, but are you sure the postConstruct is being called repeatedly on the *same instance* of the MDB? Or is every new message being processed by a new instance of the MDB, in which case it explains why the postConstruct gets called everytime the message is consumed. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138680#4138680 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138680 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBoss Portal basic question
wasn't WSRP designed for that purpose? to remotely run portlet from another portal? WSRP log many errors when started in 2.6.4 (bundle) I had to remove it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138681#4138681 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138681 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Is it mandatory to have a shared database to deploy distribu
Hi, I am trying to migrate a JMS Based enterprise application running on weblogic to JBoss with JBoss Messaging as the JMS provider. Is it mandatory to have a shared Database to deploy a Distributed topic in a cluster ? Weblogic doesnt need a DB. All I need is to set up a distributed topic and i dont need persistence. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138678#4138678 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138678 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - SessionManagement using soapsession
Hi, Somebody can give code example or link on using soapsession/transport session for maintaining session across multiple services in a servicegroup. Chavali View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138679#4138679 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138679 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBoss Portal basic question
The question was: Can we deploy JBoss Portal on WebLogic? I answered the question. If you have issues with WSRP, please open another thread. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138686#4138686 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138686 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Automatic page creation on deploy?
yep i'm using 2.6.4 Thanks for the tip Peter, got it :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138689#4138689 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138689 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: UnknownHostException after successful connection to port
You're probably using '-b hostname' option (or the equivalent long version '--host=hostname' option) when you start JBoss run.sh/run.bat. If that is the case, replace the hostname portion with the IP address. Alternatively, removing the -b (or --host) option will have the same effect, but if your JBoss is running on a multi-homed host, then this has a side effect of allowing connections on all IP addresses). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138692#4138692 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138692 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - How to communicate between Jboss Appserver and Jboss Cache r
Hi, I am new to jboss cache as well as jboss appserver. I want to run Jboss Cache as a stand alone application out side my app sever. My web application is deployed in the jboss app server.Can any one please let me know how to communicate between Jboss Cache and Jboss App server running on different JVM's? Thanks in advace Tiru View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138694#4138694 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138694 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WebService response problem
PeterJ wrote : (From what I recall when I researched this in depth many months ago, the web services libraries included in JBossAS 4.2.x were newer than what is included in JDK 6.). Many thanks for reply. I am beginning to appreciate the complexities of what's going on better now. Out of interest how did you go about doing this research/analysis? Investigating what versions of classes are in what jars is one of the things I am struggling to get my head around when working with Java. I understand technologies like Maven/Ivy can help but am stll a novice and have not used them too much yet. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138695#4138695 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138695 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - connecting to WS from different machine
Hi all, I need to connect to a deployed WS from different machine. What I tried to do and it did not work is: Copy the WSDL file to the machine where the client application is, then I changed the soap:address from saying localhost to the actual IP (e.g. clint.ncl.ac.uk) and I keept the rest as it was. However as I said it did not work !!?? can anyone tell me what to do or change in jboss-4.2.1.GA which i use as Application server? thanks for Listening. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138702#4138702 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138702 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Dynamic task creation
e.g. an 1 file executable unit test. instead of 1 method (it is not even a class file) and a process definition. This way I cannot even see if you made typos in the classname Having one tasknode cannot be used for different actors. Use a custom fork for that and see the wiki for an example View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138703#4138703 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138703 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: java.lang.ClassCastException
Hi! This is due to a bug that we have found on a previous version of JBoss AOP. This bug is fixed now. Which is the JBoss AOP version you are using on JBoss 4.2.2? I think it is an old one. In this case, all you have to do is update the JBoss AOP on your server. Download the newest version from our website and run the ant script located in the jboss-40-install/jboss-aop-jdk50.deployer directory of your download JBoss AOP (notice that you have to remove the current jboss-aop-jdk50.deployer of your 4.2.2. server before doing so. If this is not the case, then it might be a bug. In this case, please, try changing the signature of your advice to the form below, and let me know if this solves the problem: public Object get(Invocation invocation) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138704#4138704 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138704 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JSF Portlet and UnsupportedOperationException
Anyone? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138705#4138705 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138705 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - WSRP passing parameters
Could anyone tell me, if I could pass any portal-specific parameters (like portlet page name) from a consumer portal to a portlet being situated under a JBoss Portal as a producer. If so, how could I implement it? In other words, I have a portlet under JBoss Portal and want it to show me name of the page, where this portlet is running under another portal remotely. Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138708#4138708 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138708 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: communicating with WS in c# thorugh Java - encoding prob
Asaf, We had the same problem. The problem occur because not all the steps that are involved in Web Services creation support UTF-8 by default. Add to your JBoss startup script the following parameter: -Dfile.encoding=utf-8 This should solve your problem. Ronen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138709#4138709 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138709 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JSF Portlet and UnsupportedOperationException
We don't use Pluto container, we use our own. So org.apache.pluto.core.PortletServlet doesn't exist you should remove that reference, if you still have issues, i would recommend to ping the author of the forum since he seems to have experience in that field. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138710#4138710 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138710 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Temporary folder name
Hello Everybody, I would like to know if there is a way to give a fixed name to the deployed folder in /temp. We know when Jboss make the deployment, per example, Myapps.war on /deploy directory, automatically it will be created a temporary deployed folder o /temp/deploy directory, something like tmp34329Myapps.war, a random name. This is i don't want. I need to make a fixed name on the temporary folder because my aplication asks for a path in that folder who will never be pointed on traditional way. Sorry, my english is not so good. Any help will be very appreciated. Davi View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138711#4138711 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138711 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - TwoPhaseCoordinator.beforeCompletion error
Hi, I'm trying to set up jboss in a clustered configuration on a machine. On this machine I have 2 nodes ( I did 2 copies of all configuration : node 1 and node 2). I've downloaded JBoss Portal HA and copied the jboss-portal-ha.sar in the deploy directory of each node. When I try to launch JBoss AS (./run.sh -c node1), I've this error. Where can it come from? | 14:37:25,131 INFO [PortletAppDeployment] Parsing /portal-cms/jboss-portlet.xml | 14:37:25,217 INFO [CMSPortlet] Cannot start CMS portlet search service due to service unavailability | 14:37:25,268 INFO [PortletAppDeployment] Parsing /portal-news-samples/jboss-portlet.xml | 14:37:40,429 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_2] TwoPhaseCoordinator.beforeCompletion - failed for [EMAIL PROTECTED] | java.lang.RuntimeException: | at org.jboss.cache.interceptors.TxInterceptor$LocalSynchronizationHandler.beforeCompletion(TxInterceptor.java:1182) | at org.jboss.cache.interceptors.OrderedSynchronizationHandler.beforeCompletion(OrderedSynchronizationHandler.java:75) | at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:114) | at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:247) | at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:86) | at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:177) | at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1389) | at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:135) | at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:87) | at org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:369) | at org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:160) | at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68) | at org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:157) | at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5877) | at org.jboss.cache.TreeCache.put(TreeCache.java:3847) | | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138713#4138713 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138713 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: TwoPhaseCoordinator.beforeCompletion error
Please post the full stack trace. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138716#4138716 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138716 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Request guidance on upgrading from JBoss Tool 2.0 GA to
I think it can be deleted, i'll ask slava to comment on this thread. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138717#4138717 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138717 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Request guidance on upgrading from JBoss Tool 2.0 GA to
note: the fix for this file is not in any release yet - it is a work inprogress for JBossTools 2.1.x View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138718#4138718 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138718 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: connecting to WS from different machine
hi again all, i fixed it now, the problem was that i need to run jboss with this commend: ./run.sh -c all -b my hostmachine.aa.uk instead of what i was doing: ./run.sh i hope this could be helpful for somebody else. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138719#4138719 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138719 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - WSRP: SAP EP versus JBoss
Hi folks, upon trying to connect JBoss and SAP EP over WSRP I'm struggling on both sides of the WSRP-world - neither SAP as consumer (an issue with consumer agent string) nor SAP as producer likes to talk WSRP. My latest exception is about cookie headers, wow. It seems like the cookie information length is simply too much... ? Did anyone stumble across something like this before or can explain this issue to me? | 2008-03-17 23:50:28,477 DEBUG [org.jboss.ws.core.client.RemotingConnectionImpl] Get locator for: [addr=http://sapdemoce04:5/irj/servlet/prt/soap/AutoGenProducer1_0?style=doc_lit,props={javax.xml.rpc.service.endpoint.address=http://sapdemoce04:5/irj/servlet/prt/soap/AutoGenProducer1_0?style=doc_lit}] | 2008-03-17 23:50:28,478 DEBUG [org.jboss.remoting.MicroRemoteClientInvoker] [EMAIL PROTECTED] connecting | 2008-03-17 23:50:28,478 DEBUG [org.jboss.remoting.MicroRemoteClientInvoker] [EMAIL PROTECTED] connected | 2008-03-17 23:50:28,478 DEBUG [org.jboss.ws.core.client.RemotingConnectionImpl] Remoting metadata: {HEADER={SOAPAction=urn:oasis:names:tc:wsrp:v1:getServiceDescription, Content-Type=text/xml; charset=UTF-8}, NoThrowOnError=true} | 2008-03-17 23:50:28,478 DEBUG [org.jboss.remoting.transport.http.HTTPClientInvoker] Setting request header with SOAPAction : urn:oasis:names:tc:wsrp:v1:getServiceDescription | 2008-03-17 23:50:28,478 DEBUG [org.jboss.remoting.transport.http.HTTPClientInvoker] Setting request header with Content-Type : text/xml; charset=UTF-8 | 2008-03-17 23:50:28,483 DEBUG [org.jboss.ws.core.soap.SOAPMessageUnMarshaller] getMimeHeaders from: {Set-Cookie=[JSESSIONID=(J2EE5390400)ID0043229050DB10711443334707187519End; Version=1; Path=/, saplb_*=(J2EE5390400)5390450; Version=1; Path=/], ResponseCodeMessage=OK, Date=[Tue, 25 Mar 2008 13:44:26 GMT], Content-Type=[text/xml], Server=[SAP J2EE Engine/7.00], HEADER={SOAPAction=urn:oasis:names:tc:wsrp:v1:getServiceDescription, Content-Type=text/xml; charset=UTF-8}, Transfer-Encoding=[chunked], NoThrowOnError=true, ResponseCode=200} | 2008-03-17 23:50:28,483 DEBUG [org.jboss.portal.faces.loader.FacesClassLoader] Want to load org.jboss.ws.core.soap.EnvelopeBuilderDOM will delegate | 2008-03-17 23:50:28,483 DEBUG [org.jboss.ws.core.soap.MessageFactoryImpl] createMessage: [contentType=text/xml] | 2008-03-17 23:50:28,483 DEBUG [org.jboss.remoting.InvokerRegistry] removed [EMAIL PROTECTED] from registry | 2008-03-17 23:50:28,483 DEBUG [org.jboss.ws.core.jaxrpc.handler.MessageContextJAXRPC] Begin response processing | 2008-03-17 23:50:28,483 DEBUG [org.jboss.ws.core.jaxrpc.handler.HandlerChainBaseImpl] Enter: handleResponse | 2008-03-17 23:50:28,483 DEBUG [org.jboss.ws.core.jaxrpc.handler.HandlerChainBaseImpl] Exit: handleResponse with status: true | 2008-03-17 23:50:28,483 DEBUG [org.jboss.ws.core.jaxrpc.SOAP11BindingJAXRPC] unbindResponseMessage: {urn:oasis:names:tc:wsrp:v1:intf}getServiceDescription | 2008-03-17 23:50:28,483 DEBUG [org.jboss.ws.core.EndpointInvocation] setReturnValue: org.jboss.ws.core.soap.SOAPBodyElementDoc | 2008-03-17 23:50:28,483 DEBUG [org.jboss.ws.core.jaxrpc.handler.HandlerChainBaseImpl] Enter: handleResponse | 2008-03-17 23:50:28,483 WARN [org.jboss.ws.core.jaxrpc.handler.HandlerWrapper] RuntimeException in handler method, transition to DOES_NOT_EXIST | 2008-03-17 23:50:28,483 DEBUG [org.jboss.ws.core.jaxrpc.handler.HandlerWrapper] destroy: [EMAIL PROTECTED] | 2008-03-17 23:50:28,483 ERROR [org.jboss.ws.core.jaxrpc.handler.HandlerChainBaseImpl] RuntimeException in response handler | java.lang.IllegalArgumentException: Too many cookie headers! | Cookie headers: | 0: JSESSIONID=(J2EE5390400)ID0043229050DB10711443334707187519End; Version=1; Path=/ | 1: saplb_*=(J2EE5390400)5390450; Version=1; Path=/ | | at org.jboss.portal.wsrp.handler.RequestHeaderClientHandler.handleResponse(RequestHeaderClientHandler.java:125) | at org.jboss.ws.core.jaxrpc.handler.HandlerWrapper.handleResponse(HandlerWrapper.java:142) | at org.jboss.ws.core.jaxrpc.handler.HandlerChainBaseImpl.handleResponseInternal(HandlerChainBaseImpl.java:364) | at org.jboss.ws.core.jaxrpc.handler.HandlerChainBaseImpl.handleResponse(HandlerChainBaseImpl.java:329) | at org.jboss.ws.core.jaxrpc.client.CallImpl.callResponseHandlerChain(CallImpl.java:567) | at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:374) | at org.jboss.ws.core.jaxrpc.client.CallImpl.invokeInternal(CallImpl.java:517) | at org.jboss.ws.core.jaxrpc.client.CallImpl.invoke(CallImpl.java:277) | at org.jboss.ws.core.jaxrpc.client.PortProxy.invoke(PortProxy.java:151) | at $Proxy279.getServiceDescription(Unknown Source) | at org.jbo | 4.000.000 lines of error code more ... | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138720#4138720 Reply to the post :
[jboss-user] [Messaging, JMS JBossMQ] - ThreadPoolFullException
I'm using clustered JBoss 4.2.2 on two Linux boxes. I have a stand-alone client that uses the HA-JNDI to post messages to 10 different queues. They are retrieved round-robin style by each of the two nodes. After running for a little while, I get this error: WARN [BasicQueue] Caught unusual exception sending message to receiver. org.jboss.util.threadpool.ThreadPoolFullException: java.lang.InterruptedException at org.jboss.util.threadpool.BasicThreadPool.execute(BasicThreadPool.java:417) at org.jboss.util.threadpool.BasicThreadPool.runTaskWrapper(BasicThreadPool.java:192) at org.jboss.util.threadpool.BasicThreadPool.run(BasicThreadPool.java:212) at org.jboss.util.threadpool.BasicThreadPool.run(BasicThreadPool.java:206) at org.jboss.mq.server.ClientConsumer.queueMessageForSending(ClientConsumer.java:125) at org.jboss.mq.server.BasicQueue.queueMessageForSending(BasicQueue.java:1140) at org.jboss.mq.server.BasicQueue.internalAddMessage(BasicQueue.java:) at org.jboss.mq.server.BasicQueue.access$000(BasicQueue.java:76) at org.jboss.mq.server.BasicQueue$AddMessagePostCommitTask.run(BasicQueue.java:1359) at org.jboss.mq.pm.TxManager.addPostCommitTask(TxManager.java:162) at org.jboss.mq.server.BasicQueue.performOrPrepareAddMessage(BasicQueue.java:411) at org.jboss.mq.server.BasicQueue.addMessage(BasicQueue.java:383) at org.jboss.mq.server.PersistentQueue.addMessage(PersistentQueue.java:76) at org.jboss.mq.server.JMSQueue.addMessage(JMSQueue.java:180) at org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationManager.java:415) at org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationManager.java:399) at org.jboss.mq.server.JMSServerInterceptorSupport.addMessage(JMSServerInterceptorSupport.java:106) at org.jboss.mq.security.ServerSecurityInterceptor.addMessage(ServerSecurityInterceptor.java:168) at org.jboss.mq.server.TracingInterceptor.addMessage(TracingInterceptor.java:226) at org.jboss.mq.server.JMSServerInvoker.addMessage(JMSServerInvoker.java:112) at org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocketManagerHandler.java:114) at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:419) at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:398) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:761) at java.lang.Thread.run(Thread.java:619) 21:08:53,081 WARN [BasicQueue] Caught unusual exception sending message to receiver. org.jboss.util.threadpool.ThreadPoolFullException: java.lang.InterruptedException at org.jboss.util.threadpool.BasicThreadPool.execute(BasicThreadPool.java:417) at org.jboss.util.threadpool.BasicThreadPool.runTaskWrapper(BasicThreadPool.java:192) at org.jboss.util.threadpool.BasicThreadPool.run(BasicThreadPool.java:212) at org.jboss.util.threadpool.BasicThreadPool.run(BasicThreadPool.java:206) at org.jboss.mq.server.ClientConsumer.queueMessageForSending(ClientConsumer.java:125) at org.jboss.mq.server.BasicQueue.queueMessageForSending(BasicQueue.java:1140) at org.jboss.mq.server.BasicQueue.internalAddMessage(BasicQueue.java:) at org.jboss.mq.server.BasicQueue.access$000(BasicQueue.java:76) at org.jboss.mq.server.BasicQueue$AddMessagePostCommitTask.run(BasicQueue.java:1359) at org.jboss.mq.pm.TxManager.addPostCommitTask(TxManager.java:162) at org.jboss.mq.server.BasicQueue.performOrPrepareAddMessage(BasicQueue.java:411) at org.jboss.mq.server.BasicQueue.addMessage(BasicQueue.java:383) at org.jboss.mq.server.PersistentQueue.addMessage(PersistentQueue.java:76) at org.jboss.mq.server.JMSQueue.addMessage(JMSQueue.java:180) at org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationManager.java:415) at org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationManager.java:399) at org.jboss.mq.server.JMSServerInterceptorSupport.addMessage(JMSServerInterceptorSupport.java:106) at org.jboss.mq.security.ServerSecurityInterceptor.addMessage(ServerSecurityInterceptor.java:168) at org.jboss.mq.server.TracingInterceptor.addMessage(TracingInterceptor.java:226) at org.jboss.mq.server.JMSServerInvoker.addMessage(JMSServerInvoker.java:112) at org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocketManagerHandler.java:114) at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:419) at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:398) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:761) at java.lang.Thread.run(Thread.java:619) 21:08:53,080 WARN [BasicQueue] Caught unusual exception
[jboss-user] [JBoss Tools (users)] - Re: No Seam EL content assist after upgrade
eclipse has some funny nondeterministic rules for which editor wins the war over the various content types. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138725#4138725 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138725 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: Problems integrating Jboss AOP in Eclipse
Hi again As I said, this plugin is outdated and we have plans to get it updated after our release. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138729#4138729 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138729 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - How to know when all messages have been processed?
Hi, We need to implement a parallelising system using messaging - work is handled by message beans. The upstream and message processing works fine - we've run cluster performance tests on 20 messages and scalability is fine (and linear across 3 systems in a cluster). The problem is to determine the best way of knowing when all the messages have been processed. Initial attempts resulted in the thread http://www.jboss.com/index.html?module=bbop=viewtopicp=4138673#4138673 which wasn't much use. I am loathe to use a semaphore approach - we know the number of messages before we start, so each message could decrement this - as this would introduce contention on the semaphore (however implemented I think). There doesn't appear to be a way of querying the queue. We can't stick a 'final' message onto the queue as this could be processed before all the others have been processed (each message can take a while). I have some other ideas, but they're all a bit twiddly : entry in DB for each completion ... count entries) Just wondering if anyone has had the same problem - and what suggestions there are for solving it? Many Thanks tim View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138731#4138731 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138731 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: No Seam EL content assist after upgrade
Hey guys, I fixed the issue by double-checking my org.jboss.wst.xml. This file had a couple of paths pointing to a previous project - and even though this project existed - once I changed the paths to point only to the current project did I get full Seam EL. Oy! Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138733#4138733 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138733 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Problem with Jboos-Tools after sharing project via svn -
extreme - did that solve your problem ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138735#4138735 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138735 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: anyone else have issues with visual editor on OSX?
This is a known issue with eclipse 3.3.1 and Leopard. Known workarounds: 1) Don't use Leopard ;) 2) Use Eclipse 3.3.2 (but don't upgrade to WTP 2.0.2 since they introduced a regression bug in there that prevents proper deployment of Seam) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138737#4138737 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138737 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
Matteg - yes what you describe is what is caused by the regression bug in wtp 2.0.2. Hence for now we can only recommend to use WTP 2.0.1 since it does not have this bug. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138738#4138738 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138738 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: JBossTools 2.0.1 with Seam 2.1.0
we don't have explicit support for seam 2.1 yet - we just stopped being strict about you choosing a 2.1 runtime when you actually say 2.0. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138739#4138739 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138739 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: file extension .jsf ? instead of .jsp and .xhtml
why are you saying it is not .xhtml ? afaik, they are ;) About using .jsf extension then that should work as long as you setup our editor for it in Editor assoication preferences. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138742#4138742 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138742 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Automatically Deploying .rar from eclipse
I can't see how standard jboss server adapter can support this and we don'twe *extend* on the functionallity they are based on so..that should not be happening. Please report in jira with steps on how to reproduce this so we can get that fixed. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138744#4138744 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138744 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Request guidance on upgrading from JBoss Tool 2.0 GA to
what we should do with our existing org.jboss.tools.jst.web.xml project files Before JBoss Tools 2.0.1, if this file gets wrong because of wrong absolute paths, the solution was to remove it, remove line org.jboss.tools.jsf.jsfnature in .project file, restart Eclipse and execute JBoss Tools/Add JSF Capabilities... on project node in Package Explorer. In JBoss Tools 2.0.1 one can remove the file and restart Eclipse without editing .project, the nature is removed automatically. Executing JBoss Tools/Add JSF Capabilities... is still needed, and file org.jboss.tools.jst.web.xml will be created with correct paths. In JBoss Tools 2.1.x, file org.jboss.tools.jst.web.xml is not needed and will not be created, but as long as it exists in an old project, it will be used. If it is wrong, just remove it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138746#4138746 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138746 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: How does -test project reference dependent libraries?
the test project knows about it because it has the War project on its eclipse classpath...and that war project has a EAR libraries classpath container which is picking up the EAR content. simple, eh ? :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138747#4138747 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138747 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: java.io.UnsupportedEncodingException then build an archi
Not using a JDK with eclipse is rather counter intuitive to me in the first place but: Please report this in jira with steps on how we reproduce it (I can't) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138748#4138748 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138748 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Connector modules are not deployed
Which jira contains the step to reproduce this ? e..g so it works with standard web tools server adapter but fails with our adapter ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138749#4138749 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138749 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Seam Validator and components from components.xml
its a chicken and egg problem. Seam works with a global context, but projects in eclipse is (which is correct in my opinion) working with a proper dependency between the projects. What should be done is that the ejb specific settings should be done in a components.xml local for the ejb imo. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138750#4138750 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138750 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Seam Validator and components from components.xml
Ok, but for example, your SMPC in your components.xml shouldn't be specified in multiple components.xml, but it may be injected all over the ear(*), in different EJB modules. So if the validator is going to be useful, it has to look in other projects for components, yes? (*) This is the only case I know of where injecting something all over your ear is a good idea :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138752#4138752 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138752 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Seam Validator and components from components.xml
maybe i'm reading it wrong...but if the SMPC configuration were put in ejb/META-INF/components.xml wouldn't everything not just work ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138754#4138754 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138754 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - lead time integration
Hi everyone, i'm currently working on a master thesis concerning the calculation and integration of lead time data into any given jbpm-based workflow-system. I'm kind of new to jBPM but i've spent the last couple of weeks scanning the net and these Forums/Documentation to get an overview. The company i am working for has developed their own workflow-system for projects in the past but are now using jBoss jBPM only and I can certainly see why. ;-) But: From what i know, BAM/BI functionality is not provided by jBPM in the current Version, although there have been some efforts in that direction. I guess they are still going on. My Task (baked into a master thesis Project) is to create a solution for the missing but required aspect of lead time calculation and persistance and that leads me to the following questions: - What status is the development of BAM/BI functionality in at this point and how far do you believe i can get with the functionality that jBPM offers in the current Version (timer/duration aso.)? - one big issue will probably be the mapping of something i call LeadTime-Definitions onto jBPM-Processdefinitions. A LeadTimeDef. descibes which Parts of a Process should be taken into account, when calculating a Lead Time and which not. I was hoping to be able to add my own xml to the processdefinition.xml somehow, but oviously the designer (GPD) will cast a NullPointerException, when i insert custom tags. Is there a smart way to insert some sort of meta-data in XML-Processdefinitions without interfering with the GPD and the Deployment of the Processdefinitions? (perhaps changing the xsd?) - Obviously im interested in any current project related to the subject. I'd be greatful for any reference to such a Project or Resource. There are alot more thoughts and questions on my mind, but i think i should just wait and see if anyone bites the hook first. :-) Thanks, Fredde. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138756#4138756 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138756 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: communicating with WS in c# thorugh Java - encoding prob
Great, I wouldn't never imagine that this flag is related to WS encoding, Many thanks, Asaf. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138763#4138763 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138763 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - How I configute a custom IdentityLoginModule
Hello, I try to use a own implementation of a custom IdentityLoginModule. Can you tell me how to make the configuration for using it ? The only thing I've done is that I changed the class in jboss-portal.sar\conf\login-config.xml, but with no luck. | login-module code=com.test.CUSTOMIdentityLoginModule flag=required | module-option name=unauthenticatedIdentityguest/module-option | module-option name=userModuleJNDINamejava:/portal/UserModule/module-option | module-option name=roleModuleJNDINamejava:/portal/RoleModule/module-option | module-option name=userProfileModuleJNDINamejava:/portal/UserProfileModule/module-option | module-option name=membershipModuleJNDINamejava:/portal/MembershipModule/module-option | module-option name=additionalRoleAuthenticated/module-option | module-option name=password-stackinguseFirstPass/module-option | /login-module | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138764#4138764 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138764 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - question about WS client accessing local wsdl
I'm trying to find the best way access a local wsdl, instead of going over http to a remote WSDL when creating a client-side service. I want to package the WSDL in the same jar as my classes i've compiled as a resource but I haven't quite figured out how to create a java.net.URL to point at that WSDL. I have been sucessful putting the wsdl in a known location and creating a URL with a file protocol and pointing to the absolute path on the server, but thats not as flexible as I want it to be, i was hoping to deploy it in a JAR Has anyone else been sucessful with this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138765#4138765 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138765 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: lead time integration
It depends on what your definition of 'lead time' is. If you simply want the time from process start until process end, this information is stored in the database. However, If you want something more complex, you'll have to program it yourself. In fact, this is a nice example in which you can build your own language on top of the PVM. But since the PVM hasn't reached maturity yet (companies don't like beta), I'll try to explain how I did this kind of measurements. Do note that this is something I quickly made for a proof-of-concept, which is not yet tested in production: - Setup a JMS queue on a JBoss server - Define a custom ActionHandler that shoots an event to this JMS queue. In this event I provided a unique key (the processInstance id) and a process-unique measurement point. This way, we know at which point the processInstance arrived at the given point. - Add a node to the processDefinition that uses the custom ActionHandler. Provide the unique process-point key as a property. - Write a JMS queue handler to do something with the gathered data This is a quite rude approach to your problem. I hope it gives you some ideas in the right direction View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138766#4138766 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138766 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Uploading to CMS with other language then english?
Hi there, i'm having some problems uploading files to CMS (pics, pdf's,etc) when i don't specify the language as English. The problem is that i can't get a working link to those files, it always shows me the default page when trying to access them. Example: When i upload test.jpg and choose english as language i can get the file later using a url like this (uploaded to default/images): http://localhost:8080/portal/content/default/images/test.jpg if i upload the same file (always successfully), to the same directory but choosing another language i can no longer get the file with the same link, it shows me the default portal page (default/index.html). Any tips why i'm getting this behaviour? Thks in advance :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138767#4138767 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138767 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Uploading to CMS with other language then english?
Forgot to say i'm using JBoss AS 4.2.2 GA with Portal 2.6.4 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138768#4138768 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138768 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - How can i view and download files from CMS as a user?
Hey. I'm using JBoss AS 4.2.2 GA with Portal 2.6.4. As admin, i've uploaded some files to the default CMS that is included in the portal, but as a user how can i view the contents and actually download the files? Should i look for a CMS like Alfresco or is there any portlet available to view and navigate through the default CMS and download files from there? Thanks for any help View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138769#4138769 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138769 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: How does -test project reference dependent libraries?
By default the jboss-tools generated war project within an ear project doesn't have the EAR libraries checked as exported on the Order / Export tab of the Java Build Path settings. Should it be, so that the test project picks up the EAR libs when it runs? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138770#4138770 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138770 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: How does -test project reference dependent libraries?
Also...while I agree it's simple, it's a little problematic. Because I have ejb jars in my ear which need to reference libs in the ear which the WAR doesn't need to reference. But to make the test project able to test the code in the EJB jars, I have to make the WAR reference those EJB libs in MANIFEST.MF. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138771#4138771 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138771 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JSF Portlet and UnsupportedOperationException
I've included Apache Pluto's JAR file in WEB-INF/lib, and the message that warned me that a class wasn't found disappeared. Here's what I did, until now: - removed the following jars from WEB-INF/lib in the portlet's WAR file: - jsf-api.jar - portlet.jar - jsfcl.jar - jsf-impl - included Jboss' specific XML in WEB-INF/lib, together with portlet.xml and web.xml: portlet.xml ?xml version='1.0' encoding='UTF-8' ? | portlet-app xmlns='http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd' version='1.0' | portlet | descriptionCreated By Java Studio Creator/description | portlet-nameHelloPortlet/portlet-name | display-nameHelloPortlet JSC Portlet/display-name | portlet-classcom.sun.faces.portlet.FacesPortlet/portlet-class | init-param | namecom.sun.faces.portlet.INIT_VIEW/name | value/PortletPage1.jsp/value | /init-param | init-param | namecom.sun.faces.portlet.INIT_EDIT/name | value/Edit1.jsp/value | /init-param | init-param | namecom.sun.faces.portlet.INIT_HELP/name | value/Help1.jsp/value | /init-param | expiration-cache0/expiration-cache | supports | mime-typetext/html/mime-type | portlet-modeVIEW/portlet-mode | portlet-modeEDIT/portlet-mode | portlet-modeHELP/portlet-mode | /supports | supported-localeen/supported-locale | portlet-info | titleHelloPortlet/title | short-titleHelloPortlet/short-title | keywordsCreator/keywords | /portlet-info | /portlet | /portlet-app | web.xml | ?xml version=1.0 encoding=UTF-8? | web-app version=2.4 | context-param | param-namejavax.faces.STATE_SAVING_METHOD/param-name | param-valueserver/param-value | /context-param | context-param | param-namejavax.faces.CONFIG_FILES/param-name | param-value/WEB-INF/navigation.xml,/WEB-INF/managed-beans.xml/param-value | /context-param | context-param | param-namecom.sun.faces.validateXml/param-name | param-valuetrue/param-value | /context-param | context-param | param-namecom.sun.faces.verifyObjects/param-name | param-valuefalse/param-value | /context-param | filter | filter-nameUploadFilter/filter-name | filter-classcom.sun.rave.web.ui.util.UploadFilter/filter-class | init-param | description | The maximum allowed upload size in bytes. If this is set | to a negative value, there is no maximum. The default | value is 100. | /description | param-namemaxSize/param-name | param-value100/param-value | /init-param | init-param | description | The size (in bytes) of an uploaded file which, if it is | exceeded, will cause the file to be written directly to | disk instead of stored in memory. Files smaller than or | equal to this size will be stored in memory. The default | value is 4096. | /description | param-namesizeThreshold/param-name | param-value4096/param-value | /init-param | /filter | filter-mapping | filter-nameUploadFilter/filter-name | servlet-nameFaces Servlet/servlet-name | /filter-mapping | servlet | servlet-nameFaces Servlet/servlet-name | servlet-classjavax.faces.webapp.FacesServlet/servlet-class | load-on-startup1/load-on-startup | /servlet | servlet | servlet-nameThemeServlet/servlet-name | servlet-classcom.sun.rave.web.ui.theme.ThemeServlet/servlet-class | /servlet | servlet | descriptionGenerated By Sun Java Studio Creator/description | display-nameCreatorPortlet Wrapper/display-name | servlet-nameHelloPortlet/servlet-name | servlet-classorg.apache.pluto.core.PortletServlet/servlet-class | init-param | param-nameportlet-class/param-name | param-valuecom.sun.faces.portlet.FacesPortlet/param-value | /init-param | init-param | param-nameportlet-guid/param-name | param-valueHelloPortlet.HelloPortlet/param-value | /init-param | /servlet | servlet-mapping | servlet-nameThemeServlet/servlet-name | url-pattern/theme/*/url-pattern | /servlet-mapping | servlet-mapping |
[jboss-user] [JBoss Tools (users)] - Re: How does -test project reference dependent libraries?
huh ? the ejb project is also on the war as an dependency. Shuold just work - if not please isolate it down to a very simple setup that I can reproduce and put it in jira. thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138773#4138773 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138773 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: lead time integration
Thank you for your ideas. Unfortunately the forseen definition of 'lead time' is rather complex. It should be possible to configure, that certain sub-processes, tasks and even transitions are 'counted' while others are not. It must be possible to decide if the lead time counts paralel processes twice or just once(Resource-View vs. Customer-View) and even Business-Calendars(preferdly user-indivdual) must be taken into account. Also a problem is that Process-Definitions are subject to change and also the lead-time definitions, so i need a very 'universal' solution. What do you mean by 'building your own language on top of the PVM'? Sry if im a noob, but i have no idea what PVM is. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138775#4138775 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138775 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Dynamic task creation
I can't find any documentation on how to dinamically create a task instance at runtime. So the code below (and in previous post) is fruit of hours spend in trying ... I achieved something that (seems to) works. And this is the result. Maybe this is not the correct way, so any help needed!! ?xml version=1.0 encoding=UTF-8? | | process-definition | xmlns=urn:jbpm.org:jpdl-3.1 name=Interpello |swimlane name=startingUser | assignment expression=user(admin)/assignment |/swimlane |start-state name=start | transition name= to=inizioInterpello/transition |/start-state |end-state name=end1/end-state |task-node name=verificaFinale | task name=verifica finale swimlane=startingUser/task | transition name=finito to=end1/transition | transition name=ripeti to=inizioInterpello/transition |/task-node |task-node name=inizioInterpello | task name=inizio interpello swimlane=startingUser/task | event type=node-leave | action name=actionIstruttoriaInterpello class=it.unict.interpello.IstruttoriaInterpello/action | /event | transition name=Convoca Interpello to=chiusuraInterpello/transition |/task-node |task-node name=tCompDoc |/task-node |task-node name=chiusuraInterpello | task name=Chiusura interpello swimlane=startingUser/task | event type=node-leave | action name=actionChiudiInterpello class=it.unict.interpello.IstruttoriaInterpello/action | /event | transition name=procedi alla verifica finale to=verificaFinale/transition |/task-node |process-state name=process1/process-state |super-state name=super1/super-state | /process-definition as you can see in the xml, I created a node-leave action handler, and I call the same class (for testing purpose only) on leaving InizioInterpello and on leaving ChiusuraInterpello. Below you can read the code of the action handler. When I execute the InizioInterpello task the code is executed: I can see the output (System.out) and when I show the task list (context.getProcessInstance(processInstanceId).getTaskMgmtInstance().getTaskInstances()) of the process instance I see a task for every user. But If I execute ChiusuraInterpello I can't see no output, no new task instance were created ... it seems that my action is ignored at all. But the task is closed correctly. package it.unict.interpello; | | | import it.unict.consulta.ManagerBeansProxy; | import it.unict.consulta.driver.data.IDocente; | import it.unict.consulta.driver.manager.IEducationManager; | | import java.util.Collection; | | import org.jbpm.graph.exe.ExecutionContext; | import org.jbpm.graph.exe.Token; | import org.jbpm.graph.node.TaskNode; | import org.jbpm.taskmgmt.def.Task; | import org.jbpm.taskmgmt.exe.TaskInstance; | import org.jbpm.taskmgmt.exe.TaskMgmtInstance; | | public class IstruttoriaInterpello implements org.jbpm.graph.def.ActionHandler | { | ManagerBeansProxy mbProxy = null; | | public void execute(ExecutionContext executionContext) throws Exception | { | System.out.println(q***); | System.out.println(*** I can see this only when leaving InizioInterpello, but nothing is shown when executing ChiusuraInterpello ***); | System.out.println(***); | System.out.println(***); | System.out.println(***); | System.out.println(***); | | mbProxy = new ManagerBeansProxy(); | IEducationManager edu = mbProxy.getMEducation(); | | if (edu == null) | throw new RuntimeException(EducationManager non disponibile); | | try | { | // determine the sets of users | CollectionIDocente lDoc = edu.listaDocenti(); | | if (lDoc == null || lDoc.size() == 0) | throw new RuntimeException(Nessun docente); | | // for each user creates a personal task instance | for (IDocente d : lDoc) | { | String uname = d.getUsername(); | createAndAssignTask(uname, executionContext); | } | } | catch (Exception ex) | { | System.out.println(ex); |
[jboss-user] [JBoss Portal] - Help JBOSS PORTAL
Hi , I am working with jboss portal, and I need help. When I create a new portal in jboss portal, it create some file xml ??? I think, the files are in file DATA ,so How Can I acess this files ?? what files are modifieds ?? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138783#4138783 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138783 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: java.lang.ClassCastException
Hi Flavia, Thanks for your prompt reply. I made the change you suggested and now it is working fine. My method now looks like: | public Object get(Invocation invocation) { | if(invocation instanceof FieldReadInvocation) { | return _get(((FieldReadInvocation)invocation)); | } | return null; | } | where _get is my previous method: | private Object _get(FieldReadInvocation invocation) ... | I am using AOP which comes bundled with JBoss-4.2.2. Thanks. Best regards, Victor View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138784#4138784 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138784 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Exact Tomcat Version
This link show which JBoss uses which Tomcat: [url] http://wiki.jboss.org/wiki/Wiki.jsp?page=VersionOfTomcatInJBossAS[/url] View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138794#4138794 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138794 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: j4j:listTasksForActor and j4j:listPooledTasks ?
I guess you meant this solution posted on jIRA: I might be wrong, but isn't it possible to easily fix it by changing the line in tasks.xhtml : j4j:listTasks includeEnded=true target=#{tasks}/ by this one: j4j:listTasksForActor actorId=#{request.remoteUser} target=#{tasks}/ ? [ Show » ] Sebastien M. [08/Jan/08 12:43 PM] I might be wrong, but isn't it possible to easily fix it by changing the line in tasks.xhtml : j4j:listTasks includeEnded=true target=#{tasks}/ by this one: j4j:listTasksForActor actorId=#{request.remoteUser} target=#{tasks}/ ? Unfortunately it only returns the personal task list, while what I am trying to show is the group task list. Any idea besides changing jbpm4jsf source code? Thanks, -Jue View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138796#4138796 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138796 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Httpd + mod_ssl + Jboss
Hi All, We are using jboss 4.2 and fronting it with Apache2 + mod_jk as a load balancer. Everything is working fine so far. Now we need install SSL cert in our application. I tried to install it on embedded tomcat inside jboss but when i try to access my application page cannot be displayed error coming in browser. And if i access the application directly from jboss without using apache2 SSL is working fine. I tried to debug mod_jk and found that response code is coming as 302 and it tried to redirect to https based URL but in browser i see page cannot be displayed error. Is there any other configuration that i need to do in apache. Would appreciate any help. Web server Env is : Apache2.0.52, mod_ssl-2.0.52, mod_jk1.2 App server env is : Jboss 4.2 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138797#4138797 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138797 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WebService response problem
Add the -verbose:class JVM option to the command line (to JAVA_OPTS in the run scripts). This option causes the JVM to print out the location of each class loaded. I noticed when using JDK 6 that the web services classes were suddenly coming from the runtime jar. Also, if I recall correctly, with JDK 6 I was getting a missing method exception. I unzipped the sources for JDK 6 and noted that the method was indeed missing but when looking at the sources from the app server, the method was there. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138807#4138807 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138807 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Unable to passivate due to ctx lock, then JBossRollbackExcep
Hi I'm encountering the following with our app running on JBoss 3.2.6 on Linux. I've found what seem to be related topics on this but they said that those issues were resolved in an older JBoss release: First I get several of each of these: WARN [Thread-7] org.jboss.ejb.plugins.AbstractInstanceCache:tryToPassivate:163 - Unable to passivate due to ctx lock, [EMAIL PROTECTED] WARN [Thread-7] org.jboss.ejb.plugins.AbstractInstanceCache:tryToPassivate:163 - Unable to passivate due to ctx lock, [EMAIL PROTECTED] WARN [Thread-7] org.jboss.ejb.plugins.AbstractInstanceCache:tryToPassivate:163 - Unable to passivate due to ctx lock, [EMAIL PROTECTED] WARN [Thread-7] org.jboss.ejb.plugins.AbstractInstanceCache:tryToPassivate:163 - Unable to passivate due to ctx lock, [EMAIL PROTECTED] WARN [Thread-7] org.jboss.ejb.plugins.AbstractInstanceCache:tryToPassivate:163 - Unable to passivate due to ctx lock, [EMAIL PROTECTED] Then eventually, an exception is thrown: ERROR [JMS SessionPool Worker-0] org.jboss.ejb.plugins.LogInterceptor:handleException:294 - TransactionRolledbackLocalException in method: public abstract void com.company.ejb.session.BatchSessionLocal.postBatchTxnWrapper(int,int,java.lang.String) throws com.company.common.exception.BatchException, causedBy: org.jboss.tm.JBossRollbackException: Unable to commit, tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=tjboss3//251, BranchQual=] status=STATUS_NO_TRANSACTION at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:415) at org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCMT.java:456) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:369) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:148) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:111) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331) at org.jboss.ejb.Container.invoke(Container.java:709) at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:419) at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:83) at $Proxy328.postCashReceiptBatchTxnWrapper(Unknown Source) at com.company.ejb.session.BatchSessionBean.doPostBatch(BatchSessionBean.java:723) 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:324) at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:282) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:148) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:111) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331) at org.jboss.ejb.Container.invoke(Container.java:709) at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:419) at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:83) at $Proxy325.doPostBatch(Unknown Source) at com.company.ejb.mdb.BatchProcessorBean.onMessage(BatchProcessorBean.java:97) ... ... Here is the Algorithm. It is run from a SLSB called from a MDB. ParentOldEntity - has many ChildOldEntity - will have corresponding ParentNewEntity ChildOldEntity - has corresponding OtherEntity - will have corresponding ChildNewEntity ParentNewEntity ChildNewEntity OtherEntity do a findBy on ParentOldEntity | Iterate ParentOldEntities | update ParentOldEntity | create ParentNewEntity | do a findBy on ChildOldEntity | Iterate ChildOldEntities | update ChildOldEntity | create ChildNewEntity | collect RelatedEntity key from ChildNewEntity | END | Iterate collected OtherEntity keys | do a findBy on OtherEntity with key | update OtherEntity | END | END In our tests, failures seem to depend on the number of ChildOldEntity/OtherEntity. REAL SERVER usually 1000 ParentOldEntity will not fail up to around 15000 ChildOldEntity/OtherEntity VM SERVER usually 1000 ParentOldEntity will not fail up to around 4000 ChildOldEntity/OtherEntity This is our BMP EntityBean configuration. container-configuration | container-nameStandard BMP EntityBean/container-name |
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Temporary folder name
Try doing an exploded deployment. Then no temp directory is created. See http://wiki.jboss.org/wiki/Wiki.jsp?page=ExplodedDeployment View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138813#4138813 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138813 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Help JBOSS PORTAL
Do you mean the server/default/data directory? If so, the XML files in there are created by the Hypersonic database and represent the contents of the portal. What kind of data did you want to get from there? Which version of JBoss Portal are you using? Did you download the JBossAS + Portal bundle? (The bundle uses Hypersonic as the database, which is acceptable to play around with the Portal and for development work, but for production you should use another database, such as MySQL or PostgreSQL.) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138815#4138815 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138815 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: question about WS client accessing local wsdl
Have you tried something like this: URL x = Thread.currentThread().getContextClassLoader().findResource(WSDL_NAME); where WSDL_NAME is the relative path to the file within the JAR. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138817#4138817 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138817 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: anyone else have issues with visual editor on OSX?
I'm already on Eclipse 3.3.2 when I get this behavior. Build id is M20080221-1800. WTP shouldn't be an issue as I deploy using ant build files... Any other versions or settings I should check? Thanks, Jason View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138818#4138818 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138818 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: WSRP: SAP EP versus JBoss
It actually looks like a mistake on my end... I have to check why I check the number of cookies and throw an exception if there is more than one but, right now, I don't see any reason not to allow more cookies... As far as the consumer agent string goes, I will implement a configuration switch so that people using a non-conforming consumer can relax the validation our producer performs... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138820#4138820 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138820 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Cant create Lifecycle for id: SEAM_PORTLET - error deplo
wesleyhales wrote : See http://blog.jboss-portal.org/2008/02/jboss-portlet-bridge-100-beta-released.html We are having the exact same problem that Tom is. What exactly are we supposed to see in that blog post? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138819#4138819 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138819 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Cant create Lifecycle for id: SEAM_PORTLET - error deplo
That there is a new bridge ;) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138822#4138822 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138822 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Connector modules are not deployed
I have created a JIRA issue: http://jira.jboss.org/jira/browse/JBIDE-1954. Thank you a lot for your attention. Also, sorry for some disinformation â publishing standalone connectors is impossible for standard JBoss server (I wrote before that it is possible, but I failed to do it again), but it works well with connectors packaged in EAR while JBoss Tools one doesn't work in both cases. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138825#4138825 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138825 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Cant create Lifecycle for id: SEAM_PORTLET - error deplo
Yes, I've used the portlet bridge 2.0.0-beta1 and Seam 2.1.0.A1 and got it to work. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138827#4138827 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138827 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: lead time integration
The PVM (Process Virtual Machine)is the next big thing in jBPM-country ;-) It is a virtual machine on which you can define process languages. Such a language is JPDL for example. Check jbpm.org for more info. So, using this PVM you could define your own language that incorporates exactly what you need. But about your problem: How far can you go using the data in the jBPM log? All the transitions, parallel execution paths, ... are logged to the database. You can query this data and visualize it as needed. So, the stuff you need is not offered out-of-the-box by jBPM. But then again, using jBPM you can build most of the this with plain Java (with some work off course). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138829#4138829 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138829 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: j4j:listTasksForActor and j4j:listPooledTasks ?
no View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138832#4138832 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138832 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: j4j:listTasksForActor and j4j:listPooledTasks ?
or . yes: 1: use seam 2: build your own gui View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138833#4138833 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138833 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Dynamic task creation
this code is a little more and more info, however, I still cannot run it. The code that use the jbpm api etc is not there, so how you signal things etc is still not clear. So I cannot run it. Look in the jbpm source to see how to write such unittests. It's so much easier to see express what you expect and so much easier for others to understand without having to write 'normal' sentences. how to 'bind' new tasks to a process is in the example in the wiki View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138834#4138834 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138834 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: ava.lang.ClassCastException: java.lang.ClassNotFoundExce
Just a quick answer from a jetty point of view the TCCL for the webapp is set by jetty in the ContextHandler and is not unset until the finally block is called. So in the stack trace,you can see: 12:48:11,673 ERROR [org.jboss.logging.util.LoggerStream.write(LoggerStream.java:152)] at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726) So as far as jetty is concerned the TCCL should be set. Of course that does not stop something else unsetting or setting it to something different. I've created a jetty task: http://jira.codehaus.org/browse/JETTY-544 to track this issue , so if it does look like a Jetty bug we can pick it up. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138837#4138837 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138837 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: java.lang.ClassCastException
Hi, Victor As I thought, you are using a previous JBoss AOP version, that lacks the fix. You will have to either stick with your fix, or you can also upgrade to our CR release, which will allow you to use your advice with the original signature. A third alternative would be editing your pointcut expression, in a way that it matches only field read joinpoints. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138838#4138838 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138838 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: ava.lang.ClassCastException: java.lang.ClassNotFoundExce
Thanks, Greg. TBH I'd be very surprised if this were a Jetty problem. northgorky wrote : | - What's getting done to/in the classloader that is causing it to fail this spectacularly? Its almost like its been told to clear itself of all classes, and clear the parent classloaders as well. | That's the big question we're trying to figure out. northgorky wrote : | - How do you get a ClassCastException on a ClassNotFoundException? (Seeing this one quite a bit) | Not sure what you mean. You've mentioned other failure types beside what you've linked; please provide details, maybe they will provide a clue. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138841#4138841 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138841 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Connector modules are not deployed
Sorry for the slow response here. It seems I had overlooked connectors. This was a big error and has been fixed in svn. I'm very sorry for the inconvenience. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138843#4138843 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138843 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - EJB3 way of recreating Xdoclet's @jboss.audit feature?
Hello folks, Xdoclet has a feature where I can ask it to modify an entity bean with the correct last-updated time and last-modified-by user via the tag @jboss.audit (see the details at http://xdoclet.sourceforge.net/xdoclet/tags/jboss-tags.html). I'm trying to use an @EntityListeners entry to do the same thing. Unfortunately, I have *no* way of accessing the current context, so I can't pull out the principal from it! If the entity listener callback *were* a session bean, this would be possible, but it isn't! (Should I make it one?) Here's how I'm stuck: | public class VOEntityListener | { | | @PrePersist | public void prePersist(AbstractVO abstractVO) | { | // how do I get the session context? | } | } | @Resource private SessionContext ctx; or injecting session beans with @EJB doesn't work! The only thing with access to the context is a session bean, and I'm not even sure I *can* make a session bean into an entity listener. Please help! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138845#4138845 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138845 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - how to shutdown jboss
i used to start my Jboss 4.2.2 like | run.sh -b 10.11.114.12 but when i tried to shutdown like shutdown.sh it is showing error | javax.naming.CommunicationException: Could not obtain Connection to any to these urls: localhost:1099thanQ then i tried like | shutdown.sh -S 10.11.114.12 | any suggetions thanQ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138846#4138846 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138846 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: how to shutdown jboss
go answer shutdown.sh --server= 10.11.114.12 -S View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138847#4138847 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138847 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Code example for a basic parsing deployer
Just wondering if there is a code example somewhere of a simple parsing deployer using the JAXB stuff. I'm having a hard time figuring out the intended usage based on the documentation (a lot of the deployer stuff is still missing from the docs it seems). The documentation, in many cases, says things like The BeanMetaData provides top level information and access to the more detailed information about the bean deployment or The purpose of Structure Deployer is to recognise the deployment type and prepare this information for the actual Deployers. These are all good, concise explanations for the purpose of these concepts. But then fails to explain how to actually use them in practice; e.g. I'm looking for something that says To actually implement a deployer, extend XXX and provide implementations for YYY and ZZZ. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138848#4138848 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138848 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user