[jboss-user] [JBoss Seam] - Re: Validation oracle date field
I' m not sure what you mean, my class is an entity, user object with a field java.util.Date @Entity public class User{ private Date startdate; @Basic @Temporal(TemporalType.DATE) @NotNull public Date getStartdate() { return this.startdate; } public void setStartdate(Date startdate) { this.startdate = startdate; } } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063805#4063805 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063805 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: uninitialized nodes
There really should be options you can set to override loading from the cache loader, or for ignoring the return values for Node.put(key, value) or Node.remove(key) . You should be able to remove the interceptors after you load to disable loading and saving. It would be nice if there was a "disable()" method on Interceptor. Interceptor.invoke() might have been public/final and delegated to a protected abstract method ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063803#4063803 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063803 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: JNDI lookup problem from remote client present in Extern
use -Djava.rmi.server.hostname=220.225.ZZZ.XXX in your server startup script. That will solve the problem View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063801#4063801 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063801 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - AJP connector holding onto Tomcat threads
My application uses JBoss 3.2.6 running Tomcat 5.5. I have not specified the connectionTimeout attribute on the AJP connector between Apache and Tomcat running within JBoss - with the idea that the connections get reused between web requests. 99% of the requests that come into this application are stateless. I notice that the number of Tomcat threads that are being used to KeepAlive the connections between Apache and Tomcat is much higher than the concurrent number of requests coming into Apache. It looks like the connection is marked as busy and hence Apache picks a new thread - which over a period of time results in exhaustion of all Tomcat threads. I am thinking of applying connectionTimeouts in order to force these threads to give up Apache connections and restablish new ones- but was wondering why Tomcat holds onto these threads instead of using them for the subsequent Apache requests. Thanks Ramdas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063798#4063798 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063798 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: uninitialized nodes
Thanks for the updates and sorry for messing up the jira issue "[EMAIL PROTECTED]" wrote : | This is not entirely correct since even when you first put a node in the cache, it does need to (try and) load it from the cache loader in case it is not really a new node but one that was evicted. | Why should it load it when I put? It doesn't even do that currently. "[EMAIL PROTECTED]" wrote : | Doing a put(node, key, value) is expected to return the old value under that key and hence the need to load. | I didn't put(node, key, value), but put(fqn, map). And it didn't load it from the cacheloader, until I tried to "get" something. I guess it did that because it thinks it should merge the map I gave it with the existing data. I need a way to tell it "just put this data and don't load anything". It should also not write that data to the cacheloader (this is yet another issue, I used a workaround for that too). The ultimate goal is to do my own optimized preloading of data from a database. I wonder if the way to solve it is to have another "special" method like putForExternalRead. Anyway, as I said, my program works now with a cache listener and no cache loader. That will only run into problems if not all the data is present in the cache all the time. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063797#4063797 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063797 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - How to invoke a Seam component with h:selectBooleanCheckbox
Hello all, Is there a way for me to invoke a Seam's component method (Stateful EJB) when user clicks on a check box (perhaps modeled as h:selectBooleanCheckbox)? Thanks -tony View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063791#4063791 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063791 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Using stateless beans generated by seam in standalone Ja
Seam lets you use Ejb3 session beans or plain java beans as components. (See the documentation linked to by enzhao). Many of the examples use session beans. Seam-gen creates apps that use java beans. So no, you couldn't remotely use them. However, I don't think it'd take too much work to turn them into Ejb3 session beans. You'd have to create a business interface for them and tag them with @Stateful. I think that's it, though don't quote me on that. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063790#4063790 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063790 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Dynamic navigation
You might look at the code in RenderNavigationHandler and NavigationHandler; it might give you some ideas. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063789#4063789 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063789 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Using stateless beans generated by seam in standalone Ja
Thanks for the reply and code example. But I thought the code generated by seam-gen is not ejb (please refer to my above first message). I am very shallow on seam so far. When I follow the seam tutorial of the Registration example, everything is making sense, like you will code the session bean with annotation @stateless and entity bean with @entity. What's more, there is a ejb-jar.xml for deployment descriptor and each bean has remote methods that client can call, for example method register(). However, if you look closely at the generated code as I posted above, for table host, seam-gen generated 2 java files in src/Action folder, which I think should be where session beans are. They HostHome.java and HostList.java. By looking at those code closely, they do not have annotation @stateless or @entity. What is more, I do not know what remote methods will execute CRUD operations. For example, in HostHome.java, it has setHostId, getHostId, isWired, wire, getDefinedInstance. If I need to update the records, what remote method to call? I am not very familiar with JPA. I thought the code you put in the last message is for client to use JPA to query database. That is terrific. However, because seam-gen generated data-access layer codes like session bean and entity beans, I would like to be lazy and use the generated codes in client directly. After a little reading of seam, it occurs to me that seam-gen generated data-access code in src/Action folder is not suitable for direct call from a standalone java application. Please correct me if I am wrong. I really need some jboss seam guru to tell me if there is a way for standalone java client (replacing jsf) to reuse seam-gen generated data-access codes. seam-gen is great, but it's just too mysterious for me to us in a not so usual way. Thanks for your attention nd help View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063788#4063788 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063788 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Extract EJBs from jboss-seam.jar
Pete, Wouldn't it be weird to use element for jboss-seam.jar while everything in there is not EJBs? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063785#4063785 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063785 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - how to programatically set jdbc connection string for hsqldb
Hi, I am very new to jbpm and trying to programatically set the hsdqldb connection string instead of using the defaults set in hibernate.cfg.xml. All of the defaults in the hibernate config file are acceptable with the exception of the jdbcconnection string (I need to construct the location of the database at runtime). I'm using the below code where connection is a javax.sql.Connection that has been populated with the jdbc connection string. | JbpmContext jbpmContext = Jbpmconfiguration.getInstance().createJbpmContext(); | jbpmContext.setConnection(connection); | I thought that interjecting the setConnection into the context would override the jdbc connection string that is in the hibernate.cfg.xml file (based upon the jbpm chapter on persistence). However, the jbpm instance that is starting up is still using the jdbc connect string from the config file instead of the one that is passed into setConnection. I would appreciate any help or thoughts. Tammy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063783#4063783 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063783 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Home and component interface references in clustered JBoss
Hi all, I have a questions about home or component interface references in clustered JBoss, about how they are saved, replicated and managed. They always say "try it" so I wrote a small example to illustrate my point. Basically my question is about how and why home, component and local home references work in clustered JBoss. I would very much appreciate an expert opinion. Below is my example. Many thanks to you all in advance. I run JBoss 4.0.5 as a cluster (I put apache with mod_jk) on two boxes, say box1, box2 which makes two nodes: node1, node2 respectively and I use farming to deploy my ejbs. So I put myEjb.jar into farm on node1 and it get distributed to node2 I enabled a NON-sticky approach (just a test to illustrate my question and be able later on to go to another server that does not support sticky) so requests go a box1/box2/box1 in a round-robin manner. The call is like this JSP -> servlet -> SFSB. I am testing this Stateful Session Bean (let's call it AddressManagerHome). It is a facade for two other stateful beans (it is just a test to illustrate my question). Servlet gets reference to component interface of the bean and stores it into the request. For this particular test my SFSB has 3 instance variables (here they are just to make things clear) protected AddressHome addressHome = null; (reference to home interface) protected Address address = null; (reference to component interface) protected WorkAddressLocalHome workAddressHome = null; (reference to local home interface) they are all initialized in ejbCreate of the bean. So I create bean in the servlet like this public class AddressManagerServlet extends HttpServlet { AddressManagerHome home = (AddressManagerHome) ServiceLocator.getInstance().getRemoteHome(.); AddressManager bean = home.create(); bean.testAll() where testAll() does 3 things: 1. for home reference (addressHome) it creates component interface and calls method : Address bean = addressHome.create(); bean.test(); 2. for component reference (address) it just calls method : address.test(); 3. for local home interface it creates home component reference and calls method : WorkAddressLocal bean = workAddressHome.create(); bean.test(); Now, the 1st request goes to node1 and everything works fine. Then 2nd request (same session, I use encodeURL) goes to node2 and everything is fine again. WHY I understand why case N1 is fine, we just have reference to remote home so no problem there but why in case N2 it is fine? If we created ejbObject on node1 and then call it from node2? How is node2 even aware of address bean being created earlier in node1?? Shouldn't it say I have no idea, create reference to component interface again? And why is case N3 is fine? It is a reference to local to home. Which is by definition local to VM ! So if WorkAddressLocalHome is created in node1 then node2 should have no idea what it is. So how does exactly clustering in JBoss work? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063782#4063782 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063782 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - How to use TomaHawk with JBPM?
I want use Tomahawk's compnents. My .xhtml is : http://www.w3.org/1999/xhtml"; | xmlns:ui="http://java.sun.com/jsf/facelets"; | xmlns:c="http://java.sun.com/jstl/core"; | xmlns:h="http://java.sun.com/jsf/html"; | xmlns:f="http://java.sun.com/jsf/core"; | xmlns:tf="http://jbpm.org/jsf/tf"; | xmlns:jbpm="http://jbpm.org/jsf"; | xmlns:t="http://myfaces.apache.org/tomahawk";> | | | | | | | | | | | | | | | | | . But when i try to Examine ,i get a error as follow com.sun.facelets.FaceletException: Error Parsing /2/task.xhtml: Error Traced[line: 28] Invalid byte 1 of 1-byte UTF-8 sequence. | com.sun.facelets.compiler.SAXCompiler.doCompile(SAXCompiler.java:234) | com.sun.facelets.compiler.Compiler.compile(Compiler.java:105) | com.sun.facelets.impl.DefaultFaceletFactory.createFacelet(DefaultFaceletFactory.java:197) | com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:144) | com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:293) | com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:240) | org.jbpm.jsf.core.handler.IncludeProcessFileHandler.apply(IncludeProcessFileHandler.java:88) | com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47) | com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314) | com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169) | com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314) | com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169) | com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47) | com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314) | com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169) | com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47) | com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314) | com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169) | com.sun.facelets.tag.ui.DefineHandler.apply(DefineHandler.java:58) | com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:128) | com.sun.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:306) | com.sun.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:279) | com.sun.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:68) | com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47) | com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49) | com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47) | com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25) | com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248) | com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294) | com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273) | com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:143) | com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:113) | com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49) | com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25) | com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248) | com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294) | com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273) | com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:143) | com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:113) | com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49) | com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25) | com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95) | com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:503) | com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:546) | javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:178) | com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106) | com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248) | com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144) | javax.fa
[jboss-user] [JBoss Seam] - Re: seam email unwanted text in email
Well it's the same in outlook, gmail and squirrelmail. It is also the same whether i send it from my production server (Jboss 4.0.5. Linux, ) or my desktop (JBoss 4.0.5, Windows) which are using different smtp servers. If i don't use the I don't get this --=_Part..etc texts, but instead my emails looks like they have an attachement, which they do not have. Any ideas? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063779#4063779 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063779 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Dynamic navigation
I almost succeeded in solving this problem with this code: | @In | private FacesContext facesContext; | | public void navigate () { | | String page = "/pages/articles/xyz.xhtml"; // This could be any page, collected from database | | UIViewRoot root = facesContext.getApplication ().getViewHandler ().createView (facesContext, page); | try { | facesContext.getApplication ().getViewHandler ().renderView (facesContext, root); | } catch (IOException ioe) { | log.error (ioe); | } | } | But I also get an IllegalStateException, so I guess this is not the right way of doing this. ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception | java.lang.IllegalStateException | at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:404) I have also tried this code: | @In | private Renderer renderer; | | public void navigate () { | String page = "/pages/articles/xyz.xhtml"; | renderer.render (page); | } | but it just gives me NPE. Any help would really be appreciated! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063778#4063778 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063778 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Dynamic navigation
I have an action method which gets which view i want to redirect to. I return this as a String. Then i get a browser redirect. I read in the manual: Note that when you use a view id as an outcome, Seam always performs a browser redirect. so this is the way it should be. My question is: How do i do if I don't want a browser redirect? I just want to render the view without the URL in the browser changing? I cannot use the navigation rules in pages.xml because the view-id is dynamic, I recieve it from my action method (getting it from the database). How do I dynamically, programatically render my dynamic view in my Action Method? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063775#4063775 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063775 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Mail Node error
I got the following error: Exception: org.hibernate.HibernateException: instance not of expected entity type: org.jbpm.graph.node.MailNode is not a: org.jbpm.graph.def.Node when I tried to deploy a process definition with View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063773#4063773 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063773 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Mail Action error
I got the following error: Exception: org.hibernate.HibernateException: instance not of expected entity type: org.jbpm.graph.action.MailAction is not a: org.jbpm.graph.def.Action when I tried to deploy a process definition with View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063772#4063772 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063772 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - JMS exception: javax.jms.IllegalStateException: Method not a
Greetings all, I am using JBoss 3.2.5 to implement a JMS mail queue, I always get following exception: 2007-07-13 10:43:49,213 INFO [STDOUT] javax.jms.IllegalStateException: Method not allowed 2007-07-13 10:43:49,213 INFO [STDOUT] at org.jboss.resource.adapter.jms.JmsSession.checkStrict(JmsSession.java:388) 2007-07-13 10:43:49,213 INFO [STDOUT] at org.jboss.resource.adapter.jms.JmsMessageConsumer.setMessageListener(JmsMessageConsumer.java:111) 2007-07-13 10:43:49,213 INFO [STDOUT] at au.gov.nsw.community.mail.MailConsumer.consume(MailConsumer.java:88) 2007-07-13 10:43:49,213 INFO [STDOUT] at au.gov.nsw.community.forms.servlet.FormSubmitServlet.init(FormSubmitServlet.java:52) 2007-07-13 10:43:49,213 INFO [STDOUT] at javax.servlet.GenericServlet.init(GenericServlet.java:211) 2007-07-13 10:43:49,213 INFO [STDOUT] at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1019) 2007-07-13 10:43:49,213 INFO [STDOUT] at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:687) 2007-07-13 10:43:49,213 INFO [STDOUT] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:144) 2007-07-13 10:43:49,213 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) 2007-07-13 10:43:49,213 INFO [STDOUT] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) 2007-07-13 10:43:49,213 INFO [STDOUT] at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) 2007-07-13 10:43:49,213 INFO [STDOUT] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) 2007-07-13 10:43:49,213 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) 2007-07-13 10:43:49,213 INFO [STDOUT] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:72) 2007-07-13 10:43:49,213 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) 2007-07-13 10:43:49,213 INFO [STDOUT] at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:275) 2007-07-13 10:43:49,213 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) 2007-07-13 10:43:49,213 INFO [STDOUT] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) 2007-07-13 10:43:49,213 INFO [STDOUT] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) 2007-07-13 10:43:49,213 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) 2007-07-13 10:43:49,213 INFO [STDOUT] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) 2007-07-13 10:43:49,213 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) 2007-07-13 10:43:49,213 INFO [STDOUT] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) 2007-07-13 10:43:49,213 INFO [STDOUT] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) 2007-07-13 10:43:49,213 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) 2007-07-13 10:43:49,213 INFO [STDOUT] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) 2007-07-13 10:43:49,213 INFO [STDOUT] at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) 2007-07-13 10:43:49,213 INFO [STDOUT] at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) 2007-07-13 10:43:49,213 INFO [STDOUT] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) 2007-07-13 10:43:49,213 INFO [STDOUT] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) 2007-07-13 10:43:49,213 INFO [STDOUT] at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) 2007-07-13 10:43:49,213 INFO [STDOUT] at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) 2007-07-13 10:43:49,213 INFO [STDOUT] at java.lang.Thread.run(Thread.java:534) the line in the MailConsumer() code is: public void consume() { try { QueueConnection con = _factory.createQueueConnection(); _session = con.createQueueSession(false, Session.AUTO_ACKNOWLEDGE); QueueReceiver subscriber = _session.createReceiver(_queue); /*line 88*/ subscriber.setMessageListener(this); System.out.println("*** MailConsumer:start ..."); con.start(); } catch (Exception e) { e.printStackTrace();
[jboss-user] [JBoss jBPM] - mail.class.name Delegation
Why I have put a statement: in jbpm-configuration but it still delegates to org.jbpm.mal.Mail for notification? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063770#4063770 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063770 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Could this be deadlock when modifying TreeCache
Manik, Thanks for your tip. Is there a way to monitor the FC stats to find out if it really is the cause of the bottleneck. There is a lot of history behind the values that have been set currently and the team is reluctant to make changes since in the past their experience has not been very pleasant. thanks Ramdas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063768#4063768 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063768 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - ClassnotFoundError while trying to use wsrunclient
I am trying to run a WebService client generated using wsconsume from JBoss 4.0.5 running on JDK 1.6 using wsrunclient and am running into this error. I do have jaxb-impl.jar in the classpath. How do I ger arounf this issue. Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/xml/bind/api/ TypeReference at com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeMo deler.java:571) at com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java :492) at com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java: 334) at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler. java:220) at com.sun.xml.ws.client.WSServiceDelegate.addSEI(WSServiceDelegate.java :588) at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.jav a:291) at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.jav a:274) at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.jav a:267) at javax.xml.ws.Service.getPort(Service.java:92) at com.extremenetworks.epicenter.client.webservice.ClientManagerBeanServ ice.getClientManagerBeanPort(ClientManagerBeanService.java:51) at com.extremenetworks.epicenter.client.webservice.Test.main(Test.java:2 2) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063767#4063767 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063767 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Unable to connect remotely
I am unable to connect to JBoss from a remote client. I am also unable to connect locally (on the server) using its external IP. The only way I can connect is using 127.0.0.1. I have disabled the firewall and SELinux and rebooted the server. JBoss version is 4.2.0GA. Server OS is CentOS5. I have tested by running as root is case there was some permissions issue. I have tested both ports 8080 and 80. I am testing by telnet to the IP and port. Interestingly, I started up Apache on port 80 and I can access it remotely, so this leads me to the conclusion that it is a JBoss issue and not a problem with the setup of the server. Anyone got any ideas what the problem might be? Thanks Mark View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063766#4063766 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063766 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: very slow bdbje loader implementation (CR3)
Are you saying that the jdbm loader doesn't support the semantics of the cache properly? If so http://jira.jboss.com/jira/browse/JBCACHE-696 would be a negative? Am I correct in thinking that the FQN is really the "key" and that the fanout of actual keys underneath should be kept very small? Do the jdbc loaders update a row/single key in a node at a time? If so, how do they support the semantics of the cache? Are there any hints recorded as to how to design a cache structure for optimal performance? Lots of questions, apologies... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063763#4063763 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063763 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JBoss 4.2/Seam 1.2.1/Ajax4jsf 1.1.1: Could not destroy c
Hi Pete (and others): A question: I am unclear as to how adding the el JARs would help in this case. Because I am running JBoss AS 4.2, they should not be necessary. Could there be an incompatibility issue between these technologies that would cause the NoClassDefFoundError when the attempt is made to destroy the component? I would be happy to provide a small test EAR if so desired. To clarify, the environment I am seeing this issue in is: | JBoss AS 4.2.0.GA | Seam 1.2.1 GA | Ajax4jsf 1.1.1 | JSF 1.2 (Presumed to be the case due to running AS 4.2) | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063760#4063760 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063760 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: I am thinking there is some kind of deployment bug...
I completely removed the jboss installation and reinstalled. Took the exact same ant file with the exact same sources and deployed in the exact same way. Everything works. I believe there is a clean up issue in the jbossws 2.0 or something. I suspected this when I finally started trying to just deploy a standard servlet with the same war file name. Jboss spit out errors about the old WebService which I knew to be impossible given the files I had deployed. Something was being cached somewhere incorrectly. On reinstall everything worked fine. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063759#4063759 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063759 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Can I deploy ws4ee endpoint to a separated TomCat?
Hi, there: As a newbie to web service, I have a "silly" question about jbossWS. All WS4EE web services (both stateless ejb and pojo style) deployed on jboss/deploy directory finally would be deployed on embedded Tomcat, am I right? So, the question is if I have another servlet container running separately from JBoss (for example, Jetty), where I deploy all my web applications, can I deploy ws4ee (not Axis style) web services on that separated independant from JBoss web server? Thanks a lot in advance David View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063758#4063758 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063758 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: migration from 1.2 to 2.0beta1 @In
The lack of qualification for the component name presents this risk. Why not make it best practice to qualify the component name? So built-in components are "org.jboss.seam.Session", and my own objects would be "com.domain.project.Session". I know it seems verbose, but it just seems practical for large projects. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063756#4063756 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063756 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: EntityHome and optimistic transaction
Hi, pete. Thanks for your comment. I'll try to write my dirty checking code. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063754#4063754 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063754 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - adding getAttributes() / setAttribute() to BaseSeamTest.Requ
I have requested that there be a way in the SeamTest to get the request-scope attributes (and also set one). http://jira.jboss.org/jira/browse/JBSEAM-1657 Ah, and I can justify why now (car rides are always useful for these things). In the Expressions class (and perhaps JSF in general), you cannot set the value of an arbitrary value binding. The root has to resolve to some bean somewhere. However, you can place things manually into different scopes, which Seam handles when it outjects. So by setting the request scope attribute, you are emulating what would occur from an outjection of some other Seam component. Let me provide an example: This is fine: @Name("user") | public class User { | private String name; | |// getters and setters | } ...inside test setValue("#{user.name}", "Mike"); This is not fine (does nothing): setValue("#{madeupexpression}", "Mike") However, if your Seam component has a "madeupexpression" property that needs to be injected, then you need a way to make this value available in the test. You are emulating the @Out that perhaps occurred in some other part of the code. Here is what will work: @Name("someComponent") | public class SomeComponent { | @In | private String madeupexpression; | } ...inside test setAttribute("madeupexpression", "Mike") // proposed | Component.getInstance("someComponent"); | System.out.println("You've got no errors"); Hopefully that makes it clear why we need this. Or, perhaps someone can tell me how I am doing it all wrong. How do you prepare a value expression that would have been outjected by another component? Assume that the other component is not used in the test. I do know about setField(), but assume that you are not instantiating the object manually but rather using Component.getInstance("someComponent") to get it. When this call is made, all the dependencies have to be available. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063753#4063753 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063753 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - calling seam component from an action that was started from
Is there a way to call a seam component from an action in a process if that process was started in a non-seam web app. The seam component lives an ejb layer and I have both seam/non-seam front ends using the component. I can get the component if I do Component.getInstance("xyz",ScopeType.EVENT,true), however non of it's @In references are injected. I haven't setup the seam web app to enable jbpm due to the fact that i don't want to have to identify the process definitions off the bat to the seam configuration. And i don't use seam to jbpm, but it would be nice to do jbpm to seam. Any suggestions would be helpfu, or links if I've missed something in the documentation. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063749#4063749 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063749 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: An error occured while rendering window 'default.Admin.M
that was it, i have to change the jdk 6 for 5 and classpath and works perfect thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063748#4063748 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063748 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: flushMode= MANUAL, when does commit happen? And other qu
This is very suspicious code, it should not work and this should be correct: | entityManager.remove( entityManager.merge(this.recipe) ); | Merge does not reattach the given instance, it returns an "attached" managed instance. Which is the right state for removing. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063747#4063747 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063747 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Support for xi:include
My bean configuration comes from different projects and I like to do something like | http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="urn:jboss:bean-deployer bean-deployer_1_0.xsd" | xmlns:xi="http://www.w3.org/2001/XInclude"; xmlns="urn:jboss:bean-deployer"> | | | | | | By default XInclude procession is not enabled in xerces http://xerces.apache.org/xerces2-j/faq-xinclude.html Can XInclude processing please be enabled by default or is there an alternative way to achieve bean includes. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063746#4063746 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063746 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Multiple schemas using seam-gen settings
And the answer is... Don't run seam generate-entities with a defined schema and... | @Entity | @Table(name = "table-name", schema = "schema-name") | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063742#4063742 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063742 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - seam 1.2.1GA - belowField / description facet
I'm trying to add a belowField facet, but it is not being displayed on my form. Google shows that Seam 2.0 may have changed this to be called "description", but the 1.2.1 docs still document belowField. I've tried both -- neither displays on my form (and I see nothing in the generated HTML). Can anyone help me spot an error here? | | naicsCode | | | | Does belowField Display? | Does description Display? | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063741#4063741 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063741 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: consume WS error after update to JBossWS 2.0
I have a similar problem. ( Running 4.0.5 with JBossWS2.0.0-native.GA. ) When I remove these two jars from my path, my client won't get out of first gear. It complains of missing xerces libraries. | Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/xerces/xs/ | XSModel | at org.jboss.ws.metadata.builder.jaxws.JAXWSClientMetaDataBuilder.buildMetaData | (JAXWSClientMetaDataBuilder.java:81) | at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.(ServiceDelegateImpl.j | ava:131) | at org.jboss.ws.core.jaxws.spi.ProviderImpl.createServiceDelegate(ProviderImpl. | java:61) | at javax.xml.ws.Service.(Service.java:83) | at com.boeing.nmt.client.ws.NetworkLocationService.(NetworkLocationServic | e.java:45) | at com.boeing.nmt.client.ws.NLSClient.main(NLSClient.java:23) | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063739#4063739 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063739 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: Passing current user identity to the back-end database
I catch the policy question-answer thing, thanks:-) Good to hear that I'm step further. "[EMAIL PROTECTED]" wrote : | You don't have a default user/password for such contexts.. | Where can I set default user/password that can be used during deployment? In the datasource file: | | | dbtestDatasource | jdbc:postgresql:dbtest | org.postgresql.Driver | testdbRealm | deployment_usr | deployment_pwd | | | What about the name/password from the application-policy it can't be used in the deployment context? | | | | dumy | dumy_pwd | jboss.jca:service=LocalTxCM,name=dbtestDatasource | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063737#4063737 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063737 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: flushMode= MANUAL, when does commit happen? And other qu
yes tested, it worksThe @Destroy method is now like this | @Remove | @Destroy | public void destroy() { | if (!this.completedOrCanceled) { | if (this.motherEntity.getId() != null) { | entityManager.merge(this.recipe); // without merging there might be exception saying you are trying to remove a detached object. | entityManager.remove(this.recipe); | entityManager.flush(); | } | } | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063736#4063736 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063736 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Server.log displays wrong time
First time user, apologies if this is the wrong place to post this. 21:05:19,312 INFO [STDOUT] --> this line is 5 hours ahead of the actual time. The server time was 4:05 PM when this was printed. Appreciate any help you can provide on resolving this. Using jboss-4.0.2 and Windows 2K3 Regards, Shuvo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063731#4063731 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063731 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Missing library during create j2ee project with jboss-4.
I'm hitting the same issue Did you find a solution? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063730#4063730 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063730 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Using stateless beans generated by seam in standalone Ja
Here is an example of an "Application-Managed Entity Manager" from the book "Pro EJB 3" public class EmployeeClient { | public static void main(String[] args) { | EntityManagerFactory emf = Persistence.createEntityManagerFactory("EmployeeService"); | EntityManager em = emf.createEntityManager(); | | Collection emps = em.createQuery("SELECT e FROM Employee e") | .getResultList(); | for(Iterator i = emps.iterator(); i.hasNext();) { | Employee e = (Employee) i.next(); | System.out.println(e.getId() + ", " + e.getName()); | } | | em.close(); | emf.close(); | } * from page 117 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063729#4063729 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063729 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Latest info on Trinidad-Seam integration?
I found this on apache's wiki http://wiki.apache.org/myfaces/TrinidadSeamAjax4JsfFaceletDetail. However, it's about Seam 1.2. Now that Seam is on 2.0 and Trinidad is on 1.2.1, I wonder if there is any updated information regarding the integration of the two for their latest versions. Also, when looking in some Seam examples in CVS, I noticed that there seems to be two JARs for Trinidad integration: 1. a4j-trinidad.jar 2. jboss-seam-trinidad.jar Can someone explain the use of each? And where to officially get them? Thanks, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063728#4063728 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063728 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - MaxSpareThreads issue.
Below information is captured from JMX (Tomcat Status). The question is the max spare threads (idle) is configured to 200. As per below threads busy is only 28. It still shows current thread count as 300 instead of 200 (which is max spare thread configuration). One time we did reach that busy thread mark but after threads died, it is still retaining 300 threads in memory instead of 200. Max threads: 300 Min spare threads: 50 Max spare threads: 200 Current thread count: 300 Current thread busy: 28 Max processing time: 982691 ms Processing time: 656313.7 s Request count: 5127910 Error count: 6189 Bytes received: 1913.45 MB Bytes sent: 29500.69 MB View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063727#4063727 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063727 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Using stateless beans generated by seam in standalone Ja
The entity beans generated by seam-gen are EJB3 beans. I don't see any reason why you should not be able to use them directly in a stand alone java application (outside of JBoss). You will have to create an application managed persistence context to do so. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063726#4063726 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063726 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: PojoCache with Compile Time Weaving on JBoss 4.2.0 ?
Are you certain that there is no other pojo.ClienSession class in the entire system? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063723#4063723 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063723 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - Re: Too many MDB's
I changed the maximumSize down to 5 and it works now. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063722#4063722 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063722 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - Re: Too many MDB's
I changed the down to 5 and it works now. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063721#4063721 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063721 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Using stateless beans generated by seam in standalone Ja
The link above does not help me but I still appreciate it. I need idea if it is possible to use seam-generated code in plain java application. Based on my simple understanding of seam-gen, not seam, if I have a database with tables, I can use seam-gen to generate a web application in 5 minutes. That is terrific. However, I have another plain java application also needs to access and manipulate the database. I do not want to code another data-access layer. I would like to use the code generated by seam-gen. This standalone Java application will run out of JBoss and I wonder if my java code can use the seam-gen generated data-access code. Why it concerns me is the code generated by seam-gen seems not ejb3 (without @stateless etc.) and I do not know how could standalone java application look it up using JNDI (there is no ejb-jar.xml to define jndi binding). Could someone tell if it is doable, and if so, give me some direction. Many thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063720#4063720 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063720 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Using stateless beans generated by seam in standalone Ja
"JbossDing" wrote : ... My standalone Java client has no user interface at all, let alone JSF. Once the ejb code generated by seam-gen, I would prefer no code modification at all. Actually... | ROFL Nice one :) Good laugh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063716#4063716 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063716 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: .xhtml mime type problem
adding to my facelets page worked. I guess this was a myfaces/jsf 1.2 upgrade problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063715#4063715 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063715 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - .xhtml mime type problem after 4.2 upgrade(solution included
Solution: http://jboss.com/index.html?module=bb&op=viewtopic&p=4063715#4063715 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063717#4063717 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063717 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Reusable Action Buttons tag through Facelets Composition
hstang, not the way EL resolves, doing backingBean.create would literally resolve to backingBean and not the value of backingBean. -Samuel View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063710#4063710 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063710 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: LocalTxConnectionManager missing in JBoss4.2GA?
I'm having a similar issue converting from JBoss 3 to JBoss 4. My server log using JBoss 4.0.5 shows the following: org.jboss.deployment.DeploymentException: No ClassLoaders found for: org.jboss.resource.connectionmanager.LocalTxConnectionManager; - nested throwable:(java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.resource.connectionmanager.LocalTxConnectionManager I see it is missing from jboss-jca.jar. I don't see anything yet reading through the JBoss documentation on an alternative method. Should I look into TxConnectionManager or BaseConnectionManager2? -Todd View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063708#4063708 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063708 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Deploying to Weblogic 8.1
Burr, I think I can help out if this is really important to JBoss. Please contact Tom (Baeyens), I already had contact with him through mail discussing some 'free' (not as in beer ;-)) time I will have in the near future. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063706#4063706 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063706 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam on WAS
Hello, I need to develop an app that could potentially be required to run on WAS. I am planning on doing all the development using JBoss AS + Seam + EJB3. Are there any limitations out there that I should be aware? Any links that talks about this subject? Would dropping EJB3 help? Sorry if this has been asked before. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063704#4063704 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063704 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Reusable Action Buttons tag through Facelets Composition
Thanks Samuel for the tip. Just a question, is this Jboss-el because I didn't know you could do this. | backingBean[create] | You can't do backingBean.create instead ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063703#4063703 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063703 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: strange failover behaviour in clustered config
http://jira.jboss.com/jira/browse/JBMESSAGING-1013 thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063702#4063702 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063702 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: Passing current user identity to the back-end database
One "belt and braces" way to do it (if you want further guidance ask in the security forum) is to not deploy your application via hot deployment. Instead you would deploy an mbean that does the deployment programmatically. e.g. something like (pseudo code) | public class DeployWebApp implements DeployWebAppMBean | { |public void start() throws Exception |{ |loginUsingClientLoginModule(user, password); |try |{ |// really a JMX invocation |MainDeployer.deploy(urlToWebApp); |} |finally |{ |logout(); |} |} | |public void stop() throws Exception |{ | // Really JMX | MainDeployer.undeploy(urlToWebApp); |} | } | But there's some subtle issues like making your mbean depend on the JBossWEB (Tomcat) deployer so it doesn't try to deploy the url before Tomcat is available. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063701#4063701 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063701 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Reusable Action Buttons tag through Facelets Composition
Cool. Personally, I'd like to see more templating in seam-gen'd apps. They tend to look very copy-pasted, which makes it tedious to take a seam-gen'd app and tweak it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063700#4063700 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063700 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: StaleStateException from entity activation
After I upgraded to Seam 2.0, I also got the same error in my application about two weeks ago (http://www.jboss.com/index.html?module=bb&op=viewtopic&t=112769). I didn't have time to come up with a test case, so I'm glad that you also stumbled upon this problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063699#4063699 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063699 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: SAR Deployer: No Class Loaders found for Counter Service
I found I needed to add jmx-rmi-adaptor.sar from an old JBoss to get pass this issue. Is jmx-rmi-adaptor.sar not supported in JBoss 4.0.5? -Todd View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063697#4063697 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063697 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: strange failover behaviour in clustered config
I would create jira task. Sysadmin are not always smart enougth to deal with difficult situation such as queue recovery :) They know how to stop/start backup/upgrade. It's looks something more for DBA but even so. Thanks again. Jira task will follow View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063696#4063696 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063696 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: flushMode= MANUAL, when does commit happen? And other qu
Origingally, my icky comment was related to the fact that I think you *might* run into a problem using the rollback code on a method annotated with @Remove and @Destroy since I don't know whether these annotations result in the method being called at other times (i.e. the bean is passivated, and not destroyed). However, having a isCompleteOrCancelled flag would guard against any other calls you might get to that function. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063695#4063695 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063695 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: Passing current user identity to the back-end database
I'm going to bounce you around. ;-) The problem you have is really a Seam problem. That's because you already solved the problem you were trying to solve. JCA SIDE The configuration you have looks correct to me, provided you are running in a context where somebody has logged in. You don't have a default user/password so the datasource will be unusable in other contexts. That means your JCA issue is resolved. SEAM SIDE You don't use the testDBRealm within Seam, you need to provide a real mechanism to validate users and passwords. The JCA policy is for the question "what user/password should I use to access the database?". Your answer is "use the subject established on the thread". The Seam policy is for the question "how do I know the user/password typed in by the user is correct?". Your answer such be a real validation mechanism NOT "use what is already established on thread" which is most likely nothing. :-) This real policy will establish the subject on the thread. WHY THIS IS REALLY A SEAM/HIBERNATE/EJB3 QUESTION Your real problem is that there is some initialization during deployment. This runs on the deployment thread. There has been no login on that thread. You don't have a default user/password for such contexts so it is going to fail. If you don't want to specify a default then you need some hook or configuration where you can say "during deployment I want you to login as this user/password". View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063694#4063694 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063694 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Reusable Action Buttons tag through Facelets Composition
For all of your DRY fanatics out there: http://wiki.jboss.org/wiki/Wiki.jsp?page=ReusableActionButtons I'll be doing several more wiki articles on the subject in the next few days. -Samuel View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063693#4063693 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063693 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: StaleStateException from entity activation
Also, is it intended behavior that bar is not passivated at the end of the first request? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063692#4063692 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063692 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Cookies lost when included JSP file used
"[EMAIL PROTECTED]" wrote : The cookies in the included JSP pages are ignored. You're right. I see that under the JSP spec description for the include directive: http://sdlc-esd.sun.com/ESD24/JSCDL/jsp/2.1-fr/jsp-2_1-fr-spec.pdf?AuthParam=1184259549_291d84a0dc93c8ab5a265e4374e74aa3&TUrl=an1npDpbKod7kSYrROhENTonIeY4W0D1Lc4nXz+pGFFranixdCdgxDTPbW4=&TicketId=dVB+OQJINeg7/Q==&GroupName=SDLC&BHost=sdlc6g.sun.com&FilePath=/ESD24/JSCDL/jsp/2.1-fr/jsp-2_1-fr-spec.pdf&File=jsp-2_1-fr-spec.pdf anonymous wrote : An included page cannot change the response status code or set headers. This precludes invoking methods like setCookie. | Attempts to invoke these methods will be ignored. | The constraint is equivalent to the one imposed on the include method of the RequestDispatcher class. The workaround seems to be to have the base jsp file create the cookies. But doing that also seems to fail. Flipping around the example files I used above, the following also fails to create the cookie. Just including the file seemed to cause it to fail to create the cookie. jsptest.jsp <%@ page contentType="text/html" %> | | | | | | | | JSP Test | cookietest.jsp <%@ page contentType="text/html" %> | | | Hello from included page. | | After commenting out the include, the cookies show up. Is this what I should expect? Is there something else that I need to do? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063691#4063691 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063691 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: StaleStateException from entity activation
Ok, I've reproduced this situation in a simple test: | public class PassivatedEntityInParentConversationTest extends SeamTest { | | @Test | public void test() throws Exception { | String cid = new FacesRequest("/page.xhtml") { | @Override | protected void invokeApplication() throws Exception { | Bar bar = new Bar(); | bar.setName("bar1"); | EntityManager entityManager = (EntityManager) getValue("#{entityManager}"); | entityManager.persist(bar); | Contexts.getConversationContext().set("bar", bar ); | Manager.instance().beginConversation(); | } | }.run(); | | //bar is not passivated, because it was just added | | cid = new FacesRequest("/page.xhtml", cid) { | }.run(); | | //bar is now passivated | | cid = new FacesRequest("/page2.xhtml", cid) { | @Override | protected void invokeApplication() throws Exception { | Manager.instance().beginNestedConversation(); | } | }.run(); | | cid = new FacesRequest("/page.xhtml", cid) { | @Override | protected void invokeApplication() throws Exception { | Bar bar = (Bar) Contexts.getConversationContext().get("bar"); | bar.setName("bar2"); | EntityManager entityManager = (EntityManager) getValue("#{entityManager}"); | entityManager.flush(); | } | }.run(); | | //bar is not passivated, because it is not in the current conversation, so its wrapper still holds the old version | | cid = new FacesRequest("/page.xhtml", cid) { | @Override | protected void invokeApplication() throws Exception { | Manager.instance().endConversation(false); | } | }.run(); | | cid = new FacesRequest("/page.xhtml", cid) { | }.run(); //exception occurs here at ConversationContext.unflush | } | } | Exception: | org.hibernate.StaleStateException: current database version number does not match passivated version number | at org.jboss.seam.persistence.HibernatePersistenceProvider.checkVersion(HibernatePersistenceProvider.java:174) | at org.jboss.seam.persistence.HibernatePersistenceProvider.checkVersion(HibernatePersistenceProvider.java:134) | at org.jboss.seam.contexts.PassivatedEntity.checkVersion(PassivatedEntity.java:133) | at org.jboss.seam.contexts.PassivatedEntity.getEntityFromEntityManager(PassivatedEntity.java:118) | at org.jboss.seam.contexts.PassivatedEntity.toEntityReference(PassivatedEntity.java:73) | at org.jboss.seam.contexts.EntityBean.activate(EntityBean.java:67) | at org.jboss.seam.contexts.ServerConversationContext.unflush(ServerConversationContext.java:234) | at org.jboss.seam.contexts.FacesLifecycle.resumeConversation(FacesLifecycle.java:129) | at org.jboss.seam.jsf.SeamPhaseListener.afterRestoreView(SeamPhaseListener.java:373) | at org.jboss.seam.jsf.SeamPhaseListener.afterServletPhase(SeamPhaseListener.java:211) | at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:184) | at org.jboss.seam.mock.BaseSeamTest$Request.restoreViewPhase(BaseSeamTest.java:706) | at org.jboss.seam.mock.BaseSeamTest$Request.emulateJsfLifecycle(BaseSeamTest.java:544) | at org.jboss.seam.mock.BaseSeamTest$Request.run(BaseSeamTest.java:487) | at org.uscm.crs.PassivatedEntityInParentConversationTest.test(PassivatedEntityInParentConversationTest.java:59) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:645) | at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:479) | at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:715) | at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125) | at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109) | at org.testng.TestRunner.runWorkers(TestRunner.java:673) | at org.testng.Test
[jboss-user] [Remoting] - Exposing MBeans with remoting
It is possible to expose any MBean with an invoker using JRMPProxyFactory, and it is possible to access any MBean with RMIAdaptor.invoke(...). The way of doing this is nicely decoupled from the target MBean. I would like to do the same things using remoting (ie. calling any MBean using invoke(..) and exposing an MBean with a typed interface - in both cases without changes in the implementation on the target MBean) - can anybody hint me on how to obtain this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063687#4063687 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063687 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - .xhtml mime type problem
I am trying to upgrade to JBoss 4.2(tomcat 6) and in mime type is always "application/xhtml+xml" and Firefox renders this as xml. Previously it was always "text/html". I tried changing this in both the server and the applications web.xml, but this has no effect. Any advice would be greatly appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063686#4063686 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063686 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Multiple schemas using seam-gen settings
I also tried adding to seam-gen.reveng.xml what is mentioned here: http://www.hibernate.org/hib_docs/tools/reference/en/html_single/#d0e1644 | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063683#4063683 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063683 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: JBoss Servlet making RMI call: Security Exception
Enable security manager at the JVM level and use a policy file as a parameter to the jvm startup. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063679#4063679 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063679 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: How declare user type inside ejb-jar.xml !!!!
Have u tried? pkg.classname View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063678#4063678 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063678 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Multiple schemas using seam-gen settings
So I have 2 sets of entitybeans from 2 different schemas. Before I ran seam generate-entities I edited the seam-gen.reveng.xml file within each project to read as follows. | | and in the other project | | The table names are different and so are the schemas. In my persistence.xml I have | | How can I setup my persitence so that entitybeans can access different schemas dynamically? Or where are the docs that tell me how to do this? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063675#4063675 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063675 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: using Java 6 Kerberos provider for http client connectio
I read someplace that you need something like .gss.initiate or such jaas login config name. Since it is not finding one, it is defaulting to other. Why don;t you enable the security trace level logging for JBoss. Then you will see what is happening with the jaas layer. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063673#4063673 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063673 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Programmatic Web Login
http://anonsvn.jboss.org/repos/jbossas/branches/Branch_4_2/testsuite/src/main/org/jboss/test/web/test/WebProgrammaticLoginTestCase.java is the test case that calls into a servlet (that does the programmatic web login) http://anonsvn.jboss.org/repos/jbossas/branches/Branch_4_2/testsuite/src/main/org/jboss/test/web/servlets/ProgrammaticLoginTestServlet.java is the servlet that does prog. login. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063671#4063671 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063671 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Clustered Connection factory
Is this issue resolved ? http://www.jboss.com/index.html?module=bb&op=viewtopic&t=108961 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063667#4063667 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063667 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: Asynchronous aspect support in 1.50 and 2.0
In AOP 2.0 we have been repackaging a bit. The "in-JBoss" aspects really belong to the app server version, and not in the aop release. By "in-JBoss" aspect I mean aspects that depend on running within JBoss. The AsynchronousAspect has no dependencies on JBoss classes, and so is shipped with the AOP 2.0 release. The AsynchAspect has dependencies on JBoss classes and so is not shipped with the AOP 2.0 release. HOWEVER, if you install AOP 2.0 into JBoss using the provided install scripts the JBoss dependent aspects (AsynchAspect, Security aspects etc.) exists in the app server. Hope this is clear enough. The following post explains the rationale behind this decision http://www.jboss.com/index.html?module=bb&op=viewtopic&t=107366 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063666#4063666 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063666 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JBoss 4.2/Seam 1.2.1/Ajax4jsf 1.1.1: Could not destroy c
Hi Pete. Thanks for your response. Unfortunately if I specify the el* JARs in my application.xml and add the JARs themselves to my EAR, the server fails to start with the following error. Removing the JARs causes the server to complain that they are missing. Is there something else I am doing incorrectly? | 11:19:54,838 ERROR [[/]] Exception sending context initialized event to listener instance of class org.jboss.w | eb.jsf.integration.config.JBossJSFConfigureListener | javax.faces.FacesException: java.lang.RuntimeException: java.lang.NoSuchMethodException: com.sun.faces.applica | tion.ApplicationImpl.addELResolver(javax.el.ELResolver) | at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:408) | at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigure | Listener.java:69) | at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4359) | at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761) | at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741) | at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553) | 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:597) | at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297) | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.apache.catalina.core.StandardContext.init(StandardContext.java:5310) | 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:597) | at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297) | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301) | at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104) | at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375) | at org.jboss.web.WebModule.startModule(WebModule.java:83) | at org.jboss.web.WebModule.startService(WebModule.java:61) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:417) | at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy45.start(Unknown Source) | at
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: jboss installation with easyEclipse JbossIDE
I did not understand that. If you are saying that you are using the JVM that comes with Debian, I recommend that you obtain and install the latest 1.5.0 JDK from Sun http://java.sun.com/javase/downloads/index_jdk5.jsp. The JVMs that come with Linux distros tend not to work properly with app servers. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063662#4063662 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063662 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: strange failover behaviour in clustered config
After power failure I would suspect a sysadmin would access the machines anyway to start everything up? If you want, you can add a JIRA feature request for the manual merge queue feature via JMX. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063661#4063661 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063661 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Reading threads are blocked
"FredrikJ" wrote : That would probably qualify as a double locked check which is unfortunately not thread safe (see http://www.ibm.com/developerworks/library/j-dcl.html). | | Correct, to do this lock would have to be made volatile, which would trigger a memory barrier. -Jason View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063660#4063660 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063660 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Asynchronous aspect support in 1.50 and 2.0
Hi, The 1.50 and 2.0 differ on the support for Asynchronous aspect. 1.5.0 : has two implementation 1. org.jboss.aspects.asynch.AsynchAspect 2. org.jboss.aspects.asynchronous.aspects.jboss.AsynchronousAspect However, JBoss AOP 2.0 does not contain the AsynchAspect at all. Also it has some AsynchronousFacade. Does it mean that AsynchAspect is being phased out in 2.0 and so user having JBoss AOP version 1.5.0 should not plan on using it? Nothing of this has been mention in the user guide, release notes etc. Thanks, Sameer View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063656#4063656 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063656 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Passing current user identity to the back-end database
Hi, I'm developing an application with the following requirement: All users have a database accounts and the application level authorization should be used also with the database. So I need to pass through the current user identity to the back-end database. I'm using Jboss as 4.0.5 and Jboss Seam 1.2.1. The project I start with is generated with seam-gen utility. I get some directions on the Seam forum that this should be possible with proper configuration of the JCA datasource. According to the informations I founded on wiki and docs I trying to use CallerIdentityLoginModule in the following way: I added policy to the login-config.xml file | | | | dumy | dumy_pwd | jboss.jca:service=LocalTxCM,name=dbtestDatasource | | | | datasource config file dbtest-ds.xml: | | | dbtestDatasource | jdbc:postgresql:dbtest | org.postgresql.Driver | testdbRealm | | | web.xml file: | | Restrict raw XHTML Documents | |XHTML |*.xhtml |GET |POST | | |admin | | | | BASIC | testdbRealm | | | admin | | And according to the Seam doc I set the jaas-config-name property in the components.xml file: | | Now I have the following behavior: The application deploys and works, the *.xhtml pages are displayed but application is not asking for authorization. The database connection is set with the default user and pwd provided in the login-config.xml file (dumy, dumy_pwd). When I try to remove the default user and pwd from the login-config.xml file: | | | | jboss.jca:service=LocalTxCM,name=dbtestDatasource | | | | then I have errors during deployment because the database connection can't be created (I'm not sure why - think that hibernate try to open the database during the deployment to do its mapping job). I see in server logs that CallerIdentityLoginModule is used. I stick on this problem and don't know how finish seting up things to enforce the behavior I write about on the beginning. Do I have to call CallerIdentityLoginModule directly from my application? I'm trying to resolve this issue for quite a long time. I'm not the JBoss and J2EE specialist (yet) (I'm the one who believed that building application's with JBoss + Seam combo is simple and trying to follow) so I appreciate any help and explanations how this mechanism works very much. Best Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063654#4063654 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063654 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: jboss installation with easyEclipse JbossIDE
another PS... I realized that there is a issue about my jdk at the beginning of the jboss startup process. So that is my situation about it: [EMAIL PROTECTED]:~$ echo $JAVA_HOME /usr/lib/jvm/java-1.5.0-sun/ [EMAIL PROTECTED]:~$ eho $JRE_HOME bash: eho: command not found [EMAIL PROTECTED]:~$ java -version java version "1.5.0_10" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_10-b03) Java HotSpot(TM) Client VM (build 1.5.0_10-b03, mixed mode, sharing) [EMAIL PROTECTED]:~$ I am using a debian 4.0 and installed my jdk by apt-get install and to java -version works like above was not necessary specify the JAVA_HOME. I did it because I realized that jboos was complaining about it. But it is still no work well. thanks a lot again... wagner View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063652#4063652 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063652 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: very slow bdbje loader implementation (CR3)
Well, when I wrote the JDBM cache loader I designed it at a finer level of granularity, not understanding that you should really be storing a single object per node. Locking, replication, eviction all work off of nodes as units of work, not node keys. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063649#4063649 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063649 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Can I provide SAML Support for JBoss WS Handler with WSS4J?
Hi, I'm new to the idea of handlers - but I've been tasked to write a handler that can create SAML assertions and from the JBossWS spec status page, I see that it is 0% complete. On a basic level, from what I understand about handlers, I can write a java class that will extend a *Handler. And then set the handler for the service in the xml file. And as long as the handler is on the classpath - it will be used. So can I package the WSS4J libraries, with my handler class so I can use the functionality? Or maybe just drop the wss4j.jar in the Jboss lib? Also - I'm writing the handler - but I am not writing the service. Does a handler have to be packaged with the service? Or can it be added as a jar or war file? The User Guide seems to indicate it has to be within the Service WAR file, but I just want to know if its possible to extract the handler to a separate archive. Why you ask? because another company is tasked with writing the service - but I am tasked with writing the handler - and I'm new to it - so I don't even know if that is possible. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063651#4063651 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063651 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Importing multiple bean configurations
My bean configuration is split up in multiple files coming from different projects. AFAIK, I can only have one jboss-beans.xml per *.sar Is there some kind on functionality. Looking at the schema I can't see it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063645#4063645 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063645 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Validation oracle date field
is your Date in the entity class java.util.Date? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063641#4063641 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063641 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: jboss installation with easyEclipse JbossIDE
I found one other post where someone got the "Trying to install an already registered mbean" exception: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=91651 That person reinstalled in a clean directory and solved the problem. (If that doesn't work for you, please tell me how you installed the app server.) Also, there is this error: run.sh: Missing file: /usr/lib/jvm/java-1.5.0-sun//lib/tools.jar run.sh: Unexpected results may occur. Make sure JAVA_HOME points to a JDK and not a JRE. Please correct this also. Finally, it is usually sufficient to post the first 20 or so lines of a stack trace (unless there is a "caused by" entry, in which case the first 20 or so lines of the stack trace for the "caused by" should also be posted.) The 20 lines is a guideline, if any of your code appears in the stack trace, you should post all of the lines up through the first 2 or 3 lines in your code. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063638#4063638 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063638 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: conditional transition behavior
no... that is (afaik) the case in a decision node... in a task node they are guarded transitions so this can be used in the gui to selectively show or not show transitions. So the behaviour you see is correct (should be documented somewhere) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063635#4063635 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063635 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - EndPoint ... does not contain operation meta data for ... er
Hi, I have a problem consuming a web service deployed in Jboss 4.2.0.GA, the same package work fine using Jboss 4.0.5.GA. Here is the wsdl, code with annotations and Soap messages. Thanks in advance. Luis. wsdl | * UniversalManagement?wsdl | | - http://universal.ws.core.mobistore.services.com/"; xmlns="http://schemas.xmlsoap.org/wsdl/"; xmlns:ns1="http://jaws.universal.ws.core.mobistore.services.com/"; xmlns:ns2="http://jaxb.dev.java.net/array"; xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:tns="http://universal.ws.core.mobistore.services.com/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema";> | http://10.200.200.25:8080/mobistore-ws-universal/UniversalManagement?wsdl&resource=UniversalManagementSei_PortType61107.wsdl"; namespace="http://jaws.universal.ws.core.mobistore.services.com/"; /> | - | - | http://10.200.200.25:8080/mobistore-ws-universal/UniversalManagement"; /> | | | | | * UniversalManagementSei_PortType61107.wsdl | | http://jaws.universal.ws.core.mobistore.services.com/"; xmlns="http://schemas.xmlsoap.org/wsdl/"; xmlns:ns1="http://jaws.universal.ws.core.mobistore.services.com/"; xmlns:ns2="http://jaxb.dev.java.net/array"; xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:tns="http://universal.ws.core.mobistore.services.com/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema";> | - | - http://jaxb.dev.java.net/array"; version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema";> | | | | | - | - | - | - | | | | | | | | . | . | . | | | | | . | . | . | | | | | . | . | . | - | | | | | . | . | . | - | | - | http://universal.ws.core.mobistore.services.com/"; use="literal" /> | | - | http://universal.ws.core.mobistore.services.com/"; use="literal" /> | | - | | | | Code with annotations. | package com.services.mobistore.core.ws.universal.interfaces; | | import javax.jws.WebMethod; | import javax.jws.WebParam; | import javax.jws.WebResult; | import javax.jws.WebService; | import javax.jws.soap.SOAPBinding; | | @WebService( | name = "UniversalManagementSei", | targetNamespace = "http://jaws.universal.ws.core.mobistore.services.com/"; ) | //serviceName = "UniversalManagement" ) | @SOAPBinding( style = SOAPBinding.Style.RPC ) | public interface UniversalManagementSei { | | @WebMethod( operationName="startSession")public abstract String startSession(@WebParam( name="credentials", targetNamespace= "http://jaws.universal.ws.core.mobistore.services.com/"; ) Credentials credentials) | throws WsGenericException; | } | Soap messages. | | http://schemas.xmlsoap.org/soap/envelope/"; | xmlns:univ="http://universal.ws.core.mobistore.services.com/";> | | | | | test | | test | | | | | | http://schemas.xmlsoap.org/soap/envelope/";> | | | | env:Client | Endpoint | {http://management.ws.core.mobistore.services.com/}ManagementEndPointPort does not contain operation meta data for: | {http://management.ws.core.mobistore.services.com/}startSession | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063628#4063628 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063628 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM - concurrent process execution fails
Ed, Will putting an async=true on the node realy force a commit? That has to be documented well then (rollback 's further on in the process a rollback will not be possible then) This is not a problem if the process has to wait for the return value of the async message node. If it is not saved with async=true and I'm not sure, the result of this async action is to return *before* there is a real save, we get the other 'well known ;-)' exceptions. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063627#4063627 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063627 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: strange failover behaviour in clustered config
I fully agree workaround you provide will work but with 1 constraint: you should have direct access to the machine to do that. With all security in production it not always possible. So it would be very nice if there is possibility to do merge manually. If it a call of function via jmx-console it's perfect. Thanks anyway for such fast response and explanation. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063625#4063625 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063625 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Urgent : Query on CMS Admin-Make a
There is no CMS workflow in 2.4 Live checkbox, is just the current version that will get displayed. When you create a new version you can make it live or keep it hidden (as a draft for example) (Please for next time, don't put "urgent" in your topics. This is not more urgent than other questions of the forum) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063622#4063622 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063622 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Cleaner RESTful urls? Any suggestions?
Ok thanks for your pointers hstang and Michael. I will investigate! /Tobias View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063621#4063621 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063621 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Using stateless beans generated by seam in standalone Ja
http://docs.jboss.com/seam/2.0.0.B1/reference/en/html/concepts.html#d0e2704 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063619#4063619 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063619 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Cleaner RESTful urls? Any suggestions?
Well I didn't know there was paper on it. I guess I should have added a (IMO) somewhere in the "I would like to use this slightly cleaner variant"-sentence. Can we agree on "shorter"? Still. I would very much appreciate suggestions... Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063618#4063618 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063618 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Cleaner RESTful urls? Any suggestions?
The "http://server/app/action/foo/bar"; URL is more RoR-like. I think you can easily do this by setting up URL re-writing rules in Apache (if you use apache to front your jboss server). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063616#4063616 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063616 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user