[jboss-user] [Remoting] - Re: P2P Client Callback with streaming
Can someone help/guide me please. Your help will be much appreciated. Our project is currently stuck due to this. I would like to attach a new URL http://mina.apache.org/documentation.html#Documentation-Examples which gives the example of how MINA achieves the same objective. Thank you, Patrick View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133403#4133403 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133403 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: NullPointerException when call the get(..) method, W
Thanks for attention! I've post my config in another post:http://jboss.org/index.html?module=bb&op=viewtopic&t=130898 Now I have another fatal problem ,and I am working with it. If i have time later, i'll have you to reproduce it. Thank you ! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133402#4133402 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133402 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - How to prevent MDB container starting at app server start
I'm running JBoss 4.2.2. I have an MDB that I want to control programmatically. Specifically I do not want the MDB to start automatically when the application server starts up, but instead start it programmatically. I can think of a few different strategies by which this might be accomplished, but I'm not sure if these are possible or how to do about it. 1) Do not deploy the MDB via annotations or xml descriptor, but rather through some programmatic API. 2) Allow the MDBContainer to be created but prevent it from starting, it can then be started via the MBean. 3) Set the pool size to 0 and then increase it programmatically. Any thoughts? Regards, Nicko View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133401#4133401 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133401 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: MDB Deployment Exception (HELP!)
changing the name of the ejb jar to Z..jar worked! Thanks for the idea and thanks for the clarification on defining queues. Anyone know if this has been filed as a bug and/or is there anything I can do to help get it fixed? roy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133400#4133400 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133400 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss/Spring Integration] - Re: JBOSS5 + Spring Deployer version confusion
That fragment for jboss-log4j.xml was mean to come out like: | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133399#4133399 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133399 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss/Spring Integration] - Re: JBOSS5 + Spring Deployer version confusion
Thank for your prompt reply. I was able to turn on logging to see SpringParserDeployer and ApplicationContextDeployer being picked up by editing */conf/jboss-log4j.xml and adding: Also for interest with those reading this thread (as of this time) Spring 2.0 is shipped with JBoss Spring Deployer 3.0. This saves you from downloading every version of Spring framework and comparing JARs until you find a match. I disagree you are not modifying the file by changing the filename by appending the version number like spring-core-2.0.8.jar but would support you stance if I was asking for the content to be modified (which I am not). I can also see that the MANIFEST of jboss-spring.deployer itself does not include its own version number and would also like to see jboss-spring.jar from inside the *.deployer file renamed to jboss-spring-3.0.jar (as well as version in the manifest). Both would be ideal and would save you documenting a README file about which version you built with this week. My next problem is that one or more Spring bean descriptors does not use XSD/Namespaces but DTD, is that allowed ? Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: Failed to parse schema for nsURI=, baseURI=null, schemaLocation=http://www.springframework.org/dtd/spring-beans.dtd Now my remaining concern: I have a WAR in my EAR which currently has spring*.jar's inside (/WEB-INF/lib/*.jar) what is the correct way the package those ? If the JBoss deployer version (of Spring Framework) and the WAR version (of Spring Framework) were different, would there ever be a problem, I am thinking that the WAR container encapsulaltion will still work fine, since I would need to go to JNDI to obtain access to an ApplicationContext for any components deployed via JBoss Spring Deployer. Is my understanding correct on this ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133398#4133398 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133398 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Seam 2.0.1 & JBossWS & WAR deployment
The Seam reference explains how to configure and package a Seam EAR to support JBossWS web services. That worked great. However, I have not been able to get JBossWS to work with a Seam WAR deployment. I have Seam 2.0.1, JBoss AS 4.2.2 GA and JBossWS 2.0.3 GA I created this service interface: | import javax.jws.WebMethod; | import javax.jws.WebParam; | import javax.jws.WebResult; | import javax.jws.WebService; | import javax.jws.soap.SOAPBinding; | import javax.jws.soap.SOAPBinding.Style; | | @WebService(name = "TestEndpoint", serviceName = "HcpService") | @SOAPBinding(style = Style.RPC) | public interface TestEndpoint | { |@WebMethod |@WebResult(name = "result") |public String echo(@WebParam(name = "message") String msg); | } | and service implementation: | import javax.jws.WebMethod; | import javax.jws.WebParam; | import javax.jws.WebResult; | import javax.jws.WebService; | import javax.jws.soap.SOAPBinding; | import javax.jws.soap.SOAPBinding.Style; | | import org.jboss.seam.Component; | import org.jboss.seam.security.Identity; | | @WebService(name = "TestEndpoint", serviceName = "HcpService") | @SOAPBinding(style = Style.RPC) | public class TestEndpointBean | { | |@WebMethod |@WebResult(name = "result") |public String echo(@WebParam(name = "message") String msg) |{ |return "Echo " + msg; |} | } | I donôt know if my procedure was fine, but to make the webservice working I had to add servlet to web.xml | TestEndpoint | hcp.TestEndpointBean | | | | TestEndpoint | /test | | Only with this servlet is after deployment service endpoint registered and visible in browser (http://localhost:8080/jbossws/services) At first I had setProperty must be overridden by all subclasses of SOAPMessage exception, so I switched to java 1.5 to get rid of it. After this, my webservice is active and I can successfully send requests and receive responses. But now I have another problem when I want to use some seam component. I have read, that I have to use Component.getInstance method. So i tried it: | public class TestEndpointBean | { |@WebMethod |@WebResult(name = "result") |public String echo(@WebParam(name = "message") String msg) |{ |Identity id = (Identity) Component.getInstance("org.jboss.seam.security.identity"); |id.setUsername(msg); |id.setPassword(msg); |id.login(); |if (id.isLoggedIn()) { |return "Logged in"; |} else { |return "Not logged in"; |} |} | } | But after invoke the request I have this exception :-( | 23:42:04,890 ERROR [SOAPFaultHelperJAXWS] SOAP request exception | java.lang.IllegalStateException: No application context active | at org.jboss.seam.Component.forName(Component.java:1807) | at org.jboss.seam.Component.getInstance(Component.java:1857) | at org.jboss.seam.Component.getInstance(Component.java:1840) | at org.jboss.seam.Component.getInstance(Component.java:1834) | at hcp.TestEndpointBean.echo(TestEndpointBean.java:47) | 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.jboss.wsf.container.jboss42.DefaultInvocationHandler.invoke(DefaultInvocationHandler.java:102) | at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:222) | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:418) | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:274) | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:191) | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:124) | at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) | at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.
[jboss-user] [Management, JMX/JBoss] - Re: Schedulable Problem
Could you double check if the line bellow is in your mbean deployment descriptor. org.jboss.chap10.ex2.ExSchedulable You might have it as ejb.ExSchedulable But that's just my guess :) Cheers View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133378#4133378 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133378 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Consuming WSDL Web Services in JBoss Portal
Thanks for the answers, Chris. Yes, I meant to say, Portlets and not Portal. My bad! regards, -Amol View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133377#4133377 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133377 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss/Spring Integration] - Re: JBOSS5 + Spring Deployer version confusion
"dlmiles" wrote : | I am correct in thinking the above version is for JBoss AS 4.2.x and older ? But should not be used wit JBoss AS 5 ? | Yes, only JBossAS 4.x. "dlmiles" wrote : | Should something appear in the JBossAS console log ? | If you use trace log for deployers packages, there should be some log indicating that deployer was added to MainDeployersImpl/DeployersImpl. "dlmiles" wrote : | I am correct in thinking this should be used with JBoss AS 5 and newer ? | Yes, it's the new breed of deployers. :-) "dlmiles" wrote : | Now if I wanted to upgrade to 2.0.7 or 2.0.8 is a recompile necessary or can I replace the spring-*.jar files inside the jboss-spring.deployer file ? | It depends on the back (or in this case fwd) compatibility of Spring lib. I had no problems changing between 2.0.8 and 2.5. "dlmiles" wrote : | Could I also suggest that all dependent JARs what are bundled please use the file name that includes the version of said file like "spring-core-2.0.99.jar" not just the plain "spring-core.jar" so its really clear to audit. | You can suggest :-), but I'm not gonna do that. ;-) Those are Spring files as such, I don't wanna modify them in any way. And you can see the version in its manifest.mf file. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133371#4133371 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133371 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - SocketClientInvoker Doesn't Catch/Throw Transaction Timeouts
Please see discussion thread in JBoss Transactions forum, here. Essentially, the issue is this: We had a project where we converted from a Swing Client-Server App from WebLogic 8.1 (EJB2) to JBoss 4.2 and were advised by JBoss Consultants onsite that Socket connectors perform better than RMI and will handle failover better in moving away from a Clustered environment to multiple servers behind a Virtual IP (using ClientConnectAddress in jboss-service.xml to spoof clients). So we need to stick with Sockets, if possible, but... When we change our org.jboss.remoting.transport.Connector in our jboss-service.xml from transport=socket to transport=rmi, we actually get the behavior we'd hope to see under socket. (though lose some desired behavior that socket provides) Under RMI, when the transaction timesout, the client is immediately notified that the transaction was timedout/rolledback. Under Socket, the thread that is wrapped in the transaction actually finishes before anything is sent back to the client -- even after the transaction timed out and rolled back! So the user gets an IllegalStateException returned after waiting for the entire thread to complete. Not the best design, but we have always counted on the transaction timeout/rollback error to notify the client immediately. Imagine a user fires off a query to load a list of tasks and they accidentally enter in a date range much larger than they intended. (granted, we could control some more at the client level, but ideally we would make this conversion to jboss w/o having to change too much of this long-standing code) Under RMI, we can send a message back to the user after 5 or 10 minutes, so they can see that the transaction timed out and clean up the query or otherwise try something else. Under Socket, the behavior is far less desirable. Say the query runs for 12 minutes with a transaction timeout of 5 minutes. The transaction dies after 5 minutes but the end user on the client side doesn't receive a notification and instead is left to watch the status bar bounce for another 7 minutes... and at that time they don't even receive their result set, they get an IllegalStateException! (we could adjust our timeout, but that's not what the users are used to and we'd ultimately like to keep some consistency after the migration from weblogic to jboss) What can be done to get Socket transport behaving like RMI transport? (i.e. sending a transaction timeout/rollback exception back to the client) Thanks much, in advance, for any and all assistance! -John View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133370#4133370 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133370 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: multiple header support
Interestingly, I ran into this problem again. I thought I didn't have to worry about this anymore. I'm still trying to render multiple headers. I have the portal1.war and i would like to have all customizations for this portal in this file. Customizing the interceptor is an idea but that will mean the portal-core will render the way portal1.war should render... this isn't what i need. I'm experimenting with changing the name of the Interceptor to portal1PageCustomizer and placing it in the portal1.war META-INF/ directory. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133369#4133369 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133369 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Dynamically Creating JNDI Datasources
I'm working on a project where, at run time, my application needs to create a connection to a database that can be specified by the user. I don't want to go through the process of creating infrastructure to manage connections and prefer to use JBoss to manage these connections. Is it possible, i.e. does anyone know specifically how, to create a DataSource such that I can tell the app server to manage it (connection pooling, etc.). Thanks for the assist! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133368#4133368 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133368 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - new release of jBPM based project-management system is publi
I'm happy to announce EmForge-0.21: http://www.emforge.org/news After almost 2 years of development the first public version of EmForge has been released. I want specially say big "thank you" to jBPM team - major part of EmForge - related to workflow management are done based on jbpm, and, thanks to jbpm flexibility it was quite easy implement integration of jbpm into whole project. jbpm are playing jey role in EmForge, and, I hope, together they will help people to better manage their software projects. For people, who are using jBPM in their development may be interesting some issues we done during integrating jBPM into EmForge, like: * integration of jBPM with Acegi Security * integrating jBPM with project roles, * special assignments to project owners and other. I hope we will place documentation on all of these issues in emforge site shortly, otherwise feel free to ask any questions here or in emforge mail lists: http://www.emforge.org/wiki/EmForgeMailLists View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133367#4133367 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133367 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: 4.2.2 wont deploy my persistency unit
I think you will have better chance to get some help if you open a new thread as it seems like a different issue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133366#4133366 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133366 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - GPD on linux
I don't get the context menu when I right-click a node. Running eclipse on linux: Eclipse Platform Version: 3.3.1.1 Build id: M20071023-1652 Fedora 8 Tested GPD 3.1.1 and GPD 3.1.2 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133365#4133365 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133365 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: NullPointer: Setting portlet instance preferences via In
What are you trying to do exactly, i.e. why do you need to access the InstanceContainer? Any reason you are using 2.6.1 and not 2.6.4? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133362#4133362 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133362 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Consuming WSDL Web Services in JBoss Portal
"[EMAIL PROTECTED]" wrote : | 1. Can JBoss Portal consume WSDL web services? how? any samples? | Portal does not consume web services per se (apart from WSRP that is)... Your portlets do. Anything you want to do with respect to web services has to be done in the context of portlets as Portal is only an environment to manage portlets. What is your use case? "[EMAIL PROTECTED]" wrote : | 2. What are the steps to get it working. Assume, I just have base JBoss Portal installed and a provider WSDL. | A portlet is a specialized web application. Almost anything you can do with a web application you can do with a portlet. In particular, this includes accessing a remote web services. Portal forums won't help you there as it's not a Portal topic, rather a web service development topic. In essence, you would need to create a web service client that could be accessed via your portlet and possibly interacted with. "[EMAIL PROTECTED]" wrote : | 3. Which JBossWS should I download? jbossws-native? JBossWS is bundled with JBoss AS. If you run JBoss Portal, JBoss WS is already installed on your application server. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133361#4133361 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133361 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Jndi Datasource
Well i solve with this DataSource ds = (DataSource) ic.lookup("java:comp/env/jdbc/APAESP"); thankz 4 help View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133360#4133360 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133360 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: HOWTO Dynamically Create Portal Pages
It appears as if this page may hold the answer to my question: http://docs.jboss.com/jbportal/v2.6.4/javadoc/org/jboss/portal/core/admin/ui/PortalObjectManagerBean.html#getPortalObjectContainer() View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133353#4133353 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133353 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Jndi Datasource
Use the JMC console to get a listing of the jndi tree, and make sure htat the data source name appears as expected. See http://wiki.jboss.org/wiki/Wiki.jsp?page=DisplayTheJDNITreeWithTheJMXConsole View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133351#4133351 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133351 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: HOWTO Dynamically Create Portal Pages
Thank you for your response. It gives me confidence that I will be able to figure out how to do this in a timely fashion. Now I just have to figure out how to get a handle to the PortalObjectContainer that you're talking about. I just looked and I don't see exactly how one does that. I see a getPortletConfig() and getPortletContext() in my portlet, but that's it.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133350#4133350 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133350 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss/Spring Integration] - JBOSS5 + Spring Deployer version confusion
I see there is: Spring Deployer 2.1 (in 2.5/2.5.x and 2.0.8 forms) this is a JAR and contains no implementation of Spring and no JBOSS5 style META-INF/spring-deployers-beans.xml. I am correct in thinking the above version is for JBoss AS 4.2.x and older ? But should not be used wit JBoss AS 5 ? I see there is: Spring Deployer 3.0 (which includes a jboss-spring.deployer JAR file, which appears to be in JBOSS5 deployers format, it does not include an implementation of Spring that appears to be older than spring 2.0.7 from filesizes and timestamps). When this file is dropped into the JBoss5 deployers directory I see no log entry indicating startup of the deployer. Should something appear in the JBossAS console log ? I am correct in thinking this should be used with JBoss AS 5 and newer ? Now if I wanted to upgrade to 2.0.7 or 2.0.8 is a recompile necessary or can I replace the spring-*.jar files inside the jboss-spring.deployer file ? Could I also suggest that all dependent JARs what are bundled please use the file name that includes the version of said file like "spring-core-2.0.99.jar" not just the plain "spring-core.jar" so its really clear to audit. This could also extend to the deployer archive itself, jboss-spring-3.0.deployer. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133349#4133349 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133349 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: org.xml.sax.SAXParseException: Premature end of file ERR
We have WS deployed on jboss-4.2.2 using JBOss ws2.01 and client is running in .NET and during out testing we started getting same exception. On further analysis we found out that issue was on .NET code and not our WS. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133345#4133345 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133345 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: MDB Deployment Exception (HELP!)
jbossas 5.0 beta4 uses JBoss Messaging 1.4.1.beta1. If you download the source for that version of JBoss Messaging, and look in the src/etc/server/default/deploy directory you will see an example destinations-service.xml file. It would be nice if that file was provided as part of jbossas, perhaps in the docs/example/messaging directory. (hint, hint) Your queue definition would look like: | jboss.messaging:service=ServerPeer | jboss.messaging:service=PostOffice | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133346#4133346 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133346 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Consuming WSDL Web Services in JBoss Portal
Hello there, 1. Can JBoss Portal consume WSDL web services? how? any samples? 2. What are the steps to get it working. Assume, I just have base JBoss Portal installed and a provider WSDL. 3. Which JBossWS should I download? jbossws-native? Any help on available online resources is appreciated. Thanks for your help. -Amol View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=414#414 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=414 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM+Drools+WS+Messaging+ESB > SOA
That's in process currently, right? What about remote invocations? I.e. ESB and jBPM on different hosts? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=417#417 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=417 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Less coding by custom nodes/jrules/etc...
"trouby" wrote : (although I'm pretty sure in the doc it is written that it is possible to add new nodes easily) This is where you learn that 'easy' is a relative term - no doubt whoever wrote that does consider it 'easy' - doesn't mean it actually is easy. LOL. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=415#415 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=415 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Throwing Exception from a web service method
Should I be able to throw an exception from a web service back to the client? I am trying to do this and I get a bunch of stacktraces in the server.log, which is not what I want at all. Thanks, Ken View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=413#413 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=413 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - connection pool configuration ?
I have a question regarding the interaction between and properties. The JBossJCAPooling documentation says: anonymous wrote : Should closing idle connections cause the pool to fall below the min-pool-size, new/fresh connections are created. Doesn't this create unnecessary churning of connections (out w/ idle in w/ new)? Here's my situation: I have these properties set at 10 for min-pool-size and 2 for idle-timeout-minutes. On average, I see 15 connections from each app server to the db server. This is what I'm seeing on my app servers: all db connections seem to get closed within about 5 minutes. New connections are created, about 4 per minute. If I understand properly the MRU strategy used by the connection pool manager, then I do not understand why I am seeing this behavior. Any help/thoughts would be greatly appreciated! TIA, Mike L. (aka patzerbud) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133327#4133327 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133327 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB3 over SSL in NAT environment (JBoss 4.0.5)
Sorry, EJB3_RC9_Patch_1_EJBTHREE1-1191 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133325#4133325 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133325 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB3 over SSL in NAT environment (JBoss 4.0.5)
SVN tag is EJB3_RC9_Patch_1_EJBTHREE1-1091 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133324#4133324 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133324 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB3 over SSL in NAT environment (JBoss 4.0.5)
For reference, in case anyone else is having the same problem. The misbehavior of EJB3 in a NAT/SSL environment is caused by a combination of two bugs: http://jira.jboss.com/jira/browse/EJBTHREE-1190 http://jira.jboss.com/jira/browse/EJBTHREE-1191 The bugs have been fixed around Feb 16 2007 (I don't know the SVN tags, the EJB3 team may add clarifications here). The patch have been tested and it works. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133321#4133321 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133321 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - xsd:include or xsd:import in WSDL
Hi, i have issues with the wsconsume tool (with JBossWS native 2.0.3) I need to import in my WSDL an external schema file that is included in a jar file. In my WSDL, i declared the types using the following statements: http://www.w3.org/2001/XMLSchema"; elementFormDefault="qualified"> Is wsconsume able to load the schema file from the classpath ? Also the jar already contains the generated classes with jaxb compiler. Is it possible to use wsconsume without generating the schema files but only the webservice endpoint ? Thanks in advance, Luc View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133320#4133320 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133320 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - JBoss Datasource connection timeout configuration
Hello, If anyone can point me in the right direction, I would greatly appreciate it. I have a -ds.xml datasource setup for my AS and I would like to configure the timeout for obtaining a connection if the database is offline. Does anyone know where I can change this setting? Thank you in advance, Chip View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133319#4133319 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133319 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: MDB Deployment Exception (HELP!)
thanks for the replies all.! I'll give the naming order a try. A related question -- I've only been able to find examples for queue definition for jboss 4. Is something like this still correct for jboss5 and should it go in a -service.xml file in \deploy? | | | | | jboss.mq:service=DestinationManager | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133311#4133311 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133311 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Jndi Datasource
Yes, follow part of exception when i run client | 2008-02-29 14:21:57,034 DEBUG [org.jboss.remoting.transport.socket.ClientSocketWrapper] reset timeout: 6 | 2008-02-29 14:21:57,050 ERROR [STDERR] javax.naming.NameNotFoundException: APAESP not bound | 2008-02-29 14:21:57,050 ERROR [STDERR] at br.com.gcm.servicelocator.ServiceLocator.getDataSource(Unknown Source) | 2008-02-29 14:21:57,050 ERROR [STDERR] at br.com.gcm.ejb.sb.SitesSBBean.makeConnection(Unknown Source) | 2008-02-29 14:21:57,050 ERROR [STDERR] at br.com.gcm.ejb.sb.SitesSBBean.selectSite(Unknown Source) | 2008-02-29 14:21:57,050 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 2008-02-29 14:21:57,050 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 2008-02-29 14:21:57,050 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 2008-02-29 14:21:57,050 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597) | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133307#4133307 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133307 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Jndi Datasource
"unknown source" means that the code in question was not compiled with the debugging option, therefore a line number cannot be reported. Are you seeing any exceptions on the server? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133305#4133305 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133305 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - SessionContext from Entity
Q: Is there any way of accessing the SessionContext object of a session bean, which has created (in whatever way) an entity, from within the actual entity object? Background: In my app, when I insert or update rows via a entity created from a session EJB, I'd like to set a column to a user id derived from the caller Principal object (as returned by SessionContext.getCallerPrincipal( ) ). I could set this using code in all the session EJBs in every entity that's inserted/updated, but this line of code is easilly forgotten. If I could access the SessionContext from the entity class I could add the code there when writing the entity class and not every time I use it from a session EJB. I've tried "@Resource SessionContext ctx;" in the entity, but this gives null. Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133302#4133302 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133302 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Jndi Datasource
Yes, this a client. About unknow source, the line was at | br.com.gcm.ejb.sb.SitesSBBean.makeConnection(Unknown Source) br.com.gcm.proxy.SitesProxy.selectSite(SitesProxy.java:50) | public SitesVO selectSite(String siteId) throws br.com.gcm.exceptions.ProxyCallException { | | br.com.gcm.ejb.sb.SitesSBHome home; | | br.com.gcm.ejb.sb.SitesSB remote; | | SitesVO obj = null; | | try { | | home = (br.com.gcm.ejb.sb.SitesSBHome)br.com.gcm.servicelocator.ServiceLocator.getInstance().getRemoteHome(br.com.gcm.servicelocator.JndiNames.JNDI_EJB_SB_SITESSB, br.com.gcm.ejb.sb.SitesSBHome.class); | | remote = home.create(); | | LINE 50 obj = remote.selectSite(Integer.parseInt(siteId)); | LINE 51 } | LINE 52 catch ( Exception ex ) { | LINE 53 ex.printStackTrace(); | LINE 54 throw new br.com.gcm.exceptions.ProxyCallException(ex.getMessage()); | } | | remote = null; | home = null; | | return obj; | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133300#4133300 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133300 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Restricting access to different portals.
I haven't tried this before. Maybe someone else has an can post a reply. Possible long shot: add an error-page tag to the globla server/xxx/deploy/jboss-web.deployer/conf/web.xml file, and place the referenced html file in the server/xxx/deploy/jboss-web.deployer/ROOT.war directory. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133298#4133298 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133298 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Jndi Datasource
Funny, this stack trace does not mention anything about "UNKNOWN SOURCE", which is the error message you posted with your original post. Also, this looks like a stack trace from the client, not from the server, which is where the data source is located. Finally, the stack trace is about EJBs, not about JNDI. Please post the code for the SitesProxy.selectSite() method, and highlight lines 50 and 54. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133297#4133297 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133297 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Exact Tomcat Version
What version of Tomcat is JBOSS 4.2.2GA base on? The reason for my question is because some Security Vulnerabilities have been identified in Tomcat and we need to know if upgrading to a later version of JBOSS will fix our problem. Here is a description of the vulnerabilities: 7.1 (U) Apache Tomcat 6.0.5 - 6.0.15 Information Disclosure Vulnerability: Apache reports that if an exception occurs during the processing of parameters, such as the client disconnecting, then it is possible the parameters submitted for the request will be incorrectly processed as part of a subsequent request. To exploit this vulnerability, an unauthenticated remote attacker would locate a site hosting a vulnerable version of the Adobe Tomcat application, then wait for an unsuspecting user to transmit data to the server. Once transmitted, the attacker would cause the user/client to disconnect during the transmission and initiate their own connection with the user's parameters as part of the attackers request. The successful exploitation of this vulnerability could allow a remote attacker access to sensitive information which could be used in later attacks. 7.2 (U) Apache Tomcat Data Integrity Vulnerability: Apache reports several versions of Tomcat (5.5.11 - 5.5.25 and 6.0.0 - 6.0.15) do not properly handle an empty request to a SSL port using netcat when the native Apache Portable Runtime (APR) connector is used. The successful exploitation of this vulnerability could allow an unauthenticated remote attacker to trigger a handling of "a duplicate copy of one of the recent requests". 7.3 (U) Apache Tomcat WebDAV Servlet Information Disclosure Vulnerability: Apache reports an information disclosure vulnerability associated with the WebDAV servlet in several Tomcat versions (4.0.0 - 4.0.6, 4.1.0, 5.0.0, 5.5.0 - 5.5.25, and 6.0.0 - 6.0.14). When the WebDAV servlet is configured for use with a context and has been enabled for write, some WebDAV requests specify an entity with a SYSTEM tag can result in the disclosure of information to the client issuing the request. To exploit this vulnerability, an authenticated remote attacker could gain access to a vulnerable webserver and could create a maliciously crafted HTTP WebDAV Lock request for a file that the attacker has permissions to access, as well as referencing another remote file. The WebDav 'Lock' function would process the attacker's request, making the remote file available to them. Note: An exploit code has been developed for this vulnerability which is publically available. 7.4 (U) Apache Tomcat JULI Vulnerability: Apache reports that the default catalina.policy in the JULI logging component in several Tomcat versions (5.5.9 - 5.5.25 and 6.0.0 - 6.0.15) does not restrict certain permissions for web applications. To exploit this vulnerability, an unauthenticated local attacker would construct a maliciously crafted Java web application which could contain a malicious logging configuration which is designed to leverage this vulnerability. The attacker would then gain local, interactive access to a vulnerable webserver, and then install and execute the malicious application. The application would write the log files, using the permissions of the user running the server. The successful exploitation of this vulnerability could allow an attacker to modify logging configuration options and overwrite arbitrary files, as well as having access to sensitive information. Note: JULI is enabled by default in Tomcat 6.0, and supports per classloader configuration, in addition to the regular global java.util.logging configuration. 7.5 (U) Apache Tomcat Session Hi-jacking Vulnerability: Apache reports that several versions of Tomcat do not properly handle (1) double quote (") characters, or (2) %5C (encoded backslash) sequences in a cookie value. To exploit this vulnerability, an unauthenticated remote attacker would need to locate a network-accessible instance of a server hosting a vulnerable application (6.0.0 - 6.0.14, 5.5.0 - 5.5.25, and 4.1.0 - 4.1.36). A maliciously crafted web page or URI would be created by the attacker, to include either or both of this conditions, and distribute this webpage/URI to an unsuspecting user. When the user views this webpage or follows this URI link, the user's server would note be able to properly handle the cookie data, and the user's information would be disclosed to the attacker which could enable the attacker to ultimately hijack the user's session. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133296#4133296 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133296 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: can not start jboss server
Thanks, I solved the problem. Something wrong with the JAVA_HOME set up. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133294#4133294 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133294 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Jndi Datasource
Follow the stacktrace | java.rmi.ServerException: EJBException:; nested exception is: | javax.ejb.EJBException | at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:365) | at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:209) | at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138) | at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648) | at org.jboss.ejb.Container.invoke(Container.java:960) | at sun.reflect.GeneratedMethodAccessor99.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.invocation.unified.server.UnifiedInvoker.invoke(UnifiedInvoker.java:231) | at sun.reflect.GeneratedMethodAccessor98.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 javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:288) | at $Proxy16.invoke(Unknown Source) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:769) | at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:573) | at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:387) | at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:166) | Caused by: javax.ejb.EJBException | at br.com.gcm.ejb.sb.SitesSBBean.makeConnection(Unknown Source) | at br.com.gcm.ejb.sb.SitesSBBean.selectSite(Unknown Source) | 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.jboss.invocation.Invocation.performCall(Invocation.java:359) | at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237) | at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158) | at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169) | at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63) | at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121) | at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350) | at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181) | at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168) | at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205) | at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138) | at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648) | at org.jboss.ejb.Container.invoke(Container.java:960) | at sun.reflect.GeneratedMethodAccessor99.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.invocation.unified.server.UnifiedInvoker.invoke(UnifiedInvoker.java:231) | at sun.reflect.GeneratedMethodAccessor98.invoke(Unknown Source) | at sun.reflect.Delegating
[jboss-user] [JBoss jBPM] - Re: Less coding by custom nodes/jrules/etc...
Cool, btw, the reason I was trying to do everything through different type of nodes is the designer, At the end, I would like to see a designer with different type of nodes that are draggable, and have different behavior, With the suggested way here, in the future, the designer will still only have 1 generic type node (as available now) but with different actions, which is not nice as having different guitable nodes :-) Cool, I'll use actions for now as new nodes seems to be too complicated (although I'm pretty sure in the doc it is written that it is possible to add new nodes easily) Thanks for the answers guys, really. Thanks, Asaf. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133290#4133290 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133290 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Jndi Datasource
Please post the full stack trace for the exception you are getting. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133288#4133288 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133288 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Maximum CPU Usage in Jboss4.0.4 GA
Increasing the RAM to 2GB will help. Right now, the OS is using about 1/2GB and the app server is using another 1/2GB, which leaves nothing for postgresql. So I imagine you are doing a lot of page swapping. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133284#4133284 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133284 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Finder exception after upgrade from 4.0.5 to 4.2.2
Here are my descriptors: | | | false | false | | | | | XmlfeedrequestsBean | java:xmlbaseDS | Oracle8 | ctms.xmlfeedrequests | | | | | | | | http://java.sun.com/dtd/ejb-jar_2_0.dtd";> | | | | base xml feed request bean | XmlfeedrequestsEB | XmlfeedrequestsBean | possystems.transporter.XmlfeedrequestsLocalHome | possystems.transporter.XmlfeedrequestsLocal | possystems.transporter.XmlfeedrequestsBean | Container | java.math.BigDecimal | False | Xmlfeedrequests | | xmlfeedrequestseqid | | | destination | | | action | | | vkey | | | ikey | | | processedflag | | | processeddate | | | statusmessage | | | createdby | | | createddate | | | modifiedby | | | modifieddate | | xmlfeedrequestseqid | | auto generated method | | findByDestination | | java.lang.String | | | SELECT OBJECT(x) FROM Xmlfeedrequests AS x WHERE x.destination = ?1 | | | auto generated method | | findByWaitingStatus | | | SELECT OBJECT(x) FROM Xmlfeedrequests AS x WHERE x.processedflag = 'W' or x.processedflag = 'R' | | | auto generated method | | findDuplicateWaitingStatus | | java.math.BigDecimal | java.math.BigDecimal | | | SELECT OBJECT(x) FROM Xmlfeedrequests AS x WHERE x.processedflag = 'W' and not x.xmlfeedrequestseqid = ?1 and x.ikey = ?2 | | | | findByInSendStatus | | | SELECT OBJECT(o) FROM Xmlfeedrequests o where o.processedflag = 'S' | | | | | | | | | | XmlfeedrequestsBean | * | | Required | | | | | | | http://www.jboss.org/j2ee/dtd/jboss_3_0.dtd";> | | | | XmlfeedrequestsBean | XmlfeedrequestsBean | local/XmlfeedrequestsBean | | | | | Here is the code for the bean: | | import javax.ejb.*; | | /** | * This is the bean class for the XmlfeedrequestsBean enterprise bean. | * Created Dec 15, 2005 10:18:42 AM | * @author aazaroff | */ | public abstract class XmlfeedrequestsBean implements javax.ejb.EntityBean, possystems.transporter.XmlfeedrequestsLocalBusiness { | private javax.ejb.EntityContext context; | | // | // TODO Consider creating Transfer Object to encapsulate data | // TODO Review finder methods | /** | * @see javax.ejb.EntityBean#setEntityContext(javax.ejb.EntityContext) | */ | public void setEntityContext(javax.ejb.EntityContext aContext) { | context = aContext; | } | | /** | * @see javax.ejb.EntityBean#ejbActivate() | */ | public void ejbActivate() { | | } | | /** | * @see javax.ejb.EntityBean#ejbPassivate() | */ | public void ejbPassivate() { | | } | | /** | * @see javax.ejb.EntityBean#ejbRemove() | */ | public void ejbRemove() { | | } | | /** | * @see javax.ejb.EntityBean#unsetEntityContext() | */ | public void unsetEntityContext() { | context = null; | } | | /** | * @see javax.ejb.EntityBean#ejbLoad() | */ | public void ejbLoad() { | | } | | /** | * @see javax.ejb.EntityBean#ejbStore() | */ | public void ejbStore() { | | } | // | | | public abstract java.math.BigDecimal getXmlfeedrequestseqid(); | public abstract void setXmlfeedrequestseqid(java.math.BigDecimal xmlfeedrequestseqid); | | public abstract java.lang.String getDestination(); | public abstract void setDestination(java.lang.String destination); | | public abstract java.lang.String getAction(); | public abstract void setAction(java.lang.String action); | | public abstract java.lang.String getVkey(); | public abstract void setVkey(java.lang.String vkey); | | public abstract java.math.BigDecimal getIkey();
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: MDB Deployment Exception (HELP!)
I also have the experienced same problem. My solution is to bring the server up and then deploy the mdb. Hopefully this will be fixed by CR1. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133281#4133281 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133281 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: Oracle DS
Hey Davide, "Artec" wrote : | at org.hsqldb.jdbcDriver.connect(Unknown Source) | This cleary indicates that there is some problem in HSQL , you can verify this by writing a simple jdbc application if you don't feel lazy :) "Artec" wrote : | I must change "DefaultDS" (in standardjbosscmp-jdbc.xml or onother file) to oracle-ds ??? | | Thanks a lot | Davide | I think you should look at this , looks like you want to use oracle as the default datasource . http://wiki.jboss.org/wiki/Wiki.jsp?page=SetUpMysqlAsDefaultDS Also spend some time in reading this one http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050022#4050022 Vicky View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133280#4133280 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133280 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Schema Validation in JBOSS-WS
It looks like Mr. Diesler has put some good information in the bug http://jira.jboss.org/jira/browse/JBWS-1172 on how to do this, probably better than the implementation I built. It also looks like he is starting to develop it, so you might just wait to see his implementation. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133275#4133275 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133275 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: History Functions
In further digging, this seems to be what BAM is. Is this correct? Is it passed the development stage? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133273#4133273 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133273 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Restricting access to different portals.
Sorry Peter, the properties I set for the portal are | | control.portal.access_denied | jsp | | and | | control.portal.resource_uri | /WEB-INF/jsp/error/portal.jsp | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133271#4133271 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133271 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Implement digestCallback into login-config.xml
I don't see you extracting the salt in preDigets or postDigest methods. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133272#4133272 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133272 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - History Functions
Hey all. I have been looking for a few days now at documentation and can't seem to be able to do something I thought would be quite simple. Here is the business problem: my client is interested in tracking who made what decision and when. They also want to incorporate the diplay of that history into the site. For the purposes of discussion, each decision is 'userstamped' (which means their username and datetime is stamped). Here is an example, to illustrate the problem: -Order comes in from client. -Admin clerk who looks at it first generates a userstamp -If there is no product in the warehouse, the clerk creates an order. A userstamp is captured about who ordered it (and later who approved the order). -Email is sent to the client that it has been back-ordered, the person sending the email has a userstamp captured - etc. - Later a Manager comes by and reviews the order. They see a page that shows the history of the order as well as the userstamps (who, when). I can easily see how to implement something like this using JBPM, but I really don't want to re-invent the wheel. Is this functionality already built into JBPM? If so, how can it be accessed? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133268#4133268 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133268 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Object lifecycle
EvictionPolicyConfig the answer itself is, in the examples. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133265#4133265 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133265 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Upgrading to JBoss 4.2.2 using MySQL 5.0
Could someone please direct me to some documentation for the proper setup of JBoss 4.2.2 using MySQL 5.0? I am currently running JBoss 4.0 using MySQL 5.0. Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133267#4133267 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133267 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Restricting access to different portals.
Thanks Peter. I think this is the way I have to follow. I did a prototype on this and its working good. But I have an issue, if user who doesnt have access to a portal trying access it I am getting Access denied: HTTP 403 Forbidden response error page. I need change that to a custom jsp page. I tried in the way described in refernce guide. I set the pproperties, control.portal.access_denied ignore and control.portal.resource_uri /WEB-INF/jsp/error/portal.jsp in my portal. But its not working. Still its showing Access denied: HTTP 403 Forbidden response error page. Do you know any way to chnage this to a custome jsp page? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133266#4133266 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133266 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Object lifecycle
Hello all, i would like to ask you, how is it possible to invalidate an object in the cache under some time restrictions in order to force a new fresh copy to be retrieved. Is any configuration in order to force the cache to drop all the objects which are for example 2ms old? I know that you can write your own scheduler to run and iterate over the cache and remove old objects Regards, George View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133262#4133262 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133262 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: Oracle DS
Hi vicky, i've read something on google...if i don't use hypersonic, i must change my conf file ?? My conf directory is standardjaws.xml server.policy login-config.xml jndi.properties jbossmq-state.xml jboss-minimal.xml jboss-service.xml standardjbosscmp-jdbc.xml log4j.xml standardjboss.xml I must change "DefaultDS" (in standardjbosscmp-jdbc.xml or onother file) to oracle-ds ??? Thanks a lot Davide View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133261#4133261 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133261 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Finder exception after upgrade from 4.0.5 to 4.2.2
I did look in the archives and saw a previous reference to this but it was logged against a 4.0.x series and had appeared to be resolved. It was in reference to the query generator creating malformed queries. I want to post this just to make sure the problem has not cropped back up. We are in the process of upgrading from 4.0.5 to 4.2.2 and have run into an issue. We have basically just copied all of our deployed code and libraries into the new install as we did for the last 3 or 4 upgrades (running since 3.2.1) we have done. This time however none of my EJB2 entity beans will work. All of the ones I have tested so far fail with the following error: [org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.XmlfeedrequestsBean#findByPrimaryKey] Find failed This is now deployed into a stock 4.2.2 jboss install. We are running on the exact same physical piece of hardware that the previous version was. In fact everything works from the previous installation when we fire it back up in place of the new install. Same database backend, same everything except the jboss install. Note: There are no issues with any of the EJB2 session beans or any of the EJB3 beans (session or entity) we have deployed only the EJB2 entity beans. I can provide any code/deployment descriptors necessary. Thanks Andre View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133257#4133257 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133257 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Jndi Datasource
Hi guys, I have a problem to locate datasource, when I run a ejb a i got a error : UNKNOW SOURCE. I am doing any mistake ? DataSource ds = (DataSource) ic.lookup("java:jdbc/APAESP"); mssql-ds.xml | | | jdbc/APAESP | false | jdbc:microsoft:sqlserver://dbdesenv:1433;DatabaseName=TEST | com.microsoft.jdbc.sqlserver.SQLServerDriver | sa | | | MSSQL2000 | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133253#4133253 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133253 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - weired problem method gets call twice!!
Hi I am using stateful session bean in which a method gets call [EMAIL PROTECTED] | @Scope(ScopeType.APPLICATION) | @Name("myBean") this bean is loaded on in my pages.xml | | the load method gets call twice when page is loaded!! | | Why is it so??? | | Any Help Please | | Thanks | Panky View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133251#4133251 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133251 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Load balancing and dev environment
Hi, I have searched the forums and the JBoss Clustering documentation for a while, but could not find the information I needed. We intend to use two servers in our partition and for that, we intend to keep each client on the same server it first connected. 1) For that, I intend to use the org.jboss.ha.framework.interfaces.FirstAvailableIdenticalAllProxies load balancing configuration for JNDI HA and the EJBs. There is really no centralized way to do this configuration? Besides JNDI HA each EJB should be configurated individually? 2) For the development environment, the idea, for not having to change the descriptors/annotations all the time, would be the load a single JBoss server with the clustering turned on? Thanks in advance for any help. Regards, Marcelo Alcantara View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133250#4133250 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133250 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: How to Unit Test EJB 3.0
you can use JBoss Embedded or the other alternative is to use spring framework. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133244#4133244 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133244 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - MDB deployment error
Hi, Can someone help with following? I am trying to use IBM MQ resource adapter and I got this error when I deploy a MDB instance: 09:31:18,830 INFO [EjbModule] Deploying MDB 09:31:18,959 WARN [JMSContainerInvoker] JMS provider failure detected for MDB org.jboss.deployment.DeploymentException: Error during queue setup; - nested throwable: (java.lang.ClassCastException: com.ibm.mq.jms.MQQueue cannot be cast to org.jboss.jms.destination.JBossDestination) at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:53) at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStartDelivery(JMSContainerInvoker.java:811) at org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:839) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) 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.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.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:194) at org.jboss.ejb.MessageDrivenContainer.startService(MessageDrivenContainer.java:272) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) 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.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 $Proxy70.start(Unknown Source) at org.jboss.ejb.EjbModule.startService(EjbModule.java:429) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMe
[jboss-user] [EJB 3.0] - How to Unit Test EJB 3.0
Just started using EJB3.0 Does any one know how to Unit test EJB3.0 components deployed in Jboss server outside the container? Any resource links Thanks JY View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133239#4133239 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133239 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - How to invoke Java beans classes generated by
Hello I have generated codesuing seam gen and it has generated all the JSF files and Java persistence classes. e.g. package com.test.seam.sessionbeans; import com.test.seam.entitybeans.*; import java.util.ArrayList; import java.util.List; import org.jboss.seam.annotations.Name; import org.jboss.seam.framework.EntityHome; @Name("couponHome") public class CouponHome extends EntityHome { public void setCouponCouponId(Integer id) { setId(id); } public Integer getCouponCouponId() { return (Integer) getId(); } @Override protected Coupon createInstance() { Coupon coupon = new Coupon(); return coupon; } public void wire() { } public boolean isWired() { return true; } public Coupon getDefinedInstance() { return isIdDefined() ? getInstance() : null; } public List getListItemsCouponses() { return getInstance() == null ? null : new ArrayList( getInstance().getListItemsCouponses()); } } Now the JSF files generated can invoke the beans, how can i invoke these beans from standalone applications. Thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133234#4133234 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133234 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Configuration files
Hi guys, I've got a question regarding the configuration files of JBPM: I am using jpdl-suite-3.2.2 eclipse3.3.1.1 When using hibernate I had to modify the hibernate.cfg.xml within the jbpm-console.war because adding a modified copy of the file to the classpath does not affect anything. The same for using the jbpm business calendar: I had to change the jbpm.business.calendar.properties of the jar-archiv jbpm-jpdl.jar within jbpm-console.war/WEb-INF/lib. I am I doing something wrong or is it only this way how it works? Tanks Tina View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133231#4133231 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133231 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - session/transction mandatory when calling UserModule/RoleMod
I only need read only operations like getting list of role, user, etc... I notice that in order for a "MBeanProxy" to works, the call must be done inside a session (ok) but into a transaction too (?) here a working code : | Session session = null; | Transaction t = null; | try { | SessionFactory identitySessionFactory = (SessionFactory) new InitialContext().lookup("java:/portal/IdentitySessionFactory"); | session = identitySessionFactory.openSession(); | t = session.beginTransaction(); | | MBeanServer mbeanServer = MBeanServerLocator.locateJBoss(); | RoleModule roleModule = (RoleModule) MBeanProxy.get(RoleModule.class, | new ObjectName("portal:service=Module,type=Role"), mbeanServer); | | Set s = roleModule.findRoles(); | Iterator it = s.iterator(); | while (it.hasNext()) { | // just dump role for the test | System.out.println("roles : " + it.next()); | } | } catch (Exception ex) { | ex.printStackTrace(); | } finally { | if (t != null) {t.rollback(); } | if (session != null) {session.close();} | } | It's strange to start a transaction and always call a roolback !?! Am I actually making the request right !??? My code will not be call from a protlet, mostly servlet/dwr. anyway adding a trans-attribute to portlet.xml doesn't work for me. | | Required | | Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133226#4133226 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133226 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: how to change the context path
plz send me any solution to this problem I am using jse endpoints in jse end points how to do this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133222#4133222 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133222 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: transfer existing processes to new process definition
ok i really understand those reasons. they will give me good arguments for our sales department but suppose there will be only little changes...can i do for example a simple db update to make all processes the same version? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133220#4133220 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133220 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - cross auth between jportal and dwr/servlet better solution t
I convert a project from "form" submit based to dwr (ajax) submit. both work fine together. At the top security(login, portlet access) level i will use jboss. Like in any project :-) some actions must be valid only to some users. Since dwr is just servet, i must check user right here too. >From the dwr servlet i succesfully have access to user and role module, but to >know who is logged in, the only solution I found so far is by storing the user >name into a session attribute. in portlet with admin/secure op : | // somewhere in the doView | String ruser = request.getRemoteUser(); | if (ruser != null) { | PortletSession sss = request.getPortletSession(true); | if (sss != null) { | sss.setAttribute("ruser", ruser, PortletSession.APPLICATION_SCOPE); | } | } | from a dwr class function | WebContext ctx = WebContextFactory.get(); | HttpServletRequest req = ctx.getHttpServletRequest(); | HttpSession sss = req.getSession(false); | if (sss != null) { | String ruser = (String)sss.getAttribute("ruser"); | if( ruser !=null ){ |// user auth |// now check againt jboss through role module etc. | } | } | So, yes it's working. when loggin out, jboss clean the session too. But i have 2 questions : 1) is it really secure ?? can an exploit might hack into my dwr function ??? (there's always a risk, I meet hack easily ...) 2) Is there a better solution, to get who's loggin in, direclty by asking jbossportal ??? what I really need, is to have acces to the roles list of the logged in user making the request; that's all (I'm using ejb to external db and jackrabbit) Thks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133218#4133218 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133218 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Less coding by custom nodes/jrules/etc...
correct and String blob can also be a List, Map, Document, whatever see the unittests for all kinds of examples View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133216#4133216 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133216 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - swimlanes <-> configured users in jboss
when i use the graphical designer to design a workflow. i could define swimlanes. how can i assign in jboss configured users to a swimlane? or further more i got a list of entries defined in a table. a process variable should be one item of the list. depending on which entry the process should be routed to the next node. i there a way to make the list availiable in the graphical designer? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133214#4133214 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133214 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: transfer existing processes to new process definition
jBPM does not provide migrating processes to newer versions of a definition *out of the box* for various reasons: - it does not know how to map ALL existing nodes to new ones, since a lot can change - it does not know how to map ALL existing variables to new ones since a lot can change - it does not know how to map tokens in running instances to nodes in the new processes since a lot can change As you can see migrating processinstances is not practical, that's why there is no support out of the box it *does* provide a low level api whith which you can manipulate almost everything. It's up to you to learn this api and use it at your own discretion. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133212#4133212 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133212 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Javassist user questions] - Re: adding annotations
I've made another experiment: using an AnnotationsWriter as follows does not work too: | | ByteArrayOutputStream aos = new ByteArrayOutputStream(); | AnnotationsWriter aw = new AnnotationsWriter(aos, constantPool); | aw.numAnnotations(1); | aw.annotation(this.annotationClassName, 0); | aw.close(); | byte ab[] = aos.toByteArray(); | attribute = new AnnotationsAttribute(constantPool, AnnotationsAttribute.visibleTag, ab); | | System.out.println("Annotation attribute " + attribute.getName() + " " + attribute.getAnnotations().length); | classFile.addAttribute( attribute ); | The class can be loaded and instantiated, but I cannot access its annotations. In both cases, if I print the classfile content with a ClassFileWriter I got a message that lets me think I've got the annotations: | attribute: SourceFile (2 byte): javassist.bytecode.SourceFileAttribute | attribute: RuntimeVisibleAnnotations (6 byte): javassist.bytecode.AnnotationsAttribute | Moreover, in the case in which I use an AnnotationsWriter I got the following run-time exception when I try to access the annotations thru the Class.getAnnotations() method: | Exception in thread "Thread-Example-Main" java.lang.reflect.GenericSignatureFormatError | at sun.reflect.generics.parser.SignatureParser.error(SignatureParser.java:103) | at sun.reflect.generics.parser.SignatureParser.parseFieldTypeSignature(SignatureParser.java:233) | at sun.reflect.generics.parser.SignatureParser.parseTypeSignature(SignatureParser.java:359) | at sun.reflect.generics.parser.SignatureParser.parseTypeSig(SignatureParser.java:157) | at sun.reflect.annotation.AnnotationParser.parseSig(AnnotationParser.java:367) | at sun.reflect.annotation.AnnotationParser.parseAnnotation(AnnotationParser.java:181) | at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:69) | at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:52) | at java.lang.Class.initAnnotationsIfNecessary(Class.java:3072) | at java.lang.Class.getAnnotations(Class.java:3052) | I cannot find whre I'm doing something wrong. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133207#4133207 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133207 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Avoid service to start at startup
Sorry for assignment ;) OK, I've checked up your proposal workaround and made following changes: own schedule manager: | public class ScheduleManagerExt extends ScheduleManager{ | |private boolean started = false; | |@Override |public boolean isStarted(){ | return started; |} | |@Override |public void startSchedules(){ | this.started = true; |} | |@Override |public void stopSchedules(boolean pDoItNow){ | this.started = false; |} | } and deployment descriptor (jboss-service.xml): | | | false | | |... | | but it doesn't fix the problem in any way. Any other idea? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133206#4133206 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133206 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Synchronising tasks finish-to-finish
business process automation and the process design that is part of it is about thinking out of the box, the box in this case being the processes as people *perceive* them. Most of the time you cannot do this without business process redesign. Glad to hear I'm an 'inspirator' :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133200#4133200 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133200 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: jndi connecting problem
sorry, I compiled jboss-5.0.0-Beta2 and used it as server, but at client side, I just installed jboss-5.0.0-Beta3. So that caused the problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133180#4133180 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133180 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Less coding by custom nodes/jrules/etc...
"kukeltje" wrote : See http://docs.jboss.com/jbpm/v3/userguide/jpdl.html#configurationofdelegations | | How you parse the content of what is in there is completely up to the developer I had another look at that and came up with the following: | | | | | | This is some constructor config data | | | This is some field config data | | | This is some bean config data | | | | | | | | | and import org.apache.commons.logging.Log; | import org.apache.commons.logging.LogFactory; | import org.jbpm.graph.def.ActionHandler; | import org.jbpm.graph.exe.ExecutionContext; | | public class TestHandler implements ActionHandler | { | private static Log log = LogFactory.getLog(TestHandler.class); | | public String blob; | | public TestHandler() | { | log.debug("Default constructor"); | blob = "default"; | } | | public TestHandler(String xml) | { | this(); | | log.debug("Config constructor"); | | configure(xml); | } | | public void configure(String xml) | { | log.debug("Parse: " + xml.trim()); | } | | public void setBlob(String blob) | { | log.debug("Setter"); | this.blob = blob; | } | | public void execute(ExecutionContext executionContext) throws Exception | { | log.debug("Execute: " + blob); | } | | } | Hope that helps :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133178#4133178 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133178 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: table sorting in jbpm-3.1.4
Thank U sir View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133170#4133170 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133170 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: behavior of SFSB handle from JBoss V3.2.7 compared to JB
Well, I ended up with our own implementation of the NamingContextFactory. I think this should be the appropriate way to handle this at all ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133167#4133167 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133167 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: Oracle DS
"[EMAIL PROTECTED]" wrote : "Artec" wrote : Hi vickyk, and thanks for your answer. | | Ok for the first question ! | | For the second instead i attach you the part of the stacktrace above the error that i've past yesterday | | | | 2008-02-29 00:00:36,823 INFO [org.jboss.resource.connectionmanager.TxConnectionManager] Starting | | 2008-02-29 00:00:36,835 INFO [org.jboss.security.plugins.JaasSecurityManagerService] Created securityMgr=org.jboss.security. | | [EMAIL PROTECTED] | | 2008-02-29 00:00:36,836 INFO [org.jboss.security.plugins.JaasSecurityManagerService] setCachePolicy, c=org.jboss.util.TimedC | | [EMAIL PROTECTED] | | 2008-02-29 00:00:36,836 INFO [org.jboss.security.plugins.JaasSecurityManagerService] Added HsqlDbRealm, org.jboss.security.p | | [EMAIL PROTECTED] to map | | 2008-02-29 00:00:36,843 INFO [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.DefaultDS] Bound connectio | | n factory for resource adapter for ConnectionManager 'jboss.jca:service=LocalTxCM,name=DefaultDS to JNDI name 'java:/DefaultD | | S' | | 2008-02-29 00:00:36,843 INFO [org.jboss.resource.connectionmanager.TxConnectionManager] Started | | 2008-02-29 00:00:36,843 INFO [org.jboss.mq.pm.jdbc2.PersistenceManager] Starting | | | | ...and so, the error is in the defaultds,right ?? and not in my oracle-ds ?? | | I don't use hypersonic ! | | | | Thanks | | Davide | Where is the error , these are just log statements ? | the complete stacktrace is 2008-02-29 00:00:36,835 INFO [org.jboss.security.plugins.JaasSecurityManagerService] Created securityMgr=org.jboss.security. [EMAIL PROTECTED] 2008-02-29 00:00:36,836 INFO [org.jboss.security.plugins.JaasSecurityManagerService] setCachePolicy, c=org.jboss.util.TimedC [EMAIL PROTECTED] 2008-02-29 00:00:36,836 INFO [org.jboss.security.plugins.JaasSecurityManagerService] Added HsqlDbRealm, org.jboss.security.p [EMAIL PROTECTED] to map 2008-02-29 00:00:36,843 INFO [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.DefaultDS] Bound connectio n factory for resource adapter for ConnectionManager 'jboss.jca:service=LocalTxCM,name=DefaultDS to JNDI name 'java:/DefaultD S' 2008-02-29 00:00:36,843 INFO [org.jboss.resource.connectionmanager.TxConnectionManager] Started 2008-02-29 00:00:36,843 INFO [org.jboss.mq.pm.jdbc2.PersistenceManager] Starting 2008-02-29 00:00:42,942 ERROR [org.jboss.mq.pm.jdbc2.PersistenceManager] Starting failed org.jboss.mq.SpyJMSException: Could not resolve uncommited transactions. Message recovery may not be accurate; - nested thro wable: (org.jboss.util.NestedSQLException: Could not create connection; - nested throwable: (java.sql.SQLException: Connectio n is broken: Connection refused); - nested throwable: (org.jboss.resource.JBossResourceException: Could not create connection ; - nested throwable: (java.sql.SQLException: Connection is broken: Connection refused))) at org.jboss.mq.pm.jdbc2.PersistenceManager.resolveAllUncommitedTXs(PersistenceManager.java:276) at org.jboss.mq.pm.jdbc2.PersistenceManager.startService(PersistenceManager.java:1299) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192) at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:966) at $Proxy11.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:392) at org.jboss.system.ServiceController.start(ServiceController.java:408) at org.jboss.system.ServiceController.start(ServiceController.java:408) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy5.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613) at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
[jboss-user] [JBossWS] - Re: jbossws-3.0.1-native-2.0.4.GA
It's already fixed in trunk. Try an update View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133162#4133162 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133162 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: Oracle DS
"Artec" wrote : Hi vickyk, and thanks for your answer. | Ok for the first question ! | For the second instead i attach you the part of the stacktrace above the error that i've past yesterday | | 2008-02-29 00:00:36,823 INFO [org.jboss.resource.connectionmanager.TxConnectionManager] Starting | 2008-02-29 00:00:36,835 INFO [org.jboss.security.plugins.JaasSecurityManagerService] Created securityMgr=org.jboss.security. | [EMAIL PROTECTED] | 2008-02-29 00:00:36,836 INFO [org.jboss.security.plugins.JaasSecurityManagerService] setCachePolicy, c=org.jboss.util.TimedC | [EMAIL PROTECTED] | 2008-02-29 00:00:36,836 INFO [org.jboss.security.plugins.JaasSecurityManagerService] Added HsqlDbRealm, org.jboss.security.p | [EMAIL PROTECTED] to map | 2008-02-29 00:00:36,843 INFO [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.DefaultDS] Bound connectio | n factory for resource adapter for ConnectionManager 'jboss.jca:service=LocalTxCM,name=DefaultDS to JNDI name 'java:/DefaultD | S' | 2008-02-29 00:00:36,843 INFO [org.jboss.resource.connectionmanager.TxConnectionManager] Started | 2008-02-29 00:00:36,843 INFO [org.jboss.mq.pm.jdbc2.PersistenceManager] Starting | | ...and so, the error is in the defaultds,right ?? and not in my oracle-ds ?? | I don't use hypersonic ! | | Thanks | Davide Where is the error , these are just log statements ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133161#4133161 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133161 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - Re: Logging level for
Sorry for bad subject, the forums cut it off... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133157#4133157 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133157 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: MDB DeploymentException: Unable to create activation spe
Being discussed at http://www.jboss.com/index.html?module=bb&op=viewtopic&t=130962 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133155#4133155 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133155 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: jndi connecting problem
anonymous wrote : 2008-02-28 21:18:13,952 DEBUG [org.jboss.invocation.http.servlet.InvokerServlet] Invoke threw exception | java.io.InvalidClassException: org.jboss.security.plugins.JBossSecurityContext; class invalid for deserialization Did you use the same JBoss jar files which are on the server? Also, make sure you are using the same version of Java on both the server and the client. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133150#4133150 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133150 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - Logging level for
Hi All, I am using Tibco EMS as JMS engine. In this setup all messages come with id=null (I have no control over this). I have a workaround in which I assign a message id when the message reception is rolled back, so DLQ handling itself isn't a problem here. Problem comes when the message is just successfully received/processed but AbstractDLQHandler (actually it comes from GenericDLQHandler) still logs "Message id is null?" with logging level as ERROR. This happens even if no rollback happens (i.e. the message is consumed successfully). This wouldn't be a big deal but the log statement also logs the message. And if the message is big the logs files grow extremely fast. Any idea how to resolve it? Is this a candidate for JIRA issue? Thanks in advance! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133149#4133149 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133149 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - transfer existing processes to new process definition
the faq says Can you transfer a running process to a newly deployed process definition? No, you have to end that process and start it again in order to use the new process definition i can't believe that. is there really no way? i don't think that's very practical. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133148#4133148 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133148 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - QueueBrowser not returning anything in Enumerator
The following is a code snippet which works without error, but does not return any details in the QueueBrowser, I cannot fathom out why this could be. A number of messages get placed on the queue, and if I stick a debug breakpoint within the onMessage process, I can see these persisted in the database, before process completion. If I use the JMX console, the queue shows the correct number of items to be processed but when executing the listAllMessages() method, this also returns an empty array. Any clues as to what might be the problem or areas to look at would be appreciated. Thanks InitialContext ctx = PropertiesHelper.getInitialContext(); Queue queue = (Queue)ctx.lookup( "queue/calendarQueue" ); QueueConnectionFactory connectionFactory = (QueueConnectionFactory)ctx.lookup( "java:/JmsXA" ); QueueConnection connection = connectionFactory.createQueueConnection(); Session session = connection.createQueueSession( true, QueueSession.AUTO_ACKNOWLEDGE ); QueueBrowser queueBrowser = session.createBrowser( queue ); Enumeration queueEnumerator = queueBrowser.getEnumeration(); int number = Collections.list( queueEnumerator ).size(); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133146#4133146 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133146 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Synchronising tasks finish-to-finish
I tried putting a condition on a leaving transition - but that just complicates matters. "kukeltje" wrote : Why not simply introduce things like 'prepare shipment' that is where the ship item is now and move the ship item below the join Interesting thought - I could have a 'start' even before the join(s) and a 'stop' even after the join... In which case I'll just want an 'event' node - sounds like a 'vanilla' node with an action... Thanks for the inspiration :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133142#4133142 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133142 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: JBoss installing Problem
On the current system where the jboss is running there is no -ds.xml (if i looked right) file and its running fine. I copied the whole directory including subdirectory to the new server. if there is a -ds.xml file, it should be on the new system too. where can i find this -ds.xml file? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133140#4133140 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133140 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: JBoss installing Problem
anonymous wrote : yes, i deployed the datasource. This is the content of the datasource. | | my db2-service.xml Actually, this is not how a datasource is deployed. You have to create a file named *-ds.xml with a < datasource> element. See these for details: http://wiki.jboss.org/wiki/Wiki.jsp?page=DSdotXML http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigDataSources View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133130#4133130 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133130 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: NullPointer: Setting portlet instance preferences via In
2. Is the setting of portlet instance prefs via the InstanceContainer bound to the admin user? 3. Am i missing some service? 4. What am i doing wrong ;-) Reading seems to work Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133126#4133126 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133126 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Less coding by custom nodes/jrules/etc...
anonymous wrote : "trouby" wrote: | What about extending the default node, but having more tags specified in its body? | | You could, but that'll still mean changing the core jBPM source to have them parsed. No not needed. just add an action to the node to give it the behaviour you want. No need to change any core jbpm source. anonymous wrote : The tags are delegated to the node class, but at the time the definition is read from the XML source - so not at execution time. (At least, I'm pretty sure that's how it is.) If you put xml tags in as params, they'll be passed, runtime, to your node implementation in the form of an XML Document object. regardless of which tags you put in. See http://docs.jboss.com/jbpm/v3/userguide/jpdl.html#configurationofdelegations How you parse the content of what is in there is completely up to the developer View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133127#4133127 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133127 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Not finding org.jboss.ejb3.StrictMaxPool class
Answered at http://www.jboss.com/index.html?module=bb&op=viewtopic&t=130955 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133120#4133120 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133120 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - NullPointer: Setting portlet instance preferences via Instan
Hi using this development setup: | * Version: jboss-portal-2.6.1.GA | * Download Version | * JBoss AS Version: 4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605)] | * Database: Mysql 5.0.51a-community-nt | * JDBC Connector and Version: mysql-connector-java-5.0.5-bin.jar | * OS Platform: Windows XP 32-Bit | | I have injected the InstanceContainer and set transaction support via jboss-portlet.xml: | | | | | | InstanceContainer | | org.jboss.portal.core.model.instance.InstanceContainer | | :container=Instance | | | | and | | Required Reading from the portlet instnaces does work, writing to the portlet preferences creates a nullpointer, using this example code: | //Get the instance container | InstanceContainer instanceContainer = (InstanceContainer) this.getPortletRequest().getPortletSession().getPortletContext().getAttribute("InstanceContainer"); | InstanceDefinition id = instanceContainer.getDefinition("startPortletInstance"); | | // This does work! | PropertyMap pmap = id.getProperties(); | String uuid = ((StringValue) pmap.get("uuid")).toString(); | | List tmp = new ArrayList(); | if (pmap.containsKey("uuid")) { | PropertyChange change = PropertyChange.newUpdate("uuid", new StringValue(documentId)); | tmp.add(change); | } | PropertyChange[] changes = (PropertyChange[]) tmp.toArray(new PropertyChange[tmp.size()]); | //This doesn't work | id.setProperties(changes); | I have debugged the setProperties() method for my portlet und the admin portlet and found the problematic section: org.jboss.portal.core.impl.portlet.state.PersistentPortletStatePersistenceManager The following code line leads to the nullpointer: context.entries.clear(); The problem seems to be, that the loaded (hibernate?) PersistentPortletState object is not set up correctly, most properties are empty. I have compared this to the admin-core portlet - there is the object loaded correctly. Some questions: 1. Am i gettin the InstanceCotainer correctly: InstanceContainer instanceContainer = (InstanceContainer) this.getPortletRequest().getPortletSession().getPortletContext().getAttribute("InstanceContainer"); | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133124#4133124 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133124 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user