[jboss-user] [JBoss Seam] - Re: Initialization code
We have a similar problem. We have to initialize a Catalog seam component from database when seam is started. Our solution: Catalog is application scoped. Our users must login before they can use the app. So we put this statement in our authorization bean: @In(create = true) | private Catalog catalog; | The first login initializes the component. It is only a workaround and does not work with apps when there is no need to login. Ciao, baz View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040430#4040430 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040430 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Initialization code
Forget my post. i haven't read the second page of this thread before posting:-( I will try org.jboss.seam.postInitialization event but i must find time:-( View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040431#4040431 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040431 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: Very slow startup on Java 1.6
Hello! I've solved that. It's a debugging issue. I've changed my debug settings from: wrapper.java.additional.26=-Xdebug wrapper.java.additional.27=-Xnoagent wrapper.java.additional.28=-Djava.compiler=NONE wrapper.java.additional.27=-Xrunjdwp:transport=dt_socket,address=7199,server=y,suspend=n to: wrapper.java.additional.26=-Xdebug wrapper.java.additional.27=-Xrunjdwp:transport=dt_socket,address=7199,server=y,suspend=n and JBoss becomes fast again. see http://forums.java.net/jive/thread.jspa?messageID=205206 Hope it solves your problem too. Sven View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040432#4040432 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040432 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - Re: JBoss 5 documentation
I need to know if I can get any documentation on jboss AS 5.x? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040435#4040435 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040435 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: 1.2.1 GA -- Split deployments
hmm...we need to solve that if its true :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040436#4040436 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040436 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Mail Service bound to java:/Mail
Hai i am new to jboss,I am using Jboss-4.0.2,whenever starting jboss i am getting the following === . JBoss Bootstrap Environment . JBOSS_HOME: D:\jboss-4.0.2\bin\\.. . JAVA: C:\jdk1.5.0_09\bin\java . JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m . CLASSPATH: C:\jdk1.5.0_09\lib\tools.jar;D:\jboss-4.0.2\bin\\run.jar . === . 12:01:22,458 INFO [Server] Starting JBoss (MX MicroKernel)... 12:01:22,458 INFO [Server] Release ID: JBoss [Zion] 4.0.2 (build: CVSTag=JBoss_ 4_0_2 date=200505022023) 12:01:22,458 INFO [Server] Home Dir: D:\jboss-4.0.2 12:01:22,458 INFO [Server] Home URL: file:/D:/jboss-4.0.2/ 12:01:22,458 INFO [Server] Library URL: file:/D:/jboss-4.0.2/lib/ 12:01:22,458 INFO [Server] Patch URL: null 12:01:22,458 INFO [Server] Server Name: default 12:01:22,458 INFO [Server] Server Home Dir: D:\jboss-4.0.2\server\default 12:01:22,473 INFO [Server] Server Home URL: file:/D:/jboss-4.0.2/server/default / 12:01:22,473 INFO [Server] Server Data Dir: D:\jboss-4.0.2\server\default\data 12:01:22,473 INFO [Server] Server Temp Dir: D:\jboss-4.0.2\server\default\tmp 12:01:22,473 INFO [Server] Server Config URL: file:/D:/jboss-4.0.2/server/defau lt/conf/ 12:01:22,473 INFO [Server] Server Library URL: file:/D:/jboss-4.0.2/server/defa ult/lib/ 12:01:22,473 INFO [Server] Root Deployment Filename: jboss-service.xml 12:01:22,473 INFO [Server] Starting General Purpose Architecture (GPA)... 12:01:22,849 INFO [ServerInfo] Java version: 1.5.0_09,Sun Microsystems Inc. 12:01:22,849 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_09-b03 ,Sun Microsystems Inc. 12:01:22,849 INFO [ServerInfo] OS-System: Windows XP 5.1,x86 12:01:23,523 INFO [Server] Core system initialized 12:01:25,278 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resour ce:log4j.xml 12:01:25,371 INFO [WebService] Using RMI server codebase: http://gopalp:8083/ 12:01:25,779 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort= 1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server Socket [EMAIL PROTECTED] 12:01:30,071 INFO [Embedded] Catalina naming disabled 12:01:30,557 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0 -8081 12:01:30,573 INFO [Catalina] Initialization processed in 439 ms 12:01:30,573 INFO [StandardService] Starting service jboss.web 12:01:30,573 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.9 12:01:30,745 INFO [StandardHost] XML validation disabled 12:01:30,776 INFO [Catalina] Server startup in 203 ms 12:01:30,886 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=file:/D:/jb oss-4.0.2/server/default/deploy/http-invoker.sar/invoker.war/ 12:01:31,575 INFO [TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=file:/D:/jbos s-4.0.2/server/default/tmp/deploy/tmp28692jboss-ws4ee-exp.war/ 12:01:31,700 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=file:/D:/jboss-4.0 .2/server/default/deploy/jbossweb-tomcat55.sar/ROOT.war/ 12:01:31,904 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=file :/D:/jboss-4.0.2/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war / 12:01:33,690 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=file:/D :/jboss-4.0.2/server/default/deploy/management/console-mgr.sar/web-console.war/ 12:01:34,270 INFO [MailService] Mail Service bound to java:/Mail 12:01:34,881 INFO [RARDeployment] Required license terms exist view the META-IN F/ra.xml: file:/D:/jboss-4.0.2/server/default/deploy/jboss-ha-local-jdbc.rar 12:01:35,037 INFO [RARDeployment] Required license terms exist view the META-IN F/ra.xml: file:/D:/jboss-4.0.2/server/default/deploy/jboss-ha-xa-jdbc.rar 12:01:35,147 INFO [RARDeployment] Required license terms exist view the META-IN F/ra.xml: file:/D:/jboss-4.0.2/server/default/deploy/jboss-local-jdbc.rar 12:01:35,319 INFO [RARDeployment] Required license terms exist view the META-IN F/ra.xml: file:/D:/jboss-4.0.2/server/default/deploy/jboss-xa-jdbc.rar 12:01:35,413 INFO [RARDeployment] Required license terms exist view the META-IN F/ra.xml: file:/D:/jboss-4.0.2/server/default/deploy/jms/jms-ra.rar 12:01:35,492 INFO [RARDeployment] Required license terms exist view the META-IN F/ra.xml: file:/D:/jboss-4.0.2/server/default/deploy/mail-ra.rar Please Help me any body. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040438#4040438 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040438 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - jboss multiple instance
hi. i have two applications which should be run on separate jboss instances on the same machine. but what do they mean by jboss instances. do i need to install two jboss say one in c:\jboss_home and another in d:\jboss_home. or does it mean that, i just need to install once. but need to create one more application folder inside my jboss/server folder? please help me on this. i really dont get the meaning of multiple instance. any help wud b appreciated. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040443#4040443 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040443 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Scoping - finding the sweetspot
After fiddling around with long running conversations, experiencing the joy (no detached objects etc.) and aggrevation (when and how to end conversations etc.), I'm now trying to create a sample app in which the pages are as self-sufficient (restful if you will) as possible. When displaying stuff, no problems arise. Put everything in page scope, inject a RequestParameter to indicate what needs to be shown, and prepare everything in an @Create method of a page scoped component. However, this breaks when I want to do a JSF postback (for example using an enhanced EL action binding). Now, the RequestParameter will be null and all goes wrong... Is my only option to pass the value of the ReqParam in the enhanced EL binding as well (which seems a bit hackish), or am I missing something? I can post a concrete example if necessary, but I think the point is clear. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040444#4040444 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040444 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - Re: JMS delopyment in JBOSS
genman wrote : The first step is to read the documentation. Which documentation? Can u provide me the URL View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040445#4040445 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040445 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: question : avoid conversation id parameter for RESTful a
Thanks for your reply ... You're right, the RESTful nature of my application is not the only reason why I want to get rid of the cid when a redirect (from pages.xml) occurs ... I also want to make sure of the uniqueness of the urls (for many reasons, including the indexation of the site by search engine). That's why I don't want the cid=xx in urls, at least for some of my pages ... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040446#4040446 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040446 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Interceptor Question
CptnKirk wrote : So naturally this | | | @Printout | | public String register(.) | | . | | | method is part of an EJB 3 session bean right? yes. It is a sessionless bean. Actually, when i set up my annotation as ElementType.TYPE and put it on the class definition then it works. It does not work if the annotaion is ElementType.METHOD :( View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040448#4040448 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040448 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - heavy load configuration
Hi, I'm currently conducting some performance-tests on a small web-app I wrote, that is running on JBoss 4.0.5GA. I currently have about 150 concurrent requests, which seems to kill my JBoss server (2x Xeon 1,3GHz, 2 GB RAM). While the test is running I don't get any response from jboss anymore. Why would that be? I already increased the memory for the JVM set JAVA_OPTS=%JAVA_OPTS% -Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m is there anything else I could configure (like the number of threads or something?) Any hints would be appreciated! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040449#4040449 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040449 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Jboss26CR1 --for mysql5
Please see the Wiki http://wiki.jboss.org/wiki/Wiki.jsp?page=AvoidMySQL5DataTruncationErrors View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040450#4040450 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040450 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - Re: JMS delopyment in JBOSS
The docs are at http://docs.jboss.org/jbossas/jboss4guide/r5/html/. There's a section Messaging on JBoss over there View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040451#4040451 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040451 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - Messaging access from C++ and JavaScript, best solution?
Hi, We are about to start a JBoss project and will need to access the message bus from our C++ clients and from javascript/AJAX in future web applications. From what I understand, there are no such bindings for JBossMQ, and I have been looking at ActiveMQ which has this support, but would like to stay with JBoss components as much as possible. Any comments, ideas? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040453#4040453 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040453 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Deploy EJB 2 app in JBoss 4.0.4
The answers to both your questions is yes. You can run Hibernate 2 and EJB 2 applications on JBoss 4.0.4. The changes that are required for porting from 3.2.3 to 4.0.4 may vary depending on your application. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040454#4040454 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040454 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam and service-oriented architecture, too integrated with
Hi, We are looking to setup a JBoss solution with multiple web frontends, where some of these frontends (run by different customers) might be written in other languages, such as PHP. Thus, we like the API to our backend to be somewhat neutral, using services and not bundle the presentation-tier into the backend. I have been looking at SEAM, but it seems very integrated with EJB3 and designed to be running directly in the JBoss backend. Any suggestions how to use SEAM to write one of the web frontends using the services? Running another JBoss instance on the web frontend using only session beans? Ideas are welcome.. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040455#4040455 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040455 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Mail Service bound to java:/Mail
Those are just debug and info logs and i dont see any errors in them. Anything that you are worried about, in these logs? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040456#4040456 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040456 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Are there some commercial project or other jboss project
Will the whole new JBoss5 application server do? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040457#4040457 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040457 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Difference between 'java: Namespace' and 'Global JNDI Na
There should not be any problems accessing the datasource from that bean. Can you post the exception that you are seeing? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040459#4040459 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040459 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Jboss26CR1 --for mysql5
on jboss26beta1 ,the portal server is work , but on jboss26cr1 ,the portal is not work table not be create my mysql-ds.xml local-tx-datasource jndi-namePortalDS/jndi-name connection-urljdbc:mysql://192.168.1.254:/jbossportal26b?useServerPrepStmts=falseamp;jdbcCompliantTruncation=false/connection-url driver-classcom.mysql.jdbc.Driver/driver-class /local-tx-datasource View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040460#4040460 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040460 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - RememberMe example?
I'm thinking of using Seam rememberme, but I can't find any doc saying how to use this feature. I've tried this in my login form: | h:selectBooleanCheckbox id=rememberMe value=#{identity.rememberMe}/ | but it doesn't seem to work. Is there anything else I need to do? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040461#4040461 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040461 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problem testing seam using EntityManager
The same problem trouble me.anyone know what's wrong. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040463#4040463 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040463 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Jboss26CR1 --for mysql5
ex: lose JBP_INSTANCE_PER_USER table View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040465#4040465 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040465 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Jboss26CR1 --for mysql5
Try to delete the database and start again. It has been tested against MySQL as with other databases. Also please show the stacktace. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040466#4040466 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040466 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: detached entity passed to persist
Can you try with id set to null? I have a feeling the the entity manager might think that your object has already been persisted because it already has an id. Regards Felix View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040467#4040467 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040467 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm-console: conditions not working in jBPM 3.2
@@@ (steam comming out of my ears) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040469#4040469 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040469 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: RememberMe example?
What behavior are you seeing. Its working perfectly for me the way you have it written in your post. Any exceptions etc? What version of Seam and JBoss are you using? Finally, I believe you must have cookies enabled but I'm not an expert. Just letting you know that what you have written works for me. Thanks, PVM View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040471#4040471 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040471 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam question...and problem
Hi all, Can anyone tell me is my doing right? I want to have one global for all user sessions collection, and each user can insert to those collection some date of excecute. I also got asynchronous invoked method that get time of excecution from collection and invoke my method. Method do somethink in db. And here is my code: Here is my class: | @Name(engineControler) | public class EngineControler extends MySystem { | 1. can I inject my EntityManager to application context right that? | @In(create=true) | protected EntityManager em; | I got some trouble with method with is invoke. Normally method working well, but in timmer i get | 11:11:29,866 WARN [Contexts] Could not destroy component: em | org.hibernate.TransactionException: Could not register synchronization | at org.hibernate.transaction.CMTTransaction.registerSynchronization(CMTTransaction.java:159) | at org.hibernate.ejb.EntityManagerImpl.close(EntityManagerImpl.java:59) | at org.jboss.seam.core.ManagedPersistenceContext.destroy(ManagedPersistenceContext.java:145) | at sun.reflect.GeneratedMethodAccessor520.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:18) | at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:102) | at org.jboss.seam.Component.callComponentMethod(Component.java:1835) | at org.jboss.seam.Component.callDestroyMethod(Component.java:1791) | at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:230) | at org.jboss.seam.contexts.Lifecycle.flushAndDestroyContexts(Lifecycle.java:396) | at org.jboss.seam.contexts.Lifecycle.endCall(Lifecycle.java:72) | at org.jboss.seam.core.Dispatcher$Asynchronous.execute(Dispatcher.java:94) | at org.jboss.seam.core.Dispatcher.dispatch(Dispatcher.java:165) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) | at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166) | at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateless.StatelessContainer.callTimeout(StatelessContainer.java:124) | at org.jboss.ejb.txtimer.TimerImpl$TimerTaskImpl.run(TimerImpl.java:524) | at java.util.TimerThread.mainLoop(Unknown Source) | at java.util.TimerThread.run(Unknown Source) | Caused by: javax.transaction.RollbackException: Already marked for rollback TransactionImpl:XidImpl[FormatId=257, GlobalId=sherkan/73, BranchQual=, localId=73] | at org.jboss.tm.TransactionImpl.registerSynchronization(TransactionImpl.java:635) | at org.hibernate.transaction.CMTTransaction.registerSynchronization(CMTTransaction.java:156) | ... 43 more | 11:11:29,906 ERROR [TimerImpl]
[jboss-user] [JBoss jBPM] - Re: The error of datasource
what is 'voipack' doing there...? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040473#4040473 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040473 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - s:link and page action
Hi, I have a page 'index.xhtml' with a page action defined in pages.xml. On this page I have a s:link with an action that starts a conversation and a pageflow, redirecting to another page, 'pageA.xhtml'. Now when I click the link the page action is invoked as the link is directed towards 'index.xhtml' before redirecting to 'pageA.xhtml' So my question is... is there anyway in my page action to determine that the s:link was invoked, e.g. some how determining that the action method for the s:link is being processed? Thanks, Sean View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040475#4040475 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040475 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Scoping - finding the sweetspot
Use a page action for the restful url. Regards Felix View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040476#4040476 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040476 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBMP for SOA
The jbpm webconsole of version 3.2 has never been tested with 3.1.x in any way. There has never been any guarantee that it would/should work. So if that is your issue, unfortunately you are on your own. All the errors you get have most likely never been seen by others, and the jBPM core team has currently no intentions to try to backport the webconsole. Deploying the webconsole on a different jboss instance is no different from deploying the full jbpm engine since the console needs the core. The actionhandlers do not need to be deployed in each process, they can be deployed separately but if you do it on a packaging level there is not much overhead, at least for us there isn't. If I were you, I'd focus on/pushing for seam to be compatible with jbpm 3.2 You are not asking to much of jbpm/seam, but what you are trying to do is put a ferrari engine on a lamborgini chassis and use a porsche bodywork. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040477#4040477 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040477 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Jboss26CR1 --for mysql5
2007-04-25 16:20:34,379 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to close PreparedStatement (open PreparedStatements: 1, globally: 1) 2007-04-25 16:20:34,379 DEBUG [org.hibernate.jdbc.ConnectionManager] aggressively releasing JDBC connection 2007-04-25 16:20:34,380 DEBUG [org.hibernate.jdbc.ConnectionManager] releasing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)] 2007-04-25 16:20:34,381 DEBUG [org.hibernate.util.JDBCExceptionReporter] could not execute query [select taskinstan0_.ID_ as ID1_26_, taskinstan0_.DESTINATION_ as DESTINAT3_26_, taskinstan0_.EXCEPTION_ as EXCEPTION4_26_, taskinstan0_.ISSUSPENDED_ as ISSUSPEN5_26_, taskinstan0_.TOKEN_ as TOKEN6_26_, taskinstan0_.TRANSITIONNAME_ as TRANSIT10_26_, taskinstan0_.TASKINSTANCE_ as TASKINS11_26_ from JBPM_MESSAGE taskinstan0_ where taskinstan0_.CLASS_='K'] com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table 'jbossp26.JBPM_MESSAGE' doesn't exist at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2941) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1623) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1715) at com.mysql.jdbc.Connection.execSQL(Connection.java:3249) at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1268) at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1403) at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeQuery(WrappedPreparedStatement.java:236) at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:186) at org.hibernate.loader.Loader.getResultSet(Loader.java:1668) at org.hibernate.loader.Loader.doQuery(Loader.java:662) at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224) at org.hibernate.loader.Loader.doList(Loader.java:2144) at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2028) at org.hibernate.loader.Loader.list(Loader.java:2023) at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:393) at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338) at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172) at org.hibernate.impl.SessionIm View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040480#4040480 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040480 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Jboss26CR1 --for mysql5
007-04-25 16:20:39,826 WARN [org.hibernate.util.JDBCExceptionReporter] SQL Warning: 1051, SQLState: 42S02 2007-04-25 16:20:39,826 WARN [org.hibernate.util.JDBCExceptionReporter] Unknown table 'JBPM_ID_PERMISSIONS' 2007-04-25 16:20:39,827 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] drop table if exists JBPM_ID_USER 2007-04-25 16:20:39,832 DEBUG [org.hibernate.util.JDBCExceptionReporter] SQL Warning java.sql.SQLWarning: Unknown table 'JBPM_ACTION' at com.mysql.jdbc.SQLError.convertShowWarningsToSQLWarnings(SQLError.java:730) at com.mysql.jdbc.SQLError.convertShowWarningsToSQLWarnings(SQLError.java:658) at com.mysql.jdbc.Statement.getWarnings(Statement.java:1945) at org.jboss.resource.adapter.jdbc.WrappedStatement.getWarnings(WrappedStatement.java:144) at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:309) at org.hibernate.tool.hbm2ddl.SchemaExport.drop(SchemaExport.java:284) at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:186) at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:133) at org.jboss.portal.jems.hibernate.SessionFactoryBinder.createSchema(SessionFactoryBinder.java:343) at org.jboss.portal.jems.hibernate.SessionFactoryBinder.startService(SessionFactoryBinder.java:259) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196) at org.jboss.portal.jems.as.system.AbstractJBossService.start(AbstractJBossService.java:73) at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.portal.jems.as.system.JBossServiceModelMBean$ServiceMixin.execute(JBossServiceModelMBean.java:428) at org.jboss.portal.jems.as.system.JBossServiceModelMBean$ServiceMixin.startService(JBossServiceModelMBean.java:394) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196) at org.jboss.portal.jems.as.system.JBossServiceModelMBean$5.invoke(JBossServiceModelMBean.java:316) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:995) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at org.jboss.system.ServiceController.start(ServiceController.java:435) at org.jboss.system.ServiceController.start(ServiceController.java:435) at org.jboss.system.ServiceController.start(ServiceController.java:435) at org.jboss.system.ServiceController.start(ServiceController.java:435) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040481#4040481 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040481 ___ 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 struggling with the same kind of problems. Tomcat gets unresponsive after a while and sometimes we can see an OutOfMemoryError but not always. We are running jboss 4.0.3_SP1 in a cluster with apache in front, java version is 1.5.0_11 and os is RedaHat EL. The problem seams only to affect tomcat and the rest of jboss e.g. seams to run ok. From jstats we see that most threads are BLOCKED and the ones that are not are in IN_NATIVE state doing either socketAccespt, socketRead or receive. We cannot see any correlation to the load on the server, we can provoke this with only one user. However, it occurs most irregular, sometimes several times pers day sometimes a week can go by. Would appreciate all hints that could help us solve this problem Cheers! /Andras View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040482#4040482 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040482 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: JBossMessageEndpointFactory ClassNotFoundException when
Hi there, I tried your project, and it works fine for me too on both version of jboss (4.0.2 and 4.2.0) I cannot see any difference in the structure of the ear nor in the descriptors. Is there anything else we can try? Thanks, Michele View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040484#4040484 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040484 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: getPortletSession().invalidate() not working?
http://wiki.jboss.org/wiki/Wiki.jsp?page=SessionInvalidate View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040485#4040485 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040485 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: This IDE won't update?
avbentem wrote : The JBoss IDE feature.xml can be found here. E, not really. Corrected link to FishEye: here... Note that at JBIDE-471 Max Andersen has confirmed that JBoss IDE is not yet using WTP 2.x For whoever wants to get the code from CVS: get jbosside from :pserver:[EMAIL PROTECTED]:/cvsroot/jboss ... Arjan. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040487#4040487 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040487 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Scoping - finding the sweetspot
Isn't this the same as using a PAGE scoped component en doing the initialization stuff in @Create ? The problem is that a (Seam/JSF) postback action loses all the information from the original url... But may be I'm wrong, could you elaborate a bit? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040488#4040488 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040488 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - no such field: jboss
We've been using jboss-aop for past 6 months or so without any issues, except for one weird problem that crops up now and then. Whenever a class to be aspectized contains a variable whose name is org (without quotes), then the aspectization fails with the error stack pasted below. Pls See sample code. Mostly, when the source code is in my control i can change the variable name to org1 or something and proceed, but sometimes changing the variable name can be quite a cumbersome process if source is not owned. Is this some known issue ? I searched the forum and googled but didnt find anything. We use load time weaving. AOP version 1.5.3 GA Jboss - 4.0.2 JRockit - jrockit-R26.4.0-jdk1.5.0_06 Steps to reproduce : include following package in jboss-service.xml of jboss-aop-jdk50.deployer, and invoke m1 from a JSP or some place. package com.integral.admin; public class Test { private static String org=Fail; public void m1() { System.out.println(Dummy); } } If variable name is changed from org to org1 it starts working. Weirdly enough, changing the package also fixes the problem. So, it looks to be combination of package name and variable name being org. Error --- [error] [source error] no such field: jboss.. Do verbose mode if you want full s tack trace. [JRockit] WARNING: Error during class preprocessing: java.lang.RuntimeException: javassist.CannotCompileException: [source error] no such field: jboss at org.jboss.aop.deployment.AspectManagerService$1.transform(AspectManag erService.java:212) at org.jboss.aop.hook.JDK14TransformerManager.transform(JDK14Transformer Manager.java:28) at org.jboss.aop.hook.JRockitPluggableClassPreProcessor.preProcess(JRock itPluggableClassPreProcessor.java:18) at java.lang.ClassLoader.defineClass(Ljava.lang.String;[BIILjava.securit y.ProtectionDomain;)Ljava.lang.Class;(Unknown Source) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12 4) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at org.jboss.mx.loading.RepositoryClassLoader.findClassLocally(Repositor yClassLoader.java:633) at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassL oader.java:613) at java.lang.ClassLoader.loadClass(Ljava.lang.String;Z)Ljava.lang.Class; (Unknown Source) at org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(Repositor yClassLoader.java:162) at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask .java:119) at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:385) at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryCl assLoader.java:481) at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassL oader.java:377) at java.lang.ClassLoader.loadClass(Ljava.lang.String;Z)Ljava.lang.Class; (Unknown Source) at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:580) at java.lang.ClassLoader.loadClass(Ljava.lang.String;Z)Ljava.lang.Class; (Unknown Source) at java.lang.ClassLoader.loadClass(Ljava.lang.String;)Ljava.lang.Class;( Unknown Source) at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:15 0) at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:71 ) at java.lang.ClassLoader.loadClassFromNative(Ljava.lang.String;)Ljava.la ng.Class;(Unknown Source) Caused by: javassist.CannotCompileException: [source error] no such field: jboss at javassist.CtField$CodeInitializer0.compileIfStatic(CtField.java:757) at javassist.CtClassType.modifyClassConstructor(CtClassType.java:1237) at javassist.CtClassType.toBytecode(CtClassType.java:1181) at javassist.CtClass.toBytecode(CtClass.java:1110) at org.jboss.aop.AspectManager.translate(AspectManager.java:796) at org.jboss.aop.deployment.AspectManagerService$1.transform(AspectManag erService.java:208) at org.jboss.aop.hook.JDK14TransformerManager.transform(JDK14Transformer Manager.java:28) at org.jboss.aop.hook.JRockitPluggableClassPreProcessor.preProcess(JRock itPluggableClassPreProcessor.java:18) at java.lang.ClassLoader.defineClass(Ljava.lang.String;[BIILjava.securit y.ProtectionDomain;)Ljava.lang.Class;(Unknown Source) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12 4) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at
[jboss-user] [Management, JMX/JBoss] - access ActiveAlarmTable outside JBoss console
Hi there, where is the ActiveAlarmTable stored? Is there a way to access it from a different source? Is there a way to auto refresh jboss console to display the latest alarms? It would be good to have a way to map custom notifications to a severity, so that code doesn't have to use jboss specific utilities to generate notifications with severity. Thanks, Michele View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040490#4040490 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040490 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - JbossWs Client and local Bind Address
dear friends, i struggle with a strange problem. So I need your help: We are using jboss405 with jbossws103. Jboss consumes an external WebService via service-ref: service-ref service-ref-nameservice/EssenceAccessService/service-ref-name service-interfacede.ard.sad.fesad.preview.emProxy.contractStubs.EssenceAccessService/service-interface wsdl-fileMETA-INF/wsdl/EssenceAccessContract.wsdl/wsdl-file jaxrpc-mapping-fileMETA-INF/jaxrpc-mappingEA.xml/jaxrpc-mapping-file /service-ref Everything works fine, but not in our production environment. There are several Jboss-AppServers on a multi-homed (Blade) Server (with its own ip-address x.x.x.245). Each Jboss has its own ip-Address (i.e. x.x.x.92), configured via jboss.bind.address. When jboss tries to connect the external WebService the socket is bound to the physical Address (x.x.x.245) and not bound to the jboss.bind.address! this ist the problemm because the external firewall blocks the request ... the socket should be bound to the jboss.bind.address?! Any ideas? Thanks in advance mirko View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040492#4040492 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040492 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: access ActiveAlarmTable outside JBoss console
1) It's all in memory. 2) You can access it remotely over the JMX Adaptor. 3) there is no auto-refresh (unless you want to add it) 4) for mapping notification one possibility would be to use the http://wiki.jboss.org/wiki/Wiki.jsp?page=ScriptingListener View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040493#4040493 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040493 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - dashboard in portal default
Hello, I try to put a mitre dashboard in my portal default. But I don't know how to make. I've tried to do this in the default-object.xml : |deployment | if-existsoverwrite/if-exists | parent-refdefault/parent-ref | context | context-namedashboard/context-name | properties | But it doesn't work ... Do you have any solution to make this ? Thanks Regards, Mickaël View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040494#4040494 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040494 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: TimeoutException occuring on one node of jboss cache
we are using 1.2 version, running on Websphere 5.0.2 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040495#4040495 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040495 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: RememberMe example?
I'm using Seam 1.2GA and latest Jboss JEMS installer. I ticked the rememberme box when log in. If I close IE and comes back again, it directs me to the login page. It seems login information is not saved in cookies. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040496#4040496 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040496 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - multicasting doesnt work for nodes on different VLANs
hi, we have a App server cluster whose nodes are on different VLANs. It has been observed that JBOSS cache doesnt synchronise across these nodes. In effect all the nodes are running on local cache although the cache mode has been set to REPL_SYNC. We are currently using UDP. Any ideas to how to get the cache working in REPL_SYNC mode in this scenario? Any help is greatly appreciated. Thanks Raghu View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040497#4040497 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040497 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: access ActiveAlarmTable outside JBoss console
Thanks Dimitris, 1) the table would then lose all its data after a jboss restart. Have you thought about persising the data somehow? 4) This seems quite a convoluted way. Would it be possible to have something like: This would apply only if the notification does not carry a severity. Thanks, Michele View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040498#4040498 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040498 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: dashboard in portal default
I'm sorry but I'm french so if you don't have understood that I've written, say me. Mickaël View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040499#4040499 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040499 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - How to refresh the work directory
Hello I want to know if it's possible to recompil all the jsp (without rm -r /work :)) without restarting Jboss Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040501#4040501 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040501 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: dashboard in portal default
The personal dashboards are portals, so they can't be added in a portal. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040503#4040503 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040503 ___ 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 instance
Hello, Refer this link. http://www.jboss.com/index.html?module=bbop=viewtopicp=3960570 Hope, this might help you. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040507#4040507 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040507 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Develop web service using JBossIDE 2.0.0 Beta2
Hi, Just wondering is anyone using the latest Eclipse with JBossIDE 2.0.0 Beta2 version to develop the project? If there is, can I consult how to develop cause I'm new to web service, or is there any example that I can refer to as step by step using the mentioned IDE tool. Please let me know your msn username so I can add into my list if you don't mind. Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040509#4040509 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040509 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: access ActiveAlarmTable outside JBoss console
Sure, a lot is possible, like extend the ActiveAlarmTable to use hibernate for persisting the alarms, or create some relatively simple xml driven mbean, for simple custom notification to active alarm mapping. I just don't have the cycles for this now, so if someone wants to volunteer I can provide directions... :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040510#4040510 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040510 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: access ActiveAlarmTable outside JBoss console
Feature requests you can vote for (or volunteer to do) here: http://jira.jboss.com/jira/browse/JBAS-4367 http://jira.jboss.com/jira/browse/JBAS-4368 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040511#4040511 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040511 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: RememberMe example?
If I were you I would download the 1.2.1 GA as I originally had problems with remember me a few releases back. http://www.jboss.com/index.html?module=bbop=viewtopict=103412 Here is where you can can get 1.2.1 GA http://labs.jboss.com/jbossseam/download/index.html Hope this helps, PVM View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040513#4040513 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040513 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - deploy problem after changing code
hi I am using JBoss Seam 1.1 and Tomcat 5.5 when I change some codes in static methods and put my new jar file in the project lib directory, I see nothing has changed when the application starting up. the only way is to remove the path and again deploy a new war file. is this an issue of JBoss Seam? has it anything to do with STATE_SAVING_METHOD? currently its value is cilent. thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040514#4040514 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040514 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Implementing Ad-Hoc workflow with JBPM
Hi, We are evaluating JBPM. It looks nice but can we also implement Ad-Hoc work flows with JBPM? Have any body tried that before? or have any idea regarding that? thanks, Hashir. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040515#4040515 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040515 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: ELSupport exception on javasisst-proxies (coerceToType)
You'll need to post the exception and tell us what version of Seam you are using. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040516#4040516 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040516 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: trace level logging on Jboss AS
Looks like we're compiling Seam against an older version. File a JIRA issue and we can probably upgrade to a newer version with trace for Seam 1.3. There is also a JDK logging provider, which is used if log4j isn't available (you would need to make your AS etc. use JDK logging) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040517#4040517 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040517 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: 1.2.1 GA -- Split deployments
http://jira.jboss.com/jira/browse/JBSEAM-1245 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040518#4040518 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040518 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Scoping - finding the sweetspot
Not quite the same - @Create on a PAGE scoped component will be run when the view is accessed from another view (but not when it is refreshed/reloaded), a page action will be run each time it is accessed/refresed etc. As for your original question: I would suggest something like private Integer storedId; | | @RequestParameter | private Integer id; | | public int getId() { |if (id !=null) { | storedId = id; |} |return id; | } You'll want to adjust the algorithm a bit so its suits your exact architecture. As your bean is in PAGE scope, storedId will be remembered View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040519#4040519 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040519 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Interceptor Question
IIRC method level seam-interceptors aren't supported in Seam atm (JBSEAM-29) - you'll need to use plain EJB3 interceptors (which do support method level interceptors) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040521#4040521 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040521 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam question...and problem
You need to post a better explanation of what you are trying to do with more code. On the face of it, what you post should work. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040522#4040522 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040522 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - NullPointer after context shutdown
Hi, I've been using JBoss Cache for a while now but there is one problem that I haven't been able to fix. I'm using the TreeCache as a standalone component in a webapp deployed to Tomcat. The cache works fine, I can put objects into it and get them back at will and time outs work fine. I'm not doing anything clever with the cache - no replication or transactions - just a plain object cache. The problem comes when I release a new version of the software. The cache is started and stopped by a ServletContextListener. As far as I can tell the starting and stopping of the cache is working fine. About 5 to 30 minutes after I deploy the latest version of the application I start getting this stack trace appear in the tomcat log file: java.lang.NullPointerException | at org.jboss.cache.marshall.MethodDeclarations.lookupMethodId(MethodDeclarations.java:351) | at org.jboss.cache.marshall.MethodCallFactory.create(MethodCallFactory.java:28) | at org.jboss.cache.TreeCache.evict(TreeCache.java:3715) | at org.jboss.cache.eviction.BaseEvictionPolicy.evict(BaseEvictionPolicy.java:34) | at org.jboss.cache.eviction.BaseEvictionAlgorithm.evictCacheNode(BaseEvictionAlgorithm.java:210) | at org.jboss.cache.eviction.BaseEvictionAlgorithm.emptyRecycleQueue(BaseEvictionAlgorithm.java:461) | at org.jboss.cache.eviction.BaseEvictionAlgorithm.process(BaseEvictionAlgorithm.java:97) | at org.jboss.cache.eviction.EvictionTimerTask.run(EvictionTimerTask.java:80) | at java.util.TimerThread.mainLoop(Timer.java:512) | at java.util.TimerThread.run(Timer.java:462) | The above stack trace then appears every few seconds until I restart Tomcat. The application runs fine even though this stack trace is being produced but the log files grow huge in a few days. Obviously, I don't want to restart Tomcat every time I redeploy an application. Could anyone shed some light on what I might be doing wrong? I'm currently using version 1.4.0.SP1 Jalapeno but I'm happy to upgrade if it fixes this problem. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040523#4040523 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040523 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - eam-gen and EntityHome.wire
I generated an application with seam-gen from Seam 1.2.1.GA. In the [Entity]Edit.page.xml files, there is always a call to [Entity]Home.wire, e.g.: |action execute=#{workerHome.wire}/ | But the wire method are never called when the Edit page is called. Almost always there is no problem. But I have at least one case where the Edit view doesn't show the current entity but create a new one. Any idea? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040524#4040524 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040524 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:link and page action
Not afaik. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040525#4040525 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040525 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: EJB3 Deployment from JBoss Eclipse IDE
Nice. I switched to Ant based builddeploy mechanism as my application started getting little more complex with the integration of Tapestry based .war. The JBoss IDE however did not provide a Deploy to feature as shown in tutorial. but would still have required more steps to perform, like package everytime and then deploy. With ant it is all a one click job :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040526#4040526 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040526 ___ 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
You need to see what you application is doing. Most probably hammering the database on the backend without proper connection pooling and data caching. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040527#4040527 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040527 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Interceptor Question
petemuir wrote : IIRC method level seam-interceptors aren't supported in Seam atm (JBSEAM-29) - you'll need to use plain EJB3 interceptors (which do support method level interceptors) Oh, that is pity standard ejb3 interceptor way @intercpetors(class) is very urgly. That is why i want to use my own annotation. hm...seems like i must use isAnnotationPresent(Printout.class) to reflect the beans . :( View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040528#4040528 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040528 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Metaclass not found exception
I am new to java web services. When i download a simple hello world example from the internet. and i got this exception AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client faultSubcode: faultString: Endpoint {http://DefaultNamespace}HelloWorld does not contain operation meta data for: {http://localhost:8080/simple-ws4ee/exactpath/jse?wsdl}getHelloWorld faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:Endpoint {http://DefaultNamespace}HelloWorld does not contain operation meta data for: {http://localhost:8080/simple-ws4ee/exactpath/jse?wsdl}getHelloWorld at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222) at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129) at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(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 javax.xml.parsers.SAXParser.parse(Unknown Source) at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696) at org.apache.axis.Message.getSOAPEnvelope(Message.java:435) at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at com.myapp.DIIClient.main(DIIClient.java:46) {http://xml.apache.org/axis/}hostname:ie10dt6dk2c1s Endpoint {http://DefaultNamespace}HelloWorld does not contain operation meta data for: {http://localhost:8080/simple-ws4ee/exactpath/jse?wsdl}getHelloWorld at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222) at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129) at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(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 javax.xml.parsers.SAXParser.parse(Unknown Source) at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696) at org.apache.axis.Message.getSOAPEnvelope(Message.java:435) at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at com.myapp.DIIClient.main(DIIClient.java:46) Please help me in this?. Any body have a simple example then mail that files View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040530#4040530 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040530 ___
[jboss-user] [JBoss jBPM] - Re: Implementing Ad-Hoc workflow with JBPM
The things that imo constitute an ad-hoc workflow can be done with jBPM. But to prevent disappointment please describe in more detail the features you are looking for View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040531#4040531 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040531 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Tomahawk
I get a exception, wich lib is not included? 12:55:46,793 ERROR [ExtensionsFilter] Exception wile retrieving addResource java.lang.NoClassDefFoundError: org/apache/myfaces/shared_tomahawk/config/MyfacesConfig at org.apache.myfaces.renderkit.html.util.AddResourceFactory.getInstance(AddResourceFactory.java:282) at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:126) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63) at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:60) at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57) at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79) at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:96) at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:220) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) 12:55:46,795 ERROR [ExceptionFilter] uncaught exception javax.servlet.ServletException: java.lang.NoClassDefFoundError: org/apache/myfaces/shared_tomahawk/config/MyfacesConfig at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:135) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63) at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:60) at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57) at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79) at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:96) at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:220) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at
[jboss-user] [JBoss Seam] - Re: Scoping - finding the sweetspot
Thanks, that looks like a workable solution. Another problem I encounter is this: I'm passing an object to a delete action method in the PAGE scoped component. I'm merging this incoming object explicitly with the seam managed entity manager, and then call en.remove() on this object. However, I still get java.lang.IllegalArgumentException: Removing a detached instance org.blog.domainclasses.BlogEntry#1 on this call... shouldn't the merge call guarantee that the object is managed by this em again? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040532#4040532 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040532 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Implementing Ad-Hoc workflow with JBPM
The things that imo constitute an ad-hoc workflow can be done with jBPM. But to prevent disappointment please describe in more detail the features you are looking for View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040533#4040533 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040533 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: questions about GPD
estaub wrote : Re where to get GPD: | Be aware that Red Hat is planning to change the GPD from LGPL license to GPL license. I don't know when. | Can someone point me to more details regarding this transition? How will it affect the jbpm-console? Will process definitions created with GPD be affected? Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040535#4040535 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040535 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - jboss4.0.5 + which version of jbossws + correct documentatio
Hi folks, I was wondering if someone could help me with the following questions. We have recently migrated to jboss4.0.5.GA and are planning to develop and deploy some webservices in it. There seem to be several webservice versions/documentations which are complaint with specific version of jboss. I am a bit lost. And even worse when i visit this page http://www.jboss.org/wiki/Wiki.jsp?page=JBossWS , which is supposed to be jbossws documentation for 4.0.5.GA it says, that page is deprecated. And I go to the linked page, it says it is only compatible with 4.0.5.GA. Any advice on which version of jboss WS is bundled with 4.0.5.GA (i find jbossws15.sar in my deploy). And what is the right documentation link using which I can develop webservices for that version. Many Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040536#4040536 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040536 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Tomahawk
Sorry, exception away. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040537#4040537 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040537 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: questions about GPD
wjm wrote : estaub wrote : Re where to get GPD: | | Be aware that Red Hat is planning to change the GPD from LGPL license to GPL license. I don't know when. | | | | Can someone point me to more details regarding this transition? | Sorry, I do not have any info on this wjm wrote : | How will it affect the jbpm-console? Will process definitions created with GPD be affected? | Both will not be affected View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040538#4040538 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040538 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - How to use the Deployed Process Defination
Hi Folks, I have some issue on using the deployed process definition. Check out the following code try { GraphSession graphSession = jbpmContext.getGraphSession(); ProcessDefinition processDefinations = graphSession.findLatestProcessDefinition(ApprovalProcess); if(processDefinations == null) jbpmContext.deployProcessDefinition(processDefinition); processDefinition = graphSession.findLatestProcessDefinition(ApprovalProcess); ProcessInstance processInstance = new ProcessInstance(processDefinition); Token token = processInstance.getRootToken(); token.signal(); } finally{jbpmContext.close();} Here I check whether process definition is already deployed or not? If not I deploy it orelse I take the existing process definition But when I run this code I get the following constraint error 10:59:53,546 INFO [STDOUT] Hibernate: insert into JBPM_PROCESSINSTANCE (VERSION_, KEY_, START_, END _, ISSUSPENDED_, PROCESSDEFINITION_, ROOTTOKEN_, SUPERPROCESSTOKEN_, ID_) values (?, ?, ?, ?, ?, ?, ?, ?, ?) 10:59:53,687 WARN [JDBCExceptionReporter] SQL Error: 1, SQLState: 23000 10:59:53,687 ERROR [JDBCExceptionReporter] ORA-1: unique constraint (FINDEVNEWCOA.SYS_C0061240) violated 10:59:53,687 WARN [JDBCExceptionReporter] SQL Error: 1, SQLState: 23000 10:59:53,687 ERROR [JDBCExceptionReporter] ORA-1: unique constraint (FINDEVNEWCOA.SYS_C0061240) violated I think this is because of the process defination column in the process instance table is defined as unique key. If I deploy the process defination everytime to create a process instance, then it works fine. whether we need to deploy the process definition every time to create a process Instance? how to use the existing process defination to create a process instance? Folks, need suggestion from you. Thanks in advance, Prabhu. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040539#4040539 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040539 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Tomahawk
I checked calendar component, works fine on jboss 4.2, seam 1.2.1 cvs. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040540#4040540 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040540 ___ 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
well, I used EJB3 to create some simple business-objects. So basically I'm using this to access the data of the database. I did however write some namedqueries to do some sort of lazy-eager fetching. (I have marked all attributes as lazy, but for some pages I need depending objects, so I use a named query with key keyword fetch join to get the depending data, so I can display all the data on my JSP page. Otherwise I had some trouble, because of detached entities) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040541#4040541 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040541 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Scoping - finding the sweetspot
you should make somthing like this: em.remove(em.merge(object)); View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040542#4040542 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040542 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - web page
Hi all! What I exactly have to do to deploy a web page? This is the first time I use Jboss and I have latest version. I'm using tomcat and running ant to create an .ear file. Some Jboss tutorials say that I have to copy that .ear file in the /server/default/deploy directory,run Jboss and Tomcat deploy my page.is this ok? I've this error message *** DEPLOYMENTS IN ERROR: Name - Error jar:file:/C:/jboss/server/default/deploy/example3.ear/example3.jar - org.xml.sax.SAXException: Element type ej-name must be declared. @jar:file:/C:/DOCUMEN/LOCALS_1/temp/nestedjar43083.tmp!/META-INF/jboss.xml[7,10] maybe .ear file is wrong or copying file to that directory is not enough. Could you help me please?. Thank you View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040543#4040543 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040543 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Timmer problem
I created timme like in examples, sometimes timmer is created well and sometimes i get : | 15:00:14,311 ERROR [TimerServiceImpl] Cannot create txtimer | java.lang.IllegalStateException: Unable to persist timer | at org.jboss.ejb.txtimer.DatabasePersistencePolicy.insertTimer(DatabasePersistencePolicy.java:126) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy22.insertTimer(Unknown Source) | at org.jboss.ejb.txtimer.TimerServiceImpl.createTimer(TimerServiceImpl.java:256) | at org.jboss.seam.core.Dispatcher.schedule(Dispatcher.java:215) | at org.jboss.seam.core.Dispatcher.scheduleInvocation(Dispatcher.java:205) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) | at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166) | at org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:37) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55) | at org.jboss.seam.interceptors.OutcomeInterceptor.interceptOutcome(OutcomeInterceptor.java:21) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:18) | at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64) | at org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:52) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:18) | at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64) | at org.jboss.seam.interceptors.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:27) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:18) | at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64) | at org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java:144) | at org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129) | at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:102) | at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:50) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118) | at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at
[jboss-user] [JBossWS] - Re: jboss4.0.5 + which version of jbossws + correct document
Hello!! You shall use the latest JBossWS documentation if you are using JBossWS. You can find it here http://jbws.dyndns.org/mediawiki/index.php/Main_Page Regards Oskar View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040547#4040547 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040547 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Page Action needed for Injection?
Hi Folks! i have the following scenario: I have a page with a list of users called userList.xhtml and another page where i want to edit the previosly selected user called user.xhtml. The users shown in userList come from the @DataModel annotated benutzerList in BenutzerManager, which is a SFSB. The selected user shall be injected in BenutzerManager via the @DataModelSelection annotation. it seems that the user is not injected and thus not outjected to user.xhtml. So my user.xhtml shows a blank record. Interestingly, if i add a page action into pages.xml which does nothing but call an empty void function on the BenutzerManager, the user is correctly propagated. Im out of ideas now. Thanks for your help. Tobias Kilian This is BenutzerManager.java: | | @Stateful | @Scope(ScopeType.SESSION) | @Name(benutzerManager) | public class BenutzerManagerImpl implements Serializable, BenutzerManager { | private static final long serialVersionUID = -6318701843857711619L; | | @DataModelSelection | @Out(required = false) | private BenutzerImpl selectedBenutzer; | | @Logger | private Log log; | | @PersistenceContext(type = PersistenceContextType.EXTENDED) | private EntityManager em; | | public void selectBenutzer() | { | } | | @DataModel | private ListBenutzer benutzerList; | | @Factory(benutzerList) | public void findBenutzer() { | benutzerList = em.createQuery(from BenutzerImpl benutzer) | .getResultList(); | } | ... | } | Here is my userList.xhtml: | !DOCTYPE composition PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN | http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; | ui:composition xmlns=http://www.w3.org/1999/xhtml; | xmlns:s=http://jboss.com/products/seam/taglib; | xmlns:ui=http://java.sun.com/jsf/facelets; | xmlns:f=http://java.sun.com/jsf/core; | xmlns:h=http://java.sun.com/jsf/html; | template=layout/template.xhtml | | ui:define name=body | h1userList/h1 | h:messages styleClass=message/ | h:outputText value=No benutzer exists | rendered=#{empty benutzerList}/ | h:dataTable var=benutzerIterator value=#{benutzerList} rendered=#{not empty benutzerList} | h:column | f:facet name=header | h:outputText value=Id/ | /f:facet | h:outputText value=#{benutzerIterator.id}/ | /h:column | h:column | f:facet name=header | h:outputText value=Name/ | /f:facet | s:link view=/user.xhtml value=#{benutzerIterator.name} propagation=join | /s:link | /h:column | /h:dataTable | | div class=actionButtons | s:button id=done value=Erstelle neuen Benutzer | view=/user.xhtml/ | /div | | /ui:define | /ui:composition | and here the user.xhtml: | !DOCTYPE composition PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN | http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; | ui:composition xmlns=http://www.w3.org/1999/xhtml; | xmlns:s=http://jboss.com/products/seam/taglib; | xmlns:ui=http://java.sun.com/jsf/facelets; | xmlns:f=http://java.sun.com/jsf/core; | xmlns:h=http://java.sun.com/jsf/html; | xmlns:tr=http://myfaces.apache.org/trinidad; | template=layout/template.xhtml | | ui:define name=body | | h1Benutzer/h1 | h:messages globalOnly=false styleClass=message/ | | h:form id=benutzerForm | s:validateAll | div class=dialog | | div class=prop | span class=nameName/span | span class=value | s:decorate | s:message/ | h:inputText id=name required=true | value=#{selectedBenutzer.name}/ | /s:decorate | /span | /div | | div class=prop | span class=nameGruppe/span | span class=value | s:decorate | s:message/ | h:selectOneMenu | id=selectGruppenAuswahl | value=#{selectedBenutzer.gruppe} |
[jboss-user] [JBoss Seam] - Re: Timmer problem
Looks like EJB3 is having problems persisting the timer. Ask this question in the EJB3 forum, as Seam just wraps up EJB3 timers. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040550#4040550 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040550 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBMP for SOA
thanks, I've solved most of the issues, but one that's not connected to jbpm, but the UCL :( I'm seeking help/guidance on the AS forum, even call-by-value is not helping me so far. BTW: Would you know why the MBean was discontinued on 3.2? I've created my own and we intend to use that way (one single remote jbpmConfiguration). I'm adding few methods like un-deploy process, list the number of process, number of instances per process, some metrics we need for a very few/raw/simple KPIs. Regards View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040551#4040551 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040551 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: dashboard in portal default
ok. Thank you. So we can't associate a portal with a dashboard to make mitre personnalisable and others not personnalisable ?? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040552#4040552 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040552 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Scoping - finding the sweetspot
great, thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040554#4040554 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040554 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: dashboard in portal default
What do you mean by 'mitre' ? Think of the dashboard as a personalizable portal. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040555#4040555 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040555 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Problem with Hibernate and Jbpm?
Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.net.SocketException MESSAGE: Connection reset STACKTRACE: java.net.SocketException: Connection reset at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:96) at java.net.SocketOutputStream.write(SocketOutputStream.java:136) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:66) at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:124) at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:2692) at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:2621) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1552) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1666) at View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040556#4040556 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040556 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: dashboard in portal default
In french it's 'onglet'. I want pages personnalisable ans others not personnalisable in the same portal. Do you have anderstood what I want to do ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040557#4040557 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040557 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - WebServiceContext is an interface and JaxB can't handle inte
Hello, when deploying a (simple) stateful endpoint with WSAddressing by copying the war under deploy directory, I get IllegalAnnotationsException, WebServiceContext is an interface and JAXB can't handle interfaces. I'm using Jboss-4.0.5.GA and Jboss-1.2.0.SP1. I don't see differences with the samples. It seems there are (or there were) some problems with WebServiceContext injection? (JBWS-1468) Is there some tricks in the samples deployment so it is not exactly the same thing as copying a war under deploy? Any idea? Please help. Catherine View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040558#4040558 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040558 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: web page
anonymous wrote : Element type ej-name must be declared. @jar:file:/C:/DOCUMEN/LOCALS_1/temp/nestedjar43083.tmp!/META-INF/jboss.xml[7,10] Looks like you have a typo in jboss.xml file. ej-name should be ejb-name in that file. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040559#4040559 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040559 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Page Action needed for Injection?
You need to hit the benutzerManager with your s:link action rather than just navigating directly to the view. This is why the page action makes things work... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040560#4040560 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040560 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - EntityManager Null when trying to inject into stateless sess
Hi, I'm having an issue deploying to JBoss 4.0.5-ejb3. When I try to inject my EntityManager in my code: | @PersistenceContext EntityManager em; | it is always null. However, if I do: | EntityManagerFactory emf = Persistence.createEntityManagerFactory(myDS); | em = emf.createEntityManager(); | This is my setup: I have a java web service that calls my Stateless Session bean. In my session bean, I try to inject the PersistenceContext, so I can utilize my Entity Beans. I have a .ear archive that I deploy to the server/default/deploy directory (using JBuilder 2007) - with a .war (that contains my web service) and a .jar that contains my beans (entity and session). I have everything annotated according to the documentation. All of the documentation says that it should work. ISampleClass is the @Local Interface class. | @Stateless (name=SampleClass) | public class SampleClass implements ISampleClass | |@PersistenceContext (unitName=myDS) |EntityManager em; | | public Resource findResource() { | Resource resource = em.find(Resource.class, 1); | return resource; |} | } | I've also tried: @TransactionAttribute (TransactionAttributeType.REQUIRED) at the class and method level. I wrote a client that calls the web service (Axis 1.3 client generated). It calls the service fine, but I get a NullPointerException when it tries to call the em.persist() method inside my stateless session bean. Here is my persistence.xml file: | persistence-unit name=myDS | providerorg.hibernate.ejb.HibernatePersistence/provider | jta-data-sourcejava:/myDS/jta-data-source | properties | property name=hibernate.hbm2ddl.auto value=validate/property | property name=hibernate.dialect | value=org.hibernate.dialect.MySQLInnoDBDialect / | property name=hibernate.session_factory_name | value=java:hibernate/HibernateFactory / | property name=transaction.factory_class | value=org.hibernate.transaction.JTATransactionFactory / | property name=hibernate.cache.use_second_level_cache | value=false / | property name=hibernate.transaction.manager_lookup_class | value=org.hibernate.transaction.JBossTransactionManagerLookup / | /properties | /persistence-unit | I've also tried explicity setting the transaction-type to JTA at the persistence-unit level, not setting the provider and leaving the properties section empty. Here is my mysql-ds.xml file: | datasources | local-tx-datasource | jndi-namemyDS/jndi-name | connection-urljdbc:mysql://localhost:3306/myDB/connection-url | driver-classcom.mysql.jdbc.Driver/driver-class | user-namemyuser/user-name | passwordmypass/password | connection-property name=socketFactorycom.mysql.jdbc.NamedPipeSocketFactory/connection-property | exception-sorter-class-nameorg.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter/exception-sorter-class-name | metadata | type-mappingmySQL/type-mapping | /metadata | /local-tx-datasource | /datasources | And looking at the JBoss logs with debug on I see this (which seems to me that it's loading correctly): anonymous wrote : | 2007-04-24 09:00:51,656 DEBUG [org.jboss.system.ServiceController] starting service jboss.j2ee:service=EJB3,module=MyApp.jar | 2007-04-24 09:00:51,656 DEBUG [org.jboss.ejb3.Ejb3Module] Starting jboss.j2ee:service=EJB3,module=MyApp.jar | 2007-04-24 09:00:51,656 DEBUG [org.jboss.ejb3.JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.entity.PersistenceUnitDeployment | 2007-04-24 09:00:51,656 INFO [org.jboss.ejb3.JmxKernelAbstraction] installing MBean: persistence.units:ear=MyEar.ear,jar=MyApp.jar,unitName=myDS with dependencies | 2007-04-24 09:00:51,656 INFO [org.jboss.ejb3.JmxKernelAbstraction] jboss.jca:name=pmacDS,service=DataSourceBinding | 2007-04-24 09:00:51,656 DEBUG [org.jboss.system.ServiceController] Creating service persistence.units:ear=MyEar.ear,jar=MyApp.jar,unitName=myDS | 2007-04-24 09:00:51,656 DEBUG [org.jboss.system.ServiceController] adding depends in ServiceController.register: [jboss.jca:name=myDS,service=DataSourceBinding] | 2007-04-24 09:00:51,656 DEBUG [org.jboss.system.ServiceController] recording that persistence.units:ear=MyEar.ear,jar=MyApp.jar,unitName=myDS depends on jboss.jca:name=pmacDS,service=DataSourceBinding | 2007-04-24 09:00:51,656 DEBUG [org.jboss.ejb3.ServiceDelegateWrapper] Creating persistence.units:ear=MyEar.ear,jar=MyApp.jar,unitName=myDS |
[jboss-user] [JBoss Seam] - entity-query vs. Manager-nested @Factory List
Hi all! I declared the following in components.xml: framework:entity-query name=alleBenutzer ejbql=select benutzer from BenutzerImpl benutzer / i assumed that this would also do the trick: | | @Stateful | @Scope(ScopeType.SESSION) | @Name(gruppenManager) | public class GruppenManagerImpl implements Serializable, GruppenManager { | @PersistenceContext(type = PersistenceContextType.EXTENDED) | private EntityManager em; | | @DataModel // (scope=ScopeType.PAGE) | private ListGruppeImpl gruppenList; | | @Factory(value = gruppenList) | public void findGruppen() { | gruppenList = em.createQuery(select gruppe from GruppeImpl gruppe order by id).getResultList(); | } | ... | } | I use s:selectItems and s:convertEntity to show the list of Gruppen: | h:selectOneMenu id=selectGruppenAuswahl value=#{selectedBenutzer.gruppe} required=true | s:selectItems id=gruppenAuswahl value=#{alleGruppen} var=gruppeItem label=#{gruppeItem.label}/ | s:convertEntity / | /h:selectOneMenu | however, when using gruppenList instead of alleGruppen as value for s:selectItems the form looks like before, but on submission, i get this well know validation failed error: selectGruppenAuswahl is not a valid entry. The interesting this is, i get this only if i dont select another entry from the list. In that case i get the detached entity passed to persist exception, which happens anyway after the validation is complete. But thats for another posting. The this is the validation gets through if i select another entry. I thought the two ways to do the query would be more or less interchangeable. I dont know why, but the logged select statements are different for the two options: for the framework:entity-query | 11:05:16,984 INFO [STDOUT] Hibernate: select gruppeimpl0_.id as id5_, gruppeimpl0_.name as name5_, gruppeimpl0_.version as version5_, gruppeimpl0_.status as status5_ from gruppen gruppeimpl0_ | 11:05:21,734 INFO [STDOUT] Hibernate: select gruppeimpl0_.id as id5_, gruppeimpl0_.name as name5_, gruppeimpl0_.version as version5_, gruppeimpl0_.status as status5_ from gruppen gruppeimpl0_ | and for the @Factory solution: | 11:01:42,593 INFO [STDOUT] Hibernate: select gruppeimpl0_.id as id1_, gruppeimpl0_.name as name1_, gruppeimpl0_.version as version1_, gruppeimpl0_.status as status1_ from gruppen gruppeimpl0_ | 11:01:44,312 INFO [STDOUT] Hibernate: select gruppeimpl0_.id as id1_0_, gruppeimpl0_.name as name1_0_, gruppeimpl0_.version as version1_0_, gruppeimpl0_.status as status1_0_ from gruppen gruppeimpl0_ where gruppeimpl0_.id=? | I completely dont understand this. But it might be a clue. The first query is done when the page loads, whereas the latter is called when the form is submitted. The generated HTML forms also differ in the selection index - the value which the client selects. The ordering is not the same. Could this be a reason? Thanks for any help. Tobias Kilian View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040563#4040563 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040563 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user