[jboss-user] [JBossWS] - Evaluating JBossWS
Hi all, Currently I'm evaluating JBossWS to be used in our next project. I have two fundamental questions regarding JBossWS. 1. Can we use JBossWS under JDK 1.4? Since our company policy don't let us to use JDK 1.5 yet. 2. Can we embed JBossWS in our apps and deploy it to other appserver other than JBoss? That's it for now. Thanks for the help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108786#4108786 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108786 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Evaluating JBossWS
Hi, 1.) Latest JBossWS version (2.x) can't be used on JDK 1.4 environment. 2.) This could be possible. Richard View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108787#4108787 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108787 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss and NetBeans] - Re: EJB Deploynment with JBoss and use of annotations fails
From http://www.laliluna.de/ejb-3-tutorial-jboss.html JBoss supports the tag hibernate.hbm2ddl.auto to define if your tables are created or udpated during redeployment. I chose create-drop to have them dropped after each undeployment, so that they can be nicely recreated. The option update does not work sometimes. When you undeploy (EX:restart JBoss) , the table book is dropped. That causes the warning comes out. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108785#4108785 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108785 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Properties inside an ObjectMessage becomes a HashMap
Hi We are running the following test: A producer sends an ObjectMessage with a Properties inside to a Queue. A consumer dequeues the ObjectMessage from the Queue, but we found an HashMap instead of a Properties. | Procuder: | |if ( !initError ){ |Session session = null; |MessageProducer publisher = null; |ObjectMessage message = null; |int numMsgs = ciclesNumber.intValue(); | |try { |StringBuffer sb = new StringBuffer(); |properties = new Properties(); | |for (int i = 0; i numMsgs; i++) { |if ( stop ){ |break; |} |session = connection.createSession(false, 0); //autocommit |publisher = session.createProducer(dest); |message = session.createObjectMessage(); |properties.clear(); |properties.put(properties iteration, | String.valueOf( i ) ); |message.setIntProperty(iteration, i ); |message.setObject( properties ); | |sb.setLength( 0 ); |sb.append( iteration number : ).append( i ); |log.info( sb.toString() ); | |publisher.send( message, DeliveryMode.PERSISTENT, | Message.DEFAULT_PRIORITY, timeToLive.intValue() ); | |session.close(); |} |mess = messaggio spedito; |} catch (Throwable t) { |// JMSException could be thrown |mess = t.toString(); |log.error(PublisherBean.publishNews: , t); |} |} | | Consumer: | | ObjectMessage msg = null; | StringBuffer sb = new StringBuffer(); | | try { |if (message instanceof ObjectMessage ) { | msg = (ObjectMessage) message; | Integer id = msg.getIntProperty(iteration); | sb.setLength( 0 ); | sb.append( MESSAGE BEAN: IntProperty iteration: ).append( id ); | log.info( sb ); | Object array = msg.getObject(); | log.info( array.getClass() ); | | long now = System.currentTimeMillis(); | | while(true){ | if ( System.currentTimeMillis() - now 1 ) | break; | } | |} else { | log.warn(Message of wrong type: + message.getClass().getName()); |} | } catch (JMSException e) { |e.printStackTrace(); | } catch (Throwable te) { |te.printStackTrace(); | } | The cosumer writes: | base.MessageMdb.onMessage INFO - class java.util.HashMap | Any hints? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108788#4108788 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108788 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - can not start jboss-4.2.2.GA Successfully
after i unzip the source and set enviromnets variables JAVA_HOME:C:\Program Files\Java\jdk1.5.0_10 then, when try to start JBoss i get this error U:\D:\application servers\jboss-4.2.2.GA\jboss-4.2.2.GA\bin\run.bat 'findstr' is not recognized as an internal or external command, operable program or batch file. can anyone help me. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108791#4108791 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108791 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problems with links in pageflow pages based on templates
Do you mean I should replace the s:link view=/home.xhtml / by something like s:link action=#{myComponent.action} / ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108793#4108793 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108793 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [The Lizzard's corner] - Who is mrs. Julia Firsova?
Hi guys, do you what she is doing? http://labs.jboss.com/developers#JuliaFirsova View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108795#4108795 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108795 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - seam-gen : list.xhtml - Create Button issue
Hello, When using seam-gen (2.0.0) I have the following issue : in list page, button 'Create entity' can disappear. To reproduce the problem, you'll need 2 associated entities (i.e. @ManyToOne) : 1 - navigate to entity A list. 2 - click 'Create entity A' button. 3 - click 'Select entity B' button. 4 - on entity B edit page, just click on the menu link 'Entity A List' 5 - you're back to 'Entity A List' page, but the 'Create entity A' button just disappeared. This issue is because Create button is rendered only if 'from' parameter is empty : s:div styleClass=actionButtons rendered=#{empty from} This isn't the case in interaction 4-5. I've just modified menu.xhtml to force from parameter to '' and it resolves this issue : changed from s:link view=/CustomerList.xhtml |value=Customer List | propagation=none/ to : s:link view=/CustomerList.xhtml |value=Customer List | propagation=none | f:param name=from value=/ | /s:link Should I raise a JIRA ? Or have I misunderstood sthing ? Thank you View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108794#4108794 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108794 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm-jpdl-3.2.GA - jbpm-console - ERROR - workflow.jbpm_
Please give it a try with the latest jBPM version, currently 3.2.2 - the tables of the identity components have been included in the default db scripts after 3.2.GA. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108797#4108797 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108797 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Evaluating JBossWS
Thanks Richard, We might as well use JBossWS 1.x instead. Cheers, View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108798#4108798 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108798 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Java Client Application using Stub with WS-Security
Did you set up the keystore/truststore references in your environment? | System.setProperty(org.jboss.ws.wsse.keyStore, resources/interop/nov2007/wsse/shared/META-INF/alice-sign_enc.jks); | System.setProperty(org.jboss.ws.wsse.trustStore, resources/interop/nov2007/wsse/shared/META-INF/wsse10.truststore); | System.setProperty(org.jboss.ws.wsse.keyStorePassword, password); | System.setProperty(org.jboss.ws.wsse.trustStorePassword, password); | System.setProperty(org.jboss.ws.wsse.keyStoreType, jks); | System.setProperty(org.jboss.ws.wsse.trustStoreType, jks); | If you still get errors, please post here your logs with the error details. anonymous wrote : | Exception in thread main javax.xml.ws.WebServiceException: org.jboss.ws.core.CommonSOAPFaultException: An internal WS-Security error occurred. See log for details | at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.processHandlerFailure(HandlerChainExecutor.java:276) | at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:155) | at org.jboss.ws.core.jaxws.client.ClientImpl.callRequestHandlerChain(ClientImpl.java:160) | at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:297) | at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:243) | at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:164) | at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150) | at $Proxy14.hello(Unknown Source) | at com.main.MainTest.main(MainTest.java:51) | Caused by: org.jboss.ws.core.CommonSOAPFaultException: An internal WS-Security error occurred. See log for details | at org.jboss.ws.extensions.security.WSSecurityDispatcher.convertToFault(WSSecurityDispatcher.java:105) | at org.jboss.ws.extensions.security.WSSecurityDispatcher.handleOutbound(WSSecurityDispatcher.java:314) | at org.jboss.ws.extensions.security.jaxws.WSSecurityHandler.handleOutboundSecurity(WSSecurityHandler.java:95) | at org.jboss.ws.extensions.security.jaxws.WSSecurityHandlerClient.handleOutbound(WSSecurityHandlerClient.java:45) | at org.jboss.ws.core.jaxws.handler.GenericHandler.handleMessage(GenericHandler.java:55) | at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:295) | at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:140) | ... 7 more | | Anyone knows how I can resolve my problem ? | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108801#4108801 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108801 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: returning array undefined in web service
mckeno wrote : | env:Envelope xmlns:env=http://schemas.xmlsoap.org/soap/envelope/; | |env:Header/ | |env:Body | | ns2:getNumberResponse xmlns:ns2=http://mojo.streamverse.com/services; | | numbers7/numbers | | numbers2/numbers | | numbers3/numbers | | /ns2:getNumberResponse | |/env:Body | | /env:Envelope | This shows the service is running fine, you have the array's value in the response that actually goes on the wire. Thus this is an issue with you Flash application that could probably have problems parsing this kind of response. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108802#4108802 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108802 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - [3.2.3] [NoClassDefFoundError] Weird exception although i ha
Hey there, I know, this subject has been treated already in this forum, but i did not find the answer to my problems. Here is the context. I am working on an .ear. So far, i was not packaging my librairies in my .ear, i used to put them directly in JBoss (in /server/default/lib). Now i have some problems with my app and i decided to clean all this mess. So i removed all the lib from my JBoss directory lib (/server/default/lib), then i downloaded a fresh JBoss 3.2.3 from the website, unzipped it and copied all the libs in /server/default/lib into my JBoss Now i am having some problems. My app is using Hibernate 2.x. Though i packaged the hibernate2.jar in my .ear, Jboss fails at deployment. So i added hibernate2.jar in server/default/lib. It still fails, but later in the code;) Here is the exception: 2007-11-28 10:05:34,199 WARN [org.jboss.system.ServiceController] Problem starting service jboss.jca:service=HibernateFactory, name=HibernateFactory | java.lang.NoClassDefFoundError: net/sf/hibernate/collection/List | at net.sf.hibernate.type.TypeFactory.list(TypeFactory.java:186) | at net.sf.hibernate.mapping.List.getCollectionType(List.java:19) | at net.sf.hibernate.mapping.Collection.getType(Collection.java:275) | at net.sf.hibernate.cfg.Binder.bindProperty(Binder.java:422) | at net.sf.hibernate.cfg.Binder.createProperty(Binder.java:1041) | at net.sf.hibernate.cfg.Binder.propertiesFromXML(Binder.java:1022) | at net.sf.hibernate.cfg.Binder.bindRootClass(Binder.java:344) | at net.sf.hibernate.cfg.Binder.bindRoot(Binder.java:1204) | at net.sf.hibernate.cfg.Configuration.add(Configuration.java:247) | at net.sf.hibernate.cfg.Configuration.addInputStream(Configuration.java:281) | at net.sf.hibernate.cfg.Configuration.addResource(Configuration.java:304) | at net.sf.hibernate.jmx.HibernateService.buildSessionFactory(HibernateService.java:174) | at net.sf.hibernate.jmx.HibernateService.start(HibernateService.java:145) | 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:324) | at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976) | at $Proxy14.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:394) | at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) | at $Proxy4.start(Unknown Source) | at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605) | at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) | at $Proxy6.deploy(Unknown Source) | at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302) | at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201) | at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274) | at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192) | at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at
[jboss-user] [JBossCache] - Re: ClusteredCacheLoader + LOCAL CacheMode
Ok seeking some clarity on why you would use a ClusteredCacheLoader in my case. I have seen the thread http://www.jboss.org/index.html?module=bbop=viewtopict=118598 but in terms of my needs ;). Ok running my cache in invalidation mode is a no go for me, i dont want data evicted if i update a data item on one cache node. So i cant run in invalidation mode. replication mode without buddy replication. Doesnt make sense to use it here because all the data is replicated across all the nodes. replication with buddy replication: This is where i am not so clear, im not so clear on how buddy replication works, i have set it up but dont know the reasoning behind why it does what it does. Ok i would have thought that you would share data with your buddy and the data would be in the same tree, not in a seperate branch i.e under /_BUDDY_BACKUP_ 0 branch. Maybe im missing some configuration setting to merge the 2 buddies data into the same tree?? If i dont have buddy replication then all the replication goes into the same tree, thats how i would have thought buddy replication would work except that you are just sharing with you and your buddy has and not with the whole cluster. Can someone just clear up why 2 different trees and not the same as in replication without buddy replication?? p.s i using jmx console to see whats in my cache View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108808#4108808 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108808 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - comment/uncomment in .xhtml
I'm ashamed to ask this, but can anyone suggest how to comment/uncomment pieces of .xhtml files in eclipse with JBossTools installed? I'm new to Eclipse (switching from IDEA), there must be some plugin for this, probably. I tried to use xmlbuddy in hope for finding this silly bit of functionality, but the plugin has it's own syntax highlighting, so dumped it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108809#4108809 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108809 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Stateful bean via RMI
I can't get access to stateful bean, but can to stateless one. Why? | package org.test.ejb; | | public interface StatelessRemote | { | public void test(); | } | | package org.test.ejb; | | public interface StatefulRemote | { | public void test(); | public void destroy(); | } | | package org.test.ejb; | | import javax.ejb.Stateless; | import javax.ejb.Remote; | | import org.test.ejb.StatelessRemote; | | @Stateless | @Remote(StatelessRemote.class) | public class StatelessBean | implements StatelessRemote | { | public void test() | { | System.out.println(test stateless); | } | } | | package org.test.ejb; | | import javax.ejb.Stateful; | import javax.ejb.Remote; | import javax.ejb.Remove; | | import org.test.ejb.StatefulRemote; | | @Stateful | @Remote(StatefulRemote.class) | public class StatefulBean | implements StatefulRemote | { | public void test() | { | System.out.println(test stateful); | } | | @Remove | public void destroy() | { | System.out.println(Destroy); | } | } | Client code | ... | InitialContext context = new InitialContext(jndiProps); | NamingEnumeration en = context.list(java:/ejb_test); | while (en.hasMore()) | { | System.out.println(en.next()); | } | | Object stateless = context.lookup(StatelessBean/remote); | System.out.println(Bean received + stateless); | | Object stateful = context.lookup(StatefulBean/remote); // 109 | System.out.println(Bean received + stateful); | ... | Console: | EjbSynchronizations: org.jnp.interfaces.NamingContext | TimerServiceDispatcher: org.jnp.interfaces.NamingContext | StatefulBean: org.jnp.interfaces.NamingContext | StatelessBean: org.jnp.interfaces.NamingContext | Bean received = jboss.j2ee:ear=ejb_test.ear,jar=ejb_test.jar,name=StatelessBean,service=EJB3 | | javax.naming.NameNotFoundException: ejb_test not bound | at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) | at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) | at org.jnp.server.NamingServer.getObject(NamingServer.java:543) | at org.jnp.server.NamingServer.lookup(NamingServer.java:267) | at org.jnp.server.NamingServer.lookup(NamingServer.java:270) | at sun.reflect.GeneratedMethodAccessor91.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305) | at sun.rmi.transport.Transport$1.run(Transport.java:159) | at java.security.AccessController.doPrivileged(Native Method) | at sun.rmi.transport.Transport.serviceCall(Transport.java:155) | at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535) | at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790) | at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649) | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) | at java.lang.Thread.run(Thread.java:619) | at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255) | at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233) | at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142) | at org.jnp.server.NamingServer_Stub.lookup(Unknown Source) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627) | at org.jboss.ejb3.JndiProxyFactory.getObjectInstance(JndiProxyFactory.java:52) | at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304) | at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1273) | at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1290) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:763) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627) | at javax.naming.InitialContext.lookup(InitialContext.java:392) | at org.test.remote.Test.callEjb(Test.java:109) | at org.test.remote.Test$3.run(Test.java:220) | at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) | at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) | at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) | at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) | at
[jboss-user] [Javassist user questions] - Modifying jar files
Can javassist modify classes inside a jar file? That is, can it save my changes back to the same jar, or do i need to modify class files and archive them afterwards. cheers View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108811#4108811 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108811 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - certificate data after successful authorization
Hello I just configured JBoss and my application to restrict access do secure area based on client certificate. It works fine. Now I have problem, how to get certificate data in my application. I need for example certificate serial number. I'm using BaseCertLoginModule with with verifier option like org.jboss.security.auth.certs.AnyCertVerifier Can anybody help me, with link to some documentation how it could be done? I'm using Netbeans IDE. Thanks a lot. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108822#4108822 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108822 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Example of using Seam (without EJB) with ExtJS
Hi, Thanks for your effort and contribution. Two issues i would like to share with you: 1) Not able to login if i disable cookies on server Description: Always throws NotLoggedInException. I know that you're using Identity for authentication, i don't know why cookies makes problem here. If i allow cookies then i could able to login to the hotel search page (with NotLoggedInException exception on console output). 2)ExtJs Konowledge Description: As i'm new to ExtJs, i would like to know whether we have to write lot of JS for binding client code. I don't see u have used any JSF/Seam tags on pages, instead lots of JS (one per page). In this case i think there is a steep learning curve on ExtJs. If this is the case, then there's a problem in developer productivity and agile developement (RichFaces is doing a nice job regarding this concern). http://techieexchange.wordpress.com/ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108821#4108821 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108821 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: How could see the endpoint the SOAP headers built by a o
First of all take a look at the org.jboss.test.ws.jaxws.samples.webparam sample in the binary distribution. You'll find an example using custom soap header. Did you code the wsdl first? In that case you should need something like this in the operation/input element: | soap:header message=tns:WSTestEndpoint2_pingOggettoComposto part=oggettoComposto use=literal/ | If you're developing starting from java classes, JBossWS will do it for you. Usually you shouldn't need to use the JAXBElements directly, parameters going to the header are dealt the same way as common ones in your service implementation class. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108824#4108824 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108824 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: endPoint and SOAP headers, how to work this?
http://www.jboss.com/index.html?module=bbop=viewtopicp=4108591#4108591 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108826#4108826 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108826 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: ClusteredCacheLoader + LOCAL CacheMode
anonymous wrote : Perhaps run in replicated mode but for every write set a cacheModeLocal Option? Kinda worked but not really, first put was surpressed i.e not replicated but the rest after it were. Im adding the nodes like so | for(int i = 0; i noOfItems;i++){ | Quote quote1 = new Quote(nodeName+requestCounter,EWX,EUR); | String path = /quotes/+quote1.getTreePath()+random; | TNode root = cache.getRoot(); | TNode child = root.addChild(path); | cache.getInvocationContext().getOptionOverrides().setCacheModeLocal(true); | child.put(quote, quote1); | requestCounter++; | } | | So i added 5 nodes, replicates the first 4, but the 5th it doesnt!! Any thoughts? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108825#4108825 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108825 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: can not start jboss-4.2.2.GA Successfully
Have you googled? http://wiki.jboss.org/wiki/Wiki.jsp?page=FindstrCommandNotFound View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108828#4108828 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108828 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Properties inside an ObjectMessage becomes a HashMap
This is http://jira.jboss.org/jira/browse/JBMESSAGING-1138 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108820#4108820 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108820 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: 2.0.0 GA available ?
when all bugs are resolved then that is normally what is about to happen :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108815#4108815 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108815 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Jboss integration
I feel like I am barking at wrong tree here. Can someone from JBoss at least confirm that so I can stop considering JGroups altogether and look for another solution. Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108814#4108814 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108814 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - 2.0.0 GA available ?
I saw all bugs have been resolved in 2.0.0 GA, is it about tobe be availlable ? David View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108813#4108813 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108813 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: diff between form fields from controller
answer to both: because getting and keeping the info is not implemented View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108812#4108812 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108812 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam 2.0 G.A, SeamTest and Maven 2
Has anyone managed to get this combo working yet with the maven surefire plugin? If so, would it be possible to share your pom config? Even better, is there a Seam maven plugin that will boostrap an embedded runtime, and execute seam tests? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108816#4108816 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108816 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Getting JBPM to use the seam managed persistence context
OK. I assumed, perhaps erroneously, that the component overriding rules would only work if you looked up the component by name. I believed that this code would always return an instance of ManagedJbpmContext. |public static JbpmContext instance() |{ | if ( !Contexts.isEventContextActive() ) | { | throw new IllegalStateException(no active event context); | } | return (JbpmContext) Component.getInstance(ManagedJbpmContext.class, ScopeType.EVENT); |} | Are you saying that I can install my own replacement for ManagedJbpmContext and that the ManagedJBpmContext.instance() call shown above would return my component? Cheers J View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108817#4108817 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108817 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Jboss integration
Tim - Thanks for the reply. I will try putting the McastReceiverTest.java code into an mbean and see what happens. It might be a good opinion to provide samples for UDP to JMS, SIP to JMS, and even for serial to JMS bridging in later releases. These would get outside devices such as PBX switches and other hardware talking to JBoss server. Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108830#4108830 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108830 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: ClusteredCacheLoader + LOCAL CacheMode
Just to correct my last post, it is misleading. The first one was suppressed and the rest wasnt. I played around with the placing of setCacheModeLocal and what i discovered was that it doesnt replicate the first one when i have code like this (not shown in first snippet because i didnt think it was a factor. | cache.getInvocationContext().getOptionOverrides().setCacheModeLocal(true); | for(int i = 0; i noOfItems;i++){ | Quote quote1 = new Quote(nodeName+requestCounter,EWX,EUR); | String path = /quotes/+quote1.getTreePath(); | TNode root = cache.getRoot(); | TNode child = root.addChild(path); | cache.getInvocationContext().getOptionOverrides().setCacheModeLocal(true); | child.put(quote, quote1); | requestCounter++; | } | If i remove the first line before the loop then everything replicates and if i move setCacheLOcal to the first line inside of the loop, that doesnt make a difference either. Weird .. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108834#4108834 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108834 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: migrating from ServiceMBeanSupport
Fair enough. So I can't do much of my setup in the service constructor, as I don't have the information yet at that time. I need to do the work in the start method instead. That's actually less effort for me, as it's how things currently work. The problem with that is: many other services depend on the transaction manager. As far as I can tell, under the old pre-MC semantics, depends meant 'ensure the other service has started'. As a result, work the transaction manager does in the start method would be finished before anything that depends on it was executed. Under MC, depends seems to mean 'ensure the service I depend on has reached at least the same point in the lifecycle as the one I'm transitioning to' by default. As a result, some services are being instantiated and failing because they actually depend on the transaction manager having been started, not just created. Moving the work of transaction manager setup into its service constructor would have fixed that, but it's not an option. The only alternative I see is to change the depends clause of all the things that depend on the transaction manager, such that they explicitly require it to be started. That's somewhat less elegant than I was hoping for. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108833#4108833 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108833 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Soap service returning complex objects(Such as hashmaps)
This is basically a JAXB bug https://jaxb.dev.java.net/issues/show_bug.cgi?id=268. The workaround you can use it to wrap your map into another class. This class has to be annotated with @XmlAccessorType(XmlAccessType.FIELD) since the bug prevents you from adding @XmlElement to your map field. | @XmlAccessorType(XmlAccessType.FIELD) | public class MyMap { | | protected HashMapString,String realMap; | | public HashMapString,String getRealMap() { | if (realMap==null) { | realMap = new HashMapString,String(); | } | return realMap; | } | } | | ... | | @WebMethod | public MyMap getHashMap( String key, String value){ | ... | } | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108835#4108835 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108835 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 2.0.0.0GA + Maven2 doesn`t work...
I haven`t used it, but I can check it out. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108838#4108838 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108838 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: LRU policy for separated object
Indeed. eviction is performed on a node basis, so all attributes attached to a node will be seen as one and evicted together. As said, the only solution is to place the attributes within different nodes. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108841#4108841 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108841 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Cache loader questions
servus, ai dreptate, scuze :( you are right, my bad. The thing is that the cache loader itself know how to load data in batch, but the calling code does not use this. I've updated http://jira.jboss.com/jira/browse/JBCACHE-1221 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108843#4108843 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108843 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - What replicates in JBC 1.4?
Hi, We have a large application, with large amount of data stored in cache. For some data, we store it as nodes, for some other data, we store it as attributes, in order to find a good compromise between number of nodes, data in each node. We use SYNC_REPL to replicate data between our 2 node cluster, and use multicast for replication. I would like to know? For a 1 atribute node, what data is replicating when we change on of the attributes? Is it replicating the whole node data, or only the changed attribute? What is faster, access to a 1 attribute node, or access to 1 nodes single attributed? Would REPL_ASYNC signify a performance gain? Would the be deadlocking issues when more threads access cache. It seems our application doesn`t scale clients very well. (I have already seen http://www.jboss.com/index.html?module=bbop=viewtopict=122400 which I gues will not be backported to 1.4) Is it better to set up TCP replication? Is there any performance tunning guide? Thanks, like always. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108839#4108839 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108839 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - inject into EJB with @In doesnot work under SeamTest
With the code: | @Local | @Stateless | @Name(register) | @Scope(ScopeType.CONVERSATION) | public class Register implements IRegister{ | @Logger | private static Log log; | | @In | private EntityManager em; | @In | private User user; | | public String regist(){ | System.out.println(+EM+em); | System.out.println(+USER+user); | } | } | | it print trace : [Parser] Running: D:\Work\Revenco\revenco-work-redhat\jboss-seam2-learn\temp-testng-customsuite.xml WARN 29-11 19:29:49,656 (UnifiedLoaderRepository3.java:addClassLoader:675) -Tried to add non-URLClassLoader. Ignored INFO 29-11 19:29:51,125 (TransactionManagerService.java:startService:126) -JBossTS Transaction Service (JTA version) - JBoss Inc. INFO 29-11 19:29:51,125 (TransactionManagerService.java:startService:128) -Setting up property manager MBean and JMX layer WARN 29-11 19:29:51,312 (TxControl.java::266) -[com.arjuna.ats.arjuna.coordinator.TxControl_1] - Name of XA node not defined. Using ac81a91:54c6:474ea2af:0 INFO 29-11 19:29:51,359 (TransactionStatusManager.java:addService:110) -[com.arjuna.ats.arjuna.recovery.TransactionStatusManager_1] - Starting service com.arjuna.ats.arjuna.recovery.ActionStatusService on port 21702 INFO 29-11 19:29:51,359 (?:?:?) -TransactionStatusManagerItem - host: 10.200.26.145 port: 21702 INFO 29-11 19:29:51,828 (TransactionStatusManager.java:start:161) -[com.arjuna.ats.arjuna.recovery.TransactionStatusManager_3] - TransactionStatusManager started on port 21702 with service com.arjuna.ats.arjuna.recovery.ActionStatusService INFO 29-11 19:29:51,843 (?:?:?) -Registering mbean for module 'arjuna' INFO 29-11 19:29:51,859 (?:?:?) -Initialising JMX agent com.arjuna.ats.internal.jbossatx.agent.LocalJBossAgentImpl INFO 29-11 19:29:51,875 (TransactionManagerService.java:startService:163) -Starting recovery manager INFO 29-11 19:29:51,890 (?:?:?) - --- Start RecoveryActivators INFO 29-11 19:29:51,906 (RecoveryManagerImple.java::142) -[com.arjuna.ats.internal.arjuna.recovery.ready] RecoveryManagerImple is ready on port 21,703 INFO 29-11 19:29:51,921 (TransactionManagerService.java:startService:168) -Recovery manager started INFO 29-11 19:29:51,921 (TransactionManagerService.java:startService:191) -Binding TransactionManager JNDI Reference INFO 29-11 19:29:54,515 (RARDeployment.java:startService:146) -Required license terms exist, view vfsfile:/D:/Work/Revenco/revenco-work-redhat/jboss-seam2-learn/bootstrap/deploy/jboss-local-jdbc.rar/META-INF/ra.xml INFO 29-11 19:29:54,609 (ConnectionFactoryBindingService.java:bindConnectionFactory:148) -Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS' INFO 29-11 19:29:54,609 (RARDeployment.java:startService:146) -Required license terms exist, view vfsfile:/D:/Work/Revenco/revenco-work-redhat/jboss-seam2-learn/bootstrap/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml INFO 29-11 19:29:54,609 (RARDeployment.java:startService:146) -Required license terms exist, view vfsfile:/D:/Work/Revenco/revenco-work-redhat/jboss-seam2-learn/bootstrap/deploy/jms-ra.rar/META-INF/ra.xml WARN 29-11 19:29:55,343 (JDBCPersistenceManager.java:start:143) - JBoss Messaging Warning: DataSource connection transaction isolation should be READ_COMMITTED, but it is currently NONE. Using an isolation level less strict than READ_COMMITTED may lead to data consistency problems. Using an isolation level more strict than READ_COMMITTED may lead to deadlock. INFO 29-11 19:29:55,578 (ServerPeer.java::187) -ServerPeer[0] creating server peer with ID 0 INFO 29-11 19:29:55,984 (ServerPeer.java:startService:278) -JBoss Messaging 1.2.0.sp1 server [0] started INFO 29-11 19:29:56,046 (QueueService.java:startService:149) -Queue[/queue/DLQ] started, fullSize=20, pageSize=2000, downCacheSize=2000 INFO 29-11 19:29:56,046 (QueueService.java:startService:149) -Queue[/queue/QueueWithOwnDLQAndExpiryQueue] started, fullSize=20, pageSize=2000, downCacheSize=2000 INFO 29-11 19:29:56,046 (QueueService.java:startService:149) -Queue[/queue/QueueWithOwnRedeliveryDelay] started, fullSize=20, pageSize=2000, downCacheSize=2000 INFO 29-11 19:29:56,046 (TopicService.java:startService:122) -Topic[/topic/TopicWithOwnRedeliveryDelay] started, fullSize=20, pageSize=2000, downCacheSize=2000 INFO 29-11 19:29:56,062 (QueueService.java:startService:149) -Queue[/queue/PrivateDLQ] started, fullSize=20, pageSize=2000, downCacheSize=2000 INFO 29-11 19:29:56,062 (QueueService.java:startService:149) -Queue[/queue/ExpiryQueue] started, fullSize=20, pageSize=2000, downCacheSize=2000 INFO 29-11 19:29:56,062 (TopicService.java:startService:122) -Topic[/topic/TopicWithOwnDLQAndExpiryQueue] started, fullSize=20,
[jboss-user] [JBoss Seam] - Re: inject into EJB with @In doesnot work under SeamTest
I am sorry, register 's scope is stateless View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108845#4108845 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108845 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - How to install JBoss cache from all to default server
Hi there, I want to use default jboss instance with JBoss Tree Cache (JBoss version 4.2.2) I've copied jgroups.jar and jboss-cache-jdk50.jar in default/lib and ejb3-entity-cache-service.xml en default/deploy It seems to work but I am having redeploy/undeploy problems of the ears I run with Cache enabled (using JBoss TreeCache as Hibernate cache). Am I missing something? Thanks, Ignacio View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108847#4108847 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108847 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Exception when redeploying .ear that uses JBoss Cache
Hi there, I have no problems redeploying ears which don't use JBoss Cache. If I try to redeploy an ear using the Cache I have to stop and start JBoss because I get the following exception. Thanks for any help. 2007-11-29 12:39:43,395 WARN [org.hibernate.cache.TransactionalCache] could not destroy cache | org.hibernate.cache.CacheException: org.jboss.cache.lock.TimeoutException failure acquiring lock: fqn=/mime_ear,ServEngineFilePublisherEJB_jar,mainPersistenceUnit/com/servengine/filepublisher/FilePublisherCategory, caller=Thread[ScannerThread,5,jboss], lock=read owners=[GlobalTransaction:195.219.190.135:60852:9] (activeReaders=1, activeWriter=null, waitingReaders=0, waitingWriters=0, waitingUpgrader=0) | at org.jboss.cache.Node.acquire(Node.java:500) | at org.jboss.cache.interceptors.PessimisticLockInterceptor.acquireNodeLock(PessimisticLockInterceptor.java:381) | at org.jboss.cache.interceptors.PessimisticLockInterceptor.lock(PessimisticLockInterceptor.java:309) | at org.jboss.cache.interceptors.PessimisticLockInterceptor.invoke(PessimisticLockInterceptor.java:183) | at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68) | at org.jboss.cache.interceptors.UnlockInterceptor.invoke(UnlockInterceptor.java:32) | at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68) | at org.jboss.cache.interceptors.ReplicationInterceptor.invoke(ReplicationInterceptor.java:39) | at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68) | at org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:365) | at org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:160) | at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68) | at org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:183) | at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5877) | at org.jboss.cache.TreeCache.remove(TreeCache.java:3885) | at org.jboss.cache.TreeCache.remove(TreeCache.java:3452) | at org.jboss.ejb3.entity.JBCCache.destroy(JBCCache.java:217) | at org.hibernate.cache.TransactionalCache.destroy(TransactionalCache.java:129) | at org.hibernate.impl.SessionFactoryImpl.close(SessionFactoryImpl.java:777) | at org.hibernate.ejb.EntityManagerFactoryImpl.close(EntityManagerFactoryImpl.java:43) | at org.jboss.ejb3.entity.ManagedEntityManagerFactory.destroy(ManagedEntityManagerFactory.java:86) | at org.jboss.ejb3.entity.PersistenceUnitDeployment.stop(PersistenceUnitDeployment.java:278) | 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:597) | at org.jboss.ejb3.ServiceDelegateWrapper.stopService(ServiceDelegateWrapper.java:119) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStop(ServiceMBeanSupport.java:315) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:247) | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | 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.stop(Unknown Source) | at org.jboss.system.ServiceController.stop(ServiceController.java:508) | 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:597) | 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 $Proxy211.stop(Unknown Source) | at
[jboss-user] [Installation, Configuration DEPLOYMENT] - Can we deploy without restarting?
Dear all, Is it possible to deploy apps to appserver without shutting it down? e.g through a web-console or something? if it is possible, how do we do this? I'm using JBoss 4.2.2.GA. thanks in advance View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108853#4108853 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108853 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: migrating from ServiceMBeanSupport
jhalliday wrote : Fair enough. So I can't do much of my setup in the service constructor, as I don't have the information yet at that time. I need to do the work in the start method instead. That's actually less effort for me, as it's how things currently work. | btw: what's stopping you from using MC beans instead of mbeans, if you're already migrating jhalliday wrote : | The problem with that is: many other services depend on the transaction manager. As far as I can tell, under the old pre-MC semantics, depends meant 'ensure the other service has started'. As a result, work the transaction manager does in the start method would be finished before anything that depends on it was executed. Under MC, depends seems to mean 'ensure the service I depend on has reached at least the same point in the lifecycle as the one I'm transitioning to' by default. | Previous depend was/is like this: A depends on B -- B created, then A could be created, B started, A could start And this is still the same: From ServiceDependencyMetaData | visitor.addDependency(new LifecycleDependencyItem(name, other, ControllerState.CREATE)); | visitor.addDependency(new LifecycleDependencyItem(name, other, ControllerState.START)); | From MC's AbstractDependencyMetaData | DependencyItem item = new LifecycleDependencyItem(context.getName(), ControllerState.CREATE); | visitor.addDependency(item); | item = new LifecycleDependencyItem(context.getName(), ControllerState.START); | visitor.addDependency(item); | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108852#4108852 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108852 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Redirect to a specific portal after login
Hello, I would like to know, how to redirect to a desired portal instance after a user logs in. We have more than one portal instances. After users log in by username and passwort using the default jboss portal login form, is it possible to have them automatically redirect to a specific portal (the one that was assigned to them) ? Can you tell me, how to use the default login mechanism, maybe how to change it ? Greetings, ameo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108846#4108846 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108846 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: inject into EJB with @In doesnot work under SeamTest
Resolve it after add annotation: @Interceptors(SeamInterceptor.class) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108858#4108858 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108858 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Jasypt and JCA -ds.xml files
Has anyone integrated Jasypt (http://www.jasypt.org ) with -ds.xml files? We use the method described at http://wiki.jboss.org/wiki/Wiki.jsp?page=EncryptingDataSourcePasswords but this seems like it might be a simpler approach. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108860#4108860 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108860 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: ClusteredCacheLoader + LOCAL CacheMode
anonymous wrote : | replication with buddy replication: This is where i am not so clear, im not so clear on how buddy replication works, i have set it up but dont know the reasoning behind why it does what it does. Ok i would have thought that you would share data with your buddy and the data would be in the same tree, not in a seperate branch i.e under /_BUDDY_BACKUP_ 0 branch. Maybe im missing some configuration setting to merge the 2 buddies data into the same tree?? | So to answer my own question http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossCacheBuddyReplicationDesign They are meant to be seperate branches. Now if i have 4 nodes and i only want groups of 2 to replicate data but in the same tree/branch, i have to set up 2 different clusters with 2 nodes in it each cluster using normal replication without buddy replication or can i configure buddy replication to replicate in the same branch?? is that possible?? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108861#4108861 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108861 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: JBossWS with JBoss 4.2.0 and Axis 1.4 don't work with WS
Hello, I get the same error you got already in August. I am using Axis2 1.3 as a client and JBoss 4.2.0 GA as the server. Verifying the signature works fine but after this I get the NullPointerException in the WSSecurityDispatcher as noted in the stacktrace from iantonijevic at 07.Aug. Did one of you find a solution to this problem? Thanks for your help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108857#4108857 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108857 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Two Entity has @OneToMany to the same Entity
How can I do two Entity has @OneToMany to the same Entity? For example the Entity A has @OneToMany to Entity C and Entity B has @OneToMany to Entity C too. The Hibernate adds in the Entity C the id of Entity A or Entity B, but in the search the Hibernate doesn´t know of which Entity the id referer (Entity A or Entity B). How can I resolve this problem? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108855#4108855 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108855 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: migrating from ServiceMBeanSupport
ok, so I must be doing something wrong then. I take a class that previously extended ServiceMBeanSupport. I change it so it no longer does so. I change startService() to start(). I drop it into the app server and hey presto, thing that depend upon it break. 12:29:28,517 INFO [JMXKernel] Legacy JMX core initialized 12:29:41,350 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/ 12:29:43,385 ERROR [AbstractKernelController] Error installing to Start: name=jboss:service=invoker,type=local state=Create mode=Manual requiredState=Installed javax.naming.NameNotFoundException: TransactionManager not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:542) at org.jnp.server.NamingServer.getBinding(NamingServer.java:550) at org.jnp.server.NamingServer.getObject(NamingServer.java:556) at org.jnp.server.NamingServer.lookup(NamingServer.java:296) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:669) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:629) at javax.naming.InitialContext.lookup(InitialContext.java:351) at org.jboss.invocation.local.LocalInvoker.startService(LocalInvoker.java:77) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:299) If I'm reading that trace right, the name=jboss:service=invoker,type=local bean is being started and running into problems because start() has not jet been called on the transaction manager bean. I think there is some mismatch here between the lifecycle that occured under ServiceMBeanSupport. vs. the one I get with MC. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108862#4108862 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108862 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: By clicking every row of dataTable, show Popup to edit i
like this a4j:form | rich:dataTable value=#{rowDataModel} var=row onRowMouseOver=this.style.backgroundColor='#EAEAEA';this.style.cursor='pointer'; | onRowMouseOut=this.style.backgroundColor='#{FF}' | rich:column | f:facet name=header | h:outputText value=Name / | /f:facet | h:outputText value=#{row.name} / | /rich:column | rich:column | f:facet name=header | h:outputText value=Age / | /f:facet | h:outputText value=#{row.age} / | /rich:column | a4j:support event=onRowClick oncomplete=Richfaces.showModalPanel('popUpPanel') ajaxSingle=true action=#{test.showPopUp} reRender=popUpForm / | /rich:dataTable | /a4j:form | | | rich:modalPanel id=popUpPanel resizeable=false autosized=true | f:facet name=header | h:outputText value=Some header / | /f:facet | f:facet name=controls | h:graphicImage value=/img/popupclose.gif onclick=Richfaces.hideModalPanel('crudModalPanel')/h:graphicImage | /f:facet | a4j:form id=popUpForm | Name : #{test.name} | Age : #{test.age} | /a4j:form | /rich:modalPanel and a seam component called test | | @DataModel | ListUser rowDataModel; | | @DataModelSelection | User selectedRow; | | public void showPopup() { | name = selectedRow.getName(); | age = selectedRow.getAge(); | } so the action in anonymous wrote : | a4j:support event=onRowClick oncomplete=Richfaces.showModalPanel('popUpPanel') ajaxSingle=true action=#{test.showPopUp} reRender=popUpForm / changes the values of test.name and test.age. The popup is then displayed with the changed values. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108864#4108864 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108864 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Can we deploy without restarting?
Well, you can redeploy an app by just updating the .ear file on your deploy directory (basically, where you put iit the first time) But i assume you want to do it from a remote machine? Nico. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108870#4108870 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108870 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Commiting after each statement (mysql)
Thank you so much, It solved :-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108871#4108871 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108871 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: migrating from ServiceMBeanSupport
I don't have a createService/create method. Besides, the invoker bean is moving into the run state, which means the transaction manger should have had start() called on it? It does not seem to get that call. I can add a create() to see if that gets called, but I'm not clear what help that would be. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108865#4108865 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108865 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: migrating from ServiceMBeanSupport
jhalliday wrote : I change it so it no longer does so. I change startService() to start(). What about createService() -- create()? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108863#4108863 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108863 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Interfere the .EntityManager actions in jboss
Hello all We have very large application that use's extensively the EntityManager methods (createNamedQuery, createQuery, find, merge) Now to refractor all the instances will be a pain, my problem is That I need to insert another check in the returned value and filter it out Can it be bone after the information send into the EntityManager? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108866#4108866 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108866 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: migrating from ServiceMBeanSupport
hmm, create() does not get called either. Is it possible there is something odd with lifecycle callbacks to mbeans? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108868#4108868 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108868 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - About outject and context
I have userList session bean with Session scope,and outject an user object @Stateful | @Name (userList) | @Scope (SESSION) | public class UserListAction implements UserList { | @Out private User user; | ... | } And I have an userEdit session bean with Conversation scope,and also outject an user object @Stateful | @Name (userEdit) | @Scope (CONVERSATION) | public class UserEditAction implements UserEdit { | @Out private User user; | ... | } then the userlist and useredit pages will redirect to userView page. suppose this situation,I enter userlist page,select an user to view,then I go to useredit page,create an user,and after save will jump to view since the userlist has also outject an user(in session scope?),and then the useredit will also outject another(in conversation scope?),will there be two user object now? and as I have end the conversation after edituser saved,I suppose that the conversation scope has been destroyed,where is that outject user object?in which context? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108869#4108869 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108869 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: migrating from ServiceMBeanSupport
Can you post this XML. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108872#4108872 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108872 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problems with links in pageflow pages based on templates
You should try. It works for me. As i understand, there's a problem using view tag in a template and redirect tag in the pageflow. They don't work together. Why? I currently still don't know. Or if you don't know how to replace your view code by an action code, remove your redirect tag in your pageflow. But i don't know what are the consequences when you refresh your page. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108874#4108874 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108874 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: comment/uncomment in .xhtml
xhtml is html with strict xml syntax. Use the standard !-- -- xml comment View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108875#4108875 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108875 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @Transactional doubts
The problema was in mysql, http://www.jboss.com/index.html?module=bbop=viewtopicp=4108871#4108871 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108876#4108876 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108876 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam without DB/persistence tier:Dependency libs
Hi, If i work with Seam (2.0 GA) without any DB/persistence layer why its throwing lot of class not found exceptions (for javax.entity, Hibernate etc.). How can i disable DB/Persistence layer dependencies?? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108879#4108879 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108879 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - deploying jbpm 3.2.2 process archive in jboss 4.2.x
hi, I am new to ant as well as to jbpm. i am using jboss 4.2.2GA with Mysql 5.0.45. While deploying process archive using ant script i am getting following error: couldn't deploy process archives : hibernate.cfg.xml not found. My build.xml file is | ?xml version=1.0 encoding=UTF-8? | project name=DeployTest default=deploy.par basedir=. | property name=librarydir value=${basedir}/lib / | path id=libraries | fileset dir=${librarydir} | include name=*.jar / | /fileset | /path | | target name=deploy.par | taskdef name=deploypar classname=org.jbpm.ant.DeployProcessTask | classpath refid=libraries / | /taskdef | deploypar process=build/Test.par jbpmcfg=${basedir}/bin/jbpm.cfg.xml / | /target | /project | Where *.jars refer to all required jar files. I am not getting where to specify path of hibernate.cfg.xml file. Syntax in user guide is outdated. Earlier using cfg attribute we can specify our hibernate.cfg.xml file, but now its replaced with jbpmcfg. Please reply, since its very very urgent for me. any suggestions welcomed. Regards, vishal View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108880#4108880 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108880 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: migrating from ServiceMBeanSupport
And an example of dependency? Dunno how lifecycle works if your mbean is not an instance of Service anymore, or if it's wrapped in some Service impl ... |public void installAction(ServiceControllerContext context) throws Throwable |{ | Service service = context.getServiceProxy(); | service.start(); | | context.getServiceContext().state = ServiceContext.RUNNING; | | ObjectName objectName = context.getObjectName(); | ServiceController serviceController = context.getServiceController(); | serviceController.sendControllerNotification(ServiceMBean.START_EVENT, objectName); |} | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108877#4108877 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108877 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: migrating from ServiceMBeanSupport
mbean name=jboss:service=TransactionManager code=com.arjuna.ats.jbossatx.jta.TransactionManagerService | property name=mbeanServerinject bean=JMXKernel property=mbeanServer//property | property name=transactionTimeout300/property | property name=ObjectStoreDir${jboss.server.data.dir}/tx-object-store/property |/mbean | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108873#4108873 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108873 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Migration from JBossIDE 1.6.0 to JBossTools 2.0.0.cr1 Pack
Hi, i am a long time user of Eclipse 3.2.1/JbossIDE1.6.0 I have setup some really complex packaging configurations. Now i realize the new way is through Project Archives. Is there a way or a guideline to migrate from the packaging configuration to the new project Archives feature? I can always run the old packaging-build.xml thru ant, but i am sure there is something better than that! I am recovering from a 2 days FreeBSD update marathon, so forgive me if i am missing something obvious. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108883#4108883 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108883 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: migrating from ServiceMBeanSupport
And an example of dependency? look at jboss-service.xml in AS trunk and take your pick. |mbean code=org.jboss.invocation.local.LocalInvoker | name=jboss:service=invoker,type=local | dependsjboss:service=TransactionManager/depends |/mbean | Dunno how lifecycle works if your mbean is not an instance of Service anymore, huh? I thought the whole point of MC was that you could use POJOs. Now it appears I have to implement or subclass something? Arggg. How does that leave me any better off than not changing my code at all. I may as well stick with 'extends ServiceMBeanSupport' View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108881#4108881 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108881 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: comment/uncomment in .xhtml
amitev wrote : xhtml is html with strict xml syntax. Use the standard !-- -- xml comment Thanks, that's useful. Manuall adding comments while automatically handling transactions and ORM and all the rest of hi-tech, sounds brilliant. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108882#4108882 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108882 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Exception when redeploying .ear that uses JBoss Cache
Is 195.219.190.135 the JBoss you are trying to stop? What's the value for LockAcquisitionTimeout in your ejb3-entity-cache-service.xml? You're seeing a locking conflict as EJB3 tries to clean up the cache during shutdown. Conflicting with an uncommitted transaction that's got a lock. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108886#4108886 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108886 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Java Client Application using Stub with WS-Security
I tried your suggestion : package com.main; import java.io.File; import java.net.MalformedURLException; import java.net.URL; import javax.naming.NamingException; import javax.xml.namespace.QName; import javax.xml.rpc.Stub; import org.jboss.ws.core.StubExt; import com.client.*; public class MainTest { public static void main(String[] args) throws MalformedURLException, NamingException { System.setProperty(org.jboss.ws.wsse.keyStore, etc/wsse.keystore); System.setProperty(org.jboss.ws.wsse.trustStore, etc/wsse.truststore); System.setProperty(org.jboss.ws.wsse.keyStorePassword, mypass); System.setProperty(org.jboss.ws.wsse.trustStorePassword, mypass); System.setProperty(org.jboss.ws.wsse.keyStoreType, jks); System.setProperty(org.jboss.ws.wsse.trustStoreType, jks); URL url = new URL(http://127.0.0.1:8080/test/Test?wsdl;); QName qName = new QName(rrr, TestService); TestService service = new TestService(url,qName); Test ws = service.getPort(Test.class); ((StubExt) ws).setSecurityConfig(new File(etc/jboss-wsse-client.xml).toURI().toURL().toExternalForm()); ((StubExt) ws).setConfigName(Standard WSSecurity Client); ws.hello(Benoit); // doesnt work ! } } jboss-wwse-client.xml : ?xml version=1.0 encoding=UTF-8? jboss-ws-security xmlns=http://www.jboss.com/ws-security/config; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://www.jboss.com/ws-security/config http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd; /jboss-ws-security Generate my keystore and my truststore with this command line : keytool -genkey -alias wsse -keyalg RSA -keypass mypass -storepass mypass -keystore c:/wsse.keystore keytool -export -alias wsse -storepass mypass -file c:/server.cer -keystore c:/wsse.keystore keytool -import -v -trustcacerts -alias wsse -file c:/server.cer -keystore c:/wsse.truststore -keypass mypass -storepass mypass and I still get this error : Exception in thread main javax.xml.ws.WebServiceException: org.jboss.ws.core.CommonSOAPFaultException: An internal WS-Security error occurred. See log for details at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.processHandlerFailure(HandlerChainExecutor.java:276) at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:155) at org.jboss.ws.core.jaxws.client.ClientImpl.callRequestHandlerChain(ClientImpl.java:160) at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:297) at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:243) at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:164) at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150) at $Proxy14.hello(Unknown Source) at com.main.MainTest.main(MainTest.java:35) Caused by: org.jboss.ws.core.CommonSOAPFaultException: An internal WS-Security error occurred. See log for details at org.jboss.ws.extensions.security.WSSecurityDispatcher.convertToFault(WSSecurityDispatcher.java:105) at org.jboss.ws.extensions.security.WSSecurityDispatcher.handleOutbound(WSSecurityDispatcher.java:314) at org.jboss.ws.extensions.security.jaxws.WSSecurityHandler.handleOutboundSecurity(WSSecurityHandler.java:95) at org.jboss.ws.extensions.security.jaxws.WSSecurityHandlerClient.handleOutbound(WSSecurityHandlerClient.java:45) at org.jboss.ws.core.jaxws.handler.GenericHandler.handleMessage(GenericHandler.java:55) at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:295) at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:140) ... 7 more server.log (jboss_folder/server/default/log): 2007-11-29 09:20:58,342 DEBUG [org.jboss.wsf.stack.jbws.RequestHandlerImpl] handleWSDLRequest: jboss.ws:context=test,endpoint=Test 2007-11-29 09:20:58,342 DEBUG [org.jboss.wsf.stack.jbws.RequestHandlerImpl] WSDL request, using host: 127.0.0.1 2007-11-29 09:20:58,451 DEBUG [org.jboss.wsf.stack.jbws.RequestHandlerImpl] handleWSDLRequest: jboss.ws:context=test,endpoint=Test 2007-11-29 09:20:58,451 DEBUG [org.jboss.wsf.stack.jbws.RequestHandlerImpl] WSDL request, using host: 127.0.0.1 2007-11-29 09:20:58,545 DEBUG [org.jboss.wsf.stack.jbws.RequestHandlerImpl] handleWSDLRequest: jboss.ws:context=test,endpoint=Test 2007-11-29 09:20:58,545 DEBUG [org.jboss.wsf.stack.jbws.RequestHandlerImpl]
[jboss-user] [JBossWS] - Re: Java Client Application using Stub with WS-Security
I have some problems to paste my jboss-wsse-client.xml but i use this example : http://wiki.jboss.org/wiki/Wiki.jsp?page=WSSecuritySignEncryptExample View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108893#4108893 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108893 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: How to make server's JNDI 1099 connection?
Well, thanks very much for the suggestion, but I'm afraid I still get the same error. I overwrote the jndi.properties files in ...default\conf and ...all\conf, but no luck. (That is what you meant, right?) I'll repost in newbies and JNDI forums... Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108901#4108901 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108901 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Different classpathes for portlets
Hi, this is probably an academic question, since I haven't tried it out, yet, but, is it possible, that one portlet uses a different version of the the same library as another portlet or the application server classpath? Do the portlets share the classpath with each other or with the application server or is it possible to define different classpathes? Greetings, Thorsten. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108902#4108902 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108902 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Problems with the jar-file element in the persistence.
Have you found a proper solution to this problem? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108899#4108899 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108899 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - @Startup and Seam interceptor
Hi everybody, it seems that Seam interceptor doesnot work with @Startup. I have an app scope Seam Component loaded by deployment, in this Seam Component i use my own annotaion (which used seam interceptor) to inject jndi resource, but it does not work. please help many thanks in advance View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108900#4108900 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108900 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Getting JBPM to use the seam managed persistence context
Ok. |public static Object getInstance(Class? clazz, ScopeType scope, boolean create) |{ | return getInstance( getComponentName(clazz), scope, create ); |} | I can see that the static instance() call does ultimately result in retrieving the component by name. Consider me educated now :) Cheers J View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108903#4108903 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108903 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - long time to reload messages in fail over state
Hi, I have done some tests like the exemples distribueted. In my fail over test I have make 2 clustered istances of Jboss 4.2.2 + JBM 1.4.0 SP1 and I have sended 100 messages in to node 1. In my condition test the balancer have put all (!?) messages in node 2 and afther few second I have manualy killed node 2. Follow the log about this step: | 12:55:36,518 INFO [FailoverCommandCenter] JBoss Messaging server failure detected - waiting for failover to complete... | 12:55:36,705 INFO [TreeCache] viewAccepted(): [192.168.10.48:32790|4] [192.168.10.48:32790] | 12:55:36,720 INFO [TreeCache] viewAccepted(): [192.168.10.48:32792|4] [192.168.10.48:32792] | 12:55:36,726 INFO [TreeCache] viewAccepted(): [192.168.10.48:32783|4] [192.168.10.48:32783] | 12:55:36,799 INFO [MessagingPostOffice] JBoss Messaging is failing over for failed node 48. If there are many messages to reload this may take some time... | 13:27:08,793 INFO [MessageMdb] MESSAGE BEAN: IntProperty iteration: 63 | You can see: the node 1 takes 32 minutes to start to consume messages. In this time the CPUs are at 0%... Is it normal? When I have restarted node 2 it throws the follow exception: 14:23:21,934 INFO [TreeCache] viewAccepted(): [192.168.10.48:32783|5] [192.168.10.48:32783, 192.168.10.72:1961] | 14:23:22,037 INFO [StateTransferGenerator_140] returning the state for tree rooted in /(1024 bytes)14:23:57,576 WARN [Client] unable to remove remote callback handler: Can not remove callback listener from target server with id of 3j011-vuslhj-f9l6ile8-1-f9l6pat0-8+3j011-vuslhj-f9l6ile8-1-f9l6payb-b as it does not exist as a registered callback listener. | 14:24:06,520 ERROR [FailoverCommandCenter] Failover failed | org.jboss.jms.exception.MessagingShutdownException: Cannot handle invocation since messaging server is not active (it is either starting up or shutting down) | at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:133) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:769) | at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:573) at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:387) | at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:166) | at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:163) | at org.jboss.remoting.Client.invoke(Client.java:1634) | at org.jboss.remoting.Client.invoke(Client.java:548) | at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$createConnectionDelegate$aop(ClientConnectionFactoryDelegate.java:167) | at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.java) | at org.jboss.jms.client.container.StateCreationAspect.handleCreateConnectionDelegate(StateCreationAspect.java:83) | at org.jboss.aop.advice.org.jboss.jms.client.container.StateCreationAspect0.invoke(StateCreationAspect0.java) | at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.java) | at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createConnectionDelegate(ClientConnectionFactoryDelegate.java) | at org.jboss.jms.client.container.ClusteringAspect.handleCreateConnectionDelegate(ClusteringAspect.java:134) | 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:597) | at org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:121) | at org.jboss.jms.client.delegate.ClientClusteredConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.invokeNext(ClientClusteredConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.java) | at org.jboss.jms.client.delegate.ClientClusteredConnectionFactoryDelegate.createConnectionDelegate(ClientClusteredConnectionFactoryDelegate.java) | at org.jboss.jms.client.FailoverCommandCenter.failureDetected(FailoverCommandCenter.java:129) | at org.jboss.jms.client.container.ConnectionFailureListener.handleConnectionException(ConnectionFailureListener.java:62) | at
[jboss-user] [JBossWS] - Re: Java Client Application using Stub with WS-Security
sorry, I did a bad cut and paste, jboss-wsse-client.xml: ?xml version=1.0 encoding=UTF-8? jboss-ws-security xmlns=http://www.jboss.com/ws-security/config; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://www.jboss.com/ws-security/config http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd; /jboss-ws-security View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108889#4108889 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108889 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Java Client Application using Stub with WS-Security
View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108892#4108892 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108892 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: generating forms programatically
J, I've seen an example in my searches that used the c: tags to help with a little logic (choosing between a display set of components and an edit set of components I think). That could certainly have some uses. However, is it possible to inquire about annotations and other meta data about bean properties using only c: tags? Can you show an example, maybe I'm missing something. I feel at that point, even if possible, that it is too much logic in the template. I cannot imagine that refactoring c: tags in Facelets templates would be much fun :) - I imagine we don't even have extract method. With templating, and Facelets in particular, aren't we trying to avoid logic in the template? I would love to do as Peter suggest and do it with code. I'm just struggling to find the appropriate place to do it. Btw, I am hoping to reuse the s:decorate component from within my code, along with any other useful components. Creating my own component set seems to be quite a bit of trouble though, looking at Hightower part 4 article (seems to be at least one bug in there too). However, that is certainly one option that I am considering (it's so annoying how you have to create a Component and a Tag and a mention in the taglib.xml file!). I recently discovered Ajax4Jsf/RichFaces CDK which could help cutting down the boilerplate with that. Peter I noted that you have had similar thoughts on your blog :). It seems that JSF templating convolutes the creation of the component tree and the template/layout itself. If I could create my component tree with code and lay them out in a template (amongst more static components I guess), things might be heading towards my ideal scenario. I will certainly follow up with the Facelets list. Thanks for the thoughts. Keep them coming! I've also come across an old article from 2004 Improving JSF by dumping JSP. I haven't finished yet but it's starting to talk about the idea of using a programmatic view handler (instead of JSP in this case - perhaps before Facelets was around) where you can construct the component tree in code. A custom view handler could be hard to sell to the team though :(. Cheers, Steve. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108904#4108904 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108904 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: ClusteredCacheLoader + LOCAL CacheMode
So now im left asking myself what the hell is ClusteredCacheLoader used for?? Doesnt make sense to use it with a replicated cache, you could use it with invalidation and you cant use it with a local cache. Then i come across this http://www.jboss.org/index.html?module=bbop=viewtopict=118598 2 Reasons are given as to why to use it. Reason 1 doesnt make sense to me if you cant set your cache to LOCAL, to avoid the initial state transfer but if you have to run in replication or invalidation mode then this transfer has to happen or maybe i dont see the other case(s). Reason 2 i cant comment on because i dont know what the overhead of writing to persisten store is yet!!(On my todo list ;) ) And the very last comment anonymous wrote : | The other reason for using a CCL is if you don't want any replication at all - i.e., caches are configured as LOCAL, but use a shared database as a cache loader. This way, you could use a CCL as well to prevent overloading your shared DB. | So i assume the above statement is incorrect, you cant use it when set to LOCAL or is there a case when you can? Basically what i wanted was 2 standalone nodes without any replication/validation going on but with the ability to ask the other if they had data if it doesnt have it. Looks like its not to be... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108906#4108906 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108906 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: comment/uncomment in .xhtml
Just found out that !-- #{Seam EL} -- is actually run within the comments. IMHO it shouldn't be so, at least we need another pair of comment tags, cause if I need to e.g. temporarily switch off the creation of some component referenced in the page, simple commenting isn't enough, I need to remove that piece of code altogether from the page. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108898#4108898 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108898 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - HELP! Can't connect to 1099?
Hi folks. When my new JBoss 4.2 Eclipse plugin starts, I'm getting this in the event log: JMXException: Could not obtain connection to any of these urls: localhost:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] I've tried switching the port to something like 1234, to be sure it wasn't in use, but I get the same error. The server itself does come up, but it seems I can't use JNDI for this reason. I'm a newbie at JBoss, so there's a good chance I missed something obvious. If anyone could point me in the right direction on this, I'd really appreciate it. I've been trying to get started here for a couple weeks! Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108907#4108907 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108907 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - HELP! Can't connect to 1099?
Hi folks. When my new JBoss 4.2 Eclipse plugin starts, I'm getting this in the event log: JMXException: Could not obtain connection to any of these urls: localhost:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] I've tried switching the port to something like 1234, to be sure it wasn't in use, but I get the same error. The server itself does come up, but it seems I can't use JNDI for this reason. I'm a newbie at JBoss, so there's a good chance I missed something obvious. If anyone could point me in the right direction on this, I'd really appreciate it. I've been trying to get started here for a couple weeks! Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108905#4108905 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108905 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Performance Benchmarking problem
Now I'm getting another NoClassDefFoundError: [java] 09:43:40,649 WARN [PerformanceTest] job PING failed: java.rmi.ServerError: Error occurred in server thread; nested exception is: java.lang.NoClassDefFoundError: Could not initialize class org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate | I have ensured that jboss-messaging-client.jar (contains ClientConnectionFactoryDelegate) is being included in the classpath for both the remote RMI executors and the runner jvm's. Any suggestions would be great. Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108909#4108909 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108909 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - JBoss tools ejb3
I'm looking for a way to generate all the stuff I need to deploy my EJB3 enterprise project. I downloaded JBoss 4.2, Eclipse 3.3 and JBoss tools 2.0 RC1 which I extracted in the eclipe 3.3 root directory. All goes fine; I can use the wizard to create session beans (V3) which creates nice skeletons with all the annotations I need. Also deploying it on JBoss and testing the EJB with a standalone client is no problem. Now; I'm wondering how can I generate the container specific deployment descriptors such as jboss.xml ? I'm also planning to do some tests with JPA, for which I have the same question on how I can generate the persitence.xmk. For the JBoss.xml I allready found some JBoss annotations which do the same thing, however I would really like to add some specific things in the jboss.xml. No doubt I can create it manually, but there must be some automatic way to do this ? Or perhaps there is a way that the annotations in the code can serve as a foundation for the jboss.xml ... (xdoclet allike) for example; the JNDI location where the beans are deployed, a default could easily be generated for the session beans I have in my project. I'm also a bit confused with the jboss tools for eclipse, there seems to be little functioanlityt in eclipse , besides the EJB3 session bean templates I cannot see anything special (for example, if I do new-jboss tools-descriptors there is no '3.0' descritpor, only 2.0 and 2.1) Some help would be greatly appreciated, I cannot find any usefull documentation on jboss tools on this. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108912#4108912 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108912 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - EJB3 + JBoss Tools (IDE)
I'm looking for a way to generate all the stuff I need to deploy my EJB3 enterprise project. I downloaded JBoss 4.2, Eclipse 3.3 and JBoss tools 2.0 RC1 which I extracted in the eclipe 3.3 root directory. All goes fine; I can use the wizard to create session beans (V3) which creates nice skeletons with all the annotations I need. Also deploying it on JBoss and testing the EJB with a standalone client is no problem. Now; I'm wondering how can I generate the container specific deployment descriptors such as jboss.xml ? I'm also planning to do some tests with JPA, for which I have the same question on how I can generate the persitence.xmk. For the JBoss.xml I allready found some JBoss annotations which do the same thing, however I would really like to add some specific things in the jboss.xml. No doubt I can create it manually, but there must be some automatic way to do this ? Or perhaps there is a way that the annotations in the code can serve as a foundation for the jboss.xml ... (xdoclet allike) for example; the JNDI location where the beans are deployed, a default could easily be generated for the session beans I have in my project. I'm also a bit confused with the jboss tools for eclipse, there seems to be little functioanlityt in eclipse , besides the EJB3 session bean templates I cannot see anything special (for example, if I do new-jboss tools-descriptors there is no '3.0' descritpor, only 2.0 and 2.1) Some help would be greatly appreciated, I cannot find any usefull documentation on jboss tools on this. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108911#4108911 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108911 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Exception when redeploying .ear that uses JBoss Cache
Thanks a lot for your reply. It has the default value of 15000 (15 seconds?) Should I reduce it? In my code I always do a UserTransaction.commit() and a UserTransaction.setRollBackOnly in case of an exception inside the transaction. Do I have to take any other actions to be sure that transactions are commited or rolledback? thanks again, Ignacio View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108908#4108908 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108908 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Basic auth with ACEGI
Hello, I have an application (Pentaho) which uses ACEGI as a security framework. I need it to expose a BASIC secured URL. I configured it properly and when I request the URL, the response includes a WWW-Authenticate header. My browser sends back a valid and verified Authentication header, but somewhere in the process, it gets stripped off the request object. Debugging ACEGI shows that the header never got to the application. How is it possible that a header gets removed ? Does JBoss 4.2.1-GA have a mechanism that intercepts the authentication headers ? (BTW. I'm pretty sure that application web.xml is not configured to use BASIC auth. Can anyone help me to confirm that ?) Thanks Luc View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108910#4108910 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108910 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - java:com/env not working?
Hi, I'm trying to look up a Bean using java:comp/env/MyBean but I just keep getting env not bound (using jbossAS 4.2.1.GA) Isn't java:comp/env/ supported for looking up Bean in the local namespace? Thanks /Magnus View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108921#4108921 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108921 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Java Client Application using Stub with WS-Security
method_ben wrote : | server.log (jboss_folder/server/default/log): | | 2007-11-29 09:20:58,342 DEBUG [org.jboss.wsf.stack.jbws.RequestHandlerImpl] handleWSDLRequest: jboss.ws:context=test,endpoint=Test | 2007-11-29 09:20:58,342 DEBUG [org.jboss.wsf.stack.jbws.RequestHandlerImpl] WSDL request, using host: 127.0.0.1 | 2007-11-29 09:20:58,451 DEBUG [org.jboss.wsf.stack.jbws.RequestHandlerImpl] handleWSDLRequest: jboss.ws:context=test,endpoint=Test | 2007-11-29 09:20:58,451 DEBUG [org.jboss.wsf.stack.jbws.RequestHandlerImpl] WSDL request, using host: 127.0.0.1 | 2007-11-29 09:20:58,545 DEBUG [org.jboss.wsf.stack.jbws.RequestHandlerImpl] handleWSDLRequest: jboss.ws:context=test,endpoint=Test | 2007-11-29 09:20:58,545 DEBUG [org.jboss.wsf.stack.jbws.RequestHandlerImpl] WSDL request, using host: 127.0.0.1 | You're supposed to find an exception in your log, since the code you're running is something like | try { | //some stuff generating the exception | } | catch (WSSecurityException e) | { | if (e.isInternalError()) | log.error(Internal error occured handling outbound message:, e); //this is the interesting log we need | else if(log.isDebugEnabled()) log.debug(Returning error to sender: + e.getMessage()); | | throw convertToFault(e); //this creates the message you get on the client | } | Please use the preview button before submitting messages on the forum; also wrap code snippets into [ code ] [ /code ] tags. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108924#4108924 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108924 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - JBossWS 2.0.2, com.sun.management.jmxremote and Java 6
I'm running JBoss 4.2.2-GA and am having trouble getting JConsole working under Java 6. I saw this JIRA http://jira.jboss.com/jira/browse/JBWS-1800?page=all which indicates there was a problem and it's fixed in JBossWS 4.0.2. I downloaded 2.0.2, deployed it into my JBoss 4.2.2 and from the console output it appears to have been successful. 29-11-07 14:43:52,860 INFO main [org.jboss.wsf.stack.jbws.NativeServerConfig] JBoss Web Services - Native | 29-11-07 14:43:52,860 INFO main [org.jboss.wsf.stack.jbws.NativeServerConfig] jbossws-native-2.0.2.GA (build=200711261155) | In my run.bat I set the following set JAVA_OPTS=%JAVA_OPTS% -Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl | set JAVA_OPTS=%$JAVA_OPTS% -Djboss.platform.mbeanserver | set JAVA_OPTS=%$JAVA_OPTS% -Dcom.sun.management.jmxremote | Unfortunately I get the exception shown below. I don't get it if I remove the entries from run.bat. Have I missed something in upgrading to 2.0.2 or have I found another problem? java.lang.NullPointerException | at org.jboss.wsf.framework.deployment.WebAppGeneratorDeploymentAspect.generatWebDeployment(WebAppGeneratorDeploymentAspect.java:105) | at org.jboss.wsf.framework.deployment.WebAppGeneratorDeploymentAspect.create(WebAppGeneratorDeploymentAspect.java:84) | at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:115) | at org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:97) | at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:90) | at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188) | at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95) | 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 $Proxy33.start(Unknown Source) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) | at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | 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 $Proxy10.deploy(Unknown Source) | at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) | at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) | at org.jboss.deployment.scanner.AbstractDeploymentScanner.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.GeneratedMethodAccessor5.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | 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
[jboss-user] [JBoss Messaging] - Re: Properties inside an ObjectMessage becomes a HashMap
Hi. I just tried the same test on the Stable branch and it works fine. Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108925#4108925 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108925 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - java.lang.ClassNotFoundException: org.apache.myfaces.webapp.
Hello All, I am getting the following error while deploying Tomahawk 1.1.6 with Apache Myfaces 1.1.5 in JBoss 4.2.2. It gives me ClassCastException ExtensionPhaseListener exception. I have done the following in my web.xml context-param param-name org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL /param-name param-valuetrue/param-value /context-param Even this isn't helping. Any help would be appreciated. Thank you View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108926#4108926 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108926 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: HELP! Can't connect to 1099?
Let's continue the discussion in your other post at http://www.jboss.com/index.html?module=bbop=viewtopict=124831 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108930#4108930 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108930 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: HELP! Can't connect to 1099?
What does the following command output: telnet localhost 1099 Do you have any firewalls installed? The firewall application might be blocking the requests. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108928#4108928 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108928 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: HELP! Can't connect to 1099?
It shows this: Connecting To localhost...Could not open a connection to host on port 1099 : Connect failed I have Norton installed. Trying to shut it off an retry... Will let you know in a minute. THANKS FOR RESPONDING ! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108931#4108931 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108931 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @Startup and Seam interceptor
Does your interceptor work with other Seam components that are not annotated with @Startup? Please post your annotation and interceptor code. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108938#4108938 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108938 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user