[jboss-user] [JBoss Seam] - Re: in pages.xml doesn't accept multi-valued request
Yes, we should support multi-valued parameters. Could you please raise this in JIRA and include your patch? Assign it to Pete if you want it looked at quickly :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042721#4042721 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042721 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: An enterprise question on s:graphicImage
If you want the best performance, I would do as you already mentioned and save both the image thumbnail and the full size image in separate database columns (separate records would be even better). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042722#4042722 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042722 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Remoting callbacks are not recieving
I've never witnessed this behaviour with remoting before. If you can raise this in JIRA with a working example that reproduces the issue, I'd be happy to take a look at it for you (assign the issue to me). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042723#4042723 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042723 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: No ClassLoaders found
Yes ManageOrders file present there. I am not able to understand why this error is coming. Please suggest!. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042724#4042724 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042724 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - EntityQuery.refresh does not clear parsedEjbql
I'm using the seam generated list class derived from EntityQuery. Ex. SubCategoryList I have added a method to it like forCategory(int categoryId) to retrieve list of subcategories for a given category id and setting ejbQl to an appropriate query. I can't reuse the object to pass a different category id to get different lists. I used refresh to clear the state. But it looks like refresh does not nullify parsedEjbql variable therefore it is giving the same list even though you set a different query. Did anyone come across this issue? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042725#4042725 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042725 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam complained
Which version of Seam is this, and which environment is it running in? Have you tried to generate a new project with Seam-gen? It will implement all the necessary security configuration and classes for authentication. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042726#4042726 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042726 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: heavy load configuration
"PeterJ" wrote : Also see http://wiki.jboss.org/wiki/Wiki.jsp?page=SPECjAppServer2002Tuning. Though that wiki entry is primarily about the specjappserver benchmark, the tuning tipis can be applied to almost any application. OK, so I'm neither a Java expert nor a JBoss expert :). What I found at the wiki was mainly about tuning the garbage collection to run parallel threads and stuff. Unfortunately that didn't improve the performance of my system :( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042727#4042727 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042727 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - org jbpm Scheduler class
Hi, I just checked the documentation of jbpm, there is nowhere package org.jbpm.imp mentioned but the jbpm.war uses this package. There is a class AdminBean in package org.jbpm.webapp.bean where class org.jbpm.scheduler.impl.Scheduler is imported. Can anyone please tell me from where I can download this package. I already downloaded jbpm-starter kit , jbpm-jpdl plus its process designer etc. Naseem View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042729#4042729 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042729 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Serious production problems
We are also facing similar problems. Running 2 clusters with 4 nodes. Every 1-2 days all nodes in a cluster get locked up. Have no idea on what needs to be done. Does anyone know under what condition the entire node can be affected. Th eonly thing i found was "Also, a slow member could slow or even prevent purging of stable messages (http://wiki.jboss.org/wiki/Wiki.jsp?page=JGroupsPbcastSTABLE), so in the worst case, all members could run out of memory because they would never purge stable messages. Exclusion of such a member resumes progress in the stability protocol. + http://wiki.jboss.org/wiki/Wiki.jsp?page=Shunning"; View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042730#4042730 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042730 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: what happended to the JBoss Remoting 2.2 GA download lin
Look in http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=135729 for the zip file with source, docs, etc. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042731#4042731 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042731 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Two-Node Cluster UDP OutOfMemoryError
We are also facing similar issue. Trying to upgrade to from 2.2.9.2 to 2.4 sp2.. not sure if that will help. whats your jgroups version View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042733#4042733 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042733 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: AOP within TestNG & EJB3 Embeddable
I got it to work. It isn't pretty but for running unit tests it is fine. The solution was simple: I added the -javaagent: argument to the VM Arguments list. I used a reference to the jboss-aop-jdk50.jar, but I made sure that this lib isn't within the classpath. I didn't try this before because I thought that the Embedded EJB3 already activated this somehow. EJB3 Embedded itself uses AOP to do it's magic. But the library is probably already aspectized. The reason why i didn't add the jboss-aop-jdk50.jar to the classpath is because the jboss-ejb3-all.jar already contains all the classes of AOP. This is off course the ugly thing of it all. I don't know which version this jboss-ejb3-all.jar contains... I still don't understand why someone ever created the jboss-ejb3-all.jar without righting down which libraries it contains :(. Before I used the jboss-aop-jdk50.jar I tried adding the right directives to the jboss-ejb3-all.jar MANIFEST.MF file and use this lib as javaagent. But it threw Exceptions and wouldn't start the VM. But know everything works :D View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042735#4042735 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042735 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: validation message displayed twice
would be great if anyone could give me a hint here. regards, hasc View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042736#4042736 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042736 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Trinidad 1.0.0, Seam and JBoss 4.0.5
If you are happy to use Seam CVS (which runs on JBoss 4.2.0.CR2 rather than 4.0.5.GA and uses JSF 1.2) - there should be a 1.3 beta fairly soon - then there is an example there which uses Trinidad 1.0.0, Ajax4jsf, Richfaces and Seam (seamdiscs) - the example also takes you through where to place the jars and how to alter your configuration files. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042737#4042737 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042737 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - JBoss Portal developer's blog
We opened a blog where we will post about JBoss Portal architecture/tips/release/etc... http://jbossportal.blogspot.com/ Suggestion about content are welcome :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042738#4042738 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042738 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: i had a problem when i'm using Jboss 4.0.2+ the system c
You're probably encountering: http://jira.jboss.com/jira/browse/JBAS-4056 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042739#4042739 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042739 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: How to check which node is serving a request?
I mean, if you are using jvmRoute in your server.xml, the cookie will be set with that value (session cookie). you can give the value of jvmroute as nodex and nodey View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042740#4042740 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042740 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: AOP within TestNG & EJB3 Embeddable
"mzeijen" wrote : I | I didn't try this before because I thought that the Embedded EJB3 already activated this somehow. EJB3 Embedded itself uses AOP to do it's magic. But the library is probably already aspectized. | E-EJB doesn't use weaving, it uses container/proxy based AOP, so weaving is not turned on. As for the complaint about jboss-ejb3-all.jar, I think that was due to having way too many files on the classpath. I'll check with the EJB 3 guys. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042743#4042743 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042743 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Web Services and JBPM
Ed is right Earnie, you are to a great extend correct. But - there needs to be a subproject - folders, buildscripts, libraries etc..etc..etc. - Making a good full xsd/model And only then creating the webservices themselves So it is more work then you would initially think. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042744#4042744 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042744 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: For Gavin to review
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042705#4042705 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042746#4042746 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042746 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: AOP within TestNG & EJB3 Embeddable
thx, that would be very great. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042745#4042745 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042745 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: ejb-jar.xml a clear definition for EJB3
Hello, I'm a newbie with application servers and ejb3 in particular (so maybe you fall from the pan in the brace - as we say in italian) but with my search on internet and with a lot of patient I've concluded that what you need to deploy an ejb3 is. Suppose you want to deploy a jar with a session bean that use an entity (POJO) bean. Who use the bean is another jar into the same application (ear) 1) the bean jar need an ejb-jar.xml 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";> uns-bean UniqueNumberBean 2) it need also a jboss.xml: UniqueNumberBean UniqueNumberBean 3) For the entity is required a 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";> org.hibernate.ejb.HibernatePersistence java:OracleDS eu.efsa.docreg.uns.beans.PendingNumber true 4) I've also used a jndi.properties java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces java.naming.provider.url=localhost:1099 The Session bean implements the Local and the Remote interface. <> (reply is <>) Regards Giancarlo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042747#4042747 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042747 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Federated SSO Test Application Problem
Hi! I'm evaluating the "JBoss Federated SSO CR1" and I cannot get the test application running. Everything should be installed and configured correctly and deployment seems normal: | 12:45:53,703 INFO [IdentityManager] Configuration successfully loaded for the IdentityManager... | | 12:45:53,734 INFO [SSOManager] SSOProcessor [EMAIL PROTECTED] was successfully registere | d. | 12:45:53,734 INFO [SSOManager] SSOManager service successfully started... | | 12:46:13,703 INFO [EARDeployer] Init J2EE application: file:/C:/Java/jboss-4.0.3SP1/server/default2/deploy/jboss-federa | tion-server.ear | 12:46:13,875 INFO [Federation] -- | 12:46:13,875 INFO [Federation] Conf =conf/server.cfg.xml | 12:46:13,875 INFO [Federation] Partner =jboss.com,http://node1.jboss.com:8080/federate | 12:46:13,875 INFO [Federation] Partner =jboss.org,http://node1.jboss.org:8080/federate | 12:46:13,875 INFO [Federation] -- | 12:46:13,875 INFO [Federation] Federation service successfully started... | 12:46:13,906 INFO [TomcatDeployer] deploy, ctxPath=/federate, warUrl=.../tmp/deploy/tmp47939jboss-federation-server.ear | -contents/jboss-federation-server-exp.war/ | 12:46:13,984 INFO [SSOFederationServer] Configuration successfully loaded for the SSOFederationServer... | 12:46:14,000 INFO [EARDeployer] Started J2EE application: file:/C:/Java/jboss-4.0.3SP1/server/default2/deploy/jboss-fed | eration-server.ear | 12:46:14,015 INFO [EARDeployer] Init J2EE application: file:/C:/Java/jboss-4.0.3SP1/server/default2/deploy/jboss-sso-te | st.ear | 12:46:14,828 INFO [TomcatDeployer] deploy, ctxPath=/test, warUrl=.../tmp/deploy/tmp47940jboss-sso-test.ear-contents/tes | t-exp.war/ | 12:46:15,046 INFO [EARDeployer] Started J2EE application: file:/C:/Java/jboss-4.0.3SP1/server/default2/deploy/jboss-sso | -test.ear | On the surface, I have problems of making cross domain jumps with the login-form being opened on the target site. Trying to find the problem, I've found that when I open the URL "http://node1.jboss.com:8080/federate/partners"; I get a ClassCastException: | java.lang.RuntimeException: | org.jboss.security.saml.SSOException: | java.lang.ClassCastException: | org.jboss.security.saml.JBossSingleSignOn | | org.jboss.security.federation.service.Federation.getPartnerInfo(Federation.java:217) | sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | : | org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:273) | $Proxy47.getPartnerInfo(Unknown Source) | org.jboss.security.federation.servlet.SSOFederationServer.doGet(SSOFederationServer.java:277) | I'm running JBoss 4.0.3 SP1. I've deployed "jboss-federation-server.ear", "jboss-sso-test.ear" files and the "jboss-sso.sar" directory into my "server/default/deploy" directory, duplicated the server and configured hosts. I've also updated "sso.cfg.xml" to point to "node1.jboss.org" instead of "node1.jboss.com" for the trustServer property on the second server. Single-stepping through the code leads me to line 202 in "org.jboss.security.saml.SSOManager": | sso = ssoManager.getProcessor(); | This in turn calls JMXInvocationHandler.invoke which on line 273 (I haven't seen the source code) calls getProcessor on a proxy object. I guess the proxy is a proxy for the SSOManager MBean as the proxy implements SSOManagerService. When the method "getProcessor" is called on the proxy, the ClassCastException above is thrown. Looking at the implementation of the SSOManager MBean, "getProcessor" simply returns a "SingleSignOn" instance held as a member variable. This will most probably be a "JBossSingleSignOn" instance as the exception seem to report this and there are no other implementations. As "JBossSingleSignOn" implements the "SingleSignOn" interface as the "getProcessor" is expected to return I cannot really figure out why there is a class cast exception. I've looked through the forum, but couldn't find anyone else experiencing the same problem. I've cleared the "tmp" and "work" directories with no success. Could this be some class-loader problem? Anyone? Regards // Andreas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042749#4042749 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042749 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: EntityQuery.refresh does not clear parsedEjbql
No, refresh doesn't clear the parsedEjbql, but it does clear the resultList, singleResult and dataModel, meaning that if you subsequently request one of these, then, if any parameters are dirty, then the query will be run again. It doesn't check the ejbql though, so raise an issue in JIRA and we can take a look. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042750#4042750 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042750 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Too many connections problem
Hi. I am using JBPM on Apache Tomcat with Mysql database. The problem is that when I use a lot of time the jbpm application, we obtain a Mysql error (too many connections), and I must to reboot mysql. If I connect to the mysql database server, and execute "show processlist", I see 100 active connections. What I am doing wrong? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042751#4042751 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042751 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: validation message displayed twice
*which* error message is displayed twice? doesn't display messages targeted at particular JSF components, only those which aren't attached to any. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042752#4042752 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042752 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: An enterprise question on s:graphicImage
Also, if you do use s:graphicImage, then you should use the fileName attribute to allow the browser to cache the image View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042753#4042753 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042753 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM Timer Problem
I read Chapter 5 in the Jboss docs regarding the web-deploy which contains and start the timer services ( http://docs.jboss.org/jbpm/v3/userguide/deployment.html#webapplication), My application is based on Spring framework which runs with JBoss, and I alreay configured the JBPM as a context in the Spring, should it be a problem? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042756#4042756 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042756 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Doco possible error. (Minor)
Thanks :) Feel free to raise JIRA issues for documentation bugs View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042754#4042754 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042754 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: How can i get portlet instance id
Do you really want a different processing to be dependant on the portlet instance id? Surely your portlet code should depend on a portlet instance. Wouldn't it be better to add a property to your portlet and depending on the value of the property you have a different processing. That way you can create portlet instances with different processing. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042755#4042755 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042755 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - ResourceBundle in SessionBean?
Hi all, im rather new to J2EE and want to implement (at first) a session bean (stateful) that needs to call a 3rd-Party framework. This framework uses ResourceBundle.getBundle(...) to read some property-Files. At this point I get an error "Can't find bundle for base name xyz.properties ...". I've tried to put this file into the root of my .jar, then META-INF, then WEB-INF(/classes) (although i dont have anything to do with web). Nothing works :( Can somebody help me? Where do I have to put this .properties file? greetings, Karsten View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042759#4042759 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042759 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Seam Deployment Error
This is actually the first exception that gets reported. There are several others following it either similar or complaining that they are related to this one. I have done some experimentation but trial and error and have located the problem to an Action/Session Bean class. If I delete it from the build the project deploys, if I include it then it doesn't. It always gives this exception which doesn't seem to be very helpful. All the code compiles OK. I shall keep plugging away. The most frustrating thing is that there don't seem to be any tools or hints as to what is going wrong. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042760#4042760 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042760 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Trinidad 1.0.0, Seam and JBoss 4.0.5
Is it possible to run seamdisc on Jboss 4.0.5 and Seam 1.2.1? I have looked at seamdiscs example and modified my application which runs on Jboss 4.0.5/Seam 1.2.1 but I am getting some exception from ajax4jsf: Resource not registered : org.richfaces.renderkit.html.GradientA... Are there some code changes in Seam 1.3 related to Trinidad support? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042761#4042761 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042761 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Cannot find port in wsdl (need help)
hi all, am trying to resolve this problem for a week, could anybody help me please ? i download jbossws 1.2.1GA there is example and i am trying to run it. 1.EndpointInterface | import java.rmi.Remote; | import java.rmi.RemoteException; | | import javax.jws.WebService; | import javax.jws.soap.SOAPBinding; | import javax.jws.soap.SOAPBinding.Style; | | /** | * Test the JSR-181 annotation: javax.jws.WebService | * This interface is only used in the client deployment. | * | * @author [EMAIL PROTECTED] | * @since 29-Apr-2005 | */ | @WebService | @SOAPBinding(style = Style.RPC) | public interface EndpointInterface extends Remote | { |String echo(String input) throws RemoteException; | } | 2. EJB3RemoteInterface | import java.rmi.RemoteException; | | public interface EJB3RemoteInterface extends EndpointInterface{ | String echo(String input) throws RemoteException; | } | 3. EJB3Bean02 | import java.rmi.RemoteException; | | import javax.ejb.Remote; | import javax.ejb.Stateless; | import javax.jws.WebMethod; | import javax.jws.WebService; | import javax.jws.soap.SOAPBinding; | | import org.jboss.annotation.ejb.RemoteBinding; | import org.jboss.ws.annotation.WebContext; | | /** | * Test the JSR-181 javax.jws.WebService annotation on an EJB3 endpoint. | * | * Uses the wsdlLocation attribute. | * | * @author [EMAIL PROTECTED] | * @since 29-Apr-2005 | */ | @WebService( | endpointInterface="mypackage.EndpointInterface", | portName = "EJB3RemoteInterfacePort", | name = "mypackage.EndpointInterface", | targetNamespace = "http://org.jboss.ws/samples/jsr181ejb";, | serviceName = "EJB3Bean02", | wsdlLocation = "WEB-INF/wsdl/EJB3Bean02.wsdl") | | @WebContext(contextRoot = "/jaxws-samples-webservice02-ejb3", urlPattern = "/*") | @SOAPBinding(style = SOAPBinding.Style.RPC) | @Remote(EJB3RemoteInterface.class) | @RemoteBinding(jndiBinding = "/ejb3/EJB3EndpointInterface") | @Stateless | public class EJB3Bean02 implements EJB3RemoteInterface { | | @WebMethod | public String echo(String input)throws RemoteException { | System.out.println("Reseive = " + input); | return input + " - Reseived"; | } | } | after this i tryed to generate wsdl from this class and i got files like this: 1.EJB3Bean02.wsdl | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2.jaxrpc-mapping.xml | | | mypackage | urn:mypackage.types | | | mypackage.EJB3Bean02 | serviceNS:EJB3Bean02 | |EJB3RemoteInterfacePort |EJB3RemoteInterfacePort | | | | mypackage.EJB3RemoteInterface | portTypeNS:EJB3RemoteInterface | bindingNS:EJB3RemoteInterfaceBinding | |echo |echo | | 0 | java.lang.String | | wsdlMsgNS:EJB3RemoteInterface_echo | String_1 | IN | | | | java.lang.String | wsdlMsgNS:EJB3RemoteInterface_echoResponse | result | | | | | 3.web.xml | | http://java.sun.com/xml/ns/j2ee";> | | /ejb3/EJB3EndpointInterface | mypackage.EJB3Bean02 | | | /ejb3/EJB3EndpointInterface | /* | | | 4.webservices.xml | | | EJB3Bean02 | META-INF/wsdl/EJB3Bean02.wsdl | META-INF/jaxrpc-mapping.xml | |EJB3RemoteInterfacePort |portNS:EJB3RemoteInterfacePort | mypackage.EJB3RemoteInterface | | /ejb3/EJB3EndpointInterface | | | | | after all when i tried to deploy this project i got an error : | 13:23:22,998 INFO [Ejb3Deployment] EJB3 deployment time took: 19 | 13:23:23,426 ERROR [ServiceEndpointDeployer] Cannot create service endpoint | org.jboss.ws.WSException: Cannot find port in wsdl: {http://org.jboss.ws/samples/jsr181ejb}EJB3RemoteInterfacePort | at org.jboss.ws.metadata.builder.MetaDataBuilder.replaceAddressLocation(MetaDataBuilder.java:378) | at org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.buildWebServiceMetaData(JAXWSWebServiceMetaDataBuilder.java:170) | at org.jboss.ws.metadata.builder.jaxws.JAXWSServerMetaDataBuilder.setupProviderOrWebService(JAXWSServerMetaDataBuilder.java:49) | at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilderEJB3.buildMetaData(JAXWSMetaDataBuilderEJB3.java:77) | at org.jboss.ws.core.server.ServiceEndpointDeployer.create(ServiceEndpointDeployer.java:92) | at org.jboss.ws.integration.jboss42.DeployerInterceptor.createServiceEndpoint(DeployerInterceptor.java:127) |
[jboss-user] [JBoss Seam] - Re: Trinidad 1.0.0, Seam and JBoss 4.0.5
No - you won't get jboss-seam-trinidad.jar working on 1.2.1. Apart from that, the major changes are to Seam itself - it runs on AS 4.2 which uses JSF 1.2 RI and it uses jboss-el rather than el-ri (you would want to use jboss el). The configuration instructions should be the same though. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042763#4042763 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042763 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Federated SSO Test Application Problem
I've found the problem. We're running with isolated class loading. With the isolation disabled, everything works fine. Does this rule out "JBoss Federated SSO" for us or is there some way to get it working with isolated class loading? Regards // Andreas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042765#4042765 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042765 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: ejb-jar.xml a clear definition for EJB3
Hello! No, in general you don't need the ejb-jar.xml. You can include the ejb-jar.xml file if you intend to override settings from given annotations. But in generel, you don't need it. What you need to do is: Create a JAR-file with the ejb:s you want to deploy. This file must also include a META-INF/persistence.xml file where you ponit out the datasource you wan't to use. Here is an example: | 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:/my-ejbs-DS | | | | | | | | | The structure of the final jar file containing the ejb:s is something like: | /my-ejbs.jar |/META-INF | MANIFEST.MF | persistence.xml |/my | /example | /bean | MyBean.class | ... | Then you need to create an ear-file. This is not a must, but you get better structure if you deploy your ejbs in an ear file. You still need to specify the META-INF/application.xml file. Here is an example: | | http://java.sun.com/xml/ns/j2ee"; |xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; |xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd"; |version="1.4"> |my application description |my-application | | | | my-ejbs.jar | | | | | | my-service-jaxws-web.war | /my-service-jaxws-web | | | | A good idea is also to bundle the dependent jar files in the ear file. Place them in the lib folder of the ear file. In the META-INF folder you create a jboss-app.xml file where you tell jboss to use the libs you provide in the ear file. Note that if you do this way and also include a war file in the ear - then make sure you don't have any WEB-INF/libs/... in the war file. Here is an example: | http://www.jboss.org/j2ee/dtd/jboss-app_4_0.dtd";> | |my-ejbs:app=ejb3 | | So finally, this is the structure of the ear file: | my-service.ear |/my-ejbs.jar |/lib | dependency_jar_A.jar | dependency_jar_B.jar | ... |/META-INF | MANIFEST.MF | application.xml | jboss-app.xml | Kind regards Oskar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042766#4042766 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042766 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Doco possible error. (Minor)
I will once I know its really a BUG. If you dont mind the "It hink its a bug cluttering up the Jira then I will from now on"... And on that note... the conversation picker seems to have stopped working!!! in that it nevers lists conversations.. or is this just ME! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042767#4042767 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042767 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Integrating jboss with Websphere MQ
Can any one help me to integrate Jboss with Websphere MQ, some documents how to integrate Jbsoo with Websphere MQ. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042768#4042768 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042768 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: ejb-jar.xml a clear definition for EJB3
Oooppss.. One more thing I forgot. If you don't provide the ejb-jar.xml file, JBoss will deploy your ejbs as: //Local or //Remote. In the example above you will get something like: /my-service/MyBean/Local or /my-service/MyBean/ Sorry for using the word "service" here. I did'd som web services and called them ...-service. That's why the service extension of the ear file's name. //Oskar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042769#4042769 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042769 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - lookup NoClassDefFoundError
hi all. I'm facing a lookup can't find error for about a day I have created a EAR file called "Ad.ear". Inside of the EAR file, there is a JAR&WAR files. In Jar file, I have a Remote interface called "ResetObj" and implemented Stateless Session bean called "ResetObjBean". Here's what I'm tryin to do. I created another EAR file called Ad2.ear which only contains the Servlet. >From the servlet, I'm tryin to call the Remote Session Bean like this: | Context ctx = new InitialContext(); | ResetObj rst = (ResetObj )ctx.lookup("Ad/ResetObjBean/remote"); //this part fails | rst.resetObject(); | but the prob is that it gives me following error: java.lang.NoClassDefFoundError: ad/session/flow/ResetObj | java.lang.Class.getDeclaredConstructors0(Native Method) | java.lang.Class.privateGetDeclaredConstructors(Unknown Source) | java.lang.Class.getConstructor0(Unknown Source) | java.lang.Class.newInstance0(Unknown Source) | java.lang.Class.newInstance(Unknown Source) | org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) | org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | java.lang.Thread.run(Unknown Source) JBoss:4.0.5GA JVM:1.5.0_10 I've set ClassPath to both JAVA_HOME and JBOSS_HOME. PLZ help! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042771#4042771 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042771 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Doco possible error. (Minor)
Can you replicate this in an example? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042770#4042770 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042770 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM Timer Problem
I use JBPM 3.2 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042772#4042772 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042772 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Doco possible error. (Minor)
This is in my template which is psrt of every page. I have 2 projects and I never see anything displayed. (I used to aoroung 2 drops of Seam ago.. and it was quite neat to jump around the conversations - and slo useful for debugging!). | http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> | http://www.w3.org/1999/xhtml"; | xmlns:c="http://java.sun.com/jstl/core"; | xmlns:ui="http://java.sun.com/jsf/facelets"; | xmlns:f="http://java.sun.com/jsf/core"; | xmlns:h="http://java.sun.com/jsf/html";> | | | | Workspace | | | | | Activity | | | | | | | | | | Action | | | | | | I will create a small app on Tuesday (insanly busy till then) which should show it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042773#4042773 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042773 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Trinidad 1.0.0, Seam and JBoss 4.0.5
Thanks a million, Pete. Maybe I will just update JBoss and JSF versions at the same time as switching from ADF Faces to Trinidad. Seemed like a good idea to take the smallest step possible and update one after the other and check that nothing gets broken along the way. I noticed that seamdiscs puts the myfaces api jar in the ear and only the impl jar in the web module. That's a combination I have not yet tried. Will check if that works this evening. I don't (yet) need jboss-seam-trinidad.jar if I don't need the special handling of Trinidad's data model, right? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042775#4042775 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042775 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Seam Deployment Error
OK, I've cracked what the cause is. Perhaps someone who understands the annotations could now explain why it happens: It goes wrong if the code has @Stateful commented out (or I use @Stateless instead): package org.jboss.seam.example.booking; //imports .. //@Stateful @Name("myAction") @Scope(EVENT) @Restrict("#{identity.loggedIn}") // other code ... @Destroy @Remove public void destroy() {} but, not if I don't comment out the @Stateful package org.jboss.seam.example.booking; //imports .. @Stateful @Name("schoolList") @Scope(EVENT) @Restrict("#{identity.loggedIn}") // other code ... @Destroy @Remove public void destroy() {} It seems to be associated with the presence of the @Destroy and @Remove tags. If these are present and the bean is not @Stateful then I get this deployment error. I sort of understand from the tutorial that you need @Destroy @Remove if the bean is stateful. I didn't get that you couldn't have them if it wasn't. I supposed (perhaps naively) that this type of error would be picked up at compile time. Is there some kind of checker that can be run to look for this sort of thing? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042776#4042776 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042776 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Trinidad 1.0.0, Seam and JBoss 4.0.5
"stephen.friedrich" wrote : Thanks a million, Pete. | Maybe I will just update JBoss and JSF versions at the same time as switching from ADF Faces to Trinidad. | Seemed like a good idea to take the smallest step possible and update one after the other and check that nothing gets broken along the way. It's probably worth it if you can - you will need to if you want to remain current with releases of Seam, as to run Seam 1.3 (and later) on JBoss 4.0.5.GA would need significant work! Generally the JSF 1.2 RI seems "better" than myfaces (partly as its a newer spec!) e.g. better reporting of errors. anonymous wrote : I noticed that seamdiscs puts the myfaces api jar in the ear and only the impl jar in the web module. That's a combination I have not yet tried. Will check if that works this evening.anonymous wrote : | | | | I take it you mean trinidad? Thats needed so that you can get at the trinidad model classes (such as TreeModel) from your business layer) | | | | anonymous wrote : I don't (yet) need jboss-seam-trinidad.jar if I don't need the special handling of Trinidad's data model, right? | | | | Exactly. It will only ever be optional - containing enhancements and possibly making configuration easier. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042777#4042777 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042777 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM Timer Problem
If you don't deploy the standard jBPM which configures the JobExecutorServlet, I'd suggest to add the configuration of this servlet to your own applications web.xml. As indicated in the javadocs of JobExecutorServlet, add the following configuration |... | | JobExecutorServlet | org.jbpm.job.executor.JobExecutorServlet | 1 | | | JobExecutorServlet | /jobexecutor | |... | Best regards, Martin View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042778#4042778 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042778 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: How can i get portlet instance id
Thanks engela, You suggest to add a property to portlet . Is that mean adding preferences to portlet-instance.xml ? or something else ? If it is by setting preferences then i am currently doing the exact thing if it is different please let me know. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042779#4042779 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042779 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: can't access preference at runtime
You can set up preferences in portlet-instances.xml (note the 's' at the end). Show more of your portlet-instances.xml file. You can also look at the NewsPortlets in core-samples to see it used. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042780#4042780 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042780 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - run time exception
I followed the tutorial http://www.netbeans.org/kb/55/ejb30-jboss.html and tried to implement the same. But it's throwing an exception of the following type. java.lang.RuntimeException: javax.naming.NameNotFoundException: NewsApp not bound web.ListNews.lookupNewsEntityFacade(ListNews.java:95) web.ListNews.processRequest(ListNews.java:47) web.ListNews.doGet(ListNews.java:69) javax.servlet.http.HttpServlet.service(HttpServlet.java:697) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96 may sny one please help me why it has occurred and how to clear it ? I will be thankful for your kind support. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042783#4042783 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042783 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Charset encoding problem in URL parameters
Can you create a simple test case and post it on JIRA for someone to look at? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042785#4042785 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042785 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: validation message displayed twice
thanks for help. i defined a message text in messages.properties GreaterThanZero=some text when i enter e.g. 0 as value the message text for "GreaterThanZero" is displayed twice. i just set globalOnly="true" to check if the message is bound to the component. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042786#4042786 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042786 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: validation message displayed twice
What version of Seam and which JSF impl are you using? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042788#4042788 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042788 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: ResourceBundle in SessionBean?
Hi all, sorry for the post - it works now. I've no idea what went wrong the first time. Just put the .properties file into the root of the jar. greetings, Karsten View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042789#4042789 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042789 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: validation message displayed twice
jboss-seam-1.2.1.GA jsf1.2 with facelets View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042790#4042790 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042790 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - JBoss EJB3 Libraries javadoc api
Hi, Im now using JBoss Ide in EJB30 proyects, but like others java api i would install the apis docs for working with eclipse without internet connection. Under myproyect/properties/Java Build Path/libraries have a JBoss-ejb3x.jar file that i cant modify the javadoc source file. If i would use the documentation api, how cant i install it?? sorry for my poor english, is difficult for spanish student View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042781#4042781 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042781 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: validation message displayed twice
Please try with CVS http://jira.jboss.com/jira/browse/JBSEAM-1236 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042793#4042793 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042793 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Web Services and JBPM
Ok thanks No quite what I hoped, but it will get there. In the mean time if I want to build my own WebService front end, can you give some clue on how to adress the jBPM server and a process or a process instance? (so the web service can work on it) Thanks again Miguel View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042794#4042794 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042794 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: validation message displayed twice
thanks i ll try that View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042795#4042795 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042795 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - HQL/ JPA-QL Query Tuning: How to enforce the join order
Hi! I have read the book "SQL Tuning" by Dan Tow and want to optimise the important HQL/JPA-QL queries of my application, but I not sure how to enforce the optimal execution plan :-(. Consider the following JPA-QL-Query: | select o | from Operation o | where o.order.flight.etd = :flight | The resulting SQL-Statement: | select | | from | Operation operation0_, | OrderTab order1_, | Flight flight2_ | where | order1_.flight_id=flight2_.id | and operation0_.order_id=order1_.id | and flight2_.etd=? | Let's say I want to get the following join order: Flight, OrderTab, Operation. How can I get it? Exists there a way to enforce this join order with Jpa-QL or HQL? If it were possible to enforce the join order with JPA-QL I would only have to change the JPA-QL query, the other application code would remain unchanged: | Query query = em.createQuery(); | Operation op = (Operation)em.getSingleResult(); | | But if the only way to enforce the join order is to execute a sql query instead the HQL-Query, I think would have to write the following code: | Query query = em.createNativeQuery(); | Object[] ar = (Object[])em.getSingleResult(); /*the result of the query won't be an object with the type Operation but an array of objects (the attribute values)*/ | Operation op = (Operation)new Operation().setAttr1(ar[0]).setAttr2(ar[1]) ...; | The code above is very clumsy and not very convenient. If sql is the only way to enforce the wanted execution plan, can I let hibernate transform the result of the query into an Operation-object? The code changes in this case would be minimal: | Query query = em.createNativeQuery(); | Operation op = (Operation)em.getSingleResult(); | Thanks Hoeft View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042796#4042796 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042796 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - HQL/ JPA-QL Query Tuning: How to enforce the join order
Hi! I have read the book "SQL Tuning" by Dan Tow and want to optimise the important HQL/JPA-QL queries of my application, but I not sure how to enforce the optimal execution plan :-(. Consider the following JPA-QL-Query: | select o | from Operation o | where o.order.flight.etd = :flight | The resulting SQL-Statement: | select | | from | Operation operation0_, | OrderTab order1_, | Flight flight2_ | where | order1_.flight_id=flight2_.id | and operation0_.order_id=order1_.id | and flight2_.etd=? | Let's say I want to get the following join order: Flight, OrderTab, Operation. How can I get it? Exists there a way to enforce this join order with Jpa-QL or HQL? If it were possible to enforce the join order with JPA-QL I would only have to change the JPA-QL query, the other application code would remain unchanged: | Query query = em.createQuery(); | Operation op = (Operation)em.getSingleResult(); | | But if the only way to enforce the join order is to execute a sql query instead the HQL-Query, I think would have to write the following code: | Query query = em.createNativeQuery(); | Object[] ar = (Object[])em.getSingleResult(); /*the result of the query won't be an object with the type Operation but an array of objects (the attribute values)*/ | Operation op = (Operation)new Operation().setAttr1(ar[0]).setAttr2(ar[1]) ...; | The code above is very clumsy and not very convenient. If sql is the only way to enforce the wanted execution plan, can I let hibernate transform the result of the query into an Operation-object? The code changes in this case would be minimal: | Query query = em.createNativeQuery(); | Operation op = (Operation)em.getSingleResult(); | Thanks Hoeft View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042797#4042797 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042797 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: org jbpm Scheduler class
Naseem, I assume you meant "impl" when you wrote "imp", and "jbpm-console.war" when you wrote "jbpm.war". This area has changed a lot... I suspect you're a victim of version skew of some kind. In 3.2, there's no ...bean.AdminBean or ...impl.Scheduler - at least I can't find them. -Ed Staub View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042800#4042800 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042800 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: JBossWS 1.2.0CR2 with JEMS 1.2 (and JBoss 4.0.5) fails
"[EMAIL PROTECTED]" wrote : This is a classpath issue. Make sure jboss-jaxrpc.jar is seen first. | | In 4.0.5 the legacy JAXRPC API is also in jbossall-client.jar. This will cahnge in jboss-4.2.0 Got the same problem with 4.2.0 and with 4.0.5 + jbossws-1.2.1.GA: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=107728 How can I be sure that jboss-jaxrpc.jar is seen first!? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042801#4042801 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042801 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Web Services and JBPM
Mignag, I may misunderstand, but it sounds like you haven't read any documentation yet. Read the user guide carefully, at a minimum, and try to find some answers before posting a "give some clue on how to adress the jBPM server..." If you do still need to ask, tell how you're going to be installing the engine. POJO? EJB? What appserver? etc... -Ed Staub View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042803#4042803 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042803 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM Timer Problem
I add the JobExecutorServlet to my configuration as mentiond and I get the following error while satrt up the application: 2007-05-03 15:18:00,328 ERROR [org.jbpm.job.executor.JobExecutorThread] exception in job executor thread. waiting 4 milliseconds org.hibernate.MappingException: invalid configuration at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1411) at org.hibernate.cfg.Configuration.configure(Configuration.java:1352) at org.jbpm.db.hibernate.HibernateHelper.createConfiguration(HibernateHelper.java:91) at org.jbpm.persistence.db.DbPersistenceServiceFactory.getConfiguration(DbPersistenceServiceFactory.java:69) at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:91) at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:94) at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:98) at org.jbpm.persistence.db.DbPersistenceService.getJobSession(DbPersistenceService.java:352) at org.jbpm.JbpmContext.getJobSession(JbpmContext.java:563) at org.jbpm.job.executor.JobExecutorThread.acquireJobs(JobExecutorThread.java:109) at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:56) Caused by: org.xml.sax.SAXParseException: Element type "value" must be declared. at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.dom4j.io.SAXReader.read(SAXReader.java:465) at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1408) ... 10 more View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042804#4042804 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042804 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Two-Node Cluster UDP OutOfMemoryError
It's hard to tell cause from effect in this kind of situation. Your log shows node1 being suspected by node2 and properly starting the process of closing down the channel to rejoin. Then a few ms later the vm runs out of memory. Most likely whatever was going on that eventually led to the OOME was also making node1 unresponsive enough that node2 suspected it. The question is why the OOME occurred. First, it's *extremely* unlikely the process of handling the suspicion and closing the channel is itself what caused the OOME. Second, the fact that UDP is what threw the OOME doesn't really mean it or JGroups was the underlying cause -- it just means UDP was the code trying to allocate an object when the heap was finally out of space. JGroups 2.4.1.SP3 has an improvement to the FC (flow control) protocol that prevents an OOME condition that could occur when the channel is running under sustained overload. That may help. But, IMHO the odds are pretty low that that was the cause of your OOME. You're better off trying to profile your application to confirm you have no memory leaks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042805#4042805 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042805 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Trinidad PPR/Ajax and Seam
"smithbstl" wrote : | I still can't find a way to propagate the conversation to the dialog window. I have tried the above mentioned Phase Listener and also the s:conversationPropagation tag in Seam's Library. Neither seem to work. | The test app I put together does propagate the conversation to the dialog. To see it do the following: - on the first page there should be a conversation id on the page - this is a temporary conversation - click start button - a new conversation id should be created - this is a long running conversation - click main (it's the second button) - a new page should open up, the long running cid should be displayed - click start dialog - the dialog should open up and should be showing the long running cid I need a long running conversation and I believe both the PhaseListener and ActionListener are needed. To bad it doesn't seem like we can figure out a way to get it to work without these modifications. Maybe something in Seam 1.3. Probably need to use the trinidad-seam extension that the JBoss guys are creating with some added "glue" to get the conversation to propagate correctly across dialogs. Hopefully with this ground work they can think of something a little more elegant than this quick hack. Chris View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042806#4042806 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042806 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM Identity
yes, imodified the provided one. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042807#4042807 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042807 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Dynamic jdbc connection
Is there any way of programmatically configuring the JDBC connection associated with a persistence unit? Specifically the username and password. I would like to use EJB3 entities in a client application and the user login is the login to the database. I thought about dynamically binding a Datasource into JNDI under the name in persistence-unit.xml but can't see a way of doing this. Many thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042810#4042810 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042810 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Design Questions
I have a seam bean, conversational, and in this bean I have delegated work out to another bean (8 actually!). Since the main bean is conversational I require these delegated beans to do work within my conversation. I biject these delegates using: | /** | * Biject the nameDescriptionStepController | */ | @In(create=true) @Out | private SectionStepController nameDescriptionStepController; | What should I set the beans to be as they really dont have a @Begin and @End? They currently are : | @CacheConfig(idleTimeoutSeconds=1800) // This keep the object "alive" longer than the session. | @Stateful // A component stays in existance for the duration of the Scope (conversation in this instance). | @Name("nameDescriptionStepController") // Name used within SEAM for an instance of this class. | @Conversational // Scope that this class exists in. | but I get the occasional "not in long running conversational I use the contents of a beans in the GUI.. hence they are outjected. I must be missing a piece oif the jigsaw. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042811#4042811 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042811 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - jboss multiple installation
Hi.. for the multiple instance jboss concept.. do i need to install one more jboss.. or it is just copy-paste of one more directory inside SERVER folder of the jboss? urgent case.. thanks !! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042813#4042813 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042813 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Programmatic Portlet Resizing with JSF
How do I programmatically resize a JSF/Seam based portlet? As far as I can tell I don't have access to the actionUrl from within a managed bean. I suspect that adding a param to my commands wont work. | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042817#4042817 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042817 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - finding solution to pass parameters from one portlet to 3 po
Hi, We are trying to find a solution to pass parameters from one portlet placed in the main page of the portal to 3 portlet that are placed on a different page and opens in a new window. The senerio is like this. We have "userslist" portlet in the main page, it displays all the users with a link to view the details of that user in the new browser window. The url to view the user detail is a portal page url (eg. /portal/portal/default/UserDetailpg?userid=adminuser). The user details page has 3 portlets that displays different details of the users like personal information, his documents list, his task list details. When the user clicks on the name of the user the url has a parameter and value userid=admin We are trying to get the userid parameter passed in the url in portlets placed in the UserDetailpg and we always get null. So is there a way in jboss portal framework to get this parameter value in all the 3 portlet in a new page. With our past experience in the bea weblogic portal framework we had seen a way to handle this. From the portletrequest (Inner Request) we had a method to get the HttpServletRequest (OuterRequest) which can be used to get all the parameter that are passed in the URL. Regards Manoj View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042818#4042818 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042818 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Error selecting object
I have downloaded jboss-seam-CVS.20070503 and rearranged libraries etc. to use it instead of 1.2.1GA but I cannot seem to get past the following exception. Exception during request processing: javax.el.ELException: Error Parsing: #{isteklerAction.selectIstek(i)} | | com.sun.el.lang.ExpressionBuilder.createNodeInternal(ExpressionBuilder.java:140) | com.sun.el.lang.ExpressionBuilder.build(ExpressionBuilder.java:157) | com.sun.el.lang.ExpressionBuilder.createMethodExpression(ExpressionBuilder.java:208) | com.sun.el.ExpressionFactoryImpl.createMethodExpression(ExpressionFactoryImpl.java:63) | org.jboss.seam.core.Expressions$2.createExpression(Expressions.java:95) | org.jboss.seam.core.Expressions$2.invoke(Expressions.java:99) | org.jboss.seam.core.Pages.callAction(Pages.java:499) | org.jboss.seam.core.Pages.enterPage(Pages.java:284) | org.jboss.seam.jsf.AbstractSeamPhaseListener.enterPage(AbstractSeamPhaseListener.java:276) | org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:214) | org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:56) | com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:214) | com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140) | javax.faces.webapp.FacesServlet.service(FacesServlet.java:245) | org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397) | org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) | org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184) | org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57) | org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216) | org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184) | org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) | org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216) | org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184) | org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:126) | org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:248) | org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216) | org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184) | org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:276) | org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566) | org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536) | org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240) | org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042821#4042821 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042821 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Trinidad PPR/Ajax and Seam
Chris, I have followed your instructions and am not seeing the conversation propagated. 1st page has a conversation id (cid) of 1 2nd page (long running conversation) cid=2 3rd page(page with dialog link) cid=2 dialog page cid=4 I have not changed anything in your project other than the DataSource reference in persistence.xml anonymous wrote : Maybe something in Seam 1.3. Probably need to use the trinidad-seam extension that the JBoss guys are creating with some added "glue" to get the conversation to propagate correctly across dialogs. Hopefully with this ground work they can think of something a little more elegant than this quick hack. Where have you heard about a trinidad-seam extenstion? I can't find anything in jira about it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042824#4042824 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042824 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Trinidad PPR/Ajax and Seam
Please check in my provided listeners, if you are using "conversationId" paramter name od "cid" parameter name... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042826#4042826 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042826 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: jboss portal 2.6 and jboss AS 4.2
You would need to copy: jboss-4.0.5.GA/server/default/lib/jboss-backport-concurrent.jar in 4.2/server/default/lib View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042829#4042829 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042829 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Entitymanager Persistent
Hi, i have 2 entity bean, Rollingstock and Schedule. Hear is some code: | rollingstock = new Rollingstock(); | rollingstock.setNextRoute( "STH" ); | rollingstock.setRoute( "HALL" ); | schedule = new Schedule(); | rollingstock.setSchedule( schedule ); | So now i whant to persist the entitys, i thought that i just neded to do: manager.persist(rollingstock); then bouth rollingstock and schedule would be persist, but i get a exception when i do that. i must do this to get both persist: | manager.persist(rollingstock); | manager.persist(schedule); | is thair any better way to persist entitys, Because in my Rollingstock entity i have a lot off relations, so when i get a Rollingstock i just whant to run persist(rollingstocko); now i must take out evrything and do persist on each entity. any clarification ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042833#4042833 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042833 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Trinidad PPR/Ajax and Seam
which is correct? coversationId or cid? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042834#4042834 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042834 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Hot deployment, changes in class files are not identified
Any changes in JSPs are getting loaded in JBoss app server without restart but any changes in the class files are not getting loaded. Is there any flag I am missing out to set it. Thanks in advance, APK View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042835#4042835 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042835 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Trinidad PPR/Ajax and Seam
The one that is configured in your components.xml. In your case probably "cid" ?! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042836#4042836 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042836 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Trinidad PPR/Ajax and Seam
Ok thanks. It was consistent between components.xml and the phase listener. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042837#4042837 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042837 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Trinidad PPR/Ajax and Seam
Can one of you create a JIRA issue for me? I need to know what the exact problem you are encountering is (and how I can replicate), and what you are doing to solve it and the relevant classes. Then I can roll it into the jboss-seam-trinidad.jar and seamdiscs example. Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042839#4042839 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042839 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Error selecting object
Seam CVS uses jboss-el not el-ri. seam-gen should create you a correct application, or take a look at one the examples. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042840#4042840 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042840 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - JbpmSession deprecated or not?
Hi This is my scenario, please correct me if it's wrong. I have a main class that start's my engine with the code: | private JbpmConfiguration jbpmConfiguration = null; | private JbpmContext jbpmContext = null; | | this.jbpmConfiguration = JbpmConfiguration.getInstance(); | this.jbpmContext = jbpmConfiguration.createJbpmContext(); | Then if needed, other classes access jbpmContext by a get() method. For example I and to do a query to the engine to retrive the instances running of one process. I have look for some info on the forum and most of the times, the connection is made by a: JbpmSession session = JbpmFactory.getInstance.openJbpmConnection(); Well when i read the javadocs about this, it has the following info: anonymous wrote : Deprecated. use org.jbpm.tc.ContextBuilder and org.jbpm.tc.db.JbpmSessionContext instead. When I look for these classes on the Javadocs I can't find then, neither on jbpm 3.2 jars. So my questions are: - Is my approach to launching the service, and connection the service is correct? - Should I use JbpmSession? Is it deprecated ? What's the alternative? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042842#4042842 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042842 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Trinidad PPR/Ajax and Seam
I have created the jira, Chris or dajevtic, feel free to add anything I may have left out. http://jira.jboss.com/jira/browse/JBSEAM-1289 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042843#4042843 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042843 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Problems injecting EJB into JSF-backingbean (on jboss-5.0.0.
Hi All, I have an JSF-backing-bean and a SLSB and I'd like to have an injection of the SLSB. My app: web.xml is JEE5: | 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/web-app_2_5.xsd";> | ... | I have a definicion in my faces-config.xml: | | partner_Einzelperson_Screen | com.genloop.web.Projektabrechnung.Projektabrechnung_v13.beans.screen.Partner_Einzelperson_Screen | session | | My SLSB implements a common interface (which type I use in my backing bean!): | @Local | @Remote | @Stateless | public class Configuration implements com.genloop.web.Configuration, Serializable { |... | } | My Backing bean uses: | @EJB(mappedName="Projektabrechnung-Projektabrechnung_v13/Configuration/local") | protected com.genloop.web.Configuration configuration; | Everything is deployed in an EAR named Projektabrechnung-Projektabrechnung_v13.ear If I try to access configuration, I get: | 16:12:46,859 ERROR [JBossInjectionProvider] Injection failed on managed bean. | javax.naming.NameNotFoundException: com.genloop.web.Projektabrechnung.Projektabrechnung_v13.beans.screen.Partner_Einzelperson_Screen not bound | at org.jnp.server.NamingServer.getBinding(NamingServer.java:542) | at org.jnp.server.NamingServer.getBinding(NamingServer.java:550) | at org.jnp.server.NamingServer.getObject(NamingServer.java:556) | at org.jnp.server.NamingServer.lookup(NamingServer.java:267) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:628) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:590) | at javax.naming.InitialContext.lookup(InitialContext.java:351) | at org.apache.catalina.util.DefaultAnnotationProcessor.lookupFieldResource(DefaultAnnotationProcessor.java:203) | at org.apache.catalina.util.DefaultAnnotationProcessor.processAnnotations(DefaultAnnotationProcessor.java:139) | at org.jboss.web.jsf.integration.injection.JBossInjectionProvider.inject(JBossInjectionProvider.java:104) | at com.sun.faces.config.ManagedBeanFactoryImpl.newInstance(ManagedBeanFactoryImpl.java:298) | at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:531) | at com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver.java:82) | at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53) | at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64) | at org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:45) | at org.apache.el.parser.AstValue.getValue(AstValue.java:86) | at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186) | at org.apache.jasper.el.JspValueExpression.getValue(JspValueExpression.java:101) | at javax.faces.component.UIOutput.getValue(UIOutput.java:173) | at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:189) | at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:320) | at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:200) | at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:833) | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:896) | at javax.faces.render.Renderer.encodeChildren(Renderer.java:137) | at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:809) | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886) | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892) | at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:244) | at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:175) | at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106) | I wonder why I see "com.genloop.web.Projektabrechnung.Projektabrechnung_v13.beans.screen.Partner_Einzelperson_Screen" (which is my backing bean) in the stack trace as "not bound"?! Any ideas? Thanks for help, Carsten View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042844#4042844 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042844 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: jboss multiple installation
The latter is the best approach - make a copy of an existing directory in the server folder. (On my system, I never use 'all' or 'default', I always make a copy and run the resulting configuration. I have a dozen configurations.) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042846#4042846 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042846 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: A strange slowly running thread which has been run by se
Which parameter can we modify to aviod this posible (network timeout problem)? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042847#4042847 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042847 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: connecting with the API
Yeah I'm getting there, but slowly... :) Just don't get one thing, where are the classes deployed on the database? I'm asking this because my purpuse is to use the same Actions to many process definitions. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042849#4042849 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042849 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Hot deployment, changes in class files are not identifie
Class files are not reloaded unless the entire application is redeployed. To accomplish this, change the timestamp on the primary deployment descriptor. See http://wiki.jboss.org/wiki/Wiki.jsp?page=RedeployAnApplicationWhenChangeAFileInAnExplodedDeploymentDirectory View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042850#4042850 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042850 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Trinidad PPR/Ajax and Seam
"smithbstl" wrote : Chris, I have followed your instructions and am not seeing the conversation propagated. | | 1st page has a conversation id (cid) of 1 | 2nd page (long running conversation) cid=2 | 3rd page(page with dialog link) cid=2 | dialog page cid=4 hmmm... note sure what to tell you. It works for me. I have upload another version that is a bit clearer; but this probably isn't the problem. 1) Click "Start Conversation" 2) Click 2nd Page 3) Click start dialog (the conversation id should be the same as shown in #2) Are you using JBoss 4.0.4? Chris View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042851#4042851 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042851 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Transaction Demarcation
Well, I don't think I can use the EJB3 notations in seam. I tried and it does not work or have any effect. Trying to acces a user transaction I got: java.lang.IllegalStateException: Container MessageManager: it is illegal to inject UserTransaction So this does not seem to be an option either. Does anybody know how I could start several transactions and commit each during the time of a user web request? Also if the user clicks somehwere else, so that no response is generated the initial task should complete. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042852#4042852 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042852 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM Identity
Hi, Actually it is indirectly through the hibernate.cfg.xml that jbpm is hardwired to the identity module. | | | | | | | | | | If you look into the corresponding java files (User.java etc...) you'll see they are part of the identity package (as the comment in the xml says). Hope this helps, Johan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042855#4042855 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042855 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Trinidad PPR/Ajax and Seam
I have modified the JIRA. I can try to answer questions Chris View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042854#4042854 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042854 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: EJB exception Error,Help
thanks for the reply, have sorted the issue myself,made a schoollboy error,I didn't have my confirm in a try and catch block View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042856#4042856 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042856 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - How to quickly switch the jbpm.cfg.xml
Hi all, For testing purposes I'd like the easily switch the jBPM configuration programmatically. I know I could replace the jbpm.cfg.xml by hand but that's not so practical (think unittests...). I would have liked to override the jbpm.cfg.xml default by setting a system property. Due to my limited understanding of the jBPM internal my JbpmConfiguration hack did not work :( Is there a way to achieve this (one not involving scripting)? Regards, Johan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042857#4042857 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042857 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Buddy Replication on Weblogic
anonymous wrote : | 1) BuddyReplication only works in case of clustered environment? So If I have individual nodes which are not part of cluster then I can't use BuddyReplication? | You don't necessarily need a "cluster" as far as WL is concerned. They could be standalone servers. You will need some form of load balancing and session affinity however, perhaps provided by an external load balancer (HW or SW based) anonymous wrote : | 2) With the same configuration, when I dont use BuddyReplication in my cache-config, still the contents get replicated. i.e Application-1 and Application-2 were able to see the cache contents at any point of time. | (Applications are deployed in two different AdminServers (not a part of cluster) but on single machine). Can you please tell us if that is right and how it replicated the contents when we did not use BuddyReplication and why it is not replicating the contents when we use BuddyReplication? | WL "clustering" has no effect on JBoss Cache, even if you have 2 separate Admin Servers. Even with BR enabled, replication still happens - it is just that state is replicated to a backup region and not a primary region. This is why you do not see it. anonymous wrote : | Is it mandatory to use sticky session for BuddyReplication to work? | If it is to be of any benefit, then yes. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042858#4042858 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042858 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - How to authenticate user by department?
I have a existing package that authenticate user by department to avoid user name conflict. In other word, there are 3 fields in the login form (Department, User Name and Password). Now, I want to use Seam to do the web development. But I stock in the first step--Login process. The default Seam authentication mechanism require org.jboss.seam.security.Identity class which does not include Department field. I don't want to modify the Identity class directly because of the long term software upgrade consideration. What can I do to resolve this problem? Any suggest is welcome. I'm using Seam 1.2.1 GA. Jack Yeh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042859#4042859 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042859 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user