[jboss-user] [Clustering/JBoss] - Re: Cannot lookup EJBs in clustered environment
Thanks for the tip Brian. I noticed now that there is no ejb3.deployer directory at all in my server/deploy. This must be the reason why EJB3s are not recognized and deployed. We will now reinstall JBoss with the EJB3-profile. Thanks again for your quick replies. Greetings from Switzerland View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047797#4047797 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047797 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - customize jbpm-starters-kit-3.1.2 interface
Thanks for your prompt reply, But it doesnt work because it's probably linked to the file: "TaskBean.java". When i do the changes in both "Task.jsp" and "TaskBean.java" and redeploy the "app.war" ive got an "error message". Following lines are taken from the "Taskbean.java": public String saveAndClose() { // save save(); // close the task instance String transitionButton = JsfHelper.getParameter("taskform:transitionButton"); log.debug("Submitted button:" + transitionButton); TaskInstance taskInstance = taskMgmtSession.loadTaskInstance(taskInstanceId); if ("Save and Close Task".equals(transitionButton)) { //if ("Hello".equals(transitionButton)) { taskInstance.end(); } else { taskInstance.end(transitionButton); } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047796#4047796 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047796 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - whate time the portal 2.6 CR3 can be download
whate time the portal 2.6 CR3 can be download View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047795#4047795 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047795 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: Need help debugging JBoss Remoting
I'm not that efficient. :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047793#4047793 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047793 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: Need help debugging JBoss Remoting
Hi Ron, actually, this exception only occurs near the point where the test suite hangs, so it might be useful, don't take it out just yet :) Sergey View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047792#4047792 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047792 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam and Web-Services Problem
IMPORTANT: my code is OK! The problem is deployment: if exploded error occurs but as EAR file it's all OK! Please JBoss Team to investigate about this strange behaviour. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047791#4047791 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047791 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - How to map collection of entity ids
Let's say Factory.java and Product.java are entity classes. There is a one-to-many unidirectional relationship from Factory to Product. | @Entity | public class Factory implements Serializable { | @Id | private Long id; | | // This is a collection of Product ids. How to map this??? | private List productIds; | .. | } | | @Entity | public class Product implements Serializable { | | @Id | private Long id; | .. | } | My question is: how to write the mapping metadata for Factory.productIds? (I know List< Long > can't be persisted. But how can JPA solve this simple case?) TIA. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047789#4047789 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047789 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Accessing singleton MBean from a cluster node
Yes, that code part is uncommented in my config and I prefer this secured version of course, but I think it was uncommented by defalut. (I used the installer version of 4.0.5 with 'ejb3-clustered' settings) Anyway, thanks for the help! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047787#4047787 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047787 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - showing portlet in seam
hi all there is one portal example provided with seam framework. but that is not working when we run it. its telling that seam-portal/home.jsp is not found. what should be the problem. kindly help me out if u have any information or if u have already run it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047786#4047786 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047786 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: Need help debugging JBoss Remoting
Hi Sergey, You're right - it's not important. In response to JBREM-690 I had ServerSocketWrapper.close() write a couple of bytes which tell the client side of the connection that the server side is closing. But if the client side closes first, then the server side can't write those bytes. I guess it's kind of annoying though, so I'll reduce the log level to TRACE. Maybe I'll just take it out altogether. -Ron View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047784#4047784 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047784 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Seam portal
Hi All, The portal example provided with the seam framework is not working. All the other examples are working fine. Should we configure some of the files or is there some patch to be downloaded for it to work fine? Please help me out Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047782#4047782 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047782 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: Need help debugging JBoss Remoting
I re-ran the tests and looked in the logs this time. I can't really tell anything from them so far, but there is this error I have also seen under many different circumstances: | 00:41:57,328 DEBUG @WorkerThread#82[127.0.0.1:3127] [ServerThread] WorkerThread#82[127.0.0.1:3127] closing socketWrapper: ServerSocketWrapper[Socket[addr=/127.0.0.1,port=3127,localport=2946].1d9d4e0] | 00:41:57,328 DEBUG @WorkerThread#82[127.0.0.1:3127] [ServerSocketWrapper] cannot write CLOSING byte | 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.flush(BufferedOutputStream.java:123) | at java.io.DataOutputStream.flush(DataOutputStream.java:106) | at org.jboss.jms.server.remoting.ServerSocketWrapper.close(ServerSocketWrapper.java:74) | at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:481) | at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:165) | 00:41:57,328 DEBUG @WorkerThread#82[127.0.0.1:3127] [SocketWrapper] ServerSocketWrapper[Socket[addr=/127.0.0.1,port=3127,localport=2946].1d9d4e0] closing | Why does this happen? It's only given DEBUG level in the logs, so it doesn't mean anything serious? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047780#4047780 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047780 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: why conversation-timeout doesn't work properly?
Thanks Fernando yes you are right, so the Session timeout overrides the conversation timeout thanks again View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047779#4047779 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047779 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: BPEL atm and purchase order test fails.
Hi, When looked at the url http://localhost:8080/jbossws/services, it displayed the following details. | | Registered Service Endpoints | | ServiceEndpointID | ServiceEndpointAddress | | jboss.ws:context=shipping,endpoint=shippingServlet http://prabprabd:8080/shipping/shippingService?wsdl | jboss.ws:context=account,endpoint=accountSystemServlet http://prabprabd:8080/account/accountSystem?wsdl | jboss.ws:context=hello,endpoint=greeterServlet http://prabprabd:8080/hello/greeter?wsdl | jboss.ws:context=purchase,endpoint=purchaseOrderServlet http://prabprabd:8080/purchase/purchaseOrder?wsdl | jboss.ws:context=invoice,endpoint=invoiceServlet http://prabprabd:8080/invoice/invoiceService?wsdl | jboss.ws:context=purchase,endpoint=invoiceCallbackServlet http://prabprabd:8080/purchase/invoiceCallback?wsdl | jboss.ws:context=purchase,endpoint=shippingCallbackServlet http://prabprabd:8080/purchase/shippingCallback?wsdl | jboss.ws:context=translator,endpoint=textTranslatorServlet http://prabprabd:8080/translator/text?wsdl | jboss.ws:context=ticket,endpoint=ticketIssuerServlet http://prabprabd:8080/ticket/ticketIssuer?wsdl | jboss.ws:context=atm,endpoint=frontEndServlet http://prabprabd:8080/atm/frontEnd?wsdl | jboss.ws:context=scheduling,endpoint=schedulingServlet http://prabprabd:8080/scheduling/schedulingProcess?wsdl | jboss.ws:context=translator,endpoint=documentTranslatorServlet http://prabprabd:8080/translator/document?wsdl | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=404#404 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=404 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Loading Jars From outside J-Boss lib
No this is not hte war files.These are the jar files.For example hibernate.jar needs to be inside th Jboss lib folder.Can we put the jar somewhere else and tell jboss to look into that folder? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047776#4047776 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047776 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: BPEL atm and purchase order test fails.
Hi, I believe all the web services are part of the war files. Regards, Prabhakar N. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047773#4047773 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047773 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @Startup not working
Mike, I renamed to create as suggested by you and made it a APPLICATION Scope. Also had to add @Local since JNDI couldn't lookup the object during start and it has started working. Thanks, Mani. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047772#4047772 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047772 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Automatic Redeployment
thanx lot genman View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047771#4047771 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047771 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - java.lang.NoClassDefFoundError in AIX enviroment
Hi all, I am trying to call a session bean with similar codes below: synchronized (m_remoteHomeMutex) { try { InitialContext ic = new InitialContext(); Object o = ic.lookup("test/Tester"); TesterHome home = (TesterHome) javax.rmi.PortableRemoteObject .narrow(o, TesterHome.class); Tester test = home.create(); CODES RUN OK IN jdk1.5.0_11 Jboss: 4.0.5 CODES RUN FAIL IN Environment: AIX with VM IBM ibm_sdk50 Jboss: 4.0.5 Error Msg as follow: 2007-05-22 18:31:20,328 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackLocalException in method: public abstract java .lang.String com.myserver.keyservice.appserver.admin.ejb.session.IPasswordFM.addPassword(java.lang.String,java .lang.String,char[]) throws com.myserver.keyservice.exception.PasswordStoreException, causedBy: javax.ejb.EJBException: Unexpected Error java.lang.NoClassDefFoundError: $Proxy153 at sun.reflect.GeneratedSerializationConstructorAccessor97.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Constructor.java:521) at java.io.ObjectStreamClass.newInstance(ObjectStreamClass.java:951) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1723) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1324) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:362) at java.rmi.MarshalledObject.get(MarshalledObject.java:163) at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:652) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) at javax.naming.InitialContext.lookup(InitialContext.java:363) at com.myserver.common.utils.ServiceLocator.getRemoteHome(ServiceLocator.java:264) Anyone knows what is the problem? Thanks Wing View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047770#4047770 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047770 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam is spining JVM on startup
Please see here for a bunch of Seam example projects that work correctly on JBoss AS 4.2.0 GA -- they range from very simple helloworld to relatively complex ajax/jbpm apps. http://www.michaelyuan.com/blog/seam-next-gen-web-framework/#SeamDownload Again, I have not tried the new seam-gen for 4.2.0 GA. But you can easily compare what's changed from the above examples. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047769#4047769 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047769 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: JbossCache replication and ip multicast
Yup, I did try to use the gossip router yesterday and it does work. Sorry for didn't look at it clearly in the JGroups document (initially I was dealing with JbossCache :) ). To sum up (to confirm my crumbling knowledge, hope you don't mind :) ): For WAN there is a chance that some router will discard the IP Mcast message, So in order to multicast to different nodes in WAN JGroups solved it by sending multiple unicast messages. For UDP/MCAST it uses IP multicast (by default) to find initial members (PING protocol). But for TCP this cannot be used, so again JGroups provide us with 3 alternatives: - PING a so called GossipRouter - TCPPING a pre-known group member or host - TCPGOSSIP, same as PING a GossipRouter mechanism but we can have more than 1 GossipRouter. For all 3 solutions, the GossipRouter or pre-known host has alway to be start up at first(before any other member begin to join the group) Personally I prefer the GossipRouter solution (I am thinking of a way to have GossipRouter to start along with the Jboss AS, don't know if that is possible or not) I would like to have one more question, about the TCP protocol. As it says in JGroups document the use of send multiple unicast messages instead of one multicast message is not that efficient and use more bandwidth and there is a protocol in JGroups which is called TCP_NIO. This TCP_NIO protocol is said to be more scalable for large clusters than TCP, so can I use this protocol in Jboss ClusterConfig? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047768#4047768 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047768 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: problem with encoding
and my javascripts was not working w/ just this: ... for sure.. they just start working again when I added contentType on f:view take a look bellow. This working for me. | http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> | http://www.w3.org/1999/xhtml"; | xmlns:ui="http://java.sun.com/jsf/facelets"; | xmlns:ui2="http://www.sun.com/web/ui"; | xmlns:h="http://java.sun.com/jsf/html"; | xmlns:f="http://java.sun.com/jsf/core"; | xmlns:trh="http://myfaces.apache.org/trinidad/html"; | xmlns:tr="http://myfaces.apache.org/trinidad"; | xmlns:rich="http://richfaces.ajax4jsf.org/rich"; | xmlns:s="http://jboss.com/products/seam/taglib";> | | | | | | eTask | | | | | | | | | | | | | | | | http://www.bittecnologia.com"; | target="_blank">eTask (c) Bit Technologia | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047766#4047766 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047766 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: problem with encoding
yeahh These is one of those things you learn because someone told you sometime :) I saw this because I have just migrate my code to seam-cvs and Jboss 4.2. There, the default is contentType=xml/xhtml which turned all my javascipts as illegal things .. weird hu ? So, I got this tip on this forum in the "seam cvs examples on jboss 4.2"... I could not find any reference to it... and do not worry about seam doc.. this is from jsf implementation. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047765#4047765 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047765 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: problem with encoding
My root facelets template just has the direct meta HTML tag in it: | | The Seam blog example uses an f:view in its template.xhtml but specifies the encoding in a direct meta tag. I didn't even think f:view had such a parameter? I don't even use f:view, as I never saw it in the facelets developer documentation: https://facelets.dev.java.net/nonav/docs/dev/docbook.html#gettingstarted-view-template View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047763#4047763 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047763 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: problem with encoding
... ... ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047760#4047760 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047760 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Unique constraint (JBOSSPORTAL.SYS_C0034349) violated
this is more of an issue of the Oracle JDBC driver. The fix included in 2.4.2 final is more of a defensive coding mechanism to work around this issue. The 2.4.2 final release has not yet been tagged, but you can grab the source code and build it from the following location, where the fix is included: https://svn.jboss.org/repos/portal/branches/JBoss_Portal_Branch_2_4/ btw- what has changed in your environment between when file uploads were working vs when they stopped working. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047761#4047761 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047761 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Themes based on domain?
tim, take a look on trinidad sample seam-cvs. There is a tag on template.xml () that can help you .. perhaps changing something there or intersepting some event overriding it. rgds Leo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047759#4047759 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047759 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: EJB3 - NameNotFoundException HELP! ITALIANO
What's the jndiname that you are passing to the public Object getFacadeService(String jndiName) method. Going by the JNDI tree contents that you posted earlier, you should either pass java:/comp/env/ejb/ServiceRequestFacade to lookup from the java: namespace or webapp/ServiceRequestFacade/local to lookup from the global JNDI namespace View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047758#4047758 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047758 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Task Precondition - Data Existence
Hi, Does jBPM support the 'Task Precondition - Data Existence' pattern as provided in the workflow patterns paper? What I'm looking for a feature where in I want to defer a task commencement until the required data elements are available. Thanks, Kalyan. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047757#4047757 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047757 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Unique constraint (JBOSSPORTAL.SYS_C0034349) violated
Hi sohil, Thanks for your mail, But i downloaded (JBoss Portal + JBoss AS 2.4.2 CR1) on 2007-03-07. I hope this version is a final version of Jboss portal 2.4.2 Final. I worked with this version last 40 days, At that time, I can able to uploaded huge files and small files and(All kind of files). But now i am not able to upload any files, Facing Unique constraint problem(above problem). Accoarding to my understanding it's not a huge file problem. I am waiting for your suggestion, How to solve this problem, Your advance reply will be appreciated. Thanks and Regards Sasikumar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047755#4047755 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047755 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Generation of jasper reports in seam
Hi, I wrote my own JSF component that can view a report inside a div on a given page, and also export a report in a number of output formats. I can't really share the component at this stage, but these snippets should help you get something up and running. Hopefully in the future I can make my component more generic and get permission to contribute it in full. To view the report, firstly I create the JasperPrint object which is the result of filling the report (JasperFillManager.fillReport()). The following code is inside my customer JSF component and the context variable you see is the FacesContext... however the export gets triggered directly from a Seam action, where you can inject the FacesContext using @In, so you should be able to do this without having to write a JSF component. | if (jasperPrint != null) { | final JRExporter exporter = new JRHtmlExporter(); | exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint); | exporter.setParameter(JRExporterParameter.OUTPUT_WRITER, context.getResponseWriter()); | exporter.setParameter(JRHtmlExporterParameter.HTML_HEADER, ""); | exporter.setParameter(JRHtmlExporterParameter.HTML_FOOTER, ""); | | // images | final HttpServletRequest request = (HttpServletRequest) context.getExternalContext().getRequest(); | request.getSession().setAttribute(ImageServlet.DEFAULT_JASPER_PRINT_SESSION_ATTRIBUTE, | jasperPrint); | exporter.setParameter(JRHtmlExporterParameter.IMAGES_MAP, new HashMap()); | exporter.setParameter(JRHtmlExporterParameter.IMAGES_URI, | request.getContextPath() + "/jasperimg?image="); | | // export | try { | context.getResponseWriter().write(""); | exporter.exportReport(); | context.getResponseWriter().write(""); | } catch (final JRException e) { | LOG.error("Report exporting error", e); | . | } | } | To export the report in a whole new response | final JRExporter exporter = JRExporterFactory.getExporter(outputType, jasperPrint, context); | final ByteArrayOutputStream stream = new ByteArrayOutputStream(); | exporter.setParameter(JRExporterParameter.OUTPUT_STREAM, stream); | | // export | try { | exporter.exportReport(); | } catch (final JRException e) { | LOG.error("Report exporting error", e); | | } | final HttpServletResponse response = | (HttpServletResponse) context.getExternalContext().getResponse(); | try { | final OutputStream responseStream = response.getOutputStream(); | response.setContentLength(stream.size()); | response.setContentType(contentTypes.get(outputType)); | if (outputType != ReportOutputType.HTML) { | response.setHeader("Content-Disposition", "attachment; filename=report." + outputType); | } | responseStream.write(stream.toByteArray()); | responseStream.flush(); | responseStream.close(); | response.flushBuffer(); | } catch (final IOException e) { | LOG.error(e); | | } | context.responseComplete(); | | I hope this helps you to get it working, Daniel. "d.solasa" wrote : Hi | | I struck at the point to generate the jasper reports in seam ,ofcourse in jboss too.i even used the component that is given in the jboss site (but that was depricated).And i tried in all the ways that am supposed to generate the jasper reports in java.May be i think i need a jar file or any other configuration to generate jaspe reports in seam.. | | plz be help me..So urgent that i need to implement it in my project View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047751#4047751 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047751 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - process entity from GET request
hello, I display Information about an entity with a GET request by using a stateless bean and page parameter in the pages.xml. on this page which displays a single item i want to execute a conversational bean in which i would like to access the item: | | | | | doesn't seam to work since as soon as i add the inputHidden Parameter the addItem won't get executed. the item is somehow loaded into: | @In | Item item; | because if omit this fragment a exception is thrown regarding the missing input. it works perfectly fine if i use a different entity. it only breaks as soon as i try to access the entity of the previous GET request i'm not sure where to continue thx for any help View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047750#4047750 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047750 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Mail sending error
Hi, I also have this issue. It used to work with seam 1.6, but now I always have the exception. I don't know what to do to resolve it and I cannot return back to 1.6. Patrick View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047749#4047749 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047749 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Passing array of enum to SELECT * WHERE clause
Hello, I am trying to pass an array of enum to EJB QL as followed: em.createQuery("FROM OrderInfo o WHERE o.ordStatus IN (:ordStatus)") | .setParameter("ordStatus", ordStatsStr) Note that o.ordStatus is of type enum OrderStatus. I've tried to set "ordStatus" as String (i.e. 'OPEN', 'CLOSED'), as well as an array of enum but Hibernate would not parse them (perhaps for a good reason). Hibernate threw the following exception (or similar depending on whether I passed in an array of enum or a String): anonymous wrote : org.hibernate.TypeMismatchException: named parameter [ordStatus] not of expected type; expected = class OrderStatus; but was =java.lang.String Can someone show me the way to set the IN clause in Hibernate? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047747#4047747 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047747 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Unable to start JBoss after installing JBossWS 1.2.1 on JBos
Hi , I tried installing JBossWS 1.2.1 on JBoss 4.0.5 GA (using Java 5), using the following installation instructions: http://jbws.dyndns.org/mediawiki/index.php/Install_JBossWS Now, I am unable to start JBoss server which fails with the folllowing exception: | 2007-05-22 17:17:40,623 WARN [org.jboss.security.auth.login.XMLLoginConfigImpl] End loadConfig, failed to load config: file:/D:/dtsource/main/deploy/servers/jboss-4.0.5.GA1/server/default/conf/login-config.xml | org.jboss.security.auth.login.ParseException: Encountered " | ... | | at org.jboss.security.auth.login.SunConfigParser.generateParseException(SunConfigParser.java:395) | at org.jboss.security.auth.login.SunConfigParser.jj_consume_token(SunConfigParser.java:333) | at org.jboss.security.auth.login.SunConfigParser.config(SunConfigParser.java:98) | at org.jboss.security.auth.login.SunConfigParser.parse(SunConfigParser.java:57) | at org.jboss.security.auth.login.SunConfigParser.doParse(SunConfigParser.java:79) | at org.jboss.security.auth.login.XMLLoginConfigImpl.loadSunConfig(XMLLoginConfigImpl.java:310) | at org.jboss.security.auth.login.XMLLoginConfigImpl.loadConfig(XMLLoginConfigImpl.java:294) | at org.jboss.security.auth.login.XMLLoginConfigImpl.loadConfig(XMLLoginConfigImpl.java:268) | at org.jboss.security.auth.login.XMLLoginConfig.startService(XMLLoginConfig.java:176) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:417) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy4.start(Unknown Source) | at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy5.deploy(Unknown Source) | at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482) | at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362) | at org.jbos
[jboss-user] [JBoss Portal] - Re: pages in dashboard
anonymous wrote : I want a portal for each user based in the same template (example : 1 portal with 4 tabs/pages). | This portal must be personalisable by user (drag and drop, keep the position of the drag and drop, add content/new portlet). | This is the default use case. Modify the portal called template to create the 4 pages. Every user logging in his dashboard will see the 4 pages, he will be able to modify those pages. keep the position, add content and this will only be visible by him. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047745#4047745 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047745 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Passing array of enum to SELECT * WHERE clause
Hello, I am trying to pass an array of enum to EJB EL as followed: em.createQuery("FROM OrderInfo o WHERE o.ordStatus IN (:ordStatus)") | .setParameter("ordStatus", ordStatsStr) Note that o.ordStatus is of type enum OrderStatus. I've tried to set "ordStatus" as String (i.e. 'OPEN', 'CLOSED'), as well as an array of enum but Hibernate would not parse them (perhaps for a good reason). Hibernate threw the following exception (or similar depending on whether I passed in an array of enum or a String): anonymous wrote : org.hibernate.TypeMismatchException: named parameter [ordStatus] not of expected type; expected = class OrderStatus; but was =java.lang.String Can someone show me the way to set the IN clause in Hibernate? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047744#4047744 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047744 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Passing a static param in pages.xml
Yeah, I spaced. I tried that and it actually worked. Something else failed and I assumed it was that EL expression. All is right in the worldfor the time being. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047740#4047740 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047740 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Null pointer rendering mail from @Startup component - se
and my @Startup components: | @Startup(depends="manager") | @Name("controller") | @Scope(ScopeType.APPLICATION) | public class Controller { | | @In(create=true) | private Manager manager; | | @Create | public void create() throws Exception { | manager.schedule(); | } | } | | | @Name("manager") | @Scope(ScopeType.APPLICATION) | public class Manager { | | private static Date MIDNIGHT = null; | | @In(create = true) | Job sendNotificationsToScheduledTasks; | | public void schedule() { | Calendar calendar = GregorianCalendar.getInstance(); | calendar.set(Calendar.HOUR_OF_DAY, 0); | calendar.set(Calendar.MINUTE, 1); | calendar.set(Calendar.SECOND, 1); | MIDNIGHT = calendar.getTime(); | System.out.print(MIDNIGHT); | sendNotificationsToScheduledTasks.execute(new Date(), Frequency.EVERY_MINUTE.getInterval()); | } | | } | | package org.bit.etask.scheduler.job; | | import java.util.Date; | import java.util.List; | | import javax.ejb.Stateless; | import javax.ejb.Timer; | import javax.persistence.EntityManager; | | import org.bit.etask.TaskHelper; | import org.bit.etask.domain.Task; | import org.bit.etask.home.ActorHome; | import org.bit.etask.home.MessageHome; | import org.bit.etask.home.TaskHome; | import org.bit.etask.query.TaskList; | import org.bit.etask.scheduler.Job; | import org.jboss.seam.annotations.Asynchronous; | import org.jboss.seam.annotations.In; | import org.jboss.seam.annotations.Logger; | import org.jboss.seam.annotations.Name; | import org.jboss.seam.annotations.Transactional; | import org.jboss.seam.log.Log; | | @Stateless | @Name("sendNotificationsToScheduledTasks") | public class SendNotificationsToScheduledTasksBean implements Job { | | @In | Timer timer; | | @In | EntityManager entityManager; | | @In(create = true) | ActorHome actorHome; | | @In(create = true) | TaskHome taskHome; | | @In(create = true) | MessageHome messageHome; | | @In(create = true) | TaskList taskList; | | @Logger | Log log; | | @Asynchronous | @Transactional | public Timer execute(Date startDate, long interval) { | log.info("Starting ..."); | List tasks = taskList.findScheduledTasksToNotifyToday(); | for (Task task : tasks) { | task.setCurrentActivity(TaskHelper.getLastActivity(task)); | taskHome.setInstance(task); | messageHome.send(); | } | log.info("Finished"); | return timer; | } | | } | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047738#4047738 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047738 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Passing a static param in pages.xml
Have you tried the following? | | Regards Felix View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047737#4047737 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047737 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Null pointer rendering mail from @Startup component - se
of course, Follow my config files: components.xml | | http://jboss.com/products/seam/components"; | xmlns:core="http://jboss.com/products/seam/core"; | xmlns:web="http://jboss.com/products/seam/web"; | xmlns:drools="http://jboss.com/products/seam/drools"; | xmlns:security="http://jboss.com/products/seam/security"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xmlns:mail="http://jboss.com/products/seam/mail"; | xsi:schemaLocation="http://jboss.com/products/seam/core http://jboss.com/products/seam/core-1.3.xsd | http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-1.3.xsd | http://jboss.com/products/seam/security http://jboss.com/products/seam/security-1.3.xsd | http://jboss.com/products/seam/mail http://jboss.com/products/seam/mail-1.3.xsd | http://jboss.com/products/seam/components http://jboss.com/products/seam/components-1.3.xsd";> | | | | | | | | | | | | /security.drl | | | | | | | | | | | | | | | | | | | | | messages | | | | | | | #{em} | | | | Relevant faces-config.xml | http://java.sun.com/xml/ns/javaee"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd";> | | | org.jboss.seam.jsf.SeamELResolver | messages | | org.apache.myfaces.trinidad.core | | | | | | org.jboss.seam.jsf.TransactionalSeamPhaseListener | | | | | actorGroupConverter | | org.bit.etask.converter.ActorGroupConverter | | | ... follow just converters.. | web.xml | | http://java.sun.com/xml/ns/j2ee"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd";> | | workflow for everything | eTask | | | ajax4jsf | org.ajax4jsf.Filter | | | | ajax4jsf | *.seam | REQUEST | FORWARD | INCLUDE | | | | org.ajax4jsf.SKIN | blueSky | | | | | | org.jboss.seam.servlet.SeamListener | | | | | Seam Filter | org.jboss.seam.web.SeamFilter | | | | Seam Filter | /* | | | | Seam Resource Servlet | | org.jboss.seam.servlet.ResourceServlet | | | | | Seam Resource Servlet | /seam/resource/* | | | | facelets.DEVELOPMENT | true | | | | facelets.LIBRARIES | | /WEB-INF/creator.taglib.xml;/WEB-INF/bit.taglib.xml | | | | | javax.faces.STATE_SAVING_METHOD | server | | | | javax.faces.DEFAULT_SUFFIX | .xhtml | | | | ThemeServlet | | com.sun.rave.web.ui.theme.ThemeServlet | | | | | | ThemeServlet | /etask/theme/* | | | | ThemeServlet | /theme/* | | | | Faces Servlet | javax.faces.webapp.FacesServlet | 1 | | | | Faces Servlet | *.seam | | | | 120 | | | Restrict raw XHTML Documents | | XHTML | *.xhtml | | | NONE | | | | | | org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER | | | org.jboss.seam.ui.facelet.SeamFaceletViewHandler | | | | | Trinidad | | org.apache.myfaces.trinidad.webapp.TrinidadFilter | | | | | Trin
[jboss-user] [JBoss Seam] - Null pointer rendering mail from @Startup component - seam f
Guys, I have MessageHome.send() method which is called by the user everytime it saves a new Task on my system. This MessageHome.send() sends an eMail using seam mail component, rendering a xhtml file on file system. Well, as these tasks may be scheduled to run on future, I've constructed a @Startup component to run every day, midnight to call MessageHome.send() in order to check if any scheduled e-Mail must be sent. >From web view, every thing works fine. The message is rendered by seam mail >component and sent... no problem. But, when the same rendering code is called from my startup component, I am getting a null pointer inside org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderKit._addDebugResponseWriters(CoreRenderKit.java:541). Look at when this code is called: | FaceletsRenderer.wrap() { | ... | // Wrap the ResponseWriter | originalResponseWriter = facesContext.getResponseWriter(); | facesContext.setResponseWriter(facesContext.getRenderKit().createResponseWriter(writer, | null, null)); //NPE here! | The exception is raised when facesContext.getRenderKit().createResponseWriter(writer, null, null) runs. As you see I am using trinidad. Do you have any ideia how I can solve or workaround it ? I ve tried to get trinidad sources from svn apache repository, but it seems like it is down. Anyone of you guys could please send me trinidad sources ? Rgds, Leo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047734#4047734 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047734 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Using log4j's NDC
Seam's logger works much like Jakarta Commons Logger, delegating to an underlying provider. If you're setup to use log4j underneath, then you'll have access to NDC or MDC. So I'm not sure this is really a seam question - it's more of a general logging configuration one. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047733#4047733 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047733 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Passing a static param in pages.xml
I am trying to pass a static param to an action method when a specific view id is invoked. I have tried the following ways to no avail: pages.xml | | | | | components.xml I happen to be using ICEFaces 1.6DR#4 (which has it's own el jars) with Seam 1.2.1. I seem to remember Seam having a separate jar file for EL extensions. Maybe I need to use those? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047727#4047727 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047727 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - JBoss Portal 3.0
When do you expect to release Portal 3.0? I previously read this was expected Fall 2007, but a JBoss rep at JavaOne told me this was pushed back to Spring 2008? We are very intested in the app server agnostic features reportly targeted for version 3.0. This could provide us more options to migrate off WebLogic. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047724#4047724 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047724 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - is there any replacement for SecurityProxy with ejb3
I'm dealing with an application that requieres custom security. Originally security was dealt using a class implementing SecurityProxy interface, declared on jboss.xml deployment descriptor. After try the same configuration with ejb3 i've realized the proxy is not being loaded or activated. Is there any way to substitute it ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047720#4047720 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047720 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Pageflow question
Can you have both and in a pageflow? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047718#4047718 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047718 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam is spining JVM on startup
Hmm, I am not sure what's going on. All my apps work fine on 4.2.0 GA and Seam 1.2.1 GA. I will try to make my apps (examples from my book) available later today so that you can have a try. I have not tried the new Seam gen in CVS on 4.2.0. (Seam gen in 1.2.1 generates JBoss 4.0.5 apps). cheers Michael View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047717#4047717 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047717 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: Migration to MySQL
Wow How could I forget it. Ok so after changing it to localhost and changing jndi name to DefaultDS there are no errors:) The fragment of the log looks like this 22:49:56,803 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jc | :service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS' | 22:50:01,560 INFO [A] Bound to JNDI name: queue/A | 22:50:01,570 INFO [B] Bound to JNDI name: queue/B | 22:50:01,570 INFO [C] Bound to JNDI name: queue/C | 22:50:01,570 INFO [D] Bound to JNDI name: queue/D Is it ok? Imasking because before there were some information that sth is CONFIGURED and now its just this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047716#4047716 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047716 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - IllegalStateException: getOutputStream() has already been ca
Hi all, I know many of you after reading the subject would be thinking of suggesting few changes like "don't you use getOutputStream() in JSP or use PrintWriter's getWriter instead". But I have tried most of the suggestions/pointers available in other forums. Problem is that it is *must* for us to use response's OutputStream object as we have to invoke a 3rd Party library API that *only* takes OutputStream object. Now, my concern is how can we stop JBoss calling releasePageContext during JSP lifecycle. As this also calls getOutputStream() which seems to be cause of the problem. finally { if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context); } Please correct me if wrong. Below is the error snippet. | 02:09:54,045 ERROR [[action]] Servlet.service() for servlet action threw exception | java.lang.IllegalStateException: getOutputStream() has already been called for this response | at org.apache.catalina.connector.Response.getWriter(Response.java:599) | at org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:195) | at javax.servlet.ServletResponseWrapper.getWriter(ServletResponseWrapper.java:111) | at org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:124) | at org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:117) | at org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:182) | at org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspFactoryImpl.java:115) | at org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.java:75) | at org.apache.jsp.ui.rawReport_jsp._jspService(rawReport_jsp.java:873) | at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) Thanks and regards, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047715#4047715 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047715 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam is spining JVM on startup
I've tried today's CVS seam snapshot and it didn't help either. I've tried putting application that works on JBoss 4.0.5.GA and it hangs on JBoss 4.2.0.GA too. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047713#4047713 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047713 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: xml export
"kukeltje" wrote : the editor creates the xml Does the source come with the existing editor? I'd just like to use whats already there instead of having to reinvent the wheel. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047712#4047712 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047712 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss and NetBeans] - Re: Can Not Start/JBoss Server With Netbeans 5.5
Try NetBeans 5.5.1, that works better with JBoss 4.0.5. Petr View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047710#4047710 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047710 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Complete, working Example-Implementation for EntityHome
dvdstore, contactlist, and ui also use EntityHome declaritively in components.xml. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047709#4047709 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047709 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: LDAP Authentication & Authorization to eDirectory
Hi. I'm aware that there was a bug related to this in CR2. At first could you try with newest sources from svn? To build portal from sources you need to do: svn co http://anonsvn.jboss.org/repos/portal/trunk/ jboss-portal-2.6 and then with JBOSS_HOME env set do ./build/build.sh deploy ./core-admin/build.sh deploy ./core-cms/build.sh deploy ./core-management/build.sh deploy ./core-search/build.sh deploy Please try and let me know if you still have issues with this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047708#4047708 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047708 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Adress and port where jboss listens
starting with run.sh -b xx.xx.xx.xx works but can this be configured in a configfile. can I listen to more then one adress? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047707#4047707 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047707 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: how to re-deploy and clean out portlet configuration and
"ctassini" wrote : How can I do that? I've tried to use the red X button next to the instance, and I can't see the instance anymore, but I can't find how to remove the portlet data from the DB. You also need to remove the associated window. "ctassini" wrote : I've also tried to rm the data directory from the filesystem, but the portal didn't work anymore, even after a restart. I had to restore a backup. Anyway, I would prefer to delete that portlet data only instead of the whole DB, if it is possible Did you do that while Portal was running? If not, this is not normal and would need to be investigated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047706#4047706 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047706 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Complete, working Example-Implementation for EntityHome
Dear Gaven, Seam-gen allows one to quickly generate a lot of functionalities. However, EntityHome objects are used instead of session beans. The only available example for using EntityHome objects is seampay, but this example is not described in the documentation or available books. Adding documentation/examples for using seam-gen and EntityHome would be very useful. Do you plan to do this? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047705#4047705 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047705 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - JBOSS listens on ports 35497 50483 57364
After starting jboss I tested the server with nmap and saw, that it is litening on the TCP Ports 35497 50483 57364. What services are that? Is that dangerous, Do I have to disable it? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047704#4047704 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047704 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Adress and port where jboss listens
Hi, where can I configure the Adress and port where jboss listens for - EJB calls - jmx-console - webconsole View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047702#4047702 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047702 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Simple Action Redirect with Parameters
Possibly I'm using the paradigm wrong, but since this is a fairly straightforward question, I want to check early. I have a simple navigation problem within a CRUDish application. I want to navigate from one page to another, carrying along the conversation context. I'm using parameter passing to handle the object identification, so an excerpt from pages.xml looks something like: | ... | | | | | | | | | | ... | So I have a s:link on one page somehow pointing to another page that deals with a different type of object. I embed the parameter in the s:link (using an f:param) so that the target page can identify the object I'm interested in. Now here's my issue. I'd ideally like to abstract away the view-id from the link. So I want the s:link to have a 'action="viewDepartment"' attribute and the pages.xml redirects in case I want to change my file naming scheme later. If I use 'view="/department.xhtml"' everything works grand. However, if I use the abstract action String, it treats the link as an internal application link and fetches the department id from the unitialized manageDepartment bean and not from the passed parameter. Is there anyway to have this abstract link mapping without losing my simple parameter passing ability? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047703#4047703 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047703 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Transaction confusion
Hello, My end goal is to have multiple db transactions within a single action method (similar to: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=107449) I am using pojo with seam annotations, and I cant seem to get anything to work, and am getting very confused. for instance, I want to create have a method that tests rollback: | @Rollback | public void testRollback() { | EmailAddr email = new EmailAddr(); | email.setEmail("[EMAIL PROTECTED]"); | this.entityManager.persist(email); | } | This is always commited?!? Shouldn't it rollback? Ultimately I would like to do something like: | private void insertEmail(EmailAddr addr) { | //start transaction | this.entityManager.persist(email); | //end transaction | } | | public void insertEmails() { | for (EmailAddr addr : emails) { | insertEmail(addr); | } | } | I've read everything in the forum, and in the hibernate book, but I still can't figure out how to do this. Any help? thanks, Dustin View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047701#4047701 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047701 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:validateAll throwing component has no value attribute
I've just got out on this. The solution was replace all netbeans stuffs (ui:image, ui:addremove, ...) by trinidad components :( I got the examples from trinidad on jboss-seam-cvs/trinidad. TIP: to replace cascating style sheet from trinidad core skins, just put our style class somewhere before trinidad/adf .css declaration... rgds Leo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047700#4047700 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047700 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: release connection after lazy init in view
Ok, looks like I found another solution/workaround. I provide my own Hibernate ConnectionProvider (by decorating the original one). This provider hands out so called "DisconnectableConnections" and keeps track of all borrowed/released connections. In a ServletFilter (at the end of the response) all not release connections will be "disconnected". Notice, Hibernate still holds the DisconnectableConnection and thinks everything is fine. One the next access via such a connection (which is "discconnected") it will be automatically reconnected. "disconnected" in this context simply means it has been passed back to the connection pool. Instead of using a ConnectionProvider one might simply decorate the connection pool itself ... but this is another story, though, it should work with any orm mapper then. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047696#4047696 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047696 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [J2EE Compliance] - When Jboss expected to get J2EE 1.5 certification
As I know that till now all Jboss version has only J2EE 1.4 certified but still latest release supporting some of the features of J2EE1.5. Officially when Jboss announcing J2EE1.5 certified. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047695#4047695 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047695 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: automatically truncate message table on server startup
Moved from JBoss MQ forum, since this is a query about JBM. BTW please don't crosspost :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047692#4047692 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047692 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: BPEL atm and purchase order test fails.
Have you deployed the other web services invoked by atm.war and pruchase.war. ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047690#4047690 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047690 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - Re: automatically truncate message table on server startup
"paul_da_programmer" wrote : | Plus, even if I used the Hypersonic (or filesystem) persistence, there still is persistence involved. In other words, when you use JMS, the messages are going to be persisted somewhere across server reboots. Which brings me back to my original question... | Can you override this default behavior, that is can you have the persistence manager clear its message cache upon startup? That's not correct. Non persistent messages don't get persisted, period. Even on hypersonic. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047691#4047691 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047691 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JBoss 4.2.0.GA hangs with my Seam application
Yes, same stack, same problem View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047689#4047689 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047689 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: @Resource injection from HA-JNDI
I've been following the code to see how this is meant to work, and here's what I see: 1) @Resource injections are resolved relative to the component ENC. 2) Component ENC is created relative to a default InitialContext (i.e. non-HA JNDI) unless a set of JNDI properties are provided via the deployment. If they are provided, the InitialContext uses those properties. 3) Those properties come via a call to interface org.jboss.ejb3.DeploymentUnit.getJndiProperties(). and now the sad part... 4) The JBoss 4.x impl of DeploymentUnit just returns null from getJndiProperties(), as do 2 out of the 3 impls in the AS 5 codebase. :( Suggest you search the EJB3 JIRA to see if there is any existing issue related to getting this implemented. If not, open a forum thread on the EJB3 forum to help drive getting a JIRA opened for it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047687#4047687 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047687 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JBoss 4.2.0.GA hangs with my Seam application
Same as yours, right? | "main" prio=1 tid=0x08134cd0 nid=0x4e6d runnable [0x8c36f000..0x8c3730e0] | at java.lang.ClassLoader.defineClass1(Native Method) | at java.lang.ClassLoader.defineClass(ClassLoader.java:620) | at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) | at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) | at java.net.URLClassLoader.access$100(URLClassLoader.java:56) | at java.net.URLClassLoader$1.run(URLClassLoader.java:195) | at java.security.AccessController.doPrivileged(Native Method) | at java.net.URLClassLoader.findClass(URLClassLoader.java:188) | at org.jboss.mx.loading.RepositoryClassLoader.findClassLocally(RepositoryClassLoader.java:675) | at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:655) | at java.lang.ClassLoader.loadClass(ClassLoader.java:306) | - locked <0x922d2290> (a org.jboss.mx.loading.UnifiedClassLoader3) | at org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader.java:193) | at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:131) | at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399) | at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:520) | - locked <0x922d2290> (a org.jboss.mx.loading.UnifiedClassLoader3) | at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:408) | at java.lang.ClassLoader.loadClass(ClassLoader.java:251) | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) | - locked <0x922d2290> (a org.jboss.mx.loading.UnifiedClassLoader3) | at org.jboss.seam.jsf.SeamApplication.(SeamApplication.java:54) | at org.jboss.seam.jsf.SeamApplicationFactory.getApplication(SeamApplicationFactory.java:19) | at org.jboss.seam.jsf.SeamApplicationFactory.getApplication(SeamApplicationFactory.java:19) | at com.sun.faces.config.ConfigureListener.application(ConfigureListener.java:483) | at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:529) | at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:503) | at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:402) | at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:69) | at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4359) | - locked <0x94c45430> (a org.apache.catalina.core.StandardContext) | at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761) | - locked <0x90eb63f0> (a java.util.HashMap) | at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741) | at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297) | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.apache.catalina.core.StandardContext.init(StandardContext.java:5310) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297) | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301) | at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104) | at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375) | - locked <0x92641608> (a org.jboss.web.tomcat.service.TomcatDeployer) | at org.jboss.web.WebModule.startModule(WebModule.java:83) | - locked <0x9
[jboss-user] [Security & JAAS/JBoss] - Connecting to Secured WebService
Hi I have a piece of code that connects to secured web service using certificates. The problem is that when I use it within an application in JBoss it doesn't work anymore. Do I have to add the certificates in a different way? My code is as follows: System.setProperty("javax.net.debug","all"); System.setProperty("java.security.debug","all"); System.setProperty("javax.net.ssl.keyStore", keystoreFilePath); System.setProperty("javax.net.ssl.keyStorePassword", "xxx"); System.setProperty("javax.net.ssl.keyStoreType", "JKS"); System.setProperty("javax.net.ssl.trustStore", truststoreFilePath); System.setProperty("javax.net.ssl.trustStorePassword", "xxx"); System.setProperty("javax.net.ssl.trustStoreType", "JKS"); System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol"); Security.addProvider( new com.sun.net.ssl.internal.ssl.Provider() ); SOAPConnection soapConnection = SOAPConnectionFactory.newInstance().createConnection(); SOAPMessage responseMessage = soapConnection.call(requestMessage, url); Regards Alfred View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047683#4047683 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047683 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Jbossws.1.2.1.GA... JNDI Bind Failed:JAXR
Hi, can you or anyone else elaborate more on what causes this or where to look to fix this? Getting it with same configuration as original poster. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047682#4047682 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047682 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: jboss4.0.5 + which version of jbossws + correct document
My understanding based on what i have read, is that jbossws 1.2 (or jbossws 2.0 which is scheduled to be out in July timeframe) is supposed to work with JBoss 4.0.5 AS. In other words, JBoss 1.2 or JBoss 2.0 can be installed on top of JBoss 4.0.5 and can be used to write JAX-WS compliant or JAX-RPC compliant webservices. Can someone valiidate (or correct) my understanding thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047681#4047681 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047681 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Port already in use: 1098
Try this. Click on the Search link, in the Search for Keywords text box, enter "port already in use 1098", and select the "Search for all terms" radio button. Then look that the posts the search results give you. (Yeah, yeah, yeah, I know I'm grouchy but I'm battling a major case of jet lag, I'll try to be nicer tomorrow.) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047680#4047680 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047680 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @Startup not working
In your example this | public void MySchedule() | Is wrong. That's not a constructor it's a method. Remove the void. You can use the constructor method but a better way is to use the @Create annotation instead. | @Entity | @Name("mySchedule") | @Table(name="my_schedule") | @Scope(ScopeType.SESSION) | @Startup | public class MySchedule | implements Serializable, | { | | @Create | public void create() | { | MyScheduleHome msh = (MyScheduleHome) Component.getInstance("myScheduleHome"); | msh.Schedule(); | log.debug("Timer activated"); | } | //Rest of the getters/setters for table. | ... | } | I would also suggest having @Entity and @Startup is bad practice. Your entity object should be relatively clean and the scheduling code should probably be in a session bean that may inject/create the entity bean. Cheers. Mike. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047679#4047679 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047679 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: wstools error from WSDL to Java
Thanks, here is the final file that seems to work | http://www.jboss.org/jbossws-tools";> | | http://demandtec.com/integration/schema.xsd"; package="com.demandtec.ws.types"/> | http://www.w3.org/2004/11/xmlmime"; package="test"/> | http://demandtec.com/integration/schema"; package="com.demandtec.ws"/> | http://www.w3.org/2001/XMLSchema"; package="test"/> | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047678#4047678 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047678 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JBoss 4.2.0.GA hangs with my Seam application
Try hitting ctrl-break on console and see threads stack dumps. It should help troubleshooting where it is spinning. (On unix you can do kill -3 for same) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047677#4047677 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047677 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Support for calling components from value bindings?
After looking at this: Hook Faces Application.createValueBinding / createMethodBinding so that the Expression Language enhancements are available to all bindings created http://jira.jboss.com/jira/browse/JBSEAM-1309 It appears that if I use JBAS4.2 and Seam from CVS I should be able to do the following from my facelets page: where the 'rendered' attribute expects a boolean value and myAction.myMethod(myArg) returns a boolean. I just want to verify that my understanding above is correct before I spend a bunch of time upgrading. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047676#4047676 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047676 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: release connection after lazy init in view
I think we could be able to find a solution for it. Using eager loading is one of them, though, I see three drawbacks: 1) you have to know what the view requests from your entities - in our theoretical case where the view and the backing bean author are different persons you might not be able to know this ... 2) you have to pollute your backing bean with database system code. We access the database through DAO classes, now, the same method to retrieve a list of entities has to be duplicated just to have once lazy loading or in the other case eager loading 3) the ORM mapper looses some of its transparency I don't know whats "silly" on my post or my proposed solution which is just a start of a discussion. At least my solution keeps the ORM transparency and you have to do NOTHING in your backing bean, DAO or somewhere else in your code. I am sure tons of developers out there do not even know what it means having an open Connection laying around, in the worst case until the conversation times out. With multiple conversations (say 2 per user) and say 50 user you might end with 100 active Connections (in the worst case for sure). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047675#4047675 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047675 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam is spining JVM on startup
I didn't have this problem on JBoss 4.0.3. Has anyone made seam apps work on JBoss 4.2.0.GA? Can you please, share configuration files and what should be done to JBoss libs/config to make it work? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047674#4047674 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047674 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - @Resource injection from HA-JNDI
Hello! We have Jboss 4.0.5 GA with ejb3-clustered and HA-JMS. When we run 2 nodes, first node works ok, but second don't see Queues from HA-JNDI. Queues are injected into beans using @Resource annotation, and when this bean is running on the same node with master HA-JNDI, all ok. But it can't inject Queue on the second node. When we try to use InitialContext with jnp.provider.url configured, all works fine - HA-JNDI is used. But how to enable HA-JNDI lookup for @Resource annotation? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047673#4047673 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047673 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: A question about webservices
JDK 6 ships with web services built in. Unfortunately, I think they use an older version of web service, which means that JBossWS will not work with JDK 6. (Please note: this is what I recall of this problem which I ran into about two months ago.) The solution is to use JDK 5 for now. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047672#4047672 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047672 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Remoting from unsigned applet - ClassLoader security excepti
Hi, I need to try and get JBoss remoting (the latest version from cvs) working in an unsigned applet, as quickly as possible :) I first got a security exception from the code in org.jboss.remoting.Version that checks the system property for the remoting version e.g. System.getProperty(PRE_2_0_COMPATIBLE). I've hard coded(hacked) this to the values I require, that's ok for now. I've now come across something else though that looks a bit more involved; java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.remoting.InvokerRegistry.loadClientInvoker(InvokerRegistry.java:424) at org.jboss.remoting.InvokerRegistry.createClientInvoker(InvokerRegistry.java:324) at org.jboss.remoting.Client.connect(Client.java:413) at com.xxx.client.net.jbossremoting.JadeRemotingClient.createRemotingClient(JadeRemotingClient.java:74) at com.xxx.client.lobby2.LobbyApplet$1.run(LobbyApplet.java:261) at java.lang.Thread.run(Unknown Source) Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission createClassLoader) at java.security.AccessControlContext.checkPermission(Unknown Source) at java.security.AccessController.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPermission(Unknown Source) at java.lang.SecurityManager.checkCreateClassLoader(Unknown Source) at java.lang.ClassLoader.(Unknown Source) at org.jboss.remoting.loading.ClassByteClassLoader.(ClassByteClassLoader.java:62) at org.jboss.remoting.AbstractInvoker.(AbstractInvoker.java:76) at org.jboss.remoting.MicroRemoteClientInvoker.(MicroRemoteClientInvoker.java:52) at org.jboss.remoting.RemoteClientInvoker.(RemoteClientInvoker.java:45) at org.jboss.remoting.transport.http.HTTPClientInvoker.(HTTPClientInvoker.java:78) at org.jboss.remoting.transport.http.TransportClientFactory.createClientInvoker(TransportClientFactory.java:38) ... 14 more Does anyone have any suggestions for how I might quickly get around this, or is not possible without significant work? Thanks in advance James View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047668#4047668 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047668 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: Need help debugging JBoss Remoting
Yes, BridgeTest.testStressSameServer_DuplicatesOk_P_50 was the one that I found hung up today in the morning. I'll try looking in the logs next time, though I'm not sure what to look for. Why does the problem only happen on Windows? Tim runs messaging tests on Linux and says they work fine there. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047667#4047667 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047667 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - LDAP Authentication & Authorization to eDirectory
I am working with the jboss-portal-2.6-CR2 bundle. After getting it configured for MySQL and logging in as 'admin', I reconfigured it for LDAP using the LDAPExtUser/RoleModuleImpl classes. We are using Novell eDirectory setup in an Identity Vault configuration (nearly flat directory with different ou's for users and groups). Anyway, so far so good. I can log in. Well, actually Admin can login. I cannot. Keep getting "Your account is disabled." message on the login screen. Which is WRONG since my account is neither disabled nor locked in LDAP. My guess is this misleading message has something to do with Authorization. Our LDAP structure: | o=idv | ou=groups,o=idv | ou=apps,ou=groups,o=idv | ou=jbossportal,ou=apps,ou=groups,o=idv | cn=Administrators,ou=jbossportal,ou=apps,ou=groups,o=idv | cn=Users,ou=jbossportal,ou=apps,ou=groups,o=idv | | ou=people,o=idv | ou=apps,ou=people,o=idv | cn=admin,ou=apps,ou=people,o=idv | ou=employees,ou=people,o=idv | ou=al,ou=employees,ou=people,o=idv | cn=acm3,ou=al,ou=employees,ou=people,o=idv | Note that the admin I am using to authenticate is in a different container in the tree. My account (acm3) is where most employees would be. The two groups mentioned have various users in them. In the Administrators case, Admin and ACM3 are both members. Yet when Admin logs in, the "Admin" link doesn't appear in the portal window. And ACM3 cannot log in at all. What could I be missing here? There were no messages on the console log or in server.log that something was wrong. I've included the ldap_identity-config.xml below: | | | | LDAP | | |host |idv1-lab.oag.state.tx.us | | |port |389 | | |adminDN |cn=portalsystem,ou=apps,ou=people,o=idv | | |adminPassword |password | | | | | | | | | User | LDAP | org.jboss.portal.identity.ldap.LDAPExtUserModuleImpl | | | | Role | LDAP | org.jboss.portal.identity.ldap.LDAPExtRoleModuleImpl | | | | Membership | LDAP | | | | UserProfile | DELEGATING | | |ldapModuleJNDIName |java:/portal/LDAPUserProfileModule | | | | | DBDelegateUserProfile | DB | | |randomSynchronizePassword |true | | | | | LDAPDelegateUserProfile | LDAP | | | | | | | common | | userCtxDN | ou=PEOPLE,o=IDV | | | roleCtxDN | ou=GROUPS,o=IDV | | | userSearchFilter | (cn={0}) | | | roleSearchFilter | (cn={0}) | | | uidAttributeID | cn | | | passwordAttributeID | password | | | membershipAttributeId | member | | | membershipAttributeIsDN | true | | | | userCreateAttibutes | | objectClass | | top | person | inetOrgPerson | | | | cn | none | | | sn | none | | | | roleCreateAttibutes | | | cn | none | | | | | member | cn=portalsytem,ou=apps,ou=people,o=idv | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047666#4047666 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047666 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam is spining JVM on startup
My project on JBoss 4.2.GA has the same problem. I don't think the first message is connected to the problem. It is an Warning becouse you copy this from examples: | | Restrict XHTML Documents | | XHTML | *.xhtml | | | NONE | | | Other people are announcing the same problem (I think): http://www.jboss.com/index.html?module=bb&op=viewtopic&t=108938 For now, I still using 4.0.5GA. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047664#4047664 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047664 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Relations: when is a child loaded, CMP 2.1, JBoss 4.0.4?
Hi, When are the children of a parent loaded in a CMP 2.1 container? When the parent is loaded or when accessed throught an accessor of the parent? Is the answer part of a specification or is the exact behavior implementation defined? TIA Joost View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047663#4047663 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047663 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Problem deploying EJB3 to jboss 4.2.0GA
Hi, yes that was a problem, I just recompiled with libs from jboss 4.2.0GA and everything works as it should. thanks for your help, tomaz View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047662#4047662 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047662 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Confused about variable and token association
Thanks! All you folks who've been learning about ForEachForkActionHandler in the last couple of weeks - nota bene! -Ed Staub View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047659#4047659 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047659 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Port already in use: 1098
Hi, I am trying to start the JBoss Server. But i am getting this exception when running the server. Please let me know.. 12:19:47,858 WARN [ServiceController] Problem starting service jboss:service=Naming java.rmi.server.ExportException: Port already in use: 1098; nested exception is: java.net.BindException: Address already in use: JVM_Bind at sun.rmi.transport.tcp.TCPTransport.listen(Unknown Source) at sun.rmi.transport.tcp.TCPTransport.exportObject(Unknown Source) at sun.rmi.transport.tcp.TCPEndpoint.exportObject(Unknown Source) at sun.rmi.transport.LiveRef.exportObject(Unknown Source) at sun.rmi.server.UnicastServerRef.exportObject(Unknown Source) at java.rmi.server.UnicastRemoteObject.exportObject(Unknown Source) at java.rmi.server.UnicastRemoteObject.exportObject(Unknown Source) at org.jnp.server.Main.initJnpInvoker(Main.java:337) at org.jnp.server.Main.start(Main.java:300) at org.jboss.naming.NamingService.startService(NamingService.java:243) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at org.jboss.system.ServiceController.start(ServiceController.java:435) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy5.deploy(Unknown Source) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362) at org.jboss.Main.boot(Main.java:200) at org.jboss.Main$1.run(Main.java:490)
[jboss-user] [Remoting] - Re: Need help debugging JBoss Remoting
Hi Sergey, When I've had problems with JBossMessaging tests, I've spent a lot of time looking at log files with logging set to TRACE. Sometimes I've added log statements to Remoting and put a custom jboss-remoting.jar in ${MESSAGING_HOME}/lib. I've had the experience of JBM tests passing on their own and failing as part of the test suite. There were a couple of places where earlier tests had failed to close a connection (or something like that) that impacted a later test. I made those changes on the branch I was working on, but I don't know that they ever made it to the main branch. Which test is hanging? In the past I've had to exclude org.jboss.test.messaging.jms.bridge.BridgeTest, which was hanging for me. At the time my impression was that the test just wasn't ready to be run, but I don't know its current status. -Ron View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047656#4047656 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047656 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Having a problem with jboss-4.2
Oh - and also, I only have JDK 6.0 installed, can all of these issues be attributed to Java and not JBoss? Will I have to use JDK 5? The same application currently runs on JBoss 4.0.5 w/ JDK 6.0. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047654#4047654 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047654 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: ArrayIndexOutOfBounds in MultipartRequest
Ok, i'll give that shot.. thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047655#4047655 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047655 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: new issues and concerns
After a couple of days and some testing - this seems to be causing a problem for me with the application I'm trying to deploy to JBoss 4.2.0.GA. I'll preface this by saying; this app has run on JBoss 4.0.x for about 1.5 yrs. now and I haven't had a problem until 4.2.0. Using the JavaService string I posted prior to this, the app server starts but I now get the following exceptions on both my local WinXP dev pc and the Win 2000 test server I use: | 2007-05-22 10:48:29,167 DEBUG [org.jboss.system.ServiceConfigurator] BindAddress set to 0.0.0.0 in jboss.mq:service=InvocationLayer,type=UIL2 | 2007-05-22 10:48:29,167 INFO [org.jboss.system.ServiceConfigurator] Problem configuring service jboss.mq:service=InvocationLayer,type=UIL2 | org.jboss.deployment.DeploymentException: Exception setting attribute BindAddress = 0.0.0.0 on mbean jboss.mq:service=InvocationLayer,type=UIL2; - nested throwable: (java.net.UnknownHostException: 0.0.0.0) | at org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator.java:698) | at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:332) | at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:460) | at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171) | at org.jboss.system.ServiceController.install(ServiceController.java:226) | at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy4.install(Unknown Source) | at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) | at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $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.startService(AbstractDeploymentScanner.java:336) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:417) | at sun.refle
[jboss-user] [JBoss Seam] - Re: release connection after lazy init in view
That's just the price you pay for lazy loading. That's why the option is there. For the views which require the list, just call the method to initialize. It sounds silly to me to add this "new feature" when the solution just boils down to deciding which fetch strategy works for your use case. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047649#4047649 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047649 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Exploded Deployment woes on Windows
I use Windows and exploded deployment, and am not sure what the problem is. When I am devloping, if I do a 'clean', it tries to delete everything but some jars are locked. I just ignore that, re-deploy, and all my code is updated even if some of the deployed standard jars are not. I'm using Jboss 4.05 standard install, with the only config changes being to the log4J config file. Error messages aside, do you get your app re-deployed when you double click on the 'restart' ant task? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047648#4047648 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047648 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Problem deploying EJB3 to jboss 4.2.0GA
Ah, I found it. The @Init annotation has changed to conform to specs. Now the value is a String instead of a String[] (thus the array that isn't an array). Recompile with AS 4.2. http://jira.jboss.com/jira/browse/EJBTHREE-950 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047646#4047646 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047646 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @Startup not working
Oooohh I am sorry... I am fresh meat here.. so I am just using what I am looking around. If I figure out something I back to u. bests Leo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047644#4047644 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047644 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Automatic Redeployment
Look in server/default/conf/jboss-service.xml ... there should be a deployment scanner defined. Set the scanner to enabled. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047642#4047642 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047642 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user