[jboss-user] [Microcontainer] - Re: Create Session Factory
Thanks for the explanation vickyk. You're a real deal. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991886#3991886 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991886 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Multi level presentation
Does JBoss Portal support Multi level presentation that is Personalized look and feel, themes, layouts, css per page, per portlet? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991888#3991888 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991888 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: JBOOS installation
Hello, To uninstall the JBoss which is installed using JEMS Installer, just go to the directory where JBoss is installed. Let it be JBOSS_HOME. Find the directory called Uninstaller and run the uninstaller.jar file. If you are using Unix Platform do the following steps. 1. Start the XWindow Manager. 2. And execute the following commands. #export DISPLAY=ur desktop system's ip-addr:0 | #cd JBOSS_HOME/Uninstaller | #java -jar uninstaller.jar You can now install jboss with all server configuration using JEMS Installer. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991889#3991889 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991889 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: Jboss 4.0.0 configuration for load testing - thread pool
For clustering of Jboss check out this link:- http://tjworld.net/help/kb/jboss-clustering.html But I recommend you to dig into the jboss documentation as well. Abbey. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991890#3991890 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991890 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Validation on update
That was the error Thanks for your help Best Regards ama55 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991891#3991891 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991891 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Dynamic Deployement with JBoss AS
Hi, I would like to use AOP to change the runtime behavior of some classes in my EAR file deployed to Jboss 4.0.5. According to Section 6.1 of AOP reference document Hot-deploying within the JBoss application server is as easy as putting (or removing) a *-aop.xml file or .aop jar file within the deploy/ directory This is very attractive as I can simply swap in and out the .aop file during runtime. But I can not seem to find an example that illustrate this. In an EAR deployment do I simply remove the .aop file from my EAR and re-deploy the EAR file? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991893#3991893 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991893 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: javax.resource.spi.SecurityException
i have problem with my jms client I get a error when i try to get queue from the lookup in the client program | java.lang.ClassCastException: javax.naming.Reference | I found on the site this error and the fix was to have the below jar files in the classpath messagingClient.jar naming.jar namingClient.jar ecutils.jar can you please tell me where can i find the above jar files in jboss. Please help View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991894#3991894 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991894 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Jboss Operation Network
Hi, Thank you Regards Satyam View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991898#3991898 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991898 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - ClassCastException when trying to marshal MySql Datetime
I get this Exception when I call my WebService. I use JBoss 4.0.5.GA, MySql JDBC Driver mysql-connector-java-3.1.14, and Hibernate. In my Pojo Class I've mapped the datetime Fields as java.util.Date, and in wsdl file as dateTime. My webService works without datetime fields perfectly. 09:58:29,538 ERROR [SOAPFaultExceptionHelper] SOAP request exception javax.xml.rpc.JAXRPCException: Cannot create or send response message at org.jboss.ws.server.ServiceEndpoint.postProcessResponse(ServiceEndpoint.java:286) at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:211) at org.jboss.ws.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:355) at org.jboss.ws.server.StandardEndpointServlet.doPost(StandardEndpointServlet.java:115) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.jboss.ws.server.StandardEndpointServlet.service(StandardEndpointServlet.java:76) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) Caused by: javax.xml.rpc.JAXRPCException: java.lang.ClassCastException: java.sql.Timestamp at org.jboss.ws.soap.SOAPContentElement.write(SOAPContentElement.java:986) at org.jboss.ws.soap.SAAJElementWriter.writeElement(SAAJElementWriter.java:171) at org.jboss.ws.soap.SAAJElementWriter.writeElement(SAAJElementWriter.java:184) at org.jboss.ws.soap.SAAJElementWriter.writeElement(SAAJElementWriter.java:184) at org.jboss.ws.soap.SAAJElementWriter.writeElement(SAAJElementWriter.java:184) at org.jboss.ws.soap.SAAJElementWriter.printInternal(SAAJElementWriter.java:163) at org.jboss.ws.soap.SAAJElementWriter.print(SAAJElementWriter.java:142) at org.jboss.ws.soap.SAAJElementWriter.printSOAPElement(SAAJElementWriter.java:91) at org.jboss.ws.server.ServiceEndpoint.postProcessResponse(ServiceEndpoint.java:280) ... 25 more Caused by: java.lang.ClassCastException: java.sql.Timestamp at org.jboss.xb.binding.SimpleTypeBindings.marshal(SimpleTypeBindings.java:1150) at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalCharacters(MarshallerImpl.java:995) at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalSimpleType(MarshallerImpl.java:471) at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalElementType(MarshallerImpl.java:415) at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalElement(MarshallerImpl.java:331) at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalElementOccurence(MarshallerImpl.java:311) at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalParticle(MarshallerImpl.java:730) at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalModelGroupSequence(MarshallerImpl.java:920) at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalModelGroup(MarshallerImpl.java:860) at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalParticle(MarshallerImpl.java:641) at
[jboss-user] [JBoss Seam] - Re: Flushing changes to objects quickly
I think if you are using @PersistenceContext(type=EXTENDED) then the EntityManager is scoped to that SFSB. Therefore, if you load an Entity in SFSB_A (EntityManager_A) then if you call flush in SFSB_B then the entity won't be flushed as it isn't managed by EntityManager_B. The solution is to use Seam Managed Persistence Context. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991903#3991903 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991903 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - ClassCastException when casting to remote interface
Hi, I use JBoss 4.0.5 GA with EJB 3 with Eclipse. I have an EJB- project and a Web-project. They are (for now) running in the same VM in JBoss. When I get my SessionBean - stub in my web app (via Naming service) and try to cast it to the remote interface, I get a ClassCastException. I already found out that the problem lies in the fact that 2 remote interface class files are deployed. It's described in the wiki http://wiki.jboss.org/wiki/Wiki.jsp?page=CommonHurdlesAndDifficultiesYouMayEncounterDuringEJB3Development The wiki presents 3 solutions: 1. remove the duplicate interface from one of the deployed libs. I found out that this works in principle. My problem with this is, that I don't use an Ant build file where I could simply exclude the file. I use Eclipse to generate the EAR / WAR archive (with Export to... ). Removing the remote interface from the web-archive afterwards solves the problem with the ClassCastException, but is much too time-consuming . 2. run your application in different VMs - not a good solution for me right now 3. enable CallByValue for JNDI unfortunately this is not elaborated in the Wiki. From other resources, I found out that some changes to config files should be made, but the descriptions did not fit to JBoss 4.0.5 (obviously the conf-files have been reorganized). I tried to implement the changes all the same but it did not work! Next I remembered that during the Jboss install there was an option to Enable deployment isolation which sounded like it could solve the problem. So I reinstalled JBoss with this option activated. Unfortunately this did not solve the problem neither. One more strang fact: the ClassCastException only occurs if the EJB is a stateful SessionBean. With a stateless SessionBean I have no problem. I have already spent way too much time with this problem, so I would be very grateful if s.o. could help me with this. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991904#3991904 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991904 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How many EntityManagers and SFSBs in a web app?
Seam Managed Persistence Context solves thing for Conversation scope. For SESSION and APPLICATION scopes either eager fetch what you need or create a manager that reloads entities when they become detached (this is somewhere in the forum archive). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991905#3991905 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991905 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Generic--Maximized.jsp
Hi, Is there a way to use Maximized.jsp for a portlet.? The portlet always makes use of index.jsp. under layout -- generic Thanks Regards Sridhar View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991906#3991906 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991906 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Exception in EJB 3.0 Client Execution
I am working on EJB 3.0 when I execute my Client.java File than find below exception Exception in thread main javax.naming.NameNotFoundException: examples.sessio stateless.Hello 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:296) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcc sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294) at sun.rmi.transport.Transport$1.run(Transport.java:153) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:149) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java 66) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTranspo .java:707) at java.lang.Thread.run(Thread.java:595) at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stre RemoteCall.java:247) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.jav 223) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126) at org.jnp.server.NamingServer_Stub.lookup(Unknown Source) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) at javax.naming.InitialContext.lookup(InitialContext.java:351) at examples.session.stateless.HelloClient.main(HelloClient.java:59) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991908#3991908 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991908 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Intalio vs jBPM
anonymous wrote : - jbpm is more oriented towards developers / Intalio focuses on business users with little technical experience If you read Toms blogs, you can see he (and me and others) believe(s) it will always be a joint effort between technical and business people. Even in real life it is my experience that I've never ever seen business people develop an end-user (customer) application. anonymous wrote : - jbpm requires code / Intalio is (almost) zero-code Depends on what you mean by code. I've never ever seen a full functional bpm app that did not require any java/xslt/script/ in any way. anonymous wrote : - jbpm ? / One-click-deploy with Intalio jbpm to, but we (in the company I work for) deploy from a versioning system, so one-click-deploy is only needed for developers anonymous wrote : - jbpm is beta BPEL compliant / Intalio is fully BPEL compliant Using bpel for workflow (what intalio does with the BPEL4People extension) is by many seen as not what bpel should not be used for. Especially with the great bpml/xpdl alignment which has taken place. No need for round-trip bpel/bpmn anymore then. anonymous wrote : - jbpm does not support BPMN / Intalio does Correct anonymous wrote : I´m sure I haven´t covered all difference between both. I would appreciate any help with that! - jbpm is opensource, intalio isn't http://jboss.org/jbossBlog/blog/tbaeyens/?permalink=What_is_open_source_Intalio_sure_is_NOT.txt - ... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991910#3991910 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991910 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: javax.resource.spi.SecurityException
any updates , please help View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991911#3991911 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991911 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: transaction killed
One more information ... in my log I have a message : [SeamExceptionFilter] : killing transaction. I checked Transactions status before leaving the method and everything is fine ... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991912#3991912 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991912 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - How to call a JBPM task from an EJB ?
Hi, I'm using JBPM with SEAM, and I'd like to call a JBPM task from an EJB. I think I must set the taskId but I don't know how. Thanks for your help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991914#3991914 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991914 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Clustering NOT working on physical separate boxes.
Hello JBoss team, Any ideas or guidance for me? Regards, Rajesh. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991915#3991915 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991915 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: MBean as NotificationBroadcaster
I am not experiencing the The MBean named exists but does not implement the NotificationBroadcaster interface-error that you get as long as I specify the mbean and not the management interface (type=Management) as a broadcaster. But my problem is that although the log files tells me that my broadcaster has been subscribed to by the listener, the listener does not receive any notifications. After some investigation I found out that when using a ListenerServiceMBeanSupport together with a SubscriptionList configuration to subscribe to notifications sent by an EJB3 service bean it seems like the ListenerServiceMBeanSupport bean subscribes to the ServiceDelegateWrapper class instead of the defined bean in the SubscriptionList. To work around this the following code could be added to the ServiceDelegateWrapper class: | @Override |public void addNotificationListener(NotificationListener listener, | NotificationFilter filter, | Object handback) |{ | | if (delegate instanceof ServiceContainer) | { | try | { | ((ServiceContainer) delegate).invoke(addNotificationListener, |new Object[] {listener, filter, handback}, |new String[] {javax.management.NotificationListener, |javax.management.NotificationFilter, |java.lang.Object}); | | } | catch (Exception e) | { | throw new RuntimeException(e); | } | } |} | |@Override |public void removeNotificationListener(NotificationListener listener, | NotificationFilter filter, | Object handback) |{ | | if (delegate instanceof ServiceContainer) | { | try | { | ((ServiceContainer) delegate).invoke(removeNotificationListener, |new Object[] {listener, filter, handback}, |new String[] {javax.management.NotificationListener, |javax.management.NotificationFilter, |java.lang.Object}); | | } | catch (Exception e) | { | throw new RuntimeException(e); | } | } |} | This has been tested with the 4.0.5 GA release and it seems to work fine. Is this a good way of solving this? Any other suggestions? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991916#3991916 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991916 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Security
@sbryzak2 I am looking forward to the security stuff. Let me ask another questions to clarify things: Seam 1.1.5.GA will be released on 12. Jan. 2007, do you think the security stuff will then be in a state in which I can use my own JAAS LoginModules, the authentication information (the subject, the roles) are somehow accessible from the xhtml pages? If this will be ready in january I can reschedule my project an avoid some nasty hacks. If you think this might not be working in january I have to proceed working on my custom login solution. What do you think? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991930#3991930 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991930 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Bug of i18n with the file name of upper or lower charate
I means that if the file name use the capital letter, i will load the wrong resource bundle. Hoping for your help View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991931#3991931 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991931 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Message bean listening to Queue and Topic
All i have a MDB which is listening to a Queue but i want to be able to take each message that comes into the Queue do some processing on it and then publish it to a Topic, Then Listen on that Topic for any message replys. Is there such an example on this. Would it be better to deploy two MDB's one for the Queue and processing and one for the Topic ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991934#3991934 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991934 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Scoping classes
In chapter 2 of the jboss application server guide, i found the following sentence concerning scoped classloading: With deployment based scoping, each deployment creates its own class loader repository in the form of a HeirarchicalLoaderRepository3 that looks first to the UnifiedClassLoader3 instances of the deployment units included in the EAR before delegating to the default UnifiedLoaderRepository3. I am afraid I do not really understand this. What exactly does HeirarchicalLoaderRepository3 that looks first to the UnifiedClassLoader3 instances of the deployment units included in the EAR mean? May I create my own UnifiedClassLoader3 instance that is then used? Where do i generate that instance? Anywhere in a java class of that ear? Is it even possible to use my own custom classloader which extends UnifiedClassLoader3? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991936#3991936 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991936 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Hanging on to RMI threads
Hi I couldn't find a copy of that configuration anywhere. I did find another minimalthreads configuration xml file and noted that the up_thread and down_thread parameters seem to be the change. I've tried this, and it does seem to have stopped the leak we were seeing. However, we now have PingSender and PingWaiter threads leaking out at an even faster rate. Could you post a link to where I can get that configuration file to try?. I'm going to try setting the PING protocol threads back to true and see if that helps. Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991937#3991937 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991937 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Message bean listening to Queue and Topic
Hello, On the MDB you have, write an onMessage function, which will be executed when a new message comes at the Queue. You can process the message and then publish to the Topic from the same function. Then, you can write another MDB which listens on the Topic with the onMessage function, so that you can process messages, that arrives on the Topic. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991940#3991940 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991940 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - EJB 3.0 String injection at deploying time?
Hello, I'm a JBoss EJB3 beginner and currently writing on a web service. I want to inject a simple String at deploying time that should hold a web address. I don't want to hard code this very web address inside of my EJB in order to be independed if the web address changes. Inside of the EJB I want to get the value of the injected String via JNDI. I've read that it should be possible to inject primitive types with the ejb-jar.xml deployment descriptor. (I know that a String is not really a primitive type, more a array of char's.) Does anybody have an example code or a link that helps me? with kind regards, Marco View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991945#3991945 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991945 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - JBoss Cache 1.3.0.SP4 released
Another service pack on the JBoss Cache 1.3.0 Wasabi branch has just been released - 1.3.0.SP4. This contains critical bug fixes, and anyone using the 1.3.0 series should upgrade to this. Download the release on the JBoss Cache download page. View release notes here. -- Manik Surtani Lead, JBoss Cache View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991946#3991946 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991946 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Ajax¤JSF wi th Seam
hi everybody, I'm here again. I deployed the application as detailed in the booking example in seamCR1. I have the same problem of my previous post: javax.el.PropertyNotFoundException: Bean: it.severn.data.UsersHome$$EnhancerByCGLIB$$47bd75f6, property: update at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:146) at com.sun.el.parser.AstValue.getValue(AstValue.java:117) Can you help me?? Many Thanks Francesco View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991949#3991949 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991949 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - LeasePinger error
Hi, I've got what I think is a really basic JBoss Messaging setup, with JBossAS 4.0.5GA, and JBoss Messaging 1.0.1GA running on a SLES Linux server with JDK 1.5.0_09. Messages persist to a PostgreSQL database. I use JBoss as purely a JMS provider, there are no other AppServer/EJB/MDB components. My JMS client is down the other end of a VPN, which I believe to be stable/reliable. The client is just a couple of classes implementing MessageListener and a couple of classes using MessageProducers to send messages. These classes are hosted in a Jetty servlet container. This runs fine whilst I am developing during the day; but when I leave overnight and return, I come into a set of large stack traces on the client, and a few smaller stack traces on the server. It appears to be coming from, or manifesting itself in the LeasePinger.sendClientPing. I wondered if it was an issue with the VPN link going down, but if I disable the VPN manually, I do not get these stack traces, just a brief message telling me there was an Error sending lease ping to server for client invoker (session id a011o-9oetow-eve0b98y-1-eve0baiy-6., which is absolutely fine and understandable. I'll post the stack traces in a following post. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991951#3991951 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991951 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: LeasePinger error
Client Stack Trace: - error java.lang.reflect.InvocationTargetException 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.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:120) at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86) at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:197) at org.jboss.serial.persister.ObjectOutputStreamProxy.writeObjectOverride(ObjectOutputStreamProxy.java:60) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:322) at java.util.HashMap.writeObject(HashMap.java:1000) 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.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:120) at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86) at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:197) at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:197) at org.jboss.serial.io.JBossObjectOutputStream.writeObjectOverride(JBossObjectOutputStream.java:181) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:322) at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.sendObject(JavaSerializationManager.java:85) at org.jboss.remoting.marshal.serializable.SerializableMarshaller.write(SerializableMarshaller.java:84) at org.jboss.jms.server.remoting.JMSWireFormat.write(JMSWireFormat.java:310) at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.versionedWrite(MicroSocketClientInvoker.java:502) at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:340) at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:125) at org.jboss.remoting.LeasePinger.sendClientPing(LeasePinger.java:97) at org.jboss.remoting.LeasePinger$LeaseTimerTask.run(LeasePinger.java:216) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) Caused by: java.net.SocketException: Connection reset by peer: socket write error at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) at java.net.SocketOutputStream.write(SocketOutputStream.java:136) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65) at java.io.BufferedOutputStream.write(BufferedOutputStream.java:78) at java.io.DataOutputStream.writeInt(DataOutputStream.java:183) at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeInt(DataContainer.java:241) at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.addObjectReference(DataContainer.java:174) at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.saveImmutable(DataContainer.java:285) at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:149) at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:197) at org.jboss.serial.persister.ObjectOutputStreamProxy.writeObjectOverride(ObjectOutputStreamProxy.java:60) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:322) at
[jboss-user] [JBoss Messaging] - Re: LeasePinger error
Server Stack Trace: 2006-12-06 22:56:54,508 ERROR [org.jboss.remoting.transport.socket.ServerThread] failed java.io.IOException at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:107) at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:269) at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412) at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82) at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:643) at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353) at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273) at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412) at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82) at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:643) at org.jboss.serial.io.JBossObjectInputStream.readObjectOverride(JBossObjectInputStream.java:163) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:342) at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.receiveObject(JavaSerializationManager.java:132) at org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.read(SerializableUnMarshaller.java:66) at org.jboss.jms.server.remoting.JMSWireFormat.read(JMSWireFormat.java:422) at org.jboss.remoting.transport.socket.ServerThread.versionedRead(ServerThread.java:390) at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:446) at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:541) at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:261) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:103) ... 20 more Caused by: java.io.IOException at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:107) at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:269) at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412) at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82) at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:643) at org.jboss.serial.persister.ObjectInputStreamProxy.readObjectOverride(ObjectInputStreamProxy.java:68) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:342) at java.util.HashMap.readObject(HashMap.java:1067) ... 24 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:103) ... 32 more Caused by: java.io.IOException at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:107) at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:269) at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412) at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82) at
[jboss-user] [JBoss AOP] - Re: Dynamic Deployement with JBoss AS
hi, look at the injboss example provided by the jbossaop package. you can also find it online here: http://docs.jboss.org/aop/1.3/aspect-framework/examples/injboss/aopInJbossPackaging.html. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991954#3991954 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991954 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Clustering NOT working on physical separate boxes.
hello, Does the 2 separate machines need to be on the same subnet mask? If Yes, is that documented in JBoss docs? Regards, Rajesh. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991956#3991956 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991956 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How to call a JBPM task from an EJB ?
did you look at the api? examples? It's all in there... there is no difference calling it from an ejb as it is from other classes View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991957#3991957 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991957 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: trace logging for jboss
Sure. | appender name=JBOSSLOG class=org.apache.log4j.DailyRollingFileAppender | param name=File value=/home/eta/server/log/connection-jboss.log/ | param name=Append value=true/ | param name=Threshold value=TRACE/ | | !-- Rollover at midnight each day or per size -- | param name=DatePattern value='.'-MM-dd/ | !-- param name=MaxFileSize value=10MB/ -- | !-- param name=MaxBackupIndex value=5/ -- | | layout class=org.apache.log4j.PatternLayout | param name=ConversionPattern value=%d %-5p [%c] %m%n/ | /layout |/appender | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991959#3991959 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991959 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: LeasePinger error
P.S. I can't swear that the timing of the server and client errors correspond, just that they occur when I am not here :-(. I can't glean anything useful from the stack traces, can you at least tell me if this could be caused by something in my environment? Also, I haven't an ExceptionListener in place - should I have? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991958#3991958 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991958 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Message bean listening to Queue and Topic
So basically the best method is to create two MDB one for process on the queue and one for process on the topic, and then replying to topic events. Is there any group documentation on setting up oracle DS so that i can send messages to a database. And when posting messages to the Topic should this be done in a new Thread ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991961#3991961 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991961 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Storing SYBASE
Storing SYBASE IMAGE DATA TYPE in jboss using entity bean We are using JBoss-4.0.4.GA, Entity Bean 2.x (CMP), Sybase 12.5 File Name :- jconn2.jar File Version :- 1.4.2_04 File Size:- 876 kb When we try to insert an object in to column of data type IMAGE in Sybase by using EJB 2.x we get the fallowing exception 2006-11-24 13:31:58,328 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true 2006-11-24 13:31:58,359 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false 2006-11-24 13:31:58,359 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true 2006-11-24 13:31:58,218 WARN [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Exception destroying ManagedConnection [EMAIL PROTECTED] [EMAIL PROTECTED] handles=0 lastUse=1164355312640 permit=false trackByTx=false [EMAIL PROTECTED] [EMAIL PROTECTED] org.jboss.resource.JBossResourceException: SQLException; - nested throwable: (java.sql.SQLException: JZ0C0: Connection is already closed.) at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.checkException(BaseWrapperManagedConnection.java:541) at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.destroy(BaseWrapperManagedConnection.java:255) at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.doDestroy(InternalManagedConnectionPool.java:539) at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.returnConnection(InternalManagedConnectionPool.java:329) at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.returnConnection(JBossManagedConnectionPool.java:552) at org.jboss.resource.connectionmanager.BaseConnectionManager2.returnManagedConnection(BaseConnectionManager2.java:407) at org.jboss.resource.connectionmanager.BaseConnectionManager2$BaseConnectionEventListener.connectionErrorOccurred(BaseConnectionManager2.java:768) at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.connectionErrorOccurred(TxConnectionManager.java:550) at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.broadcastConnectionError(BaseWrapperManagedConnection.java:327) at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.connectionError(BaseWrapperManagedConnection.java:313) at org.jboss.resource.adapter.jdbc.WrappedConnection.checkException(WrappedConnection.java:757) at org.jboss.resource.adapter.jdbc.WrappedStatement.checkException(WrappedStatement.java:768) at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:320) at org.jboss.ejb.plugins.cmp.jdbc.JDBCIdentityColumnCreateCommand.executeInsert(JDBCIdentityColumnCreateCommand.java:51) at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand.performInsert(JDBCAbstractCreateCommand.java:286) at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand.execute(JDBCAbstractCreateCommand.java:137) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.createEntity(JDBCStoreManager.java:572) at org.jboss.ejb.plugins.CMPPersistenceManager.createEntity(CMPPersistenceManager.java:222) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.createEntity(CachedConnectionInterceptor.java:266) at org.jboss.ejb.EntityContainer.createLocalHome(EntityContainer.java:612) 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.invocation.Invocation.performCall(Invocation.java:345) at org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:1113) at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:90) at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:192) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:212) at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:90) at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:117) at org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:61) at org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:28) at org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:41) at
[jboss-user] [EJB 3.0] - Re: EJB 3.0 String injection at deploying time?
These types of configurable properties are called environment entries . The bean can use environment entries to customize its behavior. Although they can be defined using annotations, environment entries are almost always configured via XML, as they really are configuration values and not metadata. The env-entry element is used to define them. This element contains the subelements (optional), env-entry-name (required), env-entry-type (required), and env-entry-value (optional), as well as the element injection-target (optional). Here is a typical env-entry declaration: ejb-jar enterprise-beans ejb-nameProcessPaymentBean/ejb-name env-entry env-entry-nameminCheckNumber /env-entry-name env-entry-typejava.lang.Integer/env-entry-type env-entry-value2000/env-entry-value /env-entry /enterprise-beans /ejb-jar The env-entry-name element is relative to the java:comp/env context. For example, the minCheckNumber entry can be accessed using the path java:comp/env/minCheckNumber in a JNDI ENC lookup: InitialContext jndiContext = new InitialContext( ); int minValue = (Integer) jndiContext.lookup(java:comp/env/minCheckNumber); Alternatively, it can be looked up with the EJBContext.lookup( ) method using the minCheckNumber name. env-entry-type can be of type String or one of the several primitive wrapper types, including Integer, Long, Double, Float, Byte, Boolean, and Short. env-entry-value is optional. The value can be specified by the bean developer or deferred to the application assembler or deployer. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991963#3991963 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991963 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Data Synchronization in Cluster
Hi all, please tell or give some links on how to synchronize data in cluster of JBosses. For example I have the same SLSB running on two different nodes in cluster. This SLSB gets some Entity Bean presenting table in database (MySQL 5.0.24a) and increases some of it's fields. What should I do to make updates from both nodes saved in database? Mentioned SLSB method is annotaded with @TransactionAttribute(REQUIRES_NEW). thx for any help View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991964#3991964 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991964 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Jboss cluster on a replicated mysql db
I am running a mysql db in replication setup. Now i want my Jboss cluster to connect to one of these db's, and if it fails to reconnect to the other one. Is this possible? My mysql-ds.xml is now: local-tx-datasource jndi-nameMySqlDS/jndi-name connection-urljdbc:mysql://10.48.1.63,10.48.1.64:3306/jms/connection-url driver-classcom.mysql.jdbc.Driver/driver-class user-namejboss/user-name ** connection-property name=autoReconnecttrue/connection-property type-mappingmySQL/type-mapping /local-tx-datasource View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991966#3991966 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991966 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] new webapp classloader problem. (I will update the wiki. I promise!)
Hi all, Sorry if this is a basic question, but I've gone through the documentation and various configuration options and still have a classloader issue when trying to deploy a new web-application alongside our .ear file . I wanted to check the list to make very plain what I need to do. Here's the scenario: * we use jboss 3.2.6 to deploy ourapp.ear. * We wanted to deploy Sun's java directory editor webapp de.war alongside ourapp.ear, i.e. in the deploy directory Here's the problem: * ourapp.ear refers to struts 1.1. de.war refers to struts 1.2 (one example of class version issues). Jboss gives classloader exceptions. I have tried the following: * added jboss-app.xml to ourapp.ear/META-INF directory * added jboss-web.xml to de.war's WEB-INF/ directory * tried all four combinations of JbossWebloader and Java2ClassloaderCompliance in jboss-web-tomcat50.sar/META-INF/jboss-service.xml * I've tried packing the de.war as an ear file and adding de.ear/META-INF/jboss-web.xml I still get problems Problem details: * Either log4j classcast exception or struts classcast exception depending on the values of JbossWebLoader and Java2ClassloaderCompliance * Sun directory editor appears to misbehave if I browse to it before jboss has finished deploying all the references. Question: * I wanted to confirm: do I need to add jboss-web.xml to the de.war? * Is log4j a special problem? i.e. because jboss uses it itself? * I got farther by removing the log4j and loggins-common.jar from the sun 'de.war', but this seems a hack. * Does this sound right? what appears to be incorrect? This problem is fairly well documented, but could use that extra bit of clarity. I will update the jboss wiki with your answer to make the problem idiot proof. I welcome your suggestions. thanks bill m ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: ClassCastException when trying to marshal MySql Datetime
I found the Solution: I had to use Calendar class for dateTime in my JavaBean class. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991967#3991967 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991967 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Server side state saving - current status?
The reference manual says you shouldn't use server side state saving with MyFaces. anonymous wrote : If you are using Seam in Apache MyFaces (and possibly some other JSF implementations), you must use client-side state saving. However, it seems like people had some success with it: http://www.jboss.com/index.html?module=bbop=viewtopict=93767 http://www.jboss.com/index.html?module=bbop=viewtopict=93780 I'm just starting out with Seam and have an application that needs to be accessed from developing countries. As it turns out with client side state saving, the pages end up on around 300K, which would be completely unacceptable. I?ve switched to server side and things _seem_ to work fine. However, what?s the ?official? answer to this ? is client side still the only supported mode, but server side might work? Is full support for server side state saving on the road map? (If I understand it correctly, it?s an issue with MyFaces server side state saving which is/was main issue ? so not the fault of you Seam guys?) I?m running Seam 1.1-CR2, a recent MyFaces 1.5 nightly, Facelets 1.1.11, ajax4jsf-rc4 and Hibernate 3.2.1 under Tomcat 5.5.x. Cheers, Daniel View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991968#3991968 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991968 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Error on XDoclet Configuration dialog when try tutorial on E
I have installed Eclipse SDK3.2 and JBoss IDE for Eclipse and following the tutial to create a session been FiboBean. When I open projectpropertyXDoclet Configuration there is a error dialog: Title: Could not accept changes. Content:The currentdisplayed page contains invalid value. I have tried for creating other beans the same error! I have doule checked the download version that is correct based on the JBoss docs. Can someone help me for that issue? Kevin View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991971#3991971 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991971 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - SOAP listener for JMX
In JBoss 3 there were several ways of accessing the JMX info, and many of these are available in JBoss 4. In the JB4 book, but there's not an example of RMI/SOAP or accessing JMX over SOAP. Is this possible? If so, do I have to write any code? I was hoping to be able to monitor my JMX stuff using Python. Thanks, View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991974#3991974 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991974 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - struts tag does not reinit in jboss. How to resolve?
I deploy a web module in jboss. The module is based on struts and works well in weblogic. I found that the struts tag propertie's value can not be reinited. It keeps the value of lasted set even I reopen my jsp page. Is there any configuation can solve the problem? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991973#3991973 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991973 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - struts tag does not reinit in jboss. How to resolve?
I deploied a web module in jboss. The module is based on struts and works well in weblogic. I found that the value of struts tag propertie can not be reinited. It keeps the value of lasted set even I reopen my jsp page. Is there any configuation can solve the problem? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991976#3991976 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991976 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - problem with wstools
I have problem to generate wsdl to java. I tried run wstool against two document/literal wsdls. When wstools run with first document everything is ok. Problem occurs when I do some changes to wsdl, which in my mind has no effect on result. Below these two documents, and exception thrown when I run against second document. First wsdl: ?xml version=1.0 encoding=UTF-8? wsdl:definitions xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/; xmlns:tns=http://www.example.org/personStore/; xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; xmlns:xsd=http://www.w3.org/2001/XMLSchema; name=personStore targetNamespace=http://www.example.org/personStore/; wsdl:types xsd:schema targetNamespace=http://www.example.org/personStore/; xmlns:tns=http://www.example.org/personStore/; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xsd:element name=InputDocuments type=tns:InputDocumentsType / xsd:complexType name=InputDocumentsType xsd:sequence xsd:element name=Document type=xsd:string minOccurs=0 / /xsd:sequence /xsd:complexType xsd:element name=Person type=tns:personType / xsd:complexType name=personType xsd:sequence xsd:element name=GivenName type=xsd:string / xsd:element name=Surname type=xsd:string / xsd:element name=Age type=xsd:integer / xsd:element ref=tns:InputDocuments minOccurs=0 / /xsd:sequence /xsd:complexType xsd:element name=PersonResponse type=tns:personResponseType / xsd:complexType name=personResponseType xsd:sequence xsd:element name=IdPerson type=xsd:integer / xsd:element name=IdParent type=xsd:integer / /xsd:sequence /xsd:complexType /xsd:schema /wsdl:types wsdl:message name=NewOperationResponse wsdl:part name=NewOperationResponse element=tns:PersonResponse/ /wsdl:message wsdl:message name=NewOperationRequest wsdl:part name=NewOperationRequest element=tns:Person / /wsdl:message wsdl:portType name=personStore wsdl:operation name=NewOperation wsdl:input message=tns:NewOperationRequest/ wsdl:output message=tns:NewOperationResponse/ /wsdl:operation /wsdl:portType wsdl:binding name=personStoreSOAP type=tns:personStore soap:binding style=document transport=http://schemas.xmlsoap.org/soap/http/ wsdl:operation name=NewOperation soap:operation soapAction=http://www.example.org/personStore/NewOperation/ wsdl:input soap:body use=literal/ /wsdl:input wsdl:output soap:body use=literal/ /wsdl:output /wsdl:operation /wsdl:binding wsdl:service name=personStore wsdl:port binding=tns:personStoreSOAP name=personStoreSOAP soap:address location=http://www.example.org// /wsdl:port /wsdl:service /wsdl:definitions Second wsdl: ?xml version=1.0 encoding=UTF-8? wsdl:definitions xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/; xmlns:tns=http://www.example.org/personStore/; xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; xmlns:xsd=http://www.w3.org/2001/XMLSchema; name=personStore targetNamespace=http://www.example.org/personStore/; wsdl:types xsd:schema targetNamespace=http://www.example.org/personStore/; xmlns:tns=http://www.example.org/personStore/; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xsd:element name=InputDocuments xsd:complexType xsd:sequence xsd:element name=Document type=xsd:string minOccurs=0/ /xsd:sequence /xsd:complexType /xsd:element xsd:element name=Person type=tns:personType / xsd:complexType name=personType xsd:sequence xsd:element name=GivenName type=xsd:string / xsd:element name=Surname type=xsd:string /
[jboss-user] [Clustering/JBoss] - Re: Clustering NOT working on physical separate boxes.
Hello All, I would appreciate if someone can answer my questions above. Were they so silly that i dont see any replies? ;-) I hope I am not wrong somewhere drastically. Regards, Rajesh. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991978#3991978 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991978 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [J2EE Design Patterns] - Re: jms durableSubscriber problem
anonymous wrote : why no one answer Because this jboss forum... :-( View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991980#3991980 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991980 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - why my topic message processed only once?
The topic jms message is used in my project, after publishing a message, both of my 2 listener can catch the message, and in the method of onMessage they try to get the object of message , but only the first one can get the object and process it , the second one will get fail. The 2 listeners are seperated, one is in web module and the other is in EJB. Am I missing any configuation? How to resolve this problem? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991981#3991981 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991981 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Custom Exception Handler
I'm trying to implement a custom exception handler based on exceptions.xml. The aim is to have the handler email the details any exceptions which occur - basically an email version of the seam debug page. The exceptions framework doesn't seem to support plugging in custom handlers. So at the moment I am working around it by copying the built-in Exceptions component class, adding the new handler in initialize() and overriding the default component with @Install(precedence). Unfortunately the Exceptions class isn't really designed for extension - hence the need to copy it. Can anyone suggest a better solution? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991982#3991982 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991982 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: ManyToMany constraints problem
Is there a reason for the usage of CascadeType.PERSIST on the many-to-many relationship in the etiquetas class? Since that very relationship is mapped by the etiquetas field in the libros class, you probably won't ever manipulate the collection of libros in the etiquetas, but only do reads on it. Therefor I would suggest removing the cascadeType in the etiquetas class. The decision wether to use cascading on relationships affects the way you use the entitymanager. You can do everything without cascading, it is just less comfortable (more persist and merge calls). In this very case you would have to manage the etiquetas seperatly. This is maybe a good idea, since they don't seem to form a composition with libros (can live without them). If you don't feel comfortable with cascading, then you can turn it off and do things manually. Best regards, Martin View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991984#3991984 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991984 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Deleting processInstance as part of workflow
you could try a hibernate synchronization. just before the transaction commits, flush and then use deleteProcessInstance but it is a valid feature request. i'll think about how we can make this easier in later versions. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991985#3991985 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991985 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - NoSuchMethodError when deploying JSR181POJO war
Hello. I've upgraded from JBossWS 1.0.3 to 1.0.4 under JBoss 4.0.4GA and now, when I try to deploy the JSR181POJO sample coming with the distribution, I get the following exception which I don't understand: | java.lang.NoSuchMethodError: org.jboss.ws.deployment.JSR181Deployment.init(Lorg/jboss/ws/deployment/UnifiedDeploymentInfo$DeploymentType;)V | at org.jboss.ws.integration.jboss.DeployerInterceptorJSE.createUnifiedDeploymentInfo(DeployerInterceptorJSE.java:66) | at org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInterceptor.java:78) | at org.jboss.ws.integration.jboss.DeployerInterceptorJSE.create(DeployerInterceptorJSE.java:83) | at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180) | at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91) | 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 $Proxy38.create(Unknown Source) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy6.deploy(Unknown Source) | at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) | at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991986#3991986 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991986 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: SSLServlet
I have tried it with integrating remoting 2.0 but I guess then I run into issues with the integration into 4.0.4GA. Trying it resultet in the following for the client: javax.naming.NamingException: Could not dereference object [Root exception is java.lang.reflect.UndeclaredThrowableException] | at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1150) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:705) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)... So I guess Remoting 2.0 and the sslservlet are not possible in 4.0.4GA? So when I use the 1.4.1 Remoting I cant use the sslservlet. How can I then configure the usage of https, when not over the sslservlet? I thought I would need to go that way for the https communication going over the tomcat server. Can I due this with configuration of the sslsocket and the socketfactory? When trying to due so, I have the feeling that I am missing somehting here, literally the missing link. So if someone has a hint... I would be grateful! Sincerly Marc View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991987#3991987 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991987 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Jboss Oracle DS : Error wrong drivers
I used the standard oracle-ds.xml from the example/jca | datasources | local-tx-datasource | jndi-nameOracleDS/jndi-name | connection-urljdbc:oracle:thin:@youroraclehost:1521:yoursid/connection-url | !-- | | Here are a couple of the possible OCI configurations. | For more information, see http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/java.920/a96654/toc.htm | | connection-urljdbc:oracle:oci:@youroracle-tns-name/connection-url | or | connection-urljdbc:oracle:oci:@(description=(address=(host=youroraclehost)(protocol=tcp)(port=1521))(connect_data=(SERVICE_NAME=yourservicename)))/connection-url | | Clearly, its better to have TNS set up properly. | -- | driver-classoracle.jdbc.driver.OracleDriver/driver-class | user-namex/user-name | passwordy/password | !-- Uses the pingDatabase method to check a connection is still valid before handing it out from the pool -- | !--valid-connection-checker-class-nameorg.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker/valid-connection-checker-class-name-- | !-- Checks the Oracle error codes and messages for fatal errors -- | exception-sorter-class-nameorg.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter/exception-sorter-class-name | !-- sql to call when connection is created | new-connection-sqlsome arbitrary sql/new-connection-sql | -- | | !-- sql to call on an existing pooled connection when it is obtained from pool - the OracleValidConnectionChecker is prefered | check-valid-connection-sqlsome arbitrary sql/check-valid-connection-sql | -- | | !-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -- | metadata | type-mappingOracle9i/type-mapping | /metadata | /local-tx-datasource | | /datasources | | | | | Changing the values, i do however have the .zip and the .jar in the server/lib directory. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991988#3991988 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991988 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: A better IsLocalInterceptor?
The class went through a variety of iterations, and i realized the version above could be simplified a bit more: | package com.hmsonline.jbossbootstrap.remoting; | | import java.io.Serializable; | | import org.jboss.aop.advice.Interceptor; | import org.jboss.aop.joinpoint.Invocation; | import org.jboss.ejb3.remoting.IsLocalInterceptor; | import org.jboss.system.server.ServerConfigUtil; | | | /** | * This interceptor fixes the IsLocalInterceptor, which makes local calls | * regardless of whether that's what is intended by the user. This | * Interceptor instead stores the PartitionName of the partition on which the | * interceptor was created and compares that to the partition name of the | * invoking partition. If the names differ, the call is treated as a remote | * call. Assuming that the partition names are setup correctly (which they | * must be, or other bad things happen), then this test should be | * sufficient for both clustered and non-clustered remote proxies. | * | * @author James Ahlborn | */ | public class IsReallyLocalInterceptor implements Interceptor, Serializable | { | | /** interceptor which handles actual local invocations */ | private final IsLocalInterceptor _delegate = new IsLocalInterceptor(); | /** the name of the partition on which this interceptor was created, filled | in at construction */ | private final String _creationPartitionName; | /** whether or not this object is on a box in the same cluster in which the | object was originally created */ | private transient boolean _isCreationCluster; | | | public IsReallyLocalInterceptor() { | // store the partition name on which this interceptor is created | _creationPartitionName = getPartitionName(); | _isCreationCluster = true; | } | | public String getName() | { | return getClass().getName(); | } | | public Object invoke(Invocation invocation) throws Throwable | { | // if we got the interceptor on this cluster, let IsLocalInterceptor | // handle the call, otherwise continue down the interceptor chain. | if(_isCreationCluster) { | return _delegate.invoke(invocation); | } | | return invocation.invokeNext(); | } | | private void readObject(java.io.ObjectInputStream in) | throws java.io.IOException, ClassNotFoundException | { | // handle serialized fields | in.defaultReadObject(); | | // grab the invocation partition and determine if we are still on the same | // cluster | String invocationPartitionName = getPartitionName(); | _isCreationCluster = | _creationPartitionName.equals(invocationPartitionName); | } | | /** |* Returns the partition name of the current environment. |*/ | private static String getPartitionName() { | return ServerConfigUtil.getDefaultPartitionName(); | } | | } | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991990#3991990 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991990 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: ClassCastException when casting to remote interface
in 4.0.5.GA the naming value to change is now in: deploy/naming.sar/META-INF/jboss-service.xml View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991993#3991993 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991993 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: Is JBoss AOP complete?
anonymous wrote : | Another advantage I found in JBoss AOP is I don't need to use an AOP compiler if using Java5. Am I right? | As a matter of fact, you can also avoid the use of aopc with java 4, but setting you boot class path. You can see more details on how to do this on: http://labs.jboss.com/portal/jbossaop/docs/1.5.0.GA/docs/aspect-framework/reference/en/html/running.html View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991994#3991994 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991994 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Blob reading causing memory leak?
I have three entity beans; one Audit contains many AuditImage, one AuditImage contains one AuditLargeImage . Audit to AuditImage is eagerly loaded, AuditImage to AuditLargeImage is lazily loaded. I can sucessfully upload images to the database (MySQL) but when I load (manager.find) the Audit, the servers memory usage jumps to over 1GB! Despite total image size being only 5mb | @Entity(name = Audit) | public class Audit { | | private SetAuditImage image; | | @OneToMany(cascade = {CascadeType.ALL}, fetch = FetchType.EAGER) | public SetAuditImage getImages() { | if (image == null) |image = new HashSetAuditImage(); | return image; | } | | public void setImages(SetAuditImage image) { | this.image = image; | } | } | | } | | @Entity | @Table(name = auditimage) | public class AuditImage { | | private int id; | | @Id | @GeneratedValue(strategy = GenerationType.AUTO) | public int getId() { | return id; | } | | public void setId(int id) { | this.id = id; | } | | private String imageName; | | private byte[] imageThumb; | | private AuditLargeImage imageLarge; | | @Lob | @Column(columnDefinition = BLOB) | public byte[] getImageThumb() { | return imageThumb; | } | | public void setImageThumb(byte[] imageThumb) { | this.imageThumb = imageThumb; | } | | public String getImageName() { | return imageName; | } | | public void setImageName(String imageName) { | this.imageName = imageName; | } | | @OneToOne(cascade = {CascadeType.ALL}, fetch = FetchType.LAZY) | public AuditLargeImage getImageLarge() { | return imageLarge; | } | | public void setImageLarge(AuditLargeImage imageLarge) { | this.imageLarge = imageLarge; | } | } | | @Entity | public class AuditLargeImage { | private int id; | | @Id | @GeneratedValue(strategy = GenerationType.AUTO) | public int getId() { | return id; | } | | public void setId(int id) { | this.id = id; | } | | private byte[] imageFull; | | @Lob | @Column(columnDefinition = MEDIUMBLOB) | public byte[] getImageFull() { | return imageFull; | } | | public void setImageFull(byte[] imageFull) { | this.imageFull = imageFull; | } | | } | | Am currently using JBOSS 4.05 GA, Hibernate 3.2.1 with the latest mysql jdbc connector (5.0.4). Even if I remove all references to AuditLargeImage (as in disregard it from the test) I still have the same problem... Your comments appreciated. Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991995#3991995 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991995 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam+Icefaces: debug.seam throws an exception
Hello, I juste have deployed the sample seam-icefaces and I have the following error when I d like to go to /debug.seam pe Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:61) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) root cause javax.servlet.ServletException com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet.service(PersistentFacesServlet.java:437) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) root cause java.lang.NullPointerException com.icesoft.faces.context.DOMResponseWriter.enhanceAndFixDocument(DOMResponseWriter.java:394) com.icesoft.faces.context.DOMResponseWriter.writeDOM(DOMResponseWriter.java:312) com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:161) org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384) com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet.service(PersistentFacesServlet.java:394) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs. I tested this feature against icefaces 1.5. Does it work on 1.5.1 ? Thanks in advance Regards, Alexandre View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991997#3991997 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991997 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - selectItems+ajax4jsf
I'm trying the new selectItems tag and had some problems with it when I tried to use it with ajax4jsf. I have two combos boxes. When the first is changed, the second one must refresh with new values. The problem is that when the first combo changes a Ilegal State Exception occurs. Here is the jsp | h:panelGrid id=panelGrid columns=2 | h:outputText id=etiquetaUsuario value=#{msg.socio} / | s:decorate | h:inputText id=inputUsuario value=#{cliente.usuario} size=30 | a4j:support id=soporteAjaxUsuario event=onblur | reRender=errorUsuario / | /h:inputText | a4j:outputPanel id=errorUsuario styleClass=error | s:message id=mensajeErrorUsuario / | /a4j:outputPanel | /s:decorate | h:outputText id=etiquetaContraseña value=#{msg.contraseña} / | s:decorate | h:inputText id=inputContraseña value=#{cliente.pwd} size=30 | a4j:support id=soporteAjaxContraseña event=onblur | reRender=errorPassword / | /h:inputText | a4j:outputPanel id=errorPassword styleClass=error | s:message id=mensajeErrorContraseña / | /a4j:outputPanel | /s:decorate | h:outputText id=etiquetaPais value=#{msg.pais} / | h:selectOneMenu id=seleccionarPais | converter=#{registro.countryConverter} required=true | value=#{cliente.country} | si:selectItems value=#{paises} var=pais | label=#{pais.countryCode} | noSelectionLabel=#{msg.selecionePais} hideNoSelection=true/si:selectItems | a4j:support id=soporteAjaxPais event=onchange | reRender=seleccionarEstado / | /h:selectOneMenu | h:outputText id=etiquetaEstado value=#{msg.estado} / | h:selectOneMenu id=seleccionarEstado | converter=#{registro.stateConverter} value=#{cliente.state} | required=true | si:selectItems value=#{estados} var=estado | label=#{estado.stateCode} | noSelectionLabel=#{msg.seleccioneEstado} hideNoSelection=true/si:selectItems | /h:selectOneMenu | /h:panelGrid | a4j:commandButton id=botonAjax value=Ajax #{msg.registrarse} | action=#{registro.registrarse} | reRender=formRegistro:mensajesErrorPanel/a4j:commandButton | Here is the bean asociated with the page. | /** | * | */ | package org.seam.ejemplo.validaciones.session; | | import java.util.List; | | import javax.ejb.Stateless; | import javax.faces.convert.Converter; | import javax.persistence.EntityManager; | import javax.persistence.PersistenceContext; | | import org.jboss.seam.ScopeType; | import org.jboss.seam.annotations.Factory; | import org.jboss.seam.annotations.In; | import org.jboss.seam.annotations.Logger; | import org.jboss.seam.annotations.Name; | import org.jboss.seam.annotations.Scope; | import org.jboss.seam.core.FacesMessages; | import org.jboss.seam.log.Log; | import org.jboss.seam.selectitems.jsf.EntityConverter; | import org.seam.ejemplo.validaciones.beans.Cliente; | import org.seam.ejemplo.validaciones.beans.Country; | import org.seam.ejemplo.validaciones.beans.State; | | /** | * @author gllambi | * | */ | @Stateless | @Name(registro) | @Scope(ScopeType.EVENT) | public class RegistroImpl implements Registro { | | @PersistenceContext | private EntityManager em; | | @Logger | private Log log; | | @In | private Cliente cliente; | | public String registrarse() { | log.info(Registrando al cliente...); | List existing = em.createQuery( | select usuario from Cliente where usuario=:usuarioParam) | .setParameter(usuarioParam, cliente.getUsuario()) | .getResultList(); | | if (!existing.isEmpty()) { | log.info(Ya existe!); | FacesMessages.instance().add(El usuario ya existe: #{cliente.usuario}); | return null; | | }else{ | em.persist(cliente); | log.info(Se registró un cliente nuevo: #{cliente.usuario} #{cliente.pwd}); | return exito; | } | } | | @Factory(paises) | public List obtenerPaises() { | List paises = em.createQuery(from Country).getResultList(); | log.info(Hay +paises.size()+ países.); | return paises; | } | | public void cambiarEstados(){ | log.info(Cambio los estados); | } | | @Factory(estados) |
[jboss-user] [Installation, Configuration Deployment] - Re: JEMS Installer 1.2.0.CR1: Errors when starting JBoss
I have the same pb with this INFO in addition INFO [org.apache.catalina.loader.WebappLoader] Dual registration of jndi stream handler: factory already defined I have checked all the web-console settings which are OK... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991999#3991999 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991999 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Persistence difference between Jboss 4.0.5 and 4.0.4GA
Hello all, I have a WebApp that call an EJB3 that get some data from database. I use the Jboss default database. I used to work on Jboss 4.0.5 and every thing work fine, I?ve changed the server to jboss 4.0.4GA and now I get an exception. Here is the exception I get: | 2006-12-07 18:29:02,599 DEBUG [org.hibernate.hql.antlr.HqlSqlBaseWalker] select begin [level=1, statement=select] | 2006-12-07 18:29:02,599 DEBUG [org.hibernate.hql.ast.tree.FromElement] FromClause{level=1} : com.mobimate.items.model.Item (no alias) - item0_ | 2006-12-07 18:29:02,599 DEBUG [org.hibernate.hql.antlr.HqlSqlBaseWalker] select : finishing up [level=1, statement=select] | 2006-12-07 18:29:02,599 DEBUG [org.hibernate.hql.ast.HqlSqlWalker] processQuery() : ( SELECT ( FromClause{level=1} item item0_ ) ) | 2006-12-07 18:29:02,599 DEBUG [com.mobimate.items.ejb.ItemManagerBean] EJB:fillTableWithItems() put some items in table... | 2006-12-07 18:29:02,599 DEBUG [org.hibernate.event.def.AbstractSaveEventListener] generated identifier: 231, using strategy: org.hibernate.id.MultipleHiLoPerTableGenerator | 2006-12-07 18:29:02,599 DEBUG [org.hibernate.event.def.AbstractSaveEventListener] generated identifier: 232, using strategy: org.hibernate.id.MultipleHiLoPerTableGenerator | 2006-12-07 18:29:02,599 DEBUG [org.hibernate.event.def.AbstractSaveEventListener] generated identifier: 233, using strategy: org.hibernate.id.MultipleHiLoPerTableGenerator | 2006-12-07 18:29:02,599 DEBUG [org.hibernate.event.def.AbstractSaveEventListener] generated identifier: 234, using strategy: org.hibernate.id.MultipleHiLoPerTableGenerator | 2006-12-07 18:29:02,599 DEBUG [org.hibernate.event.def.AbstractSaveEventListener] generated identifier: 235, using strategy: org.hibernate.id.MultipleHiLoPerTableGenerator | 2006-12-07 18:29:02,599 DEBUG [org.hibernate.event.def.AbstractSaveEventListener] generated identifier: 236, using strategy: org.hibernate.id.MultipleHiLoPerTableGenerator | 2006-12-07 18:29:02,599 DEBUG [org.hibernate.event.def.AbstractSaveEventListener] generated identifier: 237, using strategy: org.hibernate.id.MultipleHiLoPerTableGenerator | 2006-12-07 18:29:02,599 DEBUG [org.hibernate.event.def.AbstractSaveEventListener] generated identifier: 238, using strategy: org.hibernate.id.MultipleHiLoPerTableGenerator | 2006-12-07 18:29:02,599 DEBUG [org.hibernate.event.def.AbstractSaveEventListener] generated identifier: 239, using strategy: org.hibernate.id.MultipleHiLoPerTableGenerator | 2006-12-07 18:29:02,599 DEBUG [org.hibernate.event.def.AbstractSaveEventListener] generated identifier: 240, using strategy: org.hibernate.id.MultipleHiLoPerTableGenerator | 2006-12-07 18:29:02,599 DEBUG [org.hibernate.hql.ast.QueryTranslatorImpl] parse() - HQL: from com.mobimate.items.model.Item | 2006-12-07 18:29:02,615 DEBUG [org.hibernate.hql.ast.AST] --- HQL AST --- | \-[QUERY] 'query' | \-[SELECT_FROM] 'SELECT_FROM' |\-[FROM] 'from' | \-[RANGE] 'RANGE' | \-[DOT] '.' | +-[DOT] '.' | | +-[DOT] '.' | | | +-[DOT] '.' | | | | +-[IDENT] 'com' | | | | \-[IDENT] 'mobimate' | | | \-[IDENT] 'items' | | \-[IDENT] 'model' | \-[IDENT] 'Item' | | 2006-12-07 18:29:02,615 DEBUG [org.hibernate.hql.ast.ErrorCounter] throwQueryException() : no errors | 2006-12-07 18:29:02,615 DEBUG [org.hibernate.hql.antlr.HqlSqlBaseWalker] select begin [level=1, statement=select] | 2006-12-07 18:29:02,615 DEBUG [org.hibernate.hql.ast.tree.FromElement] FromClause{level=1} : com.mobimate.items.model.Item (no alias) - item0_ | 2006-12-07 18:29:02,615 DEBUG [org.hibernate.hql.antlr.HqlSqlBaseWalker] select : finishing up [level=1, statement=select] | 2006-12-07 18:29:02,615 DEBUG [org.hibernate.hql.ast.HqlSqlWalker] processQuery() : ( SELECT ( FromClause{level=1} item item0_ ) ) | 2006-12-07 18:29:02,615 DEBUG [org.hibernate.jdbc.JDBCContext] TransactionFactory reported no active transaction; Synchronization not registered | 2006-12-07 18:29:02,615 DEBUG [org.hibernate.jdbc.JDBCContext] TransactionFactory reported no active transaction; Synchronization not registered | 2006-12-07 18:29:02,615 DEBUG [org.hibernate.jdbc.JDBCContext] TransactionFactory reported no active transaction; Synchronization not registered | 2006-12-07 18:29:02,615 DEBUG [org.jboss.ejb3.entity.ManagedEntityManagerFactory] ** closing entity managersession ** | 2006-12-07 18:29:02,615 DEBUG [org.hibernate.jdbc.JDBCContext] TransactionFactory reported no active transaction; Synchronization not registered | 2006-12-07 18:29:02,630 DEBUG [com.mobimate.web.items.ItemList] EJB:getItems() javax.ejb.EJBException: java.lang.IllegalArgumentException: org.hibernate.hql.ast.QuerySyntaxException: JPA-QL compliance
[jboss-user] [JBoss jBPM] - Re: how to find processInstances by initiator?
We had to implement several of these functions, and finally had to go back down to the level of sql direct to get these kind of advanced queries, but it is really necessary for a nice display list for the inbox. Another reason is the paging and sorting was not going well, so had to be pushed down to the sql level. James View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992004#3992004 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992004 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - stange fehler
I have installed the server of JBoss, EJB3.0 and Seam, but i got so such a fehler like this: 17:41:40,625 INFO [EARDeployer] Init J2EE application: file:/D:/JBoss/server/de fault/deploy/jboss-seam-registration.ear 17:41:40,875 ERROR [MainDeployer] Could not create deployment: file:/D:/JBoss/se rver/default/tmp/deploy/tmp45022jboss-seam-registration.ear-contents/jboss-seam- registration.jar org.jboss.deployment.DeploymentException: ejb-jar.xml must either obey the right xml schema or define a valid DOCTYPE! at org.jboss.metadata.ApplicationMetaData.importEjbJarXml(ApplicationMet aData.java:339) at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:166) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992006#3992006 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992006 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss/Spring Integration] - Re: myApp.spring deploting
You could go through the log with debug mode ... and just see on what services does your DDMService depend on. SpringDeployer should be there. If so, the problem is somewhere else. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992008#3992008 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992008 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Logout guidance - previous values populating in page
I have a very simple logout function, built in the Seam-way I believe: link to logout: | s:link action=#{loginClient.logout} view=/Login.seam value=Logout/ | logout code: | public String logout() | { | Authenticator.instance().unauthenticateSession(); | Seam.invalidateSession(); | return null; | } | Problem is: when the user is returned to the login page, the original values used to login still populate within the inputText fields. How does one make sure these values no longer show up? The session has been invalidated correctly which makes me wonder where these values are coming from in the first place! Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992009#3992009 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992009 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - problem including a jsp file into a jsf
Hello, Using jboss 4.0.4 with SEAM. I have a problem when I use jsp:include into my jsf, it seams that SEAM instanciates as much databean as included page, so my conversation gets crazy! I need to include them because I use a tabpane. I am just wondering what to do, to be able to include jsp files into jsf page. Here is the code of the main page : | %@ taglib uri=http://java.sun.com/jsf/html; prefix=h% | %@ taglib uri=http://java.sun.com/jsf/core; prefix=f% | %@ taglib uri=http://myfaces.apache.org/tomahawk; prefix=t% | %@ taglib uri=http://fmk..fr/faces/cpage.tld; prefix=c% | %@ taglib uri=https://ajax4jsf.dev.java.net/ajax; prefix=a4j% | | script language=JavaScript | src=%=request.getContextPath()%/js/navbox.js/script | f:view | c:page | h:form id=priseEnChargeExterneMinimaleForm | c:document userContext=#{UserBean.userContext} | f:facet name=htmlHead | h:panelGroup | f:loadBundle | basename=fr.cpage.patient.priseencharge.web.messages var=msg / | /h:panelGroup | /f:facet | f:facet name=topBody | h:panelGrid | c:commandButton value=#{msg.enregistrer} | action=#{priseEnChargeExterneMinimale.enregistrer} / | /h:panelGrid | /f:facet | t:stylesheet path=/css/prise-en-charge.css / | t:stylesheet path=/css/menu-carte.css / | h:panelGrid columns=1 columnClasses=paddingLienPopup | f:subview id=menuCarte | jsp:include flush=true page=../popup/menu-carte.jsp / | /f:subview | /h:panelGrid | h:panelGrid columns=7 styleClass=valignCenter | h:outputLabel for=nom_usage_requis | value=#{msg.pecu_libelle_nom_usage} / | h:inputText size=25 id=nom_usage_requis | value=#{identiteDatabean.nomUsage} / | h:outputLabel for=prenomUsage value=#{msg.pecu_libelle_prenom} / | h:inputText size=25 id=prenomUsage | value=#{identiteDatabean.prenomUsage} / | h:outputLabel for=dossier | value=#{msg.pecu_libelle_numero_dossier} / | h:panelGrid columns=3 id=dossier cellpadding=0 | cellspacing=0 | h:outputText value=(#{dossierDatabean.etat}) / | h:outputText | binding=#{priseEnChargeExterneMinimale.numeroDossierOutput} | value=#{dossierDatabean.numeroHospitalisation} / | h:inputText size=10 | binding=#{priseEnChargeExterneMinimale.numeroDossierInput} | value=#{dossierDatabean.numeroHospitalisation} rendered=false / | /h:panelGrid | /h:panelGrid | c:graphicImageSpacer / | t:panelTabbedPane binding=#{priseEnChargeExterneMinimale.onglets} | t:panelTab label=#{msg.pecem_label_onglet_identite} | f:subview id=ongletIdentite | jsp:include flush=true page=pecem-identite-onglet.jsp / | /f:subview | /t:panelTab | t:panelTab label=#{msg.pecem_label_onglet_personne_en_relation} | f:subview id=ongletPersonneEnRelation | jsp:include flush=true | page=pecem-personne-en-relation-onglet.jsp / | /f:subview |
[jboss-user] [JBossWS] - Wrong package name for nested object properties
Happens in JBoss AS 4.0.4 with WS 1.0.3, 1.0.3SP1, JBoss AS 4.0.5 with WS 1.0.4 I have the data model classes in ch.logobject.test.model.ws. === WSDL === Initially generated by JBossWS from the model. Later modified manually, deployed in META-INF/wsdl and referenced in the @WebService annotation. definitions name='testService' targetNamespace='http://i.session.test.logobject.ch/jaws' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:ns1='http://ws.model.test.logobject.ch/jaws' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://i.session.test.logobject.ch/jaws' xmlns:xsd='http://www.w3.org/2001/XMLSchema' schema elementFormDefault='qualified' targetNamespace='http://ws.model.test.logobject.ch/jaws' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:ns1='http://i.session.test.logobject.ch/jaws' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://ws.model.test.logobject.ch/jaws' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' schema elementFormDefault='qualified' targetNamespace='http://i.session.test.logobject.ch/jaws' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:ns2='http://ws.model.test.logobject.ch/jaws' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://i.session.test.logobject.ch/jaws' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' soap:binding style='document' transport='http://schemas.xmlsoap.org/soap/http'/ soap:operation soapAction=''/ soap:body use='literal'/ soap:body use='literal'/ soap:operation soapAction=''/ soap:body use='literal'/ soap:body use='literal'/ soap:address location='http://127.0.0.1:8080/playground-sb/Websvc'/ == WS interface == @WebService( name=test, wsdlLocation=META-INF/wsdl/playground.wsdl ) @SOAPBinding(style=Style.DOCUMENT, use=Use.LITERAL, parameterStyle=ParameterStyle.WRAPPED) @Remote public interface IWebsvc { @WebMethod String echo(String s); @WebMethod Response f( @WebParam(name=a) String a, @WebParam(name=b) int b, @WebParam(name=d) Calendar d, @WebParam(name=e) boolean e, @WebParam(name=p) Person p); } == SOAP message (from Eclipse Webservice Explorer) == ?xml version=1.0 encoding=UTF-8 ? soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; xmlns:q0=http://i.session.test.logobject.ch/jaws; xmlns:q1=http://ws.model.test.logobject.ch/jaws; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; soapenv:Body q0:f q0:adg/q0:a q0:b345/q0:b q0:d2006-12-07T16:27:31.171Z/q0:d q0:etrue/q0:e q0:p q1:age345/q1:age q1:namedfdfg/q1:name q1:profession q1:experience45/q1:experience q1:namedfg/q1:name /q1:profession /q0:p /q0:f /soapenv:Body /soapenv:Envelope == Exception == Note the wrong package name for the Profession class! The bug renders JBossWS completely unusable for more complex datamodels! Please also check what happens when the model spans several packages. I know JAWS support is not complete, but letting JBoss generate my WSDLs is not an option. They are interoperability documents after all, and changes need to be managed carefully. org.jboss.ws.WSException: org.jboss.ws.binding.BindingException: org.jboss.ws.jbossxb.UnmarshalException: Failed to parse source: Failed to resolve class name for {http://ws.model.test.logobject.ch/jaws}profession: No ClassLoaders found for: ch.logobject.test.session.i.Profession [exec] at org.jboss.ws.soap.SOAPContentElement.getObjectValue(SOAPContentElement.java:323) [exec] at org.jboss.ws.binding.EndpointInvocation.transformPayloadValue(EndpointInvocation.java:233) [exec] at org.jboss.ws.binding.EndpointInvocation.getRequestParamValue(EndpointInvocation.java:103) [exec] at org.jboss.ws.binding.EndpointInvocation.getRequestPayload(EndpointInvocation.java:117) [exec] at org.jboss.ws.integration.jboss.ServiceEndpointInvokerEJB3.invokeServiceEndpoint(ServiceEndpointInvokerEJB3.java:120) [exec] at org.jboss.ws.server.AbstractServiceEndpointInvoker.invoke(AbstractServiceEndpointInvoker.java:151) [exec] at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:195) [exec] at org.jboss.ws.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:373) [exec] at org.jboss.ws.server.StandardEndpointServlet.doPost(StandardEndpointServlet.java:116) [exec] at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) [exec] at
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - org.hibernate.exception.GenericJDBCException: Cannot open co
Hi, Any ideas why I'm getting this error? Database is MySQL 5.x with latest driver (5.0.4). | 2006-12-07 17:26:08,721 WARN [jacorb.poa.controller] rid: 2236088 opname: shouldMerge cannot process request, because object doesn't exist | 2006-12-07 17:26:08,721 WARN [jacorb.poa.controller] rid: 2236088 opname: shouldMerge request rejected with exception: | 2006-12-07 17:26:08,722 WARN [jacorb.poa.controller] rid: 2236090 opname: shouldReplace cannot process request, because object doesn't exist | 2006-12-07 17:26:08,722 WARN [jacorb.poa.controller] rid: 2236090 opname: shouldReplace request rejected with exception: | 2006-12-07 17:26:08,723 WARN [jacorb.poa.controller] rid: 2236092 opname: shouldAdd cannot process request, because object doesn't exist | 2006-12-07 17:26:08,723 WARN [jacorb.poa.controller] rid: 2236092 opname: shouldAdd request rejected with exception: | 2006-12-07 17:26:08,724 WARN [jacorb.poa.controller] rid: 2236094 opname: shouldAlter cannot process request, because object doesn't exist | 2006-12-07 17:26:08,724 WARN [jacorb.poa.controller] rid: 2236094 opname: shouldAlter request rejected with exception: | 2006-12-07 17:26:08,725 WARN [jacorb.poa.controller] rid: 2236096 opname: shouldMerge cannot process request, because object doesn't exist | 2006-12-07 17:26:08,725 WARN [jacorb.poa.controller] rid: 2236096 opname: shouldMerge request rejected with exception: | 2006-12-07 17:26:08,726 WARN [jacorb.poa.controller] rid: 2236098 opname: shouldReplace cannot process request, because object doesn't exist | 2006-12-07 17:26:08,726 WARN [jacorb.poa.controller] rid: 2236098 opname: shouldReplace request rejected with exception: | 2006-12-07 17:26:08,728 WARN [jacorb.poa.controller] rid: 2236100 opname: shouldAdd cannot process request, because object doesn't exist | 2006-12-07 17:26:08,728 WARN [jacorb.poa.controller] rid: 2236100 opname: shouldAdd request rejected with exception: | 2006-12-07 17:26:08,729 WARN [jacorb.poa.controller] rid: 2236102 opname: shouldAlter cannot process request, because object doesn't exist | 2006-12-07 17:26:08,729 WARN [jacorb.poa.controller] rid: 2236102 opname: shouldAlter request rejected with exception: | 2006-12-07 17:26:08,730 DEBUG [Sonic Resource Adapter for JCA] SonicServerSession.onMessage() WorkManager(2)-6773 | 2006-12-07 17:26:08,732 WARN [jacorb.poa.controller] rid: 2236108 opname: saveRecord cannot process request, because object doesn't exist | 2006-12-07 17:26:08,732 WARN [jacorb.poa.controller] rid: 2236108 opname: saveRecord request rejected with exception: | 2006-12-07 17:26:08,733 WARN [com.arjuna.ats.jts.logging.loggerI18N] [com.arjuna.ats.internal.jts.resources.errsavefail] ExtendedResourceRecord.doSave failed. Returning default value: true | 2006-12-07 17:26:08,734 DEBUG [Sonic Resource Adapter for JCA] RequestProcessor-50297 XAResource=1630429486 | XAResourceWrapper.leaveTransaction: GlobalId=1--3f3db8c2:8de6:4577fa84:5bb62, BranchQual=-3f3db8c2:8de6:4577fa84:5bb66 | 2006-12-07 17:26:08,736 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to open PreparedStatement (open PreparedStatements: 0, globally: 0) | 2006-12-07 17:26:08,736 DEBUG [org.hibernate.jdbc.ConnectionManager] opening JDBC connection | 2006-12-07 17:26:08,759 WARN [jacorb.poa.controller] rid: 2236110 opname: commit cannot process request, because object doesn't exist | 2006-12-07 17:26:08,759 WARN [jacorb.poa.controller] rid: 2236110 opname: commit request rejected with exception: | 2006-12-07 17:26:08,775 WARN [org.hibernate.util.JDBCExceptionReporter] SQL Error: 0, SQLState: null | 2006-12-07 17:26:08,775 ERROR [org.hibernate.util.JDBCExceptionReporter] Transaction is not active: tx=TransactionImple jts, -3f3db8c2:8de6:4577fa84:1a639 ; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImple jts, -3f3db8c2:8de6:4577fa84:1a639 ) | 2006-12-07 17:26:08,782 WARN [com.arjuna.ats.jts.logging.loggerI18N] [com.arjuna.ats.internal.jts.cwcommit] Failed to mark transaction as rollback only: | org.omg.CosTransactions.Unavailable: IDL:omg.org/CosTransactions/Unavailable:1.0 | at com.arjuna.ats.internal.jts.ControlWrapper.rollback_only(ControlWrapper.java:344) | at com.arjuna.ats.internal.jts.ControlWrapper.preventCommit(ControlWrapper.java:168) | at com.arjuna.ats.jts.extensions.AtomicTransaction.rollbackOnly(AtomicTransaction.java:771) | at com.arjuna.ats.internal.jta.transaction.jts.TransactionImple.setRollbackOnly(TransactionImple.java:387) | at com.arjuna.ats.internal.jta.transaction.jts.BaseTransaction.setRollbackOnly(BaseTransaction.java:214) | at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.setRollbackOnly(BaseTransactionManagerDelegate.java:135) | at
[jboss-user] [JBossWS] - Re: Wrong package name for nested object properties
Damnit. Can someone fix the HTML escaping in this forum? Look at the mess... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992013#3992013 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992013 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Server side state saving - current status?
We've been developing on Seam for 3-4 months now. Initially, we used client-side state since server-side was definitely broken (by whom, I don't know, but it was broken!). We developed a ton of functionality and client-side state was working great for us but we knew we'd have to switch to server side at some point. About a month ago, we upgraded Seam (it was Beta 2 at the time) and switched to facelets 1.1.11. We tried out server-side state. Everything was still working just fine. Other than web.xml STATE_SAVING_METHOD, we did not have to change anything! I think you'll find similar answers from other users. As far as I'm concerned, server-side state works just fine! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992014#3992014 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992014 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: transaction killed
It's Ok, I found where it came from ... It was a program problem finally. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992016#3992016 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992016 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Class not found Exception in Web Console - Heta.5.0.0
Hello, I am a first time contributor, please forgive my ignorance. I am attempting to learn about JBOSS and have dowloaded Beta 5.0.0 - When I attempt to start the web-console - I get a class not found exception for org/jboss/logging/Logger - ideas? - Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992018#3992018 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992018 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Clustering NOT working on physical separate boxes.
http://wiki.jboss.org/wiki/Wiki.jsp?page=TestingJBoss http://www.jgroups.org/javagroupsnew/docs/manual/html/ch03.html#ItDoesntWork Re: the subnet, the requirement is that the packets must be able to pass between the servers. If you are using UDP, that relies on multicast, so if the servers are not on the same subnet you need to be sure your router will pass multicast. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992017#3992017 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992017 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - JBossIDE 2.0.0Beta2 missing JBoss Launch configuration
I'm trying to complete the tutorial with the latest jbosside bundle and I'm on step 10. The step says to open the Debug... configurations dialog and to select or create a new JBoss server configuration. The problem is that there are no JBoss server definitions that I can select to create a new configuration. All that I have are: Apache Tomcat, Eclipse Application, Equinox OSGi Framework, Generic Server, Generic Server (External Launch), Java Applet, Java Application, JBoss AOP Application, JUnit, JUnit Plug-in Test, Remote Java Application and SWT Application. That's it. Is there something that I'm missing? How do I get the JBoss 2.4.x, JBoss 3.0.x, JBoss 3.2.x, JBoss 4.0.x and JBoss Remote configuration definitions in my ide that are shown in the tutorial and are missing? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992019#3992019 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992019 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - HowTo Link LDAP-Group with Roles?
Hi, I spend nearly the whole day, reading tutorials, forums and books... I finally got my authentication working but am stuck with the authorization. I can login, but am getting - reasonably - a 403 error. I'm originally coming from WebSphere where the EAR links the LDAP-Groups with the JAAS roles with a ibm-application-bnd.xmi. But how can I make it on Jboss??? I set up login-config.xml, application.xml (ear), jboss-web.xml and web.xml to make the authentication happen. Any other file to edit/add? Thanks in advantage for you help! Zwitsch application.xml | display-name | KaskoEAR/display-name | module | web | web-uriKasko.war/web-uri | context-rootkasko/context-root | /web | /module | security-role id=user | descriptionUser/description | role-nameuser/role-name | /security-role | security-role id=poweruser | descriptionPoweruser/description | role-namepoweruser/role-name | /security-role | security-role id=admin | descriptionAdmin User/description | role-nameadmin/role-name | /security-role | /application web.xml (extract) !-- Security Config -- | | login-config | auth-methodBASIC/auth-method | realm-nameKasko Login/realm-name | /login-config | | !-- Security Contraints -- | | security-constraint | web-resource-collection | web-resource-nameAdmin/web-resource-name | url-pattern/Start/url-pattern | http-methodGET/http-method | http-methodPOST/http-method | /web-resource-collection | auth-constraint | role-nameadmin/role-name | /auth-constraint | /security-constraint | | !-- Security Roles -- | | security-role | descriptionAdministrator/description | role-nameadmin/role-name | /security-role jboss-web.xml jboss-web | | context-root/kasko/context-root | | security-domainjava:/jaas/testdomain/security-domain | | /jboss-web View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992020#3992020 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992020 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: WSRP consumer
jboss_ms wrote : I am using jboss 2.6 as a WSRP consumer. I am behind a proxy. I have configured my run.bat to set the proxy host, port,user,password. But I am always getting authentication needed as an error message. Which version of JBoss AS are you using? If you're using 4.0.4.GA, please upgrade to 4.0.5.GA (or upgrade JBoss WS). Have you looked at: http://wiki.jboss.org/wiki/Wiki.jsp?page=WSRPOfflineInstructions? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992021#3992021 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992021 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: WSRP consumer
jboss_ms wrote : I am using jboss portal 2.6. Note that we don't currently support 2.6. That said... jboss_ms wrote : | 1)if I make a portlet as a remotable( portlet.xml) , does it become a WSRP Producer. So does it implement the 4 interfaces and we need not write any code to make it a WSRP producer. I am not able to understand how jboss portal supports WSRP from the documentation provided. | Making a portlet remotable makes it available for remote publishing via Portal's WSRP producer. If your portlet is correctly deployed and made remotable, it should appear in the self portlet provider in the admin interface. This means that it is now available to be consumed by remote consumers that connect to Portal's producer. self is a WSRP consumer connected to Portal's WSRP producer so you should be able to see your portlet there. If not, there is a problem. Look at the doc for more details. However, it does seem like you might be misunderstanding how WSRP works... I suggest reading the WSRP primer at http://www.oasis-open.org/committees/download.php/21178/wsrp-primer-1.0.html if you haven't already done so. jboss_ms wrote : | 2) Is it only the admin can create an instance and become a WSRP consumer? What is the role of other users with respect to WSRP | Just like only admins can create and deploy portlets, the same holds true for WSRP portlets. Users can use WSRP portlets just like regular portlets. Hope this helps. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992022#3992022 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992022 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Serious Portal Caching issue.
bmcgovern wrote : Yeah I had just figured out that ActionURLs and RenderURLs are quite different. Indeed. bmcgovern wrote : And I did read the spec, though I can't say its my friend yet, we just met. :) bmcgovern wrote : Thanks for the help either way, much appreciated. Glad I could help and glad to hear that it's not a Portal issue... ^_^ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992024#3992024 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992024 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How many EntityManagers and SFSBs in a web app?
Thanks for the info on that. I didn't realize. Hmm. I guess I could take away all these collections that I'm using, and instead use beans to do queries. Eager fetching is out of the question because there might be thousands of entities in certain collections, each with its own entities. This is frustrating. I would really like to just have an EntityManager that I can use and not worry about this stuff. I'll look for that thread. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992023#3992023 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992023 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Need a default value for a Process Definition
James, If you turn process validation of in the server (deploy time) you can add your own xml elements at several levels. In 3.2 (3.1.3 as well afaik) you have access to the full xml process definition and can read anything from there . another option is to have one actionhandler that sets the process varibable at the process start event. works for me View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992025#3992025 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992025 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: geam-gen generate-entities error
no ideas ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992026#3992026 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992026 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: how to use with EJB3Standalone container inside eclipse
ok, here is my deployment descriptor: | ?xml version=1.0 encoding=UTF-8 ? | deployment xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation=urn:jboss:bean-deployer bean-deployer_1_0.xsd | xmlns=urn:jboss:bean-deployer:2.0 | | bean name=jboss.cache:service=TestTreeCache | class=org.jboss.cache.TreeCache | !--dependsjboss:service=Naming/depends | dependsjboss:service=TransactionManager/depends-- | | create method=createService / | start method=startService / | stop method=stopService / | destroy method=destroyService / | property name=transactionManagerLookupClass | org.jboss.cache.DummyTransactionManagerLookup | /property | property name=nodeLockingSchemePESSIMISTIC/property | property name=isolationLevelREPEATABLE_READ/property | property name=cacheModeLOCAL/property | property name=initialStateRetrievalTimeout5000/property | property name=syncReplTimeout1/property | property name=lockAcquisitionTimeout15000/property | | property name=evictionPolicyClass | org.jboss.cache.eviction.LRUPolicy | /property | | property name=evictionPolicyConfig | !--config | attribute name=wakeUpIntervalSeconds2/attribute | region name=/_default_ | attribute name=maxNodes0/attribute | attribute name=timeToLiveSeconds0/attribute | attribute name=maxAgeSeconds0/attribute | /region | /config-- | | /property | | /bean | /deployment | As you can see, the depends and eviction policy config are commented out as they cause other problems. here is the error i get using the above: | RROR 07-12 10:46:29,171 (AbstractController.java:incrementState:350) -Error installing to Configured: name=jboss.cache:service=TestTreeCache state=Instantiated | java.lang.IllegalArgumentException: Null value metadata | at org.jboss.kernel.plugins.config.Configurator.getPropertySetterJoinPoint(Configurator.java:496) | at org.jboss.kernel.plugins.config.Configurator.getPropertySetterJoinPoint(Configurator.java:443) | at org.jboss.kernel.plugins.config.Configurator.getPropertySetterJoinPoints(Configurator.java:407) | at org.jboss.kernel.plugins.config.AbstractKernelConfigurator.getPropertySetterJoinPoints(AbstractKernelConfigurator.java:120) | at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$ConfigureAction.installAction(KernelControllerContextActions.java:443) | at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$KernelControllerContextAction.install(KernelControllerContextActions.java:175) | at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:593) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:346) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:438) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:379) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:225) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:151) | at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:291) | at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:261) | at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:117) | at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXMLDeployer.java:95) | at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.deployXmlResource(EJB3StandaloneBootstrap.java:88) | at com.mpi.tvaar.BaseTestCase.startupEmbeddedContainer(BaseTestCase.java:78) | at com.###.BaseTestCase.setUp(BaseTestCase.java:62) | at com.###.AggregateFetcherTest.setUp(AggregateFetcherTest.java:30) | at junit.framework.TestCase.runBare(TestCase.java:125) | at junit.framework.TestResult$1.protect(TestResult.java:106) | at junit.framework.TestResult.runProtected(TestResult.java:124) | at junit.framework.TestResult.run(TestResult.java:109) |
[jboss-user] [JBossCache] - Re: how to use with EJB3Standalone container inside eclipse
Also, i forgot to mention that a bare-bones deployment works, something like: | bean name=jboss.cache:service=TestTreeCache class=org.jboss.cache.TreeCache |create method=createService/ |start method=startService/ |stop method=stopService/ |destroy method=destroyService/ | | property name=nodeLockingSchemePESSIMISTIC/property | property name=isolationLevelREPEATABLE_READ/property | property name=cacheModeLOCAL/property | property name=initialStateRetrievalTimeout5000/property | property name=syncReplTimeout1/property | property name=lockAcquisitionTimeout15000/property | | /bean | will launch: | DEBUG 07-12 11:21:41,000 (BeanXMLDeployer.java:deploy:91) -Parsing file:/C:/.../test-treecache-test.xml took 16 milliseconds | WARN 07-12 11:21:41,109 (Log4JLogger.java:warn:104) -No transaction manager lookup class has been defined. Transactions cannot be used | DEBUG 07-12 11:21:41,109 (Log4JLogger.java:debug:84) -Not using an EvictionPolicy | INFO 07-12 11:21:41,140 (Log4JLogger.java:info:94) -interceptor chain is: | class org.jboss.cache.interceptors.CallInterceptor | class org.jboss.cache.interceptors.PessimisticLockInterceptor | class org.jboss.cache.interceptors.UnlockInterceptor | class org.jboss.cache.interceptors.TxInterceptor | class org.jboss.cache.interceptors.CacheMgmtInterceptor | DEBUG 07-12 11:21:41,156 (Log4JLogger.java:debug:84) -cache mode is local, will not create the channel | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992028#3992028 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992028 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - detached entity passed to persist problem
Hi all, I'm new to seam, and I'm creating a project here I'm getting this Exception: | Exception during INVOKE_APPLICATION(5): javax.persistence.PersistenceException: org.hibernate.PersistentObjectException: detached entity passed to persist: br.com.dehproject.UsuarioEntity I know that I could use em.merge() to skip this, but I want to create a new object, not to update the actual one. My UsuarioEntity has a SESSION Scope, so that's why I get this... but I need the SESSION scope to the next page in my JSF to manage the contents of the object... I have a page that register the users, and then redirect to another page where I manage the contents of the user using a Entity with a EVENT scope... But if I get back to the register page, I cannot persist another one and throw the Exception that I pasted above... =/ I want to create a new object to persist that has nothing to do with the other one... How can I turn back and persist another object? but I also need to continue with a SESSION Scope, or I wish to have some idea from you... Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992029#3992029 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992029 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Integration of web objects in jboss portal
I am not familiar with WebObjects but since it seems to provide a web application framework that can run on top of J2EE compliant application servers, there might be a way to bridge with Portal using the servlet/JSP support of WebObjects. Take a look at http://developer.apple.com/documentation/WebObjects/JSP_and_Servlets/index.html. One possible solution would be to expose your WebObjects application as a servlet then bundle that servlet along with a portlet that would integrate with JBoss Portal. Obviously, the details of how this would concretly be done need to be worked out... and cannot really be answered abstractly. The short answer to your question is support for WebObjects is currently unknown but should be possible via a bridge effort. I'd be interested in learning about it if you manage to get it to work. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992030#3992030 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992030 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Logout guidance - previous values populating in page
Did you check to see if the information is stored in a cookie? Does the information still get populated from a new/different browser? I can't answer your question, but maybe this will help you find the answer. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992031#3992031 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992031 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Custom header not getting include in SOAP request?
I have a bit of code that makes a simple SOAP request using SAAJ to a server that requires basic authentication. I've tested this code with both the Axis SAAJ implementation and Sun's reference SAAJ implementation and it works fine. However, when I run the code from inside a web app deployed in JBoss 4.0.3SP1, it uses the JBoss SAAJ implementation and fails with a 401 (Auth denied) error. Watching the SOAP request with Axis' tcpmon shows that the custom mime header for the basic authorization I'm putting in the request is not actually making it into the request sent to the server. The mime header does appear when using the Axis and Sun SAAJ implementations. The code is simply: SOAPMessage message; SOAPConnection connection; ...init code... message.getMimeHeaders().addHeader( Authorization, Basic + encodedPassword ); connection.call( message, endpoint ); This technique for setting basic auth is something I saw in another JBoss forum post so I have no idea it doesn't work when using the JBoss SAAJ implementation. Has anyone seen anything similar or have a work around for getting custom headers into SOAP requests generated by the JBoss SAAJ implementation? - Paul View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992032#3992032 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992032 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How many EntityManagers and SFSBs in a web app?
To put it another way, when the View needs to render something, it is very likely that the objects in the View will need access to an EntityManager. Hibernate had no solution for this; the best you could do would be to use a Filter to handle the EntityManager, but that is really not ideal because it's ugly and in some cases the Filter doesn't get to complete its task. So that's bad. I switched to Seam because I thought that Seam finally solved the EntityManager in the View phase problem, but apparently it does not. Why is this so hard? Come on, even PHP has a solution to this. In PHP at the beginning of your request, you get a DB connection, and then everywhere else in the request you just do mysql_query(...), and it all works, and at the end of the request, the DB connection is freed. Why is Java having such a hard time doing that? I notice that I can access the FacesMessages from any object and the FacesMessages is retrieved from the Thread itself. Why can't an EntityManager run the same way? Am I the only one who can see that this is a fundamental oversight in the entire Java ORM Web landscape? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992033#3992033 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992033 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: how to use with EJB3Standalone container inside eclipse
Probably better to just comment out the whole property element for evictionPolicyConfig rather than just the value. Perhaps if you post on the Microcontainer forum http://www.jboss.com/index.html?module=bbop=viewforumf=228 someone can give you a tip on how to configure a property of type Element. (Do a good search first for an already provided answer though!!) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992034#3992034 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992034 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: jboss-seam-CVS.20061204 seam-gen project
org.hibernate.cache is just a wrapper wround the underlying cache provider, which provides consistency semantics. It is not an actual cache. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992036#3992036 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992036 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Security
12 Jan is an approximate date. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992038#3992038 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992038 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: ResourceBundle
Use your debugger. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992039#3992039 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992039 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Server side state saving - current status?
I recently updated the documentation, since it seems that server side state saving is working much better in recent releases of JSF implementations. I can't promise no bugs, but I'm not aware of any known bugs. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992040#3992040 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992040 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam+Icefaces: debug.seam throws an exception
I have already asked the ICEfaces guys to look into the problems with the Seam debug page. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992041#3992041 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992041 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user