[jboss-user] [JBoss Seam] - Re: Exception handling of PersistenceException
The default flush mode of hibernate persistence context is transaction, which means a flush will occur 1) when flush is called manually 2) when tx commits 3) when a query must be executed, which may require a flush For conversation I chose to manually flush the session, so that I can also catch the exception. But for actions with other scopes (e.g. request), I prefer to use the default flush mode, which occurs at tx commit. I am looking for a solutions for this situation. Here the tx commit is called in the SeamPhaseListener, which is too late for any application method to react. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104402#4104402 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104402 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with Logging
SORRRY, obviously I forgot the context.close() ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104401#4104401 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104401 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: GPD 3.0.9 Freezes Upon Opening Sample Process
I faced a similar issue last week. I used Eclipse 3.1.2 (fresh installation) with GPD jbpm-gpd-site-3.0.9.2 to solve this. Yo can download these at this location http://sourceforge.net/project/showfiles.php?group_id=70542&package_id=116692 This is what the doumentation says Eclipse Update Site (jbpm-gpd-site-.zip): If you want to be absolutely sure that the designer installation goes smoothly, we recommend to use the update site mechanism together with a new Eclipse installation. Of cource the Eclipse version should match the downloaded update site archive. To get started with the designer plugin, follow the instructions in the 'readme.html' file included in the archives root folder to succesfully install the GPD. Eclipse Feature (jbpm-gpd-feature-.zip): If you are tired of each time having to do a fresh Eclipse installation and you are willing to cope with some possible issues, you can try the feature download. In this case installation is as easy as extracting the archive into your Eclipse installation (make sure the included 'plugins' and 'features' folders end up in the same location of your Eclipse installation) overwriting the files and folders with the same name that are possibly already present. This installation is very easy, but you could run into incompatibility issues when you overwrite plugins already present in your installation because of other features that you did install. Though they have the same name it could happen that the versions of these colliding plugins are not equal, hence the possible incompatibilities. The installation instructions are repeated in the 'readme.html' file. Key is fresh installtion of Eclipse 3.1.X (3.1.2 worked for me) with jbpm-gpd-site-3.0.9.2. Hope this helps View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104399#4104399 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104399 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Deploying error with JBoss 4.x
HI JaiKiran, These are the logs: 12:07:13,234 INFO [Server] Starting JBoss (MX MicroKernel)... 12:07:13,234 INFO [Server] Release ID: JBoss [Zion] 4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023) 12:07:13,234 INFO [Server] Home Dir: C:\softwaredump\eclipse\jboss-4.0.2 12:07:13,234 INFO [Server] Home URL: file:/C:/softwaredump/eclipse/jboss-4.0.2/ 12:07:13,234 INFO [Server] Library URL: file:/C:/softwaredump/eclipse/jboss-4.0.2/lib/ 12:07:13,234 INFO [Server] Patch URL: null 12:07:13,234 INFO [Server] Server Name: default 12:07:13,234 INFO [Server] Server Home Dir: C:\softwaredump\eclipse\jboss-4.0.2\server\default 12:07:13,234 INFO [Server] Server Home URL: file:/C:/softwaredump/eclipse/jboss-4.0.2/server/default/ 12:07:13,250 INFO [Server] Server Data Dir: C:\softwaredump\eclipse\jboss-4.0.2\server\default\data 12:07:13,250 INFO [Server] Server Temp Dir: C:\softwaredump\eclipse\jboss-4.0.2\server\default\tmp 12:07:13,250 INFO [Server] Server Config URL: file:/C:/softwaredump/eclipse/jboss-4.0.2/server/default/conf/ 12:07:13,250 INFO [Server] Server Library URL: file:/C:/softwaredump/eclipse/jboss-4.0.2/server/default/lib/ 12:07:13,250 INFO [Server] Root Deployment Filename: jboss-service.xml 12:07:13,250 INFO [Server] Starting General Purpose Architecture (GPA)... 12:07:14,500 INFO [ServerInfo] Java version: 1.5.0_02,Sun Microsystems Inc. 12:07:14,500 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_02-b09,Sun Microsystems Inc. 12:07:14,500 INFO [ServerInfo] OS-System: Windows XP 5.1,x86 12:07:17,359 INFO [Server] Core system initialized 12:07:20,750 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml 12:07:20,859 INFO [WebService] Using RMI server codebase: http://GGN-01-F1-063:8083/ 12:07:21,797 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server [EMAIL PROTECTED] 12:07:26,437 INFO [Embedded] Catalina naming disabled 12:07:26,781 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080 12:07:26,781 INFO [Catalina] Initialization processed in 297 ms 12:07:26,797 INFO [StandardService] Starting service jboss.web 12:07:26,797 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.9 12:07:26,828 INFO [StandardHost] XML validation disabled 12:07:26,859 INFO [Catalina] Server startup in 78 ms 12:07:27,109 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=file:/C:/softwaredump/eclipse/jboss-4.0.2/server/default/deploy/http-invoker.sar/invoker.war/ 12:07:27,375 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined 12:07:27,875 INFO [TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=file:/C:/softwaredump/eclipse/jboss-4.0.2/server/default/tmp/deploy/tmp54221jboss-ws4ee-exp.war/ 12:07:28,031 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=file:/C:/softwaredump/eclipse/jboss-4.0.2/server/default/deploy/jbossweb-tomcat55.sar/ROOT.war/ 12:07:28,281 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=file:/C:/softwaredump/eclipse/jboss-4.0.2/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/ 12:07:30,375 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=file:/C:/softwaredump/eclipse/jboss-4.0.2/server/default/deploy/management/console-mgr.sar/web-console.war/ 12:07:31,000 INFO [MailService] Mail Service bound to java:/Mail 12:07:31,719 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/softwaredump/eclipse/jboss-4.0.2/server/default/deploy/jboss-ha-local-jdbc.rar 12:07:31,844 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/softwaredump/eclipse/jboss-4.0.2/server/default/deploy/jboss-ha-xa-jdbc.rar 12:07:31,953 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/softwaredump/eclipse/jboss-4.0.2/server/default/deploy/jboss-local-jdbc.rar 12:07:32,078 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/softwaredump/eclipse/jboss-4.0.2/server/default/deploy/jboss-xa-jdbc.rar 12:07:32,234 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/softwaredump/eclipse/jboss-4.0.2/server/default/deploy/jms/jms-ra.rar 12:07:32,344 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/softwaredump/eclipse/jboss-4.0.2/server/default/deploy/mail-ra.rar 12:07:32,640 INFO [WrapperDataSourceService] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=DataSourceBinding,name=jdbc/ to JNDI name 'java:jdbc/' 12:07:33,578 INFO [WrapperDataSourceService] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS to JNDI name 'java:DefaultDS' 12:07:34,000 INFO [ConnectionFactoryBindingService] Bound connection factory for resource adapter for Connection
[jboss-user] [JBoss Seam] - Re: Which jars are required in lib?
We have a new dependencies chapter in the documentation, it should help you to work out which jars you need to include. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104395#4104395 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104395 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: GPD 3.0.9 Freezes Upon Opening Sample Process
hi ptuzla this resolution of the problem would help me very much if I could donwload the sources of the GPD 3.0.9 from somewhere. Can you post me a link from where I can download the sources? Thanks in advance. regards cfrasci View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104394#4104394 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104394 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Which jars are required in lib?
Hi, I need a bit of help determining which jars are required for a basic seam project. jboss*, jsf*, jsr*, richfaces* seem obvious. Not so sure about hibernate* if I'm not using hibernate. The ff have me scratching my head as well. activation.jar antlr-runtime.jar antlr.jar asm-attrs.jar asm.jar cglib-nodep.jar cglib.jar commons-beanutils.jar commons-collections.jar commons-digester.jar commons-logging.jar core.jar (Is this for drools ?) drools-compiler.jar (I don't use in my application directly) drools-core.jar (I don't use in my application directly) gwt-servlet.jar (I don't use gwt) janino.jar javassist.jar (is this required for interception?) jcaptha-all.jar jfreechart.jar jgroups.jar ??? lucene-core.jar meldware-mailapi.jar meldware-mailjmx.jar mvel14.jar portlet-api.jar ??? quartz.jar (I don't use in my application directly) saaj-api.jar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104392#4104392 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104392 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: JBoss AOP parallel Advice
"marimuthub" wrote : Hi All, | |Is their any concept called "Parallel Advice" in Jboss AOP? if yes, How can i implement Parallel advice using JBOSS AOP. | | Regards | Marimuthu View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104389#4104389 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104389 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - JBoss AOP parallel Advice
Hi All, Is their concept called "Parallel Advice" in Jboss AOP? if yes, How can i implement Parallel advice using JBOSS AOP. Regards Marimuthu View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104388#4104388 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104388 ___ 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: The jboss-hibernate.deployer directory missing in 4.0.3
This was it, solved my problem while going through the examples of JBossAtWork. Just had to change the setting in common build.xml from: | | to: | | That solved it, and I greatly appreciate the help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104387#4104387 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104387 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: SpringTransaction exception handling enhancement require
Can you file an issue in Jira and post the number back to this thread? Mike View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104386#4104386 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104386 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - s:decorate - default template
Hi all, I'm not liking the fact that I have to write code like... | | | | all the time for every input component. Does anyone know any possible way of setting the default template that will be used by the s:decorate tag? If not, how hard would it be to create my own tag so that I can do this? | | | | And this would basically just put the in for me. Any ideas or help is greatly appreciated. In fact it would be totally awesome if we had some sort of tag but... could be difficult I'm guessing. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104385#4104385 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104385 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Jboss 4.2.1 GA Load Balancer Problem
Hello everyone, I am using JBoss 4.2.1 GA and I am testing a cluster with 2 instances in 2 systems in a network (with ip's 192.168.1.101 & 192.168.1.102) . I am using Apache HTTP server with mod_jk. When I try to start the servers, they are forming the cluster as i can see on the server console. I am using the Counter.war application to test the application load balance or fail over. I am accessing the web application in first server using, http://192.168.1.101/counter.. and it works. Now if i shutdown the first server and try to access the first server with the same browser window, the page not found is displaying.. Actually if the first server is down, because of clustering, should be redirected to second server.. but not happened.. Anyone experienced with similar issue, please help me. Nagasai View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104384#4104384 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104384 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Why I can't start JBOSS 4.2.2GA?
When you see this error, can you post the exact output of the following command echo %JAVA_HOME% Run this from the command prompt and post the output here. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104383#4104383 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104383 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Jboss cache and heapspace memory
One more thing i noticed. i turned off the caccheloader completely, i.e no bdbjeloader. so when the evict is called it is evicted from in-memory. In this case once my operation is complete and eviction happns the jvm comes back to the state before i started. so here are my results : 1. withcacheloader(bdbje) and CustomLRUPolicy(evicts from cache for timetolive, calls remove on Treecache for maxage) - memory hits very high peak and doesnt come down 1.1G 2. same as 1 only very low time to live, so evict will be called almost instantly , but high max age so the nodes are there in persistent storage - memory usage similar to 1. 3. no cache at all - memory usage is minimum about 100M continously 4. with cache and no cacheloader, hence evicted will be lost - goes up to 800M but on eviction comes down to 100M again. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104382#4104382 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104382 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Portal filling server LOGS
I installed jboss portal to a new installation of jboss 4.2.2 and it seems to be running fine. however I get some sort of scheduler logging to the server logs every 5 seconds and my log files are huge. Is this normal? can I disable it? is this an error message and not just a notice? 2007-11-13 00:00:06,144 DEBUG [org.jbpm.configuration.JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, persistence]' 2007-11-13 00:00:06,144 DEBUG [org.jbpm.JbpmContext] creating JbpmContext 2007-11-13 00:00:06,144 DEBUG [org.jbpm.persistence.db.DbPersistenceServiceFactory] creating persistence service 2007-11-13 00:00:06,144 DEBUG [org.jbpm.persistence.db.DbPersistenceService] creating hibernate session 2007-11-13 00:00:06,144 DEBUG [org.hibernate.impl.SessionImpl] opened session at timestamp: 4894433305165824 2007-11-13 00:00:06,144 DEBUG [org.jbpm.persistence.db.DbPersistenceService] beginning hibernate transaction 2007-11-13 00:00:06,144 DEBUG [org.hibernate.transaction.JTATransaction] Looking for UserTransaction under: UserTransaction 2007-11-13 00:00:06,145 DEBUG [org.hibernate.transaction.JTATransaction] Obtained UserTransaction 2007-11-13 00:00:06,145 DEBUG [org.hibernate.transaction.JTATransaction] begin 2007-11-13 00:00:06,145 DEBUG [org.hibernate.transaction.JTATransaction] Began a new JTA transaction 2007-11-13 00:00:06,145 DEBUG [org.hibernate.jdbc.JDBCContext] successfully registered Synchronization 2007-11-13 00:00:06,146 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to open PreparedStatement (open PreparedStatements: 0, globally: 0) 2007-11-13 00:00:06,146 DEBUG [org.hibernate.jdbc.ConnectionManager] opening JDBC connection 2007-11-13 00:00:06,147 DEBUG [org.hibernate.SQL] /* named HQL query MessagingSession.findMessages */ select message0_.ID_ as col_0_0_ from JBPM_MESSAGE message0_ where message0_.DESTINATION_=? and message0_.ISSUSPENDED_<>1 and ( message0_.EXCEPTION_ is null ) 2007-11-13 00:00:06,148 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to open ResultSet (open ResultSets: 0, globally: 0) 2007-11-13 00:00:06,149 DEBUG [org.hibernate.impl.IteratorImpl] exhausted results 2007-11-13 00:00:06,149 DEBUG [org.hibernate.impl.IteratorImpl] closing iterator 2007-11-13 00:00:06,149 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to close ResultSet (open ResultSets: 1, globally: 1) 2007-11-13 00:00:06,149 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to close PreparedStatement (open PreparedStatements: 1, globally: 1) 2007-11-13 00:00:06,149 DEBUG [org.hibernate.jdbc.ConnectionManager] aggressively releasing JDBC connection 2007-11-13 00:00:06,149 DEBUG [org.hibernate.jdbc.ConnectionManager] releasing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)] 2007-11-13 00:00:06,149 DEBUG [org.jbpm.JbpmContext] closing JbpmContext 2007-11-13 00:00:06,150 DEBUG [org.jbpm.svc.Services] closing service 'persistence': [EMAIL PROTECTED] 2007-11-13 00:00:06,150 DEBUG [org.jbpm.persistence.db.DbPersistenceService] committing hibernate transaction 2007-11-13 00:00:06,150 DEBUG [org.hibernate.transaction.JTATransaction] commit 2007-11-13 00:00:06,151 DEBUG [org.hibernate.transaction.JTATransaction] Committed JTA UserTransaction 2007-11-13 00:00:06,151 DEBUG [org.jbpm.persistence.db.DbPersistenceService] closing hibernate session 2007-11-13 00:00:06,151 DEBUG [org.jbpm.svc.Services] closing service 'message': [EMAIL PROTECTED] 2007-11-13 00:00:06,151 DEBUG [org.jbpm.msg.command.CommandExecutorThread] waiting for more messages View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104379#4104379 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104379 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: UserModule via JNDI
I have the same problem when I access the usermodule through DWR, Let me know if you get any information on this please View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104380#4104380 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104380 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Jboss cache and heapspace memory
Yes u are right, i call remove instead of evict when maxage is reached. i am using the Jboss Cache 1.4 , i think jalapeno...so that wud be a remove call on TreeCache. This wud be the (2) u were talking abt ? my cache config file as in u mean the jboss-service.xml ? jboss:service=Naming REPL_ASYNC TreeCache 2 org.jboss.cache.eviction.CustomLRUPolicy 5 300 100 8 375 125 82000 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104377#4104377 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104377 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - ConcurrentModificationException when serializing session in
Hi all, recently I found that "ConcurrentModificationException" happened a few times in the server log. I know that JBoss 4.0.3sp1 has a bug:http://jira.jboss.com/jira/browse/JBAS-3137 on that. It's said that this problem is fixed. But now I met this again. Please see below. Also I found that before and after this exception happened, there were warning message "[org.jboss.resource.connectionmanager.CachedConnectionManager] Closing a connection for you. Please close them yourself:" around it. My configuration: JBoss 4.2.1GA + JDK 1.5.0_13. Any suggestion is appreciated. Thanks! 2007-11-13 08:22:57,418 ERROR [org.jboss.web.tomcat.service.session.JBossCacheService] externalizeSession(): exception occurred externalizing session SessionBasedClusteredSession[id: QyohhhjQAARi2HkAreBYvg**.server1 lastAccessedTime: 1194942177369 version: 765 lastOutdated: 0] | java.util.ConcurrentModificationException | at java.util.HashMap$HashIterator.nextEntry(HashMap.java:841) | at java.util.HashMap$EntryIterator.next(HashMap.java:883) | at java.util.HashMap$EntryIterator.next(HashMap.java:881) | at java.util.HashMap.writeObject(HashMap.java:1037) | at sun.reflect.GeneratedMethodAccessor183.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917) | at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339) | at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290) | at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079) | at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375) | at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347) | at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290) | at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079) | at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302) | at java.util.concurrent.ConcurrentHashMap.writeObject(ConcurrentHashMap.java:1380) | at sun.reflect.GeneratedMethodAccessor191.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917) | at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339) | at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290) | at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079) | at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302) | at org.jboss.web.tomcat.service.session.SessionBasedClusteredSession.writeExternal(SessionBasedClusteredSession.java:175) | at org.jboss.web.tomcat.service.session.JBossCacheService.externalizeSession(JBossCacheService.java:1027) | at org.jboss.web.tomcat.service.session.JBossCacheService.putSession(JBossCacheService.java:316) | at org.jboss.web.tomcat.service.session.JBossCacheClusteredSession.processSessionRepl(JBossCacheClusteredSession.java:121) | at org.jboss.web.tomcat.service.session.JBossCacheManager.processSessionRepl(JBossCacheManager.java:1097) | at org.jboss.web.tomcat.service.session.JBossCacheManager.storeSession(JBossCacheManager.java:652) | at org.jboss.web.tomcat.service.session.InstantSnapshotManager.snapshot(InstantSnapshotManager.java:49) | at org.jboss.web.tomcat.service.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:98) | at org.jboss.web.tomcat.service.session.JvmRouteValve.invoke(JvmRouteValve.java:84) | 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) | at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241) | at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437) | at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:381) | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) | at java.lang.Thread.run(Thread.java:595) | 2007-11-13 08:22:57,421 INFO [org.jboss.resource.connectionmanager.CachedConnectionManager] Closing a connection for you. Please close them yourself: [EMAIL PROTECTED] | java.lang.Throw
[jboss-user] [EJB 3.0] - Questiob about Local EJB3
Hi... In my ear file, I have 2 ejb3's jar and 1 war file. I have specify that in my application.xml. My app server Jboss4.0.5GA. I implement both remote and local for my ejb3 (all stateless bean). My question: 1. When I try to call one of my ejb as local ejb from my web layer, it throw javax.ejb.EJBException: Invalid invocation of local interface (null container). This exception is thrown when I call one of the method in the interface. I did make null check before calling any method in the interface( basically after called lookup method in InitialContext). But if I called as remote ejb, it works fine. Since I deploy both ejb and web in the same JBOSS, I expected I am able to call my ejb as local ejb. Any idea about this? 2. Since I have 2 ejb3 jar, I try to called any ejbbean from one ejb jar to another ejb jar as local bean, it works fine. Any idea, why I can't call any ejb bean as local ejb from my web layer? I did make null check before calling any method in the interface( basically after called lookup method in InitialContext). I have checked through jboss jms-console (http://localhost:8080/jmx-console --> service=JNDIView --> click on the Invoke button beside the list() method), I can see my EJB Bean as Local and Remote in the JNDI Tree. any Idea? thank you in advance pdt View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104375#4104375 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104375 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: High-level information concerning the flow of a portal r
May I ask why you are interested in these details? If you really want to know, the source is available... Start with org.jboss.portal.server.servlet.PortalServlet! ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104374#4104374 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104374 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - High-level information concerning the flow of a portal reque
Hello everyone, I am using Jboss-portal 2.6.2. Despite reading through all the documentation, I am struggling with understanding the flow of a portal request. For example, when requesting the default home page with http://somehost:8080/portal/, what is the flow of this request? How does the numerous *.sar, *.war under $JBOSS_HOME/server/default/deploy tie in to this request? Any insight would be appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104369#4104369 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104369 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: ClassNotFoundException
hehe thanks for all the help :) so the problems lies with all my classpath problem. i got around it by creating a normal project instead of a enterprise client app in netbean and it does pack all the libraries and jars in the dist folder goign to google a bit on why it doesn't do that for a enterpriese client app once again thanks alot View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104368#4104368 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104368 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - DataSource inside ear file
Since migrating to JBoss 4.0.3 and EJB 3.0, I've had a huge struggle with JNDI binding. My latest issue is regarding my datasource, named nicweb-jboss-ds.xml. Prior to JBoss 4.0.3 (or, maybe it's J2EE 1.5), I was able to deploy this file from the top level of my ear. Now, unless I explicitly place this file in the JBoss deploy directory (outside my ear), it will not bind to JNDI. I have a similar issue where my 2.1 beans no longer bind to JNDI. Has there been a change in the spec for Java 1.5, or does JBoss 4.0.3SP1 handle ears differently. I cannot seem to resolve this via my own limited knowledge and web searches. Any suggestions are appreciated. Mike View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104364#4104364 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104364 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - a4j:support to reRender dataTable and Factory question
so I'm using the Factory component pattern on a conversation scoped SFSB. I added a a4j:support tag to a h:selectOneRadio tag and the h:form is reRendered when user clicks 'no' on one of the radioButtons. So my question is: does the Factory method execute again when the dataTable is reRendered? It seems it's not refiring based on log output in the server.log. I don't actually want it to, but just curious... http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> | 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:rich="http://richfaces.ajax4jsf.org/rich"; | xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"; | xmlns:c="http://java.sun.com/jstl/core"; | template="layout/template.xhtml"> | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Status | | | | | Employee Name | | | | | | | | | | SiteId | | | | | | EmployeeNumber | | | | | | Account Approved? | | | | | | | | | | | Security Level Approved? | | | | | | | | Adjustment Limit Approved? | | | |
[jboss-user] [JBoss Seam] - Re: FlushModeType not working in Seam 1.2.1 GA?
For anyone that is interested, this bug is fixed in Seam 2.0 GA on JBoss 4.2.1 GA & 4.2.2 GA. It may also work with earlier versions of JBoss but I haven't had a need to test it. Thanks again for the help, Austin View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104361#4104361 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104361 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - using Begin and Factory annotations on same method
is it "safe/ok" to do the following with a conversation scoped SFSB? @Begin | @Factory("myAuditList") | public void findAuditList() { | ... | } | | @End | public void submit() { | ... | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104356#4104356 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104356 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - Re: changing default activemq jmx port when embedded within
If there is an activation parameter for this, it would be documented on the ActiveMQ web site. Ask them for help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104354#4104354 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104354 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - Re: Configuring queue in jboss-web.xml
I'm pretty sure you need to deploy a .ear not a .war to deploy a MDB. As for a "guide", why not download an example? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104353#4104353 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104353 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss OSGi] - Re: OSGi features
"trouby" wrote : | Nuxeo(OSS ECM) took this step forward, they had to deploy their application on Eclipse server and Jboss as well, so they have their own OSGI implementation with Jboss adpater which hook Jboss j2ee/javaee behaviors with the OSGI model | | You guys better take a look, they also have component extensibility where each component can declare extension-points and can contribute to other components (but yet again, I'm really not sure this is a part of the OSGI spec), | Yeah, I wanted to get in touch with Nuxeo, about the OSGI support they have already done on top of JBoss, but there was no response. So we took our own approach. ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104351#4104351 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104351 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - NPE Problem with , seems Entity manager i
I have an error with a dropdown, it seems something is not correct about the entity manager or the Seam Managed Persistence Context (SMPC) , although I can get a log entry saying entities were retrieved from the database. It's the booking example modified, some of the labels might be familiar. I'm using Seam 2.0.0 and AS 4.2.2 Except from the view (registrounidad.xhtml) | | | | | | persistance.xml | | | http://java.sun.com/xml/ns/persistence"; | | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | | xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"; | | version="1.0"> | | | | org.hibernate.ejb.HibernatePersistence | | java:/bookingDatasource | | | | | | | | | | | | | | | | | | | components.xml | | | http://jboss.com/products/seam/components"; | | xmlns:core="http://jboss.com/products/seam/core"; | | xmlns:security="http://jboss.com/products/seam/security"; | | xmlns:transaction="http://jboss.com/products/seam/transaction"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | | xsi:schemaLocation= | | "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.0.xsd | | http://jboss.com/products/seam/transaction http://jboss.com/products/seam/transaction-2.0.xsd | | http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.0.xsd | http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.0.xsd "> | | | | | | | | | | . | | | | | | | | | | The Search Bean (UnidadSearchingAction.java) | package org.jboss.seam.example.booking; | | import java.util.List; | | import javax.ejb.Remove; | import javax.ejb.Stateful; | import javax.persistence.EntityManager; | import javax.persistence.PersistenceContext; | | import org.jboss.seam.log.Log; | import org.jboss.seam.ScopeType; | import org.jboss.seam.annotations.Factory; | import org.jboss.seam.annotations.Name; | import org.jboss.seam.annotations.Scope; | import org.jboss.seam.annotations.Out; | import org.jboss.seam.annotations.In; | import org.jboss.seam.annotations.Logger; | import org.jboss.seam.annotations.datamodel.DataModel; | import org.jboss.seam.annotations.security.Restrict; | | @Stateful | @Name("unidadSearch") | @Scope(ScopeType.SESSION) | @Restrict("#{identity.loggedIn}") | public class UnidadSearchingAction implements UnidadSearching | { | | @Logger | Log log; | |@PersistenceContext |private EntityManager entityManager; |//private EntityManager em; | |private String searchString; |private int pageSize = 10; |private int page; | |@Out(required = false) |public List gruposDisponibles; | |@DataModel |private List unidades; | |public void find() |{ | page = 0; | queryUnidades(); |} |public void nextPage() |{ | page++; | queryUnidades(); |} | | |public List getGruposDisponibles() { | return gruposDisponibles; |} | public void setGruposDisponibles(List gruposDisponibles) { | this.gruposDisponibles = gruposDisponibles; | } | |@Factory("gruposDisponibles") | public void comboGrupos() |{ |log.info("Loading gruposDisponibles..."); |gruposDisponibles = entityManager.createQuery("select g from Grupo g order by g.nombre") |.getResultList(); |log.info("Size: " + gruposDisponibles.size()); |} | |private void queryUnidades() |{ | unidades = entityManager.createQuery("select u from Unidad u where lower(u.etiqueta) like #{unidPattern} or lower(u.device) like #{unidPattern} or lower(u.placa) like #{unidPattern} order by u.etiqueta") | .setMaxResults(pageSize) | .setFirstResult( page * pageSize ) | .getResultList(); |} | |public boolean isNextPageAvailable() |{ | return unidades!=null && unidades.size()==pageSize; |} | |public int getPageSize() { | return pageSize; |} | |public void setPageSize(int pageSize) { | this.pageSize = pageSize; |} | |@Factory(value="unidPattern", scope=ScopeType.EVENT) |public String getSearchPattern() |{ | return search
[jboss-user] [JBoss Seam] - hibernate-annotations.jar versioning differs between SEAM 2.
I found an issue while trying to use the @Digits hibernate validator which happens to resolve an issue very cleanly for me validating a backing bean with a Long attribute. I get a class not found exception in the app server using the jboss hibernate annotation libs for the 'org.hibernate.validator.Digits' class b/c it is not there. The version in JBOSS AS 4.2.1 is using version 3.2.1 of hibernate-annotations.jar and the version in SEAM 2.0 GA is using v3.3 where the validator classes have apparently be refactored into another jar called hibernate-validator.jar (apparently version 3.0 based on the MANIFEST.MF) which is altogether not present in jboss 4.2.1, but it is present in SEAM 2.0 GA. There are 2 possible solutions that I can think of: 1) I could replace the version of of hibernate-annotations.jar and add hibernate-validator.jar in my local copy of jboss AS, however, that only fixes me locally. 2) I could introduce these jars into my ear file and possibly run into class collisions between the annotations and validation jars in the AS. Regarding option 1, as for operations protocol, slipping in jars and swapping out jars in our production app server requires an act of congress. Regarding option 2, I don't want to deal with class collisions between my ear file and the AS. How do I a mitigate this problem of hibernate-annotation versioning between SEAM 2.0 & Jboss AS 4.2.1? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104347#4104347 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104347 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Nested repeats bug
Hello. I think that I found bug in nested repeats. I have following code: | | | | | | | | | public String deleteItems() { | Iterator iteratorCategories = shoppingList.getCategories().iterator(); | while(iteratorCategories.hasNext()) { | Iterator iteratorItems = iteratorCategories.next().getItems().iterator(); | while(iteratorItems.hasNext()) { | Item item = iteratorItems.next(); | if(item.getName().equalsIgnoreCase("thirdItem")) | iteratorItems.remove(); | } | } | return null; | } | So the code is simple, I am repeating through nested collections, rendering some string as a value of a input field and there are two links with the same functionality: delete third item. If you press h:commandLink, than the third item is deleted on the server correctly, but on the client it is rendered incorrectly. S:link renders all inputs correctly. Here is picture how it works: Example Delete directory jboss-seam-2.0.0.GA/examples/numberguess and copy directory from the example, build, deploy on jboss-4.2.1.GA and run http://localhost:8080/seam-numberguess in browser. If this is not bug, please let me know how to solve it with h:commandLink, my app is waiting for solution ;) Thx msznapka View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104341#4104341 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104341 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: webservice and JPA LazyInitializationException
In situations like this I usually force the collections to load by "touching" them, however depending how deep your object graph is, it might be a better option to create DTO's otherwise you may end up sending half your database. I had the same issue with remoting (which is the reason I added the "exclude" attribute to @WebRemote) however there is no equivalent solution for web services. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104339#4104339 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104339 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss OSGi] - Re: OSGi features
Hey, As I see the last replies to this post are only month ago so I guess things are in progress now :-) I think OSGI implementation is very important, Geronimo, Jonas/WS/etc.. are already there so it'll be great having it in Jboss too! I have some points which I think could be real helpful: - Integration with EJB/seam, activating a bundle with EJB/seam components easily. - Extensible components, I think JavaEE is really lacking here, it is very hard to build today a platform where external bundles can modify your app layers(core/services/gui/etc), as JavaEE packaging is really strict (all the descriptors, packing structure/etc...), I'm not sure the second point is apart of the spec, but it could be real great, Nuxeo(OSS ECM) took this step forward, they had to deploy their application on Eclipse server and Jboss as well, so they have their own OSGI implementation with Jboss adpater which hook Jboss j2ee/javaee behaviors with the OSGI model You guys better take a look, they also have component extensibility where each component can declare extension-points and can contribute to other components (but yet again, I'm really not sure this is a part of the OSGI spec), http://www.nuxeo.org/sections/projects/runtime/ It is also LGPL and I think it is well written.. Well, I'd also like to see your plans and help with testing and maybe some coding here and there :) Cheers, Asaf. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104335#4104335 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104335 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Exception handling of PersistenceException
AFAIK (though I see some Spring stuff in there so I'm no longer sure) that a tx commit doesn't cause the PC to be flushed. As I've mentioned to you on another thread the flush occurs when you manually call flush() - which you may do or at container invoked method boundaries. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104334#4104334 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104334 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: how does Seam/EJB determine session expiration?
I believe this information is provided by Tomcat (Servlet API). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104332#4104332 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104332 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen is not a solution worth trying for existing EJB
"juntao" wrote : Siarhei, | | Sorry, I have not had a chance to install Resin and try out your fix. ;) If we do commit to this to the code, we will need to maintain it for every Seam release. Can you help us with this? | | Also, since Seam 2.0.0 has just been released, can I ask you to update the issue with the latest examples? It will be great if you can send us a build-resin.xml for JPA and Hibernate2 examples. Thanks! | | cheers | Michael Michael, I've updated the issue with the latest examples and also made the Resin team aware of problems in their latest server version. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104326#4104326 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104326 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - org.jboss.web.jsf.integration.config.JBossJSFConfigureListen
Can you help me understand this error? Windows XP, Java SDK 1.5, JBoss 4.2.2 Here is my code: default/conf/login-config.xml guest java:/PostgresDS SELECT password FROM xuser WHERE username=? SELECT name, 'Roles' FROM role WHERE id = ANY ( SELECT role_id FROM user_role WHERE user_id = ANY ( SELECT id FROM xuser WHERE username = ? ) ) default/conf/auth.conf(I removed this) and the VM argument -Djava.security.auth.login.config=auth.conf zzz{ // jBoss ClientLoginModule org.jboss.security.auth.spi.DatabaseServerLoginModule required ; }; LoginServlet public class Login extends Command { public String perform(HttpServletRequest request) { String username = request.getParameter("u"); String password = request.getParameter("p"); UsernamePasswordHandler handler = new UsernamePasswordHandler(username,password); Subject subj = null; try { LoginContext lc = new LoginContext("zzz",handler); lc.login(); } catch (LoginException e1) { return error; } subj = lc.getSubject(); Log.info("subj = "+subj); return ok; } } web.xml in application http://java.sun.com/xml/ns/javaee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd";> Security servlet.Security Security /s index.jsp login /s GET POST CONFIDENTIAL BASIC zzz View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104324#4104324 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104324 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - how does Seam/EJB determine session expiration?
I've noticed this happens when I close my IE browser (the session data is no longer available when I re-run my app/test case). so how does Seam/EJB3 handle this for a SFSB?? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104322#4104322 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104322 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Message stranded in cluster
Thanks Tim. I changed to XAConnectionFactory for the services that consume from the local node and that works fine. However, my cluster is running under RedHat but I have two non clustered JBoss servers running under windows. These are each running a service that is a consumer of messages that are posted to the clustered queue running under redhat. They are connecting use the following: | ConversionJMSProvider | | org.jboss.jms.jndi.JNDIProviderAdapter | | | ClusteredXAConnectionFactory | ClusteredXAConnectionFactory | ClusteredXAConnectionFactory | | |java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory |java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces |java.naming.provider.url=172.17.20.60:1100, 172.17.20.61:1100 |jnp.disableDiscovery=false |jnp.partitionName=dev.application |jnp.discoveryGroup=228.1.2.4 |jnp.discoveryPort=1102 |jnp.discoveryTTL=16 |jnp.discoveryTimeout=5000 |jnp.maxRetries=1 | | It appears that both of these windows servers is connecting to the first provider in the list. Messages that are posted to the second provider (i.e. the partial queue on server 172.17.20.61) are never getting consumed. I thought that clients of the clustered queue could connect to whichever node they found first and they would get messages from any partial queue. Is this incorrect? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104319#4104319 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104319 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Exception during upgrade of JBoss 4.0.4.GA to JBoss 4.2.2 GA
Hello All: I've upgraded for our enterprise application from JBoss 4.0.4 GA to JBoss 4.2.2 GA. After several code and configuration change, I was to start the server. But, I am still seeing the following exception which prevent opening Jboss jmx consol and application client. Can some help how to resolve the following exception? | 2007-11-13 13:29:31,475 [http-127.0.0.1-8080-1] ERROR STDERR - java.lang.NoSuchMethodError: org.eclipse.jdt.internal.compiler.CompilationResult.getProblems()[Lorg/eclipse/jdt/core/compiler/CategorizedProblem; | 2007-11-13 13:29:31,475 [http-127.0.0.1-8080-1] ERROR STDERR - at org.apache.jasper.compiler.JDTCompiler$2.acceptResult(JDTCompiler.java:346) | 2007-11-13 13:29:31,475 [http-127.0.0.1-8080-1] ERROR STDERR - at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:335) | 2007-11-13 13:29:31,475 [http-127.0.0.1-8080-1] ERROR STDERR - at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:405) | 2007-11-13 13:29:31,475 [http-127.0.0.1-8080-1] ERROR STDERR - at org.apache.jasper.compiler.Compiler.compile(Compiler.java:308) | 2007-11-13 13:29:31,475 [http-127.0.0.1-8080-1] ERROR STDERR - at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286) | 2007-11-13 13:29:31,475 [http-127.0.0.1-8080-1] ERROR STDERR - at org.apache.jasper.compiler.Compiler.compile(Compiler.java:273) | 2007-11-13 13:29:31,475 [http-127.0.0.1-8080-1] ERROR STDERR - at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566) | 2007-11-13 13:29:31,475 [http-127.0.0.1-8080-1] ERROR STDERR - at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:316) | 2007-11-13 13:29:31,475 [http-127.0.0.1-8080-1] ERROR STDERR - at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336) | 2007-11-13 13:29:31,475 [http-127.0.0.1-8080-1] ERROR STDERR - at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) | 2007-11-13 13:29:31,475 [http-127.0.0.1-8080-1] ERROR STDERR - at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) | 2007-11-13 13:29:31,475 [http-127.0.0.1-8080-1] ERROR STDERR - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | 2007-11-13 13:29:31,475 [http-127.0.0.1-8080-1] ERROR STDERR - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | 2007-11-13 13:29:31,475 [http-127.0.0.1-8080-1] ERROR STDERR - at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | 2007-11-13 13:29:31,475 [http-127.0.0.1-8080-1] ERROR STDERR - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | 2007-11-13 13:29:31,475 [http-127.0.0.1-8080-1] ERROR STDERR - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | 2007-11-13 13:29:31,475 [http-127.0.0.1-8080-1] ERROR STDERR - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) | 2007-11-13 13:29:31,475 [http-127.0.0.1-8080-1] ERROR STDERR - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) | 2007-11-13 13:29:31,475 [http-127.0.0.1-8080-1] ERROR STDERR - at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179) | 2007-11-13 13:29:31,475 [http-127.0.0.1-8080-1] ERROR STDERR - at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) | 2007-11-13 13:29:31,475 [http-127.0.0.1-8080-1] ERROR STDERR - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) | 2007-11-13 13:29:31,475 [http-127.0.0.1-8080-1] ERROR STDERR - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | 2007-11-13 13:29:31,475 [http-127.0.0.1-8080-1] ERROR STDERR - at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) | 2007-11-13 13:29:31,475 [http-127.0.0.1-8080-1] ERROR STDERR - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | 2007-11-13 13:29:31,475 [http-127.0.0.1-8080-1] ERROR STDERR - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262) | 2007-11-13 13:29:31,475 [http-127.0.0.1-8080-1] ERROR STDERR - at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) | 2007-11-13 13:29:31,475 [http-127.0.0.1-8080-1] ERROR STDERR - at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) | 2007-11-13 13:29:31,475 [http-127.0.0.1-8080-1] ERROR STDERR - at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) | 2007-11-13 13:29:31,475 [http-127.0.0.1-8080-1] ERROR STDERR - at java.lang.Threa
[jboss-user] [JBossWS] - Re: Warning with ServiceObjectFactory with jbossws-native-2.
There's only one service definition in my WSDL though. Do I still need to use service-qname? | http://schemas.xmlsoap.org/wsdl/"; | xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; | xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; | xmlns:intf="urn:oasis:names:tc:wsrp:v1:intf" | xmlns:tns="urn:oasis:names:tc:wsrp:v1:wsdl"> | | | | | | | | | | | | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104317#4104317 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104317 ___ 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: Can EJB 2.1 and 3.0 exist in same container?
Problem resolved. Noticed that I was bundling an ejb-3.0.jar file in my ear, thus overriding JBoss supplied classes. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104315#4104315 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104315 ___ 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: Persistence Problem with Jboss 4.0.3, Hibernate
Upgraded to RC5 and problem resolved. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104314#4104314 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104314 ___ 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:
Resolved issue by upgrading to RC5. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104313#4104313 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104313 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: SFSB and performance question
Should have specified previously, but for clarity the disinjection only applies to @In attributes. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104311#4104311 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104311 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - webservice and JPA LazyInitializationException
Following the instructions in the webservices chapter of the documentation, I've got a small webservice that I've integrated into Seam...It reaches into the context, then pulls out one of my jpa home/dao objects. The only problem is that some of the relationships are lazy and I speculate responsible for a LazyInitializationException I'm seeing when the java objects are being marshalled into xml. here's part of the stack trace: | 13:33:16,685 ERROR [[StudyService]] Servlet.service() for servlet StudyService threw exception | org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: edu.umn.ictr.core.model.Study.IRBStudyIDs, no session or session was closed | at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:358) | at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationExceptionIfNotConnected(AbstractPersistentCollection.java:350) | at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:343) | at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:86) | at org.hibernate.collection.PersistentSet.iterator(PersistentSet.java:163) | at edu.umn.ictr.core.model.Study.getIRBStudies(Study.java:133) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at com.sun.xml.bind.v2.runtime.reflect.Accessor$GetterSetterReflection.get(Accessor.java:266) | at com.sun.xml.bind.v2.runtime.property.ArrayERProperty.serializeBody(ArrayERProperty.java:92) | at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.serializeBody(ClassBeanInfoImpl.java:286) | at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsXsiType(XMLSerializer.java:619) | at com.sun.xml.bind.v2.runtime.property.ArrayElementNodeProperty.serializeItem(ArrayElementNodeProperty.java:29) | at com.sun.xml.bind.v2.runtime.property.ArrayElementProperty.serializeListBody(ArrayElementProperty.java:132) | at com.sun.xml.bind.v2.runtime.property.ArrayERProperty.serializeBody(ArrayERProperty.java:101) | at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.serializeBody(ClassBeanInfoImpl.java:286) | at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsXsiType(XMLSerializer.java:619) | at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl$1.serializeBody(ElementBeanInfoImpl.java:93) | at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl$1.serializeBody(ElementBeanInfoImpl.java:127) | at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl.serializeBody(ElementBeanInfoImpl.java:244) | at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl.serializeRoot(ElementBeanInfoImpl.java:251) | at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl.serializeRoot(ElementBeanInfoImpl.java:33) | at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsRoot(XMLSerializer.java:461) | at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:292) | at com.sun.xml.bind.v2.runtime.MarshallerImpl.marshal(MarshallerImpl.java:221) | at org.jboss.ws.core.jaxws.JAXBSerializer.serialize(JAXBSerializer.java:83) | at org.jboss.ws.core.jaxrpc.binding.SerializerSupport.serialize(SerializerSupport.java:61) | at org.jboss.ws.core.soap.ObjectContent.marshallObjectContents(ObjectContent.java:159) | at org.jboss.ws.core.soap.ObjectContent.transitionTo(ObjectContent.java:72) | at org.jboss.ws.core.soap.SOAPContentElement.transitionTo(SOAPContentElement.java:140) | at org.jboss.ws.core.soap.SOAPContentElement.writeElement(SOAPContentElement.java:536) | at org.jboss.ws.core.soap.SOAPElementImpl.writeElementContent(SOAPElementImpl.java:834) | at org.jboss.ws.core.soap.SOAPElementImpl.writeElement(SOAPElementImpl.java:819) | at org.jboss.ws.core.soap.SOAPElementImpl.writeElementContent(SOAPElementImpl.java:834) | at org.jboss.ws.core.soap.SOAPElementImpl.writeElement(SOAPElementImpl.java:819) | at org.jboss.ws.core.soap.SOAPElementWriter.writeElementInternal(SOAPElementWriter.java:149) | at org.jboss.ws.core.soap.SOAPElementWriter.writeElement(SOAPElementWriter.java:130) | at org.jboss.ws.core.soap.SOAPMessageImpl.writeTo(SOAPMessageImpl.java:291) | at org.jboss.ws.core.server.ServiceEndpointManager.sendResponse(ServiceEndpointManager.java:517) | at org.jboss.ws.core.server.ServiceEndpointManager.processRequest(ServiceEnd
[jboss-user] [JBoss Tools (users)] - Re: How to debug an old J2EE Project created with an older J
"millenium" wrote : Thanx for your help, your way works. Also Hot Deployment (e.g. changes in a servlet) and Debugging is working now. | Good ;) anonymous wrote : | But how can I redeploy my application? If I change something in a jsp, there is no hot deployement. In earlier versions I packaged my Application again and made a redeploy on the application. | This should happen automatically now when eclipse sees the archive have been updated. anonymous wrote : | In the new version there is no redeploy-function. I have to stop the server, package and debug again. Is there an easier way? | Open the JBoss Server View or Servers view - there should be a module called whatever the file you deployed; here you can redeploy/clean etc. anonymous wrote : | You also wrote there would be a new incremental packaging available. How can I use this? | I wonder what you are actually using now since the old archiving is not included anymore ;) Look for the Archive view - here you can define the packaging you want; as jar or as exploded and always in sync. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104306#4104306 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104306 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Distributed queue, HA-JMS/singleton basic questions
I see. One question on fault-tolerange to message loss. Do the messages get replicated across the cluster (using post-office pulling or post-office routing?), so in case a node fails, they are not lost OR are they stored in a database until acknowledged? If it's the database, then I can assume that not persisted messages are lost in case of node failure. If it's replication, how does it affect the performance in term of network traffic/resource usage? Are all the messages forwarded/pulled by all the members or only those unread for a # of milliseconds and only a limited number of nodes? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104305#4104305 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104305 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: How to debug an old J2EE Project created with an older J
Thanx for your help, your way works. Also Hot Deployment (e.g. changes in a servlet) and Debugging is working now. But how can I redeploy my application? If I change something in a jsp, there is no hot deployement. In earlier versions I packaged my Application again and made a redeploy on the application. In the new version there is no redeploy-function. I have to stop the server, package and debug again. Is there an easier way? You also wrote there would be a new incremental packaging available. How can I use this? Thx!! Mark View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104304#4104304 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104304 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: SFSB and performance question
>From my understanding (and maybe a Seam team member can confirm this) all >bijected attributes are disinjected (set to null) after method invocation. So >any bijected attributes will not be included in the passivation of the session >bean. For any non-bijected attributes, you could either use transient or set them to null using @PrePassivate. The @PostActivate annotation can be used to retrieve them on activation. Hope that helps. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104303#4104303 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104303 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Exception handling of PersistenceException
Hi, Pete, I've got the following case. A method (no conversation) will be called to delete a row in the database. The backing bean method returns without error, because the flush is not occured at this time. Later the SeamPhaseListener commits the first tx, which flushes the persistence context. During the flush a ConstraintViolationException is thrown because of a foreign key constraint exception. But my application code has no chance to catch this exception, because the backing bean method has finished already. The only possibility is to write a complex error handling, which is able to do something after the tx commit. I have 2 problems here. 1. Currently SpringTransaction swallows the cause exception, so that I can't find the ConstraintViolationException in the exception stack. I will switch to another trnasaction manager and sees whether it is cleaner. 2. The exception handling mechanism doesn't allow me to hook in user defined exception handler, so that I can check the exception stack, so some logic. I think the redirect, end-conversation and http error are not enoughj under all circumstances. Like to know your opinion. Dapeng View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104301#4104301 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104301 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - ICEFaces components don't work using Dynamic Includes
Hi I have a problem. I made a template similar to the component-showcase's template but in my case my content-facelet.xhtml has 5 dynamic includes. I have mainTemplate.xhtml that includes navigation.xhtml and content-facelet.xhtml. I start the application calling the archive vgrcDemo.xhtml (showcase.xhtml in component-showcase project). The application run well, all the components and content are displayed (panel collapsibles, panelTab sets; tree; etc) but when I click on any component it doesn't work , however the connection status get in active state for a long time and then the browser shows me the page for default without changes (vgrcDemo.xhtml). The log for this issue is: 18:00:10,856 ERROR [STDERR] Nov 12, 2007 11:00:10 PM com.sun.facelets.impl.DefaultFacelet refresh INFO: Facelet[/layout/content-facelet.xhtml] was modified @ 11:00:10 PM, flushing component applied @ 10:59:46 PM the strangest thing is that if I shutdown the server and after few minutes start it again, the componentes continues failing. However, if I shutdown my server for many hours and I start it again and prove my application without changes, the application and all components work fine. But if i open any of xhtml archives,for example: content-facelet.xhtml and I make an insignificant change (for example: an space ) and i save it, when i run my application the log doesn't show any error but if I click on any component that belong to content-facelet.xhtml the log show me: 18:25:14,296 ERROR [STDERR] Nov 12, 2007 11:25:14 PM com.sun.facelets.impl.DefaultFacelet refresh INFO: Facelet[/layout/content-facelet.xhtml] was modified @ 11:00:10 PM, flushing component applied @ 11:25:11 PM If i open navigation.xhtml and make the same change, and when I click on any component the log show me: 18:26:42,919 ERROR [STDERR] Nov 12, 2007 11:26:42 PM com.sun.facelets.impl.DefaultFacelet refresh INFO: Facelet[/layout/navigation.xhtml] was modified @ 11:26:42 PM, flushing component applied @ 11:25:11 PM 18:26:42,935 ERROR [STDERR] Nov 12, 2007 11:26:42 PM com.sun.facelets.impl.DefaultFacelet refresh INFO: Facelet[/layout/content-facelet.xhtml] was modified @ 11:26:42 PM, flushing component applied @ 11:26:38 PM if I open mainTemplate.xhtml and make the same change, and when I click on any component the log only show me: 18:30:25,774 ERROR [STDERR] Nov 12, 2007 11:30:25 PM com.sun.facelets.impl.DefaultFacelet refresh INFO: Facelet[/layout/mainTemplate.xhtml] was modified @ 11:30:25 PM, flushing component applied @ 11:30:20 PM And if I shutdown the server and start it again, the componentes continues failing. However, if I shutdown the server for many hours and I start it again, the application and all components work fine.:S I'm working with: seam2 icefaces 1.6.1 jbossAs 4.2.2 on linux 1.5 firefox 2.0.0.3 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104300#4104300 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104300 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - SpringTransaction exception handling enhancement required
Hi, currently if a tx will be rollbacked, the SpringTransaction class kind of swallow the root cause in the following code catch (TransactionSystemException e) | { | log.error("Exception cause:", e); | throw new SystemException(e.getMessage()); | } | catch (UnexpectedRollbackException e) | { | log.error("Exception cause:", e); | throw new RollbackException(e.getMessage()); | } It is essential to pass the whole cause exception in SystemException and RollbackException instead of only a text message. My use case is the following: JSF delete action method tries to delete a row in the db. When the tx commits, it discovers the row can not be deleted because of foreign key constraint. I would like to have the ConstraintViolationException wrapped in the RollbackException, so that I have a chance to handle this exception later with the exception handler. In the current implmenetation, the RollbacklException with only text message and no cause stack will later be wrapped as an IllegalStateException, which is not helpful for exception handling at all. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104298#4104298 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104298 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Distributed queue, HA-JMS/singleton basic questions
Sorry my last post got a bit munged - I just re-edited it View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104297#4104297 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104297 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Distributed queue, HA-JMS/singleton basic questions
That explains it. Thank you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104296#4104296 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104296 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: FIFO Ordering also if Rollback (Retry)?
If you use a straight JBM consumer, and only have one consumer per queue, then order should be preserved on rollback. However I don't think things are so simple with MDBs, since AS MDB layer maintains a buffer of messages ready to send to MDBs. I would need to look into this further, but maybe would need changes outside JBM in the AS. BTW the JMS spec does not require message order to be preserved after rollback. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104295#4104295 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104295 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Distributed queue, HA-JMS/singleton basic questions
Hello kapucin - comments inline "kapucin" wrote : Hello | Could someone, please, explain what's the advantage of using HA-singleton vs Distributed queue (DQ)? | Is HA-singleton simply the old way for providing the fail-over functionality, and should not be used as DQ is better? | JBoss MQ ia really a single server JMS server - i.e. it only ever has one node active in the cluster at any one time. This differs with JBM where all nodes are active. HA singleton was primarily designed of getting the single server JBoss MQ to work in the cluster - it handles automatically starting up a new instance if failure occurs. JBoss Messaging was designed to have true clustering so HA singleton is not necessary. anonymous wrote : | | Can JBM be configured for ha-singleton, although it seems to defeat the purpose of DQ? | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104294#4104294 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104294 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: jbpm timer transaction issues
wild guess: using the servlet, jbpm can store the transaction in the threadlocal created at startup by the servlet thread that stays alive until shutdown of the app. why don't you use the traditionnal Servlet to check? http://docs.jboss.com/jbpm/v3/javadoc/org/jbpm/job/executor/JobExecutorServlet.html alex View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104293#4104293 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104293 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Poss solution frequent deadlocks on SQLServer
Thanks Jeremy for that. :) I'll run some tests here and see if we can incorporate your fix. BTW Regarding your usage of Spring, I don't know it applies in your case, but have you seen http://wiki.jboss.org/wiki/Wiki.jsp?page=JBMSpringJMSTemplateNotes ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104292#4104292 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104292 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Message stranded in cluster
Looks like you are sending message to both of the partial queues, but both your service instances are connected to the same node for consuming. For this kind of topology you probably only want each consumer to consumer from its local node? If so, then you should just use the standard connection factory /ConnectionFactory not /ClusteredConnectionFactory, this is how MDBs configured since clearly an MDB also only wants to consume from its local node. /ClusteredConnectionFactory will round robin connections between nodes which is probably not what you want. Also, you're using 1.4.0.CR2 this is a CR (non producttion) release and is superceded by 1.4.0.SP1. We're bringing out a SP2 soon too. I recommend you upgrade to that. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104291#4104291 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104291 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Need your ideas regarding an error creating identities
"[EMAIL PROTECTED]" wrote : When your application starts up, do you see the securityRules component being created in the log? I just verified, when this problem occurs that securityRules component is actually not initialized on startup. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104289#4104289 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104289 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Message stranded in cluster
JBoss As 4.2.1, JBM 1.4.0.CR2. I have a two node cluster with distributed a queue. Each node is running a service that is a consumer of the queue. I have client applications that connect to the clustered queue and post messages. The messages appear to be distributed between the [partial] queues on each node, however only the messages on one of the nodes are getting consumed. From my logging I can see that the messages that are getting consumed are being consumed by the services running on both nodes. Listing messages from jmx-console shows a bunch of unconsumed messages sitting in the queue on one of the nodes. Is there some configuration that turns on the balancing between nodes. Shouldn't they all be getting consumed? My consumer service uses the following to connect to the queue. | DefaultJMSProvider | | org.jboss.jms.jndi.JNDIProviderAdapter | | | ClusteredXAConnectionFactory | | ClusteredXAConnectionFactory | | ClusteredXAConnectionFactory | | |java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory |java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces |java.naming.provider.url=${jboss.bind.address:localhost}:1100 |jnp.disableDiscovery=false |jnp.partitionName=${jboss.partition.name:DefaultPartition} |jnp.discoveryGroup=${jboss.partition.udpGroup:230.0.0.4} |jnp.discoveryPort=1102 |jnp.discoveryTTL=16 |jnp.discoveryTimeout=5000 |jnp.maxRetries=1 | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104288#4104288 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104288 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - ReconnectIntervalSec equivalent annotation
Hi, I was wondering if there is an annotation equivalent for the MDB jboss.xml attribute, ReconnectIntervalSec. If so, can you also provide a brief sample or link to more documentation. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104287#4104287 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104287 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Injecting a stateful bean into a stateful bean in glassfish
I'm getting a JNDI lookup error when trying to inject (@In) a stateful session bean into another stateful session bean in my app. I tried for a few days (and failed) to tweak the JNDI pattern to see if that would help, but finally decided to try to replicate my problem on the seam/jee5/booking example, on which my application is based anyway. Sure enough, I got the same problem. I'm guessing the problem stems from the @In tag not knowing how to look up a stateful bean which hasn't been used yet. If I inject the HotelSearching bean into the HotelBooking bean, I don't get any problems., but if I inject the Booking bean into the Searching bean (see below), I get the JNDI error. In the booking app, the Searching page is invoked before the Booking page, so injecting the already-used Searching bean into the Booking bean is fine, but doing the opposite doesn't (that's my theory, heh). Here's what I changed in the jee5/booking app (and I realize in the booking app this doesn't make any functional sense, but it demonstrates my problem better than pasting my app's custom config and confusing the issue): Add the following to the top of HotelSearchingAction: |import org.jboss.seam.annotations.In; |. |. |. |@In(create=true) |private HotelBooking hotelBooking; | ...here is the stacktrace I get when I reach the Search page: | [#|2007-11-13T12:51:10.187-0600|INFO|sun-appserver9.1|javax.enterprise.system.container.ejb|_ThreadID=18;_ThreadName=httpSSLWorkerThread-8080-0;HotelSearchingAction;|EJB5018: An exception was thrown during an ejb invocation on [HotelSearchingAction]|#] | | [#|2007-11-13T12:51:10.187-0600|INFO|sun-appserver9.1|javax.enterprise.system.container.ejb|_ThreadID=18;_ThreadName=httpSSLWorkerThread-8080-0;| | javax.ejb.TransactionRolledbackLocalException: Exception thrown from bean; nested exception is: org.jboss.seam.InstantiationException: Could not instantiate Seam component: hotelBooking | org.jboss.seam.InstantiationException: Could not instantiate Seam component: hotelBooking | at org.jboss.seam.Component.newInstance(Component.java:1962) | at org.jboss.seam.Component.getInstance(Component.java:1865) | at org.jboss.seam.Component.getInstance(Component.java:1832) | at org.jboss.seam.Component.getInstanceInAllNamespaces(Component.java:2174) | at org.jboss.seam.Component.getValueToInject(Component.java:2126) | at org.jboss.seam.Component.injectAttributes(Component.java:1590) | at org.jboss.seam.Component.inject(Component.java:1408) | at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:45) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) | at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) | at org.jboss.seam.persistence.EntityManagerProxyInterceptor.aroundInvoke(EntityManagerProxyInterceptor.java:26) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) | at org.jboss.seam.persistence.HibernateSessionProxyInterceptor.aroundInvoke(HibernateSessionProxyInterceptor.java:27) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) | at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:106) | at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:50) | at sun.reflect.GeneratedMethodAccessor732.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:579) | at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:483) | at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:205) | at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:3978) | at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:197) | at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:127) | at $Proxy420.getSearchString(Unknown Source) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:21) | at org.jboss.seam.intercept.
[jboss-user] [JBoss Seam] - Delegate for FacesServlet
Does anyone has example of delegate java class for FacesServlet? We used myfaces but same solution doesn't work with JSF RI 1.2/Seam throwing exception: anonymous wrote : [java] java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFac | tory | [java] at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:256) | [java] at javax.faces.webapp.FacesServlet.init(FacesServlet.java:142) | [java] at com.lehman.cmps.core.web.faces.util.ExtFacesServlet.init(ExtFacesServlet.java:71) | [java] at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161) | [java] at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:806) | [java] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129) | [java] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) | [java] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179) | [java] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525) | [java] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) | [java] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) | [java] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) | [java] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) | [java] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | [java] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241) | [java] at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:853) | [java] at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579) | [java] at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1513) | [java] at java.lang.Thread.run(Thread.java:595) Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104280#4104280 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104280 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: JBC 1.4.1SP replication problems
Thanks for youre response. We`ll try it tomorrow. And, yes, youre right, this post is also ours. http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104272 Sorry for crossposting. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104275#4104275 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104275 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: JBC 1.4.1SP replication problems
You could create your own class: | MyCacheLoader extends ClusteredCacheLoader implements ExtendedCacheLoader | { ... } | and implement the ExtendedCacheLoader methods as no-ops (or returning a 0-byte array for loadState). ClusteredCacheLoaders should not participate in loading/storing state. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104273#4104273 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104273 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: ClusteredCacheLoader & activation/deactivation
Hmm, this looks suspiciously like the last comment on this thread: http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104257#4104257 Talk about timing; asked within 11 mins of each other! I'll answer on the other thread... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104272#4104272 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104272 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Ejb reference in Glassfish
My eyes deceived me. Changing To as per the jee5 example gives me the following stacktrace. Did I miss something else?? [#|2007-11-13T12:24:15.554-0600|SEVERE|sun-appserver9.1|javax.enterprise.resource.webcontainer.jsf.application|_ThreadID=16;_ThreadName=httpSSLWorkerThread-8080-1;org.jboss.web.jsf.integration.serialization.JBossSerializationProvider;_RequestID=d92c0cee-a95e-4424-b3c8-4130bb755823;|JSF1037: The specified SerializationProvider implementation 'org.jboss.web.jsf.integration.serialization.JBossSerializationProvider' cannot be loaded.|#] [#|2007-11-13T12:24:20.882-0600|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=16;_ThreadName=httpSSLWorkerThread-8080-1;|2007-11-13 12:24:20,866 77734 [httpSSLWorkerThread-8080-1] ERROR org.jboss.seam.security.jaas.SeamLoginModule - Error invoking login method org.jboss.seam.InstantiationException: Could not instantiate Seam component: authenticator at org.jboss.seam.Component.newInstance(Component.java:1853) at org.jboss.seam.Component.getInstance(Component.java:1756) at org.jboss.seam.Component.getInstance(Component.java:1723) at org.jboss.seam.Component.getInstance(Component.java:1717) at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:60) at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143) at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64) at org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44) at org.jboss.el.parser.AstValue.getTarget(AstValue.java:34) at org.jboss.el.parser.AstValue.invoke(AstValue.java:95) at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276) at org.jboss.seam.core.Expressions$2.invoke(Expressions.java:174) at org.jboss.seam.security.jaas.SeamLoginModule.login(SeamLoginModule.java:108) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769) at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186) at javax.security.auth.login.LoginContext$5.run(LoginContext.java:706) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.login.LoginContext.invokeCreatorPriv(LoginContext.java:703) at javax.security.auth.login.LoginContext.login(LoginContext.java:575) at org.jboss.seam.security.Identity.authenticate(Identity.java:331) at org.jboss.seam.security.Identity.authenticate(Identity.java:321) at org.jboss.seam.security.Identity.login(Identity.java:237) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.seam.util.Reflections.invoke(Reflections.java:21) at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56) at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) at org.jboss.seam.core.SynchronizationInterceptor.aroundInvoke(SynchronizationInterceptor.java:32) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:106) at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:151) at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:87) at milton.util.MiltonIdentity_$$_javassist_19.login(MiltonIdentity_$$_javassist_19.java) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:325) at org.jboss.el.util.ReflectionUtil.invokeMethod(R
[jboss-user] [JBoss Portal] - Re: Unable to access files from a different CMS Repository v
does no reply to this topic mean that nobody encountered this before? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104266#4104266 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104266 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - SFSB and performance question
According to the EJB3 in Action book, passivation/activation (which involves serialization/deserialization) requires a lot of memory and CPU cycles. âwhen you store large objects in your instance variables, the server spends a lot of CPU cycles and memory in the serialization and deserialization process" from pg. 487 seeing that Seam makes extensive use of SFSB's in the solutions for many conversationally scoped use cases, what is the recommendation for using "transient" keyword for instance variables to improve performance? There is not one reference to the keyword "transient" in the Seam 2.0.0.GA reference pdf... Haven't checked the distro example code. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104265#4104265 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104265 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Accessing Oracle DataSource from a JBoss Portlet JSP ..
Hi - I am looking for an example on how to connect and configure the JBoss portal to allow a JSP to retrieve data from Oracle database. My Class extends GenericPortlet class. Here are my questions - (i) In the JBOSS_INSTALL_DIR/server/default/deploy directory, I have 3 DS files - hsqldb-ds.xml, portal-hsqldb-ds.xml and portal-oracle-ds.xml. Since I plan to use only Oracle DB, can I remove the other 2? (When I remove the others, I get exceptions in the console window.) (ii) How do I access the connection from the Portal JSP? Is there a step by step sample program that does just this? (Actually, any Container managed connection example from the JBoss portlet will help) Thank you so much - this will help me get started very quickly. - Sunil View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104264#4104264 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104264 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - ClusteredCacheLoader & activation/deactivation
Hi there Is there any way to keep a cache configuration that uses ClusteredCacheLoader and activation/deactivation of regions? Jboss cache documentation says that it is not possible to use ClusteredCacheLoader together with activation/deactivation of regions (because ClusteredCacheLoader does not implements ExtendedCacheLoader). I am using Jboss cache 1.4.1.SP3 in a 2-clustered cache and I would like to keep activation/deactivation of regions to avoid class loads problems and ClusteredCacheLoader to keep data available for both cache members after eviction policies are carried out. How could I get this work? Any helpful idea is welcome! Thanks in advance! Sancheski View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104262#4104262 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104262 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Ejb reference in Glassfish
I am trying to get an application up and running in Glassfish that currently works in JBoss. Seam 2.0 Beta 1 The deployed ear file is milton-core.ear In the web.xml file I have the following milton-core/Authenticator/local Session milton.service.security.IAuthenticator Authenticator milton-core/EjbSynchronizations/local Session org.jboss.seam.transaction.LocalEjbSynchronizations EjbSynchronizations My ejb definition @Stateless @Name( "authenticator" ) public class Authenticator implements IAuthenticator { @PersistenceContext protected EntityManager entityManager; @In MiltonIdentity identity; @EJB private IUserSvcuserSvc; public boolean authenticate() ... } The Local interface @Local public interface IAuthenticator { public abstract boolean authenticate( ); } The entry from components.xml Did I miss a step here? Thanks in advance for any help. The stacktrace [#|2007-11-13T11:45:00.237-0600|SEVERE|sun-appserver9.1|javax.enterprise.resource.webcontainer.jsf.application|_ThreadID=15;_ThreadName=httpSSLWorkerThread-8080-0;org.jboss.web.jsf.integration.serialization.JBossSerializationProvider;_RequestID=d2b49476-b23a-408d-a569-a5e9bcb9d389;|JSF1037: The specified SerializationProvider implementation 'org.jboss.web.jsf.integration.serialization.JBossSerializationProvider' cannot be loaded.|#] [#|2007-11-13T11:45:06.971-0600|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=16;_ThreadName=httpSSLWorkerThread-8080-1;|2007-11-13 11:45:06,971 55938 [httpSSLWorkerThread-8080-1] ERROR org.jboss.seam.security.jaas.SeamLoginModule - Error invoking login method org.jboss.seam.InstantiationException: Could not instantiate Seam component: authenticator at org.jboss.seam.Component.newInstance(Component.java:1853) at org.jboss.seam.Component.getInstance(Component.java:1756) at org.jboss.seam.Component.getInstance(Component.java:1723) at org.jboss.seam.Component.getInstance(Component.java:1717) at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:60) at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143) at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64) at org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44) at org.jboss.el.parser.AstValue.getTarget(AstValue.java:34) at org.jboss.el.parser.AstValue.invoke(AstValue.java:95) at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276) at org.jboss.seam.core.Expressions$2.invoke(Expressions.java:174) at org.jboss.seam.security.jaas.SeamLoginModule.login(SeamLoginModule.java:108) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769) at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186) at javax.security.auth.login.LoginContext$5.run(LoginContext.java:706) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.login.LoginContext.invokeCreatorPriv(LoginContext.java:703) at javax.security.auth.login.LoginContext.login(LoginContext.java:575) at org.jboss.seam.security.Identity.authenticate(Identity.java:331) at org.jboss.seam.security.Identity.authenticate(Identity.java:321) at org.jboss.seam.security.Identity.login(Identity.java:237) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.seam.util.Reflections.invoke(Reflections.java:21) at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56) at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) at org.jboss.seam.core.SynchronizationInterceptor.aroundInvoke(SynchronizationInterceptor.java:32) at org.jboss.seam.intercept.Seam
[jboss-user] [Management, JMX/JBoss] - Re: JConsole remote not working with JBoss4.2.2GA
ok found the issue. Its due to some host binding issue. I was binding the host like so - -Djboss.bind.address=xxx.xx.com and this didn't work. I changed it to -b xxx.xx.com and now its working like a charm View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104261#4104261 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104261 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam resource files
Yes. You can have as many as you like. See the ref docs. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104260#4104260 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104260 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: JBC 1.4.1SP replication problems
We have a problem with this. Our cache is InactiveOnStartup, and we activate it programatically, so we wait for objects (classes) being fully loaded in the starting cluster node, before getting data nodes replicated from the other cluster node, so we avoid ClassNotFoundExceptions, and such. In the docs, it states that whenever you use an InactiveOnStartup cache, you should use an ExtendedCacheLoader. And ClusteredCacheLoader is not an ExtendedCacheLoader. Is there way to solve this? Probably by a ChainingCacheLoader??? Thanks again. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104257#4104257 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104257 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Logout - Seam 1.2.1/Icefaces 1.6.1
HI, I upgraded Icefaces from 1.6.0 to 1.6.1. But now I get an error when I try to logout by my application. Logout gets handled into pages.xml: Error log is the following: 13 Nov 2007 17:44:36,343 ERROR [SeamPhaseListener] uncaught exception java.lang.IllegalStateException: No active application context at org.jboss.seam.core.Pages.instance(Pages.java:470) at org.jboss.seam.jsf.AbstractSeamPhaseListener.enterPage(AbstractSeamPhaseListener.java:276) at org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:214) at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:56) at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersBefore(PhaseListenerManager.java:70) at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:373) at com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.renderCycle(ReceiveSendUpdates.java:58) at com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.service(ReceiveSendUpdates.java:45) at com.icesoft.faces.webapp.http.core.IDVerifier.service(IDVerifier.java:25) at com.icesoft.faces.webapp.http.core.ViewBoundServer.service(ViewBoundServer.java:52) at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer$Matcher.serviceOnMatch(PathDispatcherServer.java:50) at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:19) at com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19) at com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:29) at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:109) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:35) at com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52) at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29) at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:98) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:359) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:54) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BasePro
[jboss-user] [JBossCache] - Re: JBC 1.4.1SP replication problems
"jorgemoralespou_2" wrote : Then, for another cache that we don`t persist, but we do evict. Should we configure a ClusteredCacheLoader? | Yes, probably a good idea. "jorgemoralespou_2" wrote : | Is eviction clustered node dependant? Is eviction in this case, the same as removing the node? Or by evicting the node, and having a ClusteredCacheLoader, we can have data in one node and not in the other, and vice versa, and is only retrieved in case it is searched for? In that case, if we have, for example, an LRUEvictionPolicy, this new data node, retrieved from the other cluster`s node, is put ahead in the eviction queue? Only in this cluster`s node, or in both? Evictions only happen on a single cache instance and don't care about what's going on in other cache instances in the cluster. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104253#4104253 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104253 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: exception invoking: compileRuleBase
Do you have a larger stack trace that you can post? You may have compilation errors in your rules. Cheers, Damian. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104254#4104254 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104254 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: What jboss aop version for jboss 3.2.8sp1?
I think you would have to go back to aop 1.3.x or earlier View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104252#4104252 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104252 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Conversation and Manual Flush Mode
How will you then design your application? Get rid of the layered architecture? anonymous wrote : You can control the flushmode both through annotations/xml and programatically through PersistenceProvider.instance().setManualFlushMode(em); You have to use a Seam Managed Persistence Context though. I would probably make the service layer set the flush mode, but then this is definitely not how I would design an application. I chose a solution where I use an aspect to flush the persistence context after invocation of all methods with @End annotation. Any comment? I tried to do the same to switch the flush mode to manual on all methods with @Begin annotation. But this didn't work as expected. It seems that the javaassist code instrumentation overwrites or got messed up with the aspectj instrumentation. Maybe I'd better choose Seam interceptor instead of Aspectj. Only in that case I have to either reference the interceptor or an annotation based on the interceptor in all action classes. Do you have a better idea, how to solve this problem? Can I put the annotation once in an abstract super class? Thx. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104250#4104250 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104250 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: JBC 1.4.1SP replication problems
Then, for another cache that we don`t persist, but we do evict. Should we configure a ClusteredCacheLoader? Is eviction clustered node dependant? Is eviction in this case, the same as removing the node? Or by evicting the node, and having a ClusteredCacheLoader, we can have data in one node and not in the other, and vice versa, and is only retrieved in case it is searched for? In that case, if we have, for example, an LRUEvictionPolicy, this new data node, retrieved from the other cluster`s node, is put ahead in the eviction queue? Only in this cluster`s node, or in both? I know it`s a handful of questions. Thanks anyway. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104249#4104249 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104249 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Trinidad PPR/Ajax and Seam
Please create a JIRA issue for each area of integration needed (e.g. one for tables, one for skinning). Put them in the JSF category for now. N.b. this isn't high up the dev teams priority list - for obvious reasons we need to deal with RichFaces integration first. *But* if people can create patches I will try to review and apply them asap. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104247#4104247 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104247 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: SerializationException and difference b/n log4j and Seam
Thereâs also a âtransientâ keyword in addition to @Transient. See pg. 487 of EJB3 in Action (or read the JSR): âIf you donât want to serialize a particular object, mark that object to be a transient object and the container will skip that object during passivation/activation.â Then thereâs a code example for a SFSB with transient keyword⦠So I guess that may fix this problem but Iâm wondering if thereâs any difference if I use the Seam logger (probably not if itâs using log4j under the coversâ¦) i.e. if I use the following code in my SFSB's: @Logger private Log log; do i need to mark the log object with the transient keyword to avoid this SerializationException since the Seam logger is using log4j under the covers??? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104246#4104246 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104246 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: JBC 1.4.1SP replication problems
s/JBossCacheLoader/JDBCCacheLoader/g - then, yes. :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104242#4104242 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104242 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - SerializationException and difference b/n log4j and Seam log
I am getting the following exception (not sure when and/or how to reproduce) in my app. I am using log4j in two SFSB's as follows: import org.apache.log4j.Logger; | Logger log = Logger.getLogger(this.getClass()); org.jboss.serial.exception.SerializationException: Could not create instance of org.apache.log4j.Logger - org.apache.log4j.Logger According to Seam reference pdf: anonymous wrote : Seam logging automagically chooses whether to send output to log4j or JDK logging. If log4j is in the | classpath, Seam with use it. If it is not, Seam will use JDK logging. So will this NOT happen if I use the Seam logger instead??? How do I fix this? I'm wondering if a SFSB is serialized when the destroy method is executed? I'm seeing several folders for my two SFSB's in the following folder: C:\jboss-4.2.1.GA\server\default\tmp\sessions full stack trace: 08:37:26,368 INFO [LoggerInterceptor] *** Entering method: destroy | 08:59:08,135 WARN [lifecycle] javax.el.ELException: /testA4jSupport.xhtml @27,104 rendered="#{testSupportAction.renderA}": Error reading 'renderA' on type org.javassist.tmp.java.lang.Object_$$_javassist_1 | javax.faces.FacesException: javax.el.ELException: /testA4jSupport.xhtml @27,104 rendered="#{testSupportAction.renderA}": Error reading 'renderA' on type org.javassist.tmp.java.lang.Object_$$_javassist_1 | at javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:373) | at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:993) | at javax.faces.component.UIForm.processDecodes(UIForm.java:203) | at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1001) | at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:493) | at org.ajax4jsf.component.AjaxViewRoot.access$001(AjaxViewRoot.java:57) | at org.ajax4jsf.component.AjaxViewRoot$1.invokeRoot(AjaxViewRoot.java:260) | at org.ajax4jsf.context.JsfOneOneInvoker.invokeOnRegionOrRoot(JsfOneOneInvoker.java:56) | at org.ajax4jsf.context.AjaxContextImpl.invokeOnRegionOrRoot(AjaxContextImpl.java:173) | at org.ajax4jsf.component.AjaxViewRoot.processDecodes(AjaxViewRoot.java:276) | at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:101) | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251) | at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at jcifs.http.NtlmHttpFilter.doFilter(NtlmHttpFilter.java:118) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) | at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141) | at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281) | at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:150) | 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(StandardWr
[jboss-user] [JBossCache] - Re: JBC 1.4.1SP replication problems
So, to be completely correct, we should have a ClusteredCacheLoader, and then a JBossCacheLoader configured. This will help us with evicted data. Normal replication, for puts and removes will always happen, independently of having or not any clustered cache loader. Is this right? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104239#4104239 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104239 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - jbpm db upgrade from 2.0 to 3.2
I am a complete newbee to JBPM. I need to migrate data in database from version JBPM2.0 to JBPM3.2 (or at least 3.0). Is there any script etc that does this. Can anyone give pointers to this. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104238#4104238 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104238 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Replication and notifications
I've raised this as a bug. JBCACHE-1216. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104236#4104236 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104236 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Trinidad PPR/Ajax and Seam
"[EMAIL PROTECTED]" wrote : | No. I've scheduled the issue however. | Pete, As you guys talk about this here are some things I have noticed that need to be looked at for closer Seam/Trinidad integration. - dialogs - which is how this thread original was started and the hack provided to get them working with conversations - skinning - it would be nice to be able to use the trinidad skinning framework for the Seam components - actually, this is on my list for the s:link and s:button components; probably sometime early in the new year. - table pagination - trinidad provides a control at the top of the table for next/prev records; conversation propagation needs to be looked at for these links - I use the auto next/prev links; but I'm pretty sure the conversation aspects of Seam are not invoked - since my uses right now are read only, I have not had a need for conversations; but others might have different requirements I'm sure this is not a complete list (as I don't use everything in Trinidad); just thought I would through out an initial list if someone is going to be looking at closer integration between the two frameworks. If others want to add to this, it might be better to start commenting in JIRA or create a list of integration areas on a wiki somewhere. Whatever the method of communication, I feel (obviously since I use both) integration would serve both communities very well. Chris View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104234#4104234 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104234 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: JBC 1.4.1SP replication problems
The ClusteredCacheLoader is not enabled by default. Perhaps what you're seeing is simple replication - cache instances in the cluster will replicate state between themselves, and only fall back to using a CacheLoader if the in-memory state has been evicted. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104233#4104233 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104233 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - What jboss aop version for jboss 3.2.8sp1?
Hi, I've installed jboss aop 1.5.6 on jboss3.2.8sp1 but when I start jboss there are errors and jboss doesn't start. I've tryed with jboss aop 1.5.4sp1 but I receive the same errors. I need jboss aop on jboss3.2.8sp1, what is the version that work on jboss3.2.8sp1? Here it follows errors when I start jboss with jboss aop 1.5.4sp1: | 17:55:34,674 INFO [Server] Starting JBoss (MX MicroKernel)... | 17:55:34,674 INFO [Server] Release ID: JBoss [WonderLand] 3.2.8.SP1 (build: CVS | Tag=JBoss_3_2_8_SP1 date=200603031235) | 17:55:34,684 INFO [Server] Home Dir: C:\jboss-3.2.8.SP1 | 17:55:34,684 INFO [Server] Home URL: file:/C:/jboss-3.2.8.SP1/ | 17:55:34,684 INFO [Server] Patch URL: null | 17:55:34,684 INFO [Server] Server Name: default | 17:55:34,684 INFO [Server] Server Home Dir: C:\jboss-3.2.8.SP1\server\default | 17:55:34,684 INFO [Server] Server Home URL: file:/C:/jboss-3.2.8.SP1/server/def | ault/ | 17:55:34,684 INFO [Server] Server Temp Dir: C:\jboss-3.2.8.SP1\server\default\t | mp | 17:55:34,684 INFO [Server] Root Deployment Filename: jboss-service.xml | 17:55:34,955 INFO [ServerInfo] Java version: 1.5.0_13,Sun Microsystems Inc. | 17:55:34,965 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_13-b05 | ,Sun Microsystems Inc. | 17:55:34,965 INFO [ServerInfo] OS-System: Windows XP 5.1,x86 | 17:55:35,215 INFO [Server] Core system initialized | 17:55:37,909 WARN [NestedThrowable] Duplicate throwable nesting of same base ty | pe: class org.jboss.deployment.DeploymentException is assignable from: class org | .jboss.deployment.DeploymentException | 17:55:37,909 ERROR [MainDeployer] could not create deployment: file:/C:/jboss-3. | 2.8.SP1/server/default/conf/jboss-service.xml | org.jboss.deployment.DeploymentException: create operation failed for package fi | le:/C:/jboss-3.2.8.SP1/server/default/conf/jboss-service.xml; - nested throwable | : (org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.refl | ect.UndeclaredThrowableException)) | at org.jboss.deployment.SARDeployer.create(SARDeployer.java:239) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:795) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:652) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:600) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. | java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces | sorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher. | java:74) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:96) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. | java:213) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:184) | at $Proxy5.deploy(Unknown Source) | at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:462) | at org.jboss.system.server.ServerImpl.start(ServerImpl.java:353) | at org.jboss.Main.boot(Main.java:201) | at org.jboss.Main$1.run(Main.java:459) | at java.lang.Thread.run(Thread.java:595) | Caused by: org.jboss.deployment.DeploymentException: - nested throwable: (java.l | ang.reflect.UndeclaredThrowableException) | at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java | :151) | at org.jboss.system.ServiceController.install(ServiceController.java:213 | ) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. | java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces | sorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher. | java:74) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:96) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. | java:213) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:
[jboss-user] [JBoss Portal] - Re: Getting NullPointerException when starting up JBoss Port
"z00k" wrote : | | | Macintosh:bin z00k$ sh run.sh | | run.sh: line 89: ulimit: open files: cannot modify limit: Invalid argument | | run.sh: Could not set maximum file descriptor limit: unlimited | | | Seems to indicate that there is a problem with your run.sh and/or run.conf file. Have you modified them? Also, the NPE seems to indicate an issue with your JBoss AS install... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104229#4104229 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104229 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - ClassCastException in HandlerResolverImpl.addHandler
i have a simple webservice on jboss-4.2.0.GA with jbossws-2.0.1 my webservice: | package my.ws; | | import javax.jws.HandlerChain; | import javax.jws.WebMethod; | import javax.jws.WebService; | | @WebService | @HandlerChain(file = "WEB-INF/jaxws-handlers.xml") | public class MyWS { | | @WebMethod | public String hello(String input) { | return input; | } | | } | my handler: | package my.ws; | | import javax.xml.namespace.QName; | import javax.xml.rpc.handler.GenericHandler; | import javax.xml.rpc.handler.MessageContext; | | public class MyWSHandler extends GenericHandler { | | public MyWSHandler() { | super(); | } | | public QName[] getHeaders() { | return new QName[] {}; | } | | public boolean handleRequest(MessageContext msgContext) { | return true; | } | | public boolean handleResponse(MessageContext msgContext) { | return true; | } | } | jaxws-handlers.xml: | http://java.sun.com/xml/ns/javaee"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="http://java.sun.com/xml/ns/javaee javaee_web_services_1_2.xsd"> | | | ##SOAP11_HTTP | | Application Server Handler | my.ws.MyWSHandler | | | | | | the exception: | 17:39:43,296 ERROR [SOAPFaultHelperJAXWS] SOAP request exception | java.lang.ClassCastException: my.ws.MyWSHandler | at org.jboss.ws.core.jaxws.handler.HandlerResolverImpl.addHandler(HandlerResolverImpl.java:148) | at org.jboss.ws.core.jaxws.handler.HandlerResolverImpl.initHandlerChain(HandlerResolverImpl.java:134) | at org.jboss.ws.core.jaxws.handler.HandlerDelegateJAXWS.callRequestHandlerChain(HandlerDelegateJAXWS.java:80) | at org.jboss.ws.core.server.ServiceEndpointInvoker.callRequestHandlerChain(ServiceEndpointInvoker.java:126) | at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:170) | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:408) | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:272) | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:189) | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:122) | at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.jboss.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:230) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179) | 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) | at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580) | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) | at java.lang.Thread.run(Thread.java:595) | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104227#4104227 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104227 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Why I can't start JBOSS 4.2.2GA?
The message is "ç³»ç»æ¾ä¸å°æå®çæ件".I translated it to english that System can't find the specified file. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104223#4104223 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104223 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: jbpm timer transaction issues
Thanks for the speedy reply. I have set that property - heres my config in full: jbpm.cfg.xml | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hibernate.cfg.xml | | | http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd";> | | | | | false | java:/myDatasource | org.hibernate.transaction.JTATransactionFactory | org.hibernate.transaction.JBossTransactionManagerLookup | org.hibernate.cache.HashtableCacheProvider | validate | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Then I start the job executor like so: | @Name("jbpmScheduler") | @Scope(ScopeType.APPLICATION) | @Startup(depends={"org.jboss.seam.bpm.jbpm"}) | @Install(dependencies="org.jboss.seam.bpm.jbpm") | public class JbpmScheduler { | | @Logger | private Log log ; | | @Create | public void startup() { | log.info("Starting the jBPM scheduler"); | start() ; | if (isRunning()) { | log.info("jBPM scheduler has started."); | } else { | log.error("jBPM scheduler was not started.") ; | } | } | | public JobExecutor getJobExecutor() { | | Jbpm jbpm = (Jbpm) Component.getInstance("org.jboss.seam.bpm.jbpm") ; | if (jbpm != null) { | return jbpm.getJbpmConfiguration().getJobExecutor() ; | } else { | return null ; | } | } | | private void start() { | JobExecutor jobExecutor = getJobExecutor() ; | if (jobExecutor != null) { | jobExecutor.start() ; | } | } | | private void stop() { | JobExecutor jobExecutor = getJobExecutor() ; | if (jobExecutor != null) { | try { | jobExecutor.stopAndJoin() ; | } catch (InterruptedException e) { | log.warn( "Could not wait for job executor.", e ) ; | } | } | } | | | private boolean isRunning() { | return getJobExecutor() != null && getJobExecutor().isStarted() ; | } | | @Destroy | public void shutdown() { | | if (isRunning()) { | log.info("Stopping the jBPM scheduler."); | stop() ; | } else { | log.debug("jBPM Scheduler can't be stopped because it was not running."); | } | } | | } | Any further help or comments would be greatly appreciated. Many thanks, Pete View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104225#4104225 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104225 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Why I can't start JBOSS 4.2.2GA?
Sorry.It's chinese message.The page can't display. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104224#4104224 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104224 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user