[jboss-user] [JBoss Tools (users)] - Re: JBOSS Tools and eclipse 3.3
Hi! The manual you're reading is out of date. Here you can find links to the new guides http://www.redhat.com/developers/rhds/index.html P.S. You can create new servlet using: New -> Other -> Web -> Servlet View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106466#4106466 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106466 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: The field Priority.debug is deprecated
"deprecated" means that the feature you are using (the debug field in the Priority class, in your case) is no longer the preferred way of accessing this information and at some future time might no longer be allowed, but at this time the feature still works. As an example, there are many things that have been deprecated since Java 1.1 that still work. Your choices are: a) ignore the warning b) change you code to use the preferred mechanisms (the documentation for the debug field should say what replaced it) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106464#4106464 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106464 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to integrate Ext with Seam using JSON
hi,damianharvey my trick is , first create grid object with a "createGrid(data)" function, then use js:function to get collection from server and transfer it into "data",after that i use js:function "oncomplete" to call "createGrid(data)" to build the grid. yes, i know js:Function is a very cheep way, :) but so far i didnot see any problem with xhtml and ajax4jsf filters. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106465#4106465 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106465 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - setting Identity.authenticateEveryRequest = true doesn't act
Is this a bug? this is the case in v 2.0.0 GA as well as in the head of cvs. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106463#4106463 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106463 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to invoking methods with parameters with Seam test?
@Test | public void testCreate() throws Exception { |new ComponentTest() { | @Override | protected void testComponents() throws Exception { | Employee employee = new Employee(); | employee.setFirstName("abcdefghijklmnop"); | employee.setLastName("burns"); | ( (DBI) getInstance("dbi") ).create(employee); | } | |}.run(); | } Not a problem with Seam ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106462#4106462 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106462 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Using file resources in web projects
Two possibilities. 1) Write a servlet that returns the icon. Your html page would then reference the servlet, providing enough information in the url so that the servlet can identify the icon. 2) Use an external directory (http://wiki.jboss.org/wiki/Wiki.jsp?page=ExternalDirectories) and place the icons there. Unfortunately, this means having two three things to deploy instead of just two. I would go with option 1. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106459#4106459 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106459 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:graphicImage decreases the image quality
Look at the jira issue, and vote for it if you want it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106455#4106455 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106455 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Navigator doesn't render an image using
Please preview your post before posting. Whats "not right"? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106453#4106453 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106453 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Getting DEBUG messages and server goes to hung state
I am going to go out on a limb here and say that someone modified the server's source code because I cannot see any such logging statements in the source I have. What version of JBoss AS are you using? If you take a thread dump, what are the threads doing? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106457#4106457 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106457 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Begginer question Task forms inside standard Web Application
Hello, I have just deployed and tested the built-in simple process and tried with the jbpm-console. I would like to know if it's possible to insert the web console interface of the process (built with Eclipse Designer) into another standard JSP-based web application. In other words, I'd like to recall the task's form from inside another Web Application or I need to use the jbpm-console ? Thanks Francesco View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106452#4106452 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106452 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: web services
Did you read the docs? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106456#4106456 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106456 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: I have a problem with selectOneMenu
Use code tags, post the whole stack trace. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106451#4106451 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106451 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Restting a form inside a modalPanel
Cheers, I thought I had tried that but I'll give it another go. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106454#4106454 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106454 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: pagination and dataTable
Read the docs. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106450#4106450 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106450 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - web services
Hi...I'm using jboss-seam 2.0.0.GA and a web services client (.jar)...so what I need is to run this web services client within a Seam environment. I read from Seam documentation that I have to put this xml file into the META-INF directory of the jar file that contains the web service classes : standard-jaxws-endpoint-config.xml Do I need to modify or add any other xml file ? I made some classes that call the methods of the web service client, Do I have to write some specials annotations in this classes? I would appreciate any help. Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106449#4106449 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106449 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: formattedText with dynamic content - escaping
No, we have no built in class for doing this, but it could be an interesting addition for SeamText, so it would be interesting to see what you come up with. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106448#4106448 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106448 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Problem starting JBOSS 4.0.5GA
I do not know of any configuration setting to bypass the checks, you would have to modify the code. And RMI was just an example, you could very well run into other problems. You also never said why you are against modifying /etc/hosts, it is such a simple solution. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106446#4106446 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106446 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Restting a form inside a modalPanel
You're on the right path, however in the latest version of richfaces you can't just reRender the modal you have to reRender something in it. Your best bet is to have something like an or in the modal and reRender that. Cheers, Damian. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106445#4106445 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106445 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Multiple JBPM engines on one single JBoss instance
It's easy, simply edit hibernate.cfg.xml file for another datasources which you have. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106444#4106444 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106444 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @Factory is not working
Yep. Or change your page to : | Cheers, Damian. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106442#4106442 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106442 ___ 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
Yes something changed in the packaging interpretation. In 4.2.1, we had to package the jars containing the ejbs (beans.jar) twice: - q.ear/lib/utils.jar - q.ear/META-INF/application.xml (module/ejb=app.jar) - q.ear/beans.jar <- duplicate - q.ear/app.jar/ejb3/beans.jar - q.ear/app.jar/META-INF/persistence.xml (jar-file=../ejb3/beans.jar) In 4.2.2 the packaging above results in deployment errors, so i changed the packaging into what i believe is the correct ejb3-packaging - q.ear/lib/utils.jar - q.ear/META-INF/application.xml (module/ejb=app.jar) - q.ear/app.jar/ejb3/beans.jar - q.ear/app.jar/META-INF/persistence.xml (jar-file=ejb3/beans.jar) and then i got the jndi-factory-naming error. So perhaps, the difference is that my persistence.xml is in a .jar inside an .ear (that also contains lib/.jars). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106443#4106443 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106443 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Obtaining user identity from PortalRuntimeContext?
Hello, I'm using JBoss 4.2 EAP and Portal 2.6.2 with JSF and facelets. I see in the Reference Guide (Ch. 11) that there is a PortalRuntimeContext. According to the API and the guide, I should be able to get the user's identity via getUserId(). Unfortunately, I can't figure out how to get the context from within a JSF backing bean. Could someone please point me to an example or tutorial? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106441#4106441 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106441 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Need Help! encounter strange Exception:not used by any E
Hi, i use DAO pattern, all CRUD fuctions are supposed come from GenericDAO for example, in GenericDAO i defined findAll(), findById()then , i let EmailTemplate extends GenericDAO to get such frequently used functions and these crud functions are also INVOKED in my SLSB. If the reason of this exception is i did not defined any method in my DAO session Bean, please tell me what is the pupose of this Exception, against inheritance in EJB3 world? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106440#4106440 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106440 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Why does EntityQuery auto save updates?
Seems there is a link between EntityHome.instance() and EntityQuery or both refer to same instance of Entity? My changes get updated to database when I 'execute a query' to get current data in database. I have a jsf form based on EntityHome which updates few fields. Before committing changes to database I would like to compare values in database with values changed by the user. Therefore, I execute query -attached-. But I noticed, running query first committs my changes to database and then query it back. Is it possible to stop this behaviour? so what else can I do? Seam 1.2.1GA. | Query that auto updates Client | EntityQuery query = new EntityQuery(); | query.setEjbql("select client from Client client where lower(id)=lower('"+ id + "')"); | List client = query.getResultList(); | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106438#4106438 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106438 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Multiple entities on page, and @Name conflict
Thanks. Just to be clear: do I remove the @Name annotation from "Entity" in your example? Because I have tried using getters in my action class, but then I get javax.el Exceptions. Using your example, class MyBackingBean would have to be @Name d (say, "myBackingBean", and on the page I'd reference #{myBackingBean.entity1.someAccessor} (which gives me a javax.el.PropertyNotFoundException on "entity1"), or reference #{myBackingBean.getEntity1().someAccessor()}, in which case I get a javax.el.ELException "method not found". Does anyone have code proving two instances of the same entity type can be used on the same page with the same action class? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106436#4106436 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106436 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Need help to understand what I'm doing
Hello, I need some help to understand better the usage of the session context. I've got a bean in the session context with a property 'scroller' that will be bound to a Richfaces datascroller component : @Stateful(name="EqtWebEquitySelector") | @Name("equitySelector") | @Scope(ScopeType.SESSION) | @TransactionAttribute(TransactionAttributeType.SUPPORTS) | public class EqtWebEquitySelectorBean implements EqtWebEquitySelectorLocal { | | .../... | | // Scroller | private HtmlDatascroller scroller; | | /** | * @see com.rubis.web.equity.EqtWebEquitySelectorLocal#getScroller() | */ | public HtmlDatascroller getScroller() { | return scroller; | } | | /** | * @see com.rubis.web.equity.EqtWebEquitySelectorLocal#setScroller(org.richfaces.component.html.HtmlDatascroller) | */ | public void setScroller(HtmlDatascroller scroller) { | this.scroller = scroller; | } | .../... | } | Its interface is : package com.rubis.web.equity; | | import org.richfaces.component.html.HtmlDatascroller; | | public interface EqtWebEquitySelectorLocal { | .../... | | public HtmlDatascroller getScroller(); | | public void setScroller(HtmlDatascroller scroller); | | .../... | | } A page binds the property 'scroller' to the 'equitySelector' component : | | | | | | | .../... | | | If a remove the @Scope(ScopeType.SESSION) annotation from the bean, the JSF rendering of the page fails. It says that 'equitySelector' is null. If I remove the binding to the 'scroller' property, the rest of the page works, that is 'equitySelector' is found (it is used appropriately some other places in the page). Why is this ? Why do I have to load the session context ? Is there w way to use some other scope type for the bean than SESSION ? I would like not to overload my http session with stateful data ? Can I use the PAGE scope type instead ? Fred View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106427#4106427 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106427 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - JSF ExternalContext.redirect(url)
Hi, I'm developing a JSF portlet application on JBP 2.6.1, AS 4.2.1. I need to redirect navigation from a JSF portlet to another one, before this a portlet session attribute must be set, so I can't user a direct link to the portlet URL. Based on JSF 1.2 documentation i tried: FacesContext fc = FacesContext.getCurrentInstance(); | fc.getExternalContext().redirect("http://localhost/portal/auth/portal/Portale+Benvenuto/Informazioni+Personali";); | but I got the following error: 6:08:05,746 ERROR [STDERR] 20-nov-2007 16.08.05 com.sun.faces.portlet.FacesPortlet processAction | INFO: PS_CSFP0017:sendRedirect called Portlet mode cannot be set after redirect | what is wrong? Merci View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106424#4106424 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106424 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Message stranded in cluster
Ok, I finally got everything up and running on JBAS 4.2.2.GA and JBM 1.4.0.SP1. I use a ClusteredConnectionFactory to push messages to a clustered queue, and it is round-robining them to the partial queues as expected. Each of the services consuming these messages pushes another message on to another clustered queue using XAConnectionFactory, which results in each node pushing the message to its own partial queue. The consumers of these messages are non-clustered windows servers that are both connected to one of the nodes in the cluster using the ClusteredConnectionFactory available through ha-jndi. I expected the messagesucker to move messages from the node with no consumer to the node with consumers but it is not. Is this because those message were pushed using the XAConnectionFactory instead of the ClusteredConnectionFactory? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106420#4106420 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106420 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Multiple entities on page, and @Name conflict
Well, rather than use named entity instances, you could just use references to them in a stateful backing bean : I.e. | | class MyBackingBean | | ... | private Entity entity1; | private Entity entity2; | | public Entity getEntity1() { | return entity1; | } | | public Entity getEntity2() { | return entity2; | } | | | Which I believe is the preferred method to outjecting entity instances. Cheers, Andy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106421#4106421 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106421 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: war file deployment in java code
Yes, you can. JBoss exposes the deployers as MBeans. You will have to first get reference to the MBeanServer and then get hold of the jboss.system:service=MainDeployer MBean. This MBean has the deploy method to which you can pass the URL of the file to be deployed. Have a look at http://wiki.jboss.org/wiki/Wiki.jsp?page=HowCanIGetAReferenceToTheMBeanServer You may even want to look at a few examples of invoking MBeans. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106418#4106418 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106418 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Multiple datasources to one database. Effectiveness?
What if one application (EAR) uses multiple datasources for different appliciation parts (modules, EJB jars) but only one physical database (Oracle) let's say from legacy reasons. Different entities can use different datasources in single transaction. Everything works but how much is this solution effective? Are there any hidden costs for such configuration? How inteligent is EntityManager to handle such case? Aren't unnecessary 2PCs (two phase commit) triggered? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106419#4106419 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106419 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: entityManager goes null on form submit?
Hi all, Here's a fix for the problem. Set this system property before instantiating your first instance of ITextRenderer: System.setProperty("xr.util-logging.loggingEnabled", "false"); The problem seems to be caused by Flying Saucer reconfiguring the log manager by calling LogManager.readConfiguration. Flying Saucer shouldn't really be doing this because it blows away any existing log configuration, but on the other hand it's odd that Seam (or maybe JBoss?) behaves this way when logging is reconfigured. -- Calvin View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106412#4106412 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106412 ___ 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
anonymous wrote : The ear deploys on 4.2.1 I just compared the source code of 4.2.1 and 4.2.2. Incidentally, there's a change in the org.jboss.ejb3.Ejb3Deployment. The change relates to the way the InitialContext is being constructed. I can't reproduce this error on 4.2.2 system, with my sample persistence application. However, i have seen a similar post in one of the forums here which too pointed to the same error while deploying an application on 4.2.2 (and the application deployed fine on 4.2.1). Looks like something specific to the way the application is packaged or maybe the contents in your application. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106409#4106409 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106409 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @Factory is not working
>From the docs: anonymous wrote : A factory method will be called when a context variable is referenced but has no value bound to it. You are however not referencing the context variable, but a getter method on another context variable. (if you had an @Out at the list, the factory would have been called). Also, for selectitems, you can use the s:convertEntity tag and return the results from the query instead. Much simpler! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106403#4106403 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106403 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Problem with DataModel and s:link
Hello, I'm using Seam 2.0GA. I've a rich:dataTable that displays the values of a DataModel outjected from a "search" component. Each row defines a s:link with an action that triggers the call to a select method of an "info" component throuh a pageflow. The two components are in a the same conversation scope. It works fine if I use h:commandLink or h:commandButton but if i use s:link, it fails. The value passed to the select method is always the one that's attached to first row I've clicked. Here are the code snippets. SearchBookingAction: | @Stateful | @Scope(ScopeType.CONVERSATION) | @Name("search") | @Restrict("#{identity.loggedIn}") | public class SearchBookingAction implements SearchBooking { | | @In | private EntityManager arsEntityManager; | | @DataModel | private List bookings; | | private String pnr; | private String flightNumber; | private Date flightDate; | | public void search() | { | Query query = arsEntityManager.createQuery(...); | bookings = query.getResultList(); | } | | | } | BookingInfoAction: | @Stateful | @Scope(ScopeType.CONVERSATION) | @Name("info") | public class BookingInfoAction implements BookingInfo { | | @In | private EntityManager arsEntityManager; | | private Booking booking; | | private List departureFlights; | private List returnFlights; | | public void selectBooking(Booking booking) { | this.booking = booking; | } | | public boolean populate() { | log.info("info.populate() called with: "+booking.getPnr()); | if (booking == null) | return false; | departureFlights = selectDepartureFlights(); | returnFlights = selectDepartureFlights(); | return true; | } | | ... | } | search.xhtml: | | | #{messages['asr.list.pnr']} | #{currentBooking.pnr} | | | #{messages['asr.list.name']} | #{currentBooking.masterName} | | | #{messages['asr.list.flightnum']} | #{currentBooking.masterFlightNumber} | | ... | | #{messages['asr.list.viewheader']} : | | | | bo.jpdl.xml: | | | ... | | | | | | | | | | | | | ... | | | ... | Any ideas why it works with a h:commandButton or h:commandLink and not a s:link? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106404#4106404 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106404 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to invoking methods with parameters with Seam test?
Hmm, looks like there is a Major problem with Seam 2 and Embedded Jboss so going to write normal Junit tests for now. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106401#4106401 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106401 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @Factory is not working
Hi all anonymous wrote : | Make sure you have a seam.properties file in your classes directory. | Are all other SEAM operations working? | Yes, seam.properties is rigth and other Seam stuff work well, i'm sure of this. anonymous wrote : | @Factory will be called when you call it from a page (or wherever) and Seam will place the value into the context variable so that it isn't called again for the life of the context. | This is exactly my idea, that's whay i don't understand whay my code is not executing the @Factory annotated method. this is the jsf page that is calling a variable which is refrenced by the @Factory, the variable is "tipoAcusadoList": anonymous wrote : | | | | | | | | | | | | | | | | | | This is my stateless session bean: anonymous wrote : | package com.facade.impl; | | import java.util.List; | | import javax.ejb.Stateless; | import javax.faces.model.SelectItem; | import javax.persistence.EntityManager; | import javax.persistence.PersistenceContext; | import javax.persistence.Query; | | import org.jboss.seam.annotations.Factory; | import org.jboss.seam.annotations.In; | import org.jboss.seam.annotations.Name; | import org.jboss.seam.annotations.Out; | import org.jboss.seam.core.PersistenceContexts; | | import com.domain.Expediente; | import com.domain.nomenclador.NTipoAcusado; | import com.facade.ExpedienteFacadeStateless; | | @Stateless | @Name("expedienteFacadeStateless") | public class ExpedienteFacadeStatelessImpl implements ExpedienteFacadeStateless { | | @In @Out | private Expediente expediente; | | @PersistenceContext | private EntityManager em; | | | private SelectItem[] tipoAcusadoList; | | private NTipoAcusado tipoAcusadoSelected; | | | @Factory("tipoAcusadoList") | public void loadTipoAcusadoList() | { | Query query = em.createQuery("Select f from NTipoAcusado f"); | List tempList = query.getResultList(); | int size = tempList.size(); | tipoAcusadoList = new SelectItem[size]; | for (int i=0;ihttp://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106399#4106399 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106399 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - JDK Version Problem with RHDS + JBoss 4.2.2 + jdk 5 update 1
I have updated my jdk 5 update 12 to 14. I tried to deploy a .jar(which contains some entity beans and sessions beans) to both and the following exception occured. When I changed the exec environment to jre 6 update 3, it worked. And it also worked on jdk 5 update 12. The problem is only with jdk 5 update 14. What is the problem??? 22:11:31,000 WARN [ServiceController] Problem creating service jboss.j2ee:service=EJB3,module=TitanEJB.jar java.lang.ClassNotFoundException: Unexpected error during load of: com.titan.travelagent.TravelAgentBean, msg=Bad version number in .class file at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:560) at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415) at java.lang.ClassLoader.loadClass(Unknown Source) at org.jboss.ejb3.Ejb3AnnotationHandler.populateBaseInfo(Ejb3AnnotationHandler.java:293) at org.jboss.ejb3.Ejb3AnnotationHandler.getContainers(Ejb3AnnotationHandler.java:138) at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:486) at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:442) at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:423) at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:384) at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:327) at org.jboss.ejb3.Ejb3Module.createService(Ejb3Module.java:77) at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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.create(Unknown Source) at org.jboss.system.ServiceController.create(ServiceController.java:330) at org.jboss.system.ServiceController.create(ServiceController.java:273) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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 $Proxy33.create(Unknown Source) at org.jboss.ejb3.EJB3Deployer.create(EJB3Deployer.java:492) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97) at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238) at org.jboss.wsf.container.jboss42.DeployerInterceptor.create(DeployerInterceptor.java:76) at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180) at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) 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 $Proxy34.create(Unknown Source) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.mx.interceptor.ReflectedDispatcher.i
[jboss-user] [JBoss Seam] - Restting a form inside a modalPanel
I've got a form in a rich:modalPanel that appears when a user clicks the 'New' button. However, if the user clicks cancel on the form so that the modal panel closes, when the 'New' button is next clicked (without navigating away from the page) the old form is shown, complete with any validation errors from before. I've tried getting the 'cancel' link to invoke an action method that clears the data and also tried using reRender but nothing seems to work. Anyone got any ideas? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106395#4106395 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106395 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Problem reading (deserializing) objects from FileCacheLo
Yes, ChartMetadata is part of the webapp. I checked (I saw the context class loader was used in the MarshalledValueInputStream) and they're both the same class loader. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106394#4106394 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106394 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Portlet name ad the 'page layout' page
:) - Thanks for the suggestion, I will add it as a task. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106392#4106392 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106392 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Bizarre JK2 module problem
The problem turned out to be the -Xmx JVM parameter - we upgraded the memory and then bumped this value up to 1700m. Apparently, if it is too high JBoss will load but not the AJP listener. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106391#4106391 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106391 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Multiple entities on page, and @Name conflict
I think I've discovered the *source* of my issues in these threads, but if there's a solution out there I'd appreciate knowing: Problem with @Id and non-null entities: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=123799 Problem with accessing Map of entities: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=123799 Basically, it appears if you want to have entities whose name on the page differs from the @Name annotation, you're out of luck. Even the @In(value="xxx") doesn't override this. I can get my page from the first link above to work if I use the same name as in the LenderBenefit @Name annotation. This pretty much precludes having multiple instances of the same entity type on a page. However, I've been assured one CAN have multiple instances...so how is this done? How do I override the @Name annotation, or do I drop it altogether? Many thanks in advance! Jon View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106389#4106389 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106389 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Persistent unit problem
try using just "eCMDataSource" in your persistence.xml instead of prefixing with java:/ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106388#4106388 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106388 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Need Help! encounter strange Exception:not used by any E
i've seen this error before when i use @EJB, but don't actually invoke any methods on the injected instance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106387#4106387 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106387 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: standardjboss.xml configuration issue
"1javaloverS" wrote : And I have configured an EJB reference in my "standardjboss.xml" to refer one of my EJBs to an enternal EJB running on a different JBoss server, as follows. | | | | | | MyLocalEJB | | | |ejb/MyRemoteEJB | | jnp://192.118.18.4:1099/ejb/MyRemoteEJB | | | | | | | You will have to add that stuff to a jboss.xml file and package it in your application. The jboss.xml has to be placed at the same place as the ejb-jar.xml file. Undo the changes that you have done to the standardjboss.xml because that file is meant for the entire application server. Your jboss.xml should look like: | http://www.jboss.org/j2ee/dtd/jboss_3_0.dtd";> | | | | | | MyLocalEJB | |ejb/MyRemoteEJB |jnp://192.118.18.4:1099/ejb/MyRemoteEJB | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106384#4106384 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106384 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - JBPM requires persistence service when used with Seam
I have noticed that when using JBPM with Seam, a DbPersistenceServiceFactory must be configured otherwise a NullPointerException occurs. I know that you can run JBPM by it self without persisence configured and it works just fine. Is there a specific reason why JBPM must be configured with a persistence service in Seam. If not, there is a simple null check that can be done in the org.jboss.seam.bpm.Jbpm.initJbpmConfiguration() method to fix my problems. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106381#4106381 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106381 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Multiple JBPM engines on one single JBoss instance
Hi all, I've got a question regarding the deployment of JBPM. Is it possible to imagine multiple instances of JBPM (each one with its own database for processes and definitions) running on one single JBoss instance ? I would like to do this for testing purposes to avoid the configuration of multiple JBoss instances, each one dedicated to a single staging environment. If it is possible, is there any documentation out there explaining how to do so ? Thanks for your answers, Regards, Benoit View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106379#4106379 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106379 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: how to provide security in javaprojects on web because i
Maybe this will be helpful: http://wiki.jboss.org/wiki/Wiki.jsp?page=SecureAWebApplicationInJBoss View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106377#4106377 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106377 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - JBoss jBPM - BPeL - eclipse
Hi, I got the following specifications to use for creating a Web Application: JBoss jBPM BPeL Eclipse So I downloaded JBoss jBPM, eclipse 3.3 and the plugin for BPeL via the update-site http://download.eclipse.org/technology/bpel/update-site/ For JBoss jBPM I got jbpm-jpdl-3.2.2. Starting the server via the console run.bat -c jbpm works and I am able to have a look at http://localhost:8080/jbpm-console/sa/processes.jsf When I created a BPEL 2.0-Project (I choose BPEL-Project and not JBoss jBPM Project because a JBoss jBPM Project works with jPDL) in eclipse I am able to draw a diagram but I am not able to create a server by right clicking in the server window and selecting New, Server, JBoss v3.2.3. When I choose the jdk and point the Application Server Directory to C:\jboss\jbpm-jpdl-3.2.2 I will get the error Missing classpath entry C:\jboss\jbpm-jpdl-3.2.2\bin\run.jar. When I point it to C:\jboss\jbpm-jpdl-3.2.2\server\server I will get the error Missing classpath entry C:\jboss\jbpm-jpdl-3.2.2\server\server\default\lib\javax.servlet.jar. Why does eclipse look for the default directory of JBoss? The file javax.servlet.jar is located in C:\jboss\jbpm-jpdl-3.2.2\server\client Does somebody know something? Thanks, Tina View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106374#4106374 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106374 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Referencing EJB 2.1 session from EJB 3 session
How can I access EJB 2.1 session from EJB 3 session in JBoss 4.2.1.GA? The EJB 3 sessions and EJB 2.1 session are deployed in separate EJB jar files, but they are in the same EAR file, so they are part of the same J2EE application. I have tried the following methods: Injecting EJB 2.1 home using EJB annotation, simply like this: @EJB private foo.bar.SomeLocalHome someHome; results in the error: java.lang.RuntimeException: could not resolve global JNDI name for @EJB for container WhatEver: reference class: foo.bar.SomeLocalHome ejbLink: not used by any EJBs Which is not true, because that LocalHome class is used by a EJB 2.1 session bean. Injecting local interface using EJB annotation: @EJB private foo.bar.SomeLocal some; results in the same error. Injections with beanName set: @EJB(beanName = "Some") private foo.bar.SomeLocalHome someHome; result in error java.lang.RuntimeException: Failed to populate ENC: env/foo.bar.WhatEver/someHome global jndi name was null Adding local reference to ejb-jar.xml, like so: WhatEver Some Session foo.bar.SomeLocalHome Some and injecting like so: @EJB(name = "Some") private SomeLocalHome someHome; fails because JBoss complains that "IGNORING DEPENDENCY ... too little information". Creating the local ref like so WhatEver Some Session foo.bar.SomeLocalHome foo.bar.SomeLocalHome Some fails because 15:25:51,749 WARN [EJBHandler] IGNORING DEPENDENCY: unable to find of interface foo.bar.SomeLocal and ejbLink of Some in ejb-jar.xml of WhatEver it might not be deployed yet Looking at the code (I think I found the correct place), the local-ref handling code simply ignores local-home, and seems to search for EJB that implements the local interface, which is daft when I want to link to EJB 2.1. Maybe injection without JNDI name (the first attempt above) fails for a similar reason? I'm currently looking up the local home interface manually (new InitialContext().lookup("Some")), and it works, but this is not very nice. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106373#4106373 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106373 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Caused by: java.lang.IllegalStateException: [com.arjuna.ats.
Hi we are using JBoss and we are getting the below given error when we run some process. Will you please let me know the solution for this... We are struggling to fix this production issue... help me please...!!!. asap Caused by: java.lang.IllegalStateException: [com.arjuna.ats.internal.jta.transaction.arjunacore.inactive] [com.arjuna.ats.internal.jta.transaction.arjunacore.inactive] The transaction is not active! at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1372) at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:135) at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:87) at org.jboss.aspects.tx.TxPolicy.endTransaction(TxPolicy.java:175) at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:87) at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77) at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:106) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:214) at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:184) at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:81) at $Proxy1807.downloadGenesysChanges(Unknown Source) ... 12 more View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106372#4106372 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106372 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - Re: Experience with using IBM-WMQ-Ressource-Adapter on JB4.2
Sorry i was a little bit confused with all the examples I tried to get working. Absolutely correct. The wiki-Page you talked about decribes the usage of the jca. There was a Problem with the Examples on the IBM-Page. The XML have some bugs. If you just use them the CF will not be registered correctly. We fixed that and now it works on 4.2.1 also. (I posted a comment regarding this Bugs in the Doc. to IBM) Thx, Tom View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106370#4106370 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106370 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:decorate how to use invalid on first page hit
I can't see an easy way to do that with s:decorate. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106360#4106360 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106360 ___ 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
Strange. Since this piece of code is running in the server itself, you shouldnt have seen this error. JBoss comes with 3 "servers" (named 'default', 'minimal' and 'all'). Which one are you using? Or have you created your own server? If you have created the server yourself, are you sure you did it right? And depending on the server you are using, do you see a file named jndi.properties in the %JBOSS_HOME%\server\< serverName>\conf folder? What does it contain? Also, does your ear/jar file contain any jndi.properties file in it? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106362#4106362 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106362 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - s:decorate how to use invalid on first page hit
what I'd like to for input fields: * user opens page: show no image after the input field | * invalid input: show a red sign | * valid input: show a green sign how would I do that? details: when using s:decorate you can use the vars invalid and required inside of the template but how I can find out (in the template), if this is the very first time, that the page is being rendered? more details: when the page is rendered for the first time, invalid will be false for all input fields (which is strictly speaking not really correct for e.g. required fields) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106359#4106359 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106359 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM BPEL & Eclipse Process Designer interworking
Hi I am trying to develop and deploy a bpel process in Eclipse BPEL Designer 0.3 and jbpm-bpel 1.1Beta3 and Im having a lot of troubles deploying it I read in http://lists.jboss.org/pipermail/jboss-user/2007-May/056699.html that with the 0.2 version of Eclipse BPEL Designer it is easy to correct the bpel process to deploy in jboss. But I can't find and install these version of the BPEL Designer. Where I can get these version of the plugins? Or are there some documentation about how can we deploy a bpel process using Eclipse BPEL Designer 0.3? thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106357#4106357 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106357 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - "No enum const class" when modifying propagation
What could give a | 14:38:25,769 ERROR [SeamPhaseListener] swallowing exception | java.lang.IllegalArgumentException: No enum const class org.jboss.seam.core.PropagationType. | at java.lang.Enum.valueOf(Unknown Source) | in 2.0.0GA when I have a commandlink and try to embed a | | or a | | | | | | in the link? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106355#4106355 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106355 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to integrate Ext with Seam using JSON
@Xinhua, that's an interesting way of doing it and feels more Seam-like than using a Servlet. Have you had any problems with xhtml and the ajax4jsf filters interfering with ExtJS? One advantage of the servlet approach is that the page loads with the grid/tree and then the call is made to the backend. Using a4j:jsFunction wouldn't the call be made to collect the data before the page is rendered - ie. introducing a delay in the page render? Cheers, Damian. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106356#4106356 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106356 ___ 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
javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:645) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247) at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:284) at javax.naming.InitialContext.lookup(InitialContext.java:351) at org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:216) 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.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:103) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) 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:585) 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 $Proxy82.start(Unknown Source) at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:120) at org.jboss.ejb3.Ejb3Deployment.startPersistenceUnits(Ejb3Deployment.java:627) at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:351) at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:91) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) 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:585) 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 $Proxy35.start(Unknown Source) at org.jboss.ejb3.EJB3Deployer.st
[jboss-user] [JBossCache] - Re: Problem reading (deserializing) objects from FileCacheLo
I presume the ChartMetadata class is in your webapp lib dir? Have you tried using a context class loader instead? | Thread.currentThread().getContextClassLoader() | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106351#4106351 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106351 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Integration between ARIS and JBPM
Hi all, i'm new on jbmp workflow development and i have to migrate process model design in aris tool to jbpm. is it possible this integration? i would to avoid starting design my process again. Please, let me know something. regards g View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106352#4106352 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106352 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - JBOSS Tools and eclipse 3.3
Hey All, I am pretty new to JBoss and right now I try to get started with this Tutorial: http://docs.jboss.org/jbosside/tutorial/build/en/html_single/ in order to use Eclipse 3.3 I am using JBossTools-2.0.0.CR1 which works fine so far but I cant find the HTTP Servlets in the File -> New -> Other ... to create a servlet as instructed in chapter 6 of the tutorial. Can anyone tell me what I should choose in order to continue with the tutorial? THX in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106350#4106350 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106350 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Problem reading (deserializing) objects from FileCacheLo
Oh, The JBossCache version is: | $ java -jar jboss-cache-jdk50.jar | Version:1.4.1.SP3 | Codename: Cayenne | CVS:$Id: Version.java,v 1.18.2.11 2007/03/06 20:12:53 msurtani Exp $ | History:(see http://jira.jboss.com/jira/browse/JBCACHE for details) | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106349#4106349 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106349 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - Re: Duke's Bank problem
I also had some of your problems. There are some files missing. Try copying javax.servlet.jsp.jar, jboss-j2ee.jar and servlet-api.jar to your compile path. You can find those archives in the gettingstarted.zip which you can download from the jboss web. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106348#4106348 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106348 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Persistent unit problem
Hello, When I am trying to deploy my sample application in EJB3 the I am getting following error 17:38:46,013 ERROR [URLDeploymentScanner] Incomplete Deployment listing: --- MBeans waiting for other MBeans --- ObjectName: jboss.j2ee:jar=test.jar,name=Bank,service=EJB3 State: NOTYETINSTALLED I Depend On: persistence.units:unitName=test --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- ObjectName: persistence.units:unitName=test State: NOTYETINSTALLED Depends On Me: jboss.j2ee:jar=test.jar,name=Bank,service=EJB3 My persistence.xml file is:- | http://java.sun.com/xml/ns/persistence"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"; | version="1.0"> | | java:/eCMDataSource | | | I am doing injection like this @PersistenceContext(unitName="test") private EntityManager manager=null; When I was running my client then it was throwing NameNotFoundException. Please help me.. Thanks, Ravi View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106346#4106346 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106346 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Problem reading (deserializing) objects from FileCacheLoader
Hi, I can't seem to get it working.. I'm running JBossCache on a default JBoss4.0.5 installation (JDK 1.5). I've configured JBossCache as a service (deploy/treecache-service.xml). For each deployed webapp a separate ClassLoader is instantiated, so I have to register a ClassLoader for a section of the TreeCache (see below). The problem is that once objects are serialized to the file cache, they can't be de-serialized (unmarshalled). I'm getting stack traces like this: | java.lang.ClassNotFoundException: No ClassLoaders found for: nl.yirdis.monet.chart.ChartMetadata | at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212) | at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:514) | at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:408) | at java.lang.ClassLoader.loadClass(ClassLoader.java:251) | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) | at java.lang.Class.forName0(Native Method) | at java.lang.Class.forName(Class.java:242) | at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:584) | at org.jboss.invocation.MarshalledValueInputStream.resolveClass(MarshalledValueInputStream.java:109) | at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1543) | at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1465) | at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1698) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1304) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:349) | at java.util.HashMap.readObject(HashMap.java:1013) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946) | at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1818) | at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1718) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1304) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:349) | at org.jboss.cache.loader.FileCacheLoader.loadAttributes(FileCacheLoader.java:486) | at org.jboss.cache.loader.FileCacheLoader.get(FileCacheLoader.java:136) | at org.jboss.cache.interceptors.CacheLoaderInterceptor.loadData(CacheLoaderInterceptor.java:443) | at org.jboss.cache.interceptors.CacheLoaderInterceptor.loadNode(CacheLoaderInterceptor.java:353) | at org.jboss.cache.interceptors.CacheLoaderInterceptor.invoke(CacheLoaderInterceptor.java:180) | at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68) | at org.jboss.cache.interceptors.UnlockInterceptor.invoke(UnlockInterceptor.java:32) | In my treecache configuration I've enabled RegionBasedMarshalling and InactiveOnStartup, as described in the user guide: | true | true | The region is configured like this: | | 1000 | 86400 | 86400 | | In my code (using Spring), I've set the ClassLoader for that region to the Classloader of the webapp: | public void afterPropertiesSet() throws Exception { | treeCache.registerClassLoader("/nl/yirdis/monet/charts/", ChartMetadata.class.getClassLoader()); | treeCache.activateRegion("/nl/yirdis/monet/charts/"); | } | (ChartMetadata is a class containing the serialized stuff. It implements the Serializable interface). Deactivation on undeployment of the webapp is done likewise, as stated in the docs. Where did I go wrong? What's causing the TreeCache (FileCacheLoader) to cause class loading errors? Regards, Arjan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106343#4106343 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106343 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to integrate Ext with Seam using JSON
Thanks for the reply. I will use servlet to build json response, and in servlet, We can call Seam Components to get grid data like this: | public class SampleServlet extends HttpServlet { | | private UserService userService; | | private void createUserService() { | userService = (UserService) Component.getInstance(UserService.class); | } | | @Override | public void doGet(HttpServletRequest request, HttpServletResponse response) | throws ServletException, IOException { | createUserService(); | | PrintWriter out = response.getWriter(); | | out.println("Hello World=" + userService.find("demo").getName()); | | } | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106344#4106344 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106344 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - How should I outjection force to take place before page rend
When rendering a page, Outjection from the component(s) used in the page first takes place when any method of the component is called. Is there another possibility to "prepare" the components which I will use in the page? Do I have to fit my HTML design onto the requirement to always have a tag with component method call above any tags that access outjected variables? I ran into this problem when I wanted to use a @DataModel. There are no other elements on the page above the dataTable which access the needed component, so the DataModel is outjected, but too late - an empty table is already rendered at that moment. Is there any other possibility beneath putting some invisible dummy elements on the page? Marcus. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106340#4106340 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106340 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Unable to load Provider
I have problems running the sample Web Service shown in Quick Start document. I am able to deploy the Web Service, no problem, I see it running at http://localhost:8080/jbossws/services. Then, I generate stubs using wsconsume. I place the generated code to a different package called org.bilgidata.kitapdemo.service.ws. I am on JBoss 4.2.1.GA and jbossws-2.0. I used the following code: import javax.xml.bind.annotation.XmlAccessType; | import javax.xml.bind.annotation.XmlAccessorType; | import javax.xml.bind.annotation.XmlType; | | import org.bilgidata.kitapdemo.pojo.Car; | | @XmlAccessorType(XmlAccessType.FIELD) | @XmlType( | name = "discountRequest", | namespace="http://org.bilgidata.kitapdemo.service";, | propOrder = { "car" } | ) | public class DiscountRequest { | |public DiscountRequest() { } | |public DiscountRequest(Car car) { | this.car = car; |} | |protected Car car; | |public Car getCar() { | return car; |} | |public void setCar(Car value) { | this.car = value; |} | | } | @Stateless | @WebService( | name="ProfileMgmt", | targetNamespace = "http://org.bilgidata.kitapdemo.service";, | serviceName = "ProfileMgmtService" | ) | @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) | public class ProfileMgmtBean { | | @WebMethod | public String getCustomerDiscount(DiscountRequest request) { | return "--"; | } | } | import org.bilgidata.kitapdemo.service.ws.*; | | public class Mainline { | | public static void main(String[] args) throws Exception { | | ProfileMgmtService profileMgmt = new ProfileMgmtService(); | | String s = profileMgmt.getCustomerDiscount(new DiscountRequest()); | | } | | } | The error I get is: Exception in thread "main" javax.xml.ws.WebServiceException: Unable to load Provider: Failed to load javax.xml.ws.spi.Provider: com.sun.xml.ws.spi.ProviderImpl | at javax.xml.ws.spi.Provider.provider(Provider.java:98) | at javax.xml.ws.Service.(Service.java:83) | at javax.xml.ws.Service.create(Service.java:721) | at org.bilgidata.kitapdemo.service.Mainline.main(Mainline.java:28) | Caused by: java.lang.IllegalStateException: Failed to load javax.xml.ws.spi.Provider: com.sun.xml.ws.spi.ProviderImpl | at javax.xml.ws.spi.ProviderLoader.loadProvider(ProviderLoader.java:96) | at javax.xml.ws.spi.Provider.provider(Provider.java:90) | ... 3 more | Caused by: java.lang.ExceptionInInitializerError | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) | at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) | at java.lang.reflect.Constructor.newInstance(Constructor.java:494) | at java.lang.Class.newInstance0(Class.java:350) | at java.lang.Class.newInstance(Class.java:303) | at javax.xml.ws.spi.ProviderLoader.loadProvider(ProviderLoader.java:91) | ... 4 more | Caused by: javax.xml.ws.WebServiceException: Error creating JAXBContext for W3CEndpointReference. | at com.sun.xml.ws.spi.ProviderImpl.getEPRJaxbContext(ProviderImpl.java:188) | at com.sun.xml.ws.spi.ProviderImpl.(ProviderImpl.java:65) | ... 11 more | Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptions | Two classes have the same XML type name "address". Use @XmlType.name and @XmlType.namespace to assign different names to them. | this problem is related to the following location: | at com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Address | at public com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Address com.sun.xml.ws.developer.MemberSubmissionEndpointReference.addr | at com.sun.xml.ws.developer.MemberSubmissionEndpointReference | this problem is related to the following location: | at javax.xml.ws.wsaddressing.W3CEndpointReference$Address | at private javax.xml.ws.wsaddressing.W3CEndpointReference$Address javax.xml.ws.wsaddressing.W3CEndpointReference.address | at javax.xml.ws.wsaddressing.W3CEndpointReference | Two classes have the same XML type name "elements". Use @XmlType.name and @XmlType.namespace to assign different names to them. | this problem is related to the following location: | at com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Elements | at public com.sun.xml.ws.developer.MemberSubm
[jboss-user] [JBoss Getting Started Documentation] - Re: Duke's Bank Application Problem
Hello again, When I try to create the tables with the db-create-table target, by doing: ant -f jboss-build.xml db-create-table, it builds successfully, but I obtain the next error: [java] SQL Error at line 54: java.sql.SQLException: Table is referenced by a constraint in table SYS_REF_FK6713A03980734EA4_58 table: BOOKING in statement [ [java] DROP TABLE customer if exists] Can anyone help me to solve it?. Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106338#4106338 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106338 ___ 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
Can you post the logs from the server.log file, from the point where it logs the following message: anonymous wrote : 15:20:27,725 INFO [PersistenceUnitDeployment] Starting persistence unit persistence.units:ear=q.ear,unitName=manager1 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106337#4106337 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106337 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Creating a page that is not displayed in Portal Tabs
Hy, I have a kind of "hack" idea, but it should work. Go to the $PORTAL-WAR\portal-core.war\WEB-INF\jsp\header Folder and open the tabs.jsp File. That File renders the Tabs. You will find some loops over iterators there. You could compare the name of the Page with your hidden one, and ignore the render process. Greetings Soon5 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106336#4106336 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106336 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: RuntimeException in handler method, transition to DOES_N
And one question. What are you using for test the BPEL process? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106334#4106334 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106334 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Unable to Consume Remote Portlet
As suggested by you, we have done exactly what the link http://wiki.jboss.org/wiki/Wiki.jsp?page=WSRPOfflineInstructions specifies to do ie... place the following in the run.conf file in the jbossserver/bin directory. JAVA_OPTS=-Dhttp.proxyHost=proxy1.wipro.com -Dhttp.proxyPort=8080 -DproxySet=true But still we get the same problem. Is it that we need to specify the authentication details also for the proxy somewhere ? Our JBoss Server run behinds the proxy and surely not behind the Firewall. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106333#4106333 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106333 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Partitioning in JBoss Cache V2.2.0
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossCachePartitioning It won't be in 2.2.0, but 3.2.0 instead (see JIRA - http://jira.jboss.com/jira/browse/JBCACHE-60) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106332#4106332 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106332 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: RuntimeException in handler method, transition to DOES_N
Hi, try to change the query statements for XPATH statements. Like this: Change this: | | | | For this: | | | $calculateAreaRequest.calarea/area:calculateArea/in0 | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106331#4106331 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106331 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Namespace error while deploying EJB3 ear
Thanks Wolfgang, now namespace problem is solved.. but I am having one more problem that my entities are not binding Can we use the 3.0 namspace with 1.1 entities? my ejb-jar.xml look like this | | | http://java.sun.com/xml/ns/javaee"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd";> | | | AssociationEnt | com.martquest.entity.association.AssociationEntHome | com.martquest.entity.association.AssociationEntRemote | com.martquest.entity.association.AssociationEntBean | Container | com.martquest.entity.association.AssociationEntPKey | false | 1.x | | enterpriseid | | | name | | | description | | | type | | | parentid | | | childid | | | modMemberID | | | modDateTime | | | modVersion | | | id | | | | | | | AssociationEnt | Remote | * | | Required | | | Thanks, Amar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106330#4106330 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106330 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: InitialContext lookup gives me a
kavipriyag, You should have created a new topic for this issue. Furthermore, you have to provide more details about your application and more details as to when this exception occurs. Also, the entire exception stacktrace will help in pointing you in the right direction. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106329#4106329 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106329 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: JBossCache with Hibernate on Glassfish v2
"eric.hubert" wrote : What do you mean by an already-running cache? Do you only mean that JBoss Cache is preconfigured and ready to use in JBoss AS? That would be clear to me. | That, and JBoss AS ships with configurations for JBoss Cache that is tuned and configured. "eric.hubert" wrote : | I already use this configuration inside JBoss. The problem is that I don't know which places I have to adjust to make it working in Glassfish. Could you please assist! | TBH, I've never used this in Glassfish so anything I say is purely theoretical. :-) In fact, we have wiki pages on running JBC on WebLogic and on WebSphere. I'm sure a lot of people would appreciate your contributing your findings, tips and tricks for Glassfish as well. The TreeCacheProvider hook looks up the JBoss Cache instance in JMX, bound under a specific name. You may want to write your own hook - this is a pretty simple class, have a look a Hibernate docs - which will look up a JBC instance in JMX (or JNDI) and if it doesn't exist, create it from a cache cfg file (and probably bind to JMX/JNDI again). Cheers, Manik View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106328#4106328 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106328 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: why can't inject PresistenceContext into authenticator c
@PersistenceContext is an EJB annotation, however your component is a POJO. My suggestion is to use a Seam-managed persistence context and inject via @In (look at the seamspace or seambay examples). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106326#4106326 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106326 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - seam and hibernate search give Session is closed! Exception
This is my project environment Jboss seam 2.0.0 CR1 jboss-4.2.0.GA i am trying for Hibernate search with seam. This are my entity bean classes | import org.hibernate.search.annotations.Indexed; | import org.hibernate.search.annotations.DocumentId; | import org.hibernate.search.annotations.Index; | import org.hibernate.search.annotations.IndexedEmbedded; | @Entity | @Indexed | @Table(name="tbl_author") | public class TblAuthor implements Serializable { | @Id | @DocumentId | private Long authorId; | | @Field(index=Index.TOKENIZED) | private String authorName; | | @OneToMany(mappedBy="bookId",fetch=FetchType.EAGER) | @IndexedEmbedded | private Set bookId; | | private static final long serialVersionUID = 1L; | | public TblAuthor() { | super(); | } | ... | } | and | @Entity | @Indexed | @Table(name="tbl_book") | public class TblBook implements Serializable { | @Id | @DocumentId | private Long bookId; | | @Field(index=Index.TOKENIZED) | private String bookName; | | @ManyToOne | @JoinColumn(name="author_Id") | private TblAuthor authorId; | | private static final long serialVersionUID = 1L; | | public TblBook() { | super(); | } | ... | } | and my persistence.xml | | | http://java.sun.com/xml/ns/persistence"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"; | version="1.0"> | | | org.hibernate.ejb.HibernatePersistence | java:/booksearchDatasource | | | | | | | | | | | | | | | | | | | | | | | | and my application.xml is | | http://java.sun.com/xml/ns/javaee"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd"; | version="5"> | |booksearch | | | | booksearch.war | /booksearch | | | | | booksearch.jar | | | | |jboss-seam.jar | | |hibernate-search.jar | | |hibernate-commons-annotations.jar | | |lucene-core-2.2.0.jar | | | | this is my session bean classes for creating index when i deploy my project | public interface Indexer | { | | public String createHsIndex(); | void stop(); | } | | @Name("indexer") | @Stateful | @Scope(ScopeType.APPLICATION ) | @Startup | public class IndexerAction implements Indexer | { | | @PersistenceContext |private EntityManager em; | |@Create |public String createHsIndex(){ | try { | FullTextEntityManager ftEm = (FullTextEntityManager) em; | | List result = em.createQuery("select t from TblAuthor t").getResultList(); | | for ( TblAuthor a : result) | { | ftEm.index(a); | } | | } catch (Exception e) { | return "Exception"; | } | return "OK"; | } | | |@Remove |@Destroy |public void stop() {} | | } | this is my session bean classes for searching action | @Local | public interface BookSearch { | | | public String doSearch(); | | public void destroy(); | public void reset(); | | } | | | @Stateful | @Name("booksearch") | public class BookSearchAction implements BookSearch,Serializable | { | private static final long serialVersionUID = -4505302935023794131L; | | String searchString; | | @PersistenceContext | EntityManager em; | @Begin(join = true) | public String doSearch() | { | FullTextEntityManager fullTextEntityManager =(FullTextEntityManager)em; | MultiFieldQueryParser parser = new MultiFieldQueryParser( new String[]{"authorId", "authorName",âÃÂÃÂbookIdâÃÂÃÂ}, new StandardAnalyzer()); | Query query =
[jboss-user] [JBossCache] - Partitioning in JBoss Cache V2.2.0
Coult it be possible to describe briefly what will be this new functionnality in V2.2.0. JBoss Cache implements already partitioning via Buddy Replication. What is the difference ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106324#4106324 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106324 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: JBossCache with Hibernate on Glassfish v2
"[EMAIL PROTECTED]" wrote : | The only difference when using the setup in JBoss AS is that the AS provides additional stuff (such as an already-running cache) that you could use. | Hi Manik, thanks for your feedback! What do you mean by an already-running cache? Do you only mean that JBoss Cache is preconfigured and ready to use in JBoss AS? That would be clear to me. "[EMAIL PROTECTED]" wrote : | In terms of a sample configuration, I suggest using the configurations in JBoss AS as a reference point: | http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/branches/Branch_4_2/ejb3/src/resources/ejb3-entity-cache-service.xml?view=markup | I already use this configuration inside JBoss. The problem is that I don't know which places I have to adjust to make it working in Glassfish. Could you please assist! Glassfish currently logs the following: [#|2007-11-20T11:59:37.891+0100|INFO|sun-appserver9.1|org.hibernate.transaction.TransactionFactoryFactory|_ThreadID=15;_ThreadName=Timer-6;|Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory|#] [#|2007-11-20T11:59:37.907+0100|INFO|sun-appserver9.1|org.hibernate.transaction.TransactionManagerLookupFactory|_ThreadID=15;_ThreadName=Timer-6;|instantiating TransactionManagerLookup: org.hibernate.transaction.SunONETransactionManagerLookup|#] [#|2007-11-20T11:59:37.907+0100|INFO|sun-appserver9.1|org.hibernate.transaction.TransactionManagerLookupFactory|_ThreadID=15;_ThreadName=Timer-6;|instantiated TransactionManagerLookup|#] [...] [#|2007-11-20T11:59:37.907+0100|INFO|sun-appserver9.1|org.hibernate.cfg.SettingsFactory|_ThreadID=15;_ThreadName=Timer-6;|Cache provider: org.jboss.ejb3.entity.TreeCacheProviderHook|#] [...] [#|2007-11-20T11:59:38.000+0100|WARNING|sun-appserver9.1|javax.enterprise.system.core.classloading|_ThreadID=15;_ThreadName=Timer-6;_RequestID=e98e7c13-4d36-4e82-a6e2-a0bf50b26146;|org.hibernate.cache.CacheException: java.lang.IllegalStateException: No 'jboss' MBeanServer found! javax.persistence.PersistenceException: org.hibernate.cache.CacheException: java.lang.IllegalStateException: No 'jboss' MBeanServer found! at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:737) at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:127) So it seems to me that an MBean-Lookup does not find the TreeCacheMBean. The problem is my lack of understanding of the background. Maybe the root cause is that I can't use "org.jboss.ejb3.entity.TreeCacheProviderHook" as Cache provider? "[EMAIL PROTECTED]" wrote : | And we have no problems helping people run JBoss Cache on Glassfish - we are app server agnostic and do help people run on WebLogic, WebSphere, etc. :-) | Hey, I'm quite happy to hear that. Regards, Eric View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106322#4106322 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106322 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Deploy JBC 2.x in JBossAS 4.2.x
We`ll share our results when we get into the change. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106320#4106320 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106320 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Deploy JBC 2.x in JBossAS 4.2.x
anonymous wrote : So if we have more than one application using these caches, say for example, caches are defined in one APP, and used in this and some other apps, would there be any conflict? In theory, no. More when we get this wiki up. In fact, if you are willing to try out a few scenarios (sharing data between apps, etc.), or running with/without AS clustering, etc., it would certainly help improve the wiki. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106318#4106318 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106318 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to integrate Ext with Seam using JSON
Hi, I suggest to use Ext.data.ArrayReader not Json. I use a4j:jsFuction to get collection from server... For example, after create a grid object : | Ext.onReady(a4j_loadRoleUsers); | here a4j_loadRoleUsers is a4j:jsFuction defined BEFORE your grid js declaration. Maybe there is a better way to do this,but ,at least it works :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106316#4106316 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106316 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Deploy JBC 2.x in JBossAS 4.2.x
anonymous wrote : Also, make sure your JBC 2.x jar (and it's dependencies) reside in your WAR or EAR file. So if we have more than one application using these caches, say for example, caches are defined in one APP, and used in this and some other apps, would there be any conflict? Also, if we don`t use multicast for replication? Thanks That wiki will be very helpfull, taking into account that there is a lot of work to migrate from JBC 1.4x to 2.x usage. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106315#4106315 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106315 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Component cross-referencing and transactions
No. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106313#4106313 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106313 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - how to provide security in javaprojects on web because in ti
Hi, This is vishnu.I have some problem with security providing in my webproject(using java). Actually my problem is in server down time how to secure my webproject. And myproject is build by JSPs,Servlets and some javascript .please solve this problem and given some examples regards VISHNU View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106312#4106312 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106312 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Deploy JBC 2.x in JBossAS 4.2.x
Some folks have done it, it is possible. You need to make sure your JGroups setup does not clash - i.e., make sure the JGroups multicast address and port in the JBC 2.x setup is not the same as the JGroups multicast address and port for your AS cluster. Also, make sure your JBC 2.x jar (and it's dependencies) reside in your WAR or EAR file. This way your app can use JBC 2.x while JBoss AS will still use JBC 1.4.x for it's clustering. This is a question that has come up quite often; we'll be putting up a wiki page with a howto pretty soon. Cheers, Manik View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106311#4106311 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106311 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Portlet name ad the 'page layout' page
Oh my god I spent around three hours on this and then my collague tipped me: "Window name" under Content definition. How about some sane defaults in case that field is left empty? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106310#4106310 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106310 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Component cross-referencing and transactions
"[EMAIL PROTECTED]" wrote : Transaction Not Active points at some earlier problem that has caused the transaction to become invalid. You'll need to look for the root cause of the problem using your debugger/log. Thank you. Doesn't the provided exception trace already point to something that could be explained ? Removing the EL part from SQL query solves the problem. But any attemp to resolve #{selectedClient} (tried EL and object field injection) causes this exception "Transaction is not active" . View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106309#4106309 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106309 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: PDF - is there a way?
Conversations aren't propagated into iframes, no. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106306#4106306 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106306 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Component cross-referencing and transactions
Transaction Not Active points at some earlier problem that has caused the transaction to become invalid. You'll need to look for the root cause of the problem using your debugger/log. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106305#4106305 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106305 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: need help using DataModelSelectionIndex
Try @DataModel(value="myAuditList") | private List myAuditList; | | @DataModelSelection(value="myAuditList") | private Object[] myAuditListSelection; | | @DataModelSelectionIndex(value="myAuditList") | //this is the row number of the underlying collection | private int currentRowNum; The value on @XXXSelection refers to the datamodel it is selecting from. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106302#4106302 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106302 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - How to invoking methods with parameters with Seam test?
Hi, I have looked through the seam examples can can't find out how to invoke a method with parameters with Seam test. This is the method I want to test @Stateless | @Name("dbi") | @AutoCreate | public class DBI_EJB_Impl implements DBI { | | @In | EntityManager entityManager; | | | public void create(DataObject daoObject){ | entityManager.persist(daoObject); | } .. Now how do I actually call the create method and pass it the DataObject? This is what I have so far public class DBI_EJB_ImplTest extends DBUnitSeamTest { | | public DBI_EJB_ImplTest() { | super("java:/SomeDatasource"); | } | | @Test | public void testCreate() throws Exception { | new ComponentTest() { | @Override | protected void testComponents() throws Exception { | Employee employee = new Employee(); | employee.setFirstName("abcdefghijklmnop"); | employee.setLastName("burns"); | | //invokeMethod("#{dbi.create()}"); | //How do I call this the method and pass in the employee? | } | | }.run(); | | I am sure the solution is simple... I just can't find it. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106300#4106300 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106300 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBoss with OracleBPEL-PM.
I are trying to configure JBoss with OracleBPEL-PM. I are facing problem with starting the oracleBPELServer . I am following steps given in http://download.oracle.com/docs/cd/E10291_01/doc.1013/e10538/jboss.htm . Now after following the steps till end I am able to run decision server successfully but while running oracleBPELserver I am getting following errors 16:59:05,989 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding ,name=eis/Ftp/FtpAdapter' to JNDI name 'java:eis/Ftp/FtpAdapter' 16:59:06,505 INFO [STDOUT] JmsConnectionFactory: Unable to set connectionparameters for OracleConnectionManager 16:59:06,505 ERROR [STDERR] java.lang.NullPointerException 16:59:06,505 ERROR [STDERR] at oracle.tip.adapter.jms.JmsConnectionFactory.(JmsConnectionFactory.java:91) 16:59:06,521 ERROR [STDERR] at oracle.tip.adapter.jms.JmsManagedConnectionFactory.createConnectionFactory(JmsManaged ConnectionFactory.java:81) 16:59:06,521 ERROR [STDERR] at org.jboss.resource.connectionmanager.ConnectionFactoryBindingService.createConnection Factory(ConnectionFactoryBindingService.java:128) 16:59:06,521 ERROR [STDERR] at org.jboss.resource.connectionmanager.ConnectionFactoryBindingService.startService(Con nectionFactoryBindingService.java:65) 16:59:06,521 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) 16:59:06,536 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java: 245) 16:59:06,536 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) 16:59:06,536 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 16:59:06,536 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) 16:59:06,536 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) 16:59:06,552 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) 16:59:06,552 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) 16:59:06,552 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) 16:59:06,552 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) 16:59:06,552 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) 16:59:06,552 ERROR [STDERR] at $Proxy0.start(Unknown Source) 16:59:06,552 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417) 16:59:06,568 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:435) 16:59:06,568 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:435) 16:59:06,568 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:435) 16:59:06,568 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) 16:59:06,568 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 16:59:06,568 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) 16:59:06,568 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) 16:59:06,583 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) 16:59:06,583 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) 16:59:06,583 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) 16:59:06,583 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) 16:59:06,583 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) 16:59:06,583 ERROR [STDERR] at $Proxy4.start(Unknown Source) 16:59:06,583 ERROR [STDERR] at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302) 16:59:06,599 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 16:59:06,599 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 16:59:06,599 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) and * Oracle BPEL Server version 10.1.3.3.0 Build: 0 Build time: Sat Jul 14 20:47:59 PDT 2007 Build type: release Source tag: PCBPEL_10.1.3.4.0_GENERIC_070714.2000 16:59:51,993 INFO [STDOUT] <2007-11-16 16:59:51,993>
[jboss-user] [JBoss Seam] - Re: Component cross-referencing and transactions
Still have not solved this problem. Looking for help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106297#4106297 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106297 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:formattedText parser problem?
Thats built in to Seam 2 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106299#4106299 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106299 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user