[jboss-user] [JBoss Messaging] - Re: Old messages on clean startup
Thanks Clebert, We changed to mysql persistence for some testing and didnt revert back, so that was troubling us. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198871#4198871 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198871 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Verification of Enterprise Beans failed
This one is a 2 year old thread. You might not get any useful response without providing any details about your application, the JBoss and Java versions and the stacktrace. Please open a separate thread in the forum with all these details. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198865#4198865 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198865 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Verification of Enterprise Beans failed
hey even i have the same issue as stated above but i am not able to come out of this can anyone help me View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198863#4198863 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198863 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: JBoss AS 4.2.3.GA java.net.SocketException
If I use 4.2.3 server I could see the socket exception in log file but if I use the same code in jboss-4.2.0.CR2 I don't see this in log file. I see this exception as a DEBUG log message and it is not directly affecting my application(ie, does not throw this exception in TestFacadeBean.java or Client.java). 2008-12-29 23:56:09,504 DEBUG [org.jboss.remoting.transport.socket.ServerThread] WorkerThread#2[192.168.1.60:58092] closing socketWrapper: ServerSocketWrapper[17576e1[TLS_DHE_DSS_WITH_AES_128_CBC_SHA: Socket[addr=/192.168.1.60,port=58092,localport=3843]].17576e1] | 2008-12-29 23:56:09,504 DEBUG [org.jboss.remoting.transport.socket.ServerSocketWrapper] unable to writing CLOSING byte | java.net.SocketException: Connection closed by remote host | at com.sun.net.ssl.internal.ssl.SSLSocketImpl.checkWrite(SSLSocketImpl.java:1246) | at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:43) | at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65) | at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123) | at java.io.ObjectOutputStream$BlockDataOutputStream.flush(ObjectOutputStream.java:1631) | at java.io.ObjectOutputStream.flush(ObjectOutputStream.java:666) | at org.jboss.remoting.transport.socket.ServerSocketWrapper.close(ServerSocketWrapper.java:57) | at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:520) | at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:173) | 2008-12-29 23:56:09,504 DEBUG [org.jboss.remoting.transport.socket.SocketWrapper] unable to close output stream | 2008-12-29 23:56:09,504 DEBUG [org.jboss.remoting.transport.socket.SocketWrapper] ServerSocketWrapper[17576e1[TLS_DHE_DSS_WITH_AES_128_CBC_SHA: Socket[addr=/192.168.1.80,port=58092,localport=3843]].17576e1] closing | 2008-12-29 23:56:20,071 DEBUG [org.jboss.remoting.transport.socket.ClientSocketWrapper] reset timeout: 6000 | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198861#4198861 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198861 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: building 2.02.GA of vfs fails(microcontainer)
anonymous wrote : Downloading: http://repo1.maven.org/maven2 I think you are pointing to a wrong repository. The jar you are looking for is here: http://repository.jboss.com/maven2/org/jboss/test/jboss-test/1.1.0.GA/. The repository is hosted at http://repository.jboss.com/maven2 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198860#4198860 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198860 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: java.lang.ClassCastException: org.jnp.interfaces.NamingC
Please post more details including the exception stacktrace, the version of JBoss and Java you are using and also where are you doing this lookup from? Is it a standalone client or is it some servlet/jsp? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198859#4198859 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198859 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Cluster hanging when a member is non responsive
I have a jboss cache cluster with 2 nodes. When one of the nodes is over-loaded or is running into OOM issues, the other node also becomes non-responsive. A thread dump on the (non-OOM) instance shows jboss cache threads waiting on a lock (excerpt below). Do I need to tweak the failure detection protocol somehow? Configuration: Version:2.2.1.GA Codename: Poblano Replication mode: REPL_ASYNC Thread dump: java.lang.Thread.State: WAITING (parking) at sun.misc.Unsafe.park(Native Method) - parking to wait for <0x2aaacd330d30> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1889) at java.util.concurrent.LinkedBlockingQueue.put(LinkedBlockingQueue.java:254) at org.jgroups.blocks.BasicConnectionTable$Connection.send(BasicConnectionTable.java:499) at org.jgroups.blocks.BasicConnectionTable.send(BasicConnectionTable.java:322) at org.jgroups.protocols.TCP.send(TCP.java:55) at org.jgroups.protocols.BasicTCP.sendToSingleMember(BasicTCP.java:209) at org.jgroups.protocols.BasicTCP.sendToAllMembers(BasicTCP.java:194) at org.jgroups.protocols.TP.doSend(TP.java:1476) at org.jgroups.protocols.TP.send(TP.java:1466) at org.jgroups.protocols.TP.down(TP.java:1187) at org.jgroups.protocols.Discovery.down(Discovery.java:373) at org.jgroups.protocols.MERGE2.down(MERGE2.java:175) at org.jgroups.protocols.FD_SOCK.down(FD_SOCK.java:367) at org.jgroups.protocols.VERIFY_SUSPECT.down(VERIFY_SUSPECT.java:95) at org.jgroups.protocols.pbcast.NAKACK.send(NAKACK.java:787) at org.jgroups.protocols.pbcast.NAKACK.down(NAKACK.java:589) at org.jgroups.protocols.UNICAST.down(UNICAST.java:462) at org.jgroups.protocols.pbcast.STABLE.down(STABLE.java:316) at org.jgroups.protocols.FRAG.down(FRAG.java:136) at org.jgroups.protocols.pbcast.GMS.down(GMS.java:858) at org.jgroups.protocols.pbcast.STATE_TRANSFER.down(STATE_TRANSFER.java:200) at org.jgroups.stack.ProtocolStack.down(ProtocolStack.java:457) at org.jgroups.JChannel.downcall(JChannel.java:1474) at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.down(MessageDispatcher.java:780) at org.jgroups.blocks.RequestCorrelator.sendRequest(RequestCorrelator.java:303) at org.jgroups.blocks.GroupRequest.sendRequest(GroupRequest.java:545) at org.jgroups.blocks.GroupRequest.execute(GroupRequest.java:228) at org.jgroups.blocks.MessageDispatcher.castMessage(MessageDispatcher.java:457) at org.jboss.cache.marshall.CommandAwareRpcDispatcher.invokeRemoteCommands(CommandAwareRpcDispatcher.java:102) at org.jboss.cache.RPCManagerImpl.callRemoteMethods(RPCManagerImpl.java:403) at org.jboss.cache.RPCManagerImpl.callRemoteMethods(RPCManagerImpl.java:375) at org.jboss.cache.RPCManagerImpl.callRemoteMethods(RPCManagerImpl.java:380) at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:143) at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:117) at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:89) at org.jboss.cache.interceptors.ReplicationInterceptor.handleCrudMethod(ReplicationInterceptor.java:139) at org.jboss.cache.interceptors.ReplicationInterceptor.visitPutKeyValueCommand(ReplicationInterceptor.java:86) at org.jboss.cache.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:92) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198856#4198856 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198856 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - virtual hosting in jboss
I m using apache2.2, jboss 4.0.5.GA and mod_jk . then i have already configure mod_jk properly. My URL is open without port. I want to open the URL without directory. I have deploy Reports.ear in deploy folder and register the domain name but how can i map Reports.ear with domain name and also How can i map another project with another URL on same JBOSS. And another question is my php website is working on Apache on same server.but when i m configure mod_jk then php site is not open.how can i map apache site in mod_jk .and how can i open jboss related site simultaneously apache site. Server.xml | | | | | www.shriram.com | shriram.com | | | jboss-web.xml | |java:/jaas/jmx-console |/ | www.shriram.com | | Console Output 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.startService(AbstractDeploymentScanner.java:336) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:417) | at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy4.start(Unknown Source) | at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766) | 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: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 $Proxy5.deploy(Unknown Source) | at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482) | at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362) | at org.jboss.Main.boot(Main.java:200) | at org.jboss.Main$1.run(Main.java:490) | at java.lang.Thread.run(Thread.java:595) | Caused by: j
[jboss-user] [JBoss Messaging] - jboss-4.2.1-GA - IllegalAccessError with AspectManager
Installed jboss 4.2.1-GA and started as service. Log file shows: Problem configuring service jboss.aop:service=AspectManager org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.attrib...@fa5ff3 on mbean jboss.aop:service=AspectManager; - nested throwable: (java.lang.IllegalAccessError: tried to access class org.jboss.aop.LoadInterceptedClassesStrategy from class org.jboss.aop.AspectManager) at org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator.java:698) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198851#4198851 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198851 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Far cache (TcpCacheServer) configuration
Hi, I am trying to configure a far cache where the data is stored in stand-alone storage caches (S) exposed via TcpCacheServer. An application (A) uses TcpDelegatingCacheLoader to access remote cache. In the simplest setup i have one 'S' jvm and one 'A' jvm. 'S' has buddy replication. 'A' does not have any replication enabled. What happens is that A does not see already existing nodes in 'S' and if i try to put some values in the node, ends up completely overwriting the 'S' value. Question: what is the proper configuration I should use for 'A' so that it sees the values in 'S'? Thank you very much. RS. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198850#4198850 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198850 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Slow failover
Could it have something to do with TCP sockets? I even tried to reset max tries in FD to 1 but it didn't help. We are using default out of box cluster-service.xml file. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198849#4198849 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198849 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Re: topic
I want delete this post, Is it possible? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198848#4198848 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198848 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - topic
aaa View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198847#4198847 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198847 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: jboss portal listening only on localhost 8080
anonymous wrote : PostPosted: Fri Aug 24, 2007 04:59 AMPost subject: Re: jboss portal listening only on localhost 8080 | you have to launch JBoss with -b option | ./run.sh -b 192.168.1.45 | ./run.sh -b foo.com | | | or on Windows | run.bat -b 192.168.1.45 | run.bat -b foo.com This works. There must be a better way to set this though using a conf file. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198846#4198846 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198846 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - how can i make JMSConnectionFactory JNDI in JBOSS?
how can i make JMSConnectionFactory JNDI in JBOSS? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198845#4198845 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198845 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: how can i change port number of JBOSS server?
"jaikiran" wrote : Which port do you want to change? Is it the HTTP port? If yes, then you can edit it in the server.xml file. Which specific version of JBossAS are you using? JBOSS5GA SERVER View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198844#4198844 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198844 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: getting datasource jndi?
"jaikiran" wrote : You will first have to lookup the datasource using the JNDI API. Then you can call the getConnection API on the DataSource. Just an example: | | | DataSource ds = (DataSource) new InitialContext().lookup("java:myDS"); | | ds.getConnection(); how can i make jnidi map to datasource? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198843#4198843 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198843 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: getting datasource jndi?
"jaikiran" wrote : You will first have to lookup the datasource using the JNDI API. Then you can call the getConnection API on the DataSource. Just an example: | | | DataSource ds = (DataSource) new InitialContext().lookup("java:myDS"); | | ds.getConnection(); i wrote the database connection in oracle-ds.xml file and placed in deploy folder and DataSource ds = (DataSource) new InitialContext().lookup("java:myDS"); ds.getConnection(); but i didn't get the connection what should i do? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198842#4198842 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198842 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: java.lang.ClassCastException: org.jnp.interfaces.NamingC
I have a similar problem and can't find a solution either. I looked through the ejb3.0 tutorials and the documentation but did not find a hint. I try to access a bean from a war but get the classcastexception no matter what i do (i put everything into alles.ear but get the same result). Does this listing look correct? RaumklimaWorkflow | org.jnp.interfaces.NamingContext | | local | $Proxy288 | | | remote | $Proxy286 This code fails: ctx = new InitialContext(); | Object obj = ctx.lookup("alles/RaumklimaWorkflow/remote"); | raumklima = (RaumklimaWorkflow)obj; I'd really like to fix this error on my own but i simply don't no where else to search ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198840#4198840 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198840 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: JBoss AS 5: Where's all the library now?
"jaikiran" wrote : See this https://www.jboss.org/community/docs/DOC-13188 Aaah. It under common/lib. Thanks for pointing this out. This is definitely a better architecture for JBoss.. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198835#4198835 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198835 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - reload native library
Has anyone found a workaround for this: https://jira.jboss.org/jira/browse/JBAS-1619 also referenced from here: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=61814 I am NOT able to redeploy an application that uses a native library - even if I wait 5 mins to ensure gc has occured for the old classloader. I've tried this with jboss.native.load true and false, loading library myself, and relying on jboss to do it. Nothing seems to work except bouncing the server - which is fine in dev, but unacceptable in production. Anyone found a way around this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198831#4198831 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198831 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - building 2.02.GA of vfs fails(microcontainer)
I am not sure where to ask questions on building JBoss AS I seem to have run into the problem that 2.0.2.GA which I checked out of subversion does not build as there is a jar it can't download(got a 404 error). I need this jar to build it so I can start playing around and debugging JBoss. Here is the error from the maven build | [INFO] Using default encoding to copy filtered resources. | Downloading: http://repo1.maven.org/maven2/org/jboss/test/jboss-test/1.1.0.GA/jb | oss-test-1.1.0.GA.jar | [INFO] | [ERROR] BUILD ERROR | [INFO] | [INFO] Failed to resolve artifact. | | Missing: | -- | 1) org.jboss.test:jboss-test:jar:1.1.0.GA | | Try downloading the file manually from the project website. | | Then, install it using the command: | mvn install:install-file -DgroupId=org.jboss.test -DartifactId=jboss-test | -Dversion=1.1.0.GA -Dpackaging=jar -Dfile=/path/to/file | | Alternatively, if you host your own repository you can deploy the file there: | | mvn deploy:deploy-file -DgroupId=org.jboss.test -DartifactId=jboss-test -D | version=1.1.0.GA -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] | | Path to dependency: | 1) org.jboss:jboss-vfs:jar:2.0.0.GA | 2) org.jboss.test:jboss-test:jar:1.1.0.GA | | -- | 1 required artifact is missing. | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198830#4198830 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198830 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Finding process instances by vars
no, meaning not with a single api call View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198826#4198826 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198826 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - deploy over one hundred webapps
i got a web application with customer specific web layout and functionality. but all apps got same base application code. will it be a problem ( performance or anything else ) to deploy over a hundred apps on my jboss? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198821#4198821 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198821 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Slow failover
We have Front End box and Back End box. Back End boxes have clustered EJB stateless bean. Front End box calls business method on EJB Stateless Bean that is on Back End box. Now the problem is if one of the Back End machine(s) goes down or reboots then all our Front End server requests going to stateless bean comes to grinding halt. It looks like the EJB proxy stub that does Round Robin is not working as efficiently. Could someone help me diaganose this issue in detail? I really want to get down to level where I understand what's going on inside Clustering when box gets rebooted. We use "jnp.partitionName" to do the lookup so that we get interceptor proxy Context. P.S. Note: When we shut down jboss everything is working as normal. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198820#4198820 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198820 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Microcontainer articles @ DZone
#2 - Advanced DI/IoC - http://java.dzone.com/articles/a-look-inside-jboss-microconta-0 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198818#4198818 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198818 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Not injecting instanceId, no matching enc injector ...
POKE to the top. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198816#4198816 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198816 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Cached principals with JndiLoginInitialContextFactory
Hi All, I have a remote bean (on Tomcat) that connects to an EJB 3.0 on JBoss 4.2.2.GA. For Audit purpose, I pass the Principal of my Tomcat users with every lookup JNDI. I use org.jboss.security.jndi.JndiLoginInitialContextFactory. My problem is that Principals are cached in JBoss. The first user that does a JNDI lookup successfully sends his Principal. But then, all the invocations (with org.jboss.security.jndi.JndiLoginInitialContextFactory or org.jnp.interfaces.NamingContextFactory) uses this first Principal. Any idea ? Thanks, Benoît View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198815#4198815 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198815 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Finding process instances by vars
Hey, Is there an easy way to find process instances by variable namess&values? Thanks, Asaf. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198808#4198808 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198808 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - org.jboss.cache.CacheException: Must be in a valid transacti
Hello, One of my customer is getting the below given problem occasionally. Though this topic has been discussed in the forum, I could not find out concrete solution. Customer is using JBOSS403 in windows box. Can someone share your views on it. thanks, suresh 2008-12-17 10:34:59,559 ERROR [org.jboss.ejb.plugins.LogInterceptor] {http-0.0.0.0-8080-16} TransactionRolledbackException in method: public abstract com.informatica.security.user.InfUserModel com.informatica.security.manager.InfUserGroupManager.updateUser(com.informatica.ias.server.context.InfCallContext,com.informatica.security.user.InfUserModel) throws java.rmi.RemoteException,com.informatica.shared.exception.InfDuplicateException,com.informatica.shared.exception.InfObjectNotFoundException,com.informatica.util.InfUpdateException,com.informatica.util.InfPasswordException,com.informatica.util.InfInsufficientPrivilegeException, causedBy: org.jboss.tm.JBossRollbackException: Unable to commit, tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=SPIVDW01/873875, BranchQual=, localId=873875] status=STATUS_NO_TRANSACTION; - nested throwable: (javax.ejb.EJBException: null; CausedByException is: org.jboss.cache.CacheException: Must be in a valid transaction _remove(null, /Security/AZ/148508, true)) at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:354) at org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCMT.java:486) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:346) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:153) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198806#4198806 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198806 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: docs about JndiLoginInitialContextFactory ??
I know this is a very old thread... But if it can help someone, information is here: http://www.jboss.org/community/docs/DOC-11206 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198800#4198800 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198800 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - marshalling exception and CLOSED interceptor?
I get a lot of theese jboss messaging exception's while load testing our jboss esb application. Any ideas how to correct the errors? Got marshalling exception, exiting and method getAcknowledgeMode() did not go through, the interceptor is CLOSED | 2008-12-29 19:51:11,750 ERROR [org.jboss.remoting.transport.socket.SocketClientInvoker] Got marshalling exception, exiting | java.io.EOFException | at java.io.DataInputStream.readInt(DataInputStream.java:375) | at org.jboss.jms.wireformat.JMSWireFormat.read(JMSWireFormat.java:288) | at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.versionedRead(MicroSocketClientInvoker.java:947) | at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:633) | at org.jboss.remoting.transport.bisocket.BisocketClientInvoker.transport(BisocketClientInvoker.java:422) | at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122) | at org.jboss.remoting.Client.invoke(Client.java:1634) | at org.jboss.remoting.Client.invoke(Client.java:548) | at org.jboss.remoting.Client.removeListener(Client.java:1082) | at org.jboss.jms.client.remoting.JMSRemotingConnection.stop(JMSRemotingConnection.java:354) | at org.jboss.jms.client.container.ConnectionAspect.handleClose(ConnectionAspect.java:192) | at sun.reflect.GeneratedMethodAccessor150.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:121) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$close_N4742752445160157748.invokeNext(ClientConnectionDelegate$close_N4742752445160157748.java) | at org.jboss.jms.client.container.FailoverValveInterceptor.invoke(FailoverValveInterceptor.java:92) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$close_N4742752445160157748.invokeNext(ClientConnectionDelegate$close_N4742752445160157748.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$close_N4742752445160157748.invokeNext(ClientConnectionDelegate$close_N4742752445160157748.java) | at org.jboss.jms.client.delegate.ClientConnectionDelegate.close(ClientConnectionDelegate.java) | at org.jboss.jms.client.JBossConnection.close(JBossConnection.java:132) | at org.jboss.internal.soa.esb.rosetta.pooling.JmsConnectionPool.cleanSessionPool(JmsConnectionPool.java:408) | at org.jboss.internal.soa.esb.rosetta.pooling.JmsConnectionPool.access$200(JmsConnectionPool.java:68) | at org.jboss.internal.soa.esb.rosetta.pooling.JmsConnectionPool$2.onException(JmsConnectionPool.java:529) | at org.jboss.jms.client.remoting.ConsolidatedRemotingConnectionListener.handleConnectionException(ConsolidatedRemotingConnectionListener.java:113) | at org.jboss.remoting.ConnectionValidator$1.run(ConnectionValidator.java:608) | 2008-12-29 19:51:11,750 WARN [org.jboss.remoting.Client] unable to remove remote callback handler: Failed to communicate. Problem during marshalling/unmarshalling; nested exception is: | java.io.EOFException | 2008-12-29 19:51:11,750 WARN [org.jboss.remoting.LeasePinger] LeasePinger[SocketClientInvoker[71471ecf, bisocket://10.5.0.230:4457](5c4oka-b7j63-fpbdg1es-1-fpbdof8c-79)] tried to remove lease for client with session ID 5c4oka-b7j63-fpbd | g1es-1-fpbf61jq-fi, but no such lease was found | 2008-12-29 19:51:11,750 ERROR [org.jboss.remoting.transport.socket.SocketClientInvoker] Got marshalling exception, exiting | java.io.EOFException | at java.io.DataInputStream.readInt(DataInputStream.java:375) | at org.jboss.jms.wireformat.JMSWireFormat.read(JMSWireFormat.java:288) | at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.versionedRead(MicroSocketClientInvoker.java:947) | at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:633) | at org.jboss.remoting.transport.bisocket.BisocketClientInvoker.transport(BisocketClientInvoker.java:422) | at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122) | at org.jboss.remoting.Client.invoke(Client.java:1634) | at org.jboss.remoting.Client.invoke(Client.java:548) | at org.jboss.remoting.Client.invoke(Client.java:536) |
[jboss-user] [Performance Tuning] - Re: How to retrieve performance data from JBoss 4.2.2 GA
See http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193837 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198793#4198793 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198793 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Facing Generated servlet error: exceeding the 65535 byte
Not having tried it, I would not know. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198790#4198790 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198790 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: New JBoss Messaging clustering
You are killing one of the nodes. The communication between them was interrupted. You're still supposed to see failures on logs from broken connections. What should happen is the servers recovering from the failures. That's what failover is supposed to do... recover from failures, what means messages being received on client as the server didn't fail. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198788#4198788 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198788 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Old messages on clean startup
This would only happen if the DB still have pending messages, right? What DB are you using? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198787#4198787 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198787 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - "header" information to ejb service methods
I have some additional information I want to pass all my ejb service methods. I could go through all my code and pass the information to every method as an argument, but that seems messy. The value of what i need to send changes so I can't simply set a "env-entry". With a SOAP service I simply could pass this type of information in the header of requests -- is there something similar with EJB services?? Maybe someway to get information into java:/comp/env of the service from the client? Thanks, David View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198782#4198782 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198782 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: TestSuite in Eclipse problem
I have had this problem again. it happens when you tick 'Copy projects into workspace'. So for the JBossWS samples testsuite in Eclipse I recommend: Do NOT tick 'Copy projects into workspace'. DO use a jre 1.5. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198779#4198779 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198779 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Javassist user questions] - Missing feature? Local variable access/write transformation
I found it a little strange that this functionality is missing, any plans for it? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198778#4198778 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198778 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss 5.0.0. G.A. with JDK6 won't start
Thanks, it works. Stupid of me. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198776#4198776 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198776 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - How to make jax-rpc web service implementation work on JBoss
I have a legacy web service web application, which uses JAX-RPC. When I want to migrate it to JBoss 5, exceptions happen like this: org.jboss.ws.metadata.wsdl.WSDLException: Cannot parse wsdlLocation: http://localhost:8080/myapp/services/myappws I followed jax-rpc guide in jboss 4 documents, but seems not work Can anyone help me out? thanks a lot! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198775#4198775 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198775 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: Compression marshalling
Suggestion for community members with free time on their hands - come up with a version of the compression marshaller that uses JZlib (http://www.jcraft.com/jzlib/). :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198771#4198771 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198771 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Cluster messaging distribution
Tim, To get rid off anti pattern stuff, We have a Servicelocator implementation , which keeps a static map of Queue ,ConnectionFactory and other objects. So we are not creating or looking up new Queue everytime, but trying to use it from map. I seriously doubt abt. this because the stored Queue might be from any one server of the cluster so, message would go to that server only right ? Am i thinking in right direction ? If yes , so we need to look up Queue everytime from existing Factory right ? Your comment will help us. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198764#4198764 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198764 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Jboss 5, Hot Re-Deployment, display old content, Work Di
jaikiran, anonymous wrote : What type of contents? JSP files? Yes, JSP files. This discussion http://www.jboss.com/index.html?module=bb&op=viewtopic&t=146078 solved my problem. They did, in fact, change the file name and location of the DeleteWorkDirOnContextDestroy attribute in Jboss 5.0.0. It is now located in server\default\deployers\jbossweb.deployer\META-INF\war-deployers-jboss-beans.xml. Changing the attribute to "true" from the default "false" and making sure the date and time was correct on the server solves the problem. Thank you so much for your response! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198763#4198763 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198763 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: TestSuite in Eclipse problem
I had the same problem. I tried with a 1.6 jre and got this stack trace: | java.lang.NoClassDefFoundError: Testsuite/output | Caused by: java.lang.ClassNotFoundException: Testsuite.output | at java.net.URLClassLoader$1.run(URLClassLoader.java:200) | at java.security.AccessController.doPrivileged(Native Method) | at java.net.URLClassLoader.findClass(URLClassLoader.java:188) | at java.lang.ClassLoader.loadClass(ClassLoader.java:307) | at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) | at java.lang.ClassLoader.loadClass(ClassLoader.java:252) | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) | Exception in thread "main" | I then downloaded a new Eclipse, as described above, and it was OK. However I had to go back to jre 1.5 because I hit the problem described here: https://jira.jboss.org/jira/browse/JBWS-2418. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198762#4198762 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198762 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Connection timed out: connect
I'm using JBoss 4.2.2.GA with Remoting 2.4.0.SP1. I've multiple clients which are requesting SLSB. After several hours of running. the following exception is encountered while there is no network problem; Please suggest. Throwable javax.naming.CommunicationException: Could not obtain connection to any of these urls: noiclt13280:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server noiclt13280:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server noiclt13280:1099 [Root exception is java.net.ConnectException: Connection timed out: connect]]] at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1562) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:634) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627) at javax.naming.InitialContext.lookup(Unknown Source) at com.barco.cms.perspectivemgtproxy.PerspectiveMgt.connect(Unknown Source) at com.barco.cms.perspectivemgtproxy.eventsupport.PerspectiveMgtEventReader.getEventMgtProxy(Unknown Source) at com.barco.cms.perspectivemgtproxy.eventsupport.PerspectiveMgtEventReader.access$300(Unknown Source) at com.barco.cms.perspectivemgtproxy.eventsupport.PerspectiveMgtEventReader$EventPoller.run(Unknown Source) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: javax.naming.CommunicationException: Failed to connect to server noiclt13280:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server noiclt13280:1099 [Root exception is java.net.ConnectException: Connection timed out: connect]] at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:274) at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1533) ... 13 more Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server noiclt13280:1099 [Root exception is java.net.ConnectException: Connection timed out: connect] at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:248) ... 14 more Caused by: java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket. (Unknown Source) at java.net.Socket. (Unknown Source) at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:84) at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:77) at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:244) ... 14 more View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198759#4198759 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198759 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Not able to start JBoss
Please post the entire exception stacktrace and the console logs. Which operating system do you use? And how do you start JBoss? While posting logs or code or xml content, remember to wrap it in a code block by using the Code button in the message editor window. Please use the Preview button to ensure your post is correctly formatted. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198755#4198755 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198755 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Not able to start JBoss
Hello, I have recently installed Jboss using root user and I am logged in using root user. When I start JBoss I am getting the following error Could not create deployment: file:/usr/jboss/jboss-4.2.3.GA/server/default/conf/jboss-service.xml Please suggest. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198753#4198753 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198753 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: Socket Read Timeout on stressing calls for validating pr
I've commented this, becqause of following behaviour; - On running my client which is requesting SLSB, the netstat tool is showing several sockets going in TIME_WAIT state. And, number of such sockets increases as time passes by & it finally results into the following exception; org.jboss.remoting.CannotConnectException: Can not get connection to server. Problem establishing socket connection for InvokerLocator [socket://NOICLT13407:3873/] at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:771) at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:160) at org.jboss.remoting.Client.invoke(Client.java:1708) at org.jboss.remoting.Client.invoke(Client.java:612) at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:62) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:67) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:74) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:107) at $Proxy0.getSourcesInfo(Unknown Source) at com.barco.cmstest.dependency.MarshalTest.call(MarshalTest.java:82) at com.barco.cmstest.dependency.MarshalTest.main(MarshalTest.java:51) Caused by: java.net.BindException: Address already in use: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at org.jboss.remoting.util.SecurityUtility.connect(SecurityUtility.java:969) at org.jboss.remoting.transport.socket.SocketClientInvoker.createSocket(SocketClientInvoker.java:203) at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.getConnection(MicroSocketClientInvoker.java:1084) at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:757) at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:160) at org.jboss.remoting.Client.invoke(Client.java:1708) at org.jboss.remoting.Client.invoke(Client.java:612) at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:62) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:67) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:74) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:107) at $Proxy0.getSourcesInfo(Unknown Source) at com.barco.cmstest.dependency.MarshalTest.call(MarshalTest.java:82) at com.barco.cmstest.dependency.MarshalTest.main(MarshalTest.java:51) at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:74) ... 11 more N:\>netstat -a | findstr 3873 TCPnoiclt13407:1472 noiclt13407.barco.com:3873 TIME_WAIT TCPnoiclt13407:1782 noiclt13407.barco.com:3873 TIME_WAIT TCPnoiclt13407:1790 noiclt13407.barco.com:3873 TIME_WAIT TCPnoiclt13407:2055 noiclt13407.barco.com:3873 TIME_WAIT TCPnoiclt13407:2219 noiclt13407.barco.com:3873 TIME_WAIT TCPnoiclt13407:2256 noiclt13407.barco.com:3873 TIME_WAIT TCPnoiclt13407:2289 noiclt13407.barco.com:3873 TIME_WAIT TCPnoiclt13407:2296 noiclt13407.barco.com:3873 TIME_WAIT TCPnoiclt13407:2336 noiclt13407.barco.com:3873 TIME_WAIT TCPnoiclt13407:2351 noiclt13407.barco.com:3873 TIME_WAIT TCPnoiclt13407:2373 noiclt13407.barco.com:3873 TIME_WAIT TCPnoiclt13407:2375 noicl
[jboss-user] [JBoss jBPM] - Re: jBPM-3.3.0.GA Released
basics are the same... just the installer is different View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198746#4198746 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198746 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Issue with jboss4.0.1 sp1 & jbPM 3.0
don't jBPM 3.0 is very old and not supported anymore, use at least 3.2. JBoss AS 4.0.1 to... use at least JBoss AS 4.0.5, but 4.2 is better. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198745#4198745 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198745 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - How to Create or get a Page Programatically
I am using Jboss AS - 4.2.2 GA Jboss portal - 2.7.0 GA. I want to create or get a portal Page dynamically(Programatically) I have written Page currentPage = new PageImpl().getPage("QaimPortal"); but it thrown me a NullPointerException. Any Help is greatly appreciable. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198744#4198744 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198744 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss startup extremely Slow Mac OS X 10.5.5...
"mburbidg" wrote : | While JBoss is starting up, it is using up almost 100% of the CPU so it is not like it is waiting for something. | | Also try taking thread dumps https://www.jboss.org/community/docs/DOC-12300 and see what is taking time. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198742#4198742 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198742 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM-3.3.0.GA Released
Is there any tutorial for the latest version similar to the one "jBPM3 getting started" guide out there? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198740#4198740 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198740 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Issue with jboss4.0.1 sp1 & jbPM 3.0
Hi , I am want to use JBOSS 4.0.1 SP1 with jBPM 3.0.How can I integrate jBPM3.0 to JBOSS 4.0.1 SP1 ? Thanks .. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198738#4198738 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198738 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: getting datasource jndi?
You will first have to lookup the datasource using the JNDI API. Then you can call the getConnection API on the DataSource. Just an example: | DataSource ds = (DataSource) new InitialContext().lookup("java:myDS"); | ds.getConnection(); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198737#4198737 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198737 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: how can i change port number of JBOSS server?
Which port do you want to change? Is it the HTTP port? If yes, then you can edit it in the server.xml file. Which specific version of JBossAS are you using? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198728#4198728 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198728 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: virtual hosting in jboss
Being discussed here http://www.jboss.com/index.html?module=bb&op=viewtopic&t=147904 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198727#4198727 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198727 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: template attribute of mail node
You should give the template name in mail node (ekbilgi in your case) not the template file name. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198726#4198726 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198726 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: virtual hosting in jboss
Please post the console logs. Also what URL do you use to access the application? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198725#4198725 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198725 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: JBoss AS 5: Where's all the library now?
See this https://www.jboss.org/community/docs/DOC-13188 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198724#4198724 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198724 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - JPA entity caching with JBossCache in JBoss-5.0 GA
I'm trying to move a EJB3 JPA example which has second level cache enabled to JBossAS-5.0 GA. I am following this wiki for instructions http://www.jboss.org/community/docs/DOC-13200. Based on those instructions i have been able to get the example deploying successfully in JBoss-5 GA. I have a couple of related questions: 1) Is there a way to access this second level cache from within the application (ex: from a EJB3 bean). I see that the java:CacheManager is registered in the JNDI. So would the following be the correct thing to do: | private Cache getCache() throws Exception |{ | org.jboss.cache.CacheManager cacheManager = (CacheManager) new InitialContext().lookup("java:CacheManager"); | return cacheManager.getCache("mvcc-entity", false); |} | The org.jboss.cache.CacheManager.getCache() accepts 2 arguments. I could not find the javadocs and wasn't sure what to pass. Based on some explanation from the wiki, i decided to pass mvcc-entity as the first param. What exactly are these parameters used for? 2) Once i get hold of the cache, is there some way through which i can figure out whether a particular entity is cached? public boolean isCustomerInCache(Long id){ | | Cache cache = getCache(); | // is there some way through which i can check if the entity is cached? | | | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198722#4198722 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198722 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - JBoss AS 5: Where's all the library now?
Dear all, I have just evaluated JBoss 5 and what got me questioning so far is: where did all the library that is usually located under server/_servername_/lib all gone? Could somebody gave me idea about library and classpath loading in JBoss 5? Thank you in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198719#4198719 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198719 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Cluster messaging distribution
Thanks Tim for your suggestion, Will sit and try to get rid of this anti-pattern. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198714#4198714 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198714 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Cluster messaging distribution
BTW - looking up a connection factory, create a connection, to send every message is a classic *anti-pattern*. Don't do it, it will be slow. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198713#4198713 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198713 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Cluster messaging distribution
"rana24" wrote : In our case , each stand alone client will be sending only one message...so ideally they will do following | Lookup ConnectionFactory, | Create Connection, | LookUp Queue | and send | But what I would like to achieve is if first stand alone client has sent it to server A, the next Stand alone client should talk to Server B. | I don't think this is feasible. For Client B to connect to Server B it would have to know that Client A had "previously" connected to Server A. That means inter client communication, which is a) slow b) complex c) probably isn't even possible due to firewalls etc. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198712#4198712 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198712 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Cluster messaging distribution
In our case , each stand alone client will be sending only one message...so ideally they will do following Lookup ConnectionFactory, Create Connection, LookUp Queue and send But what I would like to achieve is if first stand alone client has sent it to server A, the next Stand alone client should talk to Server B. Is that feasible with current framework ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198711#4198711 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198711 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: ganymede and jboss tool 3 problem with seam projet
Max, It makes a BIG difference when you say that you can't reproduce what i've described while using seam 2.0 In fact we were not completely synchronized (please be patient i'll explain all). I've been searching and deeply testing these last three days and I'm happy because all my troubles are gone :-)) To be short: Everything works fine with JBT 3 RC1, Seam 2.0, and eclipse Ganymede with WTP 3.0.3 Everything also works fine with JBT 3 RC1, Seam 2.1.1 GA (yes, the last one), eclipse Ganymede with WTP 3.0.3 Here are the two combinations that works perfectly with Seam project. While you were testing seam 2.0 with ganymede and WTP 3.0.3 I was using seam 2.1.RC1. That's the reason why we were not able to produce the same results. I think that these two working combinations should be described somewhere to prevent users from loosing times doing what I did ... In any case, I'm thanking you for the time you spent for solving this problem. Meissa View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198710#4198710 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198710 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Cluster messaging distribution
"rana24" wrote : | So if we have multiple stand alone clients which independently throws message. is there anything by which we can get message distribution in round robbin fashion. | Yes, like it says in the docs, only the first node is chosen randomly, the subsequent ones are chosen round robin from the same connection factory. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198709#4198709 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198709 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Cluster messaging distribution
Thanks Tim, Okey I got it now. So if we have multiple stand alone clients which independently throws message. is there anything by which we can get message distribution in round robbin fashion. ( I can see one way , by implementing WebClient and exposing it through Apache Load balancer). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198708#4198708 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198708 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Cluster messaging distribution
The first node is chosen randomly when creating the first connection from a clustered connection factory. See http://www.jboss.org/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.2.GA/html/c_configuration.html#c_conf.clusteredcfs In your case, you only create one connection on the cf before throwing it away, so it will always be random. Round robin only applies to subsequent connections from the same connection factory. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198706#4198706 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198706 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Cluster messaging distribution
I have gone through most of the past post on the same topic still there is one unanswered question. We have a clustered set up for JBM-1.4.0 SP3 with JAS-4.2.1 , two instance A n B are part of the cluster. We have a test client which inside a for loop does follwing. | QueueConnectionFactory qcf = (QueueConnectionFactory) cntxt | .lookup("/ClusteredConnectionFactory"); | | Queue queue = (Queue) cntxt.lookup("queue/RequestQueue"); | QueueConnection qc = qcf.createQueueConnection(); | QueueSession qs = qc.createQueueSession(false, | Session.AUTO_ACKNOWLEDGE); | QueueSender queueSender = qs.createSender(queue); | ObjectMessage msg = qs.createObjectMessage(batchId); | queueSender.send(msg); | Here we are using HA-JNDI for lookup. We are using default ClusterredConnectionFactory which has , | true | true | org.jboss.jms.client.plugin.RoundRobinLoadBalancingFactory | For RequestQueue is set to Cluster TRUE in destination-service.xml. As per our expectation messages should be distributed in round robin fashion , We have around 80% results when it is not distributed in round robbin fashion. Is there any other attribute which controls distribution ? For some cases it goes to one server only. Our client runs on different server so A and B both are remote server for client. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198705#4198705 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198705 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - How to retrieve performance data from JBoss 4.2.2 GA
Hi guys, I am load testing my application using an open-source tool named CLIF(ObjectWeb) which is putting load on the JBoss server [4.2.2 GA] i use a ISAC plugin to do this which basically contains JAVA code I was wondering if there is any way to retrieve performance and other statistical data from Jboss using java code through my plugin. Kindly suggest some ideas on how to achieve this in case more details are required i would gladly share them Thanks in advance Veneet View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198702#4198702 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198702 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Old messages on clean startup
Hi, We are seeing a strange behaviour with messaging JBM-1.4.0SP3 and JAS-4.2.1. On Server start up , I can see our one MDB starts getting some messages and can see things happening on console,( This is hapenning without sending any messages to Queue from client). I always clear temp,data and work folders. Still same behaviour. Any explainination for this behavour ? How can i avoid it ? thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198701#4198701 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198701 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Stream Corrupted Exception on Server side
I'm using Jboss 4.2.2.GA with Remoting 2.4.0.SP1. My product has multiple clients which are requesting SLSB. After several hours of running I'm getting following exception; Please suggest. Level ERROR Logger org.jboss.remoting.transport.socket.ServerThread Time 2008-12-24 19:58:31,921 Thread WorkerThread#7[150.158.74.51:1586] Message WorkerThread#7[150.158.74.51:1586] exception occurred during first invocation Properties {{hostname,file}{application,central.log.31}{log4jid,1946}} Throwable java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedConstructorAccessor108.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at org.jboss.remoting.transport.socket.ServerThread.createServerSocketWrapper(ServerThread.java:907) at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:489) at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:230) Caused by: java.io.StreamCorruptedException: invalid stream header: 77011679 at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:783) at java.io.ObjectInputStream. (ObjectInputStream.java:280) at org.jboss.remoting.loading.ObjectInputStreamWithClassLoader. (ObjectInputStreamWithClassLoader.java:97) at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.createInput(JavaSerializationManager.java:54) at org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.getMarshallingStream(SerializableUnMarshaller.java:75) at org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.getMarshallingStream(SerializableUnMarshaller.java:58) at org.jboss.remoting.transport.socket.ClientSocketWrapper.createInputStream(ClientSocketWrapper.java:179) at org.jboss.remoting.transport.socket.ClientSocketWrapper.createStreams(ClientSocketWrapper.java:162) at org.jboss.remoting.transport.socket.ClientSocketWrapper. (ClientSocketWrapper.java:66) at org.jboss.remoting.transport.socket.ServerSocketWrapper. (ServerSocketWrapper.java:46) ... 6 more View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198698#4198698 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198698 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: BPM engine within different tools
Look at alfresco... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198697#4198697 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198697 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem deploying on JBoss 5
look in the jira there is a description and View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198696#4198696 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198696 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Error setup with both MySQL and Hypersonic
is your -ds.xml file configured correctly? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198695#4198695 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198695 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem deploying on JBoss 5
Hi, thank you for this solutions, i'm using jboss as 5.0.0 GA, JBpm 3.3.0.GA and java 1.5.0_16. Now i get a ClassCastException java.lang.String cannot be cast to java.lang.Boolean when i tried to load the sa/tasks.jsf/ and sa/procdef.jsf page. Where is the problem? How can i fix it? StackTrace: | 10:11:19,363 ERROR [viewhandler] Error Rendering View[/sa/tasks.xhtml] | java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean | at javax.faces.component.UISelectBoolean.isSelected(UISelectBoolean.java:106) | at com.sun.faces.renderkit.html_basic.CheckboxRenderer.getEndTextToRender(CheckboxRenderer.java:137) | at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:160) | at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:861) | at org.jboss.gravel.common.renderer.RendererBase.doEncode(RendererBase.java:88) | at org.jboss.gravel.common.renderer.RendererBase.doEncode(RendererBase.java:96) | at org.jboss.gravel.common.renderer.RendererBase.doEncode(RendererBase.java:86) | at org.jboss.gravel.common.renderer.RendererBase.doEncode(RendererBase.java:96) | at org.jboss.gravel.simple.renderer.SimpleRenderer.encodeChildren(SimpleRenderer.java:53) | at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837) | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:930) | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:933) | at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592) | at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189) | at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110) | at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) | at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92) | at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) | at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601) | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) | at java.lang.Thread.run(Thread.java:595) | 10:11:19,364 ERROR [lifecycle] JSF1054: (Phase ID: RENDER_RESPONSE 6, View ID: /sa/tasks.xhtml) Exception thrown during phase execution: javax.faces.event.phaseevent[source=com.sun.faces.lifecycle.lifecyclei...@febedf] | 10:11:19,364 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception | java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean | at javax.faces.component.UISelectBoolean.isSelected(UISelectBoolean.java:106) | at com.sun.faces.renderkit.html_basic.CheckboxRenderer.getEndTextToRender(CheckboxRenderer.java:137) | at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:160) | at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:861) | at org.jboss.gravel.common.renderer.RendererBase.doEncode(RendererBase.java
[jboss-user] [Installation, Configuration & DEPLOYMENT] - virtual hosting in jboss
I m using apache2.2, jboss 4.0.5.GA and mod_jk . then i have already configure mod_jk properly. My URL is open without port. I want to open the URL without directory. I have deploy Reports.ear in deploy folder and register the domain name but how can i map Reports.ear with domain name and also How can i map another project with another URL on same JBOSS. And another question is my php website is working on Apache on same server.but when i m configure mod_jk then php site is not open.how can i map apache site in mod_jk .and how can i open jboss related site simultaneously apache site. server.xml | | | | | www.shriram.com | shriram.com | | |java:/jaas/jmx-console |/ | www.shriram.com | | | Console Reports | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198692#4198692 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198692 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Using remoting for RMI for EJB 2 with scoket connector and c
Here is the configuration of my application which I'll use to describe my problems, findings and solutions - JBoss App server 4.2.3 with EJB 2.x application - JBoss remoting 2.2.2. SP8 - Swing client application that uses JBoss remoting to talk to the app server - Using jboss serialization over the wire. My problem lies in the way my client application works with application server. I'm using in some cases multiple threads to load different kinds of data from application server. In that case I end up with many socket connections open from one client to the server. These connections remain open while that client is still active no matter are they used or not. In my case usually these are around 30. In case there are many active clients at the same time this creates big problem. The system works OK up to the point where maxPoolSize number of server threads is reached and from there starts the problem. Because that limit is reached server now tries to free some ServerThread instance but it can't until it's timeout is reached. This leads to a situation where client application freezes for some time and this could be very long time. This of course leaves the end user with feeling that the application freezes and the usually restart the client after few minutes of waiting. In order to fix this problem I had to make changes to some of the settings for socket connection in jboss-service.xml What I changed was to set clientMaxPoolSize to 5 (it was 50 by default). This will allow up to 5 simulations connection open to the server from a single client application. Another change I did was to add continueAfterTimeout parameter and to set it to false. It's default value of true prevents the server from closing unused connections after the timeout has expired. Now with these settings my app server can handle up to 60 active clients and even more if the maximum amount of allowed client connections is not used by all of them. Doychin Bondzhev View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198691#4198691 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198691 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Problems when setup AXIS
Hi, After setup the AXIS and successfully display the index.jsp But when calling the local endpoint, then display - http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> - - http://xml.apache.org/axis/";>ns1:Server.compileError Error while compiling: C:\dev\jboss-4.0.4.GA\server\chss_ws\.\deploy\axis-sample-ws.war\WEB-INF\jwsClasses\EchoHeaders.java - Error compiling C:\dev\jboss-4.0.4.GA\server\chss_ws\.\deploy\axis-sample-ws.war\WEB-INF\jwsClasses\EchoHeaders.java: Line 21, column 26: package javax.servlet.http does not exist Line 92, column -1: cannot find symbol Line 36, column -1: cannot find symbol Line 56, column -1: cannot find symbol Line 94, column -1: cannot find symbol Line 94, column -1: cannot find symbol Line 0, column 0: Note: C:\dev\jboss-4.0.4.GA\server\chss_ws\.\deploy\axis-sample-ws.war\WEB-INF\jwsClasses\EchoHeaders.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 6 errors The AXIS was installed under JBOSS with JDK 1.5 and using myEclipse. Is there any setup missing? Many thanks for your help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198690#4198690 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198690 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - JBoss Remoting and compression
I've spent some time digging into compression and I managed to make it work with JBoss 4.2.3 and Remoting 2.2.2SP8. The problem I found was with an error previously described in another post. http://www.jboss.com/index.html?module=bb&op=viewtopic&t=134557 The problem comes from some extra bytes put in the output stream from compression and not read from decompression. These extra bytes still there after unmarshalling is completed. Next time when unmarshaller reads version from the input stream it reads these extra bytes and generates the error for incorrect version. In most recent versions I see that BufferedInputStream is used to workaround this problem but I'm not sure this will work always. There is always a small chance that the serialized compressed data that contains these extra bytes is just a few bytes longer then the size of the buffer in the buffered input stream. So after unmarshalling is complete they will still in the socket input stream and lead again to same version error. Of course the use of BufferedInputStream reduces the chance for this error but it is still exists. What I did to make sure it will never happen was to put the size of of the compressed data before it in the output stream and during the unmarshaling to read that size and then read the specified amount of bytes from the input stream. Also another problem I found with current solution is that it leaks lots of memory when it is used to transfer big amounts of data for short period of time. The reason is that GZip streams depend on some native code routines in JVM and to release the resources used by these routines streams depend on the garbage collector to call their finalize methods. Another way to release that method is to call close method on the GZip output stream but this will also close the underlying stream(in this case it is the buffered stream which will close the socket output stream). In order to avoid that I used instead ByteArrayOutputStream on the marshaling side and ByteArrayInputStream on the unmarshaling side to store the compressed data to byte array and then to write that byte array to the socket output stream/read from input stream to byte array and then pass that byte array to GZip input stream. Now when I have separated the socket streams from GZip streams I can call close on these in order to release the memory used during the compress/decompress process. I hope these comments will help other people to avoid the same problems I faced already. Doychin Bondzhev View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198688#4198688 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198688 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss load command and PermGen error
i configured JBoss portal 2.6.4 with JBOss AS 4.3 with Mysql as DB. In CMS Tab of Admin section i got this. javax.servlet.ServletException: org.hibernate.InstantiationException: Cannot instantiate abstract class or interface: org.jboss.portal.core.impl.model.portal.PortalObjectImpl org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:276) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) root cause org.hibernate.InstantiationException: Cannot instantiate abstract class or interface: org.jboss.portal.core.impl.model.portal.PortalObjectImpl org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:78) org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:100) org.hibernate.tuple.entity.AbstractEntityTuplizer.instantiate(AbstractEntityTuplizer.java:351) org.hibernate.persister.entity.AbstractEntityPersister.instantiate(AbstractEntityPersister.java:3606) org.hibernate.impl.SessionImpl.instantiate(SessionImpl.java:1275) org.hibernate.impl.SessionImpl.instantiate(SessionImpl.java:1264) org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:1299) org.hibernate.loader.Loader.getRow(Loader.java:1206) org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:580) org.hibernate.loader.Loader.doQuery(Loader.java:701) org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236) org.hibernate.loader.Loader.loadEntity(Loader.java:1860) org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:48) org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:42) org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3044) org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:395) org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:375) org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:139) org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:195) org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:103) org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:878) org.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:846) org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:567) org.hibernate.type.EntityType.resolve(EntityType.java:389) org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:116) org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:854) org.hibernate.loader.Loader.doQuery(Loader.java:729) org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236) org.hibernate.loader.Loader.loadEntity(Loader.java:1907) org.hibernate.loader.entity.CollectionElementLoader.loadElement(CollectionElementLoader.java:72) org.hibernate.persister.collection.OneToManyPersister.getElementByIndex(OneToManyPersister.java:360) org.hibernate.collection.AbstractPersistentCollection.readElementByIndex(AbstractPersistentCollection.java:158) org.hibernate.collection.PersistentMap.get(PersistentMap.java:146) org.jboss.portal.core.impl.model.portal.PortalObjectImpl.getChild(PortalObjectImpl.java:427) org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor.injectDashboardNav(PageCustomizerInterceptor.java:250) org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor.invoke(PageCustomizerInterceptor.java:164) org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40) org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:78) org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40) org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) org.jboss.portal.core.aspects.controller.node.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:81) org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40) org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) org.jboss.portal.core.aspects.controller.NavigationalStateInterceptor.invoke(NavigationalStateInterceptor.java:42) org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40) org.jboss.portal.common.invocation.Invocation.invokeNex
[jboss-user] [Installation, Configuration & DEPLOYMENT] - virtual hosting in jboss
I m using apache2.2, jboss 4.0.5.GA and mod_jk . then i have already configure mod_jk properly. My URL is open without port. I want to open the URL without directory. I have deploy Reports.ear in deploy folder and register the domain name but how can i map Reports.ear with domain name and also How can i map another project with another URL on same JBOSS. And another question is my php website is working on Apache on same server.but when i m configure mod_jk then php site is not open.how can i map apache site in mod_jk .and how can i open jboss related site simultaneously apache site. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198686#4198686 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198686 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user