[jboss-user] [JBoss Seam] - Re: Simple question: finding the client IP address in a sess
If you add auto-create="true" to the factory definition you could just do: | @In String remoteAddr; | (without auto-create, you need create="true" on the above) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998480#3998480 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998480 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - annoying "Save Resource" popup box
I am getting this popup box everytime I type a word, sometimes a letter... Is there a way to turn this auto save feature off? I am using Beta 2 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998479#3998479 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998479 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Nested Page flows (jpdl) and conversations
I'm not entirely sure I'm following, so I'll start with the obvious and see where it goes. Supposing that you start your nested conversation like this: | @Begin(nested=true,pageflow="two") | public void doSomething() { ... } | Flow "two" just needs to start with a start-state: | | | | | | | ... | | That will start a nested conversation and take you to "/page.xhtml". Is that what you were asking, or did I misread the question> View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998478#3998478 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998478 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Simple question: finding the client IP address in a sess
Thank you Norman. I put that into my components.xml and now I can do an injection like: @In("#{remoteAddr}") private String ipString; and it works, which is pretty cool. Seam. There's quite a bit of a learning curve but once it is working it's pretty cool stuff. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998477#3998477 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998477 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - Starting failed jboss.mq.destination:service=Queue, name=XXXQ
hiii all, "thanks for ur help in advance" i have created a queue in jbossmq-destination.xml with the following code : mbean code="org.jboss.mq.server.jmx.Queue" name="jboss.mq.destination:service=Queue,name=XXXQueue"> jboss.mq:service=DestinationManager now when i start my jboss server i found the following error : stack trace - ERROR [XXXQueue] Starting failed jboss.mq.destination:service=Queue,name=XXXQueue java.lang.ClassCastException: [B at org.jboss.mq.pm.jdbc2.PersistenceManager.extractMessage(PersistenceManager.java:519) at org.jboss.mq.pm.jdbc2.PersistenceManager.restoreQueue(PersistenceManager.java:456) at org.jboss.mq.server.JMSQueue.(JMSQueue.java:44) at org.jboss.mq.server.jmx.Queue.startService(Queue.java:80) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:897) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:418) at org.jboss.system.ServiceController.start(ServiceController.java:440) at org.jboss.system.ServiceController.start(ServiceController.java:440) at org.jboss.system.ServiceController.start(ServiceController.java:440) at org.jboss.system.ServiceController.start(ServiceController.java:440) at org.jboss.system.ServiceController.start(ServiceController.java:440) at org.jboss.system.ServiceController.start(ServiceController.java:440) at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:273) 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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:273) at $Proxy35.start(Unknown Source) at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:229) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738) at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.int
[jboss-user] [JBoss Seam] - Re: Simple question: finding the client IP address in a sess
| | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998470#3998470 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998470 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - Regarding MessageDiveenBean Deployment
Hai to all, I am new to jboss.i getting problem while running MDB, any body cam help me the confiuguring MDB JNDI name,needed deploymnet descriptors for running MDB ,and also tell me how to set the INITIAL CONTEXT variables to run jms topic and queue on jboss Thanks & Regards, Srinivasu.k View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998469#3998469 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998469 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: start and kill a conversation
A conversation is ALWAYS begun, no matter what you do. The only thing that @Begin does is mark it as a long running conversation, one that Seam will keep around between requests. To accomplish what you are after, you need to end the conversation and either redirect to a new page that starts a new conversation or else just begin a new conversation on the next click. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998467#3998467 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998467 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: JVM system properties
Hello, In /bin/run.conf file, JAVA_OPTS is used to specify options to pass to the Java Virtual Machine. Hope, this may help you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998466#3998466 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998466 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Clustering supported with 1.01?
"[EMAIL PROTECTED]" wrote : There is no cluster support on 1.0... only on 1.2... and we are working on it. | | Tim Fox wrote a presentation about Messaging on JBoss World. I guess you could get it from JBoss World website. I don't have the URL now though. I am tentatively proposing to my team to use 1.2 (beta). A bit hesitant since the team is not that familiar with Jboss (or J2EE for that matter) so hard to tell when we screw up if it is our fault (90% chance) or a bug we discovered. However my gut feel is that we will otherwise spend at least as much time to get MQ working (played with it a bit and it is not very HA/cluster friendly) and that will sooner or later be throw away knowledge/code. I would prefer to ship with JBoss 5.0 but that is a risk we can't take (our product is planned to ship around the same time). So right now my thinking is to build our product on top of 4.0.5 (maybe 4.2) with messaging 1.2 replacing MQ. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998465#3998465 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998465 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: 1.2Beta: performance test deploy-destination steps gives
I'll keep that in mind when / if I can convince my team to go this route :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998464#3998464 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998464 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: JBoss Eclipse IDE, Eclipse 3.1 and upcoming WTP versions
The only way we have found to "hot deploy" JSP files is to do a file system copy to the destination folder. Is there a similar thing that can be done in JBossIDE for Eclipse 2.0 ? Problem is I am starting the server defining a server in JBoss Inc -> JBoss AS 4.0. Also, how do "Add / Remove Projects" on the server console ? Any help would be appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998463#3998463 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998463 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: start and kill a conversation
Thanks, it clarifies a lot. So the only way to implement what i need is to explicitly create a new onversation within the method body, is it correct? does the following link code begin a conversation before the select method of searchResults component is called? Bye. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998461#3998461 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998461 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Simple question: finding the client IP address in a session
Let's say I'm writing a session bean that does logins. I may want to log the client IP addresses as they make their attempts. Is there some elegant Seam-style injection way to get an IP address? I tried this: @In("#{request.remoteAddr}") private String ipString; but it did not work. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998462#3998462 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998462 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - JEMS 1.2.0.GA with JBossAS 4.0.5.SP1 ?
Will JEMS 1.2.0.GA contain JBoss 4.0.5.SP1 or just JBoss 4.0.5? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998460#3998460 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998460 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
Re: [jboss-user] [Installation, Configuration & Deployment] - Jboss plugin for a web server
> How can I do the same in Jboss. Is there a Jboss-plugin to popular web > servers such as Apche HTTP Server. Yes, mod_jk for apache1, mod_proxy or mod_proxy_ajp for apache2 These connect to the 8009 port (default value) of jboss. There are many examples on the net; search for tomcat,apache,ajp Be aware that these do not encrypt their traffic, so if you really don't trust your dmz, then you need something like ssltunnel as well. Matt ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: 1.2Beta: performance test deploy-destination steps gives
batter wrote : Also noticed that my receive rate is higher than my send rate, impressive :-) Please make sure that you're not in a local singularity area, where the time-space continuum is distorted. :) The story behind the framework is that we wanted to introduce a new kind of tests, the performance test, so it can be automated and systematically run before each major release, and so help us to keep a documented track of how key performance metrics evolved over time and warn us if we majorly screwed up, or allow us to pat ourselves on the back otherwise. The framework is infrastructure for that (you may have noticed that is intended to save data series in a database). Unfortunately (or better said, unfortunately for the time being), the amount of raw functionality to be implemented in the main code base exceeds our resource pool, so the whole performance measuring and monitoring thing has (and I must stress, temporarily) fallen down the priorty list. Once we're feature complete after 1.2, we plan to return to the performance framework and make it more solid. If you're interested in this area, and have ideas on how to improve things, please feel free to contribute them, they are appreciated. Better yet, code them ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998440#3998440 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998440 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - list JNDI bindings from command line client
Hello, I am trying to use JBoss 3.2.5 as a JNDI server. The JBoss is a vanilla install on Gentoo Linux. The standard default server configuration is running unchanged. I attempt to execute the following program, only to see which bindings are available. Output and classpath follow the program listing. I have no idea why this is failing. Any suggestions would be much appreciated. Thanks, Randall --- import java.util.*; import javax.naming.*; public class JNDI { public static void main(String[] args) { try { Context ctx = new InitialContext(); System.out.println("Printing environment keys:"); Hashtable hash = ctx.getEnvironment(); Enumeration keys = hash.keys(); while ( keys.hasMoreElements() ) { Object key = keys.nextElement(); Object value = hash.get(key); System.out.println(key + "=" + value); } ctx.listBindings(ctx.getNameInNamespace()); } catch (Exception e) { e.printStackTrace(); } } } --- OUTPUT: Printing environment keys: java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.provider.url=localhost:1099 java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces javax.naming.CommunicationException [Root exception is java.lang.ClassNotFoundException: org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactory (no security manager: RMI class loader disabled)] at org.jnp.interfaces.NamingContext.listBindings(NamingContext.java:766) at org.jnp.interfaces.NamingContext.listBindings(NamingContext.java:737) at javax.naming.InitialContext.listBindings(InitialContext.java:406) at JNDI.main(JNDI.java:32) Caused by: java.lang.ClassNotFoundException: org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactory (no security manager: RMI class loader disabled) at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:371) at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165) at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620) at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247) at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:197) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1544) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) at java.rmi.MarshalledObject.get(MarshalledObject.java:135) at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:30) at org.jnp.interfaces.NamingContext.listBindings(NamingContext.java:762) ... 3 more --- The classpath this program uses is simply all the jars in the jboss client directory: > echo $CLASSPATH .:/usr/share/jboss/client/jbosssx-client.jar:/usr/share/jboss/client/jacorb.jar:/usr/share/jboss/client/jboss-common-client.jar:/usr/share/jboss/client/jmx-connector-client-factory.jar:/usr/share/jboss/client/jbosscx-client.jar:/usr/share/jboss/client/jboss-client.jar:/usr/share/jboss/client/jmx-client.jar:/usr/share/jboss/client/jsse.jar:/usr/share/jboss/client/jbossha-client.jar:/usr/share/jboss/client/jnet.jar:/usr/share/jboss/client/jboss-iiop-client.jar:/usr/share/jboss/client/avalon-framework.jar:/usr/share/jboss/client/jboss-net-client.jar:/usr/share/jboss/client/jnp-client.jar:/usr/share/jboss/client/jmx-ejb-connector-client.jar:/usr/share/jboss/client/log4j.jar:/usr/share/jboss/client/jboss-jaas.jar:/usr/share/jboss/client/gnu-regexp.jar:/usr/share/jboss/client/jmx-invoker-adaptor-client.jar:/usr/share/jboss/client/concurrent.jar:/usr/share/jboss/client/jmx-rmi-connector-client.jar:/usr/share/jboss/client/jbossall-client.jar:/usr/share/jboss/client/jboss-jsr77-clien! t.jar:/usr/share/jboss/client/xdoclet-module-jboss-net.jar:/usr/share/jboss/client/getopt.jar:/usr/share/jboss/client/jboss-j2ee.jar:/usr/share/jboss/client/jbossmq-client.jar:/usr/share/jboss/client/jboss-transaction-client.jar:/usr/share/jboss/client/jcert.jar:/usr/share/jboss/client/jboss-system-client.jar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998434#3998434 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998434 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Problem with transaction timeout [critical]
Your test is not correct - If rollback() or commit() from DummyTransactionManager is invoked in separate thread, DummyBaseTransactionManager can't find transaction stored in thread_local and IllegalStateException("thread not associated with transaction"); is throwed instead real rollback operation execution. This is unit test that recreates this problem outside WebLogic. AsyncRollbackTransactionManager works like weblogic transaction manager. Note: only rollbacks (and not all ! Only timed out transactions and only if transaction was checked by internal transactionManager timer!) are executed in separate thread! AsyncRollbackTxTest | package org.jboss.cache.transaction; | | import javax.transaction.SystemException; | import javax.transaction.TransactionManager; | | import junit.framework.TestCase; | | import org.jboss.cache.CacheException; | import org.jboss.cache.Fqn; | import org.jboss.cache.TreeCache; | | /** | * Test behaviour of async rollback timeouted transaction | * | * @author mailto:[EMAIL PROTECTED]">Jacek Halat | * @since 1.4.0 | */ | public class AsyncRollbackTxTest extends TestCase | { |private TreeCache cache; |private TransactionManager tm; |private Fqn fqn = Fqn.fromString("/test"); | |protected void setUp() throws Exception |{ | cache = new TreeCache(); | cache.setTransactionManagerLookupClass("org.jboss.cache.transaction.AsyncRollbackTransactionManagerLookup"); | cache.startService(); | tm = cache.getTransactionManager(); |} | |protected void tearDown() |{ | try | { | if (tm != null && tm.getTransaction() != null) | { | try | { |tm.rollback(); | } | catch (SystemException e) | { |// do nothing | } | } | } | catch (SystemException e) | { | // do nothing | } | if (cache != null) cache.stopService(); | cache = null; | tm = null; |} | |public void testControl() throws Exception |{ | assertEquals(0, cache.getNumberOfLocksHeld()); | tm.begin(); | cache.put(fqn, "k", "v"); | assertEquals(1, cache.getNumberOfLocksHeld()); | tm.rollback(); | assertEquals(0, cache.getNumberOfLocksHeld()); |} | |public void testRollbackInDifferentThread() throws Exception |{ | tm.setTransactionTimeout(2); | tm.begin(); | cache.put(fqn, "k", "v"); | assertEquals(1, cache.getNumberOfLocksHeld()); | Thread.sleep(5000); |try{ | tm.commit(); |}catch(Exception e){ |e.printStackTrace(); |} | assertEquals(0, cache.getNumberOfLocksHeld()); | cache.put(fqn, "k", "v");//Executed in Not transactional context | // assertEquals(0, cache.getNumberOfLocksHeld()); | SeparateThread t = new SeparateThread(); | t.start(); | t.join(); | if (t.getException()!=null){ | throw t.getException(); | } |} |private class SeparateThread extends Thread{ | Exception e = null; | public Exception getException() { | return e; | } | @Override | public void run() { | try { | cache.put(fqn, "k", "v"); | assertEquals(0, cache.getNumberOfLocksHeld()); | } catch (CacheException e) { | this.e = e; | } | } | }; | } | | AsyncRollbackTransactionManager | package org.jboss.cache.transaction; | | import java.util.HashMap; | import java.util.Iterator; | import java.util.Map; | import java.util.Properties; | | import javax.naming.Context; | import javax.naming.InitialContext; | import javax.naming.NamingException; | import javax.transaction.HeuristicMixedException; | import javax.transaction.HeuristicRollbackException; | import javax.transaction.InvalidTransactionException; | import javax.transaction.NotSupportedException; | import javax.transaction.RollbackException; | import javax.transaction.SystemException; | import javax.transaction.Transaction; | | public class AsyncRollbackTransactionManager extends DummyTransactionManager{ |static AsyncRollbackTransactionManager instance=null; | |public static DummyTransactionManager getInstance() { | if(instance == null) { | instance=new AsyncRollbackTransactionManager(); | try { | Properties p=new Properties(); | p.put(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.cache.transaction.DummyContextFacto
[jboss-user] [JBoss Seam] - Re: dynamically setting conversation timeout
Seam will come around and overwrite any timeout values you set like that using the page timeouts. You'll need to set the timeout value in pages.xml or in the appropriate *-page.xml files. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998432#3998432 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998432 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: IllegalArgumentException: value of context variable is n
Do you have multiple definitions of the bean classes in your classpath somehow? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998431#3998431 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998431 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: POJOs instantiated twice
One of them is the proxy instance. I guess there is no way for the generated subclass to avoid calling the superclass constructor. That's an interesting side-effect. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998430#3998430 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998430 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: start and kill a conversation
I have no idea why the commandLink doesn't work. Perhaps it is because of something happening in the persist method? @Begin and @End do not really begin and end conversations themselves - they mark the current conversation as being long running or not long running, and Seam makes use of this information at the end of the request. Does that make the behavior you are observing more understandable? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998429#3998429 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998429 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: 1.2Beta: performance test deploy-destination steps gives
"timfox" wrote : One word of warning: I wouldn't expect any great performance from beta - it's completely unoptimised and we have made some major changes since then anyway regarding message delivery etc. and there are more to come. But it's a good exercise to get the performance framework up and running :) Of course, I realize that and am not looking at it too seriously; for me it is more a plaything to get acquainted with this whole thing. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998428#3998428 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998428 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Application scoped component throws Serialization Except
Java transient fields. It is possible that @Transient works on the fields, but I don't know. You are right - injection doesn't seem to be happening during lifecycle methods. I believe it should, but it might be intentional. I'll have to look into it. I am not that familiar with the jboss annotations to control bean pool sizes. I doubt there is an easy way to say "keep them all in memory". (which is fine because I really don't think that would be a very good policy) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998426#3998426 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998426 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - dynamically setting conversation timeout
I want to set dynamically the timeout of current conversation through the method org.jboss.seam.core.Conversation.setTimeout() but this method seems not to have no effect as I explains next: in a stateful ejb, in the method that launches a conversation I code: | import org.jboss.seam.core.Conversation; | ... | @In | private Conversation conversation; | | @Begin | public String selectHotel(Hotel selectedHotel) { | ... | conversation.setTimeout(60); | } but in the subsequent method of the conversation the instruction conversation.getTimeout() shows the value set for conversation-timeout in components.xml instead of 60. Thanks for any help or explanation about this behavior. Maria Consuelo Franky View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998425#3998425 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998425 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss and NetBeans] - Re: Jboss with Jbpm & Jboss Netbeans IDE
What do you mean by "Netbeans does not currently support jBPM" ? I'm working on a JBPM project on NB and it seems to work (up to the point where I use jaxws webservices... but it is another story) The only thing you might need is the visual development of process graphs. For this you can indeed use eclipse then use the generated xml in NB (caution: you cannot show actions or external actors on graphs) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998411#3998411 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998411 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - start and kill a conversation
| http://java.sun.com/jsf/html"; | xmlns:f="http://java.sun.com/jsf/core"; | xmlns:s="http://jboss.com/products/seam/taglib"; | xmlns:t="http://myfaces.apache.org/tomahawk"; | xmlns="http://www.w3.org/1999/xhtml"; version="2.0"> | | search | | | | | id: | managed: | | | name: | | | | | | | | | | | | | | | | | That's the code of my page, i cant understand why clicking the first commandLink the conversation does not sart. Obviusly clicking the first button everything goes fine. I have another problem, i need to kill the active conversation when a click a link on a dataTable, invoke a bean's method wich has to start a new conversation and inject objects. I procedeed this way: 1 - the s:link in the table's row have propagation="end" 2 - the invoked method has @Begin annotation 3 - the method body gets the conversation context and pushes objects into. The conversation ends an starts againg, with the same id, but the behaviour it's not the one i was expecting for. Is the conversation started just when leaving the @Begin annotated method? If this is true i'm pushing objects into a zombie conv... What's the best way to solve this issue? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998415#3998415 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998415 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Application scoped component throws Serialization Except
thanks for your reply. Should I use the @Transient (i.e. for entities) or the java-transient ? I am also accessing another EJB which should be initialized before a PostActivate annotated method is called - however, it seams as if my other bean is null at that point: @In(create=true,value="configuration") Configuration cconfig; Thank you! ~joey View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998413#3998413 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998413 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Application scoped component throws Serialization Except
another question - is there any way to prevent my bean from being "swapped-out" - ? ~thanks joey View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998414#3998414 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998414 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: lossing of attributes in the request scope of jsf
Uh in which version of MyFaces will the fix be available? I recently switched to 1.1.4 but realized that the problem persisted. Regards Alejandro View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998416#3998416 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998416 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - JVM system properties
Folks, Appreciate if anyone here can point me how to configure system properties for the server JVM in JBoss. In WAS, we do this by adding custom properties for JVM under application server process definition. Thanks for your time and help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998424#3998424 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998424 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: lossing of attributes in the request scope of jsf
"domyalex" wrote : Uh in which version of MyFaces will the fix be available? I recently switched to 1.1.4 but realized that the problem persisted. | | Regards | | Alejandro Fixed in 1.1.5. You can use a nightly build. We are also talking about doing a patch branch for 1.1.4. If so, it will be included in that. Stan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998420#3998420 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998420 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Issue with loading jars - NoClassDefFoundError
Solved by setting the attributes "Java2ClassLoadingCompliance" "UseJBossWebLoader" to 'true' in myserver/deploy/jbossweb-tomcat55.sar/META-INF/jboss-service.xml. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998421#3998421 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998421 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam design
Yes, absolutely. Just create your methods - they really are just pojos. If the method happens to look like a JavaBean getter/setter you should mark it as @Transient so that the persistence engine won't get confused. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998418#3998418 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998418 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: javax.xml.bind.annotation annotations all being ignored
I am getting this too, it appears that the WebParam annotation does not work for me either. Are Web annotations picked up by wstools? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998410#3998410 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998410 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss and NetBeans] - Invoke remote EJB3 method from another EJB module NB5.5/Jbos
I have an EJB-module in a EAN that contains EJB3 entity ans session beans. The session beans are exposed as jaxws webservices. Since I want to invoke these methods in an ejb-module which is in another EAR (same server) I first tried to create a jaxws webservice client (following http://wiki.netbeans.org/wiki/view/JAXWSJBoss) But after one week trying to solve all the exceptions either in NB or Jboss and installing/uninstalling all possible combinations of JAXWS, JAXB, EJB3 versions, I decided to give up. (The webservice itself works well as I can test the operations in a JAXRPC1.6 web client in NB). Does someone ever manage to do this ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998409#3998409 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998409 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Can't get JCA datasource using JNDI
Actually I'm deploying a website for JBoss. Mi commitment is make this site to work with this databases: ORACLE MYSQL SQL SERVER My fellow and me wrote the access to the database in a simple class (this project has no entity-beans). Servlets and a java application need access to database. Our current database is mysql. Finding out a way to configure access to database, I found that using JCA its possible to bind connections to databases using files with the name in the format *ds.xml. What I did is to work with a file I called DB-ds.xml (according JCA standard) and wrote an initial mysql configuration. Below is the content of this file: | | | |
[jboss-user] [JBossWS] - javax.xml.bind.annotation annotations all being ignored
Hi, my name is Brett, and my company is pretty new to java web services, but we need to use them to communicate between PowerBuilder and EJB3. As far as I can tell, it looks like the annotations from the javax.xml.bind.annotation are being completely ignored in our deployed web services. Below is an example: The web service class... | package com.nsighttel.ejb.services.validation.creditcard; | | import java.io.Serializable; | | import javax.ejb.Stateless; | import javax.jws.WebMethod; | import javax.jws.WebParam; | import javax.jws.WebService; | import javax.jws.soap.SOAPBinding; | | import com.nsighttel.domain.MonthYearWS; | | @Stateless | @WebService | @SOAPBinding(style = SOAPBinding.Style.RPC, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED) | public class CreditCardVerificationServiceWS implements Serializable { | private static final long serialVersionUID = 1L; | | @WebMethod | public int isValid( | @WebParam(name = "cardExp")MonthYearWS cardExpWS | ){ | return 1; | } | | } | And the class for the WebParam... | package com.nsighttel.domain; | | import java.io.Serializable; | import javax.xml.bind.annotation.XmlAccessorType; | import javax.xml.bind.annotation.XmlTransient; | import javax.xml.bind.annotation.XmlAccessType; | | @XmlAccessorType(XmlAccessType.FIELD) | public class MonthYearWS implements Serializable { | private static final long serialVersionUID = 1L; | private Boolean isNull; | private Integer month; | private Integer year; | @XmlTransient private MonthYear obj; | | | public MonthYearWS(Boolean isNull, Integer month, Integer year) { | this.isNull = isNull; | this.month = month; | this.year = year; | if (isNull == null || !isNull){ | obj = new MonthYear(month,year); | } | } | | public Boolean getIsNull() { | return isNull; | } | | public void setIsNull(Boolean isNull) { | this.isNull = isNull; | } | | public Integer getMonth() { | return month; | } | | public void setMonth(Integer month) { | this.month = month; | } | | public Integer getYear() { | return year; | } | | public void setYear(Integer year) { | this.year = year; | } | | @XmlTransient | public MonthYear getObj(){ | return obj; | } | | public void setObj(MonthYear obj){ | this.obj = obj; | } | } | No matter what annotations I use, I get isNull, month, year, and obj all in my WSDL file for the above web service. The @XmlTransient annotation on the getObj() function is not being honored, as I am still getting obj in the WSDL file. Furthermore, if I take away all of the public getter functions, then I get no elements in my WSDL file. Therefore, the @XmlAccessorType(XmlAccessType.FIELD) is not being honored either. I have tried a few other annotations from the javax.xml.bind.annotation package, but none of them appear to be working either. Could someone please clue me in to what I may be doing wrong? Does Jboss not support these annotations? Or maybe the annotations do not apply to web services? Any help is greatly appreciated. Thanks! -Brett Birschbach View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998406#3998406 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998406 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Lazy mans guide to developing SEAM!
The examples in other posts are ant-build-deploy based... including how to connect to a running server "somewhere ourside the IDE" - e.g. a Live/Pre Production Server. For developement you probably don't want to do that! If you have a Good IDE why not use it? I generally work alone on projects so time is king! So, call me very sad but I could not stand the time taked to ant build/redeploy each time I made a tiny change !!! so I bothered to set up a J2EE project in MYEclipse comprising of three parts: .ear .jar .war I then ripped apart a war created for the booking example (from Ant) and kept fiddling until I finally got the right Jars/Code in the right areas (ear, jar and war) that matched the WAR. (I can supply this!) I then told MyEclipse to "deploy as exploded" to my JBoss server; which creates a directory in the JBoss Deploy area called xxx.ear and puts your "real" code in there... unarchived! NEAT! I then just run the JBoss server from INSIDE MyEclipse with one button click and generally when I change code/xhtml I don't even have to redeploy/restart the server; it just works... and I can also set breakpoints etc. (might have to close the browser to clear the browsers cache of .css and .xhtml though!) All your output from the server, including your logging statements, is in the MyEclipse console and you just set breakpoints in your code and it works! none of this fiddling with Jboss config etc. Set your log statements to info to see them in the console (the easy option as JBoss logs by default to info I guess) or else do some fiddling in the Jboss Logger Config XML file (cant remember the name) to either: 1. change the default outputter to log at the level of debug (you get a lot of debug info from everywhere including the JBoss server itself! some of it quite interesting and amusing!) OR (the geek solution) 2. add a outputter for your project that outputs your applications packages logging (xxx...xxx) at the debug level. - See a Geek for how to do this or RTFM from JBoss as it should be in there! Now, if you change the code too much (i.e. change an interface) then you get MyEclipse reporting (on behalf of JBoss) that it can't manage the change and you are offered the option to terminate the server; which I generally do; and then re-start it (again one-click from inside MyEclipse). Finally, when I have to, I write an ant script for other people ! (Not actually done one yet and been working this project for weeks!!!) NOTE: MyEclipse is SUPPOSED to deploy as an WAR archive as well as exploded but I never get a valid war !!! as the application.xml gets munged...(e.g. risingstars.war.war). This is a shame as then I would only have to writer an Ant script at the VERY VERY end to get rid of some Jars I dont need deployed (the test ones) but I think I may be able to fiddle around more and have "dependent" projects in MyEclipse to get round this e.g. ._testing.ear. (NOte to self - RTFM in MyEclipse as I can't 'NOT' deploy a jar file from my project to the exploded or archived project). Not bad for a tool that really doesn't even support SEAM/EJB3. If you go this route make sure you do this: Under .ear go into properties Under EAR check the option for "Do No Modify 'application.xml' (I will manually manage it)" as it gets it wrong! SEAM + IceFaces Related stuff: I seem to have ended up with the same jars in some/all parts of the project! seems to still work ok though. You seem to have to add your icefaces jars to the application.xml | | risingstars | | | | risingstars.war | /risingstars | | | | risingstars.jar | | | jboss-seam.jar | | | icefaces.jar | | | icefaces-comps.jar | | | And if you have to use IceFaces table etc. then dont forget to open this file: C:\Program Files\jboss-4.0.5.GA\server\default\deploy\jbossweb-tomcat55.sar\META-INF\jboss-service.xml and alter this line: true and no, I don't know why. MyEclipse are looking to add in EJB3 support and possibly Seam support but that depends on the support from JBoss Seam Team I guess and they may not want to take this "inside the IDE approach". I can only hope the MyEclipse Devs talk to Gavin or Michael. Hope this helps. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998405#3998405 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998405 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam design
When I say "non-persistent method" I'm referring to entity methods which don't have persistable attributes associated with them (i.e. logic only). There is surely a better way of describing it. These methods are actually related to the current state of a PERSISTED entity, so an empty pojo is of little use to them. It's really semantic state-sensitive logic. To explain, consider my other (slightly confusing) post, to which you graciously responded. http://www.jboss.com/index.html?module=bb&op=viewtopic&t=98505 I have an entity, which I have loaded from the EntityManager. It has an Integer attribute named status. Status can be 0 or 1. On the client I want to display "OK" for 0 and "BAD" for 1. I'm still developing the POC for the solution but it's much simpler than I thought. I just put the "non-persistent methods" in the base class of the entity. Here is a contrived example: public abstract class StatusBase { | public abstract Integer getStatus(); | | public String getStatusText(){ | if(getStatus().intValue() == 0){ | return "OK"; | }else{ | return "BAD"; | } | } | } | @Entity | @Name("statusExample") | @Table(name = "MY_TABLE") | public class Status extends StatusBase implements Serializable { | public Integer status = null; | | @Column(name = "STATUS", length = 1, nullable = false) | public abstract Integer getStatus(){ | return this.status; | } | } | This way I can still interact with the entity to get the non-persistent value for the view. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998403#3998403 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998403 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: 1.2Beta: performance test deploy-destination steps gives
One word of warning: I wouldn't expect any great performance from beta - it's completely unoptimised and we have made some major changes since then anyway regarding message delivery etc. and there are more to come. But it's a good exercise to get the performance framework up and running :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998402#3998402 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998402 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Installing beta2 fails with ant error
Now takes the time to read the JIRA and mumbles shamefully from corner that it is Friday and beer is *way* overdue :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998400#3998400 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998400 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Installing beta2 fails with ant error
"[EMAIL PROTECTED]" wrote : How about this: http://jira.jboss.org/jira/browse/JBMESSAGING-725? Better than documentation, for people who don't read the documentation ... To my own defense: the userguide that comes with the zip file states in Chapter 5.1.1 Note that you need Apache Ant 1.6.x or newer So I did read the documentation but apparently not the right documentation; you can't blame me for that View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998397#3998397 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998397 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: 1.2Beta: performance test deploy-destination steps gives
OK, changed it as below; step 0 (drain) always fails and I had to add a to the 0Kb throughput test to actual be able to compare the two. I noticed that only this test turned is on by default in perf.xml. Also noticed that my receive rate is higher than my send rate, impressive :-) Anyways the output I was able to generate, let me know if that is what you would expect and again, thanks for the help (differences between MQ and messaging seems rather small (~5%) in the particular test): | [java] 13:51:09,937 INFO [PerformanceTest] | [java] 13:51:09,937 INFO [PerformanceTest] PerformanceTest[Throughput O KB Message Non-Persistent Non-Transactional, 1 sender, 1 receiver](JBossMessagin | g, JBossMQ) | [java] 13:51:09,937 INFO [PerformanceTest] | [java] 13:51:10,093 INFO [PerformanceTest] executor rmi://localhost:/remote on-line | [java] 13:51:10,109 INFO [PerformanceTest] executor rmi://localhost:/local-messaging on-line | [java] 13:51:10,109 INFO [PerformanceTest] executor rmi://localhost:/local-messaging2 on-line | [java] 13:51:10,109 INFO [PerformanceTest] | [java] 13:51:10,109 INFO [PerformanceTest] Execution 1 (provider JBossMessaging) | [java] 13:51:10,187 WARN [PerformanceTest] job DRAIN JOB failed: null | [java] 13:51:10,187 INFO [PerformanceTest] 0. FAILURE | [java] 13:51:10,187 INFO [PerformanceTest] 1. PARALLEL | [java] 13:51:15,250 INFO [PerformanceTest] SEND JOB sent 1000 messages in 5001 ms with a target rate 200 messages/sec, real rate 199.96 messages/sec | | [java] 13:51:15,250 INFO [PerformanceTest] RECEIVE JOB received 1000 messages in 4969 ms with a target rate 0 messages/sec, real rate 201.25 message | s/sec | [java] 13:51:15,250 INFO [PerformanceTest] 2. PARALLEL | [java] 13:51:17,797 INFO [PerformanceTest] SEND JOB sent 1000 messages in 2500 ms with a target rate 400 messages/sec, real rate 400.0 messages/sec | [java] 13:51:17,797 INFO [PerformanceTest] RECEIVE JOB received 1000 messages in 2485 ms with a target rate 0 messages/sec, real rate 402.41 message | s/sec | [java] 13:51:17,797 INFO [PerformanceTest] | [java] 13:51:17,797 INFO [PerformanceTest] executor rmi://localhost:/remote on-line | [java] 13:51:17,812 INFO [PerformanceTest] executor rmi://localhost:/local-jbossmq on-line | [java] 13:51:17,812 INFO [PerformanceTest] executor rmi://localhost:/local-jbossmq2 on-line | [java] 13:51:17,812 INFO [PerformanceTest] | [java] 13:51:17,812 INFO [PerformanceTest] Execution 2 (provider JBossMQ) | [java] 13:51:17,859 WARN [PerformanceTest] job DRAIN JOB failed: javax.naming.Reference | [java] 13:51:17,859 INFO [PerformanceTest] 0. FAILURE | [java] 13:51:17,859 INFO [PerformanceTest] 1. PARALLEL | [java] 13:51:23,047 INFO [PerformanceTest] SEND JOB sent 1000 messages in 5016 ms with a target rate 200 messages/sec, real rate 199.36 messages/sec | | [java] 13:51:23,047 INFO [PerformanceTest] RECEIVE JOB received 1000 messages in 5016 ms with a target rate 0 messages/sec, real rate 199.36 message | s/sec | [java] 13:51:23,047 INFO [PerformanceTest] 2. PARALLEL | [java] 13:51:25,719 INFO [PerformanceTest] SEND JOB sent 1000 messages in 2609 ms with a target rate 400 messages/sec, real rate 383.29 messages/sec | | [java] 13:51:25,719 INFO [PerformanceTest] RECEIVE JOB received 1000 messages in 2640 ms with a target rate 0 messages/sec, real rate 378.79 message | Here is my updated destination.xml file: | | | | | | |jboss.messaging:loader=ScopedLoaderRepository | java2ParentDelegation=false | | | | jboss.messaging:service=ServerPeer | jboss.messaging:service=PostOffice | | | | | jboss.messaging:service=ServerPeer | jboss.messaging:service=PostOffice | 50 | | | | jboss.messaging:service=ServerPeer | jboss.messaging:service=PostOffice | 75000 | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998395#3998395 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998395 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Support for the
Hello, I have a fairly critical question for our development team. We are working on a product that uses Microsoft's WS-* library: WSE 3.0 (I'm a long-time Java Dev, but recently have had to work on a .net project. What can you do...). Microsoft's library supports both the "http transport" for sending SOAP messages, and the "tcp transport." For those of you not aware of what the "tcp transport" is, if you set your WS-* library to use the TCP transport, you can create web services outside of a webserver. What happens is the web service will send and receive messages using the TCP protocol, instead of HTTP. We are now checking the compatibility of using JbossWS with MS WSE 3.0. We will be using a JbossWS client to connect to MS WSE 3.0 server app using WS-Messaging and WS-Addressing. The compatibility of the two seems pretty close, but it doesn't seem like JbossWS supports the tcp transport. I checked around the documentation, the forum and the source itself and couldn't find anything (may have missed it). Does anyone know if it supports the TCP Transport? Any help would be greatly appreciated! Thanks in advanced, Peter [EMAIL PROTECTED] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998391#3998391 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998391 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: Unable to Configure JBossWS Project
Here's an actual link to the image: http://www.skanpresby.org/JBossIDEProblem.png View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998383#3998383 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998383 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: Unable to Configure JBossWS Project
Hi, thanks for your post.. we'll have to look into this, as it seems to be some mac-specific problem.. sorry for the inconvenience.. regards, /Ole eviware.com View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998385#3998385 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998385 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Unable to Configure JBossWS Project
Hello All! First off the basics: Operating system Mac OS X 10.4.8 Java version 1.5.0_06 Eclipse version 3.2.1 JBoss-IDE version 2.0.0 beta2 JBoss version 4.0.5 GA As per this tutorial http://www.soapui.org/jbossws/bottomup_example.html I am trying to use the JBoss IDE plugin to Eclipse to publish a POJO Web Service. Everything works just fine until I get to the part of the tutorial titled Enabled the JBossWS Nature. Instead of the dialog that is shown in the tutorial, I get the following screen: [img]http://www.skanpresby.org/JBossIDEProblem.png[/img] Clicking 'OK' on this dialog gets me through this step of the tutorial, but I come across a dialog that suffers from the same symptoms later on in the workflow. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998382#3998382 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998382 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Unable to Configure JBossWS Project
Hello All! First off the basics: Operating system Mac OS X 10.4.8 Java version 1.5.0_06 Eclipse version 3.2.1 JBoss-IDE version 2.0.0 beta2 JBoss version 4.0.5 GA As per this tutorial http://www.soapui.org/jbossws/bottomup_example.html I am trying to use the JBoss IDE plugin to Eclipse to publish a POJO Web Service. Everything works just fine until I get to the part of the tutorial titled Enabled the JBossWS Nature. Instead of the dialog that is shown in the tutorial, I get the following screen: [img]http://www.skanpresby.org/JBossIDEProblem.png[/img] Clicking 'OK' on this dialog gets me through this step of the tutorial, but I come across a dialog that suffers from the same symptoms later on in the workflow.[/img] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998381#3998381 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998381 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: 1.2Beta: performance test deploy-destination steps gives
I actually haven't tested the framework with 1.2 yet, so you're running into an incompatible deployment descriptors situation. Update the destination deployment descriptors to be compatible with 1.2. Look at those that come with 1.2. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998380#3998380 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998380 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Delegation configuration
Can the configuration of a delegation contain references to variables? Since it isn't in the documentation, I am assuming it can't. I just want to make sure. For example, I want to be able to say: myvar where "myvar" is actually a variable reference. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998379#3998379 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998379 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Installing beta2 fails with ant error
How about this: http://jira.jboss.org/jira/browse/JBMESSAGING-725? Better than documentation, for people who don't read the documentation ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998378#3998378 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998378 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: NEED PLUGIN????
I don't want to be intense, but to solve this problem is very important for me, just tell me what i must do... please Regards jainer e. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998376#3998376 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998376 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - 1.2Beta: performance test deploy-destination steps gives cla
Trying to run the performance tests against the 1.2 beta and seeing the below exception when I execute the ant deploy-destinations step. 12:59:52,380 ERROR [MainDeployer] Could not create deployment: file:/C:/Program Files/jboss-4.0.5.GA/server/messaging/deploy/messaging-destinations-service.xm | l | org.jboss.deployment.DeploymentException: No ClassLoaders found for: org.jboss.jms.server.destination.Queue; - nested throwable: (java.lang.ClassNotFoundExcep | tion: No ClassLoaders found for: org.jboss.jms.server.destination.Queue) | at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196) | at org.jboss.system.ServiceController.install(ServiceController.java:226) | at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy4.install(Unknown Source) | at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) | at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy6.deploy(Unknown Source) | at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) | at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225) | Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.jms.server.destination.Queue | at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:306) | at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:511) | at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405) | at java.lang.ClassLoader.loadClass(ClassLoader.java:251) | at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1204) | at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:286) | at org.jboss.system.ServiceCreator.install(ServiceCreator.java:193) | at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:449) | at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998374#3998374 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998374 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:decorate with h:inputText with f:convertNumber on Floa
How does it fail? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998373#3998373 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998373 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - beta1.2: Update in the performance chapter needed
To run the test you have to call ant run not ant. To stop the executors you need to run ant stop-executors, not kill-executors View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998372#3998372 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998372 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam design
What is a "non-persistent method"? Create an instance of the pojo entity class without involving an entity manager - call all the methods you want and there is no persistence involved. Set fields - it won't get written to the database. The entity manager on gets involved when you specifically ask it to. Again - the entity IS the lightweight object to interact with at all tiers. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998370#3998370 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998370 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: EL enhancements
It is only for invocations, as far as I know. You can, however, create your own EL functions to deal with the type of thing you want to do. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998369#3998369 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998369 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: GWT with JBPM
jBPM is a business process management engine. Not a RAD suite. if you are looking that uses jBPM to help drive some RAD, one of the more promising ones is at: http://sourceforge.net/projects/taylor/ But, it's not a commercial, buy this and magically gets everything working for you solution...instead, just purchase professional services from some place ;-) -D View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998367#3998367 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998367 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Refreshing dataTable - Too many conversation
Norman, I have shown only a small part of my code. I have information that should be shared between different conversation so I decided to put the TestManagerBean into the session. Anyway, I have changed the scope from SESSION to CONVERSATION but the behaviour is the same. Each time I refresh the page that contains the dataTable a new conversation is started. Any idea ? Thank you Fabrizio View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998366#3998366 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998366 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Installing beta2 fails with ant error
Upgrading to ant 1.7 did the trick, but the documentation should reflect this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998365#3998365 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998365 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Custom JSF tags
ok ... problem solved. No need for a xhtml file. I keep all code as initially described in the first post but, instead of using the tld descriptor, I use the xml one as this: http://www.x.com/jsf div javax.faces.Panel com.x.framework.view.jsf.components.Div and the reference on web.xml: facelets.LIBRARIES /WEB-INF/x.taglib.xml Thank you all for your help. Paulo. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998364#3998364 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998364 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Slimming JBoss 4.05 Server Configuration
Where can I find information on slimming a JBoss 4.0.5 server configuration? I see that the Wiki includes a page based on the JBoss 3.2.6: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossASTuningSliming I would like to find an updated document, if one exists. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998362#3998362 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998362 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Installing beta2 fails with ant error
What ant version should I use. Downloaded the beta version and can't install because of below error: [C:/temp/jboss-messaging-1.2.0.Beta1/util] ant -f release-admin.xml | Buildfile: release-admin.xml | | default: | | BUILD FAILED | C:\temp\jboss-messaging-1.2.0.Beta1\util\release-admin.xml:36: The following error occurred while executing this line: | C:\temp\jboss-messaging-1.2.0.Beta1\util\release-admin.xml:519: Class org.apache.tools.ant.taskdefs.ConditionTask doesn't support the nested "length" element. | | Total time: 1 second | [C:/temp/jboss-messaging-1.2.0.Beta1/util] ant -version | Apache Ant version 1.6.2 compiled on July 16 2004 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998363#3998363 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998363 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Some trouble with EJB3 StatefulSessionBean in Clustering
Somewhere in the log there's probably a full stack trace. If you can find and post that, it may help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998361#3998361 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998361 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Multiple persistence.xml files - single persistent unit
Hi, anyone have any luck with this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998358#3998358 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998358 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Question about injecting env-entry into interceptor
Actually, it works for me only if I specify in the ejb-jar.xml the injection target, as shown in the original message (I use @Resource annotation without any parameters though) However, If I understand the spec correctly, it should work without specifying the , just env-entry name, type, and value. Also, as long as the name is the same as the interceptor's property in the java class, it should work with @Resource, no parameters. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998359#3998359 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998359 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to debug seam-gen generated project in Eclipse (JBos
I might be able to help: 1. Edit run.bat in your jboss/bin directory. 2. Add the following line after the last "set JAVA_OPTS=" line: set JAVA_OPTS= -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=5001,server=y,suspend=n %JAVA_OPTS% (I chose port 5001 but you can choose whatever port you want, unless it's free ;) ) 3. Go to your Seam project in Eclipse, click the "Debug As" button, or just debug and select "Remote Java Application". Enter the port you chose before and click on debug.TA DA :) (JBoss must already be running) 4. Set your breakpoints and jump for joy! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998357#3998357 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998357 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Question about injecting env-entry into interceptor
i'm experiencing the same problem in 4.0.5GA (RC9 of EJB3.0) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998345#3998345 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998345 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam design
I see your point, and I'm certainly starting to subscribe to this line of thinking. The only thing I'm still wondering (which may be a better question for the EJB3 forum) is if there is a way to legally implement non-persistent methods in the entity? I guess this would fall into the "behavior" category, which you mentioned. It would behave something like the @Transient annotation for methods, rather than fields as the doc states. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998339#3998339 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998339 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - EL enhancements
Is the "parameterized EL" enhancement only available for action handlers, or can it be used for accessors too? Suppose I have an entity which has the following field: STATUS NUMBER(1) ...and there are two possible values for status(0=OK, 1=BAD). I retrieve a list of these entities within my action and outject it using @DataModel. Within dataTable, resolve that status number to a String value. JSF Action public String getStringValue(int code){ | if(code == 0 ){ | return "OK"; | }else{ | return "BAD"; | } | } I supect that I'm not going to hear what I want to, but it was worth a try. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998333#3998333 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998333 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Custom JSF tags
Nice .. Thanks for all the replies ?. I saw the facelet tag example but have one doubt: How do I represent a div html tag similar to the nbsp showed there? Would it be something like this? http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w3.org/1999/xhtml"; xmlns:f="http://java.sun.com/jsf/core"; xmlns:ui="http://java.sun.com/jsf/facelets";> ??? What goes here? ??? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998331#3998331 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998331 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Issue with loading jars - NoClassDefFoundError
Folks, After successful installation and configuration of JBoss 4.0.5 on AIX 5.1 with JDK 1.4.2, I tried deploying a .ear file that was initailly build for WAS 5. I saw few errors during the deployment and I believe they are because of in-proper loading of jar files. Sample of exception is as below: java.lang.NoClassDefFoundError: org/jdom/JDOMException at org.grnds.facility.GrndsCommonFacilityBootstrap.getXmlFileSource(GrndsCommonFacilityBootstrap.java:485) at org.grnds.facility.GrndsCommonFacilityBootstrap.doSetupConfiguration(GrndsCommonFacilityBootstrap.java:238) at org.grnds.facility.GrndsCommonFacilityBootstrap.execute(GrndsCommonFacilityBootstrap.java:158) I know one way of making the .jar files available to the application is to copy all of them to 'server/lib'. Is there any other way of making this? Do I need to configure something to force the server to add these jars to the CLASSPATH? Appreciate yout time and help. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998330#3998330 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998330 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam and Portal Future
On your last point, my standard Spring bash is "Spring - a much simpler way to write broken J2EE applications." :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998329#3998329 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998329 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: How to get a WorkManager from a Bean
The WorkManager is reserved for ResourceAdapters and is not applicable to other EE components (Servlets/EJB). At this point, there is no generalized notion of a WorkManagement API across the entire application environment. A JSR has been submitted but there is no work currently being done on it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998328#3998328 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998328 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Pbs when consuming a Web Service with JBoss WS 1.0.3 and 1.0
Hello everybody, I'am trying to consume a web service I wrote - based on the samples provided with JBoss WS. I'm using JBoss 4.0.4.GA with JDK 1.4.2_06 - we are using 1.4 because of some other third party software we are using which do not support 1.5 yet. I have no problem with consuming the web service when the web service client and the web service implmentation share the Java source code of the service end point interface. The case which is of interrest for us is to not have the service end point interface on the client side but rely on WSDL instead - we need to demonstrate that we are able to consume any web service, including the ones for which we don't have the source code of the service endpoint interface. After installing JBoss WS 1.0.3 and JBoss XB 1.0.0.CR7, I have the following error when consuling the web service : 2007-01-05 17:12:33,406 ERROR [STDERR] [SEVERE] [DACC995A4FA18232BEA04A3CE9708A1D] [79d39d9f8f18bfd0b3f6f3bbd51d82f5] [LOG_EXCEPTION] [java.lang.NoSuchMethodError: org.jboss.xb.binding.sunday.unmarshalling.SchemaBinding.setXopUnmarshaller(Lorg/jboss/xb/binding/sunday/xop/XOPUnmarshaller;)V at org.jboss.ws.jaxb.JBossXBUnmarshallerImpl.unmarshal(JBossXBUnmarshallerImpl.java:60) at org.jboss.ws.jaxrpc.encoding.JAXBDeserializer.deserialize(JAXBDeserializer.java:92) at org.jboss.ws.soap.SOAPContentElement.getObjectValue(SOAPContentElement.java:235) at org.jboss.ws.binding.EndpointInvocation.transformPayloadValue(EndpointInvocation.java:233) at org.jboss.ws.binding.EndpointInvocation.getReturnValue(EndpointInvocation.java:182) at org.jboss.ws.jaxrpc.CallImpl.syncOutputParams(CallImpl.java:873) at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:704) at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:404) at com.ecitiz.mairie.toulouse.ws.TarifCantineWSCall.Invoke(TarifCantineWSCall.java:97) The web service is reached and compute the result, but then things are getting wrong. The strange point is that I checked in the JBoss XB 1.0.0.CR7 source code that this method indeed exist ! I then double checked that I indeed put the right jar file in JBoss's "client" and "lib" directories. I even resintalled JBoss and JBoss WS from scratch to make sure everything is clean - and rebuilt all my application items. I then tried with JBoss WS 1.0.4 and JBoss XB 1.0.0.CR7 : I get another error : this time, I cannot even reach the web service because of this error : 2007-01-05 18:00:33,359 ERROR [STDERR] [SEVERE] Error while invoking Web Service: org.jboss.ws.WSException: Cannot load service endpoint interface: com.ecitiz.mairie.toulouse.cantine.ws.tarif.TarifCantineContract at org.jboss.ws.metadata.EndpointMetaData.getServiceEndpointInterface(EndpointMetaData.java:228) at org.jboss.ws.metadata.EndpointMetaData.initializeInternal(EndpointMetaData.java:467) at org.jboss.ws.metadata.EndpointMetaData.eagerInitialize(EndpointMetaData.java:454) at org.jboss.ws.metadata.ServiceMetaData.eagerInitialize(ServiceMetaData.java:439) at org.jboss.ws.metadata.UnifiedMetaData.eagerInitialize(UnifiedMetaData.java:183) at org.jboss.ws.deployment.JSR109ClientMetaDataBuilder.buildMetaData(JSR109ClientMetaDataBuilder.java:132) at org.jboss.ws.deployment.JSR109ClientMetaDataBuilder.buildMetaData(JSR109ClientMetaDataBuilder.java:85) at org.jboss.ws.jaxrpc.ServiceImpl.(ServiceImpl.java:96) at org.jboss.ws.jaxrpc.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:158) at org.jboss.ws.jaxrpc.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:129) at com.ecitiz.mairie.toulouse.ws.TarifCantineWSCall.Invoke(TarifCantineWSCall.java:85) ... at java.lang.Thread.run(Thread.java:534) Caused by: java.lang.ClassNotFoundException: com.ecitiz.mairie.toulouse.cantine.ws.tarif.TarifCantineContract at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1352) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198) at org.jboss.ws.metadata.EndpointMetaData.getServiceEndpointInterface(EndpointMetaData.java:219) ... 50 more I tried both installations several time and took care of the following : - deleted jboss-4.0.4.GA\server\default\work\ content - deleted jboss-4.0.4.GA\server\default\tmp\ content - deleted jboss-4.0.4.GA\server\default\jbossws14.sar\ content - unzipped jbossws-1.0.3.GA\lib\jboss-jdk1.4\jbossws14.sar in jboss-4.0.4.GA\server\default\jbossws14.sar\ - copied jbossws-1.0.3.GA\lib\jboss-jdk1.4\jbossws14-client.jar in JBoss' "client" directory - copied jboss-xml-binding.jar - got it here : http://repository.jboss.com/jboss/jbossxb/1.0.0.CR7/lib/ - in JBoss's "client" and "lib" directories. - deleted all the build produced items and rebuild the web service implementation and client app... Note that I changed
[jboss-user] [JBossCache] - Re: Problem with transaction timeout [critical]
I've put together a test, see if this accurately describes your problem. It is in CVS, in Branch_JBossCache_1_4_0. Or, view the test online. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998324#3998324 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998324 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - EJB QL - Inheritence Query Question
Assume the following environment: I have a base abstract class setup for inheritence that has a Many-to-Many relationship with another class like: | @Entity | @Inheritance(strategy = InheritanceType.JOINED) | public abstract class Automobile implements Serializable | { |private Set parts; | |@ManyToMany(mappedBy="parts") |public Set getParts() |{ | return parts; |} | } | | @Entity | public class Part implements Serializable | { |private Set autos; | |@ManyToMany(cascade=CascadeType.ALL, fetch=FetchType.EAGER) |public Set getAutomobiles() |{ | return autos; |} | } | | | I have two classes that derive from my base calss. | @Entity | public class Car extends Automobile | | @Entity | public class Truck extends Automobile | Can a EJB QL query be constructed such that I only get results for one of the derived classes? Something like: for this part get only the "Cars" associated with it. SELECT auto FROM Autobile auto, IN(auto.parts) AS part where part=:specificPart and "Automobile instanceof Car" View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998321#3998321 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998321 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - shun=true and JVM freezes + replication queue
We are running into issues with our jbosscache cluster running inside a Tomcat 5.5.17 on JDK1.5.08. We are using the BETA of 1.4.1 that was released back in november. Here's the current treecache config and below the current jgroups stack we are using: | | | | | | | | | | | | | | | | | | | | | | | | | jgroups stack: | treeCache.clusterProperties=UDP(ip_mcast=true;ip_ttl=64;loopback=false;mcast_addr=${treeCache.mcastAddress};mcast_port=${treeCache.mcastPort};mcast_recv_buf_size=8;mcast_send_buf_size=15;ucast_recv_buf_size=8;ucast_send_buf_size=15;bind_addr=${treeCache.bind_addr}):\ | PING(down_thread=false;num_initial_members=3;timeout=2000;up_thread=false):\ | MERGE2(max_interval=2;min_interval=1):\ | FD_SOCK(down_thread=false;up_thread=false):\ | FD(timeout=4000;max_tries=4;down_thread=false;up_thread=false;shun=false):\ | VERIFY_SUSPECT(down_thread=false;timeout=3000;up_thread=false):\ | pbcast.NAKACK(down_thread=false;gc_lag=50;retransmit_timeout=600,1200,2400,4800;up_thread=false):\ | pbcast.STABLE(desired_avg_gossip=2;down_thread=false;up_thread=false):\ | UNICAST(down_thread=false;;timeout=600,1200,2400):\ | FRAG(down_thread=false;frag_size=8192;up_thread=false):\ | pbcast.GMS(join_retry_timeout=3000;join_timeout=5000;print_local_addr=true;shun=false):\ | pbcast.STATE_TRANSFER(down_thread=true;up_thread=true) | treeCache.eviction.maxNodes=5000 | treeCache.eviction.maxAgeSeconds=1000 | treeCache.eviction.timeToLiveSeconds=900 | We had an event today where one of the 4 JVMs in the cluster froze for about 30s (that's (possibly) a separate problem we are investigating). Here's a sample of the logging from that event: # here is the view: 12 members (4 JVMs with 3 TreeCache instances each) APP2 05/01/2007 09:04:45 INFO [TreeCache.java:5431] - viewAccepted(): [10.163.195.24:33030|131] [10.163.195.24:33030, 10.163.195.24:33033, 10.163.1 95.24:33035, 10.163.195.21:32875, 10.163.195.21:32877, 10.163.195.21:32879, 10.163.195.23:33033, 10.163.195.23:33035, 10.163.195.23:33037, 10.163.195.22:3308 7, 10.163.195.22:33089, 10.163.195.22:33091] # at 12:05:22, the JVM of APP2 froze for about 30s ... # APP4 is the coordinator at this point APP4 05/01/2007 12:05:50 WARN [GMS.java:413] - failed to collect all ACKs (11) for view [10.163.195.24:33030|132] [10.163.195.24:33030, 10.163.195.24:33033, 10.163.195.24:33035, 10.163.195.21:32875, 10.163.195.21:32877, 10.163.195.21:32879, 10.163.195.23:33033, 10.163.195.23:33035, 10.163.195.23:33037, 10.163.195 .22:33089, 10.163.195.22:33091] after 2000ms, missing ACKs from [10.163.195.22:33089, 10.163.195.22:33091] (received=[10.163.195.24:33030, 10.163.195.21:3287 9, 10.163.195.23:33033, 10.163.195.24:33033, 10.163.195.24:33035, 10.163.195.21:32877, 10.163.195.21:32875, 10.163.195.23:33035, 10.163.195.23:33037]), local _addr=10.163.195.24:33030 APP2 05/01/2007 12:05:58 WARN [FD.java:250] - I was suspected by 10.163.195.23:33037; ignoring the SUSPECT message and sending back a HEARTBEAT_ACK APP2 05/01/2007 12:06:00 WARN [GMS.java:478] - I (10.163.195.22:33087) am not a member of view [10.163.195.24:33030|132] [10.163.195.24:33030, 10.163.195.24: 33033, 10.163.195.24:33035, 10.163.195.21:32875, 10.163.195.21:32877, 10.163.195.21:32879, 10.163.195.23:33033, 10.163.195.23:33035, 10.163.195.23:33037, 10. 163.195.22:33089, 10.163.195.22:33091]; discarding view ... APP{1,3-12} 2007-01-05 12:13:44,243 WARN [org.jgroups.protocols.pbcast.NAKACK] - <10.163.195.22:33089] discarded message from non-member 10.163.195.22:33087, m y view is [10.163.195.24:33030|132] [10.163.195.24:33030, 10.163.195.24:33033, 10.163.195.24:33035, 10.163.195.21:32875, 10.163.195.21:32877, 10.163.195.21:3 2879, 10.163.195.23:33033, 10.163.195.23:33035, 10.163.195.23:33037, 10.163.195.22:33089, 10.163.195.22:33091]> We had to manually kill APP2 and restart it. After reading more documentation, we think that shun=true is needed in our use-case: if I understand http://wiki.jboss.org/wiki/Wiki.jsp?page=Shunning correctly, this would have caused APP2 to shun itself from the group when it noticed that it was not part of the view, and then rejoin (since TreeCache configures the JChannel to autorejoin). Am I right? I have several more questions regarding the settings of our stack: * with shun=true, and assuming the "freezes" never exceed 30s, should I configure the timeouts and retries on the FD protocol so that they are > 30s (for example timeout=10
[jboss-user] [JBoss Seam] - Re: Seam and Portal Future
"swestbom" wrote : What is missing from seam applications is independent state maintenance for the various portlets on the page. We have many applications that we want to bring together under one site. These sites are all intranet based so the weight isn't as much of an issue (this can be ameliorated to a considerable degree). | | Also, where appropriate, we use traditional MVC (Sorry, not yours Gavin) and AJAX within portlets to deal with weight and avoid having to rebuild the whole page when an action is called within a portlet, so it is a hybrid. | | I really don't think that portlets are a big pain because I am not using seam to build them, I use that XML crazy other framework that Gavin King loves to take cracks at. On state maintenance - your statement is flat out wrong - I'm going to sound like a Seam salesman, but Seam has one of the best state mgmt. capabilities available in Java-web frameworks. Your problem of tying state to individual regions on a page can be realized in a Seam architecture by using Stateful Session Beans (EJB3) that are associated to a particular conversation for a user-page interaction. In Seam, every component associated with a conversation exists as long as the conversation it's tied to exists. Having experience with both Portals and Seam, I'm going to say that my impression is that Seam's state-mgmt. is better; it's there working for you in an unobtrusive way, but it has hooks that allow you to perform sophisticated state mgmt. when necessary. JSF apps are much easier to 'do Ajax with' than portlet apps - plain and simple. You have the options of letting a JSF component set (like ICEFaces) do the Ajax for you, use something like Seam remoting, do your own Ajax requests, etc... By 'XML crazy other framework' do you mean Spring? --- IMHO - if we were still stuck with EJB 2.X/1.X and Java 1.4 or earlier, then Spring is a great way to build up your application infrastructure. Now that we have Java 5 annotations and JEE - EJB3 with JPA, a lot of the infrastructure difficulty that Spring was created to simplify is gone. Thus, if you can use Java 5 and the EJB3/JPA stuff for your apps, the value of using Spring goes way down. The Seam bijection annotations and annotations like @Resource in EJB3 make life so much easier and saner as a JEE developer. Regards, Brad Smith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998317#3998317 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998317 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - uri: http://java.sun.com/portlet cannot be resolved
Hi All - We're running JBoss Portal 2.4.0 on AS 4.0.4GA on Enterprise Linux 4 ES. I am following the Portlet Primer tutorial (Roy Russo) that came with the download. I downloaded the HelloWorldJSPPorlet.zip, built the WAR and deployed. I'm getting this error: org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/portlet cannot be resolved in either web.xml or the jar files deployed with this application. Does anyone know the correct uri? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998316#3998316 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998316 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam and Portal Future
On the other hand, maybe I just wasn't very clever with the way I did the application. If someone has a suggestion for a simpler way to go about it, I'm all ears. :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998315#3998315 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998315 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Custom JSF tags
Here's a facelet tag example: http://wiki.java.net/bin/view/Projects/FaceletsTaglibsNbsp View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998309#3998309 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998309 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Uninstalling JBossIDE Plugin
Looks like i messed up the plugin install. I want to uninstall it and start over again. How does one go about unstalling the JBossID plugin ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998311#3998311 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998311 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam and Portal Future
Sorry - I hope nobody took me to be promoting portal usage. Portals are a great idea, but I don't have any significant experience with JSR 168 or JBoss Portal to know when/where they should be used. I like the idea, but my knowledge of them begins and ends with my conversations with the guys running jboss.org. I would certainly not try and implement something like that without something (portal, whatever) providing some support. But that's just me. :) On the dvd store - when I said "simulate" a portal, I just meant I tried to create distinct portal-like regions serviced by Seam components. Templating worked great, but I think I would have liked addtional jsf components to manage content-areas better. I could have built them myself, but I'm lazy. Portal-like content areas are not what the dvd store is about and I should have to spend time developing that kind of infrastructure when I'm trying to write a storefront app. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998312#3998312 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998312 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Problem with transaction timeout [critical]
This is an interesting issue, that a separate thread is used for commits and rollbacks. I need to investigate how quickly (or otherwise) such a fix can be implemented. Do you have a unit test that recreates this outside of WebLogic, i.e., as a standalone JUnit test? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998308#3998308 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998308 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Refreshing dataTable - Too many conversation
Taking a step back, why are you trying to start a conversation with a session scoped component? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998305#3998305 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998305 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Diff in behaviour with STATE_SAVING changed to server fr
Can you show some code that can reproduce this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998306#3998306 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998306 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re:
I can see no way that changing the context root in application.xml, by itself, could possibly have that effect. I cannot reproduce it doing this: build/deploy messages to jboss test application change context-root in application.xml build/deploy to jboss test application I would recommend carefully looking at your lib and deploy directories to see if there is anything unusual there. And, if you didn't do it early, please wipe out your tmp and data directories when you do a clean restart just to make sure there isn't something weird happening there. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998303#3998303 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998303 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - jboss 5.0.0 beta1 deeployment problem
Hi, I have problem with deployment when I put scheduler-service.xml in last.deploy directory. If I remove last.deploy directory everything works fine. Errors I've got: 16:24:14,483 ERROR [ReadOnlyAccessFilter] Failed to init ReadOnlyAccessFilter javax.management.InstanceNotFoundException: jboss:service=Naming is not registered. at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:527) at org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:559) at org.jboss.invocation.http.servlet.ReadOnlyAccessFilter.init(ReadOnlyAccessFilter.java:72) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:274) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:396) at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:107) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3693) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342) 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:589) at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) at org.jboss.web.tomcat.tc6.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:315) at org.jboss.web.tomcat.tc6.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:129) at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:355) at org.jboss.web.deployers.WebModule.startModule(WebModule.java:88) at org.jboss.web.deployers.WebModule.start(WebModule.java:66) 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:589) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:184) at $Proxy0.start(Unknown Source) at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42) at org.jboss.system.microcontainer.ServiceControllerContextAction.install(ServiceControllerContextAction.java:46) at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226) at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:198) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:709) at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:429) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:538) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:472) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:320) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:190) at org.jboss.system.ServiceController.doChange(ServiceController.java:656) at org.jboss.system.ServiceController.start(ServiceController.java:431) at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:124) at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:85) at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:44) at org.jboss.deployers.plugins.deployers.helpers.AbstractSimpleRealDeployer.deploy(AbstractSimpleRealDeployer.java:53) at org.jboss.deployers.plugins.deployer.AbstractSimpleDeployer.commitDeploy(AbstractSimpleDeployer.java:52) at org.jboss.deployers.plugins.deployer.DeployerWrapper.commitDeploy(DeployerWrapper.java:145) at org.jboss.deployers.plugins.depl
[jboss-user] [JBossWS] - Re: Web Service as an Stateless Session Bean on JBoss 5.0
I meant to say little experience with JBoss 5 and JBossWS 2.0 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998302#3998302 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998302 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Nested Page flows (jpdl) and conversations
Hello all, I'm trying to understand how to properly implement nested page flows and conversations with jpdl. I would like to have a page flow that will be able to start a new nested flow, but take the outer flow back to a page within itself (but have the client display the start-page of the nested flow). Basically: 1 LoginFlow -> log user in 2 LoginFlow -> Allow user to select a module (section of the website) 3 LoginFlow -> Start a nested flow for the module (which the client sees) 4 LoginFlow -> go back to 2 (when the user switches workspaces back to this flow) The problem I've been having is that I don't know how to start a new nested page flow without having to define the nested flow's start-page in the outer flow. If I do define that page in the outer flow, then when the user switches workspaces back to the outer flow, the current node of the outer flow is set to the same page as the start-page of the nested flow. To put it another way: The page that ends up being rendered to the client is the destination node of the outer flow rather than the nested flow's start-page. What I want is for the outer flow to pause at the time that the nested flow is started, and resume when the user switches workspaces back to the outer flow (I could then define the destination of the outer flow to loop back to a previously displayed page node). Is it possible to do something like this? If so, can someone point me in the right direction? Thanks, Nate View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998300#3998300 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998300 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Web Service as an Stateless Session Bean on JBoss 5.0
Just curious, I have no experience with Jboss 5 and JBossWS, do you have to have a webservices.xml in the ejb jar? In JBossWS 1.0, you needed the wsdl, webservices.xml and the jaxrpc-mapping.xml for deploying regular POJOs. I would assume some JBoss specific descriptor is needed to deploy the webservices under the new JBossWS 2.0 (for JBoss 5) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998301#3998301 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998301 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: No concurrent calls on stateful bean!
I have never used @SerializedConcurrentAccess, but I'm sure it is not the exactly the same. (practically speaking, it may be roughly equivalent though - but I haven't looked into it) You are actually right, seam does serialize access to stateful session beans. I didn't realize we did that. I went ahead and tried the test and the only way I could get anything to happen was by adding a Thread.sleep() to the delete action. And then, I got the expected result: The conversation ended, timed out or was processing another request I wonder what is happening in your case to make it not work... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998299#3998299 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998299 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - How to invalidate SSL Session?
Is there any ways to invalidate SSL session (ex. SSLSession.invalidate()) in the web application? The problem is that we are using client certificate authentication and after the user performs logout on re-login we need to check his client certificate again without restarting the browser. The only way to do so is to invalidate SSL session on logout. In the Servlet specification 2.1 there was a special HTTP request attribute "javax.net.ssl.session" where SSLSession object were stored. In the latter versions there are no such an attribute. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998295#3998295 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998295 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Can't access jmxconsole
If you can't access jmx/web console, then the respective application is not deployed. I bet you should have got some exceptions while starting the server. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998292#3998292 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998292 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - jBPM 3.1.3 and JMS
I'm seeing references to MDB classes in the developer forum, for example CommandListener. Am I going to find any supporting code in jBPM 3.1.3 to implement JMS messaging? I've been through most of the code and do not find anything but the JmsMessageServiceImpl and factory. Do I have everything that I need? thanks -d View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998291#3998291 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998291 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - IllegalArgumentException: value of context variable is not a
Hi, I have a problem with a very simple page. When I call the page, I get the following error: | INFO [Events] no events.xml file found | INFO [Pages] no pages.xml file found | ERROR [STDERR] 05/01/2007 11:59:08 com.sun.facelets.compiler.TagLibraryConfig loadImplicit | INFO: Added Library from: jar:file:/C:/Java/jboss-4.0.5.GA/server/default/./tmp/deploy/tmp38516cenarios-ear-1.0.ear-contents/cenarios-web-1.0-exp.war/WEB-INF/lib/jboss-seam-ui-1.1.jar!/META-INF/seam.taglib.xml | ERROR [STDERR] 05/01/2007 11:59:08 com.sun.facelets.compiler.TagLibraryConfig loadImplicit | INFO: Added Library from: jar:file:/C:/Java/jboss-4.0.5.GA/server/default/./tmp/deploy/tmp38516cenarios-ear-1.0.ear-contents/cenarios-web-1.0-exp.war/WEB-INF/lib/jsf-facelets-1.1.jar!/META-INF/jstl-fn.taglib.xml | ERROR [STDERR] 05/01/2007 11:59:08 com.sun.facelets.compiler.TagLibraryConfig loadImplicit | INFO: Added Library from: jar:file:/C:/Java/jboss-4.0.5.GA/server/default/./tmp/deploy/tmp38516cenarios-ear-1.0.ear-contents/cenarios-web-1.0-exp.war/WEB-INF/lib/jsf-facelets-1.1.jar!/META-INF/jstl-core.taglib.xml | ERROR [STDERR] 05/01/2007 11:59:09 com.sun.facelets.compiler.TagLibraryConfig loadImplicit | INFO: Added Library from: jar:file:/C:/Java/jboss-4.0.5.GA/server/default/./tmp/deploy/tmp38516cenarios-ear-1.0.ear-contents/cenarios-web-1.0-exp.war/WEB-INF/lib/jsf-facelets-1.1.jar!/META-INF/jsf-html.taglib.xml | ERROR [STDERR] 05/01/2007 11:59:09 com.sun.facelets.compiler.TagLibraryConfig loadImplicit | INFO: Added Library from: jar:file:/C:/Java/jboss-4.0.5.GA/server/default/./tmp/deploy/tmp38516cenarios-ear-1.0.ear-contents/cenarios-web-1.0-exp.war/WEB-INF/lib/jsf-facelets-1.1.jar!/META-INF/jsf-core.taglib.xml | ERROR [STDERR] 05/01/2007 11:59:09 com.sun.facelets.compiler.TagLibraryConfig loadImplicit | INFO: Added Library from: jar:file:/C:/Java/jboss-4.0.5.GA/server/default/./tmp/deploy/tmp38516cenarios-ear-1.0.ear-contents/cenarios-web-1.0-exp.war/WEB-INF/lib/jsf-facelets-1.1.jar!/META-INF/jsf-ui.taglib.xml | INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.PRETTY_HTML' found, using default value true | INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default value true | INFO [MyfacesConfig] Tomahawk jar not available. Autoscrolling, DetectJavascript, AddResourceClass and CheckExtensionsFilter are disabled now. | ERROR [STDERR] 05/01/2007 11:59:09 com.sun.facelets.FaceletViewHandler handleRenderException | SEVERE: Error Rendering View[/viewUseCases.xhtml] | java.lang.IllegalArgumentException: value of context variable is not an instance of the component bound to the context variable: displayUseCases | at org.jboss.seam.Component.getInstance(Component.java:1637) | at org.jboss.seam.Component.getInstance(Component.java:1592) | at org.jboss.seam.Component.getInstanceFromFactory(Component.java:1671) | at org.jboss.seam.Component.getInstance(Component.java:1615) | at org.jboss.seam.Component.getInstance(Component.java:1592) | at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:46) | at org.apache.myfaces.config.LastVariableResolverInChain.resolveVariable(LastVariableResolverInChain.java:42) | at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134) | at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65) | at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192) | at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71) | at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56) | at javax.faces.component.UIData.getValue(UIData.java:1019) | at javax.faces.component.UIData.createDataModel(UIData.java:785) | at javax.faces.component.UIData.getDataModel(UIData.java:765) | at javax.faces.component.UIData.getRowCount(UIData.java:191) | at org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.encodeInnerHtml(HtmlTableRendererBase.java:210) | at org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.encodeChildren(HtmlTableRendererBase.java:123) | at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:524) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:234) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239) | at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:580) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
[jboss-user] [JBoss jBPM] - jPDL 3.2.Beta 1 released
check out the new email and jee integration. also the new web console is worth to take a look. the navigation in the web console needs some rework before the final release, though. it even contains a minimal web app with a minimal mail server to check what emails have been sent from the engine. for easy testing of the new mail stuff. check it out ! http://sourceforge.net/project/showfiles.php?group_id=70542&package_id=145174&release_id=476048 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998287#3998287 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998287 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user